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
678 COND_WXUSE_ZLIB_BUILTIN
679 COND_WXUSE_REGEX_BUILTIN
680 COND_WXUSE_LIBTIFF_BUILTIN
681 COND_WXUSE_LIBPNG_BUILTIN
682 COND_WXUSE_LIBJPEG_BUILTIN
683 COND_WXUSE_EXPAT_BUILTIN
686 COND_WITH_PLUGIN_SDL_1
687 COND_WINDOWS_IMPLIB_1
692 COND_USE_SOVERSOLARIS_1
693 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
695 COND_USE_SOVERLINUX_1
696 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
697 COND_USE_SOTWOSYMLINKS_1
703 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
704 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
705 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
706 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
707 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
708 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
709 COND_USE_GUI_1_WXUNIV_1
710 COND_USE_GUI_1_WXUNIV_0
711 COND_USE_GUI_1_USE_OPENGL_1
714 COND_USE_EXCEPTIONS_1
715 COND_USE_EXCEPTIONS_0
718 COND_TOOLKIT_X11_USE_GUI_1
720 COND_TOOLKIT_WINCE_WXUNIV_0
721 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
722 COND_TOOLKIT_WINCE_USE_GUI_1
724 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_PM_USE_GUI_1
727 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
729 COND_TOOLKIT_OSX_IPHONE
730 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
731 COND_TOOLKIT_OSX_COCOA
732 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
733 COND_TOOLKIT_OSX_CARBON
734 COND_TOOLKIT_MSW_WXUNIV_0
735 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_MSW_USE_GUI_1
738 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
739 COND_TOOLKIT_MOTIF_USE_GUI_1
742 COND_TOOLKIT_GTK_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
747 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
754 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
755 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
757 COND_TOOLKIT_DFB_USE_GUI_1
759 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
760 COND_TOOLKIT_COCOA_USE_GUI_1
763 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
765 COND_SHARED_0_wxUSE_ZLIB_builtin
766 COND_SHARED_0_wxUSE_REGEX_builtin
767 COND_SHARED_0_wxUSE_EXPAT_builtin
768 COND_SHARED_0_USE_STC_1
769 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
770 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
771 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
772 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
773 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
774 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
775 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
777 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
778 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
779 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
780 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
781 COND_PLATFORM_WIN32_1_SHARED_0
782 COND_PLATFORM_WIN32_1
783 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
784 COND_PLATFORM_WIN32_0
785 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
786 COND_PLATFORM_UNIX_1_USE_GUI_1
787 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
788 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
789 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
790 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
794 COND_PLATFORM_MSDOS_1
795 COND_PLATFORM_MSDOS_0
798 COND_PLATFORM_MACOS_1
799 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
800 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
801 COND_PLATFORM_MACOSX_1_USE_GUI_1
802 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
803 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
804 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
805 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
806 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
807 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
808 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
809 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
810 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
811 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
812 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
813 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
814 COND_PLATFORM_MACOSX_1
815 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
816 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
817 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
818 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
819 COND_MONOLITHIC_1_SHARED_1
820 COND_MONOLITHIC_1_SHARED_0
822 COND_MONOLITHIC_0_USE_XRC_1
823 COND_MONOLITHIC_0_USE_WEBVIEW_1
824 COND_MONOLITHIC_0_USE_STC_1
825 COND_MONOLITHIC_0_USE_RICHTEXT_1
826 COND_MONOLITHIC_0_USE_RIBBON_1
827 COND_MONOLITHIC_0_USE_QA_1
828 COND_MONOLITHIC_0_USE_PROPGRID_1
829 COND_MONOLITHIC_0_USE_MEDIA_1
830 COND_MONOLITHIC_0_USE_HTML_1
831 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_USE_GUI_1
833 COND_MONOLITHIC_0_USE_AUI_1
834 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
838 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
844 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
845 COND_MONOLITHIC_0_SHARED_1
846 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
850 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
852 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
853 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
855 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
856 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
857 COND_MONOLITHIC_0_SHARED_0
867 COND_BUILD_release_UNICODE_1
868 COND_BUILD_release_UNICODE_0
869 COND_BUILD_release_DEBUG_INFO_default
871 COND_BUILD_debug_UNICODE_1
872 COND_BUILD_debug_UNICODE_0
873 COND_BUILD_debug_DEBUG_INFO_default
874 COND_BUILD_debug_DEBUG_FLAG_default
876 COND_BUILD_RELEASE_UNICODE_1
877 COND_BUILD_RELEASE_UNICODE_0
878 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
880 COND_BUILD_DEBUG_UNICODE_1
881 COND_BUILD_DEBUG_UNICODE_0
882 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
883 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
887 ICC_PCH_CREATE_SWITCH
995 LIBGNOMEPRINTUI_CFLAGS
1086 program_transform_name
1099 enable_option_checking
1105 enable_official_build
1147 with_macosx_version_min
1156 enable_std_containers
1157 enable_std_iostreams
1159 enable_std_string_conv_in_wxstring
1164 enable_extended_rtti
1169 enable_no_exceptions
1172 enable_vararg_macros
1173 enable_universal_binary
1178 enable_objc_uniquifying
1207 enable_dynamicloader
1224 enable_printfposparam
1239 enable_protocol_http
1241 enable_protocol_file
1292 enable_commandlinkbutton
1319 enable_rearrangectrl
1368 enable_accessibility
1371 enable_webviewwebkit
1391 with_gtk_exec_prefix
1393 with_libiconv_prefix
1395 with_sdl_exec_prefix
1397 enable_dependency_tracking
1398 enable_precomp_headers
1400 with_cppunit_exec_prefix
1402 ac_precious_vars
='build_alias
1439 LIBGNOMEPRINTUI_CFLAGS
1440 LIBGNOMEPRINTUI_LIBS
1455 ac_subdirs_all
='src/tiff
1458 # Initialize some variables set by options.
1460 ac_init_version
=false
1461 ac_unrecognized_opts
=
1462 ac_unrecognized_sep
=
1463 # The variables have the same names as the options, with
1464 # dashes changed to underlines.
1465 cache_file
=/dev
/null
1472 program_transform_name
=s
,x
,x
,
1480 # Installation directory options.
1481 # These are left unexpanded so users can "make install exec_prefix=/foo"
1482 # and all the variables that are supposed to be based on exec_prefix
1483 # by default will actually change.
1484 # Use braces instead of parens because sh, perl, etc. also accept them.
1485 # (The list follows the same order as the GNU Coding Standards.)
1486 bindir
='${exec_prefix}/bin'
1487 sbindir
='${exec_prefix}/sbin'
1488 libexecdir
='${exec_prefix}/libexec'
1489 datarootdir
='${prefix}/share'
1490 datadir
='${datarootdir}'
1491 sysconfdir
='${prefix}/etc'
1492 sharedstatedir
='${prefix}/com'
1493 localstatedir
='${prefix}/var'
1494 includedir
='${prefix}/include'
1495 oldincludedir
='/usr/include'
1496 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1497 infodir
='${datarootdir}/info'
1502 libdir
='${exec_prefix}/lib'
1503 localedir
='${datarootdir}/locale'
1504 mandir
='${datarootdir}/man'
1510 # If the previous option needs an argument, assign it.
1511 if test -n "$ac_prev"; then
1512 eval $ac_prev=\
$ac_option
1518 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1523 # Accept the important Cygnus configure options, so we can diagnose typos.
1525 case $ac_dashdash$ac_option in
1529 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1531 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1532 bindir
=$ac_optarg ;;
1534 -build | --build | --buil | --bui | --bu)
1535 ac_prev
=build_alias
;;
1536 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1537 build_alias
=$ac_optarg ;;
1539 -cache-file | --cache-file | --cache-fil | --cache-fi \
1540 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1541 ac_prev
=cache_file
;;
1542 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1543 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1544 cache_file
=$ac_optarg ;;
1546 --config-cache | -C)
1547 cache_file
=config.cache
;;
1549 -datadir | --datadir | --datadi | --datad)
1551 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1552 datadir
=$ac_optarg ;;
1554 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1555 | --dataroo | --dataro | --datar)
1556 ac_prev
=datarootdir
;;
1557 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1558 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1559 datarootdir
=$ac_optarg ;;
1561 -disable-* | --disable-*)
1562 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1563 # Reject names that are not valid shell variable names.
1564 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1565 as_fn_error $?
"invalid feature name: $ac_useropt"
1566 ac_useropt_orig
=$ac_useropt
1567 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1568 case $ac_user_opts in
1570 "enable_
$ac_useropt"
1572 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1573 ac_unrecognized_sep
=', ';;
1575 eval enable_
$ac_useropt=no
;;
1577 -docdir | --docdir | --docdi | --doc | --do)
1579 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1580 docdir
=$ac_optarg ;;
1582 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1584 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1585 dvidir
=$ac_optarg ;;
1587 -enable-* | --enable-*)
1588 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1589 # Reject names that are not valid shell variable names.
1590 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1591 as_fn_error $?
"invalid feature name: $ac_useropt"
1592 ac_useropt_orig
=$ac_useropt
1593 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1594 case $ac_user_opts in
1596 "enable_
$ac_useropt"
1598 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1599 ac_unrecognized_sep
=', ';;
1601 eval enable_
$ac_useropt=\
$ac_optarg ;;
1603 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1604 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1605 | --exec | --exe | --ex)
1606 ac_prev
=exec_prefix
;;
1607 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1608 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1609 | --exec=* | --exe=* | --ex=*)
1610 exec_prefix
=$ac_optarg ;;
1612 -gas | --gas | --ga | --g)
1613 # Obsolete; use --with-gas.
1616 -help | --help | --hel | --he | -h)
1617 ac_init_help
=long
;;
1618 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1619 ac_init_help
=recursive
;;
1620 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1621 ac_init_help
=short
;;
1623 -host | --host | --hos | --ho)
1624 ac_prev
=host_alias
;;
1625 -host=* | --host=* | --hos=* | --ho=*)
1626 host_alias
=$ac_optarg ;;
1628 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1630 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1632 htmldir
=$ac_optarg ;;
1634 -includedir | --includedir | --includedi | --included | --include \
1635 | --includ | --inclu | --incl | --inc)
1636 ac_prev
=includedir
;;
1637 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1638 | --includ=* | --inclu=* | --incl=* | --inc=*)
1639 includedir
=$ac_optarg ;;
1641 -infodir | --infodir | --infodi | --infod | --info | --inf)
1643 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1644 infodir
=$ac_optarg ;;
1646 -libdir | --libdir | --libdi | --libd)
1648 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1649 libdir
=$ac_optarg ;;
1651 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1652 | --libexe | --libex | --libe)
1653 ac_prev
=libexecdir
;;
1654 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1655 | --libexe=* | --libex=* | --libe=*)
1656 libexecdir
=$ac_optarg ;;
1658 -localedir | --localedir | --localedi | --localed | --locale)
1659 ac_prev
=localedir
;;
1660 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1661 localedir
=$ac_optarg ;;
1663 -localstatedir | --localstatedir | --localstatedi | --localstated \
1664 | --localstate | --localstat | --localsta | --localst | --locals)
1665 ac_prev
=localstatedir
;;
1666 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1667 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1668 localstatedir
=$ac_optarg ;;
1670 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1672 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1673 mandir
=$ac_optarg ;;
1675 -nfp | --nfp | --nf)
1676 # Obsolete; use --without-fp.
1679 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1680 | --no-cr | --no-c | -n)
1683 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1684 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1687 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1688 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1689 | --oldin | --oldi | --old | --ol | --o)
1690 ac_prev
=oldincludedir
;;
1691 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1692 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1693 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1694 oldincludedir
=$ac_optarg ;;
1696 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1698 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1699 prefix
=$ac_optarg ;;
1701 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1702 | --program-pre | --program-pr | --program-p)
1703 ac_prev
=program_prefix
;;
1704 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1705 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1706 program_prefix
=$ac_optarg ;;
1708 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1709 | --program-suf | --program-su | --program-s)
1710 ac_prev
=program_suffix
;;
1711 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1712 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1713 program_suffix
=$ac_optarg ;;
1715 -program-transform-name | --program-transform-name \
1716 | --program-transform-nam | --program-transform-na \
1717 | --program-transform-n | --program-transform- \
1718 | --program-transform | --program-transfor \
1719 | --program-transfo | --program-transf \
1720 | --program-trans | --program-tran \
1721 | --progr-tra | --program-tr | --program-t)
1722 ac_prev
=program_transform_name
;;
1723 -program-transform-name=* | --program-transform-name=* \
1724 | --program-transform-nam=* | --program-transform-na=* \
1725 | --program-transform-n=* | --program-transform-=* \
1726 | --program-transform=* | --program-transfor=* \
1727 | --program-transfo=* | --program-transf=* \
1728 | --program-trans=* | --program-tran=* \
1729 | --progr-tra=* | --program-tr=* | --program-t=*)
1730 program_transform_name
=$ac_optarg ;;
1732 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1734 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1735 pdfdir
=$ac_optarg ;;
1737 -psdir | --psdir | --psdi | --psd | --ps)
1739 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1742 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1743 | -silent | --silent | --silen | --sile | --sil)
1746 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1748 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1750 sbindir
=$ac_optarg ;;
1752 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1753 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1754 | --sharedst | --shareds | --shared | --share | --shar \
1756 ac_prev
=sharedstatedir
;;
1757 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1758 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1759 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1761 sharedstatedir
=$ac_optarg ;;
1763 -site | --site | --sit)
1765 -site=* | --site=* | --sit=*)
1768 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1770 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1771 srcdir
=$ac_optarg ;;
1773 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1774 | --syscon | --sysco | --sysc | --sys | --sy)
1775 ac_prev
=sysconfdir
;;
1776 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1777 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1778 sysconfdir
=$ac_optarg ;;
1780 -target | --target | --targe | --targ | --tar | --ta | --t)
1781 ac_prev
=target_alias
;;
1782 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1783 target_alias
=$ac_optarg ;;
1785 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1788 -version | --version | --versio | --versi | --vers | -V)
1789 ac_init_version
=: ;;
1792 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1793 # Reject names that are not valid shell variable names.
1794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1795 as_fn_error $?
"invalid package name: $ac_useropt"
1796 ac_useropt_orig
=$ac_useropt
1797 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1798 case $ac_user_opts in
1802 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1803 ac_unrecognized_sep
=', ';;
1805 eval with_
$ac_useropt=\
$ac_optarg ;;
1807 -without-* | --without-*)
1808 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1809 # Reject names that are not valid shell variable names.
1810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1811 as_fn_error $?
"invalid package name: $ac_useropt"
1812 ac_useropt_orig
=$ac_useropt
1813 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1814 case $ac_user_opts in
1818 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1819 ac_unrecognized_sep
=', ';;
1821 eval with_
$ac_useropt=no
;;
1824 # Obsolete; use --with-x.
1827 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1828 | --x-incl | --x-inc | --x-in | --x-i)
1829 ac_prev
=x_includes
;;
1830 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1831 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1832 x_includes
=$ac_optarg ;;
1834 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1835 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1836 ac_prev
=x_libraries
;;
1837 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1838 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1839 x_libraries
=$ac_optarg ;;
1841 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1842 Try \`$0 --help' for more information"
1846 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1847 # Reject names that are not valid shell variable names.
1848 case $ac_envvar in #(
1849 '' | [0-9]* | *[!_$as_cr_alnum]* )
1850 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1852 eval $ac_envvar=\
$ac_optarg
1853 export $ac_envvar ;;
1856 # FIXME: should be removed in autoconf 3.0.
1857 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1858 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1859 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1860 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1866 if test -n "$ac_prev"; then
1867 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1868 as_fn_error $?
"missing argument to $ac_option"
1871 if test -n "$ac_unrecognized_opts"; then
1872 case $enable_option_checking in
1874 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1875 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1879 # Check all directory arguments for consistency.
1880 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1881 datadir sysconfdir sharedstatedir localstatedir includedir \
1882 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1883 libdir localedir mandir
1885 eval ac_val
=\$
$ac_var
1886 # Remove trailing slashes.
1889 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1890 eval $ac_var=\
$ac_val;;
1892 # Be sure to have absolute directory names.
1894 [\\/$
]* | ?
:[\\/]* ) continue;;
1895 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1897 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1900 # There might be people who depend on the old broken behavior: `$host'
1901 # used to hold the argument of --host etc.
1902 # FIXME: To remove some day.
1905 target
=$target_alias
1907 # FIXME: To remove some day.
1908 if test "x$host_alias" != x
; then
1909 if test "x$build_alias" = x
; then
1910 cross_compiling
=maybe
1911 elif test "x$build_alias" != "x$host_alias"; then
1917 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1919 test "$silent" = yes && exec 6>/dev
/null
1922 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1923 ac_ls_di
=`ls -di .` &&
1924 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1925 as_fn_error $?
"working directory cannot be determined"
1926 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1927 as_fn_error $?
"pwd does not report name of working directory"
1930 # Find the source files, if location was not specified.
1931 if test -z "$srcdir"; then
1932 ac_srcdir_defaulted
=yes
1933 # Try the directory containing this script, then the parent directory.
1934 ac_confdir
=`$as_dirname -- "$as_myself" ||
1935 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1936 X"$as_myself" : 'X\(//\)[^/]' \| \
1937 X"$as_myself" : 'X\(//\)$' \| \
1938 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1939 $as_echo X"$as_myself" |
1940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1958 if test ! -r "$srcdir/$ac_unique_file"; then
1962 ac_srcdir_defaulted
=no
1964 if test ! -r "$srcdir/$ac_unique_file"; then
1965 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1966 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1968 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1970 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1972 # When building in place, set srcdir=.
1973 if test "$ac_abs_confdir" = "$ac_pwd"; then
1976 # Remove unnecessary trailing slashes from srcdir.
1977 # Double slashes in file names in object file debugging info
1978 # mess up M-x gdb in Emacs.
1980 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1982 for ac_var
in $ac_precious_vars; do
1983 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1984 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1985 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1986 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1990 # Report the --help message.
1992 if test "$ac_init_help" = "long"; then
1993 # Omit some internal or obsolete options to make the list less imposing.
1994 # This message is too long to be a string in the A/UX 3.1 sh.
1996 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1998 Usage: $0 [OPTION]... [VAR=VALUE]...
2000 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2001 VAR=VALUE. See below for descriptions of some of the useful variables.
2003 Defaults for the options are specified in brackets.
2006 -h, --help display this help and exit
2007 --help=short display options specific to this package
2008 --help=recursive display the short help of all the included packages
2009 -V, --version display version information and exit
2010 -q, --quiet, --silent do not print \`checking ...' messages
2011 --cache-file=FILE cache test results in FILE [disabled]
2012 -C, --config-cache alias for \`--cache-file=config.cache'
2013 -n, --no-create do not create output files
2014 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2016 Installation directories:
2017 --prefix=PREFIX install architecture-independent files in PREFIX
2018 [$ac_default_prefix]
2019 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2022 By default, \`make install' will install all the files in
2023 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2024 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2025 for instance \`--prefix=\$HOME'.
2027 For better control, use the options below.
2029 Fine tuning of the installation directories:
2030 --bindir=DIR user executables [EPREFIX/bin]
2031 --sbindir=DIR system admin executables [EPREFIX/sbin]
2032 --libexecdir=DIR program executables [EPREFIX/libexec]
2033 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2034 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2035 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2036 --libdir=DIR object code libraries [EPREFIX/lib]
2037 --includedir=DIR C header files [PREFIX/include]
2038 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2039 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2040 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2041 --infodir=DIR info documentation [DATAROOTDIR/info]
2042 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2043 --mandir=DIR man documentation [DATAROOTDIR/man]
2044 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2045 --htmldir=DIR html documentation [DOCDIR]
2046 --dvidir=DIR dvi documentation [DOCDIR]
2047 --pdfdir=DIR pdf documentation [DOCDIR]
2048 --psdir=DIR ps documentation [DOCDIR]
2054 --x-includes=DIR X include files are
in DIR
2055 --x-libraries=DIR X library files are
in DIR
2058 --build=BUILD configure
for building on BUILD
[guessed
]
2059 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2063 if test -n "$ac_init_help"; then
2064 case $ac_init_help in
2065 short
| recursive
) echo "Configuration of wxWidgets 2.9.5:";;
2070 --disable-option-checking ignore unrecognized
--enable/--with options
2071 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2072 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2073 --disable-gui don
't build GUI parts of the library
2074 --enable-monolithic build wxWidgets as single library
2075 --enable-plugins build parts of wxWidgets as loadable components
2076 --enable-official_build official build of wxWidgets (win32 DLL only)
2077 --enable-vendor=VENDOR vendor name (win32 DLL only)
2078 --disable-all-features disable all optional features to build minimal library
2079 --enable-universal use wxWidgets GUI controls instead of native ones
2080 --enable-nanox use NanoX
2081 --enable-gpe use GNOME PDA Environment features if possible
2082 --enable-debug build library for debugging
2083 --disable-debug_flag disable all debugging support
2084 --enable-debug_info generate debug information
2085 --enable-debug_gdb create code with extra GDB debugging information
2086 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2087 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2088 --disable-shared create static library instead of shared
2089 --enable-stl use standard C++ classes for everything
2090 --enable-std_containers use standard C++ container classes
2091 --enable-std_iostreams use standard C++ stream classes
2092 --enable-std_string use standard C++ string classes
2093 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2094 --disable-unicode compile without Unicode support
2095 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2096 --enable-utf8 use UTF-8 representation for strings (Unix only)
2097 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2098 --enable-extended_rtti use extended RTTI (XTI)
2099 --enable-omf use OMF object format
2100 --disable-optimise compile without optimisations
2101 --enable-profile create code with profiling information
2102 --enable-no_rtti create code without RTTI information
2103 --enable-no_exceptions create code without C++ exceptions handling
2104 --enable-permissive compile code disregarding strict ANSI
2105 --enable-no_deps create code without dependency information
2106 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2107 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2108 --enable-macosx_arch=ARCH build
for just the specified architecture
2109 --enable-compat26 enable wxWidgets
2.6 compatibility
2110 --disable-compat28 disable wxWidgets
2.8 compatibility
2111 --disable-rpath disable use of rpath
for uninstalled builds
2112 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2113 --disable-visibility disable use of ELF symbols visibility even
if supported
2114 --disable-tls disable use of compiler TLS support
2115 --enable-intl use internationalization system
2116 --enable-xlocale use x
-locale support
(requires wxLocale
)
2117 --enable-config use wxConfig
(and derived
) classes
2118 --enable-protocols use wxProtocol and derived classes
2119 --enable-ftp use wxFTP
(requires wxProtocol
2120 --enable-http use wxHTTP
(requires wxProtocol
2121 --enable-fileproto use wxFileProto class
(requires wxProtocol
2122 --enable-sockets use socket
/network classes
2123 --enable-ipv6 enable IPv6 support
in wxSocket
2124 --enable-ole use OLE classes
(Win32 only
)
2125 --enable-dataobj use data object classes
2126 --enable-ipc use interprocess communication
(wxSocket etc.
)
2127 --enable-baseevtloop use event loop
in console programs too
2128 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2129 --enable-selectloop use wxSelectDispatcher class
2130 --enable-any use wxAny class
2131 --enable-apple_ieee use the Apple IEEE codec
2132 --enable-arcstream use wxArchive streams
2133 --enable-base64 use base64 encoding
/decoding functions
2134 --enable-backtrace use wxStackWalker class
for getting backtraces
2135 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2136 --enable-cmdline use wxCmdLineParser class
2137 --enable-datetime use wxDateTime class
2138 --enable-debugreport use wxDebugReport class
2139 --enable-dialupman use dialup network classes
2140 --enable-dynlib use wxLibrary class
for DLL loading
2141 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2142 --enable-exceptions build exception
-safe library
2143 --enable-ffile use wxFFile class
2144 --enable-file use wxFile class
2145 --enable-filehistory use wxFileHistory class
2146 --enable-filesystem use virtual
file systems classes
2147 --enable-fontenum use wxFontEnumerator class
2148 --enable-fontmap use font encodings conversion classes
2149 --enable-fs_archive use virtual archive filesystems
2150 --enable-fs_inet use virtual HTTP
/FTP filesystems
2151 --enable-fs_zip now replaced by fs_archive
2152 --enable-fsvolume use wxFSVolume class
2153 --enable-fswatcher use wxFileSystemWatcher class
2154 --enable-geometry use geometry class
2155 --enable-log use logging system
2156 --enable-longlong use wxLongLong class
2157 --enable-mimetype use wxMimeTypesManager
2158 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2159 --enable-snglinst use wxSingleInstanceChecker class
2160 --enable-sound use wxSound class
2161 --enable-stdpaths use wxStandardPaths class
2162 --enable-stopwatch use wxStopWatch class
2163 --enable-streams use wxStream etc classes
2164 --enable-sysoptions use wxSystemOptions
2165 --enable-tarstream use wxTar streams
2166 --enable-textbuf use wxTextBuffer class
2167 --enable-textfile use wxTextFile class
2168 --enable-timer use wxTimer class
2169 --enable-variant use wxVariant class
2170 --enable-zipstream use wxZip streams
2171 --enable-url use wxURL class
2172 --enable-protocol use wxProtocol class
2173 --enable-protocol-http HTTP support
in wxProtocol
2174 --enable-protocol-ftp FTP support
in wxProtocol
2175 --enable-protocol-file FILE support
in wxProtocol
2176 --enable-threads use threads
2177 --enable-iniconf use wxIniConfig
(Win32 only
)
2178 --enable-regkey use wxRegKey class
(Win32 only
)
2179 --enable-docview use document view architecture
2180 --enable-help use
help subsystem
2181 --enable-mshtmlhelp use MS HTML Help
(win32
)
2182 --enable-html use wxHTML sub
-library
2183 --enable-htmlhelp use wxHTML
-based help
2184 --enable-xrc use XRC resources sub
-library
2185 --enable-aui use AUI docking library
2186 --enable-propgrid use wxPropertyGrid library
2187 --enable-ribbon use wxRibbon library
2188 --enable-stc use wxStyledTextCtrl library
2189 --enable-constraints use layout
-constraints system
2190 --enable-loggui use standard GUI logger
2191 --enable-logwin use wxLogWindow
2192 --enable-logdialog use wxLogDialog
2193 --enable-mdi use multiple document interface architecture
2194 --enable-mdidoc use docview architecture with MDI
2195 --enable-mediactrl use wxMediaCtrl class
2196 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2197 --enable-richtext use wxRichTextCtrl
2198 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2199 --enable-printarch use printing architecture
2200 --enable-svg use wxSVGFileDC device context
2201 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2202 --enable-webview use wxWebView library
2203 --enable-graphics_ctx use graphics context
2D drawing API
2204 --enable-clipboard use wxClipboard class
2205 --enable-dnd use Drag
'n'Drop classes
2206 --disable-controls disable compilation of all standard controls
2207 --enable-markup support wxControl
::SetLabelMarkup
2208 --enable-accel use accelerators
2209 --enable-animatectrl use wxAnimationCtrl class
2210 --enable-bannerwindow use wxBannerWindow class
2211 --enable-artstd use standard XPM icons
in wxArtProvider
2212 --enable-arttango use Tango icons
in wxArtProvider
2213 --enable-bmpbutton use wxBitmapButton class
2214 --enable-bmpcombobox use wxBitmapComboBox class
2215 --enable-button use wxButton class
2216 --enable-calendar use wxCalendarCtrl class
2217 --enable-caret use wxCaret class
2218 --enable-checkbox use wxCheckBox class
2219 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2220 --enable-choice use wxChoice class
2221 --enable-choicebook use wxChoicebook class
2222 --enable-collpane use wxCollapsiblePane class
2223 --enable-colourpicker use wxColourPickerCtrl class
2224 --enable-combobox use wxComboBox class
2225 --enable-comboctrl use wxComboCtrl class
2226 --enable-commandlinkbutton use wxCommmandLinkButton class
2227 --enable-dataviewctrl use wxDataViewCtrl class
2228 --enable-datepick use wxDatePickerCtrl class
2229 --enable-detect_sm use code to detect X11 session manager
2230 --enable-dirpicker use wxDirPickerCtrl class
2231 --enable-display use wxDisplay class
2232 --enable-editablebox use wxEditableListBox class
2233 --enable-filectrl use wxFileCtrl class
2234 --enable-filepicker use wxFilePickerCtrl class
2235 --enable-fontpicker use wxFontPickerCtrl class
2236 --enable-gauge use wxGauge class
2237 --enable-grid use wxGrid class
2238 --enable-headerctrl use wxHeaderCtrl class
2239 --enable-hyperlink use wxHyperlinkCtrl class
2240 --enable-imaglist use wxImageList class
2241 --enable-infobar use wxInfoBar class
2242 --enable-listbook use wxListbook class
2243 --enable-listbox use wxListBox class
2244 --enable-listctrl use wxListCtrl class
2245 --enable-notebook use wxNotebook class
2246 --enable-notifmsg use wxNotificationMessage class
2247 --enable-odcombobox use wxOwnerDrawnComboBox class
2248 --enable-popupwin use wxPopUpWindow class
2249 --enable-radiobox use wxRadioBox class
2250 --enable-radiobtn use wxRadioButton class
2251 --enable-richmsgdlg use wxRichMessageDialog class
2252 --enable-richtooltip use wxRichToolTip class
2253 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2254 --enable-sash use wxSashWindow class
2255 --enable-scrollbar use wxScrollBar class and scrollable windows
2256 --enable-searchctrl use wxSearchCtrl class
2257 --enable-slider use wxSlider class
2258 --enable-spinbtn use wxSpinButton class
2259 --enable-spinctrl use wxSpinCtrl class
2260 --enable-splitter use wxSplitterWindow class
2261 --enable-statbmp use wxStaticBitmap class
2262 --enable-statbox use wxStaticBox class
2263 --enable-statline use wxStaticLine class
2264 --enable-stattext use wxStaticText class
2265 --enable-statusbar use wxStatusBar class
2266 --enable-taskbaricon use wxTaskBarIcon class
2267 --enable-tbarnative use native wxToolBar class
2268 --enable-textctrl use wxTextCtrl class
2269 --enable-timepick use wxTimePickerCtrl class
2270 --enable-tipwindow use wxTipWindow class
2271 --enable-togglebtn use wxToggleButton class
2272 --enable-toolbar use wxToolBar class
2273 --enable-toolbook use wxToolbook class
2274 --enable-treebook use wxTreebook class
2275 --enable-treectrl use wxTreeCtrl class
2276 --enable-treelist use wxTreeListCtrl class
2277 --enable-commondlg use all common dialogs
2278 --enable-aboutdlg use wxAboutBox
2279 --enable-choicedlg use wxChoiceDialog
2280 --enable-coldlg use wxColourDialog
2281 --enable-filedlg use wxFileDialog
2282 --enable-finddlg use wxFindReplaceDialog
2283 --enable-fontdlg use wxFontDialog
2284 --enable-dirdlg use wxDirDialog
2285 --enable-msgdlg use wxMessageDialog
2286 --enable-numberdlg use wxNumberEntryDialog
2287 --enable-splash use wxSplashScreen
2288 --enable-textdlg use wxTextDialog
2289 --enable-tipdlg use startup tips
2290 --enable-progressdlg use wxProgressDialog
2291 --enable-wizarddlg use wxWizard
2292 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2293 --enable-miniframe use wxMiniFrame class
2294 --enable-tooltips use wxToolTip class
2295 --enable-splines use spline drawing code
2296 --enable-mousewheel use mousewheel
2297 --enable-validators use wxValidator and derived classes
2298 --enable-busyinfo use wxBusyInfo
2299 --enable-hotkey use wxWindow
::RegisterHotKey
()
2300 --enable-joystick use wxJoystick
2301 --enable-metafiles use wxMetaFile
2302 --enable-dragimage use wxDragImage
2303 --enable-accessibility enable accessibility support
2304 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2305 --enable-dctransform use wxDC
::SetTransformMatrix and related
2306 --enable-webviewwebkit use wxWebView WebKit backend
2307 --enable-palette use wxPalette class
2308 --enable-image use wxImage class
2309 --enable-gif use gif images
(GIF
file format
)
2310 --enable-pcx use pcx images
(PCX
file format
)
2311 --enable-tga use tga images
(TGA
file format
)
2312 --enable-iff use iff images
(IFF
file format
)
2313 --enable-pnm use pnm images
(PNM
file format
)
2314 --enable-xpm use xpm images
(XPM
file format
)
2315 --enable-ico_cur use Windows ICO and CUR formats
2316 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2317 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2318 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2319 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2320 --enable-wxdib use wxDIB class
(Win32 only
)
2321 --enable-webviewie use wxWebView IE backend
(Win32 only
)
2322 --enable-autoidman use automatic ids management
2323 --disable-largefile omit support
for large files
2324 --disable-gtktest do not try to compile and run a
test GTK
+ program
2325 --disable-gtktest Do not try to compile and run a
test GTK program
2326 --disable-sdltest Do not try to compile and run a
test SDL program
2327 --enable-omf use OMF object format
(OS
/2)
2328 --disable-dependency-tracking
2329 don
't use dependency tracking even if the compiler
2331 --disable-precomp-headers
2332 don't use precompiled headers even
if compiler can
2335 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2336 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2337 --without-subdirs don
't generate makefiles for samples/demos/...
2338 --with-flavour=NAME specify a name to identify this build
2339 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2340 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2341 --with-motif use Motif/Lesstif
2342 --with-osx_carbon use Mac OS X (Carbon)
2343 --with-osx_cocoa use Mac OS X (Cocoa)
2344 --with-osx_iphone use iPhone OS X port
2345 --with-osx use Mac OS X (default port, currently Carbon)
2346 --with-carbon same as --with-osx_carbon
2347 --with-cocoa same as --with-osx_cocoa
2348 --with-iphone same as --with-osx_iphone
2349 --with-mac same as --with-osx
2350 --with-old_cocoa use old, deprecated, Cocoa port
2351 --with-wine use Wine
2352 --with-msw use MS-Windows
2353 --with-pm use OS/2 Presentation Manager
2354 --with-directfb use DirectFB
2355 --with-microwin use MicroWindows
2357 --with-libpng use libpng (PNG image format)
2358 --with-libjpeg use libjpeg (JPEG file format)
2359 --with-libtiff use libtiff (TIFF file format)
2360 --with-libxpm use libxpm (XPM file format)
2361 --with-libiconv use libiconv (character conversion)
2362 --with-libmspack use libmspack (CHM help files loading)
2363 --without-gtkprint don't use GTK printing support
2364 --without-gnomeprint don
't use GNOME printing libraries
2365 --with-gnomevfs use GNOME VFS for associating MIME types
2366 --with-libnotify use libnotify for notifications
2367 --with-hildon use Hildon framework for Nokia 770/800/810
2368 --with-opengl use OpenGL (or Mesa)
2369 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2370 --with-sdl use SDL for audio on Unix
2371 --with-regex enable support for wxRegEx class
2372 --with-zlib use zlib for LZW compression
2373 --with-expat enable XML support using expat parser
2374 --with-macosx-sdk=PATH use an OS X SDK at PATH
2375 --with-macosx-version-min=VER build binaries which require at least this OS X version
2376 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2377 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2378 --with-x use the X Window System
2379 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2380 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2381 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2382 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2383 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2385 Some influential environment variables:
2386 CC C compiler command
2387 CFLAGS C compiler flags
2388 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2389 nonstandard directory <lib dir>
2390 LIBS libraries to pass to the linker, e.g. -l<library>
2391 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2392 you have headers in a nonstandard directory <include dir>
2394 CXX C++ compiler command
2395 CXXFLAGS C++ compiler flags
2396 CXXCPP C++ preprocessor
2397 PKG_CONFIG path to pkg-config utility
2399 C compiler flags for DIRECTFB, overriding pkg-config
2401 linker flags for DIRECTFB, overriding pkg-config
2402 XMKMF Path to xmkmf, Makefile generator for X Window System
2404 C compiler flags for PANGOX, overriding pkg-config
2405 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2407 C compiler flags for PANGOFT2, overriding pkg-config
2409 linker flags for PANGOFT2, overriding pkg-config
2411 C compiler flags for PANGOXFT, overriding pkg-config
2413 linker flags for PANGOXFT, overriding pkg-config
2415 C compiler flags for Xinerama, overriding pkg-config
2417 linker flags for Xinerama, overriding pkg-config
2419 C compiler flags for Xxf86vm, overriding pkg-config
2421 linker flags for Xxf86vm, overriding pkg-config
2422 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2423 SM_LIBS linker flags for SM, overriding pkg-config
2424 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2425 GL_LIBS linker flags for GL, overriding pkg-config
2426 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2427 GLU_LIBS linker flags for GLU, overriding pkg-config
2429 C compiler flags for MesaGL, overriding pkg-config
2430 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2432 C compiler flags for GTKPRINT, overriding pkg-config
2434 linker flags for GTKPRINT, overriding pkg-config
2435 LIBGNOMEPRINTUI_CFLAGS
2436 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2437 LIBGNOMEPRINTUI_LIBS
2438 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2440 C compiler flags for GNOMEVFS, overriding pkg-config
2442 linker flags for GNOMEVFS, overriding pkg-config
2444 C compiler flags for LIBNOTIFY, overriding pkg-config
2446 linker flags for LIBNOTIFY, overriding pkg-config
2448 C compiler flags for HILDON, overriding pkg-config
2449 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2451 C compiler flags for HILDON2, overriding pkg-config
2453 linker flags for HILDON2, overriding pkg-config
2455 C compiler flags for WEBKIT, overriding pkg-config
2456 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2458 C compiler flags for CAIRO, overriding pkg-config
2459 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2460 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2461 GST_LIBS linker flags for GST, overriding pkg-config
2463 Use these variables to override the choices made by `configure' or to
help
2464 it to
find libraries and programs with nonstandard names
/locations.
2466 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2471 if test "$ac_init_help" = "recursive"; then
2472 # If there are subdirs, report their specific --help.
2473 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2474 test -d "$ac_dir" ||
2475 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2480 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2482 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2483 # A ".." for each directory in $ac_dir_suffix.
2484 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2485 case $ac_top_builddir_sub in
2486 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2487 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2490 ac_abs_top_builddir
=$ac_pwd
2491 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2492 # for backward compatibility:
2493 ac_top_builddir
=$ac_top_build_prefix
2496 .
) # We are building in place.
2498 ac_top_srcdir
=$ac_top_builddir_sub
2499 ac_abs_top_srcdir
=$ac_pwd ;;
2500 [\\/]* | ?
:[\\/]* ) # Absolute name.
2501 ac_srcdir
=$srcdir$ac_dir_suffix;
2502 ac_top_srcdir
=$srcdir
2503 ac_abs_top_srcdir
=$srcdir ;;
2505 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2506 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2507 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2509 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2511 cd "$ac_dir" || { ac_status
=$?
; continue; }
2512 # Check for guested configure.
2513 if test -f "$ac_srcdir/configure.gnu"; then
2515 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2516 elif test -f "$ac_srcdir/configure"; then
2518 $SHELL "$ac_srcdir/configure" --help=recursive
2520 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2522 cd "$ac_pwd" || { ac_status
=$?
; break; }
2526 test -n "$ac_init_help" && exit $ac_status
2527 if $ac_init_version; then
2529 wxWidgets configure
2.9.5
2530 generated by GNU Autoconf
2.69
2532 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2533 This configure
script is free software
; the Free Software Foundation
2534 gives unlimited permission to copy
, distribute and modify it.
2539 ## ------------------------ ##
2540 ## Autoconf initialization. ##
2541 ## ------------------------ ##
2543 # ac_fn_c_try_compile LINENO
2544 # --------------------------
2545 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2546 ac_fn_c_try_compile
()
2548 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2549 rm -f conftest.
$ac_objext
2550 if { { ac_try
="$ac_compile"
2552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2553 *) ac_try_echo=$ac_try;;
2555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557 (eval "$ac_compile") 2>conftest.err
2559 if test -s conftest.err; then
2560 grep -v '^ *+' conftest.err >conftest.er1
2561 cat conftest.er1 >&5
2562 mv -f conftest.er1 conftest.err
2564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2565 test $ac_status = 0; } && {
2566 test -z "$ac_c_werror_flag" ||
2567 test ! -s conftest.err
2568 } && test -s conftest.$ac_objext; then :
2571 $as_echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2577 as_fn_set_status $ac_retval
2579 } # ac_fn_c_try_compile
2581 # ac_fn_c_try_cpp LINENO
2582 # ----------------------
2583 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2587 if { { ac_try="$ac_cpp conftest.$ac_ext"
2589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2590 *) ac_try_echo
=$ac_try;;
2592 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2593 $as_echo "$ac_try_echo"; } >&5
2594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2596 if test -s conftest.err
; then
2597 grep -v '^ *+' conftest.err
>conftest.er1
2598 cat conftest.er1
>&5
2599 mv -f conftest.er1 conftest.err
2601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2602 test $ac_status = 0; } > conftest.i
&& {
2603 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2604 test ! -s conftest.err
2608 $as_echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.
$ac_ext >&5
2613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2614 as_fn_set_status
$ac_retval
2618 # ac_fn_cxx_try_compile LINENO
2619 # ----------------------------
2620 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2621 ac_fn_cxx_try_compile
()
2623 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2624 rm -f conftest.
$ac_objext
2625 if { { ac_try
="$ac_compile"
2627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2628 *) ac_try_echo=$ac_try;;
2630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2631 $as_echo "$ac_try_echo"; } >&5
2632 (eval "$ac_compile") 2>conftest.err
2634 if test -s conftest.err; then
2635 grep -v '^ *+' conftest.err >conftest.er1
2636 cat conftest.er1 >&5
2637 mv -f conftest.er1 conftest.err
2639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2640 test $ac_status = 0; } && {
2641 test -z "$ac_cxx_werror_flag" ||
2642 test ! -s conftest.err
2643 } && test -s conftest.$ac_objext; then :
2646 $as_echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.$ac_ext >&5
2651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2652 as_fn_set_status $ac_retval
2654 } # ac_fn_cxx_try_compile
2656 # ac_fn_c_try_link LINENO
2657 # -----------------------
2658 # Try to link conftest.$ac_ext, and return whether this succeeded.
2661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2662 rm -f conftest.$ac_objext conftest$ac_exeext
2663 if { { ac_try="$ac_link"
2665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2666 *) ac_try_echo
=$ac_try;;
2668 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2669 $as_echo "$ac_try_echo"; } >&5
2670 (eval "$ac_link") 2>conftest.err
2672 if test -s conftest.err
; then
2673 grep -v '^ *+' conftest.err
>conftest.er1
2674 cat conftest.er1
>&5
2675 mv -f conftest.er1 conftest.err
2677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2678 test $ac_status = 0; } && {
2679 test -z "$ac_c_werror_flag" ||
2680 test ! -s conftest.err
2681 } && test -s conftest
$ac_exeext && {
2682 test "$cross_compiling" = yes ||
2683 test -x conftest
$ac_exeext
2687 $as_echo "$as_me: failed program was:" >&5
2688 sed 's/^/| /' conftest.
$ac_ext >&5
2692 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2693 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2694 # interfere with the next link command; also delete a directory that is
2695 # left behind by Apple's compiler. We do this before executing the actions.
2696 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2698 as_fn_set_status
$ac_retval
2700 } # ac_fn_c_try_link
2702 # ac_fn_cxx_try_link LINENO
2703 # -------------------------
2704 # Try to link conftest.$ac_ext, and return whether this succeeded.
2705 ac_fn_cxx_try_link
()
2707 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2708 rm -f conftest.
$ac_objext conftest
$ac_exeext
2709 if { { ac_try
="$ac_link"
2711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715 $as_echo "$ac_try_echo"; } >&5
2716 (eval "$ac_link") 2>conftest.err
2718 if test -s conftest.err; then
2719 grep -v '^ *+' conftest.err >conftest.er1
2720 cat conftest.er1 >&5
2721 mv -f conftest.er1 conftest.err
2723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2724 test $ac_status = 0; } && {
2725 test -z "$ac_cxx_werror_flag" ||
2726 test ! -s conftest.err
2727 } && test -s conftest$ac_exeext && {
2728 test "$cross_compiling" = yes ||
2729 test -x conftest$ac_exeext
2733 $as_echo "$as_me: failed program was:" >&5
2734 sed 's/^/| /' conftest.$ac_ext >&5
2738 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2739 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2740 # interfere with the next link command; also delete a directory that is
2741 # left behind by Apple's compiler. We do this before executing the actions.
2742 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2744 as_fn_set_status $ac_retval
2746 } # ac_fn_cxx_try_link
2748 # ac_fn_c_try_run LINENO
2749 # ----------------------
2750 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2751 # that executables *can* be run.
2754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2755 if { { ac_try="$ac_link"
2757 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2758 *) ac_try_echo
=$ac_try;;
2760 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 $as_echo "$ac_try_echo"; } >&5
2762 (eval "$ac_link") 2>&5
2764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2766 { { case "(($ac_try" in
2767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2771 $as_echo "$ac_try_echo"; } >&5
2772 (eval "$ac_try") 2>&5
2774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2775 test $ac_status = 0; }; }; then :
2778 $as_echo "$as_me: program exited with status $ac_status" >&5
2779 $as_echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.$ac_ext >&5
2782 ac_retval=$ac_status
2784 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2786 as_fn_set_status $ac_retval
2790 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2791 # -------------------------------------------------------
2792 # Tests whether HEADER exists and can be compiled using the include files in
2793 # INCLUDES, setting the cache variable VAR accordingly.
2794 ac_fn_c_check_header_compile ()
2796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2798 $as_echo_n "checking for $2... " >&6; }
2799 if eval \${$3+:} false; then :
2800 $as_echo_n "(cached) " >&6
2802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2803 /* end confdefs.h. */
2807 if ac_fn_c_try_compile "$LINENO"; then :
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2816 $as_echo "$ac_res" >&6; }
2817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 } # ac_fn_c_check_header_compile
2821 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2822 # ---------------------------------------------------------
2823 # Tests whether HEADER exists and can be compiled using the include files in
2824 # INCLUDES, setting the cache variable VAR accordingly.
2825 ac_fn_cxx_check_header_compile ()
2827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2829 $as_echo_n "checking for $2... " >&6; }
2830 if eval \${$3+:} false; then :
2831 $as_echo_n "(cached) " >&6
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h. */
2838 if ac_fn_cxx_try_compile "$LINENO"; then :
2843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2847 $as_echo "$ac_res" >&6; }
2848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2850 } # ac_fn_cxx_check_header_compile
2852 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2853 # --------------------------------------------
2854 # Tries to find the compile-time value of EXPR in a program that includes
2855 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2857 ac_fn_c_compute_int ()
2859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2860 if test "$cross_compiling" = yes; then
2861 # Depending upon the size, compute the lo and hi bounds.
2862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863 /* end confdefs.h. */
2868 static int test_array [1 - 2 * !(($2) >= 0)];
2870 return test_array [0];
2876 if ac_fn_c_try_compile "$LINENO"; then :
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2885 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2887 return test_array [0];
2893 if ac_fn_c_try_compile "$LINENO"; then :
2894 ac_hi=$ac_mid; break
2896 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2897 if test $ac_lo -le $ac_mid; then
2901 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2912 static int test_array [1 - 2 * !(($2) < 0)];
2914 return test_array [0];
2920 if ac_fn_c_try_compile "$LINENO"; then :
2923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2929 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2931 return test_array [0];
2937 if ac_fn_c_try_compile "$LINENO"; then :
2938 ac_lo=$ac_mid; break
2940 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2941 if test $ac_mid -le $ac_hi; then
2945 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955 # Binary search between lo and hi bounds.
2956 while test "x$ac_lo" != "x$ac_hi"; do
2957 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2964 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2966 return test_array [0];
2972 if ac_fn_c_try_compile "$LINENO"; then :
2975 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2987 static long int longval () { return $2; }
2988 static unsigned long int ulongval () { return $2; }
2995 FILE *f = fopen ("conftest.val", "w");
3000 long int i = longval ();
3003 fprintf (f, "%ld", i);
3007 unsigned long int i = ulongval ();
3010 fprintf (f, "%lu", i);
3012 /* Do not output a trailing newline, as this causes \r\n confusion
3013 on some platforms. */
3014 return ferror (f) || fclose (f) != 0;
3020 if ac_fn_c_try_run "$LINENO"; then :
3021 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3026 conftest.$ac_objext conftest.beam conftest.$ac_ext
3030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3031 as_fn_set_status $ac_retval
3033 } # ac_fn_c_compute_int
3035 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3036 # ---------------------------------------------
3037 # Tests whether TYPE exists after having included INCLUDES, setting cache
3038 # variable VAR accordingly.
3039 ac_fn_cxx_check_type ()
3041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3043 $as_echo_n "checking for $2... " >&6; }
3044 if eval \${$3+:} false; then :
3045 $as_echo_n "(cached) " >&6
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3060 if ac_fn_cxx_try_compile "$LINENO"; then :
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3073 if ac_fn_cxx_try_compile "$LINENO"; then :
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3084 $as_echo "$ac_res" >&6; }
3085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3087 } # ac_fn_cxx_check_type
3089 # ac_fn_cxx_try_cpp LINENO
3090 # ------------------------
3091 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3092 ac_fn_cxx_try_cpp ()
3094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3095 if { { ac_try="$ac_cpp conftest.$ac_ext"
3097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3098 *) ac_try_echo
=$ac_try;;
3100 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 $as_echo "$ac_try_echo"; } >&5
3102 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3104 if test -s conftest.err
; then
3105 grep -v '^ *+' conftest.err
>conftest.er1
3106 cat conftest.er1
>&5
3107 mv -f conftest.er1 conftest.err
3109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3110 test $ac_status = 0; } > conftest.i
&& {
3111 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3112 test ! -s conftest.err
3116 $as_echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.
$ac_ext >&5
3121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3122 as_fn_set_status
$ac_retval
3124 } # ac_fn_cxx_try_cpp
3126 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3127 # ---------------------------------------------------------
3128 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3129 # the include files in INCLUDES and setting the cache variable VAR
3131 ac_fn_cxx_check_header_mongrel
()
3133 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3134 if eval \
${$3+:} false
; then :
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3136 $as_echo_n "checking for $2... " >&6; }
3137 if eval \
${$3+:} false
; then :
3138 $as_echo_n "(cached) " >&6
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3142 $as_echo "$ac_res" >&6; }
3144 # Is the header compilable?
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3146 $as_echo_n "checking $2 usability... " >&6; }
3147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3152 if ac_fn_cxx_try_compile
"$LINENO"; then :
3153 ac_header_compiler
=yes
3155 ac_header_compiler
=no
3157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3159 $as_echo "$ac_header_compiler" >&6; }
3161 # Is the header present?
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3163 $as_echo_n "checking $2 presence... " >&6; }
3164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h. */
3168 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3169 ac_header_preproc
=yes
3171 ac_header_preproc
=no
3173 rm -f conftest.err conftest.i conftest.
$ac_ext
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3175 $as_echo "$ac_header_preproc" >&6; }
3177 # So? What about this header?
3178 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3181 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3183 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3187 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3189 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3191 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3193 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3195 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3196 ( $as_echo "## ----------------------------------------- ##
3197 ## Report this to wx-dev@lists.wxwidgets.org ##
3198 ## ----------------------------------------- ##"
3199 ) | sed "s/^/$as_me: WARNING: /" >&2
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3203 $as_echo_n "checking for $2... " >&6; }
3204 if eval \
${$3+:} false
; then :
3205 $as_echo_n "(cached) " >&6
3207 eval "$3=\$ac_header_compiler"
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3211 $as_echo "$ac_res" >&6; }
3213 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3215 } # ac_fn_cxx_check_header_mongrel
3217 # ac_fn_c_check_func LINENO FUNC VAR
3218 # ----------------------------------
3219 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3220 ac_fn_c_check_func
()
3222 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3224 $as_echo_n "checking for $2... " >&6; }
3225 if eval \
${$3+:} false
; then :
3226 $as_echo_n "(cached) " >&6
3228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3230 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3232 #define $2 innocuous_$2
3234 /* System header to define __stub macros and hopefully few prototypes,
3235 which can conflict with char $2 (); below.
3236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3237 <limits.h> exists even on freestanding compilers. */
3240 # include <limits.h>
3242 # include <assert.h>
3247 /* Override any GCC internal prototype to avoid an error.
3248 Use char because int might match the return type of a GCC
3249 builtin and then its argument prototype would still apply. */
3254 /* The GNU C library defines this for functions which it implements
3255 to always fail with ENOSYS. Some functions are actually named
3256 something starting with __ and the normal name is an alias. */
3257 #if defined __stub_$2 || defined __stub___$2
3269 if ac_fn_c_try_link
"$LINENO"; then :
3274 rm -f core conftest.err conftest.
$ac_objext \
3275 conftest
$ac_exeext conftest.
$ac_ext
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3279 $as_echo "$ac_res" >&6; }
3280 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3282 } # ac_fn_c_check_func
3284 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3285 # -------------------------------------------
3286 # Tests whether TYPE exists after having included INCLUDES, setting cache
3287 # variable VAR accordingly.
3288 ac_fn_c_check_type
()
3290 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3292 $as_echo_n "checking for $2... " >&6; }
3293 if eval \
${$3+:} false
; then :
3294 $as_echo_n "(cached) " >&6
3297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3309 if ac_fn_c_try_compile
"$LINENO"; then :
3310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3322 if ac_fn_c_try_compile
"$LINENO"; then :
3327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3333 $as_echo "$ac_res" >&6; }
3334 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3336 } # ac_fn_c_check_type
3338 # ac_fn_cxx_try_run LINENO
3339 # ------------------------
3340 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3341 # that executables *can* be run.
3342 ac_fn_cxx_try_run
()
3344 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3345 if { { ac_try
="$ac_link"
3347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3351 $as_echo "$ac_try_echo"; } >&5
3352 (eval "$ac_link") 2>&5
3354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3355 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3356 { { case "(($ac_try" in
3357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3358 *) ac_try_echo
=$ac_try;;
3360 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3361 $as_echo "$ac_try_echo"; } >&5
3362 (eval "$ac_try") 2>&5
3364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3365 test $ac_status = 0; }; }; then :
3368 $as_echo "$as_me: program exited with status $ac_status" >&5
3369 $as_echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.
$ac_ext >&5
3372 ac_retval
=$ac_status
3374 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3375 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3376 as_fn_set_status
$ac_retval
3378 } # ac_fn_cxx_try_run
3379 cat >config.log
<<_ACEOF
3380 This file contains any messages produced by compilers while
3381 running configure, to aid debugging if configure makes a mistake.
3383 It was created by wxWidgets $as_me 2.9.5, which was
3384 generated by GNU Autoconf 2.69. Invocation command line was
3396 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3397 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3398 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3399 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3400 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3402 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3403 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3405 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3406 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3407 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3408 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3409 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3410 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3411 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3419 test -z "$as_dir" && as_dir
=.
3420 $as_echo "PATH: $as_dir"
3436 # Keep a trace of the command line.
3437 # Strip out --no-create and --no-recursion so they do not pile up.
3438 # Strip out --silent because we don't want to record it for future runs.
3439 # Also quote any args containing shell meta-characters.
3440 # Make two passes to allow for proper duplicate-argument suppression.
3444 ac_must_keep_next
=false
3450 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3451 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3452 | -silent | --silent | --silen | --sile | --sil)
3455 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3458 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3460 as_fn_append ac_configure_args1
" '$ac_arg'"
3461 if test $ac_must_keep_next = true
; then
3462 ac_must_keep_next
=false
# Got value, back to normal.
3465 *=* | --config-cache | -C | -disable-* | --disable-* \
3466 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3467 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3468 | -with-* | --with-* | -without-* | --without-* | --x)
3469 case "$ac_configure_args0 " in
3470 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3473 -* ) ac_must_keep_next
=true
;;
3476 as_fn_append ac_configure_args
" '$ac_arg'"
3481 { ac_configure_args0
=; unset ac_configure_args0
;}
3482 { ac_configure_args1
=; unset ac_configure_args1
;}
3484 # When interrupted or exit'd, cleanup temporary files, and complete
3485 # config.log. We remove comments because anyway the quotes in there
3486 # would cause problems or look ugly.
3487 # WARNING: Use '\'' to represent an apostrophe within the trap.
3488 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3489 trap 'exit_status=$?
3490 # Save into config.log some information that might help in debugging.
3494 $as_echo "## ---------------- ##
3495 ## Cache variables. ##
3496 ## ---------------- ##"
3498 # The following way of writing the cache mishandles newlines in values,
3500 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3501 eval ac_val=\$$ac_var
3505 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3506 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3509 _ | IFS | as_nl) ;; #(
3510 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3511 *) { eval $ac_var=; unset $ac_var;} ;;
3516 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3517 *${as_nl}ac_space=\ *)
3519 "s/'\''/'\''\\\\'\'''\''/g;
3520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3523 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3530 $as_echo "## ----------------- ##
3531 ## Output variables. ##
3532 ## ----------------- ##"
3534 for ac_var in $ac_subst_vars
3536 eval ac_val=\$$ac_var
3538 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3540 $as_echo "$ac_var='\''$ac_val'\''"
3544 if test -n "$ac_subst_files"; then
3545 $as_echo "## ------------------- ##
3546 ## File substitutions. ##
3547 ## ------------------- ##"
3549 for ac_var
in $ac_subst_files
3551 eval ac_val
=\$
$ac_var
3553 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3555 $as_echo "$ac_var='\''$ac_val'\''"
3560 if test -s confdefs.h; then
3561 $as_echo "## ----------- ##
3568 test "$ac_signal" != 0 &&
3569 $as_echo "$as_me: caught signal $ac_signal"
3570 $as_echo "$as_me: exit $exit_status"
3572 rm -f core *.core core.conftest.* &&
3573 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3576 for ac_signal
in 1 2 13 15; do
3577 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3581 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3582 rm -f -r conftest
* confdefs.h
3584 $as_echo "/* confdefs.h */" > confdefs.h
3586 # Predefined preprocessor variables.
3588 cat >>confdefs.h
<<_ACEOF
3589 #define PACKAGE_NAME "$PACKAGE_NAME"
3592 cat >>confdefs.h
<<_ACEOF
3593 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3596 cat >>confdefs.h
<<_ACEOF
3597 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3600 cat >>confdefs.h
<<_ACEOF
3601 #define PACKAGE_STRING "$PACKAGE_STRING"
3604 cat >>confdefs.h
<<_ACEOF
3605 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3608 cat >>confdefs.h
<<_ACEOF
3609 #define PACKAGE_URL "$PACKAGE_URL"
3613 # Let the site file select an alternate cache file if it wants to.
3614 # Prefer an explicitly selected file to automatically selected ones.
3617 if test -n "$CONFIG_SITE"; then
3618 # We do not want a PATH search for config.site.
3619 case $CONFIG_SITE in #((
3620 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3621 */*) ac_site_file1
=$CONFIG_SITE;;
3622 *) ac_site_file1
=.
/$CONFIG_SITE;;
3624 elif test "x$prefix" != xNONE
; then
3625 ac_site_file1
=$prefix/share
/config.site
3626 ac_site_file2
=$prefix/etc
/config.site
3628 ac_site_file1
=$ac_default_prefix/share
/config.site
3629 ac_site_file2
=$ac_default_prefix/etc
/config.site
3631 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3633 test "x$ac_site_file" = xNONE
&& continue
3634 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3636 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3637 sed 's/^/| /' "$ac_site_file" >&5
3639 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3641 as_fn_error $?
"failed to load site script $ac_site_file
3642 See \`config.log' for more details" "$LINENO" 5; }
3646 if test -r "$cache_file"; then
3647 # Some versions of bash will fail to source /dev/null (special files
3648 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3649 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3651 $as_echo "$as_me: loading cache $cache_file" >&6;}
3653 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3654 *) .
"./$cache_file";;
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3659 $as_echo "$as_me: creating cache $cache_file" >&6;}
3663 # Check that the precious variables saved in the cache have kept the same
3665 ac_cache_corrupted
=false
3666 for ac_var
in $ac_precious_vars; do
3667 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3668 eval ac_new_set
=\
$ac_env_${ac_var}_set
3669 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3670 eval ac_new_val
=\
$ac_env_${ac_var}_value
3671 case $ac_old_set,$ac_new_set in
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3674 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3675 ac_cache_corrupted
=: ;;
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3678 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3679 ac_cache_corrupted
=: ;;
3682 if test "x$ac_old_val" != "x$ac_new_val"; then
3683 # differences in whitespace do not lead to failure.
3684 ac_old_val_w
=`echo x $ac_old_val`
3685 ac_new_val_w
=`echo x $ac_new_val`
3686 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3688 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3689 ac_cache_corrupted
=:
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3692 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3693 eval $ac_var=\
$ac_old_val
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3696 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3698 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3701 # Pass precious variables to config.status.
3702 if test "$ac_new_set" = set; then
3704 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3705 *) ac_arg
=$ac_var=$ac_new_val ;;
3707 case " $ac_configure_args " in
3708 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3709 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3713 if $ac_cache_corrupted; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3717 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3718 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3720 ## -------------------- ##
3721 ## Main body of script. ##
3722 ## -------------------- ##
3725 ac_cpp
='$CPP $CPPFLAGS'
3726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3735 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3736 if test -f "$ac_dir/install-sh"; then
3738 ac_install_sh
="$ac_aux_dir/install-sh -c"
3740 elif test -f "$ac_dir/install.sh"; then
3742 ac_install_sh
="$ac_aux_dir/install.sh -c"
3744 elif test -f "$ac_dir/shtool"; then
3746 ac_install_sh
="$ac_aux_dir/shtool install -c"
3750 if test -z "$ac_aux_dir"; then
3751 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3754 # These three variables are undocumented and unsupported,
3755 # and are intended to be withdrawn in a future Autoconf release.
3756 # They can cause serious problems if a builder's source tree is in a directory
3757 # whose full name contains unusual characters.
3758 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3759 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3760 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3763 # Make sure we can run config.sub.
3764 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3765 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3768 $as_echo_n "checking build system type... " >&6; }
3769 if ${ac_cv_build+:} false
; then :
3770 $as_echo_n "(cached) " >&6
3772 ac_build_alias
=$build_alias
3773 test "x$ac_build_alias" = x
&&
3774 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3775 test "x$ac_build_alias" = x
&&
3776 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3777 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3778 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3782 $as_echo "$ac_cv_build" >&6; }
3783 case $ac_cv_build in
3785 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3788 ac_save_IFS
=$IFS; IFS
='-'
3794 # Remember, the first character of IFS is used to create $*,
3795 # except with old shells:
3798 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3802 $as_echo_n "checking host system type... " >&6; }
3803 if ${ac_cv_host+:} false
; then :
3804 $as_echo_n "(cached) " >&6
3806 if test "x$host_alias" = x
; then
3807 ac_cv_host
=$ac_cv_build
3809 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3810 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3815 $as_echo "$ac_cv_host" >&6; }
3818 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3821 ac_save_IFS
=$IFS; IFS
='-'
3827 # Remember, the first character of IFS is used to create $*,
3828 # except with old shells:
3831 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3835 if test "$cross_compiling" != "no"; then
3836 HOST_PREFIX
="${host_alias}-"
3837 HOST_SUFFIX
="-$host_alias"
3844 wx_major_version_number
=2
3845 wx_minor_version_number
=9
3847 wx_subrelease_number
=0
3849 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3850 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3851 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3853 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3856 wx_top_builddir
="`pwd`"
3869 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3875 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3881 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3883 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3885 DEFAULT_wxUSE_OLD_COCOA
=0
3887 DEFAULT_wxUSE_OSX_CARBON
=0
3888 DEFAULT_wxUSE_OSX_COCOA
=0
3889 DEFAULT_wxUSE_OSX_IPHONE
=0
3890 DEFAULT_wxUSE_MICROWIN
=0
3891 DEFAULT_wxUSE_MOTIF
=0
3897 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3898 DEFAULT_DEFAULT_wxUSE_GTK
=0
3899 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3900 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3901 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3902 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3903 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3904 DEFAULT_DEFAULT_wxUSE_MSW
=0
3905 DEFAULT_DEFAULT_wxUSE_PM
=0
3906 DEFAULT_DEFAULT_wxUSE_X11
=0
3907 DEFAULT_DEFAULT_wxUSE_DFB
=0
3911 DYLIB_RPATH_INSTALL
=
3912 DYLIB_RPATH_POSTLINK
=
3914 DEFAULT_STD_FLAG
=yes
3919 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3920 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3921 $as_echo "#define __HPUX__ 1" >>confdefs.h
3924 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3928 $as_echo "#define __LINUX__ 1" >>confdefs.h
3931 if test "x$TMP" = "xalpha"; then
3933 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3936 DEFAULT_DEFAULT_wxUSE_GTK
=1
3938 *-*-gnu* | *-*-k*bsd
*-gnu )
3941 if test "x$TMP" = "xalpha"; then
3943 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3946 DEFAULT_DEFAULT_wxUSE_GTK
=1
3948 *-*-irix5* | *-*-irix6* )
3951 $as_echo "#define __SGI__ 1" >>confdefs.h
3953 $as_echo "#define __SVR4__ 1" >>confdefs.h
3955 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3959 $as_echo "#define __QNX__ 1" >>confdefs.h
3961 DEFAULT_DEFAULT_wxUSE_X11
=1
3967 $as_echo "#define __SUN__ 1" >>confdefs.h
3969 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3971 $as_echo "#define __SVR4__ 1" >>confdefs.h
3973 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3974 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3980 $as_echo "#define __SUN__ 1" >>confdefs.h
3982 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3984 $as_echo "#define __BSD__ 1" >>confdefs.h
3986 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3991 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3993 $as_echo "#define __BSD__ 1" >>confdefs.h
3995 DEFAULT_DEFAULT_wxUSE_GTK
=1
3997 *-*-openbsd*|*-*-mirbsd*)
4000 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
4002 $as_echo "#define __BSD__ 1" >>confdefs.h
4004 DEFAULT_DEFAULT_wxUSE_GTK
=1
4009 $as_echo "#define __NETBSD__ 1" >>confdefs.h
4011 $as_echo "#define __BSD__ 1" >>confdefs.h
4013 DEFAULT_DEFAULT_wxUSE_GTK
=1
4014 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4016 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4021 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4023 $as_echo "#define __OSF__ 1" >>confdefs.h
4025 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4026 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4031 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4033 $as_echo "#define __SVR4__ 1" >>confdefs.h
4035 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4040 $as_echo "#define __SYSV__ 1" >>confdefs.h
4042 $as_echo "#define __SVR4__ 1" >>confdefs.h
4044 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4050 $as_echo "#define __AIX__ 1" >>confdefs.h
4052 $as_echo "#define __SYSV__ 1" >>confdefs.h
4054 $as_echo "#define __SVR4__ 1" >>confdefs.h
4056 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4063 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4067 *-*-cygwin* | *-*-mingw32* )
4069 DEFAULT_DEFAULT_wxUSE_MSW
=1
4075 $as_echo "#define __DOS__ 1" >>confdefs.h
4080 *-pc-os2_emx | *-pc-os2-emx )
4081 $as_echo "#define __EMX__ 1" >>confdefs.h
4084 $as_echo "#define __OS2__ 1" >>confdefs.h
4087 DEFAULT_DEFAULT_wxUSE_PM
=1
4089 LDFLAGS
="$LDFLAGS -Zcrtdll"
4090 ac_executable_extensions
=".exe"
4091 export ac_executable_extensions
4095 for ac_dir
in $PATH; do
4097 if test -z "$ac_TEMP_PATH"; then
4098 ac_TEMP_PATH
="$ac_dir"
4100 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4103 export PATH
="$ac_TEMP_PATH"
4111 $as_echo "#define __BSD__ 1" >>confdefs.h
4113 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4115 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4121 $as_echo "#define __BSD__ 1" >>confdefs.h
4123 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4125 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4127 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
4132 $as_echo "#define __BEOS__ 1" >>confdefs.h
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4138 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4140 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4142 DEFAULT_DEFAULT_wxUSE_X11
=1
4143 DEFAULT_wxUSE_SHARED
=no
4148 DEFAULT_wxUSE_ALL_FEATURES
=yes
4150 DEFAULT_wxUSE_STD_CONTAINERS
=no
4151 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4152 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4154 DEFAULT_wxUSE_DMALLOC
=no
4155 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4156 DEFAULT_wxUSE_LIBHILDON
=no
4157 DEFAULT_wxUSE_LIBHILDON2
=no
4158 DEFAULT_wxUSE_LIBMSPACK
=no
4159 DEFAULT_wxUSE_LIBSDL
=no
4161 DEFAULT_wxUSE_ACCESSIBILITY
=no
4162 DEFAULT_wxUSE_IPV6
=no
4163 DEFAULT_wxUSE_GSTREAMER8
=no
4164 DEFAULT_wxUSE_UNICODE_UTF8
=no
4165 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4167 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4168 DEFAULT_wxUSE_OPENGL
=auto
4169 DEFAULT_wxUSE_MEDIACTRL
=auto
4170 DEFAULT_wxUSE_COMPILER_TLS
=auto
4171 DEFAULT_wxUSE_HOTKEY
=auto
4172 DEFAULT_wxUSE_METAFILE
=auto
4174 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4175 DEFAULT_wxUSE_MAC_ARCH
=no
4177 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4179 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4185 enablestring
=disable
4187 if test -z "$defaultval"; then
4188 if test x
"$enablestring" = xdisable
; then
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4196 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4197 # Check whether --enable-gui was given.
4198 if test "${enable_gui+set}" = set; then :
4199 enableval
=$enable_gui;
4200 if test "$enableval" = yes; then
4201 wx_cv_use_gui
='wxUSE_GUI=yes'
4203 wx_cv_use_gui
='wxUSE_GUI=no'
4208 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4213 eval "$wx_cv_use_gui"
4215 if test x"$enablestring" = xdisable; then
4216 if test $wxUSE_GUI = no; then
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4226 $as_echo "$result" >&6; }
4231 if test -z "$defaultval"; then
4232 if test x"$enablestring" = xdisable; then
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4240 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4241 # Check whether --enable-monolithic was given.
4242 if test "${enable_monolithic+set}" = set; then :
4243 enableval=$enable_monolithic;
4244 if test "$enableval" = yes; then
4245 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4247 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4252 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4257 eval "$wx_cv_use_monolithic"
4259 if test x"$enablestring" = xdisable; then
4260 if test $wxUSE_MONOLITHIC = no; then
4266 result=$wxUSE_MONOLITHIC
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4270 $as_echo "$result" >&6; }
4275 if test -z "$defaultval"; then
4276 if test x"$enablestring" = xdisable; then
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4284 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4285 # Check whether --enable-plugins was given.
4286 if test "${enable_plugins+set}" = set; then :
4287 enableval=$enable_plugins;
4288 if test "$enableval" = yes; then
4289 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4291 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4296 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4301 eval "$wx_cv_use_plugins"
4303 if test x
"$enablestring" = xdisable
; then
4304 if test $wxUSE_PLUGINS = no
; then
4310 result
=$wxUSE_PLUGINS
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4314 $as_echo "$result" >&6; }
4318 defaultval
=$wxUSE_ALL_FEATURES
4319 if test -z "$defaultval"; then
4320 if test x
"$withstring" = xwithout
; then
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4327 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4329 # Check whether --with-subdirs was given.
4330 if test "${with_subdirs+set}" = set; then :
4331 withval
=$with_subdirs;
4332 if test "$withval" = yes; then
4333 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4335 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4340 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4345 eval "$wx_cv_use_subdirs"
4347 if test x"$withstring" = xwithout; then
4348 if test $wxWITH_SUBDIRS = yes; then
4354 result=$wxWITH_SUBDIRS
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4358 $as_echo "$result" >&6; }
4361 # Check whether --with-flavour was given.
4362 if test "${with_flavour+set}" = set; then :
4363 withval=$with_flavour; WX_FLAVOUR="$withval"
4369 if test -z "$defaultval"; then
4370 if test x"$enablestring" = xdisable; then
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4378 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4379 # Check whether --enable-official_build was given.
4380 if test "${enable_official_build+set}" = set; then :
4381 enableval=$enable_official_build;
4382 if test "$enableval" = yes; then
4383 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4385 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4390 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4395 eval "$wx_cv_use_official_build"
4397 if test x"$enablestring" = xdisable; then
4398 if test $wxUSE_OFFICIAL_BUILD = no; then
4404 result=$wxUSE_OFFICIAL_BUILD
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4408 $as_echo "$result" >&6; }
4410 # Check whether --enable-vendor was given.
4411 if test "${enable_vendor+set}" = set; then :
4412 enableval=$enable_vendor; VENDOR="$enableval"
4415 if test "x
$VENDOR" = "x
"; then
4420 enablestring=disable
4422 if test -z "$defaultval"; then
4423 if test x"$enablestring" = xdisable; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4431 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4432 # Check whether --enable-all-features was given.
4433 if test "${enable_all_features+set}" = set; then :
4434 enableval=$enable_all_features;
4435 if test "$enableval" = yes; then
4436 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4438 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4443 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4448 eval "$wx_cv_use_all_features"
4450 if test x
"$enablestring" = xdisable
; then
4451 if test $wxUSE_ALL_FEATURES = no
; then
4457 result
=$wxUSE_ALL_FEATURES
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4461 $as_echo "$result" >&6; }
4464 if test "$wxUSE_ALL_FEATURES" = "no"; then
4465 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4466 DEFAULT_wxUSE_MEDIACTRL
=no
4470 if test "$wxUSE_GUI" = "yes"; then
4475 if test -z "$defaultval"; then
4476 if test x
"$enablestring" = xdisable
; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4484 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4485 # Check whether --enable-universal was given.
4486 if test "${enable_universal+set}" = set; then :
4487 enableval
=$enable_universal;
4488 if test "$enableval" = yes; then
4489 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4491 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4496 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4501 eval "$wx_cv_use_universal"
4503 if test x"$enablestring" = xdisable; then
4504 if test $wxUSE_UNIVERSAL = no; then
4510 result=$wxUSE_UNIVERSAL
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4514 $as_echo "$result" >&6; }
4516 if test "$wxUSE_UNIVERSAL" = "yes"; then
4518 # Check whether --with-themes was given.
4519 if test "${with_themes+set}" = set; then :
4520 withval=$with_themes; wxUNIV_THEMES="$withval"
4526 # Check whether --with-gtk was given.
4527 if test "${with_gtk+set}" = set; then :
4528 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4532 # Check whether --with-motif was given.
4533 if test "${with_motif+set}" = set; then :
4534 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4538 # Check whether --with-osx_carbon was given.
4539 if test "${with_osx_carbon+set}" = set; then :
4540 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4544 # Check whether --with-osx_cocoa was given.
4545 if test "${with_osx_cocoa+set}" = set; then :
4546 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4550 # Check whether --with-osx_iphone was given.
4551 if test "${with_osx_iphone+set}" = set; then :
4552 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4556 # Check whether --with-osx was given.
4557 if test "${with_osx+set}" = set; then :
4558 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4562 # Check whether --with-carbon was given.
4563 if test "${with_carbon+set}" = set; then :
4564 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4568 # Check whether --with-cocoa was given.
4569 if test "${with_cocoa+set}" = set; then :
4570 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4574 # Check whether --with-iphone was given.
4575 if test "${with_iphone+set}" = set; then :
4576 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4580 # Check whether --with-mac was given.
4581 if test "${with_mac+set}" = set; then :
4582 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4586 # Check whether --with-old_cocoa was given.
4587 if test "${with_old_cocoa+set}" = set; then :
4588 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4592 # Check whether --with-wine was given.
4593 if test "${with_wine+set}" = set; then :
4594 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4598 # Check whether --with-msw was given.
4599 if test "${with_msw+set}" = set; then :
4600 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4604 # Check whether --with-pm was given.
4605 if test "${with_pm+set}" = set; then :
4606 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4610 # Check whether --with-directfb was given.
4611 if test "${with_directfb+set}" = set; then :
4612 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4616 # Check whether --with-microwin was given.
4617 if test "${with_microwin+set}" = set; then :
4618 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4622 # Check whether --with-x11 was given.
4623 if test "${with_x11+set}" = set; then :
4624 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4630 if test -z "$defaultval"; then
4631 if test x"$enablestring" = xdisable; then
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4639 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4640 # Check whether --enable-nanox was given.
4641 if test "${enable_nanox+set}" = set; then :
4642 enableval=$enable_nanox;
4643 if test "$enableval" = yes; then
4644 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4646 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4651 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4656 eval "$wx_cv_use_nanox"
4658 if test x"$enablestring" = xdisable; then
4659 if test $wxUSE_NANOX = no; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4669 $as_echo "$result" >&6; }
4674 if test -z "$defaultval"; then
4675 if test x"$enablestring" = xdisable; then
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4683 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4684 # Check whether --enable-gpe was given.
4685 if test "${enable_gpe+set}" = set; then :
4686 enableval=$enable_gpe;
4687 if test "$enableval" = yes; then
4688 wx_cv_use_gpe='wxUSE_GPE=yes'
4690 wx_cv_use_gpe='wxUSE_GPE=no'
4695 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4700 eval "$wx_cv_use_gpe"
4702 if test x
"$enablestring" = xdisable
; then
4703 if test $wxUSE_GPE = no
; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4713 $as_echo "$result" >&6; }
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4718 $as_echo_n "checking for toolkit... " >&6; }
4722 # In Wine, we need to default to MSW, not GTK or MOTIF
4723 if test "$wxUSE_WINE" = "yes"; then
4724 DEFAULT_DEFAULT_wxUSE_GTK
=0
4725 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4726 DEFAULT_DEFAULT_wxUSE_MSW
=1
4733 if test "$wxUSE_GUI" = "yes"; then
4735 if test "$USE_BEOS" = 1; then
4736 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4739 if test "$TOOLKIT_GIVEN" = 1; then
4740 for toolkit
in $ALL_TOOLKITS; do
4742 eval "value=\$${var}"
4743 if test "x$value" = "xno"; then
4745 elif test "x$value" != "x"; then
4749 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4750 eval "wx${toolkit}_VERSION=$value"
4754 for toolkit
in $ALL_TOOLKITS; do
4755 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4756 eval "wxUSE_$toolkit=\$${var}"
4760 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4761 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4762 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4765 *-pc-os2_emx | *-pc-os2-emx )
4766 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4769 case "$NUM_TOOLKITS" in
4773 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4776 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4779 for toolkit
in $ALL_TOOLKITS; do
4781 eval "value=\$${var}"
4782 if test "$value" = 1; then
4783 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4785 $as_echo "$toolkit_echo" >&6; }
4789 if test "x$host_alias" != "x"; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4791 $as_echo "base ($host_alias hosted) only" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4794 $as_echo "base only" >&6; }
4799 if test "$wxUSE_OSX_CARBON" = 1 \
4800 -o "$wxUSE_OSX_COCOA" = 1 \
4801 -o "$wxUSE_OSX_IPHONE" = 1; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4808 $as_echo_n "checking for --with-libpng... " >&6; }
4810 # Check whether --with-libpng was given.
4811 if test "${with_libpng+set}" = set; then :
4812 withval
=$with_libpng;
4813 if test "$withval" = yes; then
4814 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4815 elif test "$withval" = no
; then
4816 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4817 elif test "$withval" = sys
; then
4818 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4819 elif test "$withval" = builtin; then
4820 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4822 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4827 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4832 eval "$wx_cv_use_libpng"
4834 if test "$wxUSE_LIBPNG" = yes; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4836 $as_echo "yes" >&6; }
4837 elif test "$wxUSE_LIBPNG" = no; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4840 elif test "$wxUSE_LIBPNG" = sys; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4842 $as_echo "system version" >&6; }
4843 elif test "$wxUSE_LIBPNG" = builtin; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4845 $as_echo "builtin version" >&6; }
4847 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4852 $as_echo_n "checking for --with-libjpeg... " >&6; }
4854 # Check whether --with-libjpeg was given.
4855 if test "${with_libjpeg+set}" = set; then :
4856 withval=$with_libjpeg;
4857 if test "$withval" = yes; then
4858 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4859 elif test "$withval" = no; then
4860 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4861 elif test "$withval" = sys; then
4862 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4863 elif test "$withval" = builtin; then
4864 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4866 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4871 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4876 eval "$wx_cv_use_libjpeg"
4878 if test "$wxUSE_LIBJPEG" = yes; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4880 $as_echo "yes" >&6; }
4881 elif test "$wxUSE_LIBJPEG" = no; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4883 $as_echo "no
" >&6; }
4884 elif test "$wxUSE_LIBJPEG" = sys; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4886 $as_echo "system version
" >&6; }
4887 elif test "$wxUSE_LIBJPEG" = builtin; then
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4889 $as_echo "builtin version
" >&6; }
4891 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4896 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4898 # Check whether --with-libtiff was given.
4899 if test "${with_libtiff+set}" = set; then :
4900 withval=$with_libtiff;
4901 if test "$withval" = yes; then
4902 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4903 elif test "$withval" = no; then
4904 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4905 elif test "$withval" = sys; then
4906 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4907 elif test "$withval" = builtin; then
4908 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4910 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4915 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4920 eval "$wx_cv_use_libtiff"
4922 if test "$wxUSE_LIBTIFF" = yes; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4924 $as_echo "yes" >&6; }
4925 elif test "$wxUSE_LIBTIFF" = no
; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4928 elif test "$wxUSE_LIBTIFF" = sys
; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4930 $as_echo "system version" >&6; }
4931 elif test "$wxUSE_LIBTIFF" = builtin; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4933 $as_echo "builtin version" >&6; }
4935 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4940 $as_echo_n "checking for --with-libxpm... " >&6; }
4942 # Check whether --with-libxpm was given.
4943 if test "${with_libxpm+set}" = set; then :
4944 withval
=$with_libxpm;
4945 if test "$withval" = yes; then
4946 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
4947 elif test "$withval" = no
; then
4948 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
4949 elif test "$withval" = sys
; then
4950 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
4951 elif test "$withval" = builtin; then
4952 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
4954 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4959 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4964 eval "$wx_cv_use_libxpm"
4966 if test "$wxUSE_LIBXPM" = yes; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4968 $as_echo "yes" >&6; }
4969 elif test "$wxUSE_LIBXPM" = no; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4972 elif test "$wxUSE_LIBXPM" = sys; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4974 $as_echo "system version" >&6; }
4975 elif test "$wxUSE_LIBXPM" = builtin; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4977 $as_echo "builtin version" >&6; }
4979 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4984 defaultval=$wxUSE_ALL_FEATURES
4985 if test -z "$defaultval"; then
4986 if test x"$withstring" = xwithout; then
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4993 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4995 # Check whether --with-libiconv was given.
4996 if test "${with_libiconv+set}" = set; then :
4997 withval=$with_libiconv;
4998 if test "$withval" = yes; then
4999 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
5001 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
5006 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5011 eval "$wx_cv_use_libiconv"
5013 if test x"$withstring" = xwithout; then
5014 if test $wxUSE_LIBICONV = yes; then
5020 result=$wxUSE_LIBICONV
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5024 $as_echo "$result" >&6; }
5028 defaultval=$wxUSE_ALL_FEATURES
5029 if test -z "$defaultval"; then
5030 if test x"$withstring" = xwithout; then
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libmspack" >&5
5037 $as_echo_n "checking
for --${withstring:-with}-libmspack...
" >&6; }
5039 # Check whether --with-libmspack was given.
5040 if test "${with_libmspack+set}" = set; then :
5041 withval=$with_libmspack;
5042 if test "$withval" = yes; then
5043 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5045 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5050 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5055 eval "$wx_cv_use_libmspack"
5057 if test x
"$withstring" = xwithout
; then
5058 if test $wxUSE_LIBMSPACK = yes; then
5064 result
=$wxUSE_LIBMSPACK
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5068 $as_echo "$result" >&6; }
5072 defaultval
=$wxUSE_ALL_FEATURES
5073 if test -z "$defaultval"; then
5074 if test x
"$withstring" = xwithout
; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5081 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5083 # Check whether --with-gtkprint was given.
5084 if test "${with_gtkprint+set}" = set; then :
5085 withval
=$with_gtkprint;
5086 if test "$withval" = yes; then
5087 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
5089 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
5094 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5099 eval "$wx_cv_use_gtkprint"
5101 if test x"$withstring" = xwithout; then
5102 if test $wxUSE_GTKPRINT = yes; then
5108 result=$wxUSE_GTKPRINT
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5112 $as_echo "$result" >&6; }
5116 defaultval=$wxUSE_ALL_FEATURES
5117 if test -z "$defaultval"; then
5118 if test x"$withstring" = xwithout; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5125 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5127 # Check whether --with-gnomeprint was given.
5128 if test "${with_gnomeprint+set}" = set; then :
5129 withval=$with_gnomeprint;
5130 if test "$withval" = yes; then
5131 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
5133 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
5138 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5143 eval "$wx_cv_use_gnomeprint"
5145 if test x"$withstring" = xwithout; then
5146 if test $wxUSE_LIBGNOMEPRINT = yes; then
5152 result=$wxUSE_LIBGNOMEPRINT
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5156 $as_echo "$result" >&6; }
5160 defaultval=$wxUSE_ALL_FEATURES
5161 if test -z "$defaultval"; then
5162 if test x"$withstring" = xwithout; then
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gnomevfs" >&5
5169 $as_echo_n "checking
for --${withstring:-with}-gnomevfs...
" >&6; }
5171 # Check whether --with-gnomevfs was given.
5172 if test "${with_gnomevfs+set}" = set; then :
5173 withval=$with_gnomevfs;
5174 if test "$withval" = yes; then
5175 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5177 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5182 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5187 eval "$wx_cv_use_gnomevfs"
5189 if test x
"$withstring" = xwithout
; then
5190 if test $wxUSE_LIBGNOMEVFS = yes; then
5196 result
=$wxUSE_LIBGNOMEVFS
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5200 $as_echo "$result" >&6; }
5204 defaultval
=$wxUSE_ALL_FEATURES
5205 if test -z "$defaultval"; then
5206 if test x
"$withstring" = xwithout
; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5213 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5215 # Check whether --with-libnotify was given.
5216 if test "${with_libnotify+set}" = set; then :
5217 withval
=$with_libnotify;
5218 if test "$withval" = yes; then
5219 wx_cv_use_libnotify
='wxUSE_LIBNOTIFY=yes'
5221 wx_cv_use_libnotify
='wxUSE_LIBNOTIFY=no'
5226 wx_cv_use_libnotify
='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5231 eval "$wx_cv_use_libnotify"
5233 if test x"$withstring" = xwithout; then
5234 if test $wxUSE_LIBNOTIFY = yes; then
5240 result=$wxUSE_LIBNOTIFY
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5244 $as_echo "$result" >&6; }
5248 defaultval=$wxUSE_ALL_FEATURES
5249 if test -z "$defaultval"; then
5250 if test x"$withstring" = xwithout; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5257 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5259 # Check whether --with-hildon was given.
5260 if test "${with_hildon+set}" = set; then :
5261 withval=$with_hildon;
5262 if test "$withval" = yes; then
5263 wx_cv_use_hildon='wxUSE_LIBHILDON
=yes'
5265 wx_cv_use_hildon='wxUSE_LIBHILDON
=no
'
5270 wx_cv_use_hildon='wxUSE_LIBHILDON
=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5275 eval "$wx_cv_use_hildon"
5277 if test x"$withstring" = xwithout; then
5278 if test $wxUSE_LIBHILDON = yes; then
5284 result=$wxUSE_LIBHILDON
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5288 $as_echo "$result" >&6; }
5292 defaultval=$wxUSE_ALL_FEATURES
5293 if test -z "$defaultval"; then
5294 if test x"$withstring" = xwithout; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-opengl" >&5
5301 $as_echo_n "checking
for --${withstring:-with}-opengl...
" >&6; }
5303 # Check whether --with-opengl was given.
5304 if test "${with_opengl+set}" = set; then :
5305 withval=$with_opengl;
5306 if test "$withval" = yes; then
5307 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5309 wx_cv_use_opengl='wxUSE_OPENGL=no'
5314 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5319 eval "$wx_cv_use_opengl"
5321 if test x
"$withstring" = xwithout
; then
5322 if test $wxUSE_OPENGL = yes; then
5328 result
=$wxUSE_OPENGL
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5332 $as_echo "$result" >&6; }
5339 defaultval
=$wxUSE_ALL_FEATURES
5340 if test -z "$defaultval"; then
5341 if test x
"$withstring" = xwithout
; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5348 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5350 # Check whether --with-dmalloc was given.
5351 if test "${with_dmalloc+set}" = set; then :
5352 withval
=$with_dmalloc;
5353 if test "$withval" = yes; then
5354 wx_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
5356 wx_cv_use_dmalloc
='wxUSE_DMALLOC=no'
5361 wx_cv_use_dmalloc
='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5366 eval "$wx_cv_use_dmalloc"
5368 if test x"$withstring" = xwithout; then
5369 if test $wxUSE_DMALLOC = yes; then
5375 result=$wxUSE_DMALLOC
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5379 $as_echo "$result" >&6; }
5383 defaultval=$wxUSE_ALL_FEATURES
5384 if test -z "$defaultval"; then
5385 if test x"$withstring" = xwithout; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5392 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5394 # Check whether --with-sdl was given.
5395 if test "${with_sdl+set}" = set; then :
5397 if test "$withval" = yes; then
5398 wx_cv_use_sdl='wxUSE_LIBSDL
=yes'
5400 wx_cv_use_sdl='wxUSE_LIBSDL
=no
'
5405 wx_cv_use_sdl='wxUSE_LIBSDL
=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5410 eval "$wx_cv_use_sdl"
5412 if test x"$withstring" = xwithout; then
5413 if test $wxUSE_LIBSDL = yes; then
5419 result=$wxUSE_LIBSDL
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5423 $as_echo "$result" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-regex" >&5
5427 $as_echo_n "checking
for --with-regex...
" >&6; }
5429 # Check whether --with-regex was given.
5430 if test "${with_regex+set}" = set; then :
5431 withval=$with_regex;
5432 if test "$withval" = yes; then
5433 wx_cv_use_regex='wxUSE_REGEX=yes'
5434 elif test "$withval" = no; then
5435 wx_cv_use_regex='wxUSE_REGEX=no'
5436 elif test "$withval" = sys; then
5437 wx_cv_use_regex='wxUSE_REGEX=sys'
5438 elif test "$withval" = builtin; then
5439 wx_cv_use_regex='wxUSE_REGEX=builtin'
5441 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5446 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5451 eval "$wx_cv_use_regex"
5453 if test "$wxUSE_REGEX" = yes; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5455 $as_echo "yes" >&6; }
5456 elif test "$wxUSE_REGEX" = no
; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5459 elif test "$wxUSE_REGEX" = sys
; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5461 $as_echo "system version" >&6; }
5462 elif test "$wxUSE_REGEX" = builtin; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5464 $as_echo "builtin version" >&6; }
5466 as_fn_error $?
"Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5471 $as_echo_n "checking for --with-zlib... " >&6; }
5473 # Check whether --with-zlib was given.
5474 if test "${with_zlib+set}" = set; then :
5476 if test "$withval" = yes; then
5477 wx_cv_use_zlib
='wxUSE_ZLIB=yes'
5478 elif test "$withval" = no
; then
5479 wx_cv_use_zlib
='wxUSE_ZLIB=no'
5480 elif test "$withval" = sys
; then
5481 wx_cv_use_zlib
='wxUSE_ZLIB=sys'
5482 elif test "$withval" = builtin; then
5483 wx_cv_use_zlib
='wxUSE_ZLIB=builtin'
5485 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5490 wx_cv_use_zlib
='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5495 eval "$wx_cv_use_zlib"
5497 if test "$wxUSE_ZLIB" = yes; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5499 $as_echo "yes" >&6; }
5500 elif test "$wxUSE_ZLIB" = no; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5503 elif test "$wxUSE_ZLIB" = sys; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5505 $as_echo "system version" >&6; }
5506 elif test "$wxUSE_ZLIB" = builtin; then
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5508 $as_echo "builtin version" >&6; }
5510 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5515 $as_echo_n "checking for --with-expat... " >&6; }
5517 # Check whether --with-expat was given.
5518 if test "${with_expat+set}" = set; then :
5519 withval=$with_expat;
5520 if test "$withval" = yes; then
5521 wx_cv_use_expat='wxUSE_EXPAT
=yes'
5522 elif test "$withval" = no; then
5523 wx_cv_use_expat='wxUSE_EXPAT
=no
'
5524 elif test "$withval" = sys; then
5525 wx_cv_use_expat='wxUSE_EXPAT
=sys
'
5526 elif test "$withval" = builtin; then
5527 wx_cv_use_expat='wxUSE_EXPAT
=builtin'
5529 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5534 wx_cv_use_expat='wxUSE_EXPAT
=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5539 eval "$wx_cv_use_expat"
5541 if test "$wxUSE_EXPAT" = yes; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5543 $as_echo "yes" >&6; }
5544 elif test "$wxUSE_EXPAT" = no; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5546 $as_echo "no
" >&6; }
5547 elif test "$wxUSE_EXPAT" = sys; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5549 $as_echo "system version
" >&6; }
5550 elif test "$wxUSE_EXPAT" = builtin; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5552 $as_echo "builtin version
" >&6; }
5554 as_fn_error $? "Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-macosx-sdk" >&5
5559 $as_echo_n "checking
for --with-macosx-sdk...
" >&6; }
5561 # Check whether --with-macosx-sdk was given.
5562 if test "${with_macosx_sdk+set}" = set; then :
5563 withval=$with_macosx_sdk;
5564 wxUSE_MACOSX_SDK=$withval
5565 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK
=$withval"
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_MACOSX_SDK" >&5
5570 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-macosx-version-min" >&5
5573 $as_echo_n "checking
for --with-macosx-version-min...
" >&6; }
5575 # Check whether --with-macosx-version-min was given.
5576 if test "${with_macosx_version_min+set}" = set; then :
5577 withval=$with_macosx_version_min;
5578 wxUSE_MACOSX_VERSION_MIN=$withval
5579 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN
=$withval"
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_MACOSX_VERSION_MIN" >&5
5584 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --enable-debug" >&5
5588 $as_echo_n "checking
for --enable-debug...
" >&6; }
5589 # Check whether --enable-debug was given.
5590 if test "${enable_debug+set}" = set; then :
5591 enableval=$enable_debug;
5592 if test "$enableval" = yes; then
5594 elif test "$enableval" = no; then
5596 elif test "$enableval" = max; then
5598 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5600 as_fn_error $? "Invalid
--enable-debug value
, must be
yes, no or max
" "$LINENO" 5
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${enable_debug-default}" >&5
5609 $as_echo "${enable_debug-default}" >&6; }
5611 case "$wxUSE_DEBUG" in
5613 DEFAULT_wxUSE_DEBUG_FLAG=yes
5614 DEFAULT_wxUSE_DEBUG_INFO=yes
5616 DEFAULT_wxUSE_OPTIMISE=no
5620 DEFAULT_wxUSE_DEBUG_FLAG=no
5621 DEFAULT_wxUSE_DEBUG_INFO=no
5625 DEFAULT_wxUSE_DEBUG_FLAG=yes
5626 DEFAULT_wxUSE_DEBUG_INFO=no
5631 enablestring=disable
5633 if test -z "$defaultval"; then
5634 if test x"$enablestring" = xdisable; then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_flag" >&5
5642 $as_echo_n "checking
for --${enablestring:-enable}-debug_flag...
" >&6; }
5643 # Check whether --enable-debug_flag was given.
5644 if test "${enable_debug_flag+set}" = set; then :
5645 enableval=$enable_debug_flag;
5646 if test "$enableval" = yes; then
5647 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5649 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5654 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5659 eval "$wx_cv_use_debug_flag"
5661 if test x
"$enablestring" = xdisable
; then
5662 if test $wxUSE_DEBUG_FLAG = no
; then
5668 result
=$wxUSE_DEBUG_FLAG
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5672 $as_echo "$result" >&6; }
5677 if test -z "$defaultval"; then
5678 if test x
"$enablestring" = xdisable
; then
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5686 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5687 # Check whether --enable-debug_info was given.
5688 if test "${enable_debug_info+set}" = set; then :
5689 enableval
=$enable_debug_info;
5690 if test "$enableval" = yes; then
5691 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
5693 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
5698 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5703 eval "$wx_cv_use_debug_info"
5705 if test x"$enablestring" = xdisable; then
5706 if test $wxUSE_DEBUG_INFO = no; then
5712 result=$wxUSE_DEBUG_INFO
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5716 $as_echo "$result" >&6; }
5723 if test -z "$defaultval"; then
5724 if test x"$enablestring" = xdisable; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5732 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5733 # Check whether --enable-debug_gdb was given.
5734 if test "${enable_debug_gdb+set}" = set; then :
5735 enableval=$enable_debug_gdb;
5736 if test "$enableval" = yes; then
5737 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
5739 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
5744 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5749 eval "$wx_cv_use_debug_gdb"
5751 if test x"$enablestring" = xdisable; then
5752 if test $wxUSE_DEBUG_GDB = no; then
5758 result=$wxUSE_DEBUG_GDB
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5762 $as_echo "$result" >&6; }
5767 if test -z "$defaultval"; then
5768 if test x"$enablestring" = xdisable; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_cntxt" >&5
5776 $as_echo_n "checking
for --${enablestring:-enable}-debug_cntxt...
" >&6; }
5777 # Check whether --enable-debug_cntxt was given.
5778 if test "${enable_debug_cntxt+set}" = set; then :
5779 enableval=$enable_debug_cntxt;
5780 if test "$enableval" = yes; then
5781 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5783 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5788 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5793 eval "$wx_cv_use_debug_cntxt"
5795 if test x
"$enablestring" = xdisable
; then
5796 if test $wxUSE_DEBUG_CONTEXT = no
; then
5802 result
=$wxUSE_DEBUG_CONTEXT
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5806 $as_echo "$result" >&6; }
5811 if test -z "$defaultval"; then
5812 if test x
"$enablestring" = xdisable
; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5820 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5821 # Check whether --enable-mem_tracing was given.
5822 if test "${enable_mem_tracing+set}" = set; then :
5823 enableval
=$enable_mem_tracing;
5824 if test "$enableval" = yes; then
5825 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
5827 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
5832 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5837 eval "$wx_cv_use_mem_tracing"
5839 if test x"$enablestring" = xdisable; then
5840 if test $wxUSE_MEM_TRACING = no; then
5846 result=$wxUSE_MEM_TRACING
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5850 $as_echo "$result" >&6; }
5855 enablestring=disable
5857 if test -z "$defaultval"; then
5858 if test x"$enablestring" = xdisable; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5866 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5867 # Check whether --enable-shared was given.
5868 if test "${enable_shared+set}" = set; then :
5869 enableval=$enable_shared;
5870 if test "$enableval" = yes; then
5871 wx_cv_use_shared='wxUSE_SHARED
=yes'
5873 wx_cv_use_shared='wxUSE_SHARED
=no
'
5878 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5883 eval "$wx_cv_use_shared"
5885 if test x"$enablestring" = xdisable; then
5886 if test $wxUSE_SHARED = no; then
5892 result=$wxUSE_SHARED
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5896 $as_echo "$result" >&6; }
5901 if test -z "$defaultval"; then
5902 if test x"$enablestring" = xdisable; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stl" >&5
5910 $as_echo_n "checking
for --${enablestring:-enable}-stl...
" >&6; }
5911 # Check whether --enable-stl was given.
5912 if test "${enable_stl+set}" = set; then :
5913 enableval=$enable_stl;
5914 if test "$enableval" = yes; then
5915 wx_cv_use_stl='wxUSE_STL=yes'
5917 wx_cv_use_stl='wxUSE_STL=no'
5922 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5927 eval "$wx_cv_use_stl"
5929 if test x
"$enablestring" = xdisable
; then
5930 if test $wxUSE_STL = no
; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5940 $as_echo "$result" >&6; }
5942 if test "$wxUSE_STL" = "yes"; then
5943 DEFAULT_wxUSE_STD_CONTAINERS
=yes
5944 DEFAULT_wxUSE_STD_IOSTREAM
=yes
5945 DEFAULT_wxUSE_STD_STRING
=yes
5950 if test -z "$defaultval"; then
5951 if test x
"$enablestring" = xdisable
; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5959 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5960 # Check whether --enable-std_containers was given.
5961 if test "${enable_std_containers+set}" = set; then :
5962 enableval
=$enable_std_containers;
5963 if test "$enableval" = yes; then
5964 wx_cv_use_std_containers
='wxUSE_STD_CONTAINERS=yes'
5966 wx_cv_use_std_containers
='wxUSE_STD_CONTAINERS=no'
5971 wx_cv_use_std_containers
='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5976 eval "$wx_cv_use_std_containers"
5978 if test x"$enablestring" = xdisable; then
5979 if test $wxUSE_STD_CONTAINERS = no; then
5985 result=$wxUSE_STD_CONTAINERS
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5989 $as_echo "$result" >&6; }
5994 if test -z "$defaultval"; then
5995 if test x"$enablestring" = xdisable; then
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6003 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6004 # Check whether --enable-std_iostreams was given.
6005 if test "${enable_std_iostreams+set}" = set; then :
6006 enableval=$enable_std_iostreams;
6007 if test "$enableval" = yes; then
6008 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
6010 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
6015 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6020 eval "$wx_cv_use_std_iostreams"
6022 if test x"$enablestring" = xdisable; then
6023 if test $wxUSE_STD_IOSTREAM = no; then
6029 result=$wxUSE_STD_IOSTREAM
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6033 $as_echo "$result" >&6; }
6038 if test -z "$defaultval"; then
6039 if test x"$enablestring" = xdisable; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string" >&5
6047 $as_echo_n "checking
for --${enablestring:-enable}-std_string...
" >&6; }
6048 # Check whether --enable-std_string was given.
6049 if test "${enable_std_string+set}" = set; then :
6050 enableval=$enable_std_string;
6051 if test "$enableval" = yes; then
6052 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6054 wx_cv_use_std_string='wxUSE_STD_STRING=no'
6059 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6064 eval "$wx_cv_use_std_string"
6066 if test x
"$enablestring" = xdisable
; then
6067 if test $wxUSE_STD_STRING = no
; then
6073 result
=$wxUSE_STD_STRING
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6077 $as_echo "$result" >&6; }
6082 if test -z "$defaultval"; then
6083 if test x
"$enablestring" = xdisable
; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6091 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6092 # Check whether --enable-std_string_conv_in_wxstring was given.
6093 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6094 enableval
=$enable_std_string_conv_in_wxstring;
6095 if test "$enableval" = yes; then
6096 wx_cv_use_std_string_conv_in_wxstring
='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6098 wx_cv_use_std_string_conv_in_wxstring
='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6103 wx_cv_use_std_string_conv_in_wxstring
='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6108 eval "$wx_cv_use_std_string_conv_in_wxstring"
6110 if test x"$enablestring" = xdisable; then
6111 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6117 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6121 $as_echo "$result" >&6; }
6124 enablestring=disable
6126 if test -z "$defaultval"; then
6127 if test x"$enablestring" = xdisable; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6135 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6136 # Check whether --enable-unicode was given.
6137 if test "${enable_unicode+set}" = set; then :
6138 enableval=$enable_unicode;
6139 if test "$enableval" = yes; then
6140 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
6142 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
6147 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6152 eval "$wx_cv_use_unicode"
6154 if test x"$enablestring" = xdisable; then
6155 if test $wxUSE_UNICODE = no; then
6161 result=$wxUSE_UNICODE
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6165 $as_echo "$result" >&6; }
6170 if test -z "$defaultval"; then
6171 if test x"$enablestring" = xdisable; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mslu" >&5
6179 $as_echo_n "checking
for --${enablestring:-enable}-mslu...
" >&6; }
6180 # Check whether --enable-mslu was given.
6181 if test "${enable_mslu+set}" = set; then :
6182 enableval=$enable_mslu;
6183 if test "$enableval" = yes; then
6184 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6186 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6191 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6196 eval "$wx_cv_use_mslu"
6198 if test x
"$enablestring" = xdisable
; then
6199 if test $wxUSE_UNICODE_MSLU = no
; then
6205 result
=$wxUSE_UNICODE_MSLU
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6209 $as_echo "$result" >&6; }
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6214 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6215 # Check whether --enable-utf8 was given.
6216 if test "${enable_utf8+set}" = set; then :
6217 enableval
=$enable_utf8;
6218 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
6222 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6227 eval "$wx_cv_use_utf8"
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6230 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6235 if test -z "$defaultval"; then
6236 if test x
"$enablestring" = xdisable
; then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6244 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6245 # Check whether --enable-utf8only was given.
6246 if test "${enable_utf8only+set}" = set; then :
6247 enableval
=$enable_utf8only;
6248 if test "$enableval" = yes; then
6249 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
6251 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
6256 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6261 eval "$wx_cv_use_utf8only"
6263 if test x"$enablestring" = xdisable; then
6264 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6270 result=$wxUSE_UNICODE_UTF8_LOCALE
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6274 $as_echo "$result" >&6; }
6279 if test -z "$defaultval"; then
6280 if test x"$enablestring" = xdisable; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6288 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6289 # Check whether --enable-extended_rtti was given.
6290 if test "${enable_extended_rtti+set}" = set; then :
6291 enableval=$enable_extended_rtti;
6292 if test "$enableval" = yes; then
6293 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
6295 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
6300 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6305 eval "$wx_cv_use_extended_rtti"
6307 if test x"$enablestring" = xdisable; then
6308 if test $wxUSE_EXTENDED_RTTI = no; then
6314 result=$wxUSE_EXTENDED_RTTI
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6318 $as_echo "$result" >&6; }
6320 if test "$USE_OS2" = 1; then
6321 DEFAULT_wxUSE_OMF=no
6325 if test -z "$defaultval"; then
6326 if test x"$enablestring" = xdisable; then
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-omf" >&5
6334 $as_echo_n "checking
for --${enablestring:-enable}-omf...
" >&6; }
6335 # Check whether --enable-omf was given.
6336 if test "${enable_omf+set}" = set; then :
6337 enableval=$enable_omf;
6338 if test "$enableval" = yes; then
6339 wx_cv_use_omf='wxUSE_OMF=yes'
6341 wx_cv_use_omf='wxUSE_OMF=no'
6346 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6351 eval "$wx_cv_use_omf"
6353 if test x
"$enablestring" = xdisable
; then
6354 if test $wxUSE_OMF = no
; then
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6364 $as_echo "$result" >&6; }
6369 enablestring
=disable
6371 if test -z "$defaultval"; then
6372 if test x
"$enablestring" = xdisable
; then
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6380 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6381 # Check whether --enable-optimise was given.
6382 if test "${enable_optimise+set}" = set; then :
6383 enableval
=$enable_optimise;
6384 if test "$enableval" = yes; then
6385 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
6387 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
6392 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6397 eval "$wx_cv_use_optimise"
6399 if test x"$enablestring" = xdisable; then
6400 if test $wxUSE_OPTIMISE = no; then
6406 result=$wxUSE_OPTIMISE
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6410 $as_echo "$result" >&6; }
6416 if test -z "$defaultval"; then
6417 if test x"$enablestring" = xdisable; then
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6425 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6426 # Check whether --enable-profile was given.
6427 if test "${enable_profile+set}" = set; then :
6428 enableval=$enable_profile;
6429 if test "$enableval" = yes; then
6430 wx_cv_use_profile='wxUSE_PROFILE
=yes'
6432 wx_cv_use_profile='wxUSE_PROFILE
=no
'
6437 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6442 eval "$wx_cv_use_profile"
6444 if test x"$enablestring" = xdisable; then
6445 if test $wxUSE_PROFILE = no; then
6451 result=$wxUSE_PROFILE
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6455 $as_echo "$result" >&6; }
6460 if test -z "$defaultval"; then
6461 if test x"$enablestring" = xdisable; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_rtti" >&5
6469 $as_echo_n "checking
for --${enablestring:-enable}-no_rtti...
" >&6; }
6470 # Check whether --enable-no_rtti was given.
6471 if test "${enable_no_rtti+set}" = set; then :
6472 enableval=$enable_no_rtti;
6473 if test "$enableval" = yes; then
6474 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6476 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6481 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6486 eval "$wx_cv_use_no_rtti"
6488 if test x
"$enablestring" = xdisable
; then
6489 if test $wxUSE_NO_RTTI = no
; then
6495 result
=$wxUSE_NO_RTTI
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6499 $as_echo "$result" >&6; }
6504 if test -z "$defaultval"; then
6505 if test x
"$enablestring" = xdisable
; then
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6513 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6514 # Check whether --enable-no_exceptions was given.
6515 if test "${enable_no_exceptions+set}" = set; then :
6516 enableval
=$enable_no_exceptions;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
6520 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
6525 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6530 eval "$wx_cv_use_no_exceptions"
6532 if test x"$enablestring" = xdisable; then
6533 if test $wxUSE_NO_EXCEPTIONS = no; then
6539 result=$wxUSE_NO_EXCEPTIONS
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6543 $as_echo "$result" >&6; }
6548 if test -z "$defaultval"; then
6549 if test x"$enablestring" = xdisable; then
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6557 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6558 # Check whether --enable-permissive was given.
6559 if test "${enable_permissive+set}" = set; then :
6560 enableval=$enable_permissive;
6561 if test "$enableval" = yes; then
6562 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
6564 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
6569 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6574 eval "$wx_cv_use_permissive"
6576 if test x"$enablestring" = xdisable; then
6577 if test $wxUSE_PERMISSIVE = no; then
6583 result=$wxUSE_PERMISSIVE
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6587 $as_echo "$result" >&6; }
6592 if test -z "$defaultval"; then
6593 if test x"$enablestring" = xdisable; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_deps" >&5
6601 $as_echo_n "checking
for --${enablestring:-enable}-no_deps...
" >&6; }
6602 # Check whether --enable-no_deps was given.
6603 if test "${enable_no_deps+set}" = set; then :
6604 enableval=$enable_no_deps;
6605 if test "$enableval" = yes; then
6606 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6608 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6613 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6618 eval "$wx_cv_use_no_deps"
6620 if test x
"$enablestring" = xdisable
; then
6621 if test $wxUSE_NO_DEPS = no
; then
6627 result
=$wxUSE_NO_DEPS
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6631 $as_echo "$result" >&6; }
6634 enablestring
=disable
6636 if test -z "$defaultval"; then
6637 if test x
"$enablestring" = xdisable
; then
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6645 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6646 # Check whether --enable-vararg_macros was given.
6647 if test "${enable_vararg_macros+set}" = set; then :
6648 enableval
=$enable_vararg_macros;
6649 if test "$enableval" = yes; then
6650 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
6652 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
6657 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6662 eval "$wx_cv_use_vararg_macros"
6664 if test x"$enablestring" = xdisable; then
6665 if test $wxUSE_VARARG_MACROS = no; then
6671 result=$wxUSE_VARARG_MACROS
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6675 $as_echo "$result" >&6; }
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6681 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6682 # Check whether --enable-universal_binary was given.
6683 if test "${enable_universal_binary+set}" = set; then :
6684 enableval=$enable_universal_binary;
6685 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6689 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6694 eval "$wx_cv_use_universal_binary"
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6697 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6702 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6703 # Check whether --enable-macosx_arch was given.
6704 if test "${enable_macosx_arch+set}" = set; then :
6705 enableval=$enable_macosx_arch;
6706 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6710 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH
='$DEFAULT_wxUSE_MAC_ARCH
6715 eval "$wx_cv_use_macosx_arch"
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6718 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6724 if test -z "$defaultval"; then
6725 if test x"$enablestring" = xdisable; then
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6733 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6734 # Check whether --enable-compat26 was given.
6735 if test "${enable_compat26+set}" = set; then :
6736 enableval=$enable_compat26;
6737 if test "$enableval" = yes; then
6738 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
6740 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
6745 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6750 eval "$wx_cv_use_compat26"
6752 if test x"$enablestring" = xdisable; then
6753 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6759 result=$WXWIN_COMPATIBILITY_2_6
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6763 $as_echo "$result" >&6; }
6766 enablestring=disable
6768 if test -z "$defaultval"; then
6769 if test x"$enablestring" = xdisable; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-compat28" >&5
6777 $as_echo_n "checking
for --${enablestring:-enable}-compat28...
" >&6; }
6778 # Check whether --enable-compat28 was given.
6779 if test "${enable_compat28+set}" = set; then :
6780 enableval=$enable_compat28;
6781 if test "$enableval" = yes; then
6782 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6784 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6789 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6794 eval "$wx_cv_use_compat28"
6796 if test x
"$enablestring" = xdisable
; then
6797 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
6803 result
=$WXWIN_COMPATIBILITY_2_8
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6807 $as_echo "$result" >&6; }
6811 enablestring
=disable
6813 if test -z "$defaultval"; then
6814 if test x
"$enablestring" = xdisable
; then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6822 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6823 # Check whether --enable-rpath was given.
6824 if test "${enable_rpath+set}" = set; then :
6825 enableval
=$enable_rpath;
6826 if test "$enableval" = yes; then
6827 wx_cv_use_rpath
='wxUSE_RPATH=yes'
6829 wx_cv_use_rpath
='wxUSE_RPATH=no'
6834 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6839 eval "$wx_cv_use_rpath"
6841 if test x"$enablestring" = xdisable; then
6842 if test $wxUSE_RPATH = no; then
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6852 $as_echo "$result" >&6; }
6858 if test -z "$defaultval"; then
6859 if test x"$enablestring" = xdisable; then
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6867 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6868 # Check whether --enable-objc_uniquifying was given.
6869 if test "${enable_objc_uniquifying+set}" = set; then :
6870 enableval=$enable_objc_uniquifying;
6871 if test "$enableval" = yes; then
6872 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
6874 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
6879 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6884 eval "$wx_cv_use_objc_uniquifying"
6886 if test x"$enablestring" = xdisable; then
6887 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6893 result=$wxUSE_OBJC_UNIQUIFYING
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6897 $as_echo "$result" >&6; }
6901 enablestring=disable
6903 if test -z "$defaultval"; then
6904 if test x"$enablestring" = xdisable; then
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-visibility" >&5
6912 $as_echo_n "checking
for --${enablestring:-enable}-visibility...
" >&6; }
6913 # Check whether --enable-visibility was given.
6914 if test "${enable_visibility+set}" = set; then :
6915 enableval=$enable_visibility;
6916 if test "$enableval" = yes; then
6917 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6919 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6924 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6929 eval "$wx_cv_use_visibility"
6931 if test x
"$enablestring" = xdisable
; then
6932 if test $wxUSE_VISIBILITY = no
; then
6938 result
=$wxUSE_VISIBILITY
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6942 $as_echo "$result" >&6; }
6945 enablestring
=disable
6947 if test -z "$defaultval"; then
6948 if test x
"$enablestring" = xdisable
; then
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6956 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6957 # Check whether --enable-tls was given.
6958 if test "${enable_tls+set}" = set; then :
6959 enableval
=$enable_tls;
6960 if test "$enableval" = yes; then
6961 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
6963 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
6968 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6973 eval "$wx_cv_use_tls"
6975 if test x"$enablestring" = xdisable; then
6976 if test $wxUSE_COMPILER_TLS = no; then
6982 result=$wxUSE_COMPILER_TLS
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6986 $as_echo "$result" >&6; }
6992 defaultval=$wxUSE_ALL_FEATURES
6993 if test -z "$defaultval"; then
6994 if test x"$enablestring" = xdisable; then
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7002 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7003 # Check whether --enable-intl was given.
7004 if test "${enable_intl+set}" = set; then :
7005 enableval=$enable_intl;
7006 if test "$enableval" = yes; then
7007 wx_cv_use_intl='wxUSE_INTL
=yes'
7009 wx_cv_use_intl='wxUSE_INTL
=no
'
7014 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7019 eval "$wx_cv_use_intl"
7021 if test x"$enablestring" = xdisable; then
7022 if test $wxUSE_INTL = no; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7032 $as_echo "$result" >&6; }
7036 defaultval=$wxUSE_ALL_FEATURES
7037 if test -z "$defaultval"; then
7038 if test x"$enablestring" = xdisable; then
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-xlocale" >&5
7046 $as_echo_n "checking
for --${enablestring:-enable}-xlocale...
" >&6; }
7047 # Check whether --enable-xlocale was given.
7048 if test "${enable_xlocale+set}" = set; then :
7049 enableval=$enable_xlocale;
7050 if test "$enableval" = yes; then
7051 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7053 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7058 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7063 eval "$wx_cv_use_xlocale"
7065 if test x
"$enablestring" = xdisable
; then
7066 if test $wxUSE_XLOCALE = no
; then
7072 result
=$wxUSE_XLOCALE
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7076 $as_echo "$result" >&6; }
7080 defaultval
=$wxUSE_ALL_FEATURES
7081 if test -z "$defaultval"; then
7082 if test x
"$enablestring" = xdisable
; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7090 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7091 # Check whether --enable-config was given.
7092 if test "${enable_config+set}" = set; then :
7093 enableval
=$enable_config;
7094 if test "$enableval" = yes; then
7095 wx_cv_use_config
='wxUSE_CONFIG=yes'
7097 wx_cv_use_config
='wxUSE_CONFIG=no'
7102 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7107 eval "$wx_cv_use_config"
7109 if test x"$enablestring" = xdisable; then
7110 if test $wxUSE_CONFIG = no; then
7116 result=$wxUSE_CONFIG
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7120 $as_echo "$result" >&6; }
7125 defaultval=$wxUSE_ALL_FEATURES
7126 if test -z "$defaultval"; then
7127 if test x"$enablestring" = xdisable; then
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7135 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7136 # Check whether --enable-protocols was given.
7137 if test "${enable_protocols+set}" = set; then :
7138 enableval=$enable_protocols;
7139 if test "$enableval" = yes; then
7140 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
7142 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
7147 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7152 eval "$wx_cv_use_protocols"
7154 if test x"$enablestring" = xdisable; then
7155 if test $wxUSE_PROTOCOL = no; then
7161 result=$wxUSE_PROTOCOL
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7165 $as_echo "$result" >&6; }
7169 defaultval=$wxUSE_ALL_FEATURES
7170 if test -z "$defaultval"; then
7171 if test x"$enablestring" = xdisable; then
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ftp" >&5
7179 $as_echo_n "checking
for --${enablestring:-enable}-ftp...
" >&6; }
7180 # Check whether --enable-ftp was given.
7181 if test "${enable_ftp+set}" = set; then :
7182 enableval=$enable_ftp;
7183 if test "$enableval" = yes; then
7184 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7186 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7191 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7196 eval "$wx_cv_use_ftp"
7198 if test x
"$enablestring" = xdisable
; then
7199 if test $wxUSE_PROTOCOL_FTP = no
; then
7205 result
=$wxUSE_PROTOCOL_FTP
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7209 $as_echo "$result" >&6; }
7213 defaultval
=$wxUSE_ALL_FEATURES
7214 if test -z "$defaultval"; then
7215 if test x
"$enablestring" = xdisable
; then
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7223 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7224 # Check whether --enable-http was given.
7225 if test "${enable_http+set}" = set; then :
7226 enableval
=$enable_http;
7227 if test "$enableval" = yes; then
7228 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
7230 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
7235 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7240 eval "$wx_cv_use_http"
7242 if test x"$enablestring" = xdisable; then
7243 if test $wxUSE_PROTOCOL_HTTP = no; then
7249 result=$wxUSE_PROTOCOL_HTTP
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7253 $as_echo "$result" >&6; }
7257 defaultval=$wxUSE_ALL_FEATURES
7258 if test -z "$defaultval"; then
7259 if test x"$enablestring" = xdisable; then
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7267 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7268 # Check whether --enable-fileproto was given.
7269 if test "${enable_fileproto+set}" = set; then :
7270 enableval=$enable_fileproto;
7271 if test "$enableval" = yes; then
7272 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
7274 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
7279 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7284 eval "$wx_cv_use_fileproto"
7286 if test x"$enablestring" = xdisable; then
7287 if test $wxUSE_PROTOCOL_FILE = no; then
7293 result=$wxUSE_PROTOCOL_FILE
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7297 $as_echo "$result" >&6; }
7301 defaultval=$wxUSE_ALL_FEATURES
7302 if test -z "$defaultval"; then
7303 if test x"$enablestring" = xdisable; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sockets" >&5
7311 $as_echo_n "checking
for --${enablestring:-enable}-sockets...
" >&6; }
7312 # Check whether --enable-sockets was given.
7313 if test "${enable_sockets+set}" = set; then :
7314 enableval=$enable_sockets;
7315 if test "$enableval" = yes; then
7316 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7318 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7323 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7328 eval "$wx_cv_use_sockets"
7330 if test x
"$enablestring" = xdisable
; then
7331 if test $wxUSE_SOCKETS = no
; then
7337 result
=$wxUSE_SOCKETS
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7341 $as_echo "$result" >&6; }
7345 defaultval
=$wxUSE_ALL_FEATURES
7346 if test -z "$defaultval"; then
7347 if test x
"$enablestring" = xdisable
; then
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7355 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7356 # Check whether --enable-ipv6 was given.
7357 if test "${enable_ipv6+set}" = set; then :
7358 enableval
=$enable_ipv6;
7359 if test "$enableval" = yes; then
7360 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
7362 wx_cv_use_ipv6
='wxUSE_IPV6=no'
7367 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7372 eval "$wx_cv_use_ipv6"
7374 if test x"$enablestring" = xdisable; then
7375 if test $wxUSE_IPV6 = no; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7385 $as_echo "$result" >&6; }
7389 defaultval=$wxUSE_ALL_FEATURES
7390 if test -z "$defaultval"; then
7391 if test x"$enablestring" = xdisable; then
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7399 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7400 # Check whether --enable-ole was given.
7401 if test "${enable_ole+set}" = set; then :
7402 enableval=$enable_ole;
7403 if test "$enableval" = yes; then
7404 wx_cv_use_ole='wxUSE_OLE
=yes'
7406 wx_cv_use_ole='wxUSE_OLE
=no
'
7411 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7416 eval "$wx_cv_use_ole"
7418 if test x"$enablestring" = xdisable; then
7419 if test $wxUSE_OLE = no; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7429 $as_echo "$result" >&6; }
7433 defaultval=$wxUSE_ALL_FEATURES
7434 if test -z "$defaultval"; then
7435 if test x"$enablestring" = xdisable; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dataobj" >&5
7443 $as_echo_n "checking
for --${enablestring:-enable}-dataobj...
" >&6; }
7444 # Check whether --enable-dataobj was given.
7445 if test "${enable_dataobj+set}" = set; then :
7446 enableval=$enable_dataobj;
7447 if test "$enableval" = yes; then
7448 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7450 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7455 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7460 eval "$wx_cv_use_dataobj"
7462 if test x
"$enablestring" = xdisable
; then
7463 if test $wxUSE_DATAOBJ = no
; then
7469 result
=$wxUSE_DATAOBJ
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7473 $as_echo "$result" >&6; }
7478 defaultval
=$wxUSE_ALL_FEATURES
7479 if test -z "$defaultval"; then
7480 if test x
"$enablestring" = xdisable
; then
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7488 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7489 # Check whether --enable-ipc was given.
7490 if test "${enable_ipc+set}" = set; then :
7491 enableval
=$enable_ipc;
7492 if test "$enableval" = yes; then
7493 wx_cv_use_ipc
='wxUSE_IPC=yes'
7495 wx_cv_use_ipc
='wxUSE_IPC=no'
7500 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7505 eval "$wx_cv_use_ipc"
7507 if test x"$enablestring" = xdisable; then
7508 if test $wxUSE_IPC = no; then
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7518 $as_echo "$result" >&6; }
7523 defaultval=$wxUSE_ALL_FEATURES
7524 if test -z "$defaultval"; then
7525 if test x"$enablestring" = xdisable; then
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7533 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7534 # Check whether --enable-baseevtloop was given.
7535 if test "${enable_baseevtloop+set}" = set; then :
7536 enableval=$enable_baseevtloop;
7537 if test "$enableval" = yes; then
7538 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
7540 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
7545 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7550 eval "$wx_cv_use_baseevtloop"
7552 if test x"$enablestring" = xdisable; then
7553 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7559 result=$wxUSE_CONSOLE_EVENTLOOP
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7563 $as_echo "$result" >&6; }
7567 defaultval=$wxUSE_ALL_FEATURES
7568 if test -z "$defaultval"; then
7569 if test x"$enablestring" = xdisable; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-epollloop" >&5
7577 $as_echo_n "checking
for --${enablestring:-enable}-epollloop...
" >&6; }
7578 # Check whether --enable-epollloop was given.
7579 if test "${enable_epollloop+set}" = set; then :
7580 enableval=$enable_epollloop;
7581 if test "$enableval" = yes; then
7582 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7584 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7589 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7594 eval "$wx_cv_use_epollloop"
7596 if test x
"$enablestring" = xdisable
; then
7597 if test $wxUSE_EPOLL_DISPATCHER = no
; then
7603 result
=$wxUSE_EPOLL_DISPATCHER
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7607 $as_echo "$result" >&6; }
7611 defaultval
=$wxUSE_ALL_FEATURES
7612 if test -z "$defaultval"; then
7613 if test x
"$enablestring" = xdisable
; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7621 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7622 # Check whether --enable-selectloop was given.
7623 if test "${enable_selectloop+set}" = set; then :
7624 enableval
=$enable_selectloop;
7625 if test "$enableval" = yes; then
7626 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
7628 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
7633 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7638 eval "$wx_cv_use_selectloop"
7640 if test x"$enablestring" = xdisable; then
7641 if test $wxUSE_SELECT_DISPATCHER = no; then
7647 result=$wxUSE_SELECT_DISPATCHER
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7651 $as_echo "$result" >&6; }
7656 defaultval=$wxUSE_ALL_FEATURES
7657 if test -z "$defaultval"; then
7658 if test x"$enablestring" = xdisable; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7666 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7667 # Check whether --enable-any was given.
7668 if test "${enable_any+set}" = set; then :
7669 enableval=$enable_any;
7670 if test "$enableval" = yes; then
7671 wx_cv_use_any='wxUSE_ANY
=yes'
7673 wx_cv_use_any='wxUSE_ANY
=no
'
7678 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7683 eval "$wx_cv_use_any"
7685 if test x"$enablestring" = xdisable; then
7686 if test $wxUSE_ANY = no; then
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7696 $as_echo "$result" >&6; }
7700 defaultval=$wxUSE_ALL_FEATURES
7701 if test -z "$defaultval"; then
7702 if test x"$enablestring" = xdisable; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-apple_ieee" >&5
7710 $as_echo_n "checking
for --${enablestring:-enable}-apple_ieee...
" >&6; }
7711 # Check whether --enable-apple_ieee was given.
7712 if test "${enable_apple_ieee+set}" = set; then :
7713 enableval=$enable_apple_ieee;
7714 if test "$enableval" = yes; then
7715 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7717 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7722 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7727 eval "$wx_cv_use_apple_ieee"
7729 if test x
"$enablestring" = xdisable
; then
7730 if test $wxUSE_APPLE_IEEE = no
; then
7736 result
=$wxUSE_APPLE_IEEE
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7740 $as_echo "$result" >&6; }
7744 defaultval
=$wxUSE_ALL_FEATURES
7745 if test -z "$defaultval"; then
7746 if test x
"$enablestring" = xdisable
; then
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7754 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7755 # Check whether --enable-arcstream was given.
7756 if test "${enable_arcstream+set}" = set; then :
7757 enableval
=$enable_arcstream;
7758 if test "$enableval" = yes; then
7759 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
7761 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
7766 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7771 eval "$wx_cv_use_arcstream"
7773 if test x"$enablestring" = xdisable; then
7774 if test $wxUSE_ARCHIVE_STREAMS = no; then
7780 result=$wxUSE_ARCHIVE_STREAMS
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7784 $as_echo "$result" >&6; }
7788 defaultval=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x"$enablestring" = xdisable; then
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7798 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7799 # Check whether --enable-base64 was given.
7800 if test "${enable_base64+set}" = set; then :
7801 enableval=$enable_base64;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_base64='wxUSE_BASE64
=yes'
7805 wx_cv_use_base64='wxUSE_BASE64
=no
'
7810 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7815 eval "$wx_cv_use_base64"
7817 if test x"$enablestring" = xdisable; then
7818 if test $wxUSE_BASE64 = no; then
7824 result=$wxUSE_BASE64
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7828 $as_echo "$result" >&6; }
7832 defaultval=$wxUSE_ALL_FEATURES
7833 if test -z "$defaultval"; then
7834 if test x"$enablestring" = xdisable; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-backtrace" >&5
7842 $as_echo_n "checking
for --${enablestring:-enable}-backtrace...
" >&6; }
7843 # Check whether --enable-backtrace was given.
7844 if test "${enable_backtrace+set}" = set; then :
7845 enableval=$enable_backtrace;
7846 if test "$enableval" = yes; then
7847 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7849 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7854 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7859 eval "$wx_cv_use_backtrace"
7861 if test x
"$enablestring" = xdisable
; then
7862 if test $wxUSE_STACKWALKER = no
; then
7868 result
=$wxUSE_STACKWALKER
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7872 $as_echo "$result" >&6; }
7876 defaultval
=$wxUSE_ALL_FEATURES
7877 if test -z "$defaultval"; then
7878 if test x
"$enablestring" = xdisable
; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7886 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7887 # Check whether --enable-catch_segvs was given.
7888 if test "${enable_catch_segvs+set}" = set; then :
7889 enableval
=$enable_catch_segvs;
7890 if test "$enableval" = yes; then
7891 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
7893 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
7898 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7903 eval "$wx_cv_use_catch_segvs"
7905 if test x"$enablestring" = xdisable; then
7906 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7912 result=$wxUSE_ON_FATAL_EXCEPTION
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7916 $as_echo "$result" >&6; }
7920 defaultval=$wxUSE_ALL_FEATURES
7921 if test -z "$defaultval"; then
7922 if test x"$enablestring" = xdisable; then
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7930 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7931 # Check whether --enable-cmdline was given.
7932 if test "${enable_cmdline+set}" = set; then :
7933 enableval=$enable_cmdline;
7934 if test "$enableval" = yes; then
7935 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
7937 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
7942 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7947 eval "$wx_cv_use_cmdline"
7949 if test x"$enablestring" = xdisable; then
7950 if test $wxUSE_CMDLINE_PARSER = no; then
7956 result=$wxUSE_CMDLINE_PARSER
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7960 $as_echo "$result" >&6; }
7964 defaultval=$wxUSE_ALL_FEATURES
7965 if test -z "$defaultval"; then
7966 if test x"$enablestring" = xdisable; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datetime" >&5
7974 $as_echo_n "checking
for --${enablestring:-enable}-datetime...
" >&6; }
7975 # Check whether --enable-datetime was given.
7976 if test "${enable_datetime+set}" = set; then :
7977 enableval=$enable_datetime;
7978 if test "$enableval" = yes; then
7979 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7981 wx_cv_use_datetime='wxUSE_DATETIME=no'
7986 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7991 eval "$wx_cv_use_datetime"
7993 if test x
"$enablestring" = xdisable
; then
7994 if test $wxUSE_DATETIME = no
; then
8000 result
=$wxUSE_DATETIME
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8004 $as_echo "$result" >&6; }
8008 defaultval
=$wxUSE_ALL_FEATURES
8009 if test -z "$defaultval"; then
8010 if test x
"$enablestring" = xdisable
; then
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8018 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8019 # Check whether --enable-debugreport was given.
8020 if test "${enable_debugreport+set}" = set; then :
8021 enableval
=$enable_debugreport;
8022 if test "$enableval" = yes; then
8023 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
8025 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
8030 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8035 eval "$wx_cv_use_debugreport"
8037 if test x"$enablestring" = xdisable; then
8038 if test $wxUSE_DEBUGREPORT = no; then
8044 result=$wxUSE_DEBUGREPORT
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8048 $as_echo "$result" >&6; }
8052 defaultval=$wxUSE_ALL_FEATURES
8053 if test -z "$defaultval"; then
8054 if test x"$enablestring" = xdisable; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8062 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8063 # Check whether --enable-dialupman was given.
8064 if test "${enable_dialupman+set}" = set; then :
8065 enableval=$enable_dialupman;
8066 if test "$enableval" = yes; then
8067 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
8069 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
8074 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8079 eval "$wx_cv_use_dialupman"
8081 if test x"$enablestring" = xdisable; then
8082 if test $wxUSE_DIALUP_MANAGER = no; then
8088 result=$wxUSE_DIALUP_MANAGER
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8092 $as_echo "$result" >&6; }
8096 defaultval=$wxUSE_ALL_FEATURES
8097 if test -z "$defaultval"; then
8098 if test x"$enablestring" = xdisable; then
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynlib" >&5
8106 $as_echo_n "checking
for --${enablestring:-enable}-dynlib...
" >&6; }
8107 # Check whether --enable-dynlib was given.
8108 if test "${enable_dynlib+set}" = set; then :
8109 enableval=$enable_dynlib;
8110 if test "$enableval" = yes; then
8111 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8113 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8118 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8123 eval "$wx_cv_use_dynlib"
8125 if test x
"$enablestring" = xdisable
; then
8126 if test $wxUSE_DYNLIB_CLASS = no
; then
8132 result
=$wxUSE_DYNLIB_CLASS
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8136 $as_echo "$result" >&6; }
8140 defaultval
=$wxUSE_ALL_FEATURES
8141 if test -z "$defaultval"; then
8142 if test x
"$enablestring" = xdisable
; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8150 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8151 # Check whether --enable-dynamicloader was given.
8152 if test "${enable_dynamicloader+set}" = set; then :
8153 enableval
=$enable_dynamicloader;
8154 if test "$enableval" = yes; then
8155 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
8157 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
8162 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8167 eval "$wx_cv_use_dynamicloader"
8169 if test x"$enablestring" = xdisable; then
8170 if test $wxUSE_DYNAMIC_LOADER = no; then
8176 result=$wxUSE_DYNAMIC_LOADER
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8180 $as_echo "$result" >&6; }
8184 defaultval=$wxUSE_ALL_FEATURES
8185 if test -z "$defaultval"; then
8186 if test x"$enablestring" = xdisable; then
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8194 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8195 # Check whether --enable-exceptions was given.
8196 if test "${enable_exceptions+set}" = set; then :
8197 enableval=$enable_exceptions;
8198 if test "$enableval" = yes; then
8199 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
8201 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
8206 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8211 eval "$wx_cv_use_exceptions"
8213 if test x"$enablestring" = xdisable; then
8214 if test $wxUSE_EXCEPTIONS = no; then
8220 result=$wxUSE_EXCEPTIONS
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8224 $as_echo "$result" >&6; }
8228 defaultval=$wxUSE_ALL_FEATURES
8229 if test -z "$defaultval"; then
8230 if test x"$enablestring" = xdisable; then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ffile" >&5
8238 $as_echo_n "checking
for --${enablestring:-enable}-ffile...
" >&6; }
8239 # Check whether --enable-ffile was given.
8240 if test "${enable_ffile+set}" = set; then :
8241 enableval=$enable_ffile;
8242 if test "$enableval" = yes; then
8243 wx_cv_use_ffile='wxUSE_FFILE=yes'
8245 wx_cv_use_ffile='wxUSE_FFILE=no'
8250 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8255 eval "$wx_cv_use_ffile"
8257 if test x
"$enablestring" = xdisable
; then
8258 if test $wxUSE_FFILE = no
; then
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8268 $as_echo "$result" >&6; }
8272 defaultval
=$wxUSE_ALL_FEATURES
8273 if test -z "$defaultval"; then
8274 if test x
"$enablestring" = xdisable
; then
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8282 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8283 # Check whether --enable-file was given.
8284 if test "${enable_file+set}" = set; then :
8285 enableval
=$enable_file;
8286 if test "$enableval" = yes; then
8287 wx_cv_use_file
='wxUSE_FILE=yes'
8289 wx_cv_use_file
='wxUSE_FILE=no'
8294 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8299 eval "$wx_cv_use_file"
8301 if test x"$enablestring" = xdisable; then
8302 if test $wxUSE_FILE = no; then
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8312 $as_echo "$result" >&6; }
8316 defaultval=$wxUSE_ALL_FEATURES
8317 if test -z "$defaultval"; then
8318 if test x"$enablestring" = xdisable; then
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8326 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8327 # Check whether --enable-filehistory was given.
8328 if test "${enable_filehistory+set}" = set; then :
8329 enableval=$enable_filehistory;
8330 if test "$enableval" = yes; then
8331 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=yes'
8333 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=no
'
8338 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8343 eval "$wx_cv_use_filehistory"
8345 if test x"$enablestring" = xdisable; then
8346 if test $wxUSE_FILE_HISTORY = no; then
8352 result=$wxUSE_FILE_HISTORY
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8356 $as_echo "$result" >&6; }
8360 defaultval=$wxUSE_ALL_FEATURES
8361 if test -z "$defaultval"; then
8362 if test x"$enablestring" = xdisable; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filesystem" >&5
8370 $as_echo_n "checking
for --${enablestring:-enable}-filesystem...
" >&6; }
8371 # Check whether --enable-filesystem was given.
8372 if test "${enable_filesystem+set}" = set; then :
8373 enableval=$enable_filesystem;
8374 if test "$enableval" = yes; then
8375 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8377 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8382 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8387 eval "$wx_cv_use_filesystem"
8389 if test x
"$enablestring" = xdisable
; then
8390 if test $wxUSE_FILESYSTEM = no
; then
8396 result
=$wxUSE_FILESYSTEM
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8400 $as_echo "$result" >&6; }
8404 defaultval
=$wxUSE_ALL_FEATURES
8405 if test -z "$defaultval"; then
8406 if test x
"$enablestring" = xdisable
; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8414 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8415 # Check whether --enable-fontenum was given.
8416 if test "${enable_fontenum+set}" = set; then :
8417 enableval
=$enable_fontenum;
8418 if test "$enableval" = yes; then
8419 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
8421 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
8426 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8431 eval "$wx_cv_use_fontenum"
8433 if test x"$enablestring" = xdisable; then
8434 if test $wxUSE_FONTENUM = no; then
8440 result=$wxUSE_FONTENUM
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8444 $as_echo "$result" >&6; }
8448 defaultval=$wxUSE_ALL_FEATURES
8449 if test -z "$defaultval"; then
8450 if test x"$enablestring" = xdisable; then
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8458 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8459 # Check whether --enable-fontmap was given.
8460 if test "${enable_fontmap+set}" = set; then :
8461 enableval=$enable_fontmap;
8462 if test "$enableval" = yes; then
8463 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
8465 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
8470 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8475 eval "$wx_cv_use_fontmap"
8477 if test x"$enablestring" = xdisable; then
8478 if test $wxUSE_FONTMAP = no; then
8484 result=$wxUSE_FONTMAP
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8488 $as_echo "$result" >&6; }
8492 defaultval=$wxUSE_ALL_FEATURES
8493 if test -z "$defaultval"; then
8494 if test x"$enablestring" = xdisable; then
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_archive" >&5
8502 $as_echo_n "checking
for --${enablestring:-enable}-fs_archive...
" >&6; }
8503 # Check whether --enable-fs_archive was given.
8504 if test "${enable_fs_archive+set}" = set; then :
8505 enableval=$enable_fs_archive;
8506 if test "$enableval" = yes; then
8507 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8509 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8514 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8519 eval "$wx_cv_use_fs_archive"
8521 if test x
"$enablestring" = xdisable
; then
8522 if test $wxUSE_FS_ARCHIVE = no
; then
8528 result
=$wxUSE_FS_ARCHIVE
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8532 $as_echo "$result" >&6; }
8536 defaultval
=$wxUSE_ALL_FEATURES
8537 if test -z "$defaultval"; then
8538 if test x
"$enablestring" = xdisable
; then
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8546 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8547 # Check whether --enable-fs_inet was given.
8548 if test "${enable_fs_inet+set}" = set; then :
8549 enableval
=$enable_fs_inet;
8550 if test "$enableval" = yes; then
8551 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
8553 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
8558 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8563 eval "$wx_cv_use_fs_inet"
8565 if test x"$enablestring" = xdisable; then
8566 if test $wxUSE_FS_INET = no; then
8572 result=$wxUSE_FS_INET
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8576 $as_echo "$result" >&6; }
8580 defaultval=$wxUSE_ALL_FEATURES
8581 if test -z "$defaultval"; then
8582 if test x"$enablestring" = xdisable; then
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8590 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8591 # Check whether --enable-fs_zip was given.
8592 if test "${enable_fs_zip+set}" = set; then :
8593 enableval=$enable_fs_zip;
8594 if test "$enableval" = yes; then
8595 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
8597 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
8602 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8607 eval "$wx_cv_use_fs_zip"
8609 if test x"$enablestring" = xdisable; then
8610 if test $wxUSE_FS_ZIP = no; then
8616 result=$wxUSE_FS_ZIP
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8620 $as_echo "$result" >&6; }
8624 defaultval=$wxUSE_ALL_FEATURES
8625 if test -z "$defaultval"; then
8626 if test x"$enablestring" = xdisable; then
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fsvolume" >&5
8634 $as_echo_n "checking
for --${enablestring:-enable}-fsvolume...
" >&6; }
8635 # Check whether --enable-fsvolume was given.
8636 if test "${enable_fsvolume+set}" = set; then :
8637 enableval=$enable_fsvolume;
8638 if test "$enableval" = yes; then
8639 wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes'
8641 wx_cv_use_fsvolume='wxUSE_FSVOLUME=no'
8646 wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8651 eval "$wx_cv_use_fsvolume"
8653 if test x
"$enablestring" = xdisable
; then
8654 if test $wxUSE_FSVOLUME = no
; then
8660 result
=$wxUSE_FSVOLUME
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8664 $as_echo "$result" >&6; }
8668 defaultval
=$wxUSE_ALL_FEATURES
8669 if test -z "$defaultval"; then
8670 if test x
"$enablestring" = xdisable
; then
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8678 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8679 # Check whether --enable-fswatcher was given.
8680 if test "${enable_fswatcher+set}" = set; then :
8681 enableval
=$enable_fswatcher;
8682 if test "$enableval" = yes; then
8683 wx_cv_use_fswatcher
='wxUSE_FSWATCHER=yes'
8685 wx_cv_use_fswatcher
='wxUSE_FSWATCHER=no'
8690 wx_cv_use_fswatcher
='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8695 eval "$wx_cv_use_fswatcher"
8697 if test x"$enablestring" = xdisable; then
8698 if test $wxUSE_FSWATCHER = no; then
8704 result=$wxUSE_FSWATCHER
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8708 $as_echo "$result" >&6; }
8712 defaultval=$wxUSE_ALL_FEATURES
8713 if test -z "$defaultval"; then
8714 if test x"$enablestring" = xdisable; then
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8722 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8723 # Check whether --enable-geometry was given.
8724 if test "${enable_geometry+set}" = set; then :
8725 enableval=$enable_geometry;
8726 if test "$enableval" = yes; then
8727 wx_cv_use_geometry='wxUSE_GEOMETRY
=yes'
8729 wx_cv_use_geometry='wxUSE_GEOMETRY
=no
'
8734 wx_cv_use_geometry='wxUSE_GEOMETRY
=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8739 eval "$wx_cv_use_geometry"
8741 if test x"$enablestring" = xdisable; then
8742 if test $wxUSE_GEOMETRY = no; then
8748 result=$wxUSE_GEOMETRY
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8752 $as_echo "$result" >&6; }
8756 defaultval=$wxUSE_ALL_FEATURES
8757 if test -z "$defaultval"; then
8758 if test x"$enablestring" = xdisable; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-log" >&5
8766 $as_echo_n "checking
for --${enablestring:-enable}-log...
" >&6; }
8767 # Check whether --enable-log was given.
8768 if test "${enable_log+set}" = set; then :
8769 enableval=$enable_log;
8770 if test "$enableval" = yes; then
8771 wx_cv_use_log='wxUSE_LOG=yes'
8773 wx_cv_use_log='wxUSE_LOG=no'
8778 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8783 eval "$wx_cv_use_log"
8785 if test x
"$enablestring" = xdisable
; then
8786 if test $wxUSE_LOG = no
; then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8796 $as_echo "$result" >&6; }
8800 defaultval
=$wxUSE_ALL_FEATURES
8801 if test -z "$defaultval"; then
8802 if test x
"$enablestring" = xdisable
; then
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8810 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8811 # Check whether --enable-longlong was given.
8812 if test "${enable_longlong+set}" = set; then :
8813 enableval
=$enable_longlong;
8814 if test "$enableval" = yes; then
8815 wx_cv_use_longlong
='wxUSE_LONGLONG=yes'
8817 wx_cv_use_longlong
='wxUSE_LONGLONG=no'
8822 wx_cv_use_longlong
='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8827 eval "$wx_cv_use_longlong"
8829 if test x"$enablestring" = xdisable; then
8830 if test $wxUSE_LONGLONG = no; then
8836 result=$wxUSE_LONGLONG
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8840 $as_echo "$result" >&6; }
8844 defaultval=$wxUSE_ALL_FEATURES
8845 if test -z "$defaultval"; then
8846 if test x"$enablestring" = xdisable; then
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8854 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8855 # Check whether --enable-mimetype was given.
8856 if test "${enable_mimetype+set}" = set; then :
8857 enableval=$enable_mimetype;
8858 if test "$enableval" = yes; then
8859 wx_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
8861 wx_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
8866 wx_cv_use_mimetype='wxUSE_MIMETYPE
=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8871 eval "$wx_cv_use_mimetype"
8873 if test x"$enablestring" = xdisable; then
8874 if test $wxUSE_MIMETYPE = no; then
8880 result=$wxUSE_MIMETYPE
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8884 $as_echo "$result" >&6; }
8888 defaultval=$wxUSE_ALL_FEATURES
8889 if test -z "$defaultval"; then
8890 if test x"$enablestring" = xdisable; then
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-printfposparam" >&5
8898 $as_echo_n "checking
for --${enablestring:-enable}-printfposparam...
" >&6; }
8899 # Check whether --enable-printfposparam was given.
8900 if test "${enable_printfposparam+set}" = set; then :
8901 enableval=$enable_printfposparam;
8902 if test "$enableval" = yes; then
8903 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8905 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8910 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8915 eval "$wx_cv_use_printfposparam"
8917 if test x
"$enablestring" = xdisable
; then
8918 if test $wxUSE_PRINTF_POS_PARAMS = no
; then
8924 result
=$wxUSE_PRINTF_POS_PARAMS
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8928 $as_echo "$result" >&6; }
8932 defaultval
=$wxUSE_ALL_FEATURES
8933 if test -z "$defaultval"; then
8934 if test x
"$enablestring" = xdisable
; then
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8942 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8943 # Check whether --enable-snglinst was given.
8944 if test "${enable_snglinst+set}" = set; then :
8945 enableval
=$enable_snglinst;
8946 if test "$enableval" = yes; then
8947 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
8949 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
8954 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8959 eval "$wx_cv_use_snglinst"
8961 if test x"$enablestring" = xdisable; then
8962 if test $wxUSE_SNGLINST_CHECKER = no; then
8968 result=$wxUSE_SNGLINST_CHECKER
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8972 $as_echo "$result" >&6; }
8976 defaultval=$wxUSE_ALL_FEATURES
8977 if test -z "$defaultval"; then
8978 if test x"$enablestring" = xdisable; then
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8986 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8987 # Check whether --enable-sound was given.
8988 if test "${enable_sound+set}" = set; then :
8989 enableval=$enable_sound;
8990 if test "$enableval" = yes; then
8991 wx_cv_use_sound='wxUSE_SOUND
=yes'
8993 wx_cv_use_sound='wxUSE_SOUND
=no
'
8998 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9003 eval "$wx_cv_use_sound"
9005 if test x"$enablestring" = xdisable; then
9006 if test $wxUSE_SOUND = no; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9016 $as_echo "$result" >&6; }
9020 defaultval=$wxUSE_ALL_FEATURES
9021 if test -z "$defaultval"; then
9022 if test x"$enablestring" = xdisable; then
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stdpaths" >&5
9030 $as_echo_n "checking
for --${enablestring:-enable}-stdpaths...
" >&6; }
9031 # Check whether --enable-stdpaths was given.
9032 if test "${enable_stdpaths+set}" = set; then :
9033 enableval=$enable_stdpaths;
9034 if test "$enableval" = yes; then
9035 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
9037 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
9042 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9047 eval "$wx_cv_use_stdpaths"
9049 if test x
"$enablestring" = xdisable
; then
9050 if test $wxUSE_STDPATHS = no
; then
9056 result
=$wxUSE_STDPATHS
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9060 $as_echo "$result" >&6; }
9064 defaultval
=$wxUSE_ALL_FEATURES
9065 if test -z "$defaultval"; then
9066 if test x
"$enablestring" = xdisable
; then
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9074 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9075 # Check whether --enable-stopwatch was given.
9076 if test "${enable_stopwatch+set}" = set; then :
9077 enableval
=$enable_stopwatch;
9078 if test "$enableval" = yes; then
9079 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
9081 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
9086 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9091 eval "$wx_cv_use_stopwatch"
9093 if test x"$enablestring" = xdisable; then
9094 if test $wxUSE_STOPWATCH = no; then
9100 result=$wxUSE_STOPWATCH
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9104 $as_echo "$result" >&6; }
9108 defaultval=$wxUSE_ALL_FEATURES
9109 if test -z "$defaultval"; then
9110 if test x"$enablestring" = xdisable; then
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9118 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9119 # Check whether --enable-streams was given.
9120 if test "${enable_streams+set}" = set; then :
9121 enableval=$enable_streams;
9122 if test "$enableval" = yes; then
9123 wx_cv_use_streams='wxUSE_STREAMS
=yes'
9125 wx_cv_use_streams='wxUSE_STREAMS
=no
'
9130 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9135 eval "$wx_cv_use_streams"
9137 if test x"$enablestring" = xdisable; then
9138 if test $wxUSE_STREAMS = no; then
9144 result=$wxUSE_STREAMS
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9148 $as_echo "$result" >&6; }
9152 defaultval=$wxUSE_ALL_FEATURES
9153 if test -z "$defaultval"; then
9154 if test x"$enablestring" = xdisable; then
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sysoptions" >&5
9162 $as_echo_n "checking
for --${enablestring:-enable}-sysoptions...
" >&6; }
9163 # Check whether --enable-sysoptions was given.
9164 if test "${enable_sysoptions+set}" = set; then :
9165 enableval=$enable_sysoptions;
9166 if test "$enableval" = yes; then
9167 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9169 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9174 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9179 eval "$wx_cv_use_sysoptions"
9181 if test x
"$enablestring" = xdisable
; then
9182 if test $wxUSE_SYSTEM_OPTIONS = no
; then
9188 result
=$wxUSE_SYSTEM_OPTIONS
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9192 $as_echo "$result" >&6; }
9196 defaultval
=$wxUSE_ALL_FEATURES
9197 if test -z "$defaultval"; then
9198 if test x
"$enablestring" = xdisable
; then
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9206 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9207 # Check whether --enable-tarstream was given.
9208 if test "${enable_tarstream+set}" = set; then :
9209 enableval
=$enable_tarstream;
9210 if test "$enableval" = yes; then
9211 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
9213 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
9218 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9223 eval "$wx_cv_use_tarstream"
9225 if test x"$enablestring" = xdisable; then
9226 if test $wxUSE_TARSTREAM = no; then
9232 result=$wxUSE_TARSTREAM
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9236 $as_echo "$result" >&6; }
9240 defaultval=$wxUSE_ALL_FEATURES
9241 if test -z "$defaultval"; then
9242 if test x"$enablestring" = xdisable; then
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9250 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9251 # Check whether --enable-textbuf was given.
9252 if test "${enable_textbuf+set}" = set; then :
9253 enableval=$enable_textbuf;
9254 if test "$enableval" = yes; then
9255 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
9257 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
9262 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9267 eval "$wx_cv_use_textbuf"
9269 if test x"$enablestring" = xdisable; then
9270 if test $wxUSE_TEXTBUFFER = no; then
9276 result=$wxUSE_TEXTBUFFER
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9280 $as_echo "$result" >&6; }
9284 defaultval=$wxUSE_ALL_FEATURES
9285 if test -z "$defaultval"; then
9286 if test x"$enablestring" = xdisable; then
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textfile" >&5
9294 $as_echo_n "checking
for --${enablestring:-enable}-textfile...
" >&6; }
9295 # Check whether --enable-textfile was given.
9296 if test "${enable_textfile+set}" = set; then :
9297 enableval=$enable_textfile;
9298 if test "$enableval" = yes; then
9299 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9301 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9306 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9311 eval "$wx_cv_use_textfile"
9313 if test x
"$enablestring" = xdisable
; then
9314 if test $wxUSE_TEXTFILE = no
; then
9320 result
=$wxUSE_TEXTFILE
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9324 $as_echo "$result" >&6; }
9328 defaultval
=$wxUSE_ALL_FEATURES
9329 if test -z "$defaultval"; then
9330 if test x
"$enablestring" = xdisable
; then
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9338 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9339 # Check whether --enable-timer was given.
9340 if test "${enable_timer+set}" = set; then :
9341 enableval
=$enable_timer;
9342 if test "$enableval" = yes; then
9343 wx_cv_use_timer
='wxUSE_TIMER=yes'
9345 wx_cv_use_timer
='wxUSE_TIMER=no'
9350 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9355 eval "$wx_cv_use_timer"
9357 if test x"$enablestring" = xdisable; then
9358 if test $wxUSE_TIMER = no; then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9368 $as_echo "$result" >&6; }
9372 defaultval=$wxUSE_ALL_FEATURES
9373 if test -z "$defaultval"; then
9374 if test x"$enablestring" = xdisable; then
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9382 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9383 # Check whether --enable-variant was given.
9384 if test "${enable_variant+set}" = set; then :
9385 enableval=$enable_variant;
9386 if test "$enableval" = yes; then
9387 wx_cv_use_variant='wxUSE_VARIANT
=yes'
9389 wx_cv_use_variant='wxUSE_VARIANT
=no
'
9394 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9399 eval "$wx_cv_use_variant"
9401 if test x"$enablestring" = xdisable; then
9402 if test $wxUSE_VARIANT = no; then
9408 result=$wxUSE_VARIANT
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9412 $as_echo "$result" >&6; }
9416 defaultval=$wxUSE_ALL_FEATURES
9417 if test -z "$defaultval"; then
9418 if test x"$enablestring" = xdisable; then
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-zipstream" >&5
9426 $as_echo_n "checking
for --${enablestring:-enable}-zipstream...
" >&6; }
9427 # Check whether --enable-zipstream was given.
9428 if test "${enable_zipstream+set}" = set; then :
9429 enableval=$enable_zipstream;
9430 if test "$enableval" = yes; then
9431 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9433 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9438 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9443 eval "$wx_cv_use_zipstream"
9445 if test x
"$enablestring" = xdisable
; then
9446 if test $wxUSE_ZIPSTREAM = no
; then
9452 result
=$wxUSE_ZIPSTREAM
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9456 $as_echo "$result" >&6; }
9461 defaultval
=$wxUSE_ALL_FEATURES
9462 if test -z "$defaultval"; then
9463 if test x
"$enablestring" = xdisable
; then
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9471 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9472 # Check whether --enable-url was given.
9473 if test "${enable_url+set}" = set; then :
9474 enableval
=$enable_url;
9475 if test "$enableval" = yes; then
9476 wx_cv_use_url
='wxUSE_URL=yes'
9478 wx_cv_use_url
='wxUSE_URL=no'
9483 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9488 eval "$wx_cv_use_url"
9490 if test x"$enablestring" = xdisable; then
9491 if test $wxUSE_URL = no; then
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9501 $as_echo "$result" >&6; }
9505 defaultval=$wxUSE_ALL_FEATURES
9506 if test -z "$defaultval"; then
9507 if test x"$enablestring" = xdisable; then
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9515 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9516 # Check whether --enable-protocol was given.
9517 if test "${enable_protocol+set}" = set; then :
9518 enableval=$enable_protocol;
9519 if test "$enableval" = yes; then
9520 wx_cv_use_protocol='wxUSE_PROTOCOL
=yes'
9522 wx_cv_use_protocol='wxUSE_PROTOCOL
=no
'
9527 wx_cv_use_protocol='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9532 eval "$wx_cv_use_protocol"
9534 if test x"$enablestring" = xdisable; then
9535 if test $wxUSE_PROTOCOL = no; then
9541 result=$wxUSE_PROTOCOL
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9545 $as_echo "$result" >&6; }
9549 defaultval=$wxUSE_ALL_FEATURES
9550 if test -z "$defaultval"; then
9551 if test x"$enablestring" = xdisable; then
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_http" >&5
9559 $as_echo_n "checking
for --${enablestring:-enable}-protocol_http...
" >&6; }
9560 # Check whether --enable-protocol_http was given.
9561 if test "${enable_protocol_http+set}" = set; then :
9562 enableval=$enable_protocol_http;
9563 if test "$enableval" = yes; then
9564 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9566 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9571 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9576 eval "$wx_cv_use_protocol_http"
9578 if test x
"$enablestring" = xdisable
; then
9579 if test $wxUSE_PROTOCOL_HTTP = no
; then
9585 result
=$wxUSE_PROTOCOL_HTTP
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9589 $as_echo "$result" >&6; }
9593 defaultval
=$wxUSE_ALL_FEATURES
9594 if test -z "$defaultval"; then
9595 if test x
"$enablestring" = xdisable
; then
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9603 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9604 # Check whether --enable-protocol_ftp was given.
9605 if test "${enable_protocol_ftp+set}" = set; then :
9606 enableval
=$enable_protocol_ftp;
9607 if test "$enableval" = yes; then
9608 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
9610 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
9615 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9620 eval "$wx_cv_use_protocol_ftp"
9622 if test x"$enablestring" = xdisable; then
9623 if test $wxUSE_PROTOCOL_FTP = no; then
9629 result=$wxUSE_PROTOCOL_FTP
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9633 $as_echo "$result" >&6; }
9637 defaultval=$wxUSE_ALL_FEATURES
9638 if test -z "$defaultval"; then
9639 if test x"$enablestring" = xdisable; then
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9647 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9648 # Check whether --enable-protocol_file was given.
9649 if test "${enable_protocol_file+set}" = set; then :
9650 enableval=$enable_protocol_file;
9651 if test "$enableval" = yes; then
9652 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
9654 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
9659 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9664 eval "$wx_cv_use_protocol_file"
9666 if test x"$enablestring" = xdisable; then
9667 if test $wxUSE_PROTOCOL_FILE = no; then
9673 result=$wxUSE_PROTOCOL_FILE
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9677 $as_echo "$result" >&6; }
9682 defaultval=$wxUSE_ALL_FEATURES
9683 if test -z "$defaultval"; then
9684 if test x"$enablestring" = xdisable; then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-threads" >&5
9692 $as_echo_n "checking
for --${enablestring:-enable}-threads...
" >&6; }
9693 # Check whether --enable-threads was given.
9694 if test "${enable_threads+set}" = set; then :
9695 enableval=$enable_threads;
9696 if test "$enableval" = yes; then
9697 wx_cv_use_threads='wxUSE_THREADS=yes'
9699 wx_cv_use_threads='wxUSE_THREADS=no'
9704 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9709 eval "$wx_cv_use_threads"
9711 if test x
"$enablestring" = xdisable
; then
9712 if test $wxUSE_THREADS = no
; then
9718 result
=$wxUSE_THREADS
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9722 $as_echo "$result" >&6; }
9728 if test -z "$defaultval"; then
9729 if test x
"$enablestring" = xdisable
; then
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9737 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9738 # Check whether --enable-iniconf was given.
9739 if test "${enable_iniconf+set}" = set; then :
9740 enableval
=$enable_iniconf;
9741 if test "$enableval" = yes; then
9742 wx_cv_use_iniconf
='wxUSE_INICONF=yes'
9744 wx_cv_use_iniconf
='wxUSE_INICONF=no'
9749 wx_cv_use_iniconf
='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9754 eval "$wx_cv_use_iniconf"
9756 if test x"$enablestring" = xdisable; then
9757 if test $wxUSE_INICONF = no; then
9763 result=$wxUSE_INICONF
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9767 $as_echo "$result" >&6; }
9771 defaultval=$wxUSE_ALL_FEATURES
9772 if test -z "$defaultval"; then
9773 if test x"$enablestring" = xdisable; then
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9781 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9782 # Check whether --enable-regkey was given.
9783 if test "${enable_regkey+set}" = set; then :
9784 enableval=$enable_regkey;
9785 if test "$enableval" = yes; then
9786 wx_cv_use_regkey='wxUSE_REGKEY
=yes'
9788 wx_cv_use_regkey='wxUSE_REGKEY
=no
'
9793 wx_cv_use_regkey='wxUSE_REGKEY
=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9798 eval "$wx_cv_use_regkey"
9800 if test x"$enablestring" = xdisable; then
9801 if test $wxUSE_REGKEY = no; then
9807 result=$wxUSE_REGKEY
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9811 $as_echo "$result" >&6; }
9814 if test "$wxUSE_GUI" = "yes"; then
9819 defaultval=$wxUSE_ALL_FEATURES
9820 if test -z "$defaultval"; then
9821 if test x"$enablestring" = xdisable; then
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-docview" >&5
9829 $as_echo_n "checking
for --${enablestring:-enable}-docview...
" >&6; }
9830 # Check whether --enable-docview was given.
9831 if test "${enable_docview+set}" = set; then :
9832 enableval=$enable_docview;
9833 if test "$enableval" = yes; then
9834 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9836 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9841 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9846 eval "$wx_cv_use_docview"
9848 if test x
"$enablestring" = xdisable
; then
9849 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no
; then
9855 result
=$wxUSE_DOC_VIEW_ARCHITECTURE
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9859 $as_echo "$result" >&6; }
9863 defaultval
=$wxUSE_ALL_FEATURES
9864 if test -z "$defaultval"; then
9865 if test x
"$enablestring" = xdisable
; then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9873 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9874 # Check whether --enable-help was given.
9875 if test "${enable_help+set}" = set; then :
9876 enableval
=$enable_help;
9877 if test "$enableval" = yes; then
9878 wx_cv_use_help
='wxUSE_HELP=yes'
9880 wx_cv_use_help
='wxUSE_HELP=no'
9885 wx_cv_use_help
='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9890 eval "$wx_cv_use_help"
9892 if test x"$enablestring" = xdisable; then
9893 if test $wxUSE_HELP = no; then
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9903 $as_echo "$result" >&6; }
9907 defaultval=$wxUSE_ALL_FEATURES
9908 if test -z "$defaultval"; then
9909 if test x"$enablestring" = xdisable; then
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9917 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9918 # Check whether --enable-mshtmlhelp was given.
9919 if test "${enable_mshtmlhelp+set}" = set; then :
9920 enableval=$enable_mshtmlhelp;
9921 if test "$enableval" = yes; then
9922 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
9924 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
9929 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9934 eval "$wx_cv_use_mshtmlhelp"
9936 if test x"$enablestring" = xdisable; then
9937 if test $wxUSE_MS_HTML_HELP = no; then
9943 result=$wxUSE_MS_HTML_HELP
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9947 $as_echo "$result" >&6; }
9951 defaultval=$wxUSE_ALL_FEATURES
9952 if test -z "$defaultval"; then
9953 if test x"$enablestring" = xdisable; then
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-html" >&5
9961 $as_echo_n "checking
for --${enablestring:-enable}-html...
" >&6; }
9962 # Check whether --enable-html was given.
9963 if test "${enable_html+set}" = set; then :
9964 enableval=$enable_html;
9965 if test "$enableval" = yes; then
9966 wx_cv_use_html='wxUSE_HTML=yes'
9968 wx_cv_use_html='wxUSE_HTML=no'
9973 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9978 eval "$wx_cv_use_html"
9980 if test x
"$enablestring" = xdisable
; then
9981 if test $wxUSE_HTML = no
; then
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9991 $as_echo "$result" >&6; }
9995 defaultval
=$wxUSE_ALL_FEATURES
9996 if test -z "$defaultval"; then
9997 if test x
"$enablestring" = xdisable
; then
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
10005 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
10006 # Check whether --enable-htmlhelp was given.
10007 if test "${enable_htmlhelp+set}" = set; then :
10008 enableval
=$enable_htmlhelp;
10009 if test "$enableval" = yes; then
10010 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
10012 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
10017 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10022 eval "$wx_cv_use_htmlhelp"
10024 if test x"$enablestring" = xdisable; then
10025 if test $wxUSE_WXHTML_HELP = no; then
10031 result=$wxUSE_WXHTML_HELP
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10035 $as_echo "$result" >&6; }
10039 defaultval=$wxUSE_ALL_FEATURES
10040 if test -z "$defaultval"; then
10041 if test x"$enablestring" = xdisable; then
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10049 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10050 # Check whether --enable-xrc was given.
10051 if test "${enable_xrc+set}" = set; then :
10052 enableval=$enable_xrc;
10053 if test "$enableval" = yes; then
10054 wx_cv_use_xrc='wxUSE_XRC
=yes'
10056 wx_cv_use_xrc='wxUSE_XRC
=no
'
10061 wx_cv_use_xrc='wxUSE_XRC
=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10066 eval "$wx_cv_use_xrc"
10068 if test x"$enablestring" = xdisable; then
10069 if test $wxUSE_XRC = no; then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10079 $as_echo "$result" >&6; }
10083 defaultval=$wxUSE_ALL_FEATURES
10084 if test -z "$defaultval"; then
10085 if test x"$enablestring" = xdisable; then
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-aui" >&5
10093 $as_echo_n "checking
for --${enablestring:-enable}-aui...
" >&6; }
10094 # Check whether --enable-aui was given.
10095 if test "${enable_aui+set}" = set; then :
10096 enableval=$enable_aui;
10097 if test "$enableval" = yes; then
10098 wx_cv_use_aui='wxUSE_AUI=yes'
10100 wx_cv_use_aui='wxUSE_AUI=no'
10105 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10110 eval "$wx_cv_use_aui"
10112 if test x
"$enablestring" = xdisable
; then
10113 if test $wxUSE_AUI = no
; then
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10123 $as_echo "$result" >&6; }
10127 defaultval
=$wxUSE_ALL_FEATURES
10128 if test -z "$defaultval"; then
10129 if test x
"$enablestring" = xdisable
; then
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10137 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10138 # Check whether --enable-propgrid was given.
10139 if test "${enable_propgrid+set}" = set; then :
10140 enableval
=$enable_propgrid;
10141 if test "$enableval" = yes; then
10142 wx_cv_use_propgrid
='wxUSE_PROPGRID=yes'
10144 wx_cv_use_propgrid
='wxUSE_PROPGRID=no'
10149 wx_cv_use_propgrid
='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10154 eval "$wx_cv_use_propgrid"
10156 if test x"$enablestring" = xdisable; then
10157 if test $wxUSE_PROPGRID = no; then
10163 result=$wxUSE_PROPGRID
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10167 $as_echo "$result" >&6; }
10171 defaultval=$wxUSE_ALL_FEATURES
10172 if test -z "$defaultval"; then
10173 if test x"$enablestring" = xdisable; then
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10181 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10182 # Check whether --enable-ribbon was given.
10183 if test "${enable_ribbon+set}" = set; then :
10184 enableval=$enable_ribbon;
10185 if test "$enableval" = yes; then
10186 wx_cv_use_ribbon='wxUSE_RIBBON
=yes'
10188 wx_cv_use_ribbon='wxUSE_RIBBON
=no
'
10193 wx_cv_use_ribbon='wxUSE_RIBBON
=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10198 eval "$wx_cv_use_ribbon"
10200 if test x"$enablestring" = xdisable; then
10201 if test $wxUSE_RIBBON = no; then
10207 result=$wxUSE_RIBBON
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10211 $as_echo "$result" >&6; }
10215 defaultval=$wxUSE_ALL_FEATURES
10216 if test -z "$defaultval"; then
10217 if test x"$enablestring" = xdisable; then
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stc" >&5
10225 $as_echo_n "checking
for --${enablestring:-enable}-stc...
" >&6; }
10226 # Check whether --enable-stc was given.
10227 if test "${enable_stc+set}" = set; then :
10228 enableval=$enable_stc;
10229 if test "$enableval" = yes; then
10230 wx_cv_use_stc='wxUSE_STC=yes'
10232 wx_cv_use_stc='wxUSE_STC=no'
10237 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10242 eval "$wx_cv_use_stc"
10244 if test x
"$enablestring" = xdisable
; then
10245 if test $wxUSE_STC = no
; then
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10255 $as_echo "$result" >&6; }
10259 defaultval
=$wxUSE_ALL_FEATURES
10260 if test -z "$defaultval"; then
10261 if test x
"$enablestring" = xdisable
; then
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10269 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10270 # Check whether --enable-constraints was given.
10271 if test "${enable_constraints+set}" = set; then :
10272 enableval
=$enable_constraints;
10273 if test "$enableval" = yes; then
10274 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
10276 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
10281 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10286 eval "$wx_cv_use_constraints"
10288 if test x"$enablestring" = xdisable; then
10289 if test $wxUSE_CONSTRAINTS = no; then
10295 result=$wxUSE_CONSTRAINTS
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10299 $as_echo "$result" >&6; }
10303 defaultval=$wxUSE_ALL_FEATURES
10304 if test -z "$defaultval"; then
10305 if test x"$enablestring" = xdisable; then
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10313 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10314 # Check whether --enable-loggui was given.
10315 if test "${enable_loggui+set}" = set; then :
10316 enableval=$enable_loggui;
10317 if test "$enableval" = yes; then
10318 wx_cv_use_loggui='wxUSE_LOGGUI
=yes'
10320 wx_cv_use_loggui='wxUSE_LOGGUI
=no
'
10325 wx_cv_use_loggui='wxUSE_LOGGUI
=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10330 eval "$wx_cv_use_loggui"
10332 if test x"$enablestring" = xdisable; then
10333 if test $wxUSE_LOGGUI = no; then
10339 result=$wxUSE_LOGGUI
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10343 $as_echo "$result" >&6; }
10347 defaultval=$wxUSE_ALL_FEATURES
10348 if test -z "$defaultval"; then
10349 if test x"$enablestring" = xdisable; then
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-logwin" >&5
10357 $as_echo_n "checking
for --${enablestring:-enable}-logwin...
" >&6; }
10358 # Check whether --enable-logwin was given.
10359 if test "${enable_logwin+set}" = set; then :
10360 enableval=$enable_logwin;
10361 if test "$enableval" = yes; then
10362 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10364 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10369 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10374 eval "$wx_cv_use_logwin"
10376 if test x
"$enablestring" = xdisable
; then
10377 if test $wxUSE_LOGWINDOW = no
; then
10383 result
=$wxUSE_LOGWINDOW
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10387 $as_echo "$result" >&6; }
10391 defaultval
=$wxUSE_ALL_FEATURES
10392 if test -z "$defaultval"; then
10393 if test x
"$enablestring" = xdisable
; then
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10401 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10402 # Check whether --enable-logdialog was given.
10403 if test "${enable_logdialog+set}" = set; then :
10404 enableval
=$enable_logdialog;
10405 if test "$enableval" = yes; then
10406 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
10408 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
10413 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10418 eval "$wx_cv_use_logdialog"
10420 if test x"$enablestring" = xdisable; then
10421 if test $wxUSE_LOGDIALOG = no; then
10427 result=$wxUSE_LOGDIALOG
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10431 $as_echo "$result" >&6; }
10435 defaultval=$wxUSE_ALL_FEATURES
10436 if test -z "$defaultval"; then
10437 if test x"$enablestring" = xdisable; then
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10445 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10446 # Check whether --enable-mdi was given.
10447 if test "${enable_mdi+set}" = set; then :
10448 enableval=$enable_mdi;
10449 if test "$enableval" = yes; then
10450 wx_cv_use_mdi='wxUSE_MDI
=yes'
10452 wx_cv_use_mdi='wxUSE_MDI
=no
'
10457 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10462 eval "$wx_cv_use_mdi"
10464 if test x"$enablestring" = xdisable; then
10465 if test $wxUSE_MDI = no; then
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10475 $as_echo "$result" >&6; }
10479 defaultval=$wxUSE_ALL_FEATURES
10480 if test -z "$defaultval"; then
10481 if test x"$enablestring" = xdisable; then
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mdidoc" >&5
10489 $as_echo_n "checking
for --${enablestring:-enable}-mdidoc...
" >&6; }
10490 # Check whether --enable-mdidoc was given.
10491 if test "${enable_mdidoc+set}" = set; then :
10492 enableval=$enable_mdidoc;
10493 if test "$enableval" = yes; then
10494 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10496 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10501 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10506 eval "$wx_cv_use_mdidoc"
10508 if test x
"$enablestring" = xdisable
; then
10509 if test $wxUSE_MDI_ARCHITECTURE = no
; then
10515 result
=$wxUSE_MDI_ARCHITECTURE
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10519 $as_echo "$result" >&6; }
10523 defaultval
=$wxUSE_ALL_FEATURES
10524 if test -z "$defaultval"; then
10525 if test x
"$enablestring" = xdisable
; then
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10533 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10534 # Check whether --enable-mediactrl was given.
10535 if test "${enable_mediactrl+set}" = set; then :
10536 enableval
=$enable_mediactrl;
10537 if test "$enableval" = yes; then
10538 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
10540 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
10545 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10550 eval "$wx_cv_use_mediactrl"
10552 if test x"$enablestring" = xdisable; then
10553 if test $wxUSE_MEDIACTRL = no; then
10559 result=$wxUSE_MEDIACTRL
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10563 $as_echo "$result" >&6; }
10567 defaultval=$wxUSE_ALL_FEATURES
10568 if test -z "$defaultval"; then
10569 if test x"$enablestring" = xdisable; then
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10577 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10578 # Check whether --enable-gstreamer8 was given.
10579 if test "${enable_gstreamer8+set}" = set; then :
10580 enableval=$enable_gstreamer8;
10581 if test "$enableval" = yes; then
10582 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
10584 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
10589 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10594 eval "$wx_cv_use_gstreamer8"
10596 if test x"$enablestring" = xdisable; then
10597 if test $wxUSE_GSTREAMER8 = no; then
10603 result=$wxUSE_GSTREAMER8
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10607 $as_echo "$result" >&6; }
10611 defaultval=$wxUSE_ALL_FEATURES
10612 if test -z "$defaultval"; then
10613 if test x"$enablestring" = xdisable; then
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-richtext" >&5
10621 $as_echo_n "checking
for --${enablestring:-enable}-richtext...
" >&6; }
10622 # Check whether --enable-richtext was given.
10623 if test "${enable_richtext+set}" = set; then :
10624 enableval=$enable_richtext;
10625 if test "$enableval" = yes; then
10626 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10628 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10633 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10638 eval "$wx_cv_use_richtext"
10640 if test x
"$enablestring" = xdisable
; then
10641 if test $wxUSE_RICHTEXT = no
; then
10647 result
=$wxUSE_RICHTEXT
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10651 $as_echo "$result" >&6; }
10655 defaultval
=$wxUSE_ALL_FEATURES
10656 if test -z "$defaultval"; then
10657 if test x
"$enablestring" = xdisable
; then
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10665 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10666 # Check whether --enable-postscript was given.
10667 if test "${enable_postscript+set}" = set; then :
10668 enableval
=$enable_postscript;
10669 if test "$enableval" = yes; then
10670 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
10672 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
10677 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10682 eval "$wx_cv_use_postscript"
10684 if test x"$enablestring" = xdisable; then
10685 if test $wxUSE_POSTSCRIPT = no; then
10691 result=$wxUSE_POSTSCRIPT
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10695 $as_echo "$result" >&6; }
10699 defaultval=$wxUSE_ALL_FEATURES
10700 if test -z "$defaultval"; then
10701 if test x"$enablestring" = xdisable; then
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10709 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10710 # Check whether --enable-printarch was given.
10711 if test "${enable_printarch+set}" = set; then :
10712 enableval=$enable_printarch;
10713 if test "$enableval" = yes; then
10714 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
10716 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
10721 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10726 eval "$wx_cv_use_printarch"
10728 if test x"$enablestring" = xdisable; then
10729 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10735 result=$wxUSE_PRINTING_ARCHITECTURE
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10739 $as_echo "$result" >&6; }
10743 defaultval=$wxUSE_ALL_FEATURES
10744 if test -z "$defaultval"; then
10745 if test x"$enablestring" = xdisable; then
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-svg" >&5
10753 $as_echo_n "checking
for --${enablestring:-enable}-svg...
" >&6; }
10754 # Check whether --enable-svg was given.
10755 if test "${enable_svg+set}" = set; then :
10756 enableval=$enable_svg;
10757 if test "$enableval" = yes; then
10758 wx_cv_use_svg='wxUSE_SVG=yes'
10760 wx_cv_use_svg='wxUSE_SVG=no'
10765 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10770 eval "$wx_cv_use_svg"
10772 if test x
"$enablestring" = xdisable
; then
10773 if test $wxUSE_SVG = no
; then
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10783 $as_echo "$result" >&6; }
10787 defaultval
=$wxUSE_ALL_FEATURES
10788 if test -z "$defaultval"; then
10789 if test x
"$enablestring" = xdisable
; then
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10797 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10798 # Check whether --enable-webkit was given.
10799 if test "${enable_webkit+set}" = set; then :
10800 enableval
=$enable_webkit;
10801 if test "$enableval" = yes; then
10802 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
10804 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
10809 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10814 eval "$wx_cv_use_webkit"
10816 if test x"$enablestring" = xdisable; then
10817 if test $wxUSE_WEBKIT = no; then
10823 result=$wxUSE_WEBKIT
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10827 $as_echo "$result" >&6; }
10831 defaultval=$wxUSE_ALL_FEATURES
10832 if test -z "$defaultval"; then
10833 if test x"$enablestring" = xdisable; then
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10841 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10842 # Check whether --enable-webview was given.
10843 if test "${enable_webview+set}" = set; then :
10844 enableval=$enable_webview;
10845 if test "$enableval" = yes; then
10846 wx_cv_use_webview='wxUSE_WEBVIEW
=yes'
10848 wx_cv_use_webview='wxUSE_WEBVIEW
=no
'
10853 wx_cv_use_webview='wxUSE_WEBVIEW
=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10858 eval "$wx_cv_use_webview"
10860 if test x"$enablestring" = xdisable; then
10861 if test $wxUSE_WEBVIEW = no; then
10867 result=$wxUSE_WEBVIEW
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10871 $as_echo "$result" >&6; }
10874 if test "$wxUSE_MAC" != 1; then
10877 defaultval=$wxUSE_ALL_FEATURES
10878 if test -z "$defaultval"; then
10879 if test x"$enablestring" = xdisable; then
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-graphics_ctx" >&5
10887 $as_echo_n "checking
for --${enablestring:-enable}-graphics_ctx...
" >&6; }
10888 # Check whether --enable-graphics_ctx was given.
10889 if test "${enable_graphics_ctx+set}" = set; then :
10890 enableval=$enable_graphics_ctx;
10891 if test "$enableval" = yes; then
10892 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10894 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10899 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10904 eval "$wx_cv_use_graphics_ctx"
10906 if test x
"$enablestring" = xdisable
; then
10907 if test $wxUSE_GRAPHICS_CONTEXT = no
; then
10913 result
=$wxUSE_GRAPHICS_CONTEXT
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10917 $as_echo "$result" >&6; }
10924 defaultval
=$wxUSE_ALL_FEATURES
10925 if test -z "$defaultval"; then
10926 if test x
"$enablestring" = xdisable
; then
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10934 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10935 # Check whether --enable-clipboard was given.
10936 if test "${enable_clipboard+set}" = set; then :
10937 enableval
=$enable_clipboard;
10938 if test "$enableval" = yes; then
10939 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
10941 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
10946 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10951 eval "$wx_cv_use_clipboard"
10953 if test x"$enablestring" = xdisable; then
10954 if test $wxUSE_CLIPBOARD = no; then
10960 result=$wxUSE_CLIPBOARD
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10964 $as_echo "$result" >&6; }
10968 defaultval=$wxUSE_ALL_FEATURES
10969 if test -z "$defaultval"; then
10970 if test x"$enablestring" = xdisable; then
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10978 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10979 # Check whether --enable-dnd was given.
10980 if test "${enable_dnd+set}" = set; then :
10981 enableval=$enable_dnd;
10982 if test "$enableval" = yes; then
10983 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
10985 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
10990 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10995 eval "$wx_cv_use_dnd"
10997 if test x"$enablestring" = xdisable; then
10998 if test $wxUSE_DRAG_AND_DROP = no; then
11004 result=$wxUSE_DRAG_AND_DROP
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11008 $as_echo "$result" >&6; }
11012 DEFAULT_wxUSE_CONTROLS=none
11014 enablestring=disable
11016 if test -z "$defaultval"; then
11017 if test x"$enablestring" = xdisable; then
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-controls" >&5
11025 $as_echo_n "checking
for --${enablestring:-enable}-controls...
" >&6; }
11026 # Check whether --enable-controls was given.
11027 if test "${enable_controls+set}" = set; then :
11028 enableval=$enable_controls;
11029 if test "$enableval" = yes; then
11030 wx_cv_use_controls='wxUSE_CONTROLS=yes'
11032 wx_cv_use_controls='wxUSE_CONTROLS=no'
11037 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11042 eval "$wx_cv_use_controls"
11044 if test x
"$enablestring" = xdisable
; then
11045 if test $wxUSE_CONTROLS = no
; then
11051 result
=$wxUSE_CONTROLS
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11055 $as_echo "$result" >&6; }
11058 if test "$wxUSE_CONTROLS" = "no"; then
11059 DEFAULT_wxUSE_ACCEL
=no
11060 DEFAULT_wxUSE_ANIMATIONCTRL
=no
11061 DEFAULT_wxUSE_BANNERWINDOW
=no
11062 DEFAULT_wxUSE_BMPBUTTON
=no
11063 DEFAULT_wxUSE_BUTTON
=no
11064 DEFAULT_wxUSE_CALCTRL
=no
11065 DEFAULT_wxUSE_CARET
=no
11066 DEFAULT_wxUSE_CHECKBOX
=no
11067 DEFAULT_wxUSE_CHECKLISTBOX
=no
11068 DEFAULT_wxUSE_CHOICE
=no
11069 DEFAULT_wxUSE_CHOICEBOOK
=no
11070 DEFAULT_wxUSE_COLLPANE
=no
11071 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
11072 DEFAULT_wxUSE_COMBOBOX
=no
11073 DEFAULT_wxUSE_COMBOBOX
=no
11074 DEFAULT_wxUSE_COMMANDLINKBUTTON
=no
11075 DEFAULT_wxUSE_DATAVIEWCTRL
=no
11076 DEFAULT_wxUSE_DATEPICKCTRL
=no
11077 DEFAULT_wxUSE_DETECT_SM
=no
11078 DEFAULT_wxUSE_DIRPICKERCTRL
=no
11079 DEFAULT_wxUSE_DISPLAY
=no
11080 DEFAULT_wxUSE_FILECTRL
=no
11081 DEFAULT_wxUSE_FILEPICKERCTRL
=no
11082 DEFAULT_wxUSE_FONTPICKERCTRL
=no
11083 DEFAULT_wxUSE_GAUGE
=no
11084 DEFAULT_wxUSE_GRID
=no
11085 DEFAULT_wxUSE_HEADERCTRL
=no
11086 DEFAULT_wxUSE_HYPERLINKCTRL
=no
11087 DEFAULT_wxUSE_IMAGLIST
=no
11088 DEFAULT_wxUSE_LISTBOOK
=no
11089 DEFAULT_wxUSE_LISTBOX
=no
11090 DEFAULT_wxUSE_LISTCTRL
=no
11091 DEFAULT_wxUSE_MARKUP
=no
11092 DEFAULT_wxUSE_NOTEBOOK
=no
11093 DEFAULT_wxUSE_POPUPWIN
=no
11094 DEFAULT_wxUSE_RADIOBOX
=no
11095 DEFAULT_wxUSE_RADIOBTN
=no
11096 DEFAULT_wxUSE_RICHMSGDLG
=no
11097 DEFAULT_wxUSE_RICHTOOLTIP
=no
11098 DEFAULT_wxUSE_REARRANGECTRL
=no
11099 DEFAULT_wxUSE_SASH
=no
11100 DEFAULT_wxUSE_SCROLLBAR
=no
11101 DEFAULT_wxUSE_SEARCHCTRL
=no
11102 DEFAULT_wxUSE_SLIDER
=no
11103 DEFAULT_wxUSE_SPINBTN
=no
11104 DEFAULT_wxUSE_SPINCTRL
=no
11105 DEFAULT_wxUSE_SPLITTER
=no
11106 DEFAULT_wxUSE_STATBMP
=no
11107 DEFAULT_wxUSE_STATBOX
=no
11108 DEFAULT_wxUSE_STATLINE
=no
11109 DEFAULT_wxUSE_STATUSBAR
=no
11110 DEFAULT_wxUSE_TIMEPICKCTRL
=no
11111 DEFAULT_wxUSE_TIPWINDOW
=no
11112 DEFAULT_wxUSE_TOGGLEBTN
=no
11113 DEFAULT_wxUSE_TOOLBAR
=no
11114 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
11115 DEFAULT_wxUSE_TOOLBOOK
=no
11116 DEFAULT_wxUSE_TOOLTIPS
=no
11117 DEFAULT_wxUSE_TREEBOOK
=no
11118 DEFAULT_wxUSE_TREECTRL
=no
11119 DEFAULT_wxUSE_TREELISTCTRL
=no
11124 defaultval
=$wxUSE_ALL_FEATURES
11125 if test -z "$defaultval"; then
11126 if test x
"$enablestring" = xdisable
; then
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11134 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11135 # Check whether --enable-markup was given.
11136 if test "${enable_markup+set}" = set; then :
11137 enableval
=$enable_markup;
11138 if test "$enableval" = yes; then
11139 wx_cv_use_markup
='wxUSE_MARKUP=yes'
11141 wx_cv_use_markup
='wxUSE_MARKUP=no'
11146 wx_cv_use_markup
='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11151 eval "$wx_cv_use_markup"
11153 if test x"$enablestring" = xdisable; then
11154 if test $wxUSE_MARKUP = no; then
11160 result=$wxUSE_MARKUP
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11164 $as_echo "$result" >&6; }
11169 defaultval=$wxUSE_ALL_FEATURES
11170 if test -z "$defaultval"; then
11171 if test x"$enablestring" = xdisable; then
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11179 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11180 # Check whether --enable-accel was given.
11181 if test "${enable_accel+set}" = set; then :
11182 enableval=$enable_accel;
11183 if test "$enableval" = yes; then
11184 wx_cv_use_accel='wxUSE_ACCEL
=yes'
11186 wx_cv_use_accel='wxUSE_ACCEL
=no
'
11191 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11196 eval "$wx_cv_use_accel"
11198 if test x"$enablestring" = xdisable; then
11199 if test $wxUSE_ACCEL = no; then
11205 result=$wxUSE_ACCEL
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11209 $as_echo "$result" >&6; }
11213 defaultval=$wxUSE_ALL_FEATURES
11214 if test -z "$defaultval"; then
11215 if test x"$enablestring" = xdisable; then
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-animatectrl" >&5
11223 $as_echo_n "checking
for --${enablestring:-enable}-animatectrl...
" >&6; }
11224 # Check whether --enable-animatectrl was given.
11225 if test "${enable_animatectrl+set}" = set; then :
11226 enableval=$enable_animatectrl;
11227 if test "$enableval" = yes; then
11228 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11230 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11235 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11240 eval "$wx_cv_use_animatectrl"
11242 if test x
"$enablestring" = xdisable
; then
11243 if test $wxUSE_ANIMATIONCTRL = no
; then
11249 result
=$wxUSE_ANIMATIONCTRL
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11253 $as_echo "$result" >&6; }
11257 defaultval
=$wxUSE_ALL_FEATURES
11258 if test -z "$defaultval"; then
11259 if test x
"$enablestring" = xdisable
; then
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11267 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11268 # Check whether --enable-bannerwindow was given.
11269 if test "${enable_bannerwindow+set}" = set; then :
11270 enableval
=$enable_bannerwindow;
11271 if test "$enableval" = yes; then
11272 wx_cv_use_bannerwindow
='wxUSE_BANNERWINDOW=yes'
11274 wx_cv_use_bannerwindow
='wxUSE_BANNERWINDOW=no'
11279 wx_cv_use_bannerwindow
='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11284 eval "$wx_cv_use_bannerwindow"
11286 if test x"$enablestring" = xdisable; then
11287 if test $wxUSE_BANNERWINDOW = no; then
11293 result=$wxUSE_BANNERWINDOW
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11297 $as_echo "$result" >&6; }
11301 defaultval=$wxUSE_ALL_FEATURES
11302 if test -z "$defaultval"; then
11303 if test x"$enablestring" = xdisable; then
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11311 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11312 # Check whether --enable-artstd was given.
11313 if test "${enable_artstd+set}" = set; then :
11314 enableval=$enable_artstd;
11315 if test "$enableval" = yes; then
11316 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=yes'
11318 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=no
'
11323 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11328 eval "$wx_cv_use_artstd"
11330 if test x"$enablestring" = xdisable; then
11331 if test $wxUSE_ARTPROVIDER_STD = no; then
11337 result=$wxUSE_ARTPROVIDER_STD
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11341 $as_echo "$result" >&6; }
11345 defaultval=$wxUSE_ALL_FEATURES
11346 if test -z "$defaultval"; then
11347 if test x"$enablestring" = xdisable; then
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-arttango" >&5
11355 $as_echo_n "checking
for --${enablestring:-enable}-arttango...
" >&6; }
11356 # Check whether --enable-arttango was given.
11357 if test "${enable_arttango+set}" = set; then :
11358 enableval=$enable_arttango;
11359 if test "$enableval" = yes; then
11360 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11362 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11367 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11372 eval "$wx_cv_use_arttango"
11374 if test x
"$enablestring" = xdisable
; then
11375 if test $wxUSE_ARTPROVIDER_TANGO = no
; then
11381 result
=$wxUSE_ARTPROVIDER_TANGO
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11385 $as_echo "$result" >&6; }
11389 defaultval
=$wxUSE_ALL_FEATURES
11390 if test -z "$defaultval"; then
11391 if test x
"$enablestring" = xdisable
; then
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11399 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11400 # Check whether --enable-bmpbutton was given.
11401 if test "${enable_bmpbutton+set}" = set; then :
11402 enableval
=$enable_bmpbutton;
11403 if test "$enableval" = yes; then
11404 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
11406 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
11411 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11416 eval "$wx_cv_use_bmpbutton"
11418 if test x"$enablestring" = xdisable; then
11419 if test $wxUSE_BMPBUTTON = no; then
11425 result=$wxUSE_BMPBUTTON
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11429 $as_echo "$result" >&6; }
11433 defaultval=$wxUSE_ALL_FEATURES
11434 if test -z "$defaultval"; then
11435 if test x"$enablestring" = xdisable; then
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11443 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11444 # Check whether --enable-bmpcombobox was given.
11445 if test "${enable_bmpcombobox+set}" = set; then :
11446 enableval=$enable_bmpcombobox;
11447 if test "$enableval" = yes; then
11448 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
11450 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
11455 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11460 eval "$wx_cv_use_bmpcombobox"
11462 if test x"$enablestring" = xdisable; then
11463 if test $wxUSE_BITMAPCOMBOBOX = no; then
11469 result=$wxUSE_BITMAPCOMBOBOX
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11473 $as_echo "$result" >&6; }
11477 defaultval=$wxUSE_ALL_FEATURES
11478 if test -z "$defaultval"; then
11479 if test x"$enablestring" = xdisable; then
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-button" >&5
11487 $as_echo_n "checking
for --${enablestring:-enable}-button...
" >&6; }
11488 # Check whether --enable-button was given.
11489 if test "${enable_button+set}" = set; then :
11490 enableval=$enable_button;
11491 if test "$enableval" = yes; then
11492 wx_cv_use_button='wxUSE_BUTTON=yes'
11494 wx_cv_use_button='wxUSE_BUTTON=no'
11499 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11504 eval "$wx_cv_use_button"
11506 if test x
"$enablestring" = xdisable
; then
11507 if test $wxUSE_BUTTON = no
; then
11513 result
=$wxUSE_BUTTON
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11517 $as_echo "$result" >&6; }
11521 defaultval
=$wxUSE_ALL_FEATURES
11522 if test -z "$defaultval"; then
11523 if test x
"$enablestring" = xdisable
; then
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11531 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11532 # Check whether --enable-calendar was given.
11533 if test "${enable_calendar+set}" = set; then :
11534 enableval
=$enable_calendar;
11535 if test "$enableval" = yes; then
11536 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
11538 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
11543 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11548 eval "$wx_cv_use_calendar"
11550 if test x"$enablestring" = xdisable; then
11551 if test $wxUSE_CALCTRL = no; then
11557 result=$wxUSE_CALCTRL
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11561 $as_echo "$result" >&6; }
11565 defaultval=$wxUSE_ALL_FEATURES
11566 if test -z "$defaultval"; then
11567 if test x"$enablestring" = xdisable; then
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11575 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11576 # Check whether --enable-caret was given.
11577 if test "${enable_caret+set}" = set; then :
11578 enableval=$enable_caret;
11579 if test "$enableval" = yes; then
11580 wx_cv_use_caret='wxUSE_CARET
=yes'
11582 wx_cv_use_caret='wxUSE_CARET
=no
'
11587 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11592 eval "$wx_cv_use_caret"
11594 if test x"$enablestring" = xdisable; then
11595 if test $wxUSE_CARET = no; then
11601 result=$wxUSE_CARET
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11605 $as_echo "$result" >&6; }
11609 defaultval=$wxUSE_ALL_FEATURES
11610 if test -z "$defaultval"; then
11611 if test x"$enablestring" = xdisable; then
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-checkbox" >&5
11619 $as_echo_n "checking
for --${enablestring:-enable}-checkbox...
" >&6; }
11620 # Check whether --enable-checkbox was given.
11621 if test "${enable_checkbox+set}" = set; then :
11622 enableval=$enable_checkbox;
11623 if test "$enableval" = yes; then
11624 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11626 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11631 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11636 eval "$wx_cv_use_checkbox"
11638 if test x
"$enablestring" = xdisable
; then
11639 if test $wxUSE_CHECKBOX = no
; then
11645 result
=$wxUSE_CHECKBOX
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11649 $as_echo "$result" >&6; }
11653 defaultval
=$wxUSE_ALL_FEATURES
11654 if test -z "$defaultval"; then
11655 if test x
"$enablestring" = xdisable
; then
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11663 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11664 # Check whether --enable-checklst was given.
11665 if test "${enable_checklst+set}" = set; then :
11666 enableval
=$enable_checklst;
11667 if test "$enableval" = yes; then
11668 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
11670 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
11675 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11680 eval "$wx_cv_use_checklst"
11682 if test x"$enablestring" = xdisable; then
11683 if test $wxUSE_CHECKLST = no; then
11689 result=$wxUSE_CHECKLST
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11693 $as_echo "$result" >&6; }
11697 defaultval=$wxUSE_ALL_FEATURES
11698 if test -z "$defaultval"; then
11699 if test x"$enablestring" = xdisable; then
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11707 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11708 # Check whether --enable-choice was given.
11709 if test "${enable_choice+set}" = set; then :
11710 enableval=$enable_choice;
11711 if test "$enableval" = yes; then
11712 wx_cv_use_choice='wxUSE_CHOICE
=yes'
11714 wx_cv_use_choice='wxUSE_CHOICE
=no
'
11719 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11724 eval "$wx_cv_use_choice"
11726 if test x"$enablestring" = xdisable; then
11727 if test $wxUSE_CHOICE = no; then
11733 result=$wxUSE_CHOICE
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11737 $as_echo "$result" >&6; }
11741 defaultval=$wxUSE_ALL_FEATURES
11742 if test -z "$defaultval"; then
11743 if test x"$enablestring" = xdisable; then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-choicebook" >&5
11751 $as_echo_n "checking
for --${enablestring:-enable}-choicebook...
" >&6; }
11752 # Check whether --enable-choicebook was given.
11753 if test "${enable_choicebook+set}" = set; then :
11754 enableval=$enable_choicebook;
11755 if test "$enableval" = yes; then
11756 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11758 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11763 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11768 eval "$wx_cv_use_choicebook"
11770 if test x
"$enablestring" = xdisable
; then
11771 if test $wxUSE_CHOICEBOOK = no
; then
11777 result
=$wxUSE_CHOICEBOOK
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11781 $as_echo "$result" >&6; }
11785 defaultval
=$wxUSE_ALL_FEATURES
11786 if test -z "$defaultval"; then
11787 if test x
"$enablestring" = xdisable
; then
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11795 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11796 # Check whether --enable-collpane was given.
11797 if test "${enable_collpane+set}" = set; then :
11798 enableval
=$enable_collpane;
11799 if test "$enableval" = yes; then
11800 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
11802 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
11807 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11812 eval "$wx_cv_use_collpane"
11814 if test x"$enablestring" = xdisable; then
11815 if test $wxUSE_COLLPANE = no; then
11821 result=$wxUSE_COLLPANE
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11825 $as_echo "$result" >&6; }
11829 defaultval=$wxUSE_ALL_FEATURES
11830 if test -z "$defaultval"; then
11831 if test x"$enablestring" = xdisable; then
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11839 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11840 # Check whether --enable-colourpicker was given.
11841 if test "${enable_colourpicker+set}" = set; then :
11842 enableval=$enable_colourpicker;
11843 if test "$enableval" = yes; then
11844 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
11846 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
11851 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11856 eval "$wx_cv_use_colourpicker"
11858 if test x"$enablestring" = xdisable; then
11859 if test $wxUSE_COLOURPICKERCTRL = no; then
11865 result=$wxUSE_COLOURPICKERCTRL
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11869 $as_echo "$result" >&6; }
11873 defaultval=$wxUSE_ALL_FEATURES
11874 if test -z "$defaultval"; then
11875 if test x"$enablestring" = xdisable; then
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-combobox" >&5
11883 $as_echo_n "checking
for --${enablestring:-enable}-combobox...
" >&6; }
11884 # Check whether --enable-combobox was given.
11885 if test "${enable_combobox+set}" = set; then :
11886 enableval=$enable_combobox;
11887 if test "$enableval" = yes; then
11888 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11890 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11895 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11900 eval "$wx_cv_use_combobox"
11902 if test x
"$enablestring" = xdisable
; then
11903 if test $wxUSE_COMBOBOX = no
; then
11909 result
=$wxUSE_COMBOBOX
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11913 $as_echo "$result" >&6; }
11917 defaultval
=$wxUSE_ALL_FEATURES
11918 if test -z "$defaultval"; then
11919 if test x
"$enablestring" = xdisable
; then
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11927 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11928 # Check whether --enable-comboctrl was given.
11929 if test "${enable_comboctrl+set}" = set; then :
11930 enableval
=$enable_comboctrl;
11931 if test "$enableval" = yes; then
11932 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
11934 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
11939 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11944 eval "$wx_cv_use_comboctrl"
11946 if test x"$enablestring" = xdisable; then
11947 if test $wxUSE_COMBOCTRL = no; then
11953 result=$wxUSE_COMBOCTRL
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11957 $as_echo "$result" >&6; }
11961 defaultval=$wxUSE_ALL_FEATURES
11962 if test -z "$defaultval"; then
11963 if test x"$enablestring" = xdisable; then
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11971 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11972 # Check whether --enable-commandlinkbutton was given.
11973 if test "${enable_commandlinkbutton+set}" = set; then :
11974 enableval=$enable_commandlinkbutton;
11975 if test "$enableval" = yes; then
11976 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=yes'
11978 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=no
'
11983 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11988 eval "$wx_cv_use_commandlinkbutton"
11990 if test x"$enablestring" = xdisable; then
11991 if test $wxUSE_COMMANDLINKBUTTON = no; then
11997 result=$wxUSE_COMMANDLINKBUTTON
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12001 $as_echo "$result" >&6; }
12005 defaultval=$wxUSE_ALL_FEATURES
12006 if test -z "$defaultval"; then
12007 if test x"$enablestring" = xdisable; then
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dataviewctrl" >&5
12015 $as_echo_n "checking
for --${enablestring:-enable}-dataviewctrl...
" >&6; }
12016 # Check whether --enable-dataviewctrl was given.
12017 if test "${enable_dataviewctrl+set}" = set; then :
12018 enableval=$enable_dataviewctrl;
12019 if test "$enableval" = yes; then
12020 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12022 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12027 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12032 eval "$wx_cv_use_dataviewctrl"
12034 if test x
"$enablestring" = xdisable
; then
12035 if test $wxUSE_DATAVIEWCTRL = no
; then
12041 result
=$wxUSE_DATAVIEWCTRL
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12045 $as_echo "$result" >&6; }
12049 defaultval
=$wxUSE_ALL_FEATURES
12050 if test -z "$defaultval"; then
12051 if test x
"$enablestring" = xdisable
; then
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12059 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12060 # Check whether --enable-datepick was given.
12061 if test "${enable_datepick+set}" = set; then :
12062 enableval
=$enable_datepick;
12063 if test "$enableval" = yes; then
12064 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
12066 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
12071 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12076 eval "$wx_cv_use_datepick"
12078 if test x"$enablestring" = xdisable; then
12079 if test $wxUSE_DATEPICKCTRL = no; then
12085 result=$wxUSE_DATEPICKCTRL
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12089 $as_echo "$result" >&6; }
12093 defaultval=$wxUSE_ALL_FEATURES
12094 if test -z "$defaultval"; then
12095 if test x"$enablestring" = xdisable; then
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12103 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12104 # Check whether --enable-detect_sm was given.
12105 if test "${enable_detect_sm+set}" = set; then :
12106 enableval=$enable_detect_sm;
12107 if test "$enableval" = yes; then
12108 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
12110 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
12115 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12120 eval "$wx_cv_use_detect_sm"
12122 if test x"$enablestring" = xdisable; then
12123 if test $wxUSE_DETECT_SM = no; then
12129 result=$wxUSE_DETECT_SM
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12133 $as_echo "$result" >&6; }
12137 defaultval=$wxUSE_ALL_FEATURES
12138 if test -z "$defaultval"; then
12139 if test x"$enablestring" = xdisable; then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dirpicker" >&5
12147 $as_echo_n "checking
for --${enablestring:-enable}-dirpicker...
" >&6; }
12148 # Check whether --enable-dirpicker was given.
12149 if test "${enable_dirpicker+set}" = set; then :
12150 enableval=$enable_dirpicker;
12151 if test "$enableval" = yes; then
12152 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12154 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12159 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12164 eval "$wx_cv_use_dirpicker"
12166 if test x
"$enablestring" = xdisable
; then
12167 if test $wxUSE_DIRPICKERCTRL = no
; then
12173 result
=$wxUSE_DIRPICKERCTRL
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12177 $as_echo "$result" >&6; }
12181 defaultval
=$wxUSE_ALL_FEATURES
12182 if test -z "$defaultval"; then
12183 if test x
"$enablestring" = xdisable
; then
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12191 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12192 # Check whether --enable-display was given.
12193 if test "${enable_display+set}" = set; then :
12194 enableval
=$enable_display;
12195 if test "$enableval" = yes; then
12196 wx_cv_use_display
='wxUSE_DISPLAY=yes'
12198 wx_cv_use_display
='wxUSE_DISPLAY=no'
12203 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12208 eval "$wx_cv_use_display"
12210 if test x"$enablestring" = xdisable; then
12211 if test $wxUSE_DISPLAY = no; then
12217 result=$wxUSE_DISPLAY
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12221 $as_echo "$result" >&6; }
12225 defaultval=$wxUSE_ALL_FEATURES
12226 if test -z "$defaultval"; then
12227 if test x"$enablestring" = xdisable; then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12235 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12236 # Check whether --enable-editablebox was given.
12237 if test "${enable_editablebox+set}" = set; then :
12238 enableval=$enable_editablebox;
12239 if test "$enableval" = yes; then
12240 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
12242 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
12247 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12252 eval "$wx_cv_use_editablebox"
12254 if test x"$enablestring" = xdisable; then
12255 if test $wxUSE_EDITABLELISTBOX = no; then
12261 result=$wxUSE_EDITABLELISTBOX
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12265 $as_echo "$result" >&6; }
12269 defaultval=$wxUSE_ALL_FEATURES
12270 if test -z "$defaultval"; then
12271 if test x"$enablestring" = xdisable; then
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filectrl" >&5
12279 $as_echo_n "checking
for --${enablestring:-enable}-filectrl...
" >&6; }
12280 # Check whether --enable-filectrl was given.
12281 if test "${enable_filectrl+set}" = set; then :
12282 enableval=$enable_filectrl;
12283 if test "$enableval" = yes; then
12284 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12286 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12291 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12296 eval "$wx_cv_use_filectrl"
12298 if test x
"$enablestring" = xdisable
; then
12299 if test $wxUSE_FILECTRL = no
; then
12305 result
=$wxUSE_FILECTRL
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12309 $as_echo "$result" >&6; }
12313 defaultval
=$wxUSE_ALL_FEATURES
12314 if test -z "$defaultval"; then
12315 if test x
"$enablestring" = xdisable
; then
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12323 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12324 # Check whether --enable-filepicker was given.
12325 if test "${enable_filepicker+set}" = set; then :
12326 enableval
=$enable_filepicker;
12327 if test "$enableval" = yes; then
12328 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
12330 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
12335 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12340 eval "$wx_cv_use_filepicker"
12342 if test x"$enablestring" = xdisable; then
12343 if test $wxUSE_FILEPICKERCTRL = no; then
12349 result=$wxUSE_FILEPICKERCTRL
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12353 $as_echo "$result" >&6; }
12357 defaultval=$wxUSE_ALL_FEATURES
12358 if test -z "$defaultval"; then
12359 if test x"$enablestring" = xdisable; then
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12367 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12368 # Check whether --enable-fontpicker was given.
12369 if test "${enable_fontpicker+set}" = set; then :
12370 enableval=$enable_fontpicker;
12371 if test "$enableval" = yes; then
12372 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
12374 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
12379 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12384 eval "$wx_cv_use_fontpicker"
12386 if test x"$enablestring" = xdisable; then
12387 if test $wxUSE_FONTPICKERCTRL = no; then
12393 result=$wxUSE_FONTPICKERCTRL
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12397 $as_echo "$result" >&6; }
12401 defaultval=$wxUSE_ALL_FEATURES
12402 if test -z "$defaultval"; then
12403 if test x"$enablestring" = xdisable; then
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gauge" >&5
12411 $as_echo_n "checking
for --${enablestring:-enable}-gauge...
" >&6; }
12412 # Check whether --enable-gauge was given.
12413 if test "${enable_gauge+set}" = set; then :
12414 enableval=$enable_gauge;
12415 if test "$enableval" = yes; then
12416 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12418 wx_cv_use_gauge='wxUSE_GAUGE=no'
12423 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12428 eval "$wx_cv_use_gauge"
12430 if test x
"$enablestring" = xdisable
; then
12431 if test $wxUSE_GAUGE = no
; then
12437 result
=$wxUSE_GAUGE
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12441 $as_echo "$result" >&6; }
12445 defaultval
=$wxUSE_ALL_FEATURES
12446 if test -z "$defaultval"; then
12447 if test x
"$enablestring" = xdisable
; then
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12455 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12456 # Check whether --enable-grid was given.
12457 if test "${enable_grid+set}" = set; then :
12458 enableval
=$enable_grid;
12459 if test "$enableval" = yes; then
12460 wx_cv_use_grid
='wxUSE_GRID=yes'
12462 wx_cv_use_grid
='wxUSE_GRID=no'
12467 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12472 eval "$wx_cv_use_grid"
12474 if test x"$enablestring" = xdisable; then
12475 if test $wxUSE_GRID = no; then
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12485 $as_echo "$result" >&6; }
12489 defaultval=$wxUSE_ALL_FEATURES
12490 if test -z "$defaultval"; then
12491 if test x"$enablestring" = xdisable; then
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12499 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12500 # Check whether --enable-headerctrl was given.
12501 if test "${enable_headerctrl+set}" = set; then :
12502 enableval=$enable_headerctrl;
12503 if test "$enableval" = yes; then
12504 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=yes'
12506 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=no
'
12511 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12516 eval "$wx_cv_use_headerctrl"
12518 if test x"$enablestring" = xdisable; then
12519 if test $wxUSE_HEADERCTRL = no; then
12525 result=$wxUSE_HEADERCTRL
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12529 $as_echo "$result" >&6; }
12533 defaultval=$wxUSE_ALL_FEATURES
12534 if test -z "$defaultval"; then
12535 if test x"$enablestring" = xdisable; then
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-hyperlink" >&5
12543 $as_echo_n "checking
for --${enablestring:-enable}-hyperlink...
" >&6; }
12544 # Check whether --enable-hyperlink was given.
12545 if test "${enable_hyperlink+set}" = set; then :
12546 enableval=$enable_hyperlink;
12547 if test "$enableval" = yes; then
12548 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12550 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12555 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12560 eval "$wx_cv_use_hyperlink"
12562 if test x
"$enablestring" = xdisable
; then
12563 if test $wxUSE_HYPERLINKCTRL = no
; then
12569 result
=$wxUSE_HYPERLINKCTRL
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12573 $as_echo "$result" >&6; }
12577 defaultval
=$wxUSE_ALL_FEATURES
12578 if test -z "$defaultval"; then
12579 if test x
"$enablestring" = xdisable
; then
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12587 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12588 # Check whether --enable-imaglist was given.
12589 if test "${enable_imaglist+set}" = set; then :
12590 enableval
=$enable_imaglist;
12591 if test "$enableval" = yes; then
12592 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
12594 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
12599 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12604 eval "$wx_cv_use_imaglist"
12606 if test x"$enablestring" = xdisable; then
12607 if test $wxUSE_IMAGLIST = no; then
12613 result=$wxUSE_IMAGLIST
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12617 $as_echo "$result" >&6; }
12621 defaultval=$wxUSE_ALL_FEATURES
12622 if test -z "$defaultval"; then
12623 if test x"$enablestring" = xdisable; then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12631 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12632 # Check whether --enable-infobar was given.
12633 if test "${enable_infobar+set}" = set; then :
12634 enableval=$enable_infobar;
12635 if test "$enableval" = yes; then
12636 wx_cv_use_infobar='wxUSE_INFOBAR
=yes'
12638 wx_cv_use_infobar='wxUSE_INFOBAR
=no
'
12643 wx_cv_use_infobar='wxUSE_INFOBAR
=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12648 eval "$wx_cv_use_infobar"
12650 if test x"$enablestring" = xdisable; then
12651 if test $wxUSE_INFOBAR = no; then
12657 result=$wxUSE_INFOBAR
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12661 $as_echo "$result" >&6; }
12665 defaultval=$wxUSE_ALL_FEATURES
12666 if test -z "$defaultval"; then
12667 if test x"$enablestring" = xdisable; then
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listbook" >&5
12675 $as_echo_n "checking
for --${enablestring:-enable}-listbook...
" >&6; }
12676 # Check whether --enable-listbook was given.
12677 if test "${enable_listbook+set}" = set; then :
12678 enableval=$enable_listbook;
12679 if test "$enableval" = yes; then
12680 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12682 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12687 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12692 eval "$wx_cv_use_listbook"
12694 if test x
"$enablestring" = xdisable
; then
12695 if test $wxUSE_LISTBOOK = no
; then
12701 result
=$wxUSE_LISTBOOK
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12705 $as_echo "$result" >&6; }
12709 defaultval
=$wxUSE_ALL_FEATURES
12710 if test -z "$defaultval"; then
12711 if test x
"$enablestring" = xdisable
; then
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12719 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12720 # Check whether --enable-listbox was given.
12721 if test "${enable_listbox+set}" = set; then :
12722 enableval
=$enable_listbox;
12723 if test "$enableval" = yes; then
12724 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
12726 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
12731 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12736 eval "$wx_cv_use_listbox"
12738 if test x"$enablestring" = xdisable; then
12739 if test $wxUSE_LISTBOX = no; then
12745 result=$wxUSE_LISTBOX
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12749 $as_echo "$result" >&6; }
12753 defaultval=$wxUSE_ALL_FEATURES
12754 if test -z "$defaultval"; then
12755 if test x"$enablestring" = xdisable; then
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12763 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12764 # Check whether --enable-listctrl was given.
12765 if test "${enable_listctrl+set}" = set; then :
12766 enableval=$enable_listctrl;
12767 if test "$enableval" = yes; then
12768 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
12770 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
12775 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12780 eval "$wx_cv_use_listctrl"
12782 if test x"$enablestring" = xdisable; then
12783 if test $wxUSE_LISTCTRL = no; then
12789 result=$wxUSE_LISTCTRL
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12793 $as_echo "$result" >&6; }
12797 defaultval=$wxUSE_ALL_FEATURES
12798 if test -z "$defaultval"; then
12799 if test x"$enablestring" = xdisable; then
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-notebook" >&5
12807 $as_echo_n "checking
for --${enablestring:-enable}-notebook...
" >&6; }
12808 # Check whether --enable-notebook was given.
12809 if test "${enable_notebook+set}" = set; then :
12810 enableval=$enable_notebook;
12811 if test "$enableval" = yes; then
12812 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12814 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12819 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12824 eval "$wx_cv_use_notebook"
12826 if test x
"$enablestring" = xdisable
; then
12827 if test $wxUSE_NOTEBOOK = no
; then
12833 result
=$wxUSE_NOTEBOOK
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12837 $as_echo "$result" >&6; }
12841 defaultval
=$wxUSE_ALL_FEATURES
12842 if test -z "$defaultval"; then
12843 if test x
"$enablestring" = xdisable
; then
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12851 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12852 # Check whether --enable-notifmsg was given.
12853 if test "${enable_notifmsg+set}" = set; then :
12854 enableval
=$enable_notifmsg;
12855 if test "$enableval" = yes; then
12856 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
12858 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
12863 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12868 eval "$wx_cv_use_notifmsg"
12870 if test x"$enablestring" = xdisable; then
12871 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12877 result=$wxUSE_NOTIFICATION_MESSAGE
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12881 $as_echo "$result" >&6; }
12885 defaultval=$wxUSE_ALL_FEATURES
12886 if test -z "$defaultval"; then
12887 if test x"$enablestring" = xdisable; then
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12895 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12896 # Check whether --enable-odcombobox was given.
12897 if test "${enable_odcombobox+set}" = set; then :
12898 enableval=$enable_odcombobox;
12899 if test "$enableval" = yes; then
12900 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
12902 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
12907 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12912 eval "$wx_cv_use_odcombobox"
12914 if test x"$enablestring" = xdisable; then
12915 if test $wxUSE_ODCOMBOBOX = no; then
12921 result=$wxUSE_ODCOMBOBOX
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12925 $as_echo "$result" >&6; }
12929 defaultval=$wxUSE_ALL_FEATURES
12930 if test -z "$defaultval"; then
12931 if test x"$enablestring" = xdisable; then
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-popupwin" >&5
12939 $as_echo_n "checking
for --${enablestring:-enable}-popupwin...
" >&6; }
12940 # Check whether --enable-popupwin was given.
12941 if test "${enable_popupwin+set}" = set; then :
12942 enableval=$enable_popupwin;
12943 if test "$enableval" = yes; then
12944 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12946 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12951 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12956 eval "$wx_cv_use_popupwin"
12958 if test x
"$enablestring" = xdisable
; then
12959 if test $wxUSE_POPUPWIN = no
; then
12965 result
=$wxUSE_POPUPWIN
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12969 $as_echo "$result" >&6; }
12973 defaultval
=$wxUSE_ALL_FEATURES
12974 if test -z "$defaultval"; then
12975 if test x
"$enablestring" = xdisable
; then
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12983 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12984 # Check whether --enable-radiobox was given.
12985 if test "${enable_radiobox+set}" = set; then :
12986 enableval
=$enable_radiobox;
12987 if test "$enableval" = yes; then
12988 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
12990 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
12995 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13000 eval "$wx_cv_use_radiobox"
13002 if test x"$enablestring" = xdisable; then
13003 if test $wxUSE_RADIOBOX = no; then
13009 result=$wxUSE_RADIOBOX
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13013 $as_echo "$result" >&6; }
13017 defaultval=$wxUSE_ALL_FEATURES
13018 if test -z "$defaultval"; then
13019 if test x"$enablestring" = xdisable; then
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13027 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13028 # Check whether --enable-radiobtn was given.
13029 if test "${enable_radiobtn+set}" = set; then :
13030 enableval=$enable_radiobtn;
13031 if test "$enableval" = yes; then
13032 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
13034 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
13039 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13044 eval "$wx_cv_use_radiobtn"
13046 if test x"$enablestring" = xdisable; then
13047 if test $wxUSE_RADIOBTN = no; then
13053 result=$wxUSE_RADIOBTN
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13057 $as_echo "$result" >&6; }
13061 defaultval=$wxUSE_ALL_FEATURES
13062 if test -z "$defaultval"; then
13063 if test x"$enablestring" = xdisable; then
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-richmsgdlg" >&5
13071 $as_echo_n "checking
for --${enablestring:-enable}-richmsgdlg...
" >&6; }
13072 # Check whether --enable-richmsgdlg was given.
13073 if test "${enable_richmsgdlg+set}" = set; then :
13074 enableval=$enable_richmsgdlg;
13075 if test "$enableval" = yes; then
13076 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13078 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13083 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13088 eval "$wx_cv_use_richmsgdlg"
13090 if test x
"$enablestring" = xdisable
; then
13091 if test $wxUSE_RICHMSGDLG = no
; then
13097 result
=$wxUSE_RICHMSGDLG
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13101 $as_echo "$result" >&6; }
13105 defaultval
=$wxUSE_ALL_FEATURES
13106 if test -z "$defaultval"; then
13107 if test x
"$enablestring" = xdisable
; then
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13115 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13116 # Check whether --enable-richtooltip was given.
13117 if test "${enable_richtooltip+set}" = set; then :
13118 enableval
=$enable_richtooltip;
13119 if test "$enableval" = yes; then
13120 wx_cv_use_richtooltip
='wxUSE_RICHTOOLTIP=yes'
13122 wx_cv_use_richtooltip
='wxUSE_RICHTOOLTIP=no'
13127 wx_cv_use_richtooltip
='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13132 eval "$wx_cv_use_richtooltip"
13134 if test x"$enablestring" = xdisable; then
13135 if test $wxUSE_RICHTOOLTIP = no; then
13141 result=$wxUSE_RICHTOOLTIP
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13145 $as_echo "$result" >&6; }
13149 defaultval=$wxUSE_ALL_FEATURES
13150 if test -z "$defaultval"; then
13151 if test x"$enablestring" = xdisable; then
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13159 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13160 # Check whether --enable-rearrangectrl was given.
13161 if test "${enable_rearrangectrl+set}" = set; then :
13162 enableval=$enable_rearrangectrl;
13163 if test "$enableval" = yes; then
13164 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
13166 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
13171 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13176 eval "$wx_cv_use_rearrangectrl"
13178 if test x"$enablestring" = xdisable; then
13179 if test $wxUSE_REARRANGECTRL = no; then
13185 result=$wxUSE_REARRANGECTRL
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13189 $as_echo "$result" >&6; }
13193 defaultval=$wxUSE_ALL_FEATURES
13194 if test -z "$defaultval"; then
13195 if test x"$enablestring" = xdisable; then
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sash" >&5
13203 $as_echo_n "checking
for --${enablestring:-enable}-sash...
" >&6; }
13204 # Check whether --enable-sash was given.
13205 if test "${enable_sash+set}" = set; then :
13206 enableval=$enable_sash;
13207 if test "$enableval" = yes; then
13208 wx_cv_use_sash='wxUSE_SASH=yes'
13210 wx_cv_use_sash='wxUSE_SASH=no'
13215 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13220 eval "$wx_cv_use_sash"
13222 if test x
"$enablestring" = xdisable
; then
13223 if test $wxUSE_SASH = no
; then
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13233 $as_echo "$result" >&6; }
13237 defaultval
=$wxUSE_ALL_FEATURES
13238 if test -z "$defaultval"; then
13239 if test x
"$enablestring" = xdisable
; then
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13247 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13248 # Check whether --enable-scrollbar was given.
13249 if test "${enable_scrollbar+set}" = set; then :
13250 enableval
=$enable_scrollbar;
13251 if test "$enableval" = yes; then
13252 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
13254 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
13259 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13264 eval "$wx_cv_use_scrollbar"
13266 if test x"$enablestring" = xdisable; then
13267 if test $wxUSE_SCROLLBAR = no; then
13273 result=$wxUSE_SCROLLBAR
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13277 $as_echo "$result" >&6; }
13281 defaultval=$wxUSE_ALL_FEATURES
13282 if test -z "$defaultval"; then
13283 if test x"$enablestring" = xdisable; then
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13291 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13292 # Check whether --enable-searchctrl was given.
13293 if test "${enable_searchctrl+set}" = set; then :
13294 enableval=$enable_searchctrl;
13295 if test "$enableval" = yes; then
13296 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
13298 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
13303 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13308 eval "$wx_cv_use_searchctrl"
13310 if test x"$enablestring" = xdisable; then
13311 if test $wxUSE_SEARCHCTRL = no; then
13317 result=$wxUSE_SEARCHCTRL
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13321 $as_echo "$result" >&6; }
13325 defaultval=$wxUSE_ALL_FEATURES
13326 if test -z "$defaultval"; then
13327 if test x"$enablestring" = xdisable; then
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-slider" >&5
13335 $as_echo_n "checking
for --${enablestring:-enable}-slider...
" >&6; }
13336 # Check whether --enable-slider was given.
13337 if test "${enable_slider+set}" = set; then :
13338 enableval=$enable_slider;
13339 if test "$enableval" = yes; then
13340 wx_cv_use_slider='wxUSE_SLIDER=yes'
13342 wx_cv_use_slider='wxUSE_SLIDER=no'
13347 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13352 eval "$wx_cv_use_slider"
13354 if test x
"$enablestring" = xdisable
; then
13355 if test $wxUSE_SLIDER = no
; then
13361 result
=$wxUSE_SLIDER
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13365 $as_echo "$result" >&6; }
13369 defaultval
=$wxUSE_ALL_FEATURES
13370 if test -z "$defaultval"; then
13371 if test x
"$enablestring" = xdisable
; then
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13379 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13380 # Check whether --enable-spinbtn was given.
13381 if test "${enable_spinbtn+set}" = set; then :
13382 enableval
=$enable_spinbtn;
13383 if test "$enableval" = yes; then
13384 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
13386 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
13391 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13396 eval "$wx_cv_use_spinbtn"
13398 if test x"$enablestring" = xdisable; then
13399 if test $wxUSE_SPINBTN = no; then
13405 result=$wxUSE_SPINBTN
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13409 $as_echo "$result" >&6; }
13413 defaultval=$wxUSE_ALL_FEATURES
13414 if test -z "$defaultval"; then
13415 if test x"$enablestring" = xdisable; then
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13423 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13424 # Check whether --enable-spinctrl was given.
13425 if test "${enable_spinctrl+set}" = set; then :
13426 enableval=$enable_spinctrl;
13427 if test "$enableval" = yes; then
13428 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
13430 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
13435 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13440 eval "$wx_cv_use_spinctrl"
13442 if test x"$enablestring" = xdisable; then
13443 if test $wxUSE_SPINCTRL = no; then
13449 result=$wxUSE_SPINCTRL
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13453 $as_echo "$result" >&6; }
13457 defaultval=$wxUSE_ALL_FEATURES
13458 if test -z "$defaultval"; then
13459 if test x"$enablestring" = xdisable; then
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-splitter" >&5
13467 $as_echo_n "checking
for --${enablestring:-enable}-splitter...
" >&6; }
13468 # Check whether --enable-splitter was given.
13469 if test "${enable_splitter+set}" = set; then :
13470 enableval=$enable_splitter;
13471 if test "$enableval" = yes; then
13472 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13474 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13479 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13484 eval "$wx_cv_use_splitter"
13486 if test x
"$enablestring" = xdisable
; then
13487 if test $wxUSE_SPLITTER = no
; then
13493 result
=$wxUSE_SPLITTER
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13497 $as_echo "$result" >&6; }
13501 defaultval
=$wxUSE_ALL_FEATURES
13502 if test -z "$defaultval"; then
13503 if test x
"$enablestring" = xdisable
; then
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13511 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13512 # Check whether --enable-statbmp was given.
13513 if test "${enable_statbmp+set}" = set; then :
13514 enableval
=$enable_statbmp;
13515 if test "$enableval" = yes; then
13516 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
13518 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
13523 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13528 eval "$wx_cv_use_statbmp"
13530 if test x"$enablestring" = xdisable; then
13531 if test $wxUSE_STATBMP = no; then
13537 result=$wxUSE_STATBMP
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13541 $as_echo "$result" >&6; }
13545 defaultval=$wxUSE_ALL_FEATURES
13546 if test -z "$defaultval"; then
13547 if test x"$enablestring" = xdisable; then
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13555 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13556 # Check whether --enable-statbox was given.
13557 if test "${enable_statbox+set}" = set; then :
13558 enableval=$enable_statbox;
13559 if test "$enableval" = yes; then
13560 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
13562 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
13567 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13572 eval "$wx_cv_use_statbox"
13574 if test x"$enablestring" = xdisable; then
13575 if test $wxUSE_STATBOX = no; then
13581 result=$wxUSE_STATBOX
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13585 $as_echo "$result" >&6; }
13589 defaultval=$wxUSE_ALL_FEATURES
13590 if test -z "$defaultval"; then
13591 if test x"$enablestring" = xdisable; then
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statline" >&5
13599 $as_echo_n "checking
for --${enablestring:-enable}-statline...
" >&6; }
13600 # Check whether --enable-statline was given.
13601 if test "${enable_statline+set}" = set; then :
13602 enableval=$enable_statline;
13603 if test "$enableval" = yes; then
13604 wx_cv_use_statline='wxUSE_STATLINE=yes'
13606 wx_cv_use_statline='wxUSE_STATLINE=no'
13611 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13616 eval "$wx_cv_use_statline"
13618 if test x
"$enablestring" = xdisable
; then
13619 if test $wxUSE_STATLINE = no
; then
13625 result
=$wxUSE_STATLINE
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13629 $as_echo "$result" >&6; }
13633 defaultval
=$wxUSE_ALL_FEATURES
13634 if test -z "$defaultval"; then
13635 if test x
"$enablestring" = xdisable
; then
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13643 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13644 # Check whether --enable-stattext was given.
13645 if test "${enable_stattext+set}" = set; then :
13646 enableval
=$enable_stattext;
13647 if test "$enableval" = yes; then
13648 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
13650 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
13655 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13660 eval "$wx_cv_use_stattext"
13662 if test x"$enablestring" = xdisable; then
13663 if test $wxUSE_STATTEXT = no; then
13669 result=$wxUSE_STATTEXT
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13673 $as_echo "$result" >&6; }
13677 defaultval=$wxUSE_ALL_FEATURES
13678 if test -z "$defaultval"; then
13679 if test x"$enablestring" = xdisable; then
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13687 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13688 # Check whether --enable-statusbar was given.
13689 if test "${enable_statusbar+set}" = set; then :
13690 enableval=$enable_statusbar;
13691 if test "$enableval" = yes; then
13692 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
13694 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
13699 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13704 eval "$wx_cv_use_statusbar"
13706 if test x"$enablestring" = xdisable; then
13707 if test $wxUSE_STATUSBAR = no; then
13713 result=$wxUSE_STATUSBAR
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13717 $as_echo "$result" >&6; }
13721 defaultval=$wxUSE_ALL_FEATURES
13722 if test -z "$defaultval"; then
13723 if test x"$enablestring" = xdisable; then
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-taskbaricon" >&5
13731 $as_echo_n "checking
for --${enablestring:-enable}-taskbaricon...
" >&6; }
13732 # Check whether --enable-taskbaricon was given.
13733 if test "${enable_taskbaricon+set}" = set; then :
13734 enableval=$enable_taskbaricon;
13735 if test "$enableval" = yes; then
13736 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13738 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13743 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13748 eval "$wx_cv_use_taskbaricon"
13750 if test x
"$enablestring" = xdisable
; then
13751 if test $wxUSE_TASKBARICON = no
; then
13757 result
=$wxUSE_TASKBARICON
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13761 $as_echo "$result" >&6; }
13765 defaultval
=$wxUSE_ALL_FEATURES
13766 if test -z "$defaultval"; then
13767 if test x
"$enablestring" = xdisable
; then
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13775 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13776 # Check whether --enable-tbarnative was given.
13777 if test "${enable_tbarnative+set}" = set; then :
13778 enableval
=$enable_tbarnative;
13779 if test "$enableval" = yes; then
13780 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
13782 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
13787 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13792 eval "$wx_cv_use_tbarnative"
13794 if test x"$enablestring" = xdisable; then
13795 if test $wxUSE_TOOLBAR_NATIVE = no; then
13801 result=$wxUSE_TOOLBAR_NATIVE
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13805 $as_echo "$result" >&6; }
13809 defaultval=$wxUSE_ALL_FEATURES
13810 if test -z "$defaultval"; then
13811 if test x"$enablestring" = xdisable; then
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13819 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13820 # Check whether --enable-textctrl was given.
13821 if test "${enable_textctrl+set}" = set; then :
13822 enableval=$enable_textctrl;
13823 if test "$enableval" = yes; then
13824 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
13826 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
13831 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13836 eval "$wx_cv_use_textctrl"
13838 if test x"$enablestring" = xdisable; then
13839 if test $wxUSE_TEXTCTRL = no; then
13845 result=$wxUSE_TEXTCTRL
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13849 $as_echo "$result" >&6; }
13853 defaultval=$wxUSE_ALL_FEATURES
13854 if test -z "$defaultval"; then
13855 if test x"$enablestring" = xdisable; then
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datepick" >&5
13863 $as_echo_n "checking
for --${enablestring:-enable}-datepick...
" >&6; }
13864 # Check whether --enable-datepick was given.
13865 if test "${enable_datepick+set}" = set; then :
13866 enableval=$enable_datepick;
13867 if test "$enableval" = yes; then
13868 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13870 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13875 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13880 eval "$wx_cv_use_datepick"
13882 if test x
"$enablestring" = xdisable
; then
13883 if test $wxUSE_TIMEPICKCTRL = no
; then
13889 result
=$wxUSE_TIMEPICKCTRL
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13893 $as_echo "$result" >&6; }
13897 defaultval
=$wxUSE_ALL_FEATURES
13898 if test -z "$defaultval"; then
13899 if test x
"$enablestring" = xdisable
; then
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13907 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13908 # Check whether --enable-tipwindow was given.
13909 if test "${enable_tipwindow+set}" = set; then :
13910 enableval
=$enable_tipwindow;
13911 if test "$enableval" = yes; then
13912 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
13914 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
13919 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13924 eval "$wx_cv_use_tipwindow"
13926 if test x"$enablestring" = xdisable; then
13927 if test $wxUSE_TIPWINDOW = no; then
13933 result=$wxUSE_TIPWINDOW
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13937 $as_echo "$result" >&6; }
13941 defaultval=$wxUSE_ALL_FEATURES
13942 if test -z "$defaultval"; then
13943 if test x"$enablestring" = xdisable; then
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13951 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13952 # Check whether --enable-togglebtn was given.
13953 if test "${enable_togglebtn+set}" = set; then :
13954 enableval=$enable_togglebtn;
13955 if test "$enableval" = yes; then
13956 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
13958 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
13963 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13968 eval "$wx_cv_use_togglebtn"
13970 if test x"$enablestring" = xdisable; then
13971 if test $wxUSE_TOGGLEBTN = no; then
13977 result=$wxUSE_TOGGLEBTN
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13981 $as_echo "$result" >&6; }
13985 defaultval=$wxUSE_ALL_FEATURES
13986 if test -z "$defaultval"; then
13987 if test x"$enablestring" = xdisable; then
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-toolbar" >&5
13995 $as_echo_n "checking
for --${enablestring:-enable}-toolbar...
" >&6; }
13996 # Check whether --enable-toolbar was given.
13997 if test "${enable_toolbar+set}" = set; then :
13998 enableval=$enable_toolbar;
13999 if test "$enableval" = yes; then
14000 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
14002 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
14007 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14012 eval "$wx_cv_use_toolbar"
14014 if test x
"$enablestring" = xdisable
; then
14015 if test $wxUSE_TOOLBAR = no
; then
14021 result
=$wxUSE_TOOLBAR
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14025 $as_echo "$result" >&6; }
14029 defaultval
=$wxUSE_ALL_FEATURES
14030 if test -z "$defaultval"; then
14031 if test x
"$enablestring" = xdisable
; then
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14039 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14040 # Check whether --enable-toolbook was given.
14041 if test "${enable_toolbook+set}" = set; then :
14042 enableval
=$enable_toolbook;
14043 if test "$enableval" = yes; then
14044 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
14046 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
14051 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14056 eval "$wx_cv_use_toolbook"
14058 if test x"$enablestring" = xdisable; then
14059 if test $wxUSE_TOOLBOOK = no; then
14065 result=$wxUSE_TOOLBOOK
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14069 $as_echo "$result" >&6; }
14073 defaultval=$wxUSE_ALL_FEATURES
14074 if test -z "$defaultval"; then
14075 if test x"$enablestring" = xdisable; then
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14083 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14084 # Check whether --enable-treebook was given.
14085 if test "${enable_treebook+set}" = set; then :
14086 enableval=$enable_treebook;
14087 if test "$enableval" = yes; then
14088 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
14090 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
14095 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14100 eval "$wx_cv_use_treebook"
14102 if test x"$enablestring" = xdisable; then
14103 if test $wxUSE_TREEBOOK = no; then
14109 result=$wxUSE_TREEBOOK
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14113 $as_echo "$result" >&6; }
14117 defaultval=$wxUSE_ALL_FEATURES
14118 if test -z "$defaultval"; then
14119 if test x"$enablestring" = xdisable; then
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treectrl" >&5
14127 $as_echo_n "checking
for --${enablestring:-enable}-treectrl...
" >&6; }
14128 # Check whether --enable-treectrl was given.
14129 if test "${enable_treectrl+set}" = set; then :
14130 enableval=$enable_treectrl;
14131 if test "$enableval" = yes; then
14132 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14134 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14139 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14144 eval "$wx_cv_use_treectrl"
14146 if test x
"$enablestring" = xdisable
; then
14147 if test $wxUSE_TREECTRL = no
; then
14153 result
=$wxUSE_TREECTRL
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14157 $as_echo "$result" >&6; }
14161 defaultval
=$wxUSE_ALL_FEATURES
14162 if test -z "$defaultval"; then
14163 if test x
"$enablestring" = xdisable
; then
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14171 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14172 # Check whether --enable-treelist was given.
14173 if test "${enable_treelist+set}" = set; then :
14174 enableval
=$enable_treelist;
14175 if test "$enableval" = yes; then
14176 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=yes'
14178 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=no'
14183 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14188 eval "$wx_cv_use_treelist"
14190 if test x"$enablestring" = xdisable; then
14191 if test $wxUSE_TREELISTCTRL = no; then
14197 result=$wxUSE_TREELISTCTRL
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14201 $as_echo "$result" >&6; }
14207 defaultval=$wxUSE_ALL_FEATURES
14208 if test -z "$defaultval"; then
14209 if test x"$enablestring" = xdisable; then
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14217 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14218 # Check whether --enable-commondlg was given.
14219 if test "${enable_commondlg+set}" = set; then :
14220 enableval=$enable_commondlg;
14221 if test "$enableval" = yes; then
14222 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
14224 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
14229 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14234 eval "$wx_cv_use_commondlg"
14236 if test x"$enablestring" = xdisable; then
14237 if test $wxUSE_COMMONDLGS = no; then
14243 result=$wxUSE_COMMONDLGS
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14247 $as_echo "$result" >&6; }
14251 defaultval=$wxUSE_ALL_FEATURES
14252 if test -z "$defaultval"; then
14253 if test x"$enablestring" = xdisable; then
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-aboutdlg" >&5
14261 $as_echo_n "checking
for --${enablestring:-enable}-aboutdlg...
" >&6; }
14262 # Check whether --enable-aboutdlg was given.
14263 if test "${enable_aboutdlg+set}" = set; then :
14264 enableval=$enable_aboutdlg;
14265 if test "$enableval" = yes; then
14266 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14268 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14273 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14278 eval "$wx_cv_use_aboutdlg"
14280 if test x
"$enablestring" = xdisable
; then
14281 if test $wxUSE_ABOUTDLG = no
; then
14287 result
=$wxUSE_ABOUTDLG
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14291 $as_echo "$result" >&6; }
14295 defaultval
=$wxUSE_ALL_FEATURES
14296 if test -z "$defaultval"; then
14297 if test x
"$enablestring" = xdisable
; then
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14305 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14306 # Check whether --enable-choicedlg was given.
14307 if test "${enable_choicedlg+set}" = set; then :
14308 enableval
=$enable_choicedlg;
14309 if test "$enableval" = yes; then
14310 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
14312 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
14317 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14322 eval "$wx_cv_use_choicedlg"
14324 if test x"$enablestring" = xdisable; then
14325 if test $wxUSE_CHOICEDLG = no; then
14331 result=$wxUSE_CHOICEDLG
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14335 $as_echo "$result" >&6; }
14339 defaultval=$wxUSE_ALL_FEATURES
14340 if test -z "$defaultval"; then
14341 if test x"$enablestring" = xdisable; then
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14349 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14350 # Check whether --enable-coldlg was given.
14351 if test "${enable_coldlg+set}" = set; then :
14352 enableval=$enable_coldlg;
14353 if test "$enableval" = yes; then
14354 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
14356 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
14361 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14366 eval "$wx_cv_use_coldlg"
14368 if test x"$enablestring" = xdisable; then
14369 if test $wxUSE_COLOURDLG = no; then
14375 result=$wxUSE_COLOURDLG
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14379 $as_echo "$result" >&6; }
14383 defaultval=$wxUSE_ALL_FEATURES
14384 if test -z "$defaultval"; then
14385 if test x"$enablestring" = xdisable; then
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filedlg" >&5
14393 $as_echo_n "checking
for --${enablestring:-enable}-filedlg...
" >&6; }
14394 # Check whether --enable-filedlg was given.
14395 if test "${enable_filedlg+set}" = set; then :
14396 enableval=$enable_filedlg;
14397 if test "$enableval" = yes; then
14398 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14400 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14405 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14410 eval "$wx_cv_use_filedlg"
14412 if test x
"$enablestring" = xdisable
; then
14413 if test $wxUSE_FILEDLG = no
; then
14419 result
=$wxUSE_FILEDLG
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14423 $as_echo "$result" >&6; }
14427 defaultval
=$wxUSE_ALL_FEATURES
14428 if test -z "$defaultval"; then
14429 if test x
"$enablestring" = xdisable
; then
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14437 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14438 # Check whether --enable-finddlg was given.
14439 if test "${enable_finddlg+set}" = set; then :
14440 enableval
=$enable_finddlg;
14441 if test "$enableval" = yes; then
14442 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
14444 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
14449 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14454 eval "$wx_cv_use_finddlg"
14456 if test x"$enablestring" = xdisable; then
14457 if test $wxUSE_FINDREPLDLG = no; then
14463 result=$wxUSE_FINDREPLDLG
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14467 $as_echo "$result" >&6; }
14471 defaultval=$wxUSE_ALL_FEATURES
14472 if test -z "$defaultval"; then
14473 if test x"$enablestring" = xdisable; then
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14481 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14482 # Check whether --enable-fontdlg was given.
14483 if test "${enable_fontdlg+set}" = set; then :
14484 enableval=$enable_fontdlg;
14485 if test "$enableval" = yes; then
14486 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
14488 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
14493 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14498 eval "$wx_cv_use_fontdlg"
14500 if test x"$enablestring" = xdisable; then
14501 if test $wxUSE_FONTDLG = no; then
14507 result=$wxUSE_FONTDLG
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14511 $as_echo "$result" >&6; }
14515 defaultval=$wxUSE_ALL_FEATURES
14516 if test -z "$defaultval"; then
14517 if test x"$enablestring" = xdisable; then
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dirdlg" >&5
14525 $as_echo_n "checking
for --${enablestring:-enable}-dirdlg...
" >&6; }
14526 # Check whether --enable-dirdlg was given.
14527 if test "${enable_dirdlg+set}" = set; then :
14528 enableval=$enable_dirdlg;
14529 if test "$enableval" = yes; then
14530 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14532 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14537 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14542 eval "$wx_cv_use_dirdlg"
14544 if test x
"$enablestring" = xdisable
; then
14545 if test $wxUSE_DIRDLG = no
; then
14551 result
=$wxUSE_DIRDLG
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14555 $as_echo "$result" >&6; }
14559 defaultval
=$wxUSE_ALL_FEATURES
14560 if test -z "$defaultval"; then
14561 if test x
"$enablestring" = xdisable
; then
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14569 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14570 # Check whether --enable-msgdlg was given.
14571 if test "${enable_msgdlg+set}" = set; then :
14572 enableval
=$enable_msgdlg;
14573 if test "$enableval" = yes; then
14574 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
14576 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
14581 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14586 eval "$wx_cv_use_msgdlg"
14588 if test x"$enablestring" = xdisable; then
14589 if test $wxUSE_MSGDLG = no; then
14595 result=$wxUSE_MSGDLG
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14599 $as_echo "$result" >&6; }
14603 defaultval=$wxUSE_ALL_FEATURES
14604 if test -z "$defaultval"; then
14605 if test x"$enablestring" = xdisable; then
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14613 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14614 # Check whether --enable-numberdlg was given.
14615 if test "${enable_numberdlg+set}" = set; then :
14616 enableval=$enable_numberdlg;
14617 if test "$enableval" = yes; then
14618 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
14620 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
14625 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14630 eval "$wx_cv_use_numberdlg"
14632 if test x"$enablestring" = xdisable; then
14633 if test $wxUSE_NUMBERDLG = no; then
14639 result=$wxUSE_NUMBERDLG
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14643 $as_echo "$result" >&6; }
14647 defaultval=$wxUSE_ALL_FEATURES
14648 if test -z "$defaultval"; then
14649 if test x"$enablestring" = xdisable; then
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-splash" >&5
14657 $as_echo_n "checking
for --${enablestring:-enable}-splash...
" >&6; }
14658 # Check whether --enable-splash was given.
14659 if test "${enable_splash+set}" = set; then :
14660 enableval=$enable_splash;
14661 if test "$enableval" = yes; then
14662 wx_cv_use_splash='wxUSE_SPLASH=yes'
14664 wx_cv_use_splash='wxUSE_SPLASH=no'
14669 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14674 eval "$wx_cv_use_splash"
14676 if test x
"$enablestring" = xdisable
; then
14677 if test $wxUSE_SPLASH = no
; then
14683 result
=$wxUSE_SPLASH
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14687 $as_echo "$result" >&6; }
14691 defaultval
=$wxUSE_ALL_FEATURES
14692 if test -z "$defaultval"; then
14693 if test x
"$enablestring" = xdisable
; then
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14701 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14702 # Check whether --enable-textdlg was given.
14703 if test "${enable_textdlg+set}" = set; then :
14704 enableval
=$enable_textdlg;
14705 if test "$enableval" = yes; then
14706 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
14708 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
14713 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14718 eval "$wx_cv_use_textdlg"
14720 if test x"$enablestring" = xdisable; then
14721 if test $wxUSE_TEXTDLG = no; then
14727 result=$wxUSE_TEXTDLG
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14731 $as_echo "$result" >&6; }
14735 defaultval=$wxUSE_ALL_FEATURES
14736 if test -z "$defaultval"; then
14737 if test x"$enablestring" = xdisable; then
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14745 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14746 # Check whether --enable-tipdlg was given.
14747 if test "${enable_tipdlg+set}" = set; then :
14748 enableval=$enable_tipdlg;
14749 if test "$enableval" = yes; then
14750 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
14752 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
14757 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14762 eval "$wx_cv_use_tipdlg"
14764 if test x"$enablestring" = xdisable; then
14765 if test $wxUSE_STARTUP_TIPS = no; then
14771 result=$wxUSE_STARTUP_TIPS
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14775 $as_echo "$result" >&6; }
14779 defaultval=$wxUSE_ALL_FEATURES
14780 if test -z "$defaultval"; then
14781 if test x"$enablestring" = xdisable; then
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-progressdlg" >&5
14789 $as_echo_n "checking
for --${enablestring:-enable}-progressdlg...
" >&6; }
14790 # Check whether --enable-progressdlg was given.
14791 if test "${enable_progressdlg+set}" = set; then :
14792 enableval=$enable_progressdlg;
14793 if test "$enableval" = yes; then
14794 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14796 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14801 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14806 eval "$wx_cv_use_progressdlg"
14808 if test x
"$enablestring" = xdisable
; then
14809 if test $wxUSE_PROGRESSDLG = no
; then
14815 result
=$wxUSE_PROGRESSDLG
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14819 $as_echo "$result" >&6; }
14823 defaultval
=$wxUSE_ALL_FEATURES
14824 if test -z "$defaultval"; then
14825 if test x
"$enablestring" = xdisable
; then
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14833 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14834 # Check whether --enable-wizarddlg was given.
14835 if test "${enable_wizarddlg+set}" = set; then :
14836 enableval
=$enable_wizarddlg;
14837 if test "$enableval" = yes; then
14838 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
14840 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
14845 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14850 eval "$wx_cv_use_wizarddlg"
14852 if test x"$enablestring" = xdisable; then
14853 if test $wxUSE_WIZARDDLG = no; then
14859 result=$wxUSE_WIZARDDLG
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14863 $as_echo "$result" >&6; }
14869 defaultval=$wxUSE_ALL_FEATURES
14870 if test -z "$defaultval"; then
14871 if test x"$enablestring" = xdisable; then
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14879 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14880 # Check whether --enable-menus was given.
14881 if test "${enable_menus+set}" = set; then :
14882 enableval=$enable_menus;
14883 if test "$enableval" = yes; then
14884 wx_cv_use_menus='wxUSE_MENUS
=yes'
14886 wx_cv_use_menus='wxUSE_MENUS
=no
'
14891 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14896 eval "$wx_cv_use_menus"
14898 if test x"$enablestring" = xdisable; then
14899 if test $wxUSE_MENUS = no; then
14905 result=$wxUSE_MENUS
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14909 $as_echo "$result" >&6; }
14913 defaultval=$wxUSE_ALL_FEATURES
14914 if test -z "$defaultval"; then
14915 if test x"$enablestring" = xdisable; then
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-miniframe" >&5
14923 $as_echo_n "checking
for --${enablestring:-enable}-miniframe...
" >&6; }
14924 # Check whether --enable-miniframe was given.
14925 if test "${enable_miniframe+set}" = set; then :
14926 enableval=$enable_miniframe;
14927 if test "$enableval" = yes; then
14928 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14930 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14935 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14940 eval "$wx_cv_use_miniframe"
14942 if test x
"$enablestring" = xdisable
; then
14943 if test $wxUSE_MINIFRAME = no
; then
14949 result
=$wxUSE_MINIFRAME
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14953 $as_echo "$result" >&6; }
14957 defaultval
=$wxUSE_ALL_FEATURES
14958 if test -z "$defaultval"; then
14959 if test x
"$enablestring" = xdisable
; then
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14967 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14968 # Check whether --enable-tooltips was given.
14969 if test "${enable_tooltips+set}" = set; then :
14970 enableval
=$enable_tooltips;
14971 if test "$enableval" = yes; then
14972 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
14974 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
14979 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14984 eval "$wx_cv_use_tooltips"
14986 if test x"$enablestring" = xdisable; then
14987 if test $wxUSE_TOOLTIPS = no; then
14993 result=$wxUSE_TOOLTIPS
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14997 $as_echo "$result" >&6; }
15001 defaultval=$wxUSE_ALL_FEATURES
15002 if test -z "$defaultval"; then
15003 if test x"$enablestring" = xdisable; then
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15011 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15012 # Check whether --enable-splines was given.
15013 if test "${enable_splines+set}" = set; then :
15014 enableval=$enable_splines;
15015 if test "$enableval" = yes; then
15016 wx_cv_use_splines='wxUSE_SPLINES
=yes'
15018 wx_cv_use_splines='wxUSE_SPLINES
=no
'
15023 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15028 eval "$wx_cv_use_splines"
15030 if test x"$enablestring" = xdisable; then
15031 if test $wxUSE_SPLINES = no; then
15037 result=$wxUSE_SPLINES
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15041 $as_echo "$result" >&6; }
15045 defaultval=$wxUSE_ALL_FEATURES
15046 if test -z "$defaultval"; then
15047 if test x"$enablestring" = xdisable; then
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mousewheel" >&5
15055 $as_echo_n "checking
for --${enablestring:-enable}-mousewheel...
" >&6; }
15056 # Check whether --enable-mousewheel was given.
15057 if test "${enable_mousewheel+set}" = set; then :
15058 enableval=$enable_mousewheel;
15059 if test "$enableval" = yes; then
15060 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15062 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15067 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15072 eval "$wx_cv_use_mousewheel"
15074 if test x
"$enablestring" = xdisable
; then
15075 if test $wxUSE_MOUSEWHEEL = no
; then
15081 result
=$wxUSE_MOUSEWHEEL
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15085 $as_echo "$result" >&6; }
15089 defaultval
=$wxUSE_ALL_FEATURES
15090 if test -z "$defaultval"; then
15091 if test x
"$enablestring" = xdisable
; then
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15099 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15100 # Check whether --enable-validators was given.
15101 if test "${enable_validators+set}" = set; then :
15102 enableval
=$enable_validators;
15103 if test "$enableval" = yes; then
15104 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
15106 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
15111 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15116 eval "$wx_cv_use_validators"
15118 if test x"$enablestring" = xdisable; then
15119 if test $wxUSE_VALIDATORS = no; then
15125 result=$wxUSE_VALIDATORS
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15129 $as_echo "$result" >&6; }
15133 defaultval=$wxUSE_ALL_FEATURES
15134 if test -z "$defaultval"; then
15135 if test x"$enablestring" = xdisable; then
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15143 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15144 # Check whether --enable-busyinfo was given.
15145 if test "${enable_busyinfo+set}" = set; then :
15146 enableval=$enable_busyinfo;
15147 if test "$enableval" = yes; then
15148 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
15150 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
15155 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15160 eval "$wx_cv_use_busyinfo"
15162 if test x"$enablestring" = xdisable; then
15163 if test $wxUSE_BUSYINFO = no; then
15169 result=$wxUSE_BUSYINFO
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15173 $as_echo "$result" >&6; }
15177 defaultval=$wxUSE_ALL_FEATURES
15178 if test -z "$defaultval"; then
15179 if test x"$enablestring" = xdisable; then
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-hotkey" >&5
15187 $as_echo_n "checking
for --${enablestring:-enable}-hotkey...
" >&6; }
15188 # Check whether --enable-hotkey was given.
15189 if test "${enable_hotkey+set}" = set; then :
15190 enableval=$enable_hotkey;
15191 if test "$enableval" = yes; then
15192 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15194 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15199 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15204 eval "$wx_cv_use_hotkey"
15206 if test x
"$enablestring" = xdisable
; then
15207 if test $wxUSE_HOTKEY = no
; then
15213 result
=$wxUSE_HOTKEY
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15217 $as_echo "$result" >&6; }
15221 defaultval
=$wxUSE_ALL_FEATURES
15222 if test -z "$defaultval"; then
15223 if test x
"$enablestring" = xdisable
; then
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15231 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15232 # Check whether --enable-joystick was given.
15233 if test "${enable_joystick+set}" = set; then :
15234 enableval
=$enable_joystick;
15235 if test "$enableval" = yes; then
15236 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
15238 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
15243 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15248 eval "$wx_cv_use_joystick"
15250 if test x"$enablestring" = xdisable; then
15251 if test $wxUSE_JOYSTICK = no; then
15257 result=$wxUSE_JOYSTICK
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15261 $as_echo "$result" >&6; }
15265 defaultval=$wxUSE_ALL_FEATURES
15266 if test -z "$defaultval"; then
15267 if test x"$enablestring" = xdisable; then
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15275 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15276 # Check whether --enable-metafile was given.
15277 if test "${enable_metafile+set}" = set; then :
15278 enableval=$enable_metafile;
15279 if test "$enableval" = yes; then
15280 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
15282 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
15287 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15292 eval "$wx_cv_use_metafile"
15294 if test x"$enablestring" = xdisable; then
15295 if test $wxUSE_METAFILE = no; then
15301 result=$wxUSE_METAFILE
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15305 $as_echo "$result" >&6; }
15309 defaultval=$wxUSE_ALL_FEATURES
15310 if test -z "$defaultval"; then
15311 if test x"$enablestring" = xdisable; then
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dragimage" >&5
15319 $as_echo_n "checking
for --${enablestring:-enable}-dragimage...
" >&6; }
15320 # Check whether --enable-dragimage was given.
15321 if test "${enable_dragimage+set}" = set; then :
15322 enableval=$enable_dragimage;
15323 if test "$enableval" = yes; then
15324 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15326 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15331 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15336 eval "$wx_cv_use_dragimage"
15338 if test x
"$enablestring" = xdisable
; then
15339 if test $wxUSE_DRAGIMAGE = no
; then
15345 result
=$wxUSE_DRAGIMAGE
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15349 $as_echo "$result" >&6; }
15353 defaultval
=$wxUSE_ALL_FEATURES
15354 if test -z "$defaultval"; then
15355 if test x
"$enablestring" = xdisable
; then
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15363 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15364 # Check whether --enable-accessibility was given.
15365 if test "${enable_accessibility+set}" = set; then :
15366 enableval
=$enable_accessibility;
15367 if test "$enableval" = yes; then
15368 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
15370 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
15375 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15380 eval "$wx_cv_use_accessibility"
15382 if test x"$enablestring" = xdisable; then
15383 if test $wxUSE_ACCESSIBILITY = no; then
15389 result=$wxUSE_ACCESSIBILITY
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15393 $as_echo "$result" >&6; }
15397 defaultval=$wxUSE_ALL_FEATURES
15398 if test -z "$defaultval"; then
15399 if test x"$enablestring" = xdisable; then
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15407 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15408 # Check whether --enable-uiactionsim was given.
15409 if test "${enable_uiactionsim+set}" = set; then :
15410 enableval=$enable_uiactionsim;
15411 if test "$enableval" = yes; then
15412 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=yes'
15414 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=no
'
15419 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15424 eval "$wx_cv_use_uiactionsim"
15426 if test x"$enablestring" = xdisable; then
15427 if test $wxUSE_UIACTIONSIMULATOR = no; then
15433 result=$wxUSE_UIACTIONSIMULATOR
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15437 $as_echo "$result" >&6; }
15441 defaultval=$wxUSE_ALL_FEATURES
15442 if test -z "$defaultval"; then
15443 if test x"$enablestring" = xdisable; then
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dctransform" >&5
15451 $as_echo_n "checking
for --${enablestring:-enable}-dctransform...
" >&6; }
15452 # Check whether --enable-dctransform was given.
15453 if test "${enable_dctransform+set}" = set; then :
15454 enableval=$enable_dctransform;
15455 if test "$enableval" = yes; then
15456 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15458 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15463 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15468 eval "$wx_cv_use_dctransform"
15470 if test x
"$enablestring" = xdisable
; then
15471 if test $wxUSE_DC_TRANSFORM_MATRIX = no
; then
15477 result
=$wxUSE_DC_TRANSFORM_MATRIX
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15481 $as_echo "$result" >&6; }
15485 defaultval
=$wxUSE_ALL_FEATURES
15486 if test -z "$defaultval"; then
15487 if test x
"$enablestring" = xdisable
; then
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15495 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15496 # Check whether --enable-webviewwebkit was given.
15497 if test "${enable_webviewwebkit+set}" = set; then :
15498 enableval
=$enable_webviewwebkit;
15499 if test "$enableval" = yes; then
15500 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=yes'
15502 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=no'
15507 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15512 eval "$wx_cv_use_webviewwebkit"
15514 if test x"$enablestring" = xdisable; then
15515 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15521 result=$wxUSE_WEBVIEW_WEBKIT
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15525 $as_echo "$result" >&6; }
15531 defaultval=$wxUSE_ALL_FEATURES
15532 if test -z "$defaultval"; then
15533 if test x"$enablestring" = xdisable; then
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15541 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15542 # Check whether --enable-palette was given.
15543 if test "${enable_palette+set}" = set; then :
15544 enableval=$enable_palette;
15545 if test "$enableval" = yes; then
15546 wx_cv_use_palette='wxUSE_PALETTE
=yes'
15548 wx_cv_use_palette='wxUSE_PALETTE
=no
'
15553 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15558 eval "$wx_cv_use_palette"
15560 if test x"$enablestring" = xdisable; then
15561 if test $wxUSE_PALETTE = no; then
15567 result=$wxUSE_PALETTE
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15571 $as_echo "$result" >&6; }
15575 defaultval=$wxUSE_ALL_FEATURES
15576 if test -z "$defaultval"; then
15577 if test x"$enablestring" = xdisable; then
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-image" >&5
15585 $as_echo_n "checking
for --${enablestring:-enable}-image...
" >&6; }
15586 # Check whether --enable-image was given.
15587 if test "${enable_image+set}" = set; then :
15588 enableval=$enable_image;
15589 if test "$enableval" = yes; then
15590 wx_cv_use_image='wxUSE_IMAGE=yes'
15592 wx_cv_use_image='wxUSE_IMAGE=no'
15597 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15602 eval "$wx_cv_use_image"
15604 if test x
"$enablestring" = xdisable
; then
15605 if test $wxUSE_IMAGE = no
; then
15611 result
=$wxUSE_IMAGE
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15615 $as_echo "$result" >&6; }
15619 defaultval
=$wxUSE_ALL_FEATURES
15620 if test -z "$defaultval"; then
15621 if test x
"$enablestring" = xdisable
; then
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15629 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15630 # Check whether --enable-gif was given.
15631 if test "${enable_gif+set}" = set; then :
15632 enableval
=$enable_gif;
15633 if test "$enableval" = yes; then
15634 wx_cv_use_gif
='wxUSE_GIF=yes'
15636 wx_cv_use_gif
='wxUSE_GIF=no'
15641 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15646 eval "$wx_cv_use_gif"
15648 if test x"$enablestring" = xdisable; then
15649 if test $wxUSE_GIF = no; then
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15659 $as_echo "$result" >&6; }
15663 defaultval=$wxUSE_ALL_FEATURES
15664 if test -z "$defaultval"; then
15665 if test x"$enablestring" = xdisable; then
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15673 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15674 # Check whether --enable-pcx was given.
15675 if test "${enable_pcx+set}" = set; then :
15676 enableval=$enable_pcx;
15677 if test "$enableval" = yes; then
15678 wx_cv_use_pcx='wxUSE_PCX
=yes'
15680 wx_cv_use_pcx='wxUSE_PCX
=no
'
15685 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15690 eval "$wx_cv_use_pcx"
15692 if test x"$enablestring" = xdisable; then
15693 if test $wxUSE_PCX = no; then
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15703 $as_echo "$result" >&6; }
15707 defaultval=$wxUSE_ALL_FEATURES
15708 if test -z "$defaultval"; then
15709 if test x"$enablestring" = xdisable; then
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tga" >&5
15717 $as_echo_n "checking
for --${enablestring:-enable}-tga...
" >&6; }
15718 # Check whether --enable-tga was given.
15719 if test "${enable_tga+set}" = set; then :
15720 enableval=$enable_tga;
15721 if test "$enableval" = yes; then
15722 wx_cv_use_tga='wxUSE_TGA=yes'
15724 wx_cv_use_tga='wxUSE_TGA=no'
15729 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15734 eval "$wx_cv_use_tga"
15736 if test x
"$enablestring" = xdisable
; then
15737 if test $wxUSE_TGA = no
; then
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15747 $as_echo "$result" >&6; }
15751 defaultval
=$wxUSE_ALL_FEATURES
15752 if test -z "$defaultval"; then
15753 if test x
"$enablestring" = xdisable
; then
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15761 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15762 # Check whether --enable-iff was given.
15763 if test "${enable_iff+set}" = set; then :
15764 enableval
=$enable_iff;
15765 if test "$enableval" = yes; then
15766 wx_cv_use_iff
='wxUSE_IFF=yes'
15768 wx_cv_use_iff
='wxUSE_IFF=no'
15773 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15778 eval "$wx_cv_use_iff"
15780 if test x"$enablestring" = xdisable; then
15781 if test $wxUSE_IFF = no; then
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15791 $as_echo "$result" >&6; }
15795 defaultval=$wxUSE_ALL_FEATURES
15796 if test -z "$defaultval"; then
15797 if test x"$enablestring" = xdisable; then
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15805 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15806 # Check whether --enable-pnm was given.
15807 if test "${enable_pnm+set}" = set; then :
15808 enableval=$enable_pnm;
15809 if test "$enableval" = yes; then
15810 wx_cv_use_pnm='wxUSE_PNM
=yes'
15812 wx_cv_use_pnm='wxUSE_PNM
=no
'
15817 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15822 eval "$wx_cv_use_pnm"
15824 if test x"$enablestring" = xdisable; then
15825 if test $wxUSE_PNM = no; then
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15835 $as_echo "$result" >&6; }
15839 defaultval=$wxUSE_ALL_FEATURES
15840 if test -z "$defaultval"; then
15841 if test x"$enablestring" = xdisable; then
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-xpm" >&5
15849 $as_echo_n "checking
for --${enablestring:-enable}-xpm...
" >&6; }
15850 # Check whether --enable-xpm was given.
15851 if test "${enable_xpm+set}" = set; then :
15852 enableval=$enable_xpm;
15853 if test "$enableval" = yes; then
15854 wx_cv_use_xpm='wxUSE_XPM=yes'
15856 wx_cv_use_xpm='wxUSE_XPM=no'
15861 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15866 eval "$wx_cv_use_xpm"
15868 if test x
"$enablestring" = xdisable
; then
15869 if test $wxUSE_XPM = no
; then
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15879 $as_echo "$result" >&6; }
15883 defaultval
=$wxUSE_ALL_FEATURES
15884 if test -z "$defaultval"; then
15885 if test x
"$enablestring" = xdisable
; then
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15893 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15894 # Check whether --enable-ico_cur was given.
15895 if test "${enable_ico_cur+set}" = set; then :
15896 enableval
=$enable_ico_cur;
15897 if test "$enableval" = yes; then
15898 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
15900 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
15905 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15910 eval "$wx_cv_use_ico_cur"
15912 if test x"$enablestring" = xdisable; then
15913 if test $wxUSE_ICO_CUR = no; then
15919 result=$wxUSE_ICO_CUR
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15923 $as_echo "$result" >&6; }
15929 defaultval=$wxUSE_ALL_FEATURES
15930 if test -z "$defaultval"; then
15931 if test x"$enablestring" = xdisable; then
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15939 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15940 # Check whether --enable-dccache was given.
15941 if test "${enable_dccache+set}" = set; then :
15942 enableval=$enable_dccache;
15943 if test "$enableval" = yes; then
15944 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
15946 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
15951 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15956 eval "$wx_cv_use_dccache"
15958 if test x"$enablestring" = xdisable; then
15959 if test $wxUSE_DC_CACHEING = no; then
15965 result=$wxUSE_DC_CACHEING
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15969 $as_echo "$result" >&6; }
15973 defaultval=$wxUSE_ALL_FEATURES
15974 if test -z "$defaultval"; then
15975 if test x"$enablestring" = xdisable; then
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ps-in-msw" >&5
15983 $as_echo_n "checking
for --${enablestring:-enable}-ps-in-msw...
" >&6; }
15984 # Check whether --enable-ps-in-msw was given.
15985 if test "${enable_ps_in_msw+set}" = set; then :
15986 enableval=$enable_ps_in_msw;
15987 if test "$enableval" = yes; then
15988 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15990 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15995 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16000 eval "$wx_cv_use_ps_in_msw"
16002 if test x
"$enablestring" = xdisable
; then
16003 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
16009 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16013 $as_echo "$result" >&6; }
16017 defaultval
=$wxUSE_ALL_FEATURES
16018 if test -z "$defaultval"; then
16019 if test x
"$enablestring" = xdisable
; then
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16027 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16028 # Check whether --enable-ownerdrawn was given.
16029 if test "${enable_ownerdrawn+set}" = set; then :
16030 enableval
=$enable_ownerdrawn;
16031 if test "$enableval" = yes; then
16032 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
16034 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
16039 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16044 eval "$wx_cv_use_ownerdrawn"
16046 if test x"$enablestring" = xdisable; then
16047 if test $wxUSE_OWNER_DRAWN = no; then
16053 result=$wxUSE_OWNER_DRAWN
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16057 $as_echo "$result" >&6; }
16061 defaultval=$wxUSE_ALL_FEATURES
16062 if test -z "$defaultval"; then
16063 if test x"$enablestring" = xdisable; then
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16071 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16072 # Check whether --enable-uxtheme was given.
16073 if test "${enable_uxtheme+set}" = set; then :
16074 enableval=$enable_uxtheme;
16075 if test "$enableval" = yes; then
16076 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
16078 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
16083 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16088 eval "$wx_cv_use_uxtheme"
16090 if test x"$enablestring" = xdisable; then
16091 if test $wxUSE_UXTHEME = no; then
16097 result=$wxUSE_UXTHEME
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16101 $as_echo "$result" >&6; }
16105 defaultval=$wxUSE_ALL_FEATURES
16106 if test -z "$defaultval"; then
16107 if test x"$enablestring" = xdisable; then
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-wxdib" >&5
16115 $as_echo_n "checking
for --${enablestring:-enable}-wxdib...
" >&6; }
16116 # Check whether --enable-wxdib was given.
16117 if test "${enable_wxdib+set}" = set; then :
16118 enableval=$enable_wxdib;
16119 if test "$enableval" = yes; then
16120 wx_cv_use_wxdib='wxUSE_DIB=yes'
16122 wx_cv_use_wxdib='wxUSE_DIB=no'
16127 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16132 eval "$wx_cv_use_wxdib"
16134 if test x
"$enablestring" = xdisable
; then
16135 if test $wxUSE_DIB = no
; then
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16145 $as_echo "$result" >&6; }
16149 defaultval
=$wxUSE_ALL_FEATURES
16150 if test -z "$defaultval"; then
16151 if test x
"$enablestring" = xdisable
; then
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16159 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16160 # Check whether --enable-webviewie was given.
16161 if test "${enable_webviewie+set}" = set; then :
16162 enableval
=$enable_webviewie;
16163 if test "$enableval" = yes; then
16164 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=yes'
16166 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=no'
16171 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16176 eval "$wx_cv_use_webviewie"
16178 if test x"$enablestring" = xdisable; then
16179 if test $wxUSE_WEBVIEW_IE = no; then
16185 result=$wxUSE_WEBVIEW_IE
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16189 $as_echo "$result" >&6; }
16192 if test "$wxUSE_MSW" != 1; then
16193 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16198 defaultval=$wxUSE_ALL_FEATURES
16199 if test -z "$defaultval"; then
16200 if test x"$enablestring" = xdisable; then
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16208 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16209 # Check whether --enable-autoidman was given.
16210 if test "${enable_autoidman+set}" = set; then :
16211 enableval=$enable_autoidman;
16212 if test "$enableval" = yes; then
16213 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
16215 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
16220 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16225 eval "$wx_cv_use_autoidman"
16227 if test x"$enablestring" = xdisable; then
16228 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16234 result=$wxUSE_AUTOID_MANAGEMENT
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16238 $as_echo "$result" >&6; }
16244 cat >confcache <<\_ACEOF
16245 # This file is a shell script that caches the results of configure
16246 # tests run on this system so they can be shared between configure
16247 # scripts and configure runs, see configure's option --config-cache.
16248 # It is not useful on other systems. If it contains results you don't
16249 # want to keep, you may remove or edit it.
16251 # config.status only pays attention to the cache file if you give it
16252 # the --recheck option to rerun configure.
16254 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16255 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16256 # following values.
16260 # The following way of writing the cache mishandles newlines in values,
16261 # but we know of no workaround that is simple, portable, and efficient.
16262 # So, we kill variables containing newlines.
16263 # Ultrix sh set writes to stderr and can't be redirected directly,
16264 # and sets the high bit in the cache file unless we assign to the vars.
16266 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16267 eval ac_val=\$$ac_var
16271 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
16272 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
16275 _ | IFS | as_nl) ;; #(
16276 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16277 *) { eval $ac_var=; unset $ac_var;} ;;
16283 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16284 *${as_nl}ac_space=\ *)
16285 # `set' does not quote correctly, so add quotes: double-quote
16286 # substitution turns \\\\ into \\, and sed turns \\ into \.
16289 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
16292 # `set' quotes correctly as required by POSIX, so do not add quotes.
16293 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
16302 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16304 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16306 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16307 if test -w "$cache_file"; then
16308 if test "x
$cache_file" != "x
/dev
/null
"; then
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
16310 $as_echo "$as_me: updating cache
$cache_file" >&6;}
16311 if test ! -f "$cache_file" || test -h "$cache_file"; then
16312 cat confcache >"$cache_file"
16314 case $cache_file in #(
16316 mv -f confcache "$cache_file"$$ &&
16317 mv -f "$cache_file"$$ "$cache_file" ;; #(
16319 mv -f confcache "$cache_file" ;;
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
16325 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
16332 ac_cpp='$CPP $CPPFLAGS'
16333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16336 if test -n "$ac_tool_prefix"; then
16337 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
16338 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16340 $as_echo_n "checking
for $ac_word...
" >&6; }
16341 if ${ac_cv_prog_CC+:} false; then :
16342 $as_echo_n "(cached
) " >&6
16344 if test -n "$CC"; then
16345 ac_cv_prog_CC="$CC" # Let the user override the test.
16347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16348 for as_dir in $PATH
16351 test -z "$as_dir" && as_dir=.
16352 for ac_exec_ext in '' $ac_executable_extensions; do
16353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16354 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
16355 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16365 if test -n "$CC"; then
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16367 $as_echo "$CC" >&6; }
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16370 $as_echo "no
" >&6; }
16375 if test -z "$ac_cv_prog_CC"; then
16377 # Extract the first word of "gcc
", so it can be a program name with args.
16378 set dummy gcc; ac_word=$2
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16380 $as_echo_n "checking
for $ac_word...
" >&6; }
16381 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16382 $as_echo_n "(cached
) " >&6
16384 if test -n "$ac_ct_CC"; then
16385 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16388 for as_dir in $PATH
16391 test -z "$as_dir" && as_dir=.
16392 for ac_exec_ext in '' $ac_executable_extensions; do
16393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16394 ac_cv_prog_ac_ct_CC="gcc
"
16395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16404 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16405 if test -n "$ac_ct_CC"; then
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
16407 $as_echo "$ac_ct_CC" >&6; }
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16410 $as_echo "no
" >&6; }
16413 if test "x
$ac_ct_CC" = x; then
16416 case $cross_compiling:$ac_tool_warned in
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
16419 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
16420 ac_tool_warned=yes ;;
16425 CC="$ac_cv_prog_CC"
16428 if test -z "$CC"; then
16429 if test -n "$ac_tool_prefix"; then
16430 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
16431 set dummy ${ac_tool_prefix}cc; ac_word=$2
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16433 $as_echo_n "checking
for $ac_word...
" >&6; }
16434 if ${ac_cv_prog_CC+:} false; then :
16435 $as_echo_n "(cached
) " >&6
16437 if test -n "$CC"; then
16438 ac_cv_prog_CC="$CC" # Let the user override the test.
16440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16441 for as_dir in $PATH
16444 test -z "$as_dir" && as_dir=.
16445 for ac_exec_ext in '' $ac_executable_extensions; do
16446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16447 ac_cv_prog_CC="${ac_tool_prefix}cc
"
16448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16458 if test -n "$CC"; then
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16460 $as_echo "$CC" >&6; }
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16463 $as_echo "no
" >&6; }
16469 if test -z "$CC"; then
16470 # Extract the first word of "cc
", so it can be a program name with args.
16471 set dummy cc; ac_word=$2
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16473 $as_echo_n "checking
for $ac_word...
" >&6; }
16474 if ${ac_cv_prog_CC+:} false; then :
16475 $as_echo_n "(cached
) " >&6
16477 if test -n "$CC"; then
16478 ac_cv_prog_CC="$CC" # Let the user override the test.
16480 ac_prog_rejected=no
16481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16482 for as_dir in $PATH
16485 test -z "$as_dir" && as_dir=.
16486 for ac_exec_ext in '' $ac_executable_extensions; do
16487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16488 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
16489 ac_prog_rejected=yes
16493 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16500 if test $ac_prog_rejected = yes; then
16501 # We found a bogon in the path, so make sure we never use it.
16502 set dummy $ac_cv_prog_CC
16504 if test $# != 0; then
16505 # We chose a different compiler from the bogus one.
16506 # However, it has the same basename, so the bogon will be chosen
16507 # first if we set CC to just the basename; use the full file name.
16509 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
16515 if test -n "$CC"; then
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16517 $as_echo "$CC" >&6; }
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16520 $as_echo "no
" >&6; }
16525 if test -z "$CC"; then
16526 if test -n "$ac_tool_prefix"; then
16527 for ac_prog in cl.exe
16529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16532 $as_echo_n "checking
for $ac_word...
" >&6; }
16533 if ${ac_cv_prog_CC+:} false; then :
16534 $as_echo_n "(cached
) " >&6
16536 if test -n "$CC"; then
16537 ac_cv_prog_CC="$CC" # Let the user override the test.
16539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16540 for as_dir in $PATH
16543 test -z "$as_dir" && as_dir=.
16544 for ac_exec_ext in '' $ac_executable_extensions; do
16545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16546 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16557 if test -n "$CC"; then
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16559 $as_echo "$CC" >&6; }
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16562 $as_echo "no
" >&6; }
16566 test -n "$CC" && break
16569 if test -z "$CC"; then
16571 for ac_prog in cl.exe
16573 # Extract the first word of "$ac_prog", so it can be a program name with args.
16574 set dummy $ac_prog; ac_word=$2
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16576 $as_echo_n "checking
for $ac_word...
" >&6; }
16577 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16578 $as_echo_n "(cached
) " >&6
16580 if test -n "$ac_ct_CC"; then
16581 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16584 for as_dir in $PATH
16587 test -z "$as_dir" && as_dir=.
16588 for ac_exec_ext in '' $ac_executable_extensions; do
16589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16590 ac_cv_prog_ac_ct_CC="$ac_prog"
16591 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16600 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16601 if test -n "$ac_ct_CC"; then
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
16603 $as_echo "$ac_ct_CC" >&6; }
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16606 $as_echo "no
" >&6; }
16610 test -n "$ac_ct_CC" && break
16613 if test "x
$ac_ct_CC" = x; then
16616 case $cross_compiling:$ac_tool_warned in
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
16619 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
16620 ac_tool_warned=yes ;;
16629 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16631 as_fn_error $? "no acceptable C compiler found in \$PATH
16632 See \`config.log' for more details
" "$LINENO" 5; }
16634 # Provide some information about the compiler.
16635 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
16638 for ac_option in --version -v -V -qversion; do
16639 { { ac_try="$ac_compiler $ac_option >&5"
16640 case "(($ac_try" in
16641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16642 *) ac_try_echo=$ac_try;;
16644 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16645 $as_echo "$ac_try_echo"; } >&5
16646 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16648 if test -s conftest.err; then
16650 ... rest of stderr output deleted ...
16651 10q' conftest.err >conftest.er1
16652 cat conftest.er1 >&5
16654 rm -f conftest.er1 conftest.err
16655 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16656 test $ac_status = 0; }
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16670 ac_clean_files_save=$ac_clean_files
16671 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
16672 # Try to create an executable without -o first, disregard a.out.
16673 # It will help us diagnose broken compilers, and finding out an intuition
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
16676 $as_echo_n "checking whether the C compiler works...
" >&6; }
16677 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16679 # The possible output files:
16680 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
16683 for ac_file in $ac_files
16686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16687 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16692 if { { ac_try="$ac_link_default"
16693 case "(($ac_try" in
16694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16695 *) ac_try_echo=$ac_try;;
16697 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16698 $as_echo "$ac_try_echo"; } >&5
16699 (eval "$ac_link_default") 2>&5
16701 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16702 test $ac_status = 0; }; then :
16703 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16704 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16705 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16706 # so that the user can short-circuit this test for compilers unknown to
16708 for ac_file in $ac_files ''
16710 test -f "$ac_file" || continue
16712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16715 # We found the default executable, but exeext='' is most
16719 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16721 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16723 # We set ac_cv_exeext here because the later test for it is not
16724 # safe: cross compilers may not add the suffix if given an `-o'
16725 # argument, so we may need to know it at that point already.
16726 # Even if this section looks crufty: it has the advantage of
16727 # actually working.
16733 test "$ac_cv_exeext" = no && ac_cv_exeext=
16738 if test -z "$ac_file"; then :
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16740 $as_echo "no
" >&6; }
16741 $as_echo "$as_me: failed program was
:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16746 as_fn_error 77 "C compiler cannot create executables
16747 See \`config.log' for more details
" "$LINENO" 5; }
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16750 $as_echo "yes" >&6; }
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
16753 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
16755 $as_echo "$ac_file" >&6; }
16756 ac_exeext=$ac_cv_exeext
16758 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16759 ac_clean_files=$ac_clean_files_save
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
16761 $as_echo_n "checking
for suffix of executables...
" >&6; }
16762 if { { ac_try="$ac_link"
16763 case "(($ac_try" in
16764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765 *) ac_try_echo=$ac_try;;
16767 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16768 $as_echo "$ac_try_echo"; } >&5
16769 (eval "$ac_link") 2>&5
16771 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16772 test $ac_status = 0; }; then :
16773 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16774 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16775 # work properly (i.e., refer to `conftest.exe'), while it won't with
16777 for ac_file in conftest.exe conftest conftest.*; do
16778 test -f "$ac_file" || continue
16780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16781 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16789 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16790 See \`config.log' for more details
" "$LINENO" 5; }
16792 rm -f conftest conftest$ac_cv_exeext
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
16794 $as_echo "$ac_cv_exeext" >&6; }
16796 rm -f conftest.$ac_ext
16797 EXEEXT=$ac_cv_exeext
16799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16800 /* end confdefs.h. */
16805 FILE *f = fopen ("conftest.out
", "w
");
16806 return ferror (f) || fclose (f) != 0;
16812 ac_clean_files="$ac_clean_files conftest.out
"
16813 # Check that the compiler produces executables we can run. If not, either
16814 # the compiler is broken, or we cross compile.
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
16816 $as_echo_n "checking whether we are cross compiling...
" >&6; }
16817 if test "$cross_compiling" != yes; then
16818 { { ac_try="$ac_link"
16819 case "(($ac_try" in
16820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16821 *) ac_try_echo=$ac_try;;
16823 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16824 $as_echo "$ac_try_echo"; } >&5
16825 (eval "$ac_link") 2>&5
16827 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16828 test $ac_status = 0; }
16829 if { ac_try='./conftest$ac_cv_exeext'
16830 { { case "(($ac_try" in
16831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16832 *) ac_try_echo=$ac_try;;
16834 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16835 $as_echo "$ac_try_echo"; } >&5
16836 (eval "$ac_try") 2>&5
16838 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16839 test $ac_status = 0; }; }; then
16842 if test "$cross_compiling" = maybe; then
16843 cross_compiling=yes
16845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16847 as_fn_error $? "cannot run C compiled programs.
16848 If you meant to cross compile, use \`--host'.
16849 See \
`config.log' for more details" "$LINENO" 5; }
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16854 $as_echo "$cross_compiling" >&6; }
16856 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16857 ac_clean_files=$ac_clean_files_save
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16859 $as_echo_n "checking for suffix of object files... " >&6; }
16860 if ${ac_cv_objext+:} false; then :
16861 $as_echo_n "(cached) " >&6
16863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16874 rm -f conftest.o conftest.obj
16875 if { { ac_try="$ac_compile"
16876 case "(($ac_try" in
16877 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16878 *) ac_try_echo
=$ac_try;;
16880 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16881 $as_echo "$ac_try_echo"; } >&5
16882 (eval "$ac_compile") 2>&5
16884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16885 test $ac_status = 0; }; then :
16886 for ac_file
in conftest.o conftest.obj conftest.
*; do
16887 test -f "$ac_file" || continue;
16889 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
) ;;
16890 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
16895 $as_echo "$as_me: failed program was:" >&5
16896 sed 's/^/| /' conftest.
$ac_ext >&5
16898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16900 as_fn_error $?
"cannot compute suffix of object files: cannot compile
16901 See \`config.log' for more details" "$LINENO" 5; }
16903 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16906 $as_echo "$ac_cv_objext" >&6; }
16907 OBJEXT
=$ac_cv_objext
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16910 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16911 if ${ac_cv_c_compiler_gnu+:} false
; then :
16912 $as_echo_n "(cached) " >&6
16914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16928 if ac_fn_c_try_compile
"$LINENO"; then :
16929 ac_compiler_gnu
=yes
16933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16934 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16938 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16939 if test $ac_compiler_gnu = yes; then
16944 ac_test_CFLAGS
=${CFLAGS+set}
16945 ac_save_CFLAGS
=$CFLAGS
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16947 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16948 if ${ac_cv_prog_cc_g+:} false
; then :
16949 $as_echo_n "(cached) " >&6
16951 ac_save_c_werror_flag
=$ac_c_werror_flag
16952 ac_c_werror_flag
=yes
16955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16956 /* end confdefs.h. */
16966 if ac_fn_c_try_compile
"$LINENO"; then :
16967 ac_cv_prog_cc_g
=yes
16970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h. */
16981 if ac_fn_c_try_compile
"$LINENO"; then :
16984 ac_c_werror_flag
=$ac_save_c_werror_flag
16986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16987 /* end confdefs.h. */
16997 if ac_fn_c_try_compile
"$LINENO"; then :
16998 ac_cv_prog_cc_g
=yes
17000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17005 ac_c_werror_flag
=$ac_save_c_werror_flag
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17008 $as_echo "$ac_cv_prog_cc_g" >&6; }
17009 if test "$ac_test_CFLAGS" = set; then
17010 CFLAGS
=$ac_save_CFLAGS
17011 elif test $ac_cv_prog_cc_g = yes; then
17012 if test "$GCC" = yes; then
17018 if test "$GCC" = yes; then
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17025 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17026 if ${ac_cv_prog_cc_c89+:} false
; then :
17027 $as_echo_n "(cached) " >&6
17029 ac_cv_prog_cc_c89
=no
17031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 #include <stdarg.h>
17036 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17037 struct buf { int x; };
17038 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17039 static char *e (p, i)
17045 static char *f (char * (*g) (char **, int), char **p, ...)
17050 s = g (p, va_arg (v,int));
17055 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17056 function prototypes and stuff, but not '\xHH' hex character constants.
17057 These don't provoke an error unfortunately, instead are silently treated
17058 as 'x'. The following induces an error, until -std is added to get
17059 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17060 array size at least. It's necessary to write '\x00'==0 to get something
17061 that's true only with -std. */
17062 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17064 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17065 inside strings and character constants. */
17067 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17069 int test (int i, double x);
17070 struct s1 {int (*f) (int a);};
17071 struct s2 {int (*f) (double a);};
17072 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17078 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17083 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
17084 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17086 CC
="$ac_save_CC $ac_arg"
17087 if ac_fn_c_try_compile
"$LINENO"; then :
17088 ac_cv_prog_cc_c89
=$ac_arg
17090 rm -f core conftest.err conftest.
$ac_objext
17091 test "x$ac_cv_prog_cc_c89" != "xno" && break
17093 rm -f conftest.
$ac_ext
17098 case "x$ac_cv_prog_cc_c89" in
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17101 $as_echo "none needed" >&6; } ;;
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17104 $as_echo "unsupported" >&6; } ;;
17106 CC
="$CC $ac_cv_prog_cc_c89"
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17108 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17110 if test "x$ac_cv_prog_cc_c89" != xno
; then :
17115 ac_cpp
='$CPP $CPPFLAGS'
17116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17128 ac_cpp
='$CPP $CPPFLAGS'
17129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17134 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17135 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false
; then :
17136 $as_echo_n "(cached) " >&6
17138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17145 #ifndef __INTEL_COMPILER
17153 if ac_fn_c_try_compile
"$LINENO"; then :
17154 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
17156 bakefile_cv_c_compiler___INTEL_COMPILER
=no
17159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17164 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17165 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17171 ac_cpp
='$CPP $CPPFLAGS'
17172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17179 if test "$INTELCC" = "yes"; then
17183 ac_cpp
='$CPP $CPPFLAGS'
17184 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17189 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17190 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false
; then :
17191 $as_echo_n "(cached) " >&6
17193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17200 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17208 if ac_fn_c_try_compile
"$LINENO"; then :
17209 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800
=yes
17211 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800
=no
17214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17219 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17220 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17226 ac_cpp
='$CPP $CPPFLAGS'
17227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17236 ac_cpp
='$CPP $CPPFLAGS'
17237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17242 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17243 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false
; then :
17244 $as_echo_n "(cached) " >&6
17246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17253 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17261 if ac_fn_c_try_compile
"$LINENO"; then :
17262 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000
=yes
17264 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000
=no
17267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17272 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17273 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17279 ac_cpp
='$CPP $CPPFLAGS'
17280 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17281 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17282 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17288 if test "x$GCC" != "xyes"; then
17289 if test "xCC" = "xC"; then
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17291 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17292 if ${bakefile_cv_c_exto+:} false
; then :
17293 $as_echo_n "(cached) " >&6
17295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17306 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17308 (eval $ac_compile) 2>&5
17310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17311 test $ac_status = 0; }; then :
17312 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17314 conftest.
$ac_ext.o
)
17315 bakefile_cv_c_exto
="-ext o"
17322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17324 as_fn_error $?
"cannot figure out if compiler needs -ext o: cannot compile
17325 See \`config.log' for more details" "$LINENO" 5; }
17328 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17332 $as_echo "$bakefile_cv_c_exto" >&6; }
17333 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17334 if test "c" = "c"; then
17335 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17337 if test "c" = "cxx"; then
17338 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17342 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17343 unset ac_cv_prog_cc_g
17344 ac_test_CFLAGS
=${CFLAGS+set}
17345 ac_save_CFLAGS
=$CFLAGS
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17347 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17348 if ${ac_cv_prog_cc_g+:} false
; then :
17349 $as_echo_n "(cached) " >&6
17351 ac_save_c_werror_flag
=$ac_c_werror_flag
17352 ac_c_werror_flag
=yes
17355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17366 if ac_fn_c_try_compile
"$LINENO"; then :
17367 ac_cv_prog_cc_g
=yes
17370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17371 /* end confdefs.h. */
17381 if ac_fn_c_try_compile
"$LINENO"; then :
17384 ac_c_werror_flag
=$ac_save_c_werror_flag
17386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17397 if ac_fn_c_try_compile
"$LINENO"; then :
17398 ac_cv_prog_cc_g
=yes
17400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17405 ac_c_werror_flag
=$ac_save_c_werror_flag
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17408 $as_echo "$ac_cv_prog_cc_g" >&6; }
17409 if test "$ac_test_CFLAGS" = set; then
17410 CFLAGS
=$ac_save_CFLAGS
17411 elif test $ac_cv_prog_cc_g = yes; then
17412 if test "$GCC" = yes; then
17418 if test "$GCC" = yes; then
17432 ac_cpp
='$CPP $CPPFLAGS'
17433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17438 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17439 if ${bakefile_cv_c_compiler___xlC__+:} false
; then :
17440 $as_echo_n "(cached) " >&6
17442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17443 /* end confdefs.h. */
17457 if ac_fn_c_try_compile
"$LINENO"; then :
17458 bakefile_cv_c_compiler___xlC__
=yes
17460 bakefile_cv_c_compiler___xlC__
=no
17463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17468 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17469 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17475 ac_cpp
='$CPP $CPPFLAGS'
17476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17488 ac_cpp
='$CPP $CPPFLAGS'
17489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17494 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17495 if ${bakefile_cv_c_compiler___MWERKS__+:} false
; then :
17496 $as_echo_n "(cached) " >&6
17498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17513 if ac_fn_c_try_compile
"$LINENO"; then :
17514 bakefile_cv_c_compiler___MWERKS__
=yes
17516 bakefile_cv_c_compiler___MWERKS__
=no
17519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17524 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17525 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17531 ac_cpp
='$CPP $CPPFLAGS'
17532 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17533 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17534 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17538 if test "$MWCC" != "yes"; then
17542 ac_cpp
='$CPP $CPPFLAGS'
17543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17548 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17549 if ${bakefile_cv_c_compiler___xlC__+:} false
; then :
17550 $as_echo_n "(cached) " >&6
17552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17553 /* end confdefs.h. */
17567 if ac_fn_c_try_compile
"$LINENO"; then :
17568 bakefile_cv_c_compiler___xlC__
=yes
17570 bakefile_cv_c_compiler___xlC__
=no
17573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17578 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17579 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17585 ac_cpp
='$CPP $CPPFLAGS'
17586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17599 ac_cpp
='$CPP $CPPFLAGS'
17600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17605 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17606 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false
; then :
17607 $as_echo_n "(cached) " >&6
17609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17610 /* end confdefs.h. */
17616 #ifndef _SGI_COMPILER_VERSION
17624 if ac_fn_c_try_compile
"$LINENO"; then :
17625 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
17627 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
17630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17635 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17636 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17642 ac_cpp
='$CPP $CPPFLAGS'
17643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17652 if test "$INTELCC" != "yes"; then
17656 ac_cpp
='$CPP $CPPFLAGS'
17657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17662 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17663 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false
; then :
17664 $as_echo_n "(cached) " >&6
17666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17681 if ac_fn_c_try_compile
"$LINENO"; then :
17682 bakefile_cv_c_compiler___SUNPRO_C
=yes
17684 bakefile_cv_c_compiler___SUNPRO_C
=no
17687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17692 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17693 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17699 ac_cpp
='$CPP $CPPFLAGS'
17700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17713 ac_cpp
='$CPP $CPPFLAGS'
17714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17719 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17720 if ${bakefile_cv_c_compiler___HP_cc+:} false
; then :
17721 $as_echo_n "(cached) " >&6
17723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17738 if ac_fn_c_try_compile
"$LINENO"; then :
17739 bakefile_cv_c_compiler___HP_cc
=yes
17741 bakefile_cv_c_compiler___HP_cc
=no
17744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17749 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17750 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17756 ac_cpp
='$CPP $CPPFLAGS'
17757 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17758 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17759 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17769 ac_cpp
='$CPP $CPPFLAGS'
17770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17775 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17776 if ${bakefile_cv_c_compiler___DECC+:} false
; then :
17777 $as_echo_n "(cached) " >&6
17779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17794 if ac_fn_c_try_compile
"$LINENO"; then :
17795 bakefile_cv_c_compiler___DECC
=yes
17797 bakefile_cv_c_compiler___DECC
=no
17800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17805 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17806 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17812 ac_cpp
='$CPP $CPPFLAGS'
17813 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17814 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17815 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17825 ac_cpp
='$CPP $CPPFLAGS'
17826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17831 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17832 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false
; then :
17833 $as_echo_n "(cached) " >&6
17835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17850 if ac_fn_c_try_compile
"$LINENO"; then :
17851 bakefile_cv_c_compiler___SUNPRO_C
=yes
17853 bakefile_cv_c_compiler___SUNPRO_C
=no
17856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17861 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17862 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17868 ac_cpp
='$CPP $CPPFLAGS'
17869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17882 ac_cpp
='$CPP $CPPFLAGS'
17883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17887 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17888 # On Suns, sometimes $CPP names a directory.
17889 if test -n "$CPP" && test -d "$CPP"; then
17892 if test -z "$CPP"; then
17893 if ${ac_cv_prog_CPP+:} false
; then :
17894 $as_echo_n "(cached) " >&6
17896 # Double quotes because CPP needs to be expanded
17897 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17899 ac_preproc_ok
=false
17900 for ac_c_preproc_warn_flag
in '' yes
17902 # Use a header file that comes with gcc, so configuring glibc
17903 # with a fresh cross-compiler works.
17904 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17905 # <limits.h> exists even on freestanding compilers.
17906 # On the NeXT, cc -E runs the code through the compiler's parser,
17907 # not just through cpp. "Syntax error" is here to catch this case.
17908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17909 /* end confdefs.h. */
17911 # include <limits.h>
17913 # include <assert.h>
17917 if ac_fn_c_try_cpp
"$LINENO"; then :
17920 # Broken: fails on valid input.
17923 rm -f conftest.err conftest.i conftest.
$ac_ext
17925 # OK, works on sane cases. Now check whether nonexistent headers
17926 # can be detected and how.
17927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17929 #include <ac_nonexistent.h>
17931 if ac_fn_c_try_cpp
"$LINENO"; then :
17932 # Broken: success on invalid input.
17935 # Passes both tests.
17939 rm -f conftest.err conftest.i conftest.
$ac_ext
17942 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17943 rm -f conftest.i conftest.err conftest.
$ac_ext
17944 if $ac_preproc_ok; then :
17949 ac_cv_prog_CPP
=$CPP
17952 CPP
=$ac_cv_prog_CPP
17954 ac_cv_prog_CPP
=$CPP
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17957 $as_echo "$CPP" >&6; }
17958 ac_preproc_ok
=false
17959 for ac_c_preproc_warn_flag
in '' yes
17961 # Use a header file that comes with gcc, so configuring glibc
17962 # with a fresh cross-compiler works.
17963 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17964 # <limits.h> exists even on freestanding compilers.
17965 # On the NeXT, cc -E runs the code through the compiler's parser,
17966 # not just through cpp. "Syntax error" is here to catch this case.
17967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17968 /* end confdefs.h. */
17970 # include <limits.h>
17972 # include <assert.h>
17976 if ac_fn_c_try_cpp
"$LINENO"; then :
17979 # Broken: fails on valid input.
17982 rm -f conftest.err conftest.i conftest.
$ac_ext
17984 # OK, works on sane cases. Now check whether nonexistent headers
17985 # can be detected and how.
17986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h. */
17988 #include <ac_nonexistent.h>
17990 if ac_fn_c_try_cpp
"$LINENO"; then :
17991 # Broken: success on invalid input.
17994 # Passes both tests.
17998 rm -f conftest.err conftest.i conftest.
$ac_ext
18001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18002 rm -f conftest.i conftest.err conftest.
$ac_ext
18003 if $ac_preproc_ok; then :
18006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18008 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
18009 See \`config.log' for more details" "$LINENO" 5; }
18013 ac_cpp
='$CPP $CPPFLAGS'
18014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18020 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18021 if ${ac_cv_path_GREP+:} false
; then :
18022 $as_echo_n "(cached) " >&6
18024 if test -z "$GREP"; then
18025 ac_path_GREP_found
=false
18026 # Loop through the user's path and test for each of PROGNAME-LIST
18027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18028 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18031 test -z "$as_dir" && as_dir
=.
18032 for ac_prog
in grep ggrep
; do
18033 for ac_exec_ext
in '' $ac_executable_extensions; do
18034 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18035 as_fn_executable_p
"$ac_path_GREP" || continue
18036 # Check for GNU ac_path_GREP and select it if it is found.
18037 # Check for GNU $ac_path_GREP
18038 case `"$ac_path_GREP" --version 2>&1` in
18040 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18043 $as_echo_n 0123456789 >"conftest.in"
18046 cat "conftest.in" "conftest.in" >"conftest.tmp"
18047 mv "conftest.tmp" "conftest.in"
18048 cp "conftest.in" "conftest.nl"
18049 $as_echo 'GREP' >> "conftest.nl"
18050 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18051 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18052 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18053 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18054 # Best one so far, save it but keep looking for a better one
18055 ac_cv_path_GREP
="$ac_path_GREP"
18056 ac_path_GREP_max
=$ac_count
18058 # 10*(2^10) chars as input seems more than enough
18059 test $ac_count -gt 10 && break
18061 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18064 $ac_path_GREP_found && break 3
18069 if test -z "$ac_cv_path_GREP"; then
18070 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18073 ac_cv_path_GREP
=$GREP
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18078 $as_echo "$ac_cv_path_GREP" >&6; }
18079 GREP
="$ac_cv_path_GREP"
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18083 $as_echo_n "checking for egrep... " >&6; }
18084 if ${ac_cv_path_EGREP+:} false
; then :
18085 $as_echo_n "(cached) " >&6
18087 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18088 then ac_cv_path_EGREP
="$GREP -E"
18090 if test -z "$EGREP"; then
18091 ac_path_EGREP_found
=false
18092 # Loop through the user's path and test for each of PROGNAME-LIST
18093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18094 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18097 test -z "$as_dir" && as_dir
=.
18098 for ac_prog
in egrep; do
18099 for ac_exec_ext
in '' $ac_executable_extensions; do
18100 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18101 as_fn_executable_p
"$ac_path_EGREP" || continue
18102 # Check for GNU ac_path_EGREP and select it if it is found.
18103 # Check for GNU $ac_path_EGREP
18104 case `"$ac_path_EGREP" --version 2>&1` in
18106 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18109 $as_echo_n 0123456789 >"conftest.in"
18112 cat "conftest.in" "conftest.in" >"conftest.tmp"
18113 mv "conftest.tmp" "conftest.in"
18114 cp "conftest.in" "conftest.nl"
18115 $as_echo 'EGREP' >> "conftest.nl"
18116 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18117 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18118 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18119 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18120 # Best one so far, save it but keep looking for a better one
18121 ac_cv_path_EGREP
="$ac_path_EGREP"
18122 ac_path_EGREP_max
=$ac_count
18124 # 10*(2^10) chars as input seems more than enough
18125 test $ac_count -gt 10 && break
18127 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18130 $ac_path_EGREP_found && break 3
18135 if test -z "$ac_cv_path_EGREP"; then
18136 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18139 ac_cv_path_EGREP
=$EGREP
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18145 $as_echo "$ac_cv_path_EGREP" >&6; }
18146 EGREP
="$ac_cv_path_EGREP"
18149 if test $ac_cv_c_compiler_gnu = yes; then
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18151 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18152 if ${ac_cv_prog_gcc_traditional+:} false
; then :
18153 $as_echo_n "(cached) " >&6
18155 ac_pattern
="Autoconf.*'x'"
18156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18157 /* end confdefs.h. */
18161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18162 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18163 ac_cv_prog_gcc_traditional
=yes
18165 ac_cv_prog_gcc_traditional
=no
18170 if test $ac_cv_prog_gcc_traditional = no
; then
18171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18173 #include <termio.h>
18176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18177 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18178 ac_cv_prog_gcc_traditional
=yes
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18185 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18186 if test $ac_cv_prog_gcc_traditional = yes; then
18187 CC
="$CC -traditional"
18192 CXXFLAGS
=${CXXFLAGS:=}
18194 ac_cpp
='$CXXCPP $CPPFLAGS'
18195 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18196 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18197 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18198 if test -z "$CXX"; then
18199 if test -n "$CCC"; then
18202 if test -n "$ac_tool_prefix"; then
18203 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18206 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18208 $as_echo_n "checking for $ac_word... " >&6; }
18209 if ${ac_cv_prog_CXX+:} false
; then :
18210 $as_echo_n "(cached) " >&6
18212 if test -n "$CXX"; then
18213 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18216 for as_dir
in $PATH
18219 test -z "$as_dir" && as_dir
=.
18220 for ac_exec_ext
in '' $ac_executable_extensions; do
18221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18222 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18232 CXX
=$ac_cv_prog_CXX
18233 if test -n "$CXX"; then
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18235 $as_echo "$CXX" >&6; }
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18238 $as_echo "no" >&6; }
18242 test -n "$CXX" && break
18245 if test -z "$CXX"; then
18247 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18249 # Extract the first word of "$ac_prog", so it can be a program name with args.
18250 set dummy
$ac_prog; ac_word
=$2
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18252 $as_echo_n "checking for $ac_word... " >&6; }
18253 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
18254 $as_echo_n "(cached) " >&6
18256 if test -n "$ac_ct_CXX"; then
18257 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18260 for as_dir
in $PATH
18263 test -z "$as_dir" && as_dir
=.
18264 for ac_exec_ext
in '' $ac_executable_extensions; do
18265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18266 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18276 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18277 if test -n "$ac_ct_CXX"; then
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18279 $as_echo "$ac_ct_CXX" >&6; }
18281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18282 $as_echo "no" >&6; }
18286 test -n "$ac_ct_CXX" && break
18289 if test "x$ac_ct_CXX" = x
; then
18292 case $cross_compiling:$ac_tool_warned in
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18296 ac_tool_warned
=yes ;;
18304 # Provide some information about the compiler.
18305 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18308 for ac_option
in --version -v -V -qversion; do
18309 { { ac_try
="$ac_compiler $ac_option >&5"
18310 case "(($ac_try" in
18311 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18312 *) ac_try_echo=$ac_try;;
18314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18315 $as_echo "$ac_try_echo"; } >&5
18316 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18318 if test -s conftest.err; then
18320 ... rest of stderr output deleted ...
18321 10q' conftest.err >conftest.er1
18322 cat conftest.er1 >&5
18324 rm -f conftest.er1 conftest.err
18325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18326 test $ac_status = 0; }
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18330 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18331 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18332 $as_echo_n "(cached) " >&6
18334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18335 /* end confdefs.h. */
18348 if ac_fn_cxx_try_compile "$LINENO"; then :
18349 ac_compiler_gnu=yes
18353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18354 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18358 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18359 if test $ac_compiler_gnu = yes; then
18364 ac_test_CXXFLAGS=${CXXFLAGS+set}
18365 ac_save_CXXFLAGS=$CXXFLAGS
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18367 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18368 if ${ac_cv_prog_cxx_g+:} false; then :
18369 $as_echo_n "(cached) " >&6
18371 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18372 ac_cxx_werror_flag=yes
18373 ac_cv_prog_cxx_g=no
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18386 if ac_fn_cxx_try_compile "$LINENO"; then :
18387 ac_cv_prog_cxx_g=yes
18390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18401 if ac_fn_cxx_try_compile "$LINENO"; then :
18404 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18417 if ac_fn_cxx_try_compile "$LINENO"; then :
18418 ac_cv_prog_cxx_g=yes
18420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18428 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18429 if test "$ac_test_CXXFLAGS" = set; then
18430 CXXFLAGS=$ac_save_CXXFLAGS
18431 elif test $ac_cv_prog_cxx_g = yes; then
18432 if test "$GXX" = yes; then
18438 if test "$GXX" = yes; then
18445 ac_cpp='$CPP $CPPFLAGS'
18446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18458 ac_cpp='$CXXCPP $CPPFLAGS'
18459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18464 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18465 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18466 $as_echo_n "(cached) " >&6
18468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18469 /* end confdefs.h. */
18475 #ifndef __INTEL_COMPILER
18483 if ac_fn_cxx_try_compile "$LINENO"; then :
18484 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18486 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18494 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18495 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18501 ac_cpp='$CPP $CPPFLAGS'
18502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18509 if test "$INTELCXX" = "yes"; then
18513 ac_cpp='$CXXCPP $CPPFLAGS'
18514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18519 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18520 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18521 $as_echo_n "(cached) " >&6
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18530 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18538 if ac_fn_cxx_try_compile "$LINENO"; then :
18539 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18541 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18549 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18550 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18556 ac_cpp='$CPP $CPPFLAGS'
18557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18566 ac_cpp='$CXXCPP $CPPFLAGS'
18567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18572 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18573 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18574 $as_echo_n "(cached) " >&6
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18583 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18591 if ac_fn_cxx_try_compile "$LINENO"; then :
18592 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18594 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18602 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18603 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18609 ac_cpp='$CPP $CPPFLAGS'
18610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18618 if test "x$GCXX" != "xyes"; then
18619 if test "xCXX" = "xC"; then
18620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18621 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18622 if ${bakefile_cv_c_exto+:} false; then :
18623 $as_echo_n "(cached) " >&6
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18636 rm -f conftest.$ac_objext conftest.$ac_ext.o
18637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18638 (eval $ac_compile) 2>&5
18640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18641 test $ac_status = 0; }; then :
18642 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18644 conftest.$ac_ext.o)
18645 bakefile_cv_c_exto="-ext o"
18652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18654 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18655 See \
`config.log' for more details" "$LINENO" 5; }
18658 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18662 $as_echo "$bakefile_cv_c_exto" >&6; }
18663 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18664 if test "c" = "c"; then
18665 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18667 if test "c" = "cxx"; then
18668 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18672 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18673 unset ac_cv_prog_cc_g
18674 ac_test_CFLAGS=${CFLAGS+set}
18675 ac_save_CFLAGS=$CFLAGS
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18677 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18678 if ${ac_cv_prog_cc_g+:} false; then :
18679 $as_echo_n "(cached) " >&6
18681 ac_save_c_werror_flag=$ac_c_werror_flag
18682 ac_c_werror_flag=yes
18685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18686 /* end confdefs.h. */
18696 if ac_fn_c_try_compile "$LINENO"; then :
18697 ac_cv_prog_cc_g=yes
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18711 if ac_fn_c_try_compile "$LINENO"; then :
18714 ac_c_werror_flag=$ac_save_c_werror_flag
18716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18717 /* end confdefs.h. */
18727 if ac_fn_c_try_compile "$LINENO"; then :
18728 ac_cv_prog_cc_g=yes
18730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18735 ac_c_werror_flag=$ac_save_c_werror_flag
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18738 $as_echo "$ac_cv_prog_cc_g" >&6; }
18739 if test "$ac_test_CFLAGS" = set; then
18740 CFLAGS=$ac_save_CFLAGS
18741 elif test $ac_cv_prog_cc_g = yes; then
18742 if test "$GCC" = yes; then
18748 if test "$GCC" = yes; then
18762 ac_cpp='$CXXCPP $CPPFLAGS'
18763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18768 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18769 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18770 $as_echo_n "(cached) " >&6
18772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h. */
18787 if ac_fn_cxx_try_compile "$LINENO"; then :
18788 bakefile_cv_cxx_compiler___xlC__=yes
18790 bakefile_cv_cxx_compiler___xlC__=no
18793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18798 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18799 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18805 ac_cpp='$CPP $CPPFLAGS'
18806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18818 ac_cpp='$CXXCPP $CPPFLAGS'
18819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18824 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18825 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18826 $as_echo_n "(cached) " >&6
18828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18829 /* end confdefs.h. */
18843 if ac_fn_cxx_try_compile "$LINENO"; then :
18844 bakefile_cv_cxx_compiler___MWERKS__=yes
18846 bakefile_cv_cxx_compiler___MWERKS__=no
18849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18854 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18855 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18861 ac_cpp='$CPP $CPPFLAGS'
18862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18868 if test "$MWCXX" != "yes"; then
18872 ac_cpp='$CXXCPP $CPPFLAGS'
18873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18878 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18879 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18880 $as_echo_n "(cached) " >&6
18882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h. */
18897 if ac_fn_cxx_try_compile "$LINENO"; then :
18898 bakefile_cv_cxx_compiler___xlC__=yes
18900 bakefile_cv_cxx_compiler___xlC__=no
18903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18908 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18909 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18915 ac_cpp='$CPP $CPPFLAGS'
18916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18929 ac_cpp='$CXXCPP $CPPFLAGS'
18930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18935 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18936 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18937 $as_echo_n "(cached) " >&6
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18946 #ifndef _SGI_COMPILER_VERSION
18954 if ac_fn_cxx_try_compile "$LINENO"; then :
18955 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18957 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18965 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18966 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18972 ac_cpp='$CPP $CPPFLAGS'
18973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18982 if test "$INTELCXX" != "yes"; then
18986 ac_cpp='$CXXCPP $CPPFLAGS'
18987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18992 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18993 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18994 $as_echo_n "(cached) " >&6
18996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h. */
19003 #ifndef __SUNPRO_CC
19011 if ac_fn_cxx_try_compile "$LINENO"; then :
19012 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19014 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19022 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19023 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19029 ac_cpp='$CPP $CPPFLAGS'
19030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19043 ac_cpp='$CXXCPP $CPPFLAGS'
19044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19049 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19050 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19051 $as_echo_n "(cached) " >&6
19053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19054 /* end confdefs.h. */
19068 if ac_fn_cxx_try_compile "$LINENO"; then :
19069 bakefile_cv_cxx_compiler___HP_aCC=yes
19071 bakefile_cv_cxx_compiler___HP_aCC=no
19074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19079 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19080 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19086 ac_cpp='$CPP $CPPFLAGS'
19087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19099 ac_cpp='$CXXCPP $CPPFLAGS'
19100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19105 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19106 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19107 $as_echo_n "(cached) " >&6
19109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h. */
19124 if ac_fn_cxx_try_compile "$LINENO"; then :
19125 bakefile_cv_cxx_compiler___DECCXX=yes
19127 bakefile_cv_cxx_compiler___DECCXX=no
19130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19135 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19136 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19142 ac_cpp='$CPP $CPPFLAGS'
19143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19155 ac_cpp='$CXXCPP $CPPFLAGS'
19156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19161 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19162 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19163 $as_echo_n "(cached) " >&6
19165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19166 /* end confdefs.h. */
19172 #ifndef __SUNPRO_CC
19180 if ac_fn_cxx_try_compile "$LINENO"; then :
19181 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19183 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19191 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19192 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19198 ac_cpp='$CPP $CPPFLAGS'
19199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19211 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19212 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19215 if test "x$SUNCXX" != xyes; then
19216 if test -n "$ac_tool_prefix"; then
19217 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19218 set dummy ${ac_tool_prefix}ar; ac_word=$2
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19220 $as_echo_n "checking for $ac_word... " >&6; }
19221 if ${ac_cv_prog_AR+:} false; then :
19222 $as_echo_n "(cached) " >&6
19224 if test -n "$AR"; then
19225 ac_cv_prog_AR="$AR" # Let the user override the test.
19227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19228 for as_dir in $PATH
19231 test -z "$as_dir" && as_dir=.
19232 for ac_exec_ext in '' $ac_executable_extensions; do
19233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19234 ac_cv_prog_AR="${ac_tool_prefix}ar"
19235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19245 if test -n "$AR"; then
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19247 $as_echo "$AR" >&6; }
19249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19250 $as_echo "no" >&6; }
19255 if test -z "$ac_cv_prog_AR"; then
19257 # Extract the first word of "ar", so it can be a program name with args.
19258 set dummy ar; ac_word=$2
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19260 $as_echo_n "checking for $ac_word... " >&6; }
19261 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19262 $as_echo_n "(cached) " >&6
19264 if test -n "$ac_ct_AR"; then
19265 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19268 for as_dir in $PATH
19271 test -z "$as_dir" && as_dir=.
19272 for ac_exec_ext in '' $ac_executable_extensions; do
19273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19274 ac_cv_prog_ac_ct_AR="ar"
19275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19284 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19285 if test -n "$ac_ct_AR"; then
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19287 $as_echo "$ac_ct_AR" >&6; }
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19290 $as_echo "no" >&6; }
19293 if test "x$ac_ct_AR" = x; then
19296 case $cross_compiling:$ac_tool_warned in
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19300 ac_tool_warned=yes ;;
19305 AR="$ac_cv_prog_AR"
19308 if test "x$AR" = "x" ; then
19309 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19314 if test "$wxUSE_MAC" = 1; then
19316 retest_macosx_linking=no
19320 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19321 if test "x$wxUSE_MAC_ARCH" != xno; then
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19323 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19326 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19327 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19328 else OSX_ARCH_OPTS="ppc,i386"
19329 if test "$wxUSE_OSX_COCOA" = 1; then
19330 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19335 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19337 $as_echo "$OSX_ARCH_OPTS" >&6; }
19339 retest_macosx_linking=yes
19341 if test "x$wxUSE_MAC_ARCH" != xno; then
19342 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19346 if test "x$OSX_ARCH_OPTS" != "x"; then
19347 if echo $OSX_ARCH_OPTS | grep -q ","; then
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19349 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19350 disable_macosx_deps=yes
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19353 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19357 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19359 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19360 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19361 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19362 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19363 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19366 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19368 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19369 # TODO: Search for most recent SDK and use it.
19370 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19374 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19376 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19377 if ! test -d "$wxUSE_MACOSX_SDK"; then
19378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19380 as_fn_error $? "not found
19381 See \
`config.log' for more details" "$LINENO" 5; }
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19384 $as_echo "exists" >&6; }
19386 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19387 retest_macosx_linking=yes
19390 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19391 wxUSE_MACOSX_VERSION_MIN=
19392 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19393 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19395 $as_echo_n "checking SDK deployment version... " >&6; }
19397 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/'`
19399 # If that failed, try again with the new key
19400 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19402 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/'`
19406 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19407 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19409 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19412 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19413 wxUSE_MACOSX_VERSION_MIN=
19416 wxUSE_MACOSX_VERSION_MIN=
19418 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19419 wxUSE_MACOSX_VERSION_MIN=10.5
19422 if test "x$MACOSX_SDK_OPTS" != "x"; then
19423 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19424 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19425 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19426 retest_macosx_linking=yes
19429 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19430 if test "$wxUSE_OSX_IPHONE" = 1; then
19431 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19433 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19435 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19436 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19437 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19438 retest_macosx_linking=yes
19441 if test "x$retest_macosx_linking" = "xyes"; then
19443 ac_cpp='$CPP $CPPFLAGS'
19444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19449 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h. */
19461 if ac_fn_c_try_link "$LINENO"; then :
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19463 $as_echo "yes" >&6; }
19465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19467 as_fn_error $? "no. Try a different SDK
19468 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19470 rm -f core conftest.err conftest.$ac_objext \
19471 conftest$ac_exeext conftest.$ac_ext
19473 ac_cpp='$CPP $CPPFLAGS'
19474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19480 ac_cpp='$CXXCPP $CPPFLAGS'
19481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19486 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19488 /* end confdefs.h. */
19498 if ac_fn_cxx_try_link "$LINENO"; then :
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19500 $as_echo "yes" >&6; }
19502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19504 as_fn_error $? "no. Try a different SDK
19505 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19507 rm -f core conftest.err conftest.$ac_objext \
19508 conftest$ac_exeext conftest.$ac_ext
19510 ac_cpp='$CPP $CPPFLAGS'
19511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19521 INSTALL_PROGRAM="cp -fp"
19522 INSTALL_DATA="cp -fp"
19529 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19530 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19533 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19534 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19537 if test "x$USE_AIX" = "x1"; then
19538 if test "x$XLCXX" = "xyes"; then
19539 CXXFLAGS="-qunique $CXXFLAGS"
19542 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19546 powerpc-*-darwin* )
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19548 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19550 /* end confdefs.h. */
19555 #ifndef __POWERPC__
19556 choke me for lack of PowerPC
19563 if ac_fn_c_try_compile "$LINENO"; then :
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19565 $as_echo "yes" >&6; }
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19568 $as_echo "no" >&6; }
19569 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19580 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19582 /* end confdefs.h. */
19583 #include <CoreFoundation/CFBase.h>
19593 if ac_fn_c_try_compile "$LINENO"; then :
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19595 $as_echo "yes" >&6; }
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19598 $as_echo "no" >&6; }
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19600 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19602 /* end confdefs.h. */
19603 #define __CF_USE_FRAMEWORK_INCLUDES__
19604 #include <CoreFoundation/CFBase.h>
19614 if ac_fn_c_try_compile "$LINENO"; then :
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19616 $as_echo "yes" >&6; }
19617 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19621 as_fn_error $? "no. CoreFoundation not available.
19622 See \
`config.log' for more details" "$LINENO" 5; }
19625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19634 doesnt_want_win32=0
19637 if test "$wxUSE_MSW" = 1 ; then
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19641 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19642 if ${wx_cv_nocygwin+:} false; then :
19643 $as_echo_n "(cached) " >&6
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19661 if ac_fn_c_try_compile "$LINENO"; then :
19667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19672 $as_echo "$wx_cv_nocygwin" >&6; }
19674 if test "$wx_cv_nocygwin" = "yes"; then
19677 doesnt_want_win32=1
19680 if test "$wants_win32" = 1 ; then
19681 BAKEFILE_FORCE_PLATFORM=win32
19689 if test "$wxUSE_WINE" = "yes"; then
19691 LDFLAGS_GUI="-mwindows"
19694 if test "$wants_win32" = 1 ; then
19697 $as_echo "#define __WIN32__ 1" >>confdefs.h
19699 $as_echo "#define __WIN95__ 1" >>confdefs.h
19701 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19703 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19705 $as_echo "#define STRICT 1" >>confdefs.h
19708 if test "$doesnt_want_win32" = 1 ; then
19713 if test "$USE_UNIX" = 1 ; then
19715 $as_echo "#define __UNIX__ 1" >>confdefs.h
19720 *-pc-os2_emx | *-pc-os2-emx )
19721 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19723 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19724 if ${ac_cv_lib_cExt_drand48+:} false; then :
19725 $as_echo_n "(cached) " >&6
19727 ac_check_lib_save_LIBS=$LIBS
19728 LIBS="-lcExt $LIBS"
19729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19732 /* Override any GCC internal prototype to avoid an error.
19733 Use char because int might match the return type of a GCC
19734 builtin and then its argument prototype would still apply. */
19747 if ac_fn_c_try_link "$LINENO"; then :
19748 ac_cv_lib_cExt_drand48=yes
19750 ac_cv_lib_cExt_drand48=no
19752 rm -f core conftest.err conftest.$ac_objext \
19753 conftest$ac_exeext conftest.$ac_ext
19754 LIBS=$ac_check_lib_save_LIBS
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19757 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19758 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19759 LIBS="$LIBS -lcExt"
19763 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19766 $as_echo_n "checking for gcc/libc version... " >&6; }
19767 if ${wx_cv_gccversion+:} false; then :
19768 $as_echo_n "(cached) " >&6
19771 if test "$cross_compiling" = yes; then :
19772 wx_cv_gccversion="EMX2"
19775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19776 /* end confdefs.h. */
19782 FILE *f=fopen("conftestval", "w");
19787 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19789 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19799 if ac_fn_c_try_run "$LINENO"; then :
19800 wx_cv_gccversion=`cat conftestval
`
19802 wx_cv_gccversion="EMX2"
19804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19805 conftest.$ac_objext conftest.beam conftest.$ac_ext
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19811 $as_echo "$wx_cv_gccversion" >&6; }
19812 if test "$wx_cv_gccversion" = "EMX2"; then
19813 LIBS="$LIBS -lstdcpp"
19814 LDFLAGS="$LDFLAGS -Zsysv-signals"
19816 if test "$wx_cv_gccversion" = "EMX3"; then
19817 LIBS="$LIBS -lstdcxx -lgcc"
19818 LDFLAGS="$LDFLAGS -Zsysv-signals"
19820 LIBS="$LIBS -lstdc++"
19823 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19825 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19833 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19834 if ${ac_cv_string_strcasecmp+:} false; then :
19835 $as_echo_n "(cached) " >&6
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19841 #include <string.h>
19847 strcasecmp("foo", "bar");
19853 if ac_fn_c_try_link "$LINENO"; then :
19854 ac_cv_string_strcasecmp=yes
19856 ac_cv_string_strcasecmp=no
19859 rm -f core conftest.err conftest.$ac_objext \
19860 conftest$ac_exeext conftest.$ac_ext
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19864 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19866 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19867 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19871 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19872 if ${ac_cv_strings_strcasecmp+:} false; then :
19873 $as_echo_n "(cached) " >&6
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19879 #include <strings.h>
19885 strcasecmp("foo", "bar");
19891 if ac_fn_c_try_link "$LINENO"; then :
19892 ac_cv_strings_strcasecmp=yes
19894 ac_cv_strings_strcasecmp=no
19897 rm -f core conftest.err conftest.$ac_objext \
19898 conftest$ac_exeext conftest.$ac_ext
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19902 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19904 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19905 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19908 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19917 $as_echo_n "checking for ANSI C header files... " >&6; }
19918 if ${ac_cv_header_stdc+:} false; then :
19919 $as_echo_n "(cached) " >&6
19921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19922 /* end confdefs.h. */
19923 #include <stdlib.h>
19924 #include <stdarg.h>
19925 #include <string.h>
19936 if ac_fn_c_try_compile "$LINENO"; then :
19937 ac_cv_header_stdc=yes
19939 ac_cv_header_stdc=no
19941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19943 if test $ac_cv_header_stdc = yes; then
19944 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19946 /* end confdefs.h. */
19947 #include <string.h>
19950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19951 $EGREP "memchr" >/dev/null 2>&1; then :
19954 ac_cv_header_stdc=no
19960 if test $ac_cv_header_stdc = yes; then
19961 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19963 /* end confdefs.h. */
19964 #include <stdlib.h>
19967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19968 $EGREP "free" >/dev/null 2>&1; then :
19971 ac_cv_header_stdc=no
19977 if test $ac_cv_header_stdc = yes; then
19978 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19979 if test "$cross_compiling" = yes; then :
19982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19983 /* end confdefs.h. */
19985 #include <stdlib.h>
19986 #if ((' ' & 0x0FF) == 0x020)
19987 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19988 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19990 # define ISLOWER(c) \
19991 (('a' <= (c) && (c) <= 'i') \
19992 || ('j' <= (c) && (c) <= 'r') \
19993 || ('s' <= (c) && (c) <= 'z'))
19994 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19997 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20002 for (i = 0; i < 256; i++)
20003 if (XOR (islower (i), ISLOWER (i))
20004 || toupper (i) != TOUPPER (i))
20009 if ac_fn_c_try_run "$LINENO"; then :
20012 ac_cv_header_stdc=no
20014 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20015 conftest.$ac_objext conftest.beam conftest.$ac_ext
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20021 $as_echo "$ac_cv_header_stdc" >&6; }
20022 if test $ac_cv_header_stdc = yes; then
20024 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20028 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20029 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20030 inttypes.h stdint.h unistd.h
20032 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20033 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20035 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20036 cat >>confdefs.h <<_ACEOF
20037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20045 for ac_header in langinfo.h wchar.h
20047 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20048 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20050 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20051 cat >>confdefs.h <<_ACEOF
20052 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20060 if test "$ac_cv_header_wchar_h" != "yes"; then
20061 for ac_header in wcstr.h
20063 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20065 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20066 cat >>confdefs.h <<_ACEOF
20067 #define HAVE_WCSTR_H 1
20077 *-pc-os2_emx | *-pc-os2-emx )
20078 if test $ac_cv_header_langinfo_h = "yes" \
20079 -a \( "$wx_cv_gccversion" = "EMX2" \
20080 -o "$wx_cv_gccversion" = "EMX3" \
20081 -o "$wx_cv_gccversion" = "Innotek5" \); then
20082 LIBS="$LIBS -lintl"
20087 if test "$USE_UNIX" = 1 ; then
20088 for ac_header in sys/select.h
20090 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20092 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20093 cat >>confdefs.h <<_ACEOF
20094 #define HAVE_SYS_SELECT_H 1
20103 ac_cpp='$CXXCPP $CPPFLAGS'
20104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20108 for ac_header in cxxabi.h
20110 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20112 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20113 cat >>confdefs.h <<_ACEOF
20114 #define HAVE_CXXABI_H 1
20122 ac_cpp='$CPP $CPPFLAGS'
20123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20131 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20132 if ${ac_cv_c_const+:} false; then :
20133 $as_echo_n "(cached) " >&6
20135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20136 /* end confdefs.h. */
20142 #ifndef __cplusplus
20143 /* Ultrix mips cc rejects this sort of thing. */
20144 typedef int charset[2];
20145 const charset cs = { 0, 0 };
20146 /* SunOS 4.1.1 cc rejects this. */
20147 char const *const *pcpcc;
20149 /* NEC SVR4.0.2 mips cc rejects this. */
20150 struct point {int x, y;};
20151 static struct point const zero = {0,0};
20152 /* AIX XL C 1.02.0.0 rejects this.
20153 It does not let you subtract one const X* pointer from another in
20154 an arm of an if-expression whose if-part is not a constant
20156 const char *g = "string";
20157 pcpcc = &g + (g ? g-g : 0);
20158 /* HPUX 7.0 cc rejects these. */
20160 ppc = (char**) pcpcc;
20161 pcpcc = (char const *const *) ppc;
20162 { /* SCO 3.2v4 cc rejects this sort of thing. */
20165 char const *s = 0 ? (char *) 0 : (char const *) 0;
20170 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20171 int x[] = {25, 17};
20172 const int *foo = &x[0];
20175 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20176 typedef const int *iptr;
20180 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20181 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20182 struct s { int j; const int *ap[3]; } bx;
20183 struct s *b = &bx; b->j = 5;
20185 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20186 const int foo = 10;
20187 if (!foo) return 0;
20189 return !cs[0] && !zero.x;
20196 if ac_fn_c_try_compile "$LINENO"; then :
20201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20204 $as_echo "$ac_cv_c_const" >&6; }
20205 if test $ac_cv_c_const = no; then
20207 $as_echo "#define const /**/" >>confdefs.h
20211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20212 $as_echo_n "checking for inline... " >&6; }
20213 if ${ac_cv_c_inline+:} false; then :
20214 $as_echo_n "(cached) " >&6
20217 for ac_kw in inline __inline__ __inline; do
20218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20219 /* end confdefs.h. */
20220 #ifndef __cplusplus
20222 static $ac_kw foo_t static_foo () {return 0; }
20223 $ac_kw foo_t foo () {return 0; }
20227 if ac_fn_c_try_compile "$LINENO"; then :
20228 ac_cv_c_inline=$ac_kw
20230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20231 test "$ac_cv_c_inline" != no && break
20235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20236 $as_echo "$ac_cv_c_inline" >&6; }
20238 case $ac_cv_c_inline in
20241 case $ac_cv_c_inline in
20243 *) ac_val=$ac_cv_c_inline;;
20245 cat >>confdefs.h <<_ACEOF
20246 #ifndef __cplusplus
20247 #define inline $ac_val
20254 # The cast to long int works around a bug in the HP C Compiler
20255 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20256 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20257 # This bug is HP SR number 8606223364.
20258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20259 $as_echo_n "checking size of short... " >&6; }
20260 if ${ac_cv_sizeof_short+:} false; then :
20261 $as_echo_n "(cached) " >&6
20263 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20266 if test "$ac_cv_type_short" = yes; then
20267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20268 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20269 as_fn_error 77 "cannot compute sizeof (short)
20270 See \`config.log
' for more details" "$LINENO" 5; }
20272 ac_cv_sizeof_short=0
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20278 $as_echo "$ac_cv_sizeof_short" >&6; }
20282 cat >>confdefs.h <<_ACEOF
20283 #define SIZEOF_SHORT $ac_cv_sizeof_short
20287 # The cast to long int works around a bug in the HP C Compiler
20288 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20289 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20290 # This bug is HP SR number 8606223364.
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20292 $as_echo_n "checking size of void *... " >&6; }
20293 if ${ac_cv_sizeof_void_p+:} false
; then :
20294 $as_echo_n "(cached) " >&6
20296 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20299 if test "$ac_cv_type_void_p" = yes; then
20300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20302 as_fn_error
77 "cannot compute sizeof (void *)
20303 See \`config.log' for more details" "$LINENO" 5; }
20305 ac_cv_sizeof_void_p
=0
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20311 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20315 cat >>confdefs.h
<<_ACEOF
20316 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20320 # The cast to long int works around a bug in the HP C Compiler
20321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20323 # This bug is HP SR number 8606223364.
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20325 $as_echo_n "checking size of int... " >&6; }
20326 if ${ac_cv_sizeof_int+:} false
; then :
20327 $as_echo_n "(cached) " >&6
20329 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20332 if test "$ac_cv_type_int" = yes; then
20333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20335 as_fn_error
77 "cannot compute sizeof (int)
20336 See \`config.log' for more details" "$LINENO" 5; }
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20344 $as_echo "$ac_cv_sizeof_int" >&6; }
20348 cat >>confdefs.h
<<_ACEOF
20349 #define SIZEOF_INT $ac_cv_sizeof_int
20353 # The cast to long int works around a bug in the HP C Compiler
20354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20356 # This bug is HP SR number 8606223364.
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20358 $as_echo_n "checking size of long... " >&6; }
20359 if ${ac_cv_sizeof_long+:} false
; then :
20360 $as_echo_n "(cached) " >&6
20362 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20365 if test "$ac_cv_type_long" = yes; then
20366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20368 as_fn_error
77 "cannot compute sizeof (long)
20369 See \`config.log' for more details" "$LINENO" 5; }
20371 ac_cv_sizeof_long
=0
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20377 $as_echo "$ac_cv_sizeof_long" >&6; }
20381 cat >>confdefs.h
<<_ACEOF
20382 #define SIZEOF_LONG $ac_cv_sizeof_long
20386 # The cast to long int works around a bug in the HP C Compiler
20387 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20388 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20389 # This bug is HP SR number 8606223364.
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20391 $as_echo_n "checking size of size_t... " >&6; }
20392 if ${ac_cv_sizeof_size_t+:} false
; then :
20393 $as_echo_n "(cached) " >&6
20395 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20398 if test "$ac_cv_type_size_t" = yes; then
20399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20401 as_fn_error
77 "cannot compute sizeof (size_t)
20402 See \`config.log' for more details" "$LINENO" 5; }
20404 ac_cv_sizeof_size_t
=0
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20410 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20414 cat >>confdefs.h
<<_ACEOF
20415 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20422 # The cast to long int works around a bug in the HP C Compiler
20423 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20424 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20425 # This bug is HP SR number 8606223364.
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20427 $as_echo_n "checking size of long long... " >&6; }
20428 if ${ac_cv_sizeof_long_long+:} false
; then :
20429 $as_echo_n "(cached) " >&6
20431 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20434 if test "$ac_cv_type_long_long" = yes; then
20435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20437 as_fn_error
77 "cannot compute sizeof (long long)
20438 See \`config.log' for more details" "$LINENO" 5; }
20440 ac_cv_sizeof_long_long
=0
20445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20446 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20450 cat >>confdefs.h
<<_ACEOF
20451 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20457 # The cast to long int works around a bug in the HP C Compiler
20458 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20459 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20460 # This bug is HP SR number 8606223364.
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20462 $as_echo_n "checking size of long long... " >&6; }
20463 if ${ac_cv_sizeof_long_long+:} false
; then :
20464 $as_echo_n "(cached) " >&6
20466 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20469 if test "$ac_cv_type_long_long" = yes; then
20470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20472 as_fn_error
77 "cannot compute sizeof (long long)
20473 See \`config.log' for more details" "$LINENO" 5; }
20475 ac_cv_sizeof_long_long
=0
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20481 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20485 cat >>confdefs.h
<<_ACEOF
20486 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20490 if test "$ac_cv_sizeof_long_long" != 0; then
20491 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20495 # The cast to long int works around a bug in the HP C Compiler
20496 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20497 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20498 # This bug is HP SR number 8606223364.
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20500 $as_echo_n "checking size of long long... " >&6; }
20501 if ${ac_cv_sizeof_long_long+:} false
; then :
20502 $as_echo_n "(cached) " >&6
20504 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20507 if test "$ac_cv_type_long_long" = yes; then
20508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20510 as_fn_error
77 "cannot compute sizeof (long long)
20511 See \`config.log' for more details" "$LINENO" 5; }
20513 ac_cv_sizeof_long_long
=0
20518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20519 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20523 cat >>confdefs.h
<<_ACEOF
20524 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20530 # The cast to long int works around a bug in the HP C Compiler
20531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20533 # This bug is HP SR number 8606223364.
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20535 $as_echo_n "checking size of wchar_t... " >&6; }
20536 if ${ac_cv_sizeof_wchar_t+:} false
; then :
20537 $as_echo_n "(cached) " >&6
20539 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20540 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20541 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20542 # error \"fake wchar_t\"
20544 #ifdef HAVE_WCHAR_H
20546 # include <stddef.h>
20548 # include <wchar.h>
20550 #ifdef HAVE_STDLIB_H
20551 # include <stdlib.h>
20559 if test "$ac_cv_type_wchar_t" = yes; then
20560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20562 as_fn_error
77 "cannot compute sizeof (wchar_t)
20563 See \`config.log' for more details" "$LINENO" 5; }
20565 ac_cv_sizeof_wchar_t
=0
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20571 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20575 cat >>confdefs.h
<<_ACEOF
20576 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20580 if test "$ac_cv_sizeof_wchar_t" = 0; then
20581 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20583 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20587 $as_echo_n "checking for va_copy... " >&6; }
20588 if ${wx_cv_func_va_copy+:} false
; then :
20589 $as_echo_n "(cached) " >&6
20593 ac_cpp
='$CXXCPP $CPPFLAGS'
20594 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20595 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20596 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20599 /* end confdefs.h. */
20602 #include <stdarg.h>
20603 void foo(char *f, ...)
20618 if ac_fn_cxx_try_link
"$LINENO"; then :
20619 wx_cv_func_va_copy
=yes
20621 wx_cv_func_va_copy
=no
20624 rm -f core conftest.err conftest.
$ac_objext \
20625 conftest
$ac_exeext conftest.
$ac_ext
20627 ac_cpp
='$CPP $CPPFLAGS'
20628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20636 $as_echo "$wx_cv_func_va_copy" >&6; }
20638 if test $wx_cv_func_va_copy = "yes"; then
20639 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20643 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20644 if ${wx_cv_type_va_list_lvalue+:} false
; then :
20645 $as_echo_n "(cached) " >&6
20648 if test "$cross_compiling" = yes; then :
20649 wx_cv_type_va_list_lvalue
=yes
20652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20653 /* end confdefs.h. */
20656 #include <stdarg.h>
20657 int foo(char *f, ...)
20662 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20670 return foo("hi", 17);
20674 if ac_fn_c_try_run
"$LINENO"; then :
20675 wx_cv_type_va_list_lvalue
=yes
20677 wx_cv_type_va_list_lvalue
=no
20679 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20680 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20687 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20689 if test $wx_cv_type_va_list_lvalue != "yes"; then
20690 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20695 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20698 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20699 if ${wx_cv_have_variadic_macros+:} false
; then :
20700 $as_echo_n "(cached) " >&6
20704 ac_cpp
='$CXXCPP $CPPFLAGS'
20705 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20706 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20707 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20710 /* end confdefs.h. */
20714 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20720 test("%s %d %p", "test", 1, 0);
20727 if ac_fn_cxx_try_compile
"$LINENO"; then :
20728 wx_cv_have_variadic_macros
=yes
20730 wx_cv_have_variadic_macros
=no
20733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20735 ac_cpp
='$CPP $CPPFLAGS'
20736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20744 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20746 if test $wx_cv_have_variadic_macros = "yes"; then
20747 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20753 LARGEFILE_CPPFLAGS
=
20754 # Check whether --enable-largefile was given.
20755 if test "${enable_largefile+set}" = set; then :
20756 enableval
=$enable_largefile;
20759 if test "$enable_largefile" != no
; then
20762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20763 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20764 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20765 $as_echo_n "(cached) " >&6
20768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20769 /* end confdefs.h. */
20770 #define _FILE_OFFSET_BITS 64
20771 #include <sys/types.h>
20776 unsigned int field: sizeof(off_t) == 8;
20783 if ac_fn_c_try_compile
"$LINENO"; then :
20784 ac_cv_sys_file_offset_bits
=64
20786 ac_cv_sys_file_offset_bits
=no
20788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20793 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20795 if test "$ac_cv_sys_file_offset_bits" != no
; then
20797 cat >>confdefs.h
<<_ACEOF
20798 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20803 if test "x$wx_largefile" != "xyes"; then
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20806 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20807 if ${ac_cv_sys_large_files+:} false
; then :
20808 $as_echo_n "(cached) " >&6
20811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20812 /* end confdefs.h. */
20813 #define _LARGE_FILES 1
20814 #include <sys/types.h>
20819 unsigned int field: sizeof(off_t) == 8;
20826 if ac_fn_c_try_compile
"$LINENO"; then :
20827 ac_cv_sys_large_files
=1
20829 ac_cv_sys_large_files
=no
20831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20836 $as_echo "$ac_cv_sys_large_files" >&6; }
20838 if test "$ac_cv_sys_large_files" != no
; then
20840 cat >>confdefs.h
<<_ACEOF
20841 #define _LARGE_FILES $ac_cv_sys_large_files
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20849 $as_echo_n "checking if large file support is available... " >&6; }
20850 if test "x$wx_largefile" = "xyes"; then
20851 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20855 $as_echo "$wx_largefile" >&6; }
20858 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20859 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20860 elif test "$ac_cv_sys_large_files" = 1; then
20861 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20864 if test -n "$LARGEFILE_CPPFLAGS"; then
20865 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20867 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20869 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20870 if ${wx_cv_STDC_EXT_required+:} false
; then :
20871 $as_echo_n "(cached) " >&6
20875 ac_cpp
='$CXXCPP $CPPFLAGS'
20876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20887 #ifndef __STDC_EXT__
20895 if ac_fn_cxx_try_compile
"$LINENO"; then :
20896 wx_cv_STDC_EXT_required
=no
20898 wx_cv_STDC_EXT_required
=yes
20901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20903 ac_cpp
='$CPP $CPPFLAGS'
20904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20912 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20913 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20914 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20920 ac_cpp
='$CXXCPP $CPPFLAGS'
20921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20925 old_CPPFLAGS
="$CPPFLAGS"
20926 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20928 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20929 if ${ac_cv_sys_largefile_source+:} false
; then :
20930 $as_echo_n "(cached) " >&6
20933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20934 /* end confdefs.h. */
20935 #include <sys/types.h> /* for off_t */
20940 int (*fp) (FILE *, off_t, int) = fseeko;
20941 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20946 if ac_fn_cxx_try_link
"$LINENO"; then :
20947 ac_cv_sys_largefile_source
=no
; break
20949 rm -f core conftest.err conftest.
$ac_objext \
20950 conftest
$ac_exeext conftest.
$ac_ext
20951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h. */
20953 #define _LARGEFILE_SOURCE 1
20954 #include <sys/types.h> /* for off_t */
20959 int (*fp) (FILE *, off_t, int) = fseeko;
20960 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20965 if ac_fn_cxx_try_link
"$LINENO"; then :
20966 ac_cv_sys_largefile_source
=1; break
20968 rm -f core conftest.err conftest.
$ac_objext \
20969 conftest
$ac_exeext conftest.
$ac_ext
20970 ac_cv_sys_largefile_source
=unknown
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20975 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20976 case $ac_cv_sys_largefile_source in #(
20979 cat >>confdefs.h
<<_ACEOF
20980 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20986 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20987 # in glibc 2.1.3, but that breaks too many other things.
20988 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20989 if test $ac_cv_sys_largefile_source != unknown
; then
20991 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20995 CPPFLAGS
="$old_CPPFLAGS"
20997 ac_cpp
='$CPP $CPPFLAGS'
20998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21002 if test "$ac_cv_sys_largefile_source" != no
; then
21003 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21007 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21008 if ${ac_cv_c_bigendian+:} false
; then :
21009 $as_echo_n "(cached) " >&6
21011 ac_cv_c_bigendian
=unknown
21012 # See if sys/param.h defines the BYTE_ORDER macro.
21013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h. */
21015 #include <sys/types.h>
21016 #include <sys/param.h>
21021 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21022 bogus endian macros
21028 if ac_fn_c_try_compile
"$LINENO"; then :
21029 # It does; now see whether it defined to BIG_ENDIAN or not.
21030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21031 /* end confdefs.h. */
21032 #include <sys/types.h>
21033 #include <sys/param.h>
21038 #if BYTE_ORDER != BIG_ENDIAN
21045 if ac_fn_c_try_compile
"$LINENO"; then :
21046 ac_cv_c_bigendian
=yes
21048 ac_cv_c_bigendian
=no
21050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21053 if test $ac_cv_c_bigendian = unknown
; then
21054 if test "$cross_compiling" = yes; then :
21055 ac_cv_c_bigendian
=unknown
21057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21058 /* end confdefs.h. */
21060 /* Are we little or big endian? From Harbison&Steele. */
21064 char c[sizeof (long)];
21067 exit (u.c[sizeof (long) - 1] == 1);
21070 if ac_fn_c_try_run
"$LINENO"; then :
21071 ac_cv_c_bigendian
=no
21073 ac_cv_c_bigendian
=yes
21075 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21076 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21082 $as_echo "$ac_cv_c_bigendian" >&6; }
21083 if test $ac_cv_c_bigendian = unknown
; then
21084 { $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
21085 $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;}
21087 if test $ac_cv_c_bigendian = yes; then
21088 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21096 ac_cpp
='$CXXCPP $CPPFLAGS'
21097 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21098 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21099 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21102 for ac_header
in iostream
21104 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
21106 if test "x$ac_cv_header_iostream" = xyes
; then :
21107 cat >>confdefs.h
<<_ACEOF
21108 #define HAVE_IOSTREAM 1
21116 if test "$ac_cv_header_iostream" = "yes" ; then
21119 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21124 ac_cpp
='$CPP $CPPFLAGS'
21125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21133 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21134 if ${wx_cv_explicit+:} false
; then :
21135 $as_echo_n "(cached) " >&6
21140 ac_cpp
='$CXXCPP $CPPFLAGS'
21141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21147 /* end confdefs.h. */
21149 class Foo { public: explicit Foo(int) {} };
21161 if ac_fn_cxx_try_compile
"$LINENO"; then :
21163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21164 /* end confdefs.h. */
21166 class Foo { public: explicit Foo(int) {} };
21167 static void TakeFoo(const Foo& foo) { }
21180 if ac_fn_cxx_try_compile
"$LINENO"; then :
21186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21195 ac_cpp
='$CPP $CPPFLAGS'
21196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21203 $as_echo "$wx_cv_explicit" >&6; }
21205 if test "$wx_cv_explicit" = "yes"; then
21206 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21211 if test "x$SUNCXX" = xyes
; then
21212 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21215 if test "x$SUNCC" = xyes
; then
21216 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21219 if test "x$SGICC" = "xyes"; then
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21221 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21222 if ${wx_cv_prog_sgicc744+:} false
; then :
21223 $as_echo_n "(cached) " >&6
21226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21227 /* end confdefs.h. */
21233 #if _SGI_COMPILER_VERSION >= 744
21234 chock me: mipsPro is 7.4.4 or later
21241 if ac_fn_c_try_compile
"$LINENO"; then :
21242 wx_cv_prog_sgicc744
=no
21244 wx_cv_prog_sgicc744
=yes
21247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21252 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21254 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21255 CFLAGS
="-woff 3970 $CFLAGS"
21258 if test "x$SGICXX" = "xyes"; then
21259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21260 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21261 if ${wx_cv_prog_sgicxx744+:} false
; then :
21262 $as_echo_n "(cached) " >&6
21266 ac_cpp
='$CXXCPP $CPPFLAGS'
21267 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21268 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21269 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21272 /* end confdefs.h. */
21278 #if _SGI_COMPILER_VERSION >= 744
21279 chock me: mipsPro is 7.4.4 or later
21286 if ac_fn_cxx_try_compile
"$LINENO"; then :
21287 wx_cv_prog_sgicxx744
=no
21289 wx_cv_prog_sgicxx744
=yes
21292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21294 ac_cpp
='$CPP $CPPFLAGS'
21295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21303 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21305 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21306 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21310 if test "x$HPCC" = "xyes"; then
21311 CFLAGS
="+W 2011,2450 $CFLAGS"
21313 if test "x$HPCXX" = "xyes"; then
21314 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21317 if test "x$COMPAQCXX" = "xyes"; then
21318 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21322 ac_cpp
='$CXXCPP $CPPFLAGS'
21323 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21324 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21325 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21328 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21329 if test "$wxUSE_UNICODE" = "yes"; then
21330 std_string
="std::wstring"
21331 char_type
="wchar_t"
21333 std_string
="std::string"
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21338 $as_echo_n "checking for $std_string in <string>... " >&6; }
21339 if ${wx_cv_class_stdstring+:} false
; then :
21340 $as_echo_n "(cached) " >&6
21343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21344 /* end confdefs.h. */
21354 if ac_fn_cxx_try_compile
"$LINENO"; then :
21355 wx_cv_class_stdstring
=yes
21357 wx_cv_class_stdstring
=no
21360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21365 $as_echo "$wx_cv_class_stdstring" >&6; }
21367 if test "$wx_cv_class_stdstring" = yes; then
21368 if test "$wxUSE_UNICODE" = "yes"; then
21369 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21374 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21375 if ${wx_cv_class_stdbasicstring+:} false
; then :
21376 $as_echo_n "(cached) " >&6
21379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21380 /* end confdefs.h. */
21382 #ifdef HAVE_WCHAR_H
21384 # include <stddef.h>
21386 # include <wchar.h>
21388 #ifdef HAVE_STDLIB_H
21389 # include <stdlib.h>
21397 std::basic_string<$char_type> foo;
21398 const $char_type* dummy = foo.c_str();
21403 if ac_fn_cxx_try_compile
"$LINENO"; then :
21404 wx_cv_class_stdbasicstring
=yes
21406 wx_cv_class_stdbasicstring
=no
21409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21414 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21416 if test "$wx_cv_class_stdbasicstring" != yes; then
21417 if test "$wxUSE_STL" = "yes"; then
21418 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21419 elif test "$wxUSE_STD_STRING" = "yes"; then
21420 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21423 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21424 wxUSE_STD_STRING
=no
21430 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21431 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21433 if test "x$ac_cv_type_std__istream" = xyes
; then :
21435 cat >>confdefs.h
<<_ACEOF
21436 #define HAVE_STD__ISTREAM 1
21441 wxUSE_STD_IOSTREAM
=no
21443 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21445 if test "x$ac_cv_type_std__ostream" = xyes
; then :
21447 cat >>confdefs.h
<<_ACEOF
21448 #define HAVE_STD__OSTREAM 1
21453 wxUSE_STD_IOSTREAM
=no
21457 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21458 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21459 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21462 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21467 if test "$wxUSE_STL" = "yes"; then
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21469 $as_echo_n "checking for basic STL functionality... " >&6; }
21470 if ${wx_cv_lib_stl+:} false
; then :
21471 $as_echo_n "(cached) " >&6
21473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21474 /* end confdefs.h. */
21476 #include <functional>
21477 #include <algorithm>
21483 std::vector<int> moo;
21484 std::list<int> foo;
21485 std::vector<int>::iterator it =
21486 std::find_if(moo.begin(), moo.end(),
21487 std::bind2nd(std::less<int>(), 3));
21492 if ac_fn_cxx_try_compile
"$LINENO"; then :
21498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21502 $as_echo "$wx_cv_lib_stl" >&6; }
21504 if test "$wx_cv_lib_stl" != yes; then
21505 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21509 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21510 if ${wx_cv_func_stdstring_compare+:} false
; then :
21511 $as_echo_n "(cached) " >&6
21513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21514 /* end confdefs.h. */
21519 std::string foo, bar;
21521 foo.compare(1, 1, bar);
21522 foo.compare(1, 1, bar, 1, 1);
21524 foo.compare(1, 1, "");
21525 foo.compare(1, 1, "", 2);
21530 if ac_fn_cxx_try_compile
"$LINENO"; then :
21531 wx_cv_func_stdstring_compare
=yes
21533 wx_cv_func_stdstring_compare
=no
21536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21540 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21542 if test "$wx_cv_func_stdstring_compare" = yes; then
21543 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21547 if test "$wx_cv_class_gnuhashmapset" = yes; then
21548 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21550 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21554 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21557 if test "x$ac_cv_header_unordered_map" = xyes
; then :
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21559 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21560 if ${wx_cv_class_stdunorderedmapset+:} false
; then :
21561 $as_echo_n "(cached) " >&6
21563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21564 /* end confdefs.h. */
21565 #include <unordered_map>
21566 #include <unordered_set>
21570 std::unordered_map<double*, char*> test1;
21571 std::unordered_set<char*> test2;
21576 if ac_fn_cxx_try_compile
"$LINENO"; then :
21577 wx_cv_class_stdunorderedmapset
=yes
21579 wx_cv_class_stdunorderedmapset
=no
21581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21586 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21591 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21592 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21594 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21597 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21600 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
21601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21602 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21603 if ${wx_cv_class_tr1unorderedmapset+:} false
; then :
21604 $as_echo_n "(cached) " >&6
21606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h. */
21608 #include <tr1/unordered_map>
21609 #include <tr1/unordered_set>
21613 std::tr1::unordered_map<double*, char*> test1;
21614 std::tr1::unordered_set<char*> test2;
21615 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21616 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21622 if ac_fn_cxx_try_compile
"$LINENO"; then :
21623 wx_cv_class_tr1unorderedmapset
=yes
21625 wx_cv_class_tr1unorderedmapset
=no
21627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21632 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21637 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21638 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21640 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21643 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21646 if test "x$ac_cv_header_hash_map" = xyes
; then :
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21648 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21649 if ${wx_cv_class_stdhashmapset+:} false
; then :
21650 $as_echo_n "(cached) " >&6
21652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21653 /* end confdefs.h. */
21654 #include <hash_map>
21655 #include <hash_set>
21659 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21660 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21665 if ac_fn_cxx_try_compile
"$LINENO"; then :
21666 wx_cv_class_stdhashmapset
=yes
21668 wx_cv_class_stdhashmapset
=no
21670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21675 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21680 if test "$wx_cv_class_stdhashmapset" = yes; then
21681 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21683 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21687 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21690 if test "x$ac_cv_header_ext_hash_map" = xyes
; then :
21691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21692 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21693 if ${wx_cv_class_gnuhashmapset+:} false
; then :
21694 $as_echo_n "(cached) " >&6
21696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21697 /* end confdefs.h. */
21698 #include <ext/hash_map>
21699 #include <ext/hash_set>
21703 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21704 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21709 if ac_fn_cxx_try_compile
"$LINENO"; then :
21710 wx_cv_class_gnuhashmapset
=yes
21712 wx_cv_class_gnuhashmapset
=no
21714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21719 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21729 ac_cpp
='$CXXCPP $CPPFLAGS'
21730 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21731 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21732 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21734 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21735 if test -z "$CXXCPP"; then
21736 if ${ac_cv_prog_CXXCPP+:} false
; then :
21737 $as_echo_n "(cached) " >&6
21739 # Double quotes because CXXCPP needs to be expanded
21740 for CXXCPP
in "$CXX -E" "/lib/cpp"
21742 ac_preproc_ok
=false
21743 for ac_cxx_preproc_warn_flag
in '' yes
21745 # Use a header file that comes with gcc, so configuring glibc
21746 # with a fresh cross-compiler works.
21747 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21748 # <limits.h> exists even on freestanding compilers.
21749 # On the NeXT, cc -E runs the code through the compiler's parser,
21750 # not just through cpp. "Syntax error" is here to catch this case.
21751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21752 /* end confdefs.h. */
21754 # include <limits.h>
21756 # include <assert.h>
21760 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21763 # Broken: fails on valid input.
21766 rm -f conftest.err conftest.i conftest.
$ac_ext
21768 # OK, works on sane cases. Now check whether nonexistent headers
21769 # can be detected and how.
21770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21771 /* end confdefs.h. */
21772 #include <ac_nonexistent.h>
21774 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21775 # Broken: success on invalid input.
21778 # Passes both tests.
21782 rm -f conftest.err conftest.i conftest.
$ac_ext
21785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21786 rm -f conftest.i conftest.err conftest.
$ac_ext
21787 if $ac_preproc_ok; then :
21792 ac_cv_prog_CXXCPP
=$CXXCPP
21795 CXXCPP
=$ac_cv_prog_CXXCPP
21797 ac_cv_prog_CXXCPP
=$CXXCPP
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21800 $as_echo "$CXXCPP" >&6; }
21801 ac_preproc_ok
=false
21802 for ac_cxx_preproc_warn_flag
in '' yes
21804 # Use a header file that comes with gcc, so configuring glibc
21805 # with a fresh cross-compiler works.
21806 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21807 # <limits.h> exists even on freestanding compilers.
21808 # On the NeXT, cc -E runs the code through the compiler's parser,
21809 # not just through cpp. "Syntax error" is here to catch this case.
21810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21811 /* end confdefs.h. */
21813 # include <limits.h>
21815 # include <assert.h>
21819 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21822 # Broken: fails on valid input.
21825 rm -f conftest.err conftest.i conftest.
$ac_ext
21827 # OK, works on sane cases. Now check whether nonexistent headers
21828 # can be detected and how.
21829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21830 /* end confdefs.h. */
21831 #include <ac_nonexistent.h>
21833 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21834 # Broken: success on invalid input.
21837 # Passes both tests.
21841 rm -f conftest.err conftest.i conftest.
$ac_ext
21844 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21845 rm -f conftest.i conftest.err conftest.
$ac_ext
21846 if $ac_preproc_ok; then :
21849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21851 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21852 See \`config.log' for more details" "$LINENO" 5; }
21856 ac_cpp
='$CXXCPP $CPPFLAGS'
21857 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21858 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21859 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21862 for ac_header
in type_traits tr
1/type_traits
21864 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21865 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21866 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21867 cat >>confdefs.h
<<_ACEOF
21868 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21878 if test -n "$GCC"; then
21879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21880 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21881 if ${wx_cv_cc_gcc_atomic_builtins+:} false
; then :
21882 $as_echo_n "(cached) " >&6
21885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21886 /* end confdefs.h. */
21892 unsigned int value=0;
21893 /* wxAtomicInc doesn't use return value here */
21894 __sync_fetch_and_add(&value, 2);
21895 __sync_sub_and_fetch(&value, 1);
21896 /* but wxAtomicDec does, so mimic that: */
21897 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21903 if ac_fn_cxx_try_link
"$LINENO"; then :
21904 wx_cv_cc_gcc_atomic_builtins
=yes
21906 wx_cv_cc_gcc_atomic_builtins
=no
21908 rm -f core conftest.err conftest.
$ac_objext \
21909 conftest
$ac_exeext conftest.
$ac_ext
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21914 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21915 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21916 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21923 ac_cpp
='$CPP $CPPFLAGS'
21924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21931 /usr/local/include \
21932 /usr/local/X11/include \
21933 /usr/local/include/X11 \
21934 /usr/local/X11R7/include \
21935 /usr/local/X11R6/include \
21936 /usr/local/include/X11R7 \
21937 /usr/local/include/X11R6 \
21939 /usr/Motif-2.1/include \
21940 /usr/Motif-1.2/include \
21941 /usr/include/Motif1.2 \
21944 /usr/openwin/include \
21948 /usr/X11R7/include \
21949 /usr/X11R6/include \
21950 /usr/X11R6.4/include \
21952 /usr/include/X11R7 \
21953 /usr/include/X11R6 \
21958 /usr/XFree86/include/X11 \
21961 /usr/local/X1R5/include \
21962 /usr/local/include/X11R5 \
21963 /usr/X11R5/include \
21964 /usr/include/X11R5 \
21966 /usr/local/X11R4/include \
21967 /usr/local/include/X11R4 \
21968 /usr/X11R4/include \
21969 /usr/include/X11R4 \
21971 /usr/openwin/share/include"
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21974 $as_echo_n "checking for libraries directories... " >&6; }
21978 if ${wx_cv_std_libpath+:} false
; then :
21979 $as_echo_n "(cached) " >&6
21982 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
21983 for e
in a so sl dylib dll.a
; do
21985 if test -f $libc; then
21988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21989 /* end confdefs.h. */
21991 int main() { return 0; }
21994 if ac_fn_c_try_link
"$LINENO"; then :
21995 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
21997 rm -f core conftest.err conftest.
$ac_objext \
21998 conftest
$ac_exeext conftest.
$ac_ext
22000 if test "x$wx_cv_std_libpath" != "x"; then
22013 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22014 wx_cv_std_libpath
="lib/64"
22019 if test "$ac_cv_sizeof_void_p" = 8; then
22020 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22021 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
22022 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22023 wx_cv_std_libpath
="lib64"
22028 if test -d '/usr/lib/i386-linux-gnu'; then
22029 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
22034 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22035 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
22040 if test -z "$wx_cv_std_libpath"; then
22041 wx_cv_std_libpath
="lib"
22044 if test -z "$wx_cv_std_libfullpath"; then
22045 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
22049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22050 $as_echo "$wx_cv_std_libfullpath" >&6; }
22052 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22054 if test "$build" != "$host" -a "$GCC" = yes; then
22055 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22056 cross_root
=`dirname $cross_root`
22057 cross_root
=`dirname $cross_root`
22059 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22060 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22061 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
22063 if test -z "$PKG_CONFIG_PATH"; then
22064 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22065 export PKG_CONFIG_PATH
22068 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22071 for ac_dir
in $SEARCH_INCLUDE /usr
/include
22073 if test -f "$ac_dir/X11/Intrinsic.h"; then
22074 ac_find_includes
=$ac_dir
22079 x_includes
=$ac_find_includes
22081 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22084 for ac_dir
in $SEARCH_LIB
22086 for ac_extension
in a so sl dylib dll.a
; do
22087 if test -f "$ac_dir/libXt.$ac_extension"; then
22088 ac_find_libraries
=$ac_dir
22094 x_libraries
=$ac_find_libraries
22100 cat >confcache
<<\_ACEOF
22101 # This file is a shell script that caches the results of configure
22102 # tests run on this system so they can be shared between configure
22103 # scripts and configure runs, see configure's option --config-cache.
22104 # It is not useful on other systems. If it contains results you don't
22105 # want to keep, you may remove or edit it.
22107 # config.status only pays attention to the cache file if you give it
22108 # the --recheck option to rerun configure.
22110 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22111 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22112 # following values.
22116 # The following way of writing the cache mishandles newlines in values,
22117 # but we know of no workaround that is simple, portable, and efficient.
22118 # So, we kill variables containing newlines.
22119 # Ultrix sh set writes to stderr and can't be redirected directly,
22120 # and sets the high bit in the cache file unless we assign to the vars.
22122 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22123 eval ac_val
=\$
$ac_var
22127 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22128 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22131 _
| IFS
| as_nl
) ;; #(
22132 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22133 *) { eval $ac_var=; unset $ac_var;} ;;
22139 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22140 *${as_nl}ac_space
=\
*)
22141 # `set' does not quote correctly, so add quotes: double-quote
22142 # substitution turns \\\\ into \\, and sed turns \\ into \.
22145 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22148 # `set' quotes correctly as required by POSIX, so do not add quotes.
22149 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22158 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22160 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22162 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22163 if test -w "$cache_file"; then
22164 if test "x$cache_file" != "x/dev/null"; then
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22166 $as_echo "$as_me: updating cache $cache_file" >&6;}
22167 if test ! -f "$cache_file" || test -h "$cache_file"; then
22168 cat confcache
>"$cache_file"
22170 case $cache_file in #(
22172 mv -f confcache
"$cache_file"$$
&&
22173 mv -f "$cache_file"$$
"$cache_file" ;; #(
22175 mv -f confcache
"$cache_file" ;;
22180 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22181 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22190 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22191 if test "x$ac_cv_func_cos" = xyes
; then :
22192 cat >>confdefs.h
<<_ACEOF
22199 for ac_func
in floor
22201 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22202 if test "x$ac_cv_func_floor" = xyes
; then :
22203 cat >>confdefs.h
<<_ACEOF
22204 #define HAVE_FLOOR 1
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22211 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22212 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22214 $as_echo "yes" >&6; }
22216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22217 $as_echo "no" >&6; }
22219 # use different functions to avoid configure caching
22224 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22225 if test "x$ac_cv_func_sin" = xyes
; then :
22226 cat >>confdefs.h
<<_ACEOF
22233 for ac_func
in ceil
22235 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22236 if test "x$ac_cv_func_ceil" = xyes
; then :
22237 cat >>confdefs.h
<<_ACEOF
22238 #define HAVE_CEIL 1
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22245 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22246 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22248 $as_echo "yes" >&6; }
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22251 $as_echo "no" >&6; }
22252 # not sure we should warn the user, crash, etc.
22257 ac_cpp
='$CXXCPP $CPPFLAGS'
22258 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22259 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22260 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22262 if test "wxUSE_UNICODE" = "yes"; then
22264 for wx_func
in wcstoull
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22267 $as_echo_n "checking for $wx_func... " >&6; }
22268 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22269 $as_echo_n "(cached) " >&6
22272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22273 /* end confdefs.h. */
22277 $ac_includes_default
22293 if ac_fn_cxx_try_link
"$LINENO"; then :
22294 eval wx_cv_func_
$wx_func=yes
22296 eval wx_cv_func_
$wx_func=no
22298 rm -f core conftest.err conftest.
$ac_objext \
22299 conftest
$ac_exeext conftest.
$ac_ext
22302 eval ac_res
=\
$wx_cv_func_$wx_func
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22304 $as_echo "$ac_res" >&6; }
22306 if eval test \
$wx_cv_func_$wx_func = yes
22308 cat >>confdefs.h
<<_ACEOF
22309 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22321 for wx_func
in strtoull
22323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22324 $as_echo_n "checking for $wx_func... " >&6; }
22325 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22326 $as_echo_n "(cached) " >&6
22329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22330 /* end confdefs.h. */
22334 $ac_includes_default
22350 if ac_fn_cxx_try_link
"$LINENO"; then :
22351 eval wx_cv_func_
$wx_func=yes
22353 eval wx_cv_func_
$wx_func=no
22355 rm -f core conftest.err conftest.
$ac_objext \
22356 conftest
$ac_exeext conftest.
$ac_ext
22359 eval ac_res
=\
$wx_cv_func_$wx_func
22360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22361 $as_echo "$ac_res" >&6; }
22363 if eval test \
$wx_cv_func_$wx_func = yes
22365 cat >>confdefs.h
<<_ACEOF
22366 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22378 ac_cpp
='$CPP $CPPFLAGS'
22379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22386 if test "$wxUSE_REGEX" != "no"; then
22387 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22390 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22392 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22393 wxUSE_REGEX
=builtin
22396 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22397 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22399 if test "x$ac_cv_header_regex_h" = xyes
; then :
22400 for ac_func
in regcomp re_search
22402 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22403 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22404 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22405 cat >>confdefs.h
<<_ACEOF
22406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22416 if test "x$ac_cv_func_regcomp" != "xyes"; then
22417 if test "$wxUSE_REGEX" = "sys" ; then
22418 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22421 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22422 wxUSE_REGEX
=builtin
22426 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22434 if test "$wxUSE_ZLIB" != "no" ; then
22435 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22438 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22439 if test "$USE_DARWIN" = 1; then
22440 system_zlib_h_ok
="yes"
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22443 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22444 if ${ac_cv_header_zlib_h+:} false
; then :
22445 $as_echo_n "(cached) " >&6
22447 if test "$cross_compiling" = yes; then :
22448 unset ac_cv_header_zlib_h
22451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22452 /* end confdefs.h. */
22459 FILE *f=fopen("conftestval", "w");
22462 ZLIB_VERSION[0] == '1' &&
22463 (ZLIB_VERSION[2] > '1' ||
22464 (ZLIB_VERSION[2] == '1' &&
22465 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22470 if ac_fn_c_try_run
"$LINENO"; then :
22471 ac_cv_header_zlib_h
=`cat conftestval`
22473 ac_cv_header_zlib_h
=no
22475 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22476 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22482 $as_echo "$ac_cv_header_zlib_h" >&6; }
22483 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22485 if test "x$ac_cv_header_zlib_h" = xyes
; then :
22491 system_zlib_h_ok
=$ac_cv_header_zlib_h
22494 if test "$system_zlib_h_ok" = "yes"; then
22495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22496 $as_echo_n "checking for deflate in -lz... " >&6; }
22497 if ${ac_cv_lib_z_deflate+:} false
; then :
22498 $as_echo_n "(cached) " >&6
22500 ac_check_lib_save_LIBS
=$LIBS
22502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22503 /* end confdefs.h. */
22505 /* Override any GCC internal prototype to avoid an error.
22506 Use char because int might match the return type of a GCC
22507 builtin and then its argument prototype would still apply. */
22520 if ac_fn_c_try_link
"$LINENO"; then :
22521 ac_cv_lib_z_deflate
=yes
22523 ac_cv_lib_z_deflate
=no
22525 rm -f core conftest.err conftest.
$ac_objext \
22526 conftest
$ac_exeext conftest.
$ac_ext
22527 LIBS
=$ac_check_lib_save_LIBS
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22530 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22531 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
22537 if test "x$ZLIB_LINK" = "x" ; then
22538 if test "$wxUSE_ZLIB" = "sys" ; then
22539 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22542 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22553 if test "$wxUSE_LIBPNG" != "no" ; then
22554 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22557 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22559 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22560 wxUSE_LIBPNG
=builtin
22563 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22565 $as_echo_n "checking for png.h > 0.90... " >&6; }
22566 if ${ac_cv_header_png_h+:} false
; then :
22567 $as_echo_n "(cached) " >&6
22569 if test "$cross_compiling" = yes; then :
22570 unset ac_cv_header_png_h
22573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22574 /* end confdefs.h. */
22581 FILE *f=fopen("conftestval", "w");
22584 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22589 if ac_fn_c_try_run
"$LINENO"; then :
22590 ac_cv_header_png_h
=`cat conftestval`
22592 ac_cv_header_png_h
=no
22594 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22595 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22601 $as_echo "$ac_cv_header_png_h" >&6; }
22602 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22604 if test "x$ac_cv_header_png_h" = xyes
; then :
22610 if test "$ac_cv_header_png_h" = "yes"; then
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22612 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22613 if ${ac_cv_lib_png_png_sig_cmp+:} false
; then :
22614 $as_echo_n "(cached) " >&6
22616 ac_check_lib_save_LIBS
=$LIBS
22617 LIBS
="-lpng -lz -lm $LIBS"
22618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22619 /* end confdefs.h. */
22621 /* Override any GCC internal prototype to avoid an error.
22622 Use char because int might match the return type of a GCC
22623 builtin and then its argument prototype would still apply. */
22627 char png_sig_cmp ();
22631 return png_sig_cmp ();
22636 if ac_fn_c_try_link
"$LINENO"; then :
22637 ac_cv_lib_png_png_sig_cmp
=yes
22639 ac_cv_lib_png_png_sig_cmp
=no
22641 rm -f core conftest.err conftest.
$ac_objext \
22642 conftest
$ac_exeext conftest.
$ac_ext
22643 LIBS
=$ac_check_lib_save_LIBS
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22646 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22647 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes
; then :
22648 PNG_LINK
=" -lpng -lz"
22653 if test "x$PNG_LINK" = "x" ; then
22654 if test "$wxUSE_LIBPNG" = "sys" ; then
22655 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22658 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22659 wxUSE_LIBPNG
=builtin
22669 if test "$wxUSE_LIBJPEG" != "no" ; then
22670 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22673 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22675 $as_echo_n "checking for jpeglib.h... " >&6; }
22676 if ${ac_cv_header_jpeglib_h+:} false
; then :
22677 $as_echo_n "(cached) " >&6
22679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22680 /* end confdefs.h. */
22682 #undef HAVE_STDLIB_H
22684 #include <jpeglib.h>
22695 if ac_fn_c_try_compile
"$LINENO"; then :
22696 ac_cv_header_jpeglib_h
=yes
22698 ac_cv_header_jpeglib_h
=no
22701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22706 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22708 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22710 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22711 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false
; then :
22712 $as_echo_n "(cached) " >&6
22714 ac_check_lib_save_LIBS
=$LIBS
22715 LIBS
="-ljpeg $LIBS"
22716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22717 /* end confdefs.h. */
22719 /* Override any GCC internal prototype to avoid an error.
22720 Use char because int might match the return type of a GCC
22721 builtin and then its argument prototype would still apply. */
22725 char jpeg_read_header ();
22729 return jpeg_read_header ();
22734 if ac_fn_c_try_link
"$LINENO"; then :
22735 ac_cv_lib_jpeg_jpeg_read_header
=yes
22737 ac_cv_lib_jpeg_jpeg_read_header
=no
22739 rm -f core conftest.err conftest.
$ac_objext \
22740 conftest
$ac_exeext conftest.
$ac_ext
22741 LIBS
=$ac_check_lib_save_LIBS
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22744 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22745 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes
; then :
22746 JPEG_LINK
=" -ljpeg"
22751 if test "x$JPEG_LINK" = "x" ; then
22752 if test "$wxUSE_LIBJPEG" = "sys" ; then
22753 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22756 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22757 wxUSE_LIBJPEG
=builtin
22762 if test "$wxUSE_MSW" = 1; then
22763 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22765 if test "x$ac_cv_type_boolean" = xyes
; then :
22767 cat >>confdefs.h
<<_ACEOF
22768 #define HAVE_BOOLEAN 1
22772 # The cast to long int works around a bug in the HP C Compiler
22773 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22774 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22775 # This bug is HP SR number 8606223364.
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22777 $as_echo_n "checking size of boolean... " >&6; }
22778 if ${ac_cv_sizeof_boolean+:} false
; then :
22779 $as_echo_n "(cached) " >&6
22781 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22782 #undef HAVE_BOOLEAN
22784 #include <jpeglib.h>
22789 if test "$ac_cv_type_boolean" = yes; then
22790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22792 as_fn_error
77 "cannot compute sizeof (boolean)
22793 See \`config.log' for more details" "$LINENO" 5; }
22795 ac_cv_sizeof_boolean
=0
22800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22801 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22805 cat >>confdefs.h
<<_ACEOF
22806 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22810 cat >>confdefs.h
<<_ACEOF
22811 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22824 TIFF_PREREQ_LINKS
=-lm
22825 if test "$wxUSE_LIBTIFF" != "no" ; then
22826 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22829 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22830 if test "$wxUSE_LIBJPEG" = "sys"; then
22831 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22833 if test "$wxUSE_ZLIB" = "sys"; then
22834 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22836 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22839 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22842 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22843 if ${ac_cv_lib_tiff_TIFFError+:} false
; then :
22844 $as_echo_n "(cached) " >&6
22846 ac_check_lib_save_LIBS
=$LIBS
22847 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22849 /* end confdefs.h. */
22851 /* Override any GCC internal prototype to avoid an error.
22852 Use char because int might match the return type of a GCC
22853 builtin and then its argument prototype would still apply. */
22861 return TIFFError ();
22866 if ac_fn_c_try_link
"$LINENO"; then :
22867 ac_cv_lib_tiff_TIFFError
=yes
22869 ac_cv_lib_tiff_TIFFError
=no
22871 rm -f core conftest.err conftest.
$ac_objext \
22872 conftest
$ac_exeext conftest.
$ac_ext
22873 LIBS
=$ac_check_lib_save_LIBS
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22876 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22877 if test "x$ac_cv_lib_tiff_TIFFError" = xyes
; then :
22878 TIFF_LINK
=" -ltiff"
22886 if test "x$TIFF_LINK" = "x" ; then
22887 if test "$wxUSE_LIBTIFF" = "sys" ; then
22888 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22891 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22892 wxUSE_LIBTIFF
=builtin
22898 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22899 if test "$wxUSE_LIBJPEG" = "no"; then
22900 ac_configure_args
="$ac_configure_args --disable-jpeg"
22904 subdirs
="$subdirs src/tiff"
22910 if test "$wxUSE_EXPAT" != "no"; then
22912 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22914 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22917 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22918 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
22920 if test "x$ac_cv_header_expat_h" = xyes
; then :
22925 if test "x$found_expat_h" = "x1"; then
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22927 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22928 if ${wx_cv_expat_is_not_broken+:} false
; then :
22929 $as_echo_n "(cached) " >&6
22933 ac_cpp
='$CXXCPP $CPPFLAGS'
22934 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22935 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22936 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22939 /* end confdefs.h. */
22949 if ac_fn_cxx_try_compile
"$LINENO"; then :
22950 wx_cv_expat_is_not_broken
=yes
22952 wx_cv_expat_is_not_broken
=no
22955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22957 ac_cpp
='$CPP $CPPFLAGS'
22958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22966 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22967 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22969 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22970 if ${ac_cv_lib_expat_XML_ParserCreate+:} false
; then :
22971 $as_echo_n "(cached) " >&6
22973 ac_check_lib_save_LIBS
=$LIBS
22974 LIBS
="-lexpat $LIBS"
22975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22976 /* end confdefs.h. */
22978 /* Override any GCC internal prototype to avoid an error.
22979 Use char because int might match the return type of a GCC
22980 builtin and then its argument prototype would still apply. */
22984 char XML_ParserCreate ();
22988 return XML_ParserCreate ();
22993 if ac_fn_c_try_link
"$LINENO"; then :
22994 ac_cv_lib_expat_XML_ParserCreate
=yes
22996 ac_cv_lib_expat_XML_ParserCreate
=no
22998 rm -f core conftest.err conftest.
$ac_objext \
22999 conftest
$ac_exeext conftest.
$ac_ext
23000 LIBS
=$ac_check_lib_save_LIBS
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23003 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23004 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
; then :
23005 EXPAT_LINK
=" -lexpat"
23010 if test "x$EXPAT_LINK" = "x" ; then
23011 if test "$wxUSE_EXPAT" = "sys" ; then
23012 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23015 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23016 wxUSE_EXPAT
=builtin
23022 if test "$wxUSE_EXPAT" = "builtin" ; then
23023 subdirs
="$subdirs src/expat"
23030 if test "$wxUSE_LIBMSPACK" != "no"; then
23031 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23033 if test "x$ac_cv_header_mspack_h" = xyes
; then :
23038 if test "x$found_mspack_h" = "x1"; then
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23040 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23041 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false
; then :
23042 $as_echo_n "(cached) " >&6
23044 ac_check_lib_save_LIBS
=$LIBS
23045 LIBS
="-lmspack $LIBS"
23046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23047 /* end confdefs.h. */
23049 /* Override any GCC internal prototype to avoid an error.
23050 Use char because int might match the return type of a GCC
23051 builtin and then its argument prototype would still apply. */
23055 char mspack_create_chm_decompressor ();
23059 return mspack_create_chm_decompressor ();
23064 if ac_fn_c_try_link
"$LINENO"; then :
23065 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23067 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23069 rm -f core conftest.err conftest.
$ac_objext \
23070 conftest
$ac_exeext conftest.
$ac_ext
23071 LIBS
=$ac_check_lib_save_LIBS
23073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23074 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23075 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes
; then :
23076 MSPACK_LINK
=" -lmspack"
23080 if test "x$MSPACK_LINK" = "x" ; then
23085 if test "$wxUSE_LIBMSPACK" != "no"; then
23086 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23099 if test "$USE_WIN32" = 1 ; then
23100 for ac_header
in w32api.h
23102 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23104 if test "x$ac_cv_header_w32api_h" = xyes
; then :
23105 cat >>confdefs.h
<<_ACEOF
23106 #define HAVE_W32API_H 1
23113 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
23115 if test "x$ac_cv_header_windows_h" = xyes
; then :
23119 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23125 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23127 x86_64
-*-mingw32* )
23128 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
23131 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23132 LIBS
="$LIBS -loleacc"
23137 LIBS
="$LIBS -lkernel32 -luser32"
23140 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23141 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
23143 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23145 WIN32INSTALL
=win32install
23148 if test "$wxUSE_GUI" = "yes"; then
23159 if test "$wxUSE_OLD_COCOA" = 1 ; then
23160 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23162 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23163 wxUSE_PRINTING_ARCHITECTURE
=no
23165 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23167 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23168 wxUSE_DRAG_AND_DROP
=no
23170 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23172 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23177 if test "$wxUSE_MSW" = 1 ; then
23183 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23187 if test "$wxUSE_GTK" = 1; then
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23189 $as_echo_n "checking for GTK+ version... " >&6; }
23191 gtk_version_cached
=1
23192 if ${wx_cv_lib_gtk+:} false
; then :
23193 $as_echo_n "(cached) " >&6
23196 gtk_version_cached
=0
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23201 if test "$wxUSE_THREADS" = "yes"; then
23202 GTK_MODULES
=gthread
23205 if test -z "$wxGTK_VERSION"; then
23210 if test "x$wxGTK_VERSION" != "x1"
23214 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23219 if test "$wxGTK_VERSION" != 3; then
23220 # Check whether --enable-gtktest was given.
23221 if test "${enable_gtktest+set}" = set; then :
23222 enableval
=$enable_gtktest;
23228 pkg_config_args
=gtk
+-2.0
23229 for module
in .
$GTK_MODULES
23233 pkg_config_args
="$pkg_config_args gthread-2.0"
23240 # Extract the first word of "pkg-config", so it can be a program name with args.
23241 set dummy pkg
-config; ac_word
=$2
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23243 $as_echo_n "checking for $ac_word... " >&6; }
23244 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23245 $as_echo_n "(cached) " >&6
23247 case $PKG_CONFIG in
23249 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23253 for as_dir
in $PATH
23256 test -z "$as_dir" && as_dir
=.
23257 for ac_exec_ext
in '' $ac_executable_extensions; do
23258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23259 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23267 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23271 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23272 if test -n "$PKG_CONFIG"; then
23273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23274 $as_echo "$PKG_CONFIG" >&6; }
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23277 $as_echo "no" >&6; }
23282 if test x
$PKG_CONFIG != xno
; then
23283 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23286 echo "*** pkg-config too old; version 0.7 or better required."
23294 min_gtk_version
=2.6.0
23295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23296 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23298 if test x
$PKG_CONFIG != xno
; then
23299 ## don't try to run the test against uninstalled libtool libs
23300 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23301 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23305 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23312 if test x
"$no_gtk" = x
; then
23313 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23314 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23315 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23316 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23317 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23318 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23319 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23320 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23321 if test "x$enable_gtktest" = "xyes" ; then
23322 ac_save_CFLAGS
="$CFLAGS"
23323 ac_save_LIBS
="$LIBS"
23324 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23325 LIBS
="$GTK_LIBS $LIBS"
23327 if test "$cross_compiling" = yes; then :
23328 echo $ac_n "cross compiling; assumed OK... $ac_c"
23330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23331 /* end confdefs.h. */
23333 #include <gtk/gtk.h>
23335 #include <stdlib.h>
23340 int major, minor, micro;
23343 system ("touch conf.gtktest");
23345 /* HP/UX 9 (%@#!) writes to sscanf strings */
23346 tmp_version = g_strdup("$min_gtk_version");
23347 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23348 printf("%s, bad version string\n", "$min_gtk_version");
23352 if ((gtk_major_version != $gtk_config_major_version) ||
23353 (gtk_minor_version != $gtk_config_minor_version) ||
23354 (gtk_micro_version != $gtk_config_micro_version))
23356 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23357 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23358 gtk_major_version, gtk_minor_version, gtk_micro_version);
23359 printf ("*** was found! If pkg-config was correct, then it is best\n");
23360 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23361 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23362 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23363 printf("*** required on your system.\n");
23364 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23365 printf("*** to point to the correct configuration files\n");
23367 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23368 (gtk_minor_version != GTK_MINOR_VERSION) ||
23369 (gtk_micro_version != GTK_MICRO_VERSION))
23371 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23372 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23373 printf("*** library (version %d.%d.%d)\n",
23374 gtk_major_version, gtk_minor_version, gtk_micro_version);
23378 if ((gtk_major_version > major) ||
23379 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23380 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23386 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23387 gtk_major_version, gtk_minor_version, gtk_micro_version);
23388 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23389 major, minor, micro);
23390 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23392 printf("*** If you have already installed a sufficiently new version, this error\n");
23393 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23394 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23395 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23396 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23397 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23398 printf("*** so that the correct libraries are found at run-time))\n");
23405 if ac_fn_c_try_run
"$LINENO"; then :
23410 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23411 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23414 CFLAGS
="$ac_save_CFLAGS"
23415 LIBS
="$ac_save_LIBS"
23418 if test "x$no_gtk" = x
; then
23419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23420 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23424 $as_echo "no" >&6; }
23425 if test "$PKG_CONFIG" = "no" ; then
23426 echo "*** A new enough version of pkg-config was not found."
23427 echo "*** See http://pkgconfig.sourceforge.net"
23429 if test -f conf.gtktest
; then
23432 echo "*** Could not run GTK+ test program, checking why..."
23433 ac_save_CFLAGS
="$CFLAGS"
23434 ac_save_LIBS
="$LIBS"
23435 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23436 LIBS
="$LIBS $GTK_LIBS"
23437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23438 /* end confdefs.h. */
23440 #include <gtk/gtk.h>
23446 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23451 if ac_fn_c_try_link
"$LINENO"; then :
23452 echo "*** The test program compiled, but did not run. This usually means"
23453 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23454 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23455 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23456 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23457 echo "*** is required on your system"
23459 echo "*** If you have an old version installed, it is best to remove it, although"
23460 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23462 echo "*** The test program failed to compile or link. See the file config.log for the"
23463 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23465 rm -f core conftest.err conftest.
$ac_objext \
23466 conftest
$ac_exeext conftest.
$ac_ext
23467 CFLAGS
="$ac_save_CFLAGS"
23468 LIBS
="$ac_save_LIBS"
23480 if test -z "$wx_cv_lib_gtk"; then
23481 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23482 # Check whether --enable-gtktest was given.
23483 if test "${enable_gtktest+set}" = set; then :
23484 enableval
=$enable_gtktest;
23490 pkg_config_args
=gtk
+-3.0
23491 for module
in .
$GTK_MODULES
23495 pkg_config_args
="$pkg_config_args gthread-2.0"
23502 # Extract the first word of "pkg-config", so it can be a program name with args.
23503 set dummy pkg
-config; ac_word
=$2
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23505 $as_echo_n "checking for $ac_word... " >&6; }
23506 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23507 $as_echo_n "(cached) " >&6
23509 case $PKG_CONFIG in
23511 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23515 for as_dir
in $PATH
23518 test -z "$as_dir" && as_dir
=.
23519 for ac_exec_ext
in '' $ac_executable_extensions; do
23520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23521 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23529 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23533 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23534 if test -n "$PKG_CONFIG"; then
23535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23536 $as_echo "$PKG_CONFIG" >&6; }
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23539 $as_echo "no" >&6; }
23544 if test x
$PKG_CONFIG != xno
; then
23545 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23548 echo "*** pkg-config too old; version 0.7 or better required."
23556 min_gtk_version
=3.0.0
23557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23558 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23560 if test x
$PKG_CONFIG != xno
; then
23561 ## don't try to run the test against uninstalled libtool libs
23562 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23563 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23567 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23574 if test x
"$no_gtk" = x
; then
23575 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23576 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23577 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23579 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23580 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23581 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23583 if test "x$enable_gtktest" = "xyes" ; then
23584 ac_save_CFLAGS
="$CFLAGS"
23585 ac_save_LIBS
="$LIBS"
23586 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23587 LIBS
="$GTK_LIBS $LIBS"
23589 if test "$cross_compiling" = yes; then :
23590 echo $ac_n "cross compiling; assumed OK... $ac_c"
23592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23593 /* end confdefs.h. */
23595 #include <gtk/gtk.h>
23597 #include <stdlib.h>
23602 int major, minor, micro;
23605 fclose (fopen ("conf.gtktest", "w"));
23607 /* HP/UX 9 (%@#!) writes to sscanf strings */
23608 tmp_version = g_strdup("$min_gtk_version");
23609 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23610 printf("%s, bad version string\n", "$min_gtk_version");
23614 if ((gtk_major_version != $gtk_config_major_version) ||
23615 (gtk_minor_version != $gtk_config_minor_version) ||
23616 (gtk_micro_version != $gtk_config_micro_version))
23618 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23619 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23620 gtk_major_version, gtk_minor_version, gtk_micro_version);
23621 printf ("*** was found! If pkg-config was correct, then it is best\n");
23622 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23623 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23624 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23625 printf("*** required on your system.\n");
23626 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23627 printf("*** to point to the correct configuration files\n");
23629 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23630 (gtk_minor_version != GTK_MINOR_VERSION) ||
23631 (gtk_micro_version != GTK_MICRO_VERSION))
23633 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23634 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23635 printf("*** library (version %d.%d.%d)\n",
23636 gtk_major_version, gtk_minor_version, gtk_micro_version);
23640 if ((gtk_major_version > major) ||
23641 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23642 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23648 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23649 gtk_major_version, gtk_minor_version, gtk_micro_version);
23650 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23651 major, minor, micro);
23652 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23654 printf("*** If you have already installed a sufficiently new version, this error\n");
23655 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23656 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23657 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23658 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23659 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23660 printf("*** so that the correct libraries are found at run-time))\n");
23667 if ac_fn_c_try_run
"$LINENO"; then :
23672 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23673 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23676 CFLAGS
="$ac_save_CFLAGS"
23677 LIBS
="$ac_save_LIBS"
23680 if test "x$no_gtk" = x
; then
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23682 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23686 $as_echo "no" >&6; }
23687 if test "$PKG_CONFIG" = "no" ; then
23688 echo "*** A new enough version of pkg-config was not found."
23689 echo "*** See http://pkgconfig.sourceforge.net"
23691 if test -f conf.gtktest
; then
23694 echo "*** Could not run GTK+ test program, checking why..."
23695 ac_save_CFLAGS
="$CFLAGS"
23696 ac_save_LIBS
="$LIBS"
23697 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23698 LIBS
="$LIBS $GTK_LIBS"
23699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23700 /* end confdefs.h. */
23702 #include <gtk/gtk.h>
23708 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23713 if ac_fn_c_try_link
"$LINENO"; then :
23714 echo "*** The test program compiled, but did not run. This usually means"
23715 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23716 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23717 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23718 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23719 echo "*** is required on your system"
23721 echo "*** If you have an old version installed, it is best to remove it, although"
23722 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23724 echo "*** The test program failed to compile or link. See the file config.log for the"
23725 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23727 rm -f core conftest.err conftest.
$ac_objext \
23728 conftest
$ac_exeext conftest.
$ac_ext
23729 CFLAGS
="$ac_save_CFLAGS"
23730 LIBS
="$ac_save_LIBS"
23745 if test -z "$wx_cv_lib_gtk"; then
23746 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23748 # Check whether --with-gtk-prefix was given.
23749 if test "${with_gtk_prefix+set}" = set; then :
23750 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23752 gtk_config_prefix
=""
23756 # Check whether --with-gtk-exec-prefix was given.
23757 if test "${with_gtk_exec_prefix+set}" = set; then :
23758 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23760 gtk_config_exec_prefix
=""
23763 # Check whether --enable-gtktest was given.
23764 if test "${enable_gtktest+set}" = set; then :
23765 enableval
=$enable_gtktest;
23771 for module
in .
$GTK_MODULES
23775 gtk_config_args
="$gtk_config_args gthread"
23780 if test x
$gtk_config_exec_prefix != x
; then
23781 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23782 if test x
${GTK_CONFIG+set} != xset
; then
23783 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23786 if test x
$gtk_config_prefix != x
; then
23787 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23788 if test x
${GTK_CONFIG+set} != xset
; then
23789 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23793 # Extract the first word of "gtk-config", so it can be a program name with args.
23794 set dummy gtk
-config; ac_word
=$2
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23796 $as_echo_n "checking for $ac_word... " >&6; }
23797 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23798 $as_echo_n "(cached) " >&6
23800 case $GTK_CONFIG in
23802 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23806 for as_dir
in $PATH
23809 test -z "$as_dir" && as_dir
=.
23810 for ac_exec_ext
in '' $ac_executable_extensions; do
23811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23812 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23820 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23824 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23825 if test -n "$GTK_CONFIG"; then
23826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23827 $as_echo "$GTK_CONFIG" >&6; }
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23830 $as_echo "no" >&6; }
23834 min_gtk_version
=1.2.7
23835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23836 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23838 if test "$GTK_CONFIG" = "no" ; then
23841 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23842 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23843 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23844 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23845 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23846 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23847 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23848 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23849 if test "x$enable_gtktest" = "xyes" ; then
23850 ac_save_CFLAGS
="$CFLAGS"
23851 ac_save_LIBS
="$LIBS"
23852 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23853 LIBS
="$GTK_LIBS $LIBS"
23855 if test "$cross_compiling" = yes; then :
23856 echo $ac_n "cross compiling; assumed OK... $ac_c"
23858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23859 /* end confdefs.h. */
23861 #include <gtk/gtk.h>
23863 #include <stdlib.h>
23868 int major, minor, micro;
23871 system ("touch conf.gtktest");
23873 /* HP/UX 9 (%@#!) writes to sscanf strings */
23874 tmp_version = g_strdup("$min_gtk_version");
23875 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23876 printf("%s, bad version string\n", "$min_gtk_version");
23880 if ((gtk_major_version != $gtk_config_major_version) ||
23881 (gtk_minor_version != $gtk_config_minor_version) ||
23882 (gtk_micro_version != $gtk_config_micro_version))
23884 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23885 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23886 gtk_major_version, gtk_minor_version, gtk_micro_version);
23887 printf ("*** was found! If gtk-config was correct, then it is best\n");
23888 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23889 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23890 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23891 printf("*** required on your system.\n");
23892 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23893 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23894 printf("*** before re-running configure\n");
23896 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23897 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23898 (gtk_minor_version != GTK_MINOR_VERSION) ||
23899 (gtk_micro_version != GTK_MICRO_VERSION))
23901 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23902 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23903 printf("*** library (version %d.%d.%d)\n",
23904 gtk_major_version, gtk_minor_version, gtk_micro_version);
23906 #endif /* defined (GTK_MAJOR_VERSION) ... */
23909 if ((gtk_major_version > major) ||
23910 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23911 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23917 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23918 gtk_major_version, gtk_minor_version, gtk_micro_version);
23919 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23920 major, minor, micro);
23921 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23923 printf("*** If you have already installed a sufficiently new version, this error\n");
23924 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23925 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23926 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23927 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23928 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23929 printf("*** so that the correct libraries are found at run-time))\n");
23936 if ac_fn_c_try_run
"$LINENO"; then :
23941 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23942 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23945 CFLAGS
="$ac_save_CFLAGS"
23946 LIBS
="$ac_save_LIBS"
23949 if test "x$no_gtk" = x
; then
23950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23951 $as_echo "yes" >&6; }
23952 wx_cv_lib_gtk
=1.2.7
23954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23955 $as_echo "no" >&6; }
23956 if test "$GTK_CONFIG" = "no" ; then
23957 echo "*** The gtk-config script installed by GTK could not be found"
23958 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23959 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23960 echo "*** full path to gtk-config."
23962 if test -f conf.gtktest
; then
23965 echo "*** Could not run GTK test program, checking why..."
23966 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23967 LIBS
="$LIBS $GTK_LIBS"
23968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23969 /* end confdefs.h. */
23971 #include <gtk/gtk.h>
23977 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23982 if ac_fn_c_try_link
"$LINENO"; then :
23983 echo "*** The test program compiled, but did not run. This usually means"
23984 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23985 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23986 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23987 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23988 echo "*** is required on your system"
23990 echo "*** If you have an old version installed, it is best to remove it, although"
23991 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23993 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23994 echo "*** came with the system with the command"
23996 echo "*** rpm --erase --nodeps gtk gtk-devel"
23998 echo "*** The test program failed to compile or link. See the file config.log for the"
23999 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24000 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24001 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24003 rm -f core conftest.err conftest.
$ac_objext \
24004 conftest
$ac_exeext conftest.
$ac_ext
24005 CFLAGS
="$ac_save_CFLAGS"
24006 LIBS
="$ac_save_LIBS"
24018 if test -z "$wx_cv_lib_gtk"; then
24020 # Check whether --with-gtk-prefix was given.
24021 if test "${with_gtk_prefix+set}" = set; then :
24022 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
24024 gtk_config_prefix
=""
24028 # Check whether --with-gtk-exec-prefix was given.
24029 if test "${with_gtk_exec_prefix+set}" = set; then :
24030 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
24032 gtk_config_exec_prefix
=""
24035 # Check whether --enable-gtktest was given.
24036 if test "${enable_gtktest+set}" = set; then :
24037 enableval
=$enable_gtktest;
24043 for module
in .
$GTK_MODULES
24047 gtk_config_args
="$gtk_config_args gthread"
24052 if test x
$gtk_config_exec_prefix != x
; then
24053 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24054 if test x
${GTK_CONFIG+set} != xset
; then
24055 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24058 if test x
$gtk_config_prefix != x
; then
24059 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24060 if test x
${GTK_CONFIG+set} != xset
; then
24061 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24065 # Extract the first word of "gtk-config", so it can be a program name with args.
24066 set dummy gtk
-config; ac_word
=$2
24067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24068 $as_echo_n "checking for $ac_word... " >&6; }
24069 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
24070 $as_echo_n "(cached) " >&6
24072 case $GTK_CONFIG in
24074 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24078 for as_dir
in $PATH
24081 test -z "$as_dir" && as_dir
=.
24082 for ac_exec_ext
in '' $ac_executable_extensions; do
24083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24084 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24092 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24096 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24097 if test -n "$GTK_CONFIG"; then
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24099 $as_echo "$GTK_CONFIG" >&6; }
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24102 $as_echo "no" >&6; }
24106 min_gtk_version
=1.2.3
24107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24108 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24110 if test "$GTK_CONFIG" = "no" ; then
24113 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24114 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24115 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24116 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24117 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24118 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24119 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24120 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24121 if test "x$enable_gtktest" = "xyes" ; then
24122 ac_save_CFLAGS
="$CFLAGS"
24123 ac_save_LIBS
="$LIBS"
24124 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24125 LIBS
="$GTK_LIBS $LIBS"
24127 if test "$cross_compiling" = yes; then :
24128 echo $ac_n "cross compiling; assumed OK... $ac_c"
24130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24131 /* end confdefs.h. */
24133 #include <gtk/gtk.h>
24135 #include <stdlib.h>
24140 int major, minor, micro;
24143 system ("touch conf.gtktest");
24145 /* HP/UX 9 (%@#!) writes to sscanf strings */
24146 tmp_version = g_strdup("$min_gtk_version");
24147 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24148 printf("%s, bad version string\n", "$min_gtk_version");
24152 if ((gtk_major_version != $gtk_config_major_version) ||
24153 (gtk_minor_version != $gtk_config_minor_version) ||
24154 (gtk_micro_version != $gtk_config_micro_version))
24156 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24157 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24158 gtk_major_version, gtk_minor_version, gtk_micro_version);
24159 printf ("*** was found! If gtk-config was correct, then it is best\n");
24160 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24161 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24162 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24163 printf("*** required on your system.\n");
24164 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24165 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24166 printf("*** before re-running configure\n");
24168 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24169 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24170 (gtk_minor_version != GTK_MINOR_VERSION) ||
24171 (gtk_micro_version != GTK_MICRO_VERSION))
24173 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24174 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24175 printf("*** library (version %d.%d.%d)\n",
24176 gtk_major_version, gtk_minor_version, gtk_micro_version);
24178 #endif /* defined (GTK_MAJOR_VERSION) ... */
24181 if ((gtk_major_version > major) ||
24182 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24183 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24189 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24190 gtk_major_version, gtk_minor_version, gtk_micro_version);
24191 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24192 major, minor, micro);
24193 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24195 printf("*** If you have already installed a sufficiently new version, this error\n");
24196 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24197 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24198 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24199 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24200 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24201 printf("*** so that the correct libraries are found at run-time))\n");
24208 if ac_fn_c_try_run
"$LINENO"; then :
24213 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24214 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24217 CFLAGS
="$ac_save_CFLAGS"
24218 LIBS
="$ac_save_LIBS"
24221 if test "x$no_gtk" = x
; then
24222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24223 $as_echo "yes" >&6; }
24224 wx_cv_lib_gtk
=1.2.3
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24227 $as_echo "no" >&6; }
24228 if test "$GTK_CONFIG" = "no" ; then
24229 echo "*** The gtk-config script installed by GTK could not be found"
24230 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24231 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24232 echo "*** full path to gtk-config."
24234 if test -f conf.gtktest
; then
24237 echo "*** Could not run GTK test program, checking why..."
24238 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24239 LIBS
="$LIBS $GTK_LIBS"
24240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24241 /* end confdefs.h. */
24243 #include <gtk/gtk.h>
24249 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24254 if ac_fn_c_try_link
"$LINENO"; then :
24255 echo "*** The test program compiled, but did not run. This usually means"
24256 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24257 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24258 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24259 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24260 echo "*** is required on your system"
24262 echo "*** If you have an old version installed, it is best to remove it, although"
24263 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24265 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24266 echo "*** came with the system with the command"
24268 echo "*** rpm --erase --nodeps gtk gtk-devel"
24270 echo "*** The test program failed to compile or link. See the file config.log for the"
24271 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24272 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24273 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24275 rm -f core conftest.err conftest.
$ac_objext \
24276 conftest
$ac_exeext conftest.
$ac_ext
24277 CFLAGS
="$ac_save_CFLAGS"
24278 LIBS
="$ac_save_LIBS"
24293 if test -z "$wx_cv_lib_gtk"; then
24296 GTK_LIBS
="$GTK_LIBS -lX11"
24298 wx_cv_cflags_gtk
=$GTK_CFLAGS
24299 wx_cv_libs_gtk
=$GTK_LIBS
24306 if test "$gtk_version_cached" = 1; then
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24308 $as_echo "$wx_cv_lib_gtk" >&6; }
24311 case "$wx_cv_lib_gtk" in
24322 *) as_fn_error $?
"
24323 The development files for GTK+ were not found. For GTK+ 2, please
24324 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24325 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24326 and that the version is 1.2.3 or above. Also check that the
24327 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24328 --libs' are in the LD_LIBRARY_PATH or equivalent.
24333 if test "$WXGTK3" = 1; then
24334 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24336 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24338 elif test "$WXGTK2" = 1; then
24339 save_CFLAGS
="$CFLAGS"
24341 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24342 LIBS
="$LIBS $wx_cv_libs_gtk"
24344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24345 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24347 /* end confdefs.h. */
24349 #include <gtk/gtk.h>
24355 #if !GTK_CHECK_VERSION(2,18,0)
24363 if ac_fn_c_try_compile
"$LINENO"; then :
24365 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24367 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24370 $as_echo "yes" >&6; }
24375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24376 $as_echo "no" >&6; }
24380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24382 if test "$ac_wxgtk218" = 0; then
24383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24384 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24386 /* end confdefs.h. */
24388 #include <gtk/gtk.h>
24394 #if !GTK_CHECK_VERSION(2,10,0)
24402 if ac_fn_c_try_compile
"$LINENO"; then :
24404 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24407 $as_echo "yes" >&6; }
24412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24413 $as_echo "no" >&6; }
24417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24420 CFLAGS
="$save_CFLAGS"
24423 if test "$wxUSE_UNICODE" = "yes"; then
24424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24425 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24430 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24431 if ${ac_cv_lib_gdk_gdk_im_open+:} false
; then :
24432 $as_echo_n "(cached) " >&6
24434 ac_check_lib_save_LIBS
=$LIBS
24436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24437 /* end confdefs.h. */
24439 /* Override any GCC internal prototype to avoid an error.
24440 Use char because int might match the return type of a GCC
24441 builtin and then its argument prototype would still apply. */
24445 char gdk_im_open ();
24449 return gdk_im_open ();
24454 if ac_fn_c_try_link
"$LINENO"; then :
24455 ac_cv_lib_gdk_gdk_im_open
=yes
24457 ac_cv_lib_gdk_gdk_im_open
=no
24459 rm -f core conftest.err conftest.
$ac_objext \
24460 conftest
$ac_exeext conftest.
$ac_ext
24461 LIBS
=$ac_check_lib_save_LIBS
24463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24464 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24465 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes
; then :
24466 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24471 if test "$USE_DARWIN" != 1; then
24472 for ac_func
in poll
24474 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24475 if test "x$ac_cv_func_poll" = xyes
; then :
24476 cat >>confdefs.h
<<_ACEOF
24477 #define HAVE_POLL 1
24486 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24487 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24488 AFMINSTALL
=afminstall
24492 if test "$wxUSE_GPE" = "yes"; then
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24494 $as_echo_n "checking for gpewidget library... " >&6; }
24497 for ac_dir
in $SEARCH_LIB
24499 for ac_extension
in a so sl dylib dll.a
; do
24500 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24501 ac_find_libraries
=$ac_dir
24507 if test "$ac_find_libraries" != "" ; then
24509 if test "$ac_find_libraries" = "default location"; then
24512 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24514 if test $result = 0; then
24517 ac_path_to_link
=" -L$ac_find_libraries"
24521 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24524 $as_echo "found in $ac_find_libraries" >&6; }
24526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24527 $as_echo "not found" >&6; }
24533 if test "$wxUSE_DFB" = 1; then
24536 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24537 if test -n "$ac_tool_prefix"; then
24538 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24539 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24541 $as_echo_n "checking for $ac_word... " >&6; }
24542 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
24543 $as_echo_n "(cached) " >&6
24545 case $PKG_CONFIG in
24547 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24551 for as_dir
in $PATH
24554 test -z "$as_dir" && as_dir
=.
24555 for ac_exec_ext
in '' $ac_executable_extensions; do
24556 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24557 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24568 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24569 if test -n "$PKG_CONFIG"; then
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24571 $as_echo "$PKG_CONFIG" >&6; }
24573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24574 $as_echo "no" >&6; }
24579 if test -z "$ac_cv_path_PKG_CONFIG"; then
24580 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24581 # Extract the first word of "pkg-config", so it can be a program name with args.
24582 set dummy pkg
-config; ac_word
=$2
24583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24584 $as_echo_n "checking for $ac_word... " >&6; }
24585 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
24586 $as_echo_n "(cached) " >&6
24588 case $ac_pt_PKG_CONFIG in
24590 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24594 for as_dir
in $PATH
24597 test -z "$as_dir" && as_dir
=.
24598 for ac_exec_ext
in '' $ac_executable_extensions; do
24599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24600 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24611 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24612 if test -n "$ac_pt_PKG_CONFIG"; then
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24614 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24617 $as_echo "no" >&6; }
24620 if test "x$ac_pt_PKG_CONFIG" = x
; then
24623 case $cross_compiling:$ac_tool_warned in
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24627 ac_tool_warned
=yes ;;
24629 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24632 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24636 if test -n "$PKG_CONFIG"; then
24637 _pkg_min_version
=0.9.0
24638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24639 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24640 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24642 $as_echo "yes" >&6; }
24644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24645 $as_echo "no" >&6; }
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24654 $as_echo_n "checking for DIRECTFB... " >&6; }
24656 if test -n "$PKG_CONFIG"; then
24657 if test -n "$DIRECTFB_CFLAGS"; then
24658 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24660 if test -n "$PKG_CONFIG" && \
24661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24662 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24665 test $ac_status = 0; }; then
24666 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24674 if test -n "$PKG_CONFIG"; then
24675 if test -n "$DIRECTFB_LIBS"; then
24676 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24678 if test -n "$PKG_CONFIG" && \
24679 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24680 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24683 test $ac_status = 0; }; then
24684 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24695 if test $pkg_failed = yes; then
24697 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24698 _pkg_short_errors_supported
=yes
24700 _pkg_short_errors_supported
=no
24702 if test $_pkg_short_errors_supported = yes; then
24703 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24705 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24707 # Put the nasty error message in config.log where it belongs
24708 echo "$DIRECTFB_PKG_ERRORS" >&5
24711 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24714 elif test $pkg_failed = untried
; then
24716 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24720 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24721 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24723 $as_echo "yes" >&6; }
24725 wxUSE_UNIVERSAL
="yes"
24726 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24727 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24734 if test "$wxUSE_MICROWIN" = 1; then
24735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24736 $as_echo_n "checking for MicroWindows... " >&6; }
24737 if test "x$MICROWINDOWS" = x
; then
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24739 $as_echo "not found" >&6; }
24740 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24743 $as_echo "$MICROWINDOWS" >&6; }
24746 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24748 $as_echo "MicroWindows' libraries found." >&6; }
24750 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24753 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24754 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24756 wxUSE_UNIVERSAL
="yes"
24758 AFMINSTALL
=afminstall
24760 GUIDIST
=MICROWIN_DIST
24762 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24765 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24767 $as_echo_n "checking for X... " >&6; }
24770 # Check whether --with-x was given.
24771 if test "${with_x+set}" = set; then :
24775 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24776 if test "x$with_x" = xno
; then
24777 # The user explicitly disabled X.
24780 case $x_includes,$x_libraries in #(
24781 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
24782 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
24783 $as_echo_n "(cached) " >&6
24785 # One or both of the vars are not set, and there is no cached value.
24786 ac_x_includes
=no ac_x_libraries
=no
24787 rm -f -r conftest.dir
24788 if mkdir conftest.dir
; then
24790 cat >Imakefile
<<'_ACEOF'
24792 @echo incroot='${INCROOT}'
24794 @echo usrlibdir='${USRLIBDIR}'
24796 @echo libdir='${LIBDIR}'
24798 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24799 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24800 for ac_var
in incroot usrlibdir libdir
; do
24801 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24803 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24804 for ac_extension
in a so sl dylib la dll
; do
24805 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24806 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24807 ac_im_usrlibdir
=$ac_im_libdir; break
24810 # Screen out bogus values from the imake configuration. They are
24811 # bogus both because they are the default anyway, and because
24812 # using them would break gcc on systems where it needs fixed includes.
24813 case $ac_im_incroot in
24814 /usr
/include
) ac_x_includes
= ;;
24815 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24817 case $ac_im_usrlibdir in
24818 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24819 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24823 rm -f -r conftest.dir
24826 # Standard set of common directories for X headers.
24827 # Check X11 before X11Rn because it is often a symlink to the current release.
24841 /usr/local/X11/include
24842 /usr/local/X11R7/include
24843 /usr/local/X11R6/include
24844 /usr/local/X11R5/include
24845 /usr/local/X11R4/include
24847 /usr/local/include/X11
24848 /usr/local/include/X11R7
24849 /usr/local/include/X11R6
24850 /usr/local/include/X11R5
24851 /usr/local/include/X11R4
24855 /usr/XFree86/include/X11
24859 /usr/unsupported/include
24860 /usr/athena/include
24861 /usr/local/x11r5/include
24862 /usr/lpp/Xamples/include
24864 /usr/openwin/include
24865 /usr/openwin/share/include'
24867 if test "$ac_x_includes" = no
; then
24868 # Guess where to find include files, by looking for Xlib.h.
24869 # First, try using that file with no special directory specified.
24870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24871 /* end confdefs.h. */
24872 #include <X11/Xlib.h>
24874 if ac_fn_c_try_cpp
"$LINENO"; then :
24875 # We can compile using X headers with no special include directory.
24878 for ac_dir
in $ac_x_header_dirs; do
24879 if test -r "$ac_dir/X11/Xlib.h"; then
24880 ac_x_includes
=$ac_dir
24885 rm -f conftest.err conftest.i conftest.
$ac_ext
24886 fi # $ac_x_includes = no
24888 if test "$ac_x_libraries" = no
; then
24889 # Check for the libraries.
24890 # See if we find them without any special options.
24891 # Don't add to $LIBS permanently.
24894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24895 /* end confdefs.h. */
24896 #include <X11/Xlib.h>
24905 if ac_fn_c_try_link
"$LINENO"; then :
24907 # We can link X programs with no special library path.
24911 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24913 # Don't even attempt the hair of trying to link an X program!
24914 for ac_extension
in a so sl dylib la dll
; do
24915 if test -r "$ac_dir/libX11.$ac_extension"; then
24916 ac_x_libraries
=$ac_dir
24922 rm -f core conftest.err conftest.
$ac_objext \
24923 conftest
$ac_exeext conftest.
$ac_ext
24924 fi # $ac_x_libraries = no
24926 case $ac_x_includes,$ac_x_libraries in #(
24927 no
,* | *,no
| *\'*)
24928 # Didn't find X, or a directory has "'" in its name.
24929 ac_cv_have_x
="have_x=no";; #(
24931 # Record where we found X for the cache.
24932 ac_cv_have_x
="have_x=yes\
24933 ac_x_includes='$ac_x_includes'\
24934 ac_x_libraries='$ac_x_libraries'"
24940 eval "$ac_cv_have_x"
24943 if test "$have_x" != yes; then
24944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24945 $as_echo "$have_x" >&6; }
24948 # If each of the values was on the command line, it overrides each guess.
24949 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24950 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24951 # Update the cache value to reflect the command line values.
24952 ac_cv_have_x
="have_x=yes\
24953 ac_x_includes='$x_includes'\
24954 ac_x_libraries='$x_libraries'"
24955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24956 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24959 if test "$no_x" = yes; then
24960 # Not all programs may use this symbol, but it does not hurt to define it.
24962 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24964 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24966 if test -n "$x_includes"; then
24967 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24970 # It would also be nice to do this for all -L options, not just this one.
24971 if test -n "$x_libraries"; then
24972 X_LIBS
="$X_LIBS -L$x_libraries"
24973 # For Solaris; some versions of Sun CC require a space after -R and
24974 # others require no space. Words are not sufficient . . . .
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24976 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24977 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24978 ac_xsave_c_werror_flag
=$ac_c_werror_flag
24979 ac_c_werror_flag
=yes
24980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24981 /* end confdefs.h. */
24991 if ac_fn_c_try_link
"$LINENO"; then :
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24993 $as_echo "no" >&6; }
24994 X_LIBS
="$X_LIBS -R$x_libraries"
24996 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24998 /* end confdefs.h. */
25008 if ac_fn_c_try_link
"$LINENO"; then :
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25010 $as_echo "yes" >&6; }
25011 X_LIBS
="$X_LIBS -R $x_libraries"
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25014 $as_echo "neither works" >&6; }
25016 rm -f core conftest.err conftest.
$ac_objext \
25017 conftest
$ac_exeext conftest.
$ac_ext
25019 rm -f core conftest.err conftest.
$ac_objext \
25020 conftest
$ac_exeext conftest.
$ac_ext
25021 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25022 LIBS
=$ac_xsave_LIBS
25025 # Check for system-dependent libraries X programs must link with.
25026 # Do this before checking for the system-independent R6 libraries
25027 # (-lICE), since we may need -lsocket or whatever for X linking.
25029 if test "$ISC" = yes; then
25030 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25032 # Martyn Johnson says this is needed for Ultrix, if the X
25033 # libraries were built with DECnet support. And Karl Berry says
25034 # the Alpha needs dnet_stub (dnet does not exist).
25035 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25037 /* end confdefs.h. */
25039 /* Override any GCC internal prototype to avoid an error.
25040 Use char because int might match the return type of a GCC
25041 builtin and then its argument prototype would still apply. */
25045 char XOpenDisplay ();
25049 return XOpenDisplay ();
25054 if ac_fn_c_try_link
"$LINENO"; then :
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25058 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25059 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
25060 $as_echo_n "(cached) " >&6
25062 ac_check_lib_save_LIBS
=$LIBS
25063 LIBS
="-ldnet $LIBS"
25064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25065 /* end confdefs.h. */
25067 /* Override any GCC internal prototype to avoid an error.
25068 Use char because int might match the return type of a GCC
25069 builtin and then its argument prototype would still apply. */
25077 return dnet_ntoa ();
25082 if ac_fn_c_try_link
"$LINENO"; then :
25083 ac_cv_lib_dnet_dnet_ntoa
=yes
25085 ac_cv_lib_dnet_dnet_ntoa
=no
25087 rm -f core conftest.err conftest.
$ac_objext \
25088 conftest
$ac_exeext conftest.
$ac_ext
25089 LIBS
=$ac_check_lib_save_LIBS
25091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25092 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25093 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
25094 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25097 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25099 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25100 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
25101 $as_echo_n "(cached) " >&6
25103 ac_check_lib_save_LIBS
=$LIBS
25104 LIBS
="-ldnet_stub $LIBS"
25105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25106 /* end confdefs.h. */
25108 /* Override any GCC internal prototype to avoid an error.
25109 Use char because int might match the return type of a GCC
25110 builtin and then its argument prototype would still apply. */
25118 return dnet_ntoa ();
25123 if ac_fn_c_try_link
"$LINENO"; then :
25124 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25126 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25128 rm -f core conftest.err conftest.
$ac_objext \
25129 conftest
$ac_exeext conftest.
$ac_ext
25130 LIBS
=$ac_check_lib_save_LIBS
25132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25133 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25134 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
25135 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25140 rm -f core conftest.err conftest.
$ac_objext \
25141 conftest
$ac_exeext conftest.
$ac_ext
25142 LIBS
="$ac_xsave_LIBS"
25144 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25145 # to get the SysV transport functions.
25146 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25148 # The nsl library prevents programs from opening the X display
25149 # on Irix 5.2, according to T.E. Dickey.
25150 # The functions gethostbyname, getservbyname, and inet_addr are
25151 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25152 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25153 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
25157 if test $ac_cv_func_gethostbyname = no
; then
25158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25159 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25160 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
25161 $as_echo_n "(cached) " >&6
25163 ac_check_lib_save_LIBS
=$LIBS
25165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25166 /* end confdefs.h. */
25168 /* Override any GCC internal prototype to avoid an error.
25169 Use char because int might match the return type of a GCC
25170 builtin and then its argument prototype would still apply. */
25174 char gethostbyname ();
25178 return gethostbyname ();
25183 if ac_fn_c_try_link
"$LINENO"; then :
25184 ac_cv_lib_nsl_gethostbyname
=yes
25186 ac_cv_lib_nsl_gethostbyname
=no
25188 rm -f core conftest.err conftest.
$ac_objext \
25189 conftest
$ac_exeext conftest.
$ac_ext
25190 LIBS
=$ac_check_lib_save_LIBS
25192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25193 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25194 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
25195 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25198 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25200 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25201 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
25202 $as_echo_n "(cached) " >&6
25204 ac_check_lib_save_LIBS
=$LIBS
25206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25207 /* end confdefs.h. */
25209 /* Override any GCC internal prototype to avoid an error.
25210 Use char because int might match the return type of a GCC
25211 builtin and then its argument prototype would still apply. */
25215 char gethostbyname ();
25219 return gethostbyname ();
25224 if ac_fn_c_try_link
"$LINENO"; then :
25225 ac_cv_lib_bsd_gethostbyname
=yes
25227 ac_cv_lib_bsd_gethostbyname
=no
25229 rm -f core conftest.err conftest.
$ac_objext \
25230 conftest
$ac_exeext conftest.
$ac_ext
25231 LIBS
=$ac_check_lib_save_LIBS
25233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25234 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25235 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
25236 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25242 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25243 # socket/setsockopt and other routines are undefined under SCO ODT
25244 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25245 # on later versions), says Simon Leinen: it contains gethostby*
25246 # variants that don't use the name server (or something). -lsocket
25247 # must be given before -lnsl if both are needed. We assume that
25248 # if connect needs -lnsl, so does gethostbyname.
25249 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25250 if test "x$ac_cv_func_connect" = xyes
; then :
25254 if test $ac_cv_func_connect = no
; then
25255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25256 $as_echo_n "checking for connect in -lsocket... " >&6; }
25257 if ${ac_cv_lib_socket_connect+:} false
; then :
25258 $as_echo_n "(cached) " >&6
25260 ac_check_lib_save_LIBS
=$LIBS
25261 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25263 /* end confdefs.h. */
25265 /* Override any GCC internal prototype to avoid an error.
25266 Use char because int might match the return type of a GCC
25267 builtin and then its argument prototype would still apply. */
25280 if ac_fn_c_try_link
"$LINENO"; then :
25281 ac_cv_lib_socket_connect
=yes
25283 ac_cv_lib_socket_connect
=no
25285 rm -f core conftest.err conftest.
$ac_objext \
25286 conftest
$ac_exeext conftest.
$ac_ext
25287 LIBS
=$ac_check_lib_save_LIBS
25289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25290 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25291 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
25292 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25297 # Guillermo Gomez says -lposix is necessary on A/UX.
25298 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25299 if test "x$ac_cv_func_remove" = xyes
; then :
25303 if test $ac_cv_func_remove = no
; then
25304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25305 $as_echo_n "checking for remove in -lposix... " >&6; }
25306 if ${ac_cv_lib_posix_remove+:} false
; then :
25307 $as_echo_n "(cached) " >&6
25309 ac_check_lib_save_LIBS
=$LIBS
25310 LIBS
="-lposix $LIBS"
25311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25312 /* end confdefs.h. */
25314 /* Override any GCC internal prototype to avoid an error.
25315 Use char because int might match the return type of a GCC
25316 builtin and then its argument prototype would still apply. */
25329 if ac_fn_c_try_link
"$LINENO"; then :
25330 ac_cv_lib_posix_remove
=yes
25332 ac_cv_lib_posix_remove
=no
25334 rm -f core conftest.err conftest.
$ac_objext \
25335 conftest
$ac_exeext conftest.
$ac_ext
25336 LIBS
=$ac_check_lib_save_LIBS
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25339 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25340 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
25341 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25346 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25347 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25348 if test "x$ac_cv_func_shmat" = xyes
; then :
25352 if test $ac_cv_func_shmat = no
; then
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25354 $as_echo_n "checking for shmat in -lipc... " >&6; }
25355 if ${ac_cv_lib_ipc_shmat+:} false
; then :
25356 $as_echo_n "(cached) " >&6
25358 ac_check_lib_save_LIBS
=$LIBS
25360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25361 /* end confdefs.h. */
25363 /* Override any GCC internal prototype to avoid an error.
25364 Use char because int might match the return type of a GCC
25365 builtin and then its argument prototype would still apply. */
25378 if ac_fn_c_try_link
"$LINENO"; then :
25379 ac_cv_lib_ipc_shmat
=yes
25381 ac_cv_lib_ipc_shmat
=no
25383 rm -f core conftest.err conftest.
$ac_objext \
25384 conftest
$ac_exeext conftest.
$ac_ext
25385 LIBS
=$ac_check_lib_save_LIBS
25387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25388 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25389 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
25390 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25396 # Check for libraries that X11R6 Xt/Xaw programs need.
25397 ac_save_LDFLAGS
=$LDFLAGS
25398 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25399 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25400 # check for ICE first), but we must link in the order -lSM -lICE or
25401 # we get undefined symbols. So assume we have SM if we have ICE.
25402 # These have to be linked with before -lX11, unlike the other
25403 # libraries we check for below, so use a different variable.
25404 # John Interrante, Karl Berry
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25406 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25407 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
25408 $as_echo_n "(cached) " >&6
25410 ac_check_lib_save_LIBS
=$LIBS
25411 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25413 /* end confdefs.h. */
25415 /* Override any GCC internal prototype to avoid an error.
25416 Use char because int might match the return type of a GCC
25417 builtin and then its argument prototype would still apply. */
25421 char IceConnectionNumber ();
25425 return IceConnectionNumber ();
25430 if ac_fn_c_try_link
"$LINENO"; then :
25431 ac_cv_lib_ICE_IceConnectionNumber
=yes
25433 ac_cv_lib_ICE_IceConnectionNumber
=no
25435 rm -f core conftest.err conftest.
$ac_objext \
25436 conftest
$ac_exeext conftest.
$ac_ext
25437 LIBS
=$ac_check_lib_save_LIBS
25439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25440 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25441 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
25442 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25445 LDFLAGS
=$ac_save_LDFLAGS
25450 if test "$no_x" = "yes"; then
25451 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25454 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25455 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25456 AFMINSTALL
=afminstall
25457 COMPILED_X_PROGRAM
=0
25461 if test "$wxUSE_X11" = 1; then
25462 if test "$wxUSE_NANOX" = "yes"; then
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25464 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25465 if test "x$MICROWIN" = x
; then
25466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25467 $as_echo "not found" >&6; }
25468 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25471 $as_echo "$MICROWIN" >&6; }
25472 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25477 if test "$wxUSE_UNICODE" = "yes"; then
25480 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25481 if test -n "$ac_tool_prefix"; then
25482 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25483 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25485 $as_echo_n "checking for $ac_word... " >&6; }
25486 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
25487 $as_echo_n "(cached) " >&6
25489 case $PKG_CONFIG in
25491 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25495 for as_dir
in $PATH
25498 test -z "$as_dir" && as_dir
=.
25499 for ac_exec_ext
in '' $ac_executable_extensions; do
25500 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25501 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25512 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25513 if test -n "$PKG_CONFIG"; then
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25515 $as_echo "$PKG_CONFIG" >&6; }
25517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25518 $as_echo "no" >&6; }
25523 if test -z "$ac_cv_path_PKG_CONFIG"; then
25524 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25525 # Extract the first word of "pkg-config", so it can be a program name with args.
25526 set dummy pkg
-config; ac_word
=$2
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25528 $as_echo_n "checking for $ac_word... " >&6; }
25529 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
25530 $as_echo_n "(cached) " >&6
25532 case $ac_pt_PKG_CONFIG in
25534 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25538 for as_dir
in $PATH
25541 test -z "$as_dir" && as_dir
=.
25542 for ac_exec_ext
in '' $ac_executable_extensions; do
25543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25544 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25555 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25556 if test -n "$ac_pt_PKG_CONFIG"; then
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25558 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25561 $as_echo "no" >&6; }
25564 if test "x$ac_pt_PKG_CONFIG" = x
; then
25567 case $cross_compiling:$ac_tool_warned in
25569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25571 ac_tool_warned
=yes ;;
25573 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25576 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25580 if test -n "$PKG_CONFIG"; then
25581 _pkg_min_version
=0.9.0
25582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25583 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25584 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25586 $as_echo "yes" >&6; }
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25589 $as_echo "no" >&6; }
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25598 $as_echo_n "checking for PANGOX... " >&6; }
25600 if test -n "$PKG_CONFIG"; then
25601 if test -n "$PANGOX_CFLAGS"; then
25602 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25604 if test -n "$PKG_CONFIG" && \
25605 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25606 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25609 test $ac_status = 0; }; then
25610 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25618 if test -n "$PKG_CONFIG"; then
25619 if test -n "$PANGOX_LIBS"; then
25620 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25622 if test -n "$PKG_CONFIG" && \
25623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25624 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25627 test $ac_status = 0; }; then
25628 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25639 if test $pkg_failed = yes; then
25641 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25642 _pkg_short_errors_supported
=yes
25644 _pkg_short_errors_supported
=no
25646 if test $_pkg_short_errors_supported = yes; then
25647 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25649 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25651 # Put the nasty error message in config.log where it belongs
25652 echo "$PANGOX_PKG_ERRORS" >&5
25655 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25658 elif test $pkg_failed = untried
; then
25660 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25664 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25665 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25667 $as_echo "yes" >&6; }
25669 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25670 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25671 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25677 $as_echo_n "checking for PANGOFT2... " >&6; }
25679 if test -n "$PKG_CONFIG"; then
25680 if test -n "$PANGOFT2_CFLAGS"; then
25681 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25683 if test -n "$PKG_CONFIG" && \
25684 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25685 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25688 test $ac_status = 0; }; then
25689 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25697 if test -n "$PKG_CONFIG"; then
25698 if test -n "$PANGOFT2_LIBS"; then
25699 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25701 if test -n "$PKG_CONFIG" && \
25702 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25703 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25706 test $ac_status = 0; }; then
25707 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25718 if test $pkg_failed = yes; then
25720 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25721 _pkg_short_errors_supported
=yes
25723 _pkg_short_errors_supported
=no
25725 if test $_pkg_short_errors_supported = yes; then
25726 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25728 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25730 # Put the nasty error message in config.log where it belongs
25731 echo "$PANGOFT2_PKG_ERRORS" >&5
25734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25735 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25736 wxUSE_PRINTING_ARCHITECTURE
="no"
25739 elif test $pkg_failed = untried
; then
25741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25742 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25743 wxUSE_PRINTING_ARCHITECTURE
="no"
25747 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25748 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25750 $as_echo "yes" >&6; }
25752 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25753 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25754 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25760 $as_echo_n "checking for PANGOXFT... " >&6; }
25762 if test -n "$PKG_CONFIG"; then
25763 if test -n "$PANGOXFT_CFLAGS"; then
25764 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25766 if test -n "$PKG_CONFIG" && \
25767 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25768 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25771 test $ac_status = 0; }; then
25772 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25780 if test -n "$PKG_CONFIG"; then
25781 if test -n "$PANGOXFT_LIBS"; then
25782 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25784 if test -n "$PKG_CONFIG" && \
25785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25786 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25789 test $ac_status = 0; }; then
25790 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25801 if test $pkg_failed = yes; then
25803 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25804 _pkg_short_errors_supported
=yes
25806 _pkg_short_errors_supported
=no
25808 if test $_pkg_short_errors_supported = yes; then
25809 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25811 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25813 # Put the nasty error message in config.log where it belongs
25814 echo "$PANGOXFT_PKG_ERRORS" >&5
25817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25818 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25821 elif test $pkg_failed = untried
; then
25823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25824 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25828 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25829 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25831 $as_echo "yes" >&6; }
25833 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25835 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25836 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25837 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25841 LIBS
="$LIBS $PANGOX_LIBS"
25842 for ac_func
in pango_font_family_is_monospace
25844 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25845 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes
; then :
25846 cat >>confdefs.h
<<_ACEOF
25847 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25856 wxUSE_UNIVERSAL
="yes"
25858 if test "$wxUSE_NANOX" = "yes"; then
25859 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25860 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"
25861 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25863 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25870 if test "$wxUSE_MOTIF" = 1; then
25871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25872 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25875 for ac_dir
in $SEARCH_INCLUDE /usr
/include
25877 if test -f "$ac_dir/Xm/Xm.h"; then
25878 ac_find_includes
=$ac_dir
25883 if test "$ac_find_includes" != "" ; then
25884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25885 $as_echo "found in $ac_find_includes" >&6; }
25887 if test "x$ac_find_includes" = "x/usr/include"; then
25888 ac_path_to_include
=""
25890 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25892 if test $result = 0; then
25893 ac_path_to_include
=""
25895 ac_path_to_include
=" -I$ac_find_includes"
25899 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25901 save_CFLAGS
=$CFLAGS
25902 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25905 /* end confdefs.h. */
25914 version = xmUseVersion;
25920 if ac_fn_c_try_compile
"$LINENO"; then :
25922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25923 $as_echo "found in default search path" >&6; }
25924 COMPILED_X_PROGRAM
=1
25928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25929 $as_echo "no" >&6; }
25930 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25936 CFLAGS
=$save_CFLAGS
25940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25941 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25944 for ac_dir
in $SEARCH_LIB
25946 for ac_extension
in a so sl dylib dll.a
; do
25947 if test -f "$ac_dir/libXm.$ac_extension"; then
25948 ac_find_libraries
=$ac_dir
25955 if test "x$ac_find_libraries" != "x" ; then
25956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25957 $as_echo "found in $ac_find_libraries" >&6; }
25960 if test "$ac_find_libraries" = "default location"; then
25963 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25965 if test $result = 0; then
25968 ac_path_to_link
=" -L$ac_find_libraries"
25972 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25974 save_CFLAGS
=$CFLAGS
25975 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25977 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25980 /* end confdefs.h. */
25989 version = xmUseVersion;
25995 if ac_fn_c_try_link
"$LINENO"; then :
25997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25998 $as_echo "found in default search path" >&6; }
25999 COMPILED_X_PROGRAM
=1
26003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26004 $as_echo "no" >&6; }
26005 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26009 rm -f core conftest.err conftest.
$ac_objext \
26010 conftest
$ac_exeext conftest.
$ac_ext
26012 CFLAGS
=$save_CFLAGS
26016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26017 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26021 for libp
in "" " -lXp"; do
26022 if test "$libs_found" = 0; then
26023 for libsm_ice
in "" " -lSM -lICE"; do
26024 if test "$libs_found" = 0; then
26026 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26027 save_CFLAGS
=$CFLAGS
26028 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26031 /* end confdefs.h. */
26034 #include <Xm/List.h>
26040 XmString string = NULL;
26043 XmListAddItem(w, string, position);
26049 if ac_fn_c_try_link
"$LINENO"; then :
26052 libsm_ice_link
="$libsm_ice"
26053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26054 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26058 rm -f core conftest.err conftest.
$ac_objext \
26059 conftest
$ac_exeext conftest.
$ac_ext
26062 CFLAGS
=$save_CFLAGS
26068 if test "$libs_found" = 0; then
26069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26070 $as_echo "can't find the right libraries" >&6; }
26071 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
26074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26075 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26076 if ${ac_cv_lib_Sgm_SgCreateList+:} false
; then :
26077 $as_echo_n "(cached) " >&6
26079 ac_check_lib_save_LIBS
=$LIBS
26081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26082 /* end confdefs.h. */
26084 /* Override any GCC internal prototype to avoid an error.
26085 Use char because int might match the return type of a GCC
26086 builtin and then its argument prototype would still apply. */
26090 char SgCreateList ();
26094 return SgCreateList ();
26099 if ac_fn_c_try_link
"$LINENO"; then :
26100 ac_cv_lib_Sgm_SgCreateList
=yes
26102 ac_cv_lib_Sgm_SgCreateList
=no
26104 rm -f core conftest.err conftest.
$ac_objext \
26105 conftest
$ac_exeext conftest.
$ac_ext
26106 LIBS
=$ac_check_lib_save_LIBS
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26109 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26110 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes
; then :
26111 libsgm_link
=" -lSgm"
26115 save_CFLAGS
=$CFLAGS
26116 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26119 $as_echo_n "checking for Motif 2... " >&6; }
26120 if ${wx_cv_lib_motif2+:} false
; then :
26121 $as_echo_n "(cached) " >&6
26123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26124 /* end confdefs.h. */
26132 #if XmVersion < 2000
26140 if ac_fn_c_try_compile
"$LINENO"; then :
26141 wx_cv_lib_motif2
="yes"
26143 wx_cv_lib_motif2
="no"
26145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26148 $as_echo "$wx_cv_lib_motif2" >&6; }
26149 if test "$wx_cv_lib_motif2" = "yes"; then
26150 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26153 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26158 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26159 if ${wx_cv_lib_lesstif+:} false
; then :
26160 $as_echo_n "(cached) " >&6
26162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26163 /* end confdefs.h. */
26171 #if !defined(LesstifVersion) || LesstifVersion <= 0
26179 if ac_fn_c_try_compile
"$LINENO"; then :
26180 wx_cv_lib_lesstif
="yes"
26182 wx_cv_lib_lesstif
="no"
26184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26188 $as_echo "$wx_cv_lib_lesstif" >&6; }
26189 if test "$wx_cv_lib_lesstif" = "yes"; then
26190 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26193 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26197 CFLAGS
=$save_CFLAGS
26199 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26204 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26205 if test "$wxUSE_LIBXPM" = "sys"; then
26206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26207 $as_echo_n "checking for Xpm library... " >&6; }
26210 for ac_dir
in $SEARCH_LIB
26212 for ac_extension
in a so sl dylib dll.a
; do
26213 if test -f "$ac_dir/libXpm.$ac_extension"; then
26214 ac_find_libraries
=$ac_dir
26220 if test "$ac_find_libraries" != "" ; then
26222 if test "$ac_find_libraries" = "default location"; then
26225 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26227 if test $result = 0; then
26230 ac_path_to_link
=" -L$ac_find_libraries"
26234 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26236 $as_echo "found in $ac_find_libraries" >&6; }
26238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26239 $as_echo_n "checking for X11/xpm.h... " >&6; }
26240 if ${wx_cv_x11_xpm_h+:} false
; then :
26241 $as_echo_n "(cached) " >&6
26244 save_CFLAGS
=$CFLAGS
26245 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26248 /* end confdefs.h. */
26250 #include <X11/xpm.h>
26257 version = XpmLibraryVersion();
26263 if ac_fn_c_try_compile
"$LINENO"; then :
26264 wx_cv_x11_xpm_h
=yes
26269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26271 CFLAGS
=$save_CFLAGS
26275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26276 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26278 if test $wx_cv_x11_xpm_h = "yes"; then
26279 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26280 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26284 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26291 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26292 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
26293 $as_echo_n "(cached) " >&6
26295 ac_check_lib_save_LIBS
=$LIBS
26296 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26298 /* end confdefs.h. */
26300 /* Override any GCC internal prototype to avoid an error.
26301 Use char because int might match the return type of a GCC
26302 builtin and then its argument prototype would still apply. */
26306 char XShapeQueryExtension ();
26310 return XShapeQueryExtension ();
26315 if ac_fn_c_try_link
"$LINENO"; then :
26316 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26318 ac_cv_lib_Xext_XShapeQueryExtension
=no
26320 rm -f core conftest.err conftest.
$ac_objext \
26321 conftest
$ac_exeext conftest.
$ac_ext
26322 LIBS
=$ac_check_lib_save_LIBS
26324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26325 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26326 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
26328 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26334 if test "$wxHAVE_XEXT_LIB" = 1; then
26335 save_CFLAGS
="$CFLAGS"
26336 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26339 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26341 /* end confdefs.h. */
26343 #include <X11/Xlib.h>
26344 #include <X11/extensions/shape.h>
26350 int dummy1, dummy2;
26351 XShapeQueryExtension((Display*)NULL,
26352 (int*)NULL, (int*)NULL);
26358 if ac_fn_c_try_compile
"$LINENO"; then :
26360 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26363 $as_echo "found" >&6; }
26367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26368 $as_echo "not found" >&6; }
26371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26372 CFLAGS
="$save_CFLAGS"
26377 if test "$wxUSE_OSX_CARBON" = 1; then
26378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26379 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26380 if test "$GCC" = yes; then
26381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26382 $as_echo "gcc" >&6; }
26383 CPPFLAGS_PASCAL
="-fpascal-strings"
26384 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26386 $as_echo "xlc" >&6; }
26387 CPPFLAGS_PASCAL
="-qmacpstr"
26389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26390 $as_echo "none" >&6; }
26393 if test "x$wxUSE_UNIX" = "xyes"; then
26394 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26396 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26400 GUIDIST
=OSX_CARBON_DIST
26401 WXBASEPORT
="_carbon"
26403 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26406 if test "$wxUSE_OSX_COCOA" = 1; then
26408 GUIDIST
=OSX_COCOA_DIST
26410 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26413 if test "$wxUSE_OSX_IPHONE" = 1; then
26417 if test "$wxUSE_OLD_COCOA" = 1; then
26422 if test "$wxUSE_PM" = 1; then
26425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26426 $as_echo_n "checking for type SPBCDATA... " >&6; }
26427 if ${wx_cv_spbcdata+:} false
; then :
26428 $as_echo_n "(cached) " >&6
26431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26432 /* end confdefs.h. */
26447 if ac_fn_c_try_compile
"$LINENO"; then :
26453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26458 $as_echo "$wx_cv_spbcdata" >&6; }
26460 if test $wx_cv_spbcdata = "yes"; then
26461 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26466 if test "$TOOLKIT" = "PM" ; then
26469 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26472 if test "$wxUSE_UNIVERSAL" = "yes"; then
26473 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26477 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26478 DISTDIR
="wx\$(TOOLKIT)"
26484 if test "$USE_WIN32" = 1 ; then
26488 GUIDIST
="BASE_DIST"
26494 if test "$wxUSE_GUI" = "yes"; then
26495 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26496 for ac_header
in X
11/Xlib.h
26498 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26500 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
26501 cat >>confdefs.h
<<_ACEOF
26502 #define HAVE_X11_XLIB_H 1
26509 for ac_header
in X
11/XKBlib.h
26511 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26512 #if HAVE_X11_XLIB_H
26513 #include <X11/Xlib.h>
26517 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
; then :
26518 cat >>confdefs.h
<<_ACEOF
26519 #define HAVE_X11_XKBLIB_H 1
26532 if test "$wxUSE_DISPLAY" = "yes"; then
26533 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26537 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26540 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26541 if test -n "$ac_tool_prefix"; then
26542 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26543 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26545 $as_echo_n "checking for $ac_word... " >&6; }
26546 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26547 $as_echo_n "(cached) " >&6
26549 case $PKG_CONFIG in
26551 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26555 for as_dir
in $PATH
26558 test -z "$as_dir" && as_dir
=.
26559 for ac_exec_ext
in '' $ac_executable_extensions; do
26560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26561 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26572 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26573 if test -n "$PKG_CONFIG"; then
26574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26575 $as_echo "$PKG_CONFIG" >&6; }
26577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26578 $as_echo "no" >&6; }
26583 if test -z "$ac_cv_path_PKG_CONFIG"; then
26584 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26585 # Extract the first word of "pkg-config", so it can be a program name with args.
26586 set dummy pkg
-config; ac_word
=$2
26587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26588 $as_echo_n "checking for $ac_word... " >&6; }
26589 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26590 $as_echo_n "(cached) " >&6
26592 case $ac_pt_PKG_CONFIG in
26594 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26598 for as_dir
in $PATH
26601 test -z "$as_dir" && as_dir
=.
26602 for ac_exec_ext
in '' $ac_executable_extensions; do
26603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26604 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26615 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26616 if test -n "$ac_pt_PKG_CONFIG"; then
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26618 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26621 $as_echo "no" >&6; }
26624 if test "x$ac_pt_PKG_CONFIG" = x
; then
26627 case $cross_compiling:$ac_tool_warned in
26629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26631 ac_tool_warned
=yes ;;
26633 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26636 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26640 if test -n "$PKG_CONFIG"; then
26641 _pkg_min_version
=0.9.0
26642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26643 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26644 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26646 $as_echo "yes" >&6; }
26648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26649 $as_echo "no" >&6; }
26656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26657 $as_echo_n "checking for Xinerama... " >&6; }
26659 if test -n "$PKG_CONFIG"; then
26660 if test -n "$Xinerama_CFLAGS"; then
26661 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26663 if test -n "$PKG_CONFIG" && \
26664 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26665 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26668 test $ac_status = 0; }; then
26669 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26677 if test -n "$PKG_CONFIG"; then
26678 if test -n "$Xinerama_LIBS"; then
26679 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26681 if test -n "$PKG_CONFIG" && \
26682 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26683 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26686 test $ac_status = 0; }; then
26687 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26698 if test $pkg_failed = yes; then
26700 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26701 _pkg_short_errors_supported
=yes
26703 _pkg_short_errors_supported
=no
26705 if test $_pkg_short_errors_supported = yes; then
26706 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26708 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26710 # Put the nasty error message in config.log where it belongs
26711 echo "$Xinerama_PKG_ERRORS" >&5
26714 if test "x$ac_find_libraries" = "x"; then
26715 if test "xXineramaQueryScreens" != "x"; then
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26717 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26718 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26719 $as_echo_n "(cached) " >&6
26721 ac_check_lib_save_LIBS
=$LIBS
26722 LIBS
="-lXinerama $LIBS"
26723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26724 /* end confdefs.h. */
26726 /* Override any GCC internal prototype to avoid an error.
26727 Use char because int might match the return type of a GCC
26728 builtin and then its argument prototype would still apply. */
26732 char XineramaQueryScreens ();
26736 return XineramaQueryScreens ();
26741 if ac_fn_c_try_link
"$LINENO"; then :
26742 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26744 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26746 rm -f core conftest.err conftest.
$ac_objext \
26747 conftest
$ac_exeext conftest.
$ac_ext
26748 LIBS
=$ac_check_lib_save_LIBS
26750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26751 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26752 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26753 ac_find_libraries
="std"
26759 if test "x$ac_find_libraries" = "x"; then
26760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26761 $as_echo_n "checking elsewhere... " >&6; }
26764 for ac_dir
in $SEARCH_LIB
26766 for ac_extension
in a so sl dylib dll.a
; do
26767 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26768 ac_find_libraries
=$ac_dir
26774 if test "x$ac_find_libraries" != "x"; then
26775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26776 $as_echo "yes" >&6; }
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26779 $as_echo "no" >&6; }
26783 elif test $pkg_failed = untried
; then
26785 if test "x$ac_find_libraries" = "x"; then
26786 if test "xXineramaQueryScreens" != "x"; then
26787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26788 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26789 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26790 $as_echo_n "(cached) " >&6
26792 ac_check_lib_save_LIBS
=$LIBS
26793 LIBS
="-lXinerama $LIBS"
26794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26795 /* end confdefs.h. */
26797 /* Override any GCC internal prototype to avoid an error.
26798 Use char because int might match the return type of a GCC
26799 builtin and then its argument prototype would still apply. */
26803 char XineramaQueryScreens ();
26807 return XineramaQueryScreens ();
26812 if ac_fn_c_try_link
"$LINENO"; then :
26813 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26815 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26817 rm -f core conftest.err conftest.
$ac_objext \
26818 conftest
$ac_exeext conftest.
$ac_ext
26819 LIBS
=$ac_check_lib_save_LIBS
26821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26822 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26823 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26824 ac_find_libraries
="std"
26830 if test "x$ac_find_libraries" = "x"; then
26831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26832 $as_echo_n "checking elsewhere... " >&6; }
26835 for ac_dir
in $SEARCH_LIB
26837 for ac_extension
in a so sl dylib dll.a
; do
26838 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26839 ac_find_libraries
=$ac_dir
26845 if test "x$ac_find_libraries" != "x"; then
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26847 $as_echo "yes" >&6; }
26849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26850 $as_echo "no" >&6; }
26855 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
26856 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
26857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26858 $as_echo "yes" >&6; }
26860 ac_find_libraries
="std"
26862 eval ac_find_cflags
=\
$Xinerama_CFLAGS
26863 eval fl_libs
=\
$Xinerama_LIBS
26865 for fl_path
in $fl_libs
26867 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26868 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
26874 if test "$ac_find_libraries" != "" ; then
26875 if test "$ac_find_libraries" != "std" ; then
26877 if test "$ac_find_libraries" = "default location"; then
26880 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26882 if test $result = 0; then
26885 ac_path_to_link
=" -L$ac_find_libraries"
26889 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26890 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26894 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26897 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26900 elif test "$wxUSE_MSW" = 1; then
26901 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26903 if test "x$ac_cv_header_ddraw_h" = xyes
; then :
26911 if test "$wxUSE_DISPLAY" = "yes"; then
26912 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26916 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26919 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26920 if test -n "$ac_tool_prefix"; then
26921 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26922 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26924 $as_echo_n "checking for $ac_word... " >&6; }
26925 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26926 $as_echo_n "(cached) " >&6
26928 case $PKG_CONFIG in
26930 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26934 for as_dir
in $PATH
26937 test -z "$as_dir" && as_dir
=.
26938 for ac_exec_ext
in '' $ac_executable_extensions; do
26939 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26940 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26951 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26952 if test -n "$PKG_CONFIG"; then
26953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26954 $as_echo "$PKG_CONFIG" >&6; }
26956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26957 $as_echo "no" >&6; }
26962 if test -z "$ac_cv_path_PKG_CONFIG"; then
26963 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26964 # Extract the first word of "pkg-config", so it can be a program name with args.
26965 set dummy pkg
-config; ac_word
=$2
26966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26967 $as_echo_n "checking for $ac_word... " >&6; }
26968 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26969 $as_echo_n "(cached) " >&6
26971 case $ac_pt_PKG_CONFIG in
26973 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26977 for as_dir
in $PATH
26980 test -z "$as_dir" && as_dir
=.
26981 for ac_exec_ext
in '' $ac_executable_extensions; do
26982 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26983 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26994 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26995 if test -n "$ac_pt_PKG_CONFIG"; then
26996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26997 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27000 $as_echo "no" >&6; }
27003 if test "x$ac_pt_PKG_CONFIG" = x
; then
27006 case $cross_compiling:$ac_tool_warned in
27008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27010 ac_tool_warned
=yes ;;
27012 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27015 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27019 if test -n "$PKG_CONFIG"; then
27020 _pkg_min_version
=0.9.0
27021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27022 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27023 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27025 $as_echo "yes" >&6; }
27027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27028 $as_echo "no" >&6; }
27035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27036 $as_echo_n "checking for Xxf86vm... " >&6; }
27038 if test -n "$PKG_CONFIG"; then
27039 if test -n "$Xxf86vm_CFLAGS"; then
27040 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
27042 if test -n "$PKG_CONFIG" && \
27043 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27044 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27047 test $ac_status = 0; }; then
27048 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27056 if test -n "$PKG_CONFIG"; then
27057 if test -n "$Xxf86vm_LIBS"; then
27058 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
27060 if test -n "$PKG_CONFIG" && \
27061 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27062 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27065 test $ac_status = 0; }; then
27066 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27077 if test $pkg_failed = yes; then
27079 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27080 _pkg_short_errors_supported
=yes
27082 _pkg_short_errors_supported
=no
27084 if test $_pkg_short_errors_supported = yes; then
27085 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27087 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27089 # Put the nasty error message in config.log where it belongs
27090 echo "$Xxf86vm_PKG_ERRORS" >&5
27093 if test "x$ac_find_libraries" = "x"; then
27094 if test "xXF86VidModeQueryExtension" != "x"; then
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27096 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27097 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27098 $as_echo_n "(cached) " >&6
27100 ac_check_lib_save_LIBS
=$LIBS
27101 LIBS
="-lXxf86vm $LIBS"
27102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27103 /* end confdefs.h. */
27105 /* Override any GCC internal prototype to avoid an error.
27106 Use char because int might match the return type of a GCC
27107 builtin and then its argument prototype would still apply. */
27111 char XF86VidModeQueryExtension ();
27115 return XF86VidModeQueryExtension ();
27120 if ac_fn_c_try_link
"$LINENO"; then :
27121 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27123 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27125 rm -f core conftest.err conftest.
$ac_objext \
27126 conftest
$ac_exeext conftest.
$ac_ext
27127 LIBS
=$ac_check_lib_save_LIBS
27129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27130 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27131 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27132 ac_find_libraries
="std"
27138 if test "x$ac_find_libraries" = "x"; then
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27140 $as_echo_n "checking elsewhere... " >&6; }
27143 for ac_dir
in $SEARCH_LIB
27145 for ac_extension
in a so sl dylib dll.a
; do
27146 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27147 ac_find_libraries
=$ac_dir
27153 if test "x$ac_find_libraries" != "x"; then
27154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27155 $as_echo "yes" >&6; }
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27158 $as_echo "no" >&6; }
27162 elif test $pkg_failed = untried
; then
27164 if test "x$ac_find_libraries" = "x"; then
27165 if test "xXF86VidModeQueryExtension" != "x"; then
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27167 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27168 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27169 $as_echo_n "(cached) " >&6
27171 ac_check_lib_save_LIBS
=$LIBS
27172 LIBS
="-lXxf86vm $LIBS"
27173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27174 /* end confdefs.h. */
27176 /* Override any GCC internal prototype to avoid an error.
27177 Use char because int might match the return type of a GCC
27178 builtin and then its argument prototype would still apply. */
27182 char XF86VidModeQueryExtension ();
27186 return XF86VidModeQueryExtension ();
27191 if ac_fn_c_try_link
"$LINENO"; then :
27192 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27194 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27196 rm -f core conftest.err conftest.
$ac_objext \
27197 conftest
$ac_exeext conftest.
$ac_ext
27198 LIBS
=$ac_check_lib_save_LIBS
27200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27201 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27202 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27203 ac_find_libraries
="std"
27209 if test "x$ac_find_libraries" = "x"; then
27210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27211 $as_echo_n "checking elsewhere... " >&6; }
27214 for ac_dir
in $SEARCH_LIB
27216 for ac_extension
in a so sl dylib dll.a
; do
27217 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27218 ac_find_libraries
=$ac_dir
27224 if test "x$ac_find_libraries" != "x"; then
27225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27226 $as_echo "yes" >&6; }
27228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27229 $as_echo "no" >&6; }
27234 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27235 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27237 $as_echo "yes" >&6; }
27239 ac_find_libraries
="std"
27241 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27242 eval fl_libs
=\
$Xxf86vm_LIBS
27244 for fl_path
in $fl_libs
27246 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27247 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27253 if test "$ac_find_libraries" != "" ; then
27254 for ac_header
in X
11/extensions
/xf86vmode.h
27256 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27257 #if HAVE_X11_XLIB_H
27258 #include <X11/Xlib.h>
27262 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
; then :
27263 cat >>confdefs.h
<<_ACEOF
27264 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27267 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27277 if test "$wxUSE_DETECT_SM" = "yes"; then
27278 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27282 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27285 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27286 if test -n "$ac_tool_prefix"; then
27287 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27288 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27290 $as_echo_n "checking for $ac_word... " >&6; }
27291 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27292 $as_echo_n "(cached) " >&6
27294 case $PKG_CONFIG in
27296 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27300 for as_dir
in $PATH
27303 test -z "$as_dir" && as_dir
=.
27304 for ac_exec_ext
in '' $ac_executable_extensions; do
27305 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27306 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27317 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27318 if test -n "$PKG_CONFIG"; then
27319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27320 $as_echo "$PKG_CONFIG" >&6; }
27322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27323 $as_echo "no" >&6; }
27328 if test -z "$ac_cv_path_PKG_CONFIG"; then
27329 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27330 # Extract the first word of "pkg-config", so it can be a program name with args.
27331 set dummy pkg
-config; ac_word
=$2
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27333 $as_echo_n "checking for $ac_word... " >&6; }
27334 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27335 $as_echo_n "(cached) " >&6
27337 case $ac_pt_PKG_CONFIG in
27339 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27343 for as_dir
in $PATH
27346 test -z "$as_dir" && as_dir
=.
27347 for ac_exec_ext
in '' $ac_executable_extensions; do
27348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27349 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27360 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27361 if test -n "$ac_pt_PKG_CONFIG"; then
27362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27363 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27366 $as_echo "no" >&6; }
27369 if test "x$ac_pt_PKG_CONFIG" = x
; then
27372 case $cross_compiling:$ac_tool_warned in
27374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27376 ac_tool_warned
=yes ;;
27378 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27381 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27385 if test -n "$PKG_CONFIG"; then
27386 _pkg_min_version
=0.9.0
27387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27388 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27389 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27391 $as_echo "yes" >&6; }
27393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27394 $as_echo "no" >&6; }
27401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27402 $as_echo_n "checking for SM... " >&6; }
27404 if test -n "$PKG_CONFIG"; then
27405 if test -n "$SM_CFLAGS"; then
27406 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27408 if test -n "$PKG_CONFIG" && \
27409 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27410 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27413 test $ac_status = 0; }; then
27414 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27422 if test -n "$PKG_CONFIG"; then
27423 if test -n "$SM_LIBS"; then
27424 pkg_cv_SM_LIBS
="$SM_LIBS"
27426 if test -n "$PKG_CONFIG" && \
27427 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27428 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27431 test $ac_status = 0; }; then
27432 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27443 if test $pkg_failed = yes; then
27445 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27446 _pkg_short_errors_supported
=yes
27448 _pkg_short_errors_supported
=no
27450 if test $_pkg_short_errors_supported = yes; then
27451 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27453 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27455 # Put the nasty error message in config.log where it belongs
27456 echo "$SM_PKG_ERRORS" >&5
27459 if test "x$ac_find_libraries" = "x"; then
27460 if test "xSmcOpenConnection" != "x"; then
27461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27462 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27463 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27464 $as_echo_n "(cached) " >&6
27466 ac_check_lib_save_LIBS
=$LIBS
27468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27469 /* end confdefs.h. */
27471 /* Override any GCC internal prototype to avoid an error.
27472 Use char because int might match the return type of a GCC
27473 builtin and then its argument prototype would still apply. */
27477 char SmcOpenConnection ();
27481 return SmcOpenConnection ();
27486 if ac_fn_c_try_link
"$LINENO"; then :
27487 ac_cv_lib_SM_SmcOpenConnection
=yes
27489 ac_cv_lib_SM_SmcOpenConnection
=no
27491 rm -f core conftest.err conftest.
$ac_objext \
27492 conftest
$ac_exeext conftest.
$ac_ext
27493 LIBS
=$ac_check_lib_save_LIBS
27495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27496 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27497 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27498 ac_find_libraries
="std"
27504 if test "x$ac_find_libraries" = "x"; then
27505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27506 $as_echo_n "checking elsewhere... " >&6; }
27509 for ac_dir
in $SEARCH_LIB
27511 for ac_extension
in a so sl dylib dll.a
; do
27512 if test -f "$ac_dir/libSM.$ac_extension"; then
27513 ac_find_libraries
=$ac_dir
27519 if test "x$ac_find_libraries" != "x"; then
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27521 $as_echo "yes" >&6; }
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27524 $as_echo "no" >&6; }
27528 elif test $pkg_failed = untried
; then
27530 if test "x$ac_find_libraries" = "x"; then
27531 if test "xSmcOpenConnection" != "x"; then
27532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27533 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27534 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27535 $as_echo_n "(cached) " >&6
27537 ac_check_lib_save_LIBS
=$LIBS
27539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27540 /* end confdefs.h. */
27542 /* Override any GCC internal prototype to avoid an error.
27543 Use char because int might match the return type of a GCC
27544 builtin and then its argument prototype would still apply. */
27548 char SmcOpenConnection ();
27552 return SmcOpenConnection ();
27557 if ac_fn_c_try_link
"$LINENO"; then :
27558 ac_cv_lib_SM_SmcOpenConnection
=yes
27560 ac_cv_lib_SM_SmcOpenConnection
=no
27562 rm -f core conftest.err conftest.
$ac_objext \
27563 conftest
$ac_exeext conftest.
$ac_ext
27564 LIBS
=$ac_check_lib_save_LIBS
27566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27567 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27568 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27569 ac_find_libraries
="std"
27575 if test "x$ac_find_libraries" = "x"; then
27576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27577 $as_echo_n "checking elsewhere... " >&6; }
27580 for ac_dir
in $SEARCH_LIB
27582 for ac_extension
in a so sl dylib dll.a
; do
27583 if test -f "$ac_dir/libSM.$ac_extension"; then
27584 ac_find_libraries
=$ac_dir
27590 if test "x$ac_find_libraries" != "x"; then
27591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27592 $as_echo "yes" >&6; }
27594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27595 $as_echo "no" >&6; }
27600 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27601 SM_LIBS
=$pkg_cv_SM_LIBS
27602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27603 $as_echo "yes" >&6; }
27605 ac_find_libraries
="std"
27607 eval ac_find_cflags
=\
$SM_CFLAGS
27608 eval fl_libs
=\
$SM_LIBS
27610 for fl_path
in $fl_libs
27612 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27613 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27619 if test "$ac_find_libraries" != "" ; then
27620 if test "$ac_find_libraries" != "std" ; then
27622 if test "$ac_find_libraries" = "default location"; then
27625 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27627 if test $result = 0; then
27630 ac_path_to_link
=" -L$ac_find_libraries"
27634 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27635 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27638 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27641 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27642 wxUSE_DETECT_SM
="no"
27645 wxUSE_DETECT_SM
="no"
27652 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27655 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27656 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27657 elif test "$wxUSE_MSW" = 1; then
27658 OPENGL_LIBS
="-lopengl32 -lglu32"
27659 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27662 $as_echo_n "checking for OpenGL headers... " >&6; }
27665 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27667 if test -f "$ac_dir/GL/gl.h"; then
27668 ac_find_includes
=$ac_dir
27673 if test "$ac_find_includes" != "" ; then
27674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27675 $as_echo "found in $ac_find_includes" >&6; }
27677 if test "x$ac_find_includes" = "x/usr/include"; then
27678 ac_path_to_include
=""
27680 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27682 if test $result = 0; then
27683 ac_path_to_include
=""
27685 ac_path_to_include
=" -I$ac_find_includes"
27689 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27692 $as_echo "not found" >&6; }
27695 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27697 if test "x$ac_cv_header_GL_gl_h" = xyes
; then :
27699 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27701 if test "x$ac_cv_header_GL_glu_h" = xyes
; then :
27708 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27711 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27712 if test -n "$ac_tool_prefix"; then
27713 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27714 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27716 $as_echo_n "checking for $ac_word... " >&6; }
27717 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27718 $as_echo_n "(cached) " >&6
27720 case $PKG_CONFIG in
27722 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27726 for as_dir
in $PATH
27729 test -z "$as_dir" && as_dir
=.
27730 for ac_exec_ext
in '' $ac_executable_extensions; do
27731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27732 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27743 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27744 if test -n "$PKG_CONFIG"; then
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27746 $as_echo "$PKG_CONFIG" >&6; }
27748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27749 $as_echo "no" >&6; }
27754 if test -z "$ac_cv_path_PKG_CONFIG"; then
27755 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27756 # Extract the first word of "pkg-config", so it can be a program name with args.
27757 set dummy pkg
-config; ac_word
=$2
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27759 $as_echo_n "checking for $ac_word... " >&6; }
27760 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27761 $as_echo_n "(cached) " >&6
27763 case $ac_pt_PKG_CONFIG in
27765 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27769 for as_dir
in $PATH
27772 test -z "$as_dir" && as_dir
=.
27773 for ac_exec_ext
in '' $ac_executable_extensions; do
27774 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27775 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27786 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27787 if test -n "$ac_pt_PKG_CONFIG"; then
27788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27789 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27792 $as_echo "no" >&6; }
27795 if test "x$ac_pt_PKG_CONFIG" = x
; then
27798 case $cross_compiling:$ac_tool_warned in
27800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27802 ac_tool_warned
=yes ;;
27804 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27807 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27811 if test -n "$PKG_CONFIG"; then
27812 _pkg_min_version
=0.9.0
27813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27814 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27815 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27817 $as_echo "yes" >&6; }
27819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27820 $as_echo "no" >&6; }
27827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27828 $as_echo_n "checking for GL... " >&6; }
27830 if test -n "$PKG_CONFIG"; then
27831 if test -n "$GL_CFLAGS"; then
27832 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27834 if test -n "$PKG_CONFIG" && \
27835 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27836 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27839 test $ac_status = 0; }; then
27840 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27848 if test -n "$PKG_CONFIG"; then
27849 if test -n "$GL_LIBS"; then
27850 pkg_cv_GL_LIBS
="$GL_LIBS"
27852 if test -n "$PKG_CONFIG" && \
27853 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27854 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27857 test $ac_status = 0; }; then
27858 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27869 if test $pkg_failed = yes; then
27871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27872 _pkg_short_errors_supported
=yes
27874 _pkg_short_errors_supported
=no
27876 if test $_pkg_short_errors_supported = yes; then
27877 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27879 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27881 # Put the nasty error message in config.log where it belongs
27882 echo "$GL_PKG_ERRORS" >&5
27885 if test "x$ac_find_libraries" = "x"; then
27886 if test "xglBegin" != "x"; then
27887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27888 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27889 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27890 $as_echo_n "(cached) " >&6
27892 ac_check_lib_save_LIBS
=$LIBS
27894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27895 /* end confdefs.h. */
27897 /* Override any GCC internal prototype to avoid an error.
27898 Use char because int might match the return type of a GCC
27899 builtin and then its argument prototype would still apply. */
27912 if ac_fn_c_try_link
"$LINENO"; then :
27913 ac_cv_lib_GL_glBegin
=yes
27915 ac_cv_lib_GL_glBegin
=no
27917 rm -f core conftest.err conftest.
$ac_objext \
27918 conftest
$ac_exeext conftest.
$ac_ext
27919 LIBS
=$ac_check_lib_save_LIBS
27921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27922 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27923 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27924 ac_find_libraries
="std"
27930 if test "x$ac_find_libraries" = "x"; then
27931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27932 $as_echo_n "checking elsewhere... " >&6; }
27935 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27937 for ac_extension
in a so sl dylib dll.a
; do
27938 if test -f "$ac_dir/libGL.$ac_extension"; then
27939 ac_find_libraries
=$ac_dir
27945 if test "x$ac_find_libraries" != "x"; then
27946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27947 $as_echo "yes" >&6; }
27949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27950 $as_echo "no" >&6; }
27954 elif test $pkg_failed = untried
; then
27956 if test "x$ac_find_libraries" = "x"; then
27957 if test "xglBegin" != "x"; then
27958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27959 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27960 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27961 $as_echo_n "(cached) " >&6
27963 ac_check_lib_save_LIBS
=$LIBS
27965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27966 /* end confdefs.h. */
27968 /* Override any GCC internal prototype to avoid an error.
27969 Use char because int might match the return type of a GCC
27970 builtin and then its argument prototype would still apply. */
27983 if ac_fn_c_try_link
"$LINENO"; then :
27984 ac_cv_lib_GL_glBegin
=yes
27986 ac_cv_lib_GL_glBegin
=no
27988 rm -f core conftest.err conftest.
$ac_objext \
27989 conftest
$ac_exeext conftest.
$ac_ext
27990 LIBS
=$ac_check_lib_save_LIBS
27992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27993 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27994 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27995 ac_find_libraries
="std"
28001 if test "x$ac_find_libraries" = "x"; then
28002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28003 $as_echo_n "checking elsewhere... " >&6; }
28006 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28008 for ac_extension
in a so sl dylib dll.a
; do
28009 if test -f "$ac_dir/libGL.$ac_extension"; then
28010 ac_find_libraries
=$ac_dir
28016 if test "x$ac_find_libraries" != "x"; then
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28018 $as_echo "yes" >&6; }
28020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28021 $as_echo "no" >&6; }
28026 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
28027 GL_LIBS
=$pkg_cv_GL_LIBS
28028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28029 $as_echo "yes" >&6; }
28031 ac_find_libraries
="std"
28033 eval ac_find_cflags
=\
$GL_CFLAGS
28034 eval fl_libs
=\
$GL_LIBS
28036 for fl_path
in $fl_libs
28038 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28039 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28045 if test "$ac_find_libraries" != "" ; then
28046 if test "$ac_find_libraries" != "std" ; then
28048 if test "$ac_find_libraries" = "default location"; then
28051 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28053 if test $result = 0; then
28056 ac_path_to_link
=" -L$ac_find_libraries"
28060 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28061 LDFLAGS_GL
="$ac_path_to_link"
28068 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
28071 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28072 if test -n "$ac_tool_prefix"; then
28073 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28074 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28076 $as_echo_n "checking for $ac_word... " >&6; }
28077 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28078 $as_echo_n "(cached) " >&6
28080 case $PKG_CONFIG in
28082 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28086 for as_dir
in $PATH
28089 test -z "$as_dir" && as_dir
=.
28090 for ac_exec_ext
in '' $ac_executable_extensions; do
28091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28092 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28103 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28104 if test -n "$PKG_CONFIG"; then
28105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28106 $as_echo "$PKG_CONFIG" >&6; }
28108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28109 $as_echo "no" >&6; }
28114 if test -z "$ac_cv_path_PKG_CONFIG"; then
28115 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28116 # Extract the first word of "pkg-config", so it can be a program name with args.
28117 set dummy pkg
-config; ac_word
=$2
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28119 $as_echo_n "checking for $ac_word... " >&6; }
28120 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28121 $as_echo_n "(cached) " >&6
28123 case $ac_pt_PKG_CONFIG in
28125 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28129 for as_dir
in $PATH
28132 test -z "$as_dir" && as_dir
=.
28133 for ac_exec_ext
in '' $ac_executable_extensions; do
28134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28135 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28146 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28147 if test -n "$ac_pt_PKG_CONFIG"; then
28148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28149 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28152 $as_echo "no" >&6; }
28155 if test "x$ac_pt_PKG_CONFIG" = x
; then
28158 case $cross_compiling:$ac_tool_warned in
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28162 ac_tool_warned
=yes ;;
28164 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28167 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28171 if test -n "$PKG_CONFIG"; then
28172 _pkg_min_version
=0.9.0
28173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28174 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28175 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28177 $as_echo "yes" >&6; }
28179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28180 $as_echo "no" >&6; }
28187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28188 $as_echo_n "checking for GLU... " >&6; }
28190 if test -n "$PKG_CONFIG"; then
28191 if test -n "$GLU_CFLAGS"; then
28192 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28194 if test -n "$PKG_CONFIG" && \
28195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28196 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28199 test $ac_status = 0; }; then
28200 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28208 if test -n "$PKG_CONFIG"; then
28209 if test -n "$GLU_LIBS"; then
28210 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28212 if test -n "$PKG_CONFIG" && \
28213 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28214 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28217 test $ac_status = 0; }; then
28218 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28229 if test $pkg_failed = yes; then
28231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28232 _pkg_short_errors_supported
=yes
28234 _pkg_short_errors_supported
=no
28236 if test $_pkg_short_errors_supported = yes; then
28237 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28239 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28241 # Put the nasty error message in config.log where it belongs
28242 echo "$GLU_PKG_ERRORS" >&5
28245 if test "x$ac_find_libraries" = "x"; then
28246 if test "xgluBeginCurve" != "x"; then
28247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28248 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28249 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28250 $as_echo_n "(cached) " >&6
28252 ac_check_lib_save_LIBS
=$LIBS
28254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28255 /* end confdefs.h. */
28257 /* Override any GCC internal prototype to avoid an error.
28258 Use char because int might match the return type of a GCC
28259 builtin and then its argument prototype would still apply. */
28263 char gluBeginCurve ();
28267 return gluBeginCurve ();
28272 if ac_fn_c_try_link
"$LINENO"; then :
28273 ac_cv_lib_GLU_gluBeginCurve
=yes
28275 ac_cv_lib_GLU_gluBeginCurve
=no
28277 rm -f core conftest.err conftest.
$ac_objext \
28278 conftest
$ac_exeext conftest.
$ac_ext
28279 LIBS
=$ac_check_lib_save_LIBS
28281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28282 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28283 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28284 ac_find_libraries
="std"
28290 if test "x$ac_find_libraries" = "x"; then
28291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28292 $as_echo_n "checking elsewhere... " >&6; }
28295 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28297 for ac_extension
in a so sl dylib dll.a
; do
28298 if test -f "$ac_dir/libGLU.$ac_extension"; then
28299 ac_find_libraries
=$ac_dir
28305 if test "x$ac_find_libraries" != "x"; then
28306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28307 $as_echo "yes" >&6; }
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28310 $as_echo "no" >&6; }
28314 elif test $pkg_failed = untried
; then
28316 if test "x$ac_find_libraries" = "x"; then
28317 if test "xgluBeginCurve" != "x"; then
28318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28319 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28320 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28321 $as_echo_n "(cached) " >&6
28323 ac_check_lib_save_LIBS
=$LIBS
28325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28326 /* end confdefs.h. */
28328 /* Override any GCC internal prototype to avoid an error.
28329 Use char because int might match the return type of a GCC
28330 builtin and then its argument prototype would still apply. */
28334 char gluBeginCurve ();
28338 return gluBeginCurve ();
28343 if ac_fn_c_try_link
"$LINENO"; then :
28344 ac_cv_lib_GLU_gluBeginCurve
=yes
28346 ac_cv_lib_GLU_gluBeginCurve
=no
28348 rm -f core conftest.err conftest.
$ac_objext \
28349 conftest
$ac_exeext conftest.
$ac_ext
28350 LIBS
=$ac_check_lib_save_LIBS
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28353 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28354 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28355 ac_find_libraries
="std"
28361 if test "x$ac_find_libraries" = "x"; then
28362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28363 $as_echo_n "checking elsewhere... " >&6; }
28366 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28368 for ac_extension
in a so sl dylib dll.a
; do
28369 if test -f "$ac_dir/libGLU.$ac_extension"; then
28370 ac_find_libraries
=$ac_dir
28376 if test "x$ac_find_libraries" != "x"; then
28377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28378 $as_echo "yes" >&6; }
28380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28381 $as_echo "no" >&6; }
28386 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28387 GLU_LIBS
=$pkg_cv_GLU_LIBS
28388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28389 $as_echo "yes" >&6; }
28391 ac_find_libraries
="std"
28393 eval ac_find_cflags
=\
$GLU_CFLAGS
28394 eval fl_libs
=\
$GLU_LIBS
28396 for fl_path
in $fl_libs
28398 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28399 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28405 if test "$ac_find_libraries" != "" ; then
28406 if test "$ac_find_libraries" != "std" ; then
28408 if test "$ac_find_libraries" = "default location"; then
28411 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28413 if test $result = 0; then
28416 ac_path_to_link
=" -L$ac_find_libraries"
28420 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28421 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28422 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28427 OPENGL_LIBS
="-lGL -lGLU"
28431 if test "$found_gl" != 1; then
28435 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28438 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28439 if test -n "$ac_tool_prefix"; then
28440 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28441 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28443 $as_echo_n "checking for $ac_word... " >&6; }
28444 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28445 $as_echo_n "(cached) " >&6
28447 case $PKG_CONFIG in
28449 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28453 for as_dir
in $PATH
28456 test -z "$as_dir" && as_dir
=.
28457 for ac_exec_ext
in '' $ac_executable_extensions; do
28458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28459 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28470 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28471 if test -n "$PKG_CONFIG"; then
28472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28473 $as_echo "$PKG_CONFIG" >&6; }
28475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28476 $as_echo "no" >&6; }
28481 if test -z "$ac_cv_path_PKG_CONFIG"; then
28482 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28483 # Extract the first word of "pkg-config", so it can be a program name with args.
28484 set dummy pkg
-config; ac_word
=$2
28485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28486 $as_echo_n "checking for $ac_word... " >&6; }
28487 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28488 $as_echo_n "(cached) " >&6
28490 case $ac_pt_PKG_CONFIG in
28492 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28496 for as_dir
in $PATH
28499 test -z "$as_dir" && as_dir
=.
28500 for ac_exec_ext
in '' $ac_executable_extensions; do
28501 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28502 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28513 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28514 if test -n "$ac_pt_PKG_CONFIG"; then
28515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28516 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28519 $as_echo "no" >&6; }
28522 if test "x$ac_pt_PKG_CONFIG" = x
; then
28525 case $cross_compiling:$ac_tool_warned in
28527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28529 ac_tool_warned
=yes ;;
28531 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28534 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28538 if test -n "$PKG_CONFIG"; then
28539 _pkg_min_version
=0.9.0
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28541 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28542 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28544 $as_echo "yes" >&6; }
28546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28547 $as_echo "no" >&6; }
28554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28555 $as_echo_n "checking for MesaGL... " >&6; }
28557 if test -n "$PKG_CONFIG"; then
28558 if test -n "$MesaGL_CFLAGS"; then
28559 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28561 if test -n "$PKG_CONFIG" && \
28562 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28563 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28566 test $ac_status = 0; }; then
28567 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28575 if test -n "$PKG_CONFIG"; then
28576 if test -n "$MesaGL_LIBS"; then
28577 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28579 if test -n "$PKG_CONFIG" && \
28580 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28581 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28584 test $ac_status = 0; }; then
28585 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28596 if test $pkg_failed = yes; then
28598 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28599 _pkg_short_errors_supported
=yes
28601 _pkg_short_errors_supported
=no
28603 if test $_pkg_short_errors_supported = yes; then
28604 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28606 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28608 # Put the nasty error message in config.log where it belongs
28609 echo "$MesaGL_PKG_ERRORS" >&5
28612 if test "x$ac_find_libraries" = "x"; then
28613 if test "xglEnable" != "x"; then
28614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28615 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28616 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28617 $as_echo_n "(cached) " >&6
28619 ac_check_lib_save_LIBS
=$LIBS
28620 LIBS
="-lMesaGL $LIBS"
28621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28622 /* end confdefs.h. */
28624 /* Override any GCC internal prototype to avoid an error.
28625 Use char because int might match the return type of a GCC
28626 builtin and then its argument prototype would still apply. */
28634 return glEnable ();
28639 if ac_fn_c_try_link
"$LINENO"; then :
28640 ac_cv_lib_MesaGL_glEnable
=yes
28642 ac_cv_lib_MesaGL_glEnable
=no
28644 rm -f core conftest.err conftest.
$ac_objext \
28645 conftest
$ac_exeext conftest.
$ac_ext
28646 LIBS
=$ac_check_lib_save_LIBS
28648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28649 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28650 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28651 ac_find_libraries
="std"
28657 if test "x$ac_find_libraries" = "x"; then
28658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28659 $as_echo_n "checking elsewhere... " >&6; }
28662 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28664 for ac_extension
in a so sl dylib dll.a
; do
28665 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28666 ac_find_libraries
=$ac_dir
28672 if test "x$ac_find_libraries" != "x"; then
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28674 $as_echo "yes" >&6; }
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28677 $as_echo "no" >&6; }
28681 elif test $pkg_failed = untried
; then
28683 if test "x$ac_find_libraries" = "x"; then
28684 if test "xglEnable" != "x"; then
28685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28686 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28687 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28688 $as_echo_n "(cached) " >&6
28690 ac_check_lib_save_LIBS
=$LIBS
28691 LIBS
="-lMesaGL $LIBS"
28692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28693 /* end confdefs.h. */
28695 /* Override any GCC internal prototype to avoid an error.
28696 Use char because int might match the return type of a GCC
28697 builtin and then its argument prototype would still apply. */
28705 return glEnable ();
28710 if ac_fn_c_try_link
"$LINENO"; then :
28711 ac_cv_lib_MesaGL_glEnable
=yes
28713 ac_cv_lib_MesaGL_glEnable
=no
28715 rm -f core conftest.err conftest.
$ac_objext \
28716 conftest
$ac_exeext conftest.
$ac_ext
28717 LIBS
=$ac_check_lib_save_LIBS
28719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28720 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28721 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28722 ac_find_libraries
="std"
28728 if test "x$ac_find_libraries" = "x"; then
28729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28730 $as_echo_n "checking elsewhere... " >&6; }
28733 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28735 for ac_extension
in a so sl dylib dll.a
; do
28736 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28737 ac_find_libraries
=$ac_dir
28743 if test "x$ac_find_libraries" != "x"; then
28744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28745 $as_echo "yes" >&6; }
28747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28748 $as_echo "no" >&6; }
28753 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28754 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28756 $as_echo "yes" >&6; }
28758 ac_find_libraries
="std"
28760 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28761 eval fl_libs
=\
$MesaGL_LIBS
28763 for fl_path
in $fl_libs
28765 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28766 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28772 if test "$ac_find_libraries" != "" ; then
28773 if test "$ac_find_libraries" != "std" ; then
28775 if test "$ac_find_libraries" = "default location"; then
28778 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28780 if test $result = 0; then
28783 ac_path_to_link
=" -L$ac_find_libraries"
28787 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28788 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28791 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28803 if test "x$OPENGL_LIBS" = "x"; then
28804 if test "$wxUSE_OPENGL" = "yes"; then
28805 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28808 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28815 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28819 if test "$wxUSE_OPENGL" = "auto"; then
28823 if test "$wxUSE_OPENGL" = "yes"; then
28825 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28827 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28834 if test -n "$TOOLKIT" ; then
28835 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28840 if test "$wxUSE_SHARED" = "yes"; then
28844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28845 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28850 if test "$wxUSE_SHARED" = "yes"; then
28854 *-*-cygwin* | *-*-mingw* )
28855 wx_cv_version_script
=no
28859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28860 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28861 if ${wx_cv_version_script+:} false
; then :
28862 $as_echo_n "(cached) " >&6
28865 echo "VER_1 { *; };" >conftest.sym
28866 echo "int main() { return 0; }" >conftest.cpp
28869 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28870 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28871 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28872 (eval $ac_try) 2>&5
28874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28875 test $ac_status = 0; }; } ; then
28876 if test -s conftest.stderr
; then
28877 wx_cv_version_script
=no
28879 wx_cv_version_script
=yes
28882 wx_cv_version_script
=no
28885 if test $wx_cv_version_script = yes
28887 echo "struct B { virtual ~B() { } }; \
28888 struct D : public B { }; \
28889 void F() { D d; }" > conftest.cpp
28892 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28893 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28894 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28895 (eval $ac_try) 2>&5
28897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28898 test $ac_status = 0; }; } &&
28900 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28901 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28902 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28903 (eval $ac_try) 2>&5
28905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28906 test $ac_status = 0; }; }
28909 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28910 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28911 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28912 (eval $ac_try) 2>&5
28914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28915 test $ac_status = 0; }; }
28917 wx_cv_version_script
=yes
28919 wx_cv_version_script
=no
28924 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28925 rm -f conftest1.output conftest2.output conftest3.output
28928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28929 $as_echo "$wx_cv_version_script" >&6; }
28931 if test $wx_cv_version_script = yes ; then
28932 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28938 if test "$wxUSE_VISIBILITY" != "no"; then
28941 if test -n "$GCC"; then
28942 CFLAGS_VISIBILITY
="-fvisibility=hidden"
28943 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
28944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28945 $as_echo_n "checking for symbols visibility support... " >&6; }
28946 if ${wx_cv_cc_visibility+:} false
; then :
28947 $as_echo_n "(cached) " >&6
28950 wx_save_CXXFLAGS
="$CXXFLAGS"
28951 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28953 ac_cpp
='$CXXCPP $CPPFLAGS'
28954 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28955 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28956 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28959 /* end confdefs.h. */
28961 /* we need gcc >= 4.0, older versions with visibility support
28962 didn't have class visibility: */
28963 #if defined(__GNUC__) && __GNUC__ < 4
28964 error this gcc is too old;
28967 /* visibility only makes sense for ELF shared libs: */
28968 #if !defined(__ELF__) && !defined(__APPLE__)
28969 error this platform has no visibility;
28972 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28973 #if defined(__clang__)
28974 clang compiler is still broken w.r.t. visibility;
28977 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28978 extern __attribute__((__visibility__("default"))) int exportedvar;
28979 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28980 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28981 class __attribute__((__visibility__("default"))) Foo {
28993 if ac_fn_cxx_try_compile
"$LINENO"; then :
28994 wx_cv_cc_visibility
=yes
28996 wx_cv_cc_visibility
=no
28998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29000 ac_cpp
='$CPP $CPPFLAGS'
29001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29005 CXXFLAGS
="$wx_save_CXXFLAGS"
29008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29009 $as_echo "$wx_cv_cc_visibility" >&6; }
29010 if test $wx_cv_cc_visibility = yes; then
29011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29012 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29013 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false
; then :
29014 $as_echo_n "(cached) " >&6
29017 wx_save_CXXFLAGS
="$CXXFLAGS"
29018 wx_save_LDFLAGS
="$LDFLAGS"
29019 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29020 LDFLAGS
="$LDFLAGS -shared -fPIC"
29022 ac_cpp
='$CXXCPP $CPPFLAGS'
29023 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29024 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29025 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29028 /* end confdefs.h. */
29036 std::string s("hello");
29043 if ac_fn_cxx_try_link
"$LINENO"; then :
29044 wx_cv_cc_broken_libstdcxx_visibility
=no
29046 wx_cv_cc_broken_libstdcxx_visibility
=yes
29048 rm -f core conftest.err conftest.
$ac_objext \
29049 conftest
$ac_exeext conftest.
$ac_ext
29051 ac_cpp
='$CPP $CPPFLAGS'
29052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29056 CXXFLAGS
="$wx_save_CXXFLAGS"
29057 LDFLAGS
="$wx_save_LDFLAGS"
29060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29061 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29063 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29065 $as_echo_n "checking whether we can work around it... " >&6; }
29066 if ${wx_cv_cc_visibility_workaround+:} false
; then :
29067 $as_echo_n "(cached) " >&6
29071 ac_cpp
='$CXXCPP $CPPFLAGS'
29072 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29073 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29074 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29077 /* end confdefs.h. */
29079 #pragma GCC visibility push(default)
29081 #pragma GCC visibility pop
29087 std::string s("hello");
29094 if ac_fn_cxx_try_link
"$LINENO"; then :
29095 wx_cv_cc_visibility_workaround
=no
29097 wx_cv_cc_visibility_workaround
=yes
29099 rm -f core conftest.err conftest.
$ac_objext \
29100 conftest
$ac_exeext conftest.
$ac_ext
29102 ac_cpp
='$CPP $CPPFLAGS'
29103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29111 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29113 if test $wx_cv_cc_visibility_workaround = no
; then
29114 wx_cv_cc_visibility
=no
29119 if test $wx_cv_cc_visibility = yes; then
29120 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29122 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29123 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29127 CFLAGS_VISIBILITY
=""
29128 CXXFLAGS_VISIBILITY
=""
29136 if test "x$SUNCXX" = xyes
; then
29137 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
29138 WXCONFIG_RPATH
="-R\$libdir"
29141 *-*-linux* | *-*-gnu* )
29142 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29143 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29148 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
29150 saveLdflags
="$LDFLAGS"
29151 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29153 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29155 /* end confdefs.h. */
29165 if ac_fn_c_try_link
"$LINENO"; then :
29167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29168 $as_echo "yes" >&6; }
29169 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29170 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29175 $as_echo "no" >&6; }
29176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29177 $as_echo_n "checking if the linker accepts -R... " >&6; }
29178 LDFLAGS
="$saveLdflags -Wl,-R,/"
29179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29180 /* end confdefs.h. */
29190 if ac_fn_c_try_link
"$LINENO"; then :
29192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29193 $as_echo "yes" >&6; }
29194 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29195 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29200 $as_echo "no" >&6; }
29203 rm -f core conftest.err conftest.
$ac_objext \
29204 conftest
$ac_exeext conftest.
$ac_ext
29207 rm -f core conftest.err conftest.
$ac_objext \
29208 conftest
$ac_exeext conftest.
$ac_ext
29209 LDFLAGS
="$saveLdflags"
29213 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29214 if test "$install_name_tool" -a -x "$install_name_tool"; then
29215 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29216 cat <<EOF >change-install-names
29218 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29219 for i in \${libnames} ; do
29220 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29221 for dep in \${libnames} ; do
29222 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29226 chmod +x change
-install-names
29227 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29230 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29233 *-*-cygwin* | *-*-mingw32* )
29237 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29238 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29244 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29246 if test $wxUSE_RPATH = "no"; then
29247 SAMPLES_RPATH_FLAG
=''
29248 DYLIB_PATH_POSTLINK
=''
29256 config_linkage_component
="-static"
29263 lib_unicode_suffix
=
29265 if test "$wxUSE_UNICODE" = "yes"; then
29266 lib_unicode_suffix
=u
29267 WX_CHARTYPE
="unicode"
29271 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29272 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29275 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29279 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29281 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29283 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29286 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29287 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29289 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29291 if test "${TOOLKIT_DIR}" = "os2"; then
29292 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29294 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29299 if test "$wxUSE_OLD_COCOA" = 1; then
29302 ac_cpp
='$CPP $CPPFLAGS'
29303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29310 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29312 /* end confdefs.h. */
29313 #include <AppKit/NSEvent.h>
29314 #include <CoreFoundation/CoreFoundation.h>
29324 if ac_fn_c_try_compile
"$LINENO"; then :
29325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29326 $as_echo "no" >&6; }
29328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29329 $as_echo "yes" >&6; }
29330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29331 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29333 /* end confdefs.h. */
29334 #define __Point__ 1
29335 #include <AppKit/NSEvent.h>
29336 #include <CoreFoundation/CoreFoundation.h>
29346 if ac_fn_c_try_compile
"$LINENO"; then :
29347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29348 $as_echo "yes" >&6; }
29349 $as_echo "#define __Point__ 1" >>confdefs.h
29353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29356 See \`config.log' for more details" "$LINENO" 5; }
29359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29364 ac_cpp
='$CPP $CPPFLAGS'
29365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29372 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29373 if test "x$ac_cv_type_mode_t" = xyes
; then :
29377 cat >>confdefs.h
<<_ACEOF
29383 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29384 if test "x$ac_cv_type_off_t" = xyes
; then :
29388 cat >>confdefs.h
<<_ACEOF
29389 #define off_t long int
29394 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29395 if test "x$ac_cv_type_pid_t" = xyes
; then :
29399 cat >>confdefs.h
<<_ACEOF
29405 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29406 if test "x$ac_cv_type_size_t" = xyes
; then :
29410 cat >>confdefs.h
<<_ACEOF
29411 #define size_t unsigned int
29417 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29418 if test "x$ac_cv_type_ssize_t" = xyes
; then :
29420 cat >>confdefs.h
<<_ACEOF
29421 #define HAVE_SSIZE_T 1
29429 ac_cpp
='$CXXCPP $CPPFLAGS'
29430 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29431 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29432 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29434 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29435 if ${wx_cv_size_t_is_uint+:} false
; then :
29436 $as_echo_n "(cached) " >&6
29439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29440 /* end confdefs.h. */
29441 #include <stddef.h>
29448 struct Foo { void foo(size_t); void foo(unsigned int); };
29456 if ac_fn_cxx_try_compile
"$LINENO"; then :
29457 wx_cv_size_t_is_uint
=no
29459 wx_cv_size_t_is_uint
=yes
29462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29467 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29469 if test "$wx_cv_size_t_is_uint" = "yes"; then
29470 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29474 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29475 if ${wx_cv_size_t_is_ulong+:} false
; then :
29476 $as_echo_n "(cached) " >&6
29478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29479 /* end confdefs.h. */
29480 #include <stddef.h>
29487 struct Foo { void foo(size_t); void foo(unsigned long); };
29495 if ac_fn_cxx_try_compile
"$LINENO"; then :
29496 wx_cv_size_t_is_ulong
=no
29498 wx_cv_size_t_is_ulong
=yes
29501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29505 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29507 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29508 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29514 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29515 if ${wx_cv_wchar_t_is_separate_type+:} false
; then :
29516 $as_echo_n "(cached) " >&6
29518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29519 /* end confdefs.h. */
29527 struct Foo { void foo(wchar_t);
29528 void foo(unsigned short);
29529 void foo(unsigned int);
29530 void foo(unsigned long); };
29538 if ac_fn_cxx_try_compile
"$LINENO"; then :
29539 wx_cv_wchar_t_is_separate_type
=yes
29541 wx_cv_wchar_t_is_separate_type
=no
29544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29548 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29550 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29551 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29554 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29559 ac_cpp
='$CPP $CPPFLAGS'
29560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29566 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29567 if ${wx_cv_struct_pw_gecos+:} false
; then :
29568 $as_echo_n "(cached) " >&6
29571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29572 /* end confdefs.h. */
29586 if ac_fn_c_try_compile
"$LINENO"; then :
29588 wx_cv_struct_pw_gecos
=yes
29592 wx_cv_struct_pw_gecos
=no
29596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29601 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29603 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29604 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29611 for ac_func
in wcslen
29613 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29614 if test "x$ac_cv_func_wcslen" = xyes
; then :
29615 cat >>confdefs.h
<<_ACEOF
29616 #define HAVE_WCSLEN 1
29623 if test "$WCSLEN_FOUND" = 0; then
29624 if test "$TOOLKIT" = "MSW"; then
29625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29626 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29627 if ${ac_cv_lib_msvcrt_wcslen+:} false
; then :
29628 $as_echo_n "(cached) " >&6
29630 ac_check_lib_save_LIBS
=$LIBS
29631 LIBS
="-lmsvcrt $LIBS"
29632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29633 /* end confdefs.h. */
29635 /* Override any GCC internal prototype to avoid an error.
29636 Use char because int might match the return type of a GCC
29637 builtin and then its argument prototype would still apply. */
29650 if ac_fn_c_try_link
"$LINENO"; then :
29651 ac_cv_lib_msvcrt_wcslen
=yes
29653 ac_cv_lib_msvcrt_wcslen
=no
29655 rm -f core conftest.err conftest.
$ac_objext \
29656 conftest
$ac_exeext conftest.
$ac_ext
29657 LIBS
=$ac_check_lib_save_LIBS
29659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29660 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29661 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes
; then :
29666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29667 $as_echo_n "checking for wcslen in -lw... " >&6; }
29668 if ${ac_cv_lib_w_wcslen+:} false
; then :
29669 $as_echo_n "(cached) " >&6
29671 ac_check_lib_save_LIBS
=$LIBS
29673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29674 /* end confdefs.h. */
29676 /* Override any GCC internal prototype to avoid an error.
29677 Use char because int might match the return type of a GCC
29678 builtin and then its argument prototype would still apply. */
29691 if ac_fn_c_try_link
"$LINENO"; then :
29692 ac_cv_lib_w_wcslen
=yes
29694 ac_cv_lib_w_wcslen
=no
29696 rm -f core conftest.err conftest.
$ac_objext \
29697 conftest
$ac_exeext conftest.
$ac_ext
29698 LIBS
=$ac_check_lib_save_LIBS
29700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29701 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29702 if test "x$ac_cv_lib_w_wcslen" = xyes
; then :
29712 if test "$WCSLEN_FOUND" = 1; then
29713 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29717 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29719 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29720 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29721 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29722 cat >>confdefs.h
<<_ACEOF
29723 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29730 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29731 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29734 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29736 if test "x$ac_cv_type_mbstate_t" = xyes
; then :
29738 cat >>confdefs.h
<<_ACEOF
29739 #define HAVE_MBSTATE_T 1
29742 for ac_func
in wcsrtombs
29744 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29745 if test "x$ac_cv_func_wcsrtombs" = xyes
; then :
29746 cat >>confdefs.h
<<_ACEOF
29747 #define HAVE_WCSRTOMBS 1
29756 for ac_func
in snprintf vsnprintf vsscanf
29758 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29759 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29760 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29761 cat >>confdefs.h
<<_ACEOF
29762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29770 ac_cpp
='$CXXCPP $CPPFLAGS'
29771 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29772 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29773 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29775 if test "$ac_cv_func_vsnprintf" = "yes"; then
29776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29777 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29778 if ${wx_cv_func_vsnprintf_decl+:} false
; then :
29779 $as_echo_n "(cached) " >&6
29782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29783 /* end confdefs.h. */
29786 #include <stdarg.h>
29794 vsnprintf(buf, 10u, "%s", ap);
29800 if ac_fn_cxx_try_compile
"$LINENO"; then :
29801 wx_cv_func_vsnprintf_decl
=yes
29803 wx_cv_func_vsnprintf_decl
=no
29806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29811 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29813 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29814 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29818 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29819 if ${wx_cv_func_broken_vsnprintf_decl+:} false
; then :
29820 $as_echo_n "(cached) " >&6
29823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29824 /* end confdefs.h. */
29827 #include <stdarg.h>
29829 #if __MSL__ >= 0x6000
29831 using namespace std;
29841 const char *fmt = "%s";
29842 vsnprintf(buf, 10u, fmt, ap);
29848 if ac_fn_cxx_try_compile
"$LINENO"; then :
29849 wx_cv_func_broken_vsnprintf_decl
=no
29851 wx_cv_func_broken_vsnprintf_decl
=yes
29854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29859 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29861 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29862 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29868 if test "$ac_cv_func_snprintf" = "yes"; then
29869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29870 $as_echo_n "checking for snprintf declaration... " >&6; }
29871 if ${wx_cv_func_snprintf_decl+:} false
; then :
29872 $as_echo_n "(cached) " >&6
29875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29876 /* end confdefs.h. */
29879 #include <stdarg.h>
29881 #if __MSL__ >= 0x6000
29883 using namespace std;
29892 snprintf(buf, 10u, "%s", "wx");
29898 if ac_fn_cxx_try_compile
"$LINENO"; then :
29899 wx_cv_func_snprintf_decl
=yes
29901 wx_cv_func_snprintf_decl
=no
29904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29909 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29911 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29912 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29916 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29919 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29920 if ${wx_cv_func_snprintf_pos_params+:} false
; then :
29921 $as_echo_n "(cached) " >&6
29924 if test "$cross_compiling" = yes; then :
29926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29927 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29928 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29929 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29930 wx_cv_func_snprintf_pos_params
=no
29934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29935 /* end confdefs.h. */
29942 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29943 if (strcmp ("2 3 1", buffer) == 0)
29949 if ac_fn_cxx_try_run
"$LINENO"; then :
29950 wx_cv_func_snprintf_pos_params
=no
29952 wx_cv_func_snprintf_pos_params
=yes
29954 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
29955 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
29961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29962 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29964 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29965 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29971 if test "$ac_cv_func_vsscanf" = "yes"; then
29972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29973 $as_echo_n "checking for vsscanf declaration... " >&6; }
29974 if ${wx_cv_func_vsscanf_decl+:} false
; then :
29975 $as_echo_n "(cached) " >&6
29978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29979 /* end confdefs.h. */
29982 #include <stdarg.h>
29984 #if __MSL__ >= 0x6000
29986 using namespace std;
29996 vsscanf(buf, "%s", args);
30002 if ac_fn_cxx_try_compile
"$LINENO"; then :
30003 wx_cv_func_vsscanf_decl
=yes
30005 wx_cv_func_vsscanf_decl
=no
30008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30013 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30015 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30016 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30021 ac_cpp
='$CPP $CPPFLAGS'
30022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30027 if test "$wxUSE_UNICODE" = yes; then
30029 wchar_headers
="#include <stdio.h>
30030 #include <wchar.h>"
30033 for ac_header
in widec.h
30035 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30037 if test "x$ac_cv_header_widec_h" = xyes
; then :
30038 cat >>confdefs.h
<<_ACEOF
30039 #define HAVE_WIDEC_H 1
30046 if test "$ac_cv_header_widec_h" = "yes"; then
30047 wchar_headers
="$wchar_headers
30048 #include <widec.h>"
30053 for wx_func
in putws fputws wprintf vswprintf vswscanf
30055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30056 $as_echo_n "checking for $wx_func... " >&6; }
30057 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30058 $as_echo_n "(cached) " >&6
30061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30062 /* end confdefs.h. */
30066 $ac_includes_default
30082 if ac_fn_c_try_link
"$LINENO"; then :
30083 eval wx_cv_func_
$wx_func=yes
30085 eval wx_cv_func_
$wx_func=no
30087 rm -f core conftest.err conftest.
$ac_objext \
30088 conftest
$ac_exeext conftest.
$ac_ext
30091 eval ac_res
=\
$wx_cv_func_$wx_func
30092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30093 $as_echo "$ac_res" >&6; }
30095 if eval test \
$wx_cv_func_$wx_func = yes
30097 cat >>confdefs.h
<<_ACEOF
30098 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30110 $as_echo_n "checking for _vsnwprintf... " >&6; }
30111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30112 /* end confdefs.h. */
30122 if ac_fn_c_try_compile
"$LINENO"; then :
30123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30124 $as_echo "yes" >&6; }
30125 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30129 $as_echo "no" >&6; }
30131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30134 if test "$wxUSE_FILE" = "yes"; then
30136 for wx_func
in fsync
30138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30139 $as_echo_n "checking for $wx_func... " >&6; }
30140 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30141 $as_echo_n "(cached) " >&6
30144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30145 /* end confdefs.h. */
30149 $ac_includes_default
30165 if ac_fn_c_try_link
"$LINENO"; then :
30166 eval wx_cv_func_
$wx_func=yes
30168 eval wx_cv_func_
$wx_func=no
30170 rm -f core conftest.err conftest.
$ac_objext \
30171 conftest
$ac_exeext conftest.
$ac_ext
30174 eval ac_res
=\
$wx_cv_func_$wx_func
30175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30176 $as_echo "$ac_res" >&6; }
30178 if eval test \
$wx_cv_func_$wx_func = yes
30180 cat >>confdefs.h
<<_ACEOF
30181 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30194 ac_cpp
='$CXXCPP $CPPFLAGS'
30195 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30196 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30197 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30200 for wx_func
in round
30202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30203 $as_echo_n "checking for $wx_func... " >&6; }
30204 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30205 $as_echo_n "(cached) " >&6
30208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30209 /* end confdefs.h. */
30213 $ac_includes_default
30229 if ac_fn_cxx_try_link
"$LINENO"; then :
30230 eval wx_cv_func_
$wx_func=yes
30232 eval wx_cv_func_
$wx_func=no
30234 rm -f core conftest.err conftest.
$ac_objext \
30235 conftest
$ac_exeext conftest.
$ac_ext
30238 eval ac_res
=\
$wx_cv_func_$wx_func
30239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30240 $as_echo "$ac_res" >&6; }
30242 if eval test \
$wx_cv_func_$wx_func = yes
30244 cat >>confdefs.h
<<_ACEOF
30245 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30256 ac_cpp
='$CPP $CPPFLAGS'
30257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30262 if test "$TOOLKIT" != "MSW"; then
30264 if test "$wxUSE_LIBICONV" != "no" ; then
30268 # Check whether --with-libiconv-prefix was given.
30269 if test "${with_libiconv_prefix+set}" = set; then :
30270 withval
=$with_libiconv_prefix;
30271 for dir
in `echo "$withval" | tr : ' '`; do
30272 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30273 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30280 $as_echo_n "checking for iconv... " >&6; }
30281 if ${am_cv_func_iconv+:} false
; then :
30282 $as_echo_n "(cached) " >&6
30285 am_cv_func_iconv
="no, consider installing GNU libiconv"
30287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30288 /* end confdefs.h. */
30289 #include <stdlib.h>
30294 iconv_t cd = iconv_open("","");
30295 iconv(cd,NULL,NULL,NULL,NULL);
30301 if ac_fn_c_try_link
"$LINENO"; then :
30302 am_cv_func_iconv
=yes
30304 rm -f core conftest.err conftest.
$ac_objext \
30305 conftest
$ac_exeext conftest.
$ac_ext
30306 if test "$am_cv_func_iconv" != yes; then
30307 am_save_LIBS
="$LIBS"
30308 LIBS
="$LIBS -liconv"
30309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30310 /* end confdefs.h. */
30311 #include <stdlib.h>
30316 iconv_t cd = iconv_open("","");
30317 iconv(cd,NULL,NULL,NULL,NULL);
30323 if ac_fn_c_try_link
"$LINENO"; then :
30324 am_cv_lib_iconv
=yes
30325 am_cv_func_iconv
=yes
30327 rm -f core conftest.err conftest.
$ac_objext \
30328 conftest
$ac_exeext conftest.
$ac_ext
30329 LIBS
="$am_save_LIBS"
30333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30334 $as_echo "$am_cv_func_iconv" >&6; }
30335 if test "$am_cv_func_iconv" = yes; then
30337 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30340 $as_echo_n "checking if iconv needs const... " >&6; }
30341 if ${wx_cv_func_iconv_const+:} false
; then :
30342 $as_echo_n "(cached) " >&6
30344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30345 /* end confdefs.h. */
30347 #include <stdlib.h>
30353 #if defined(__STDC__) || defined(__cplusplus)
30354 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30367 if ac_fn_c_try_compile
"$LINENO"; then :
30368 wx_cv_func_iconv_const
="no"
30370 wx_cv_func_iconv_const
="yes"
30373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30377 $as_echo "$wx_cv_func_iconv_const" >&6; }
30380 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30381 iconv_const
="const"
30385 cat >>confdefs.h
<<_ACEOF
30386 #define ICONV_CONST $iconv_const
30391 if test "$am_cv_lib_iconv" = yes; then
30396 LIBS
="$LIBICONV $LIBS"
30399 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30400 for ac_func
in sigaction
30402 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30403 if test "x$ac_cv_func_sigaction" = xyes
; then :
30404 cat >>confdefs.h
<<_ACEOF
30405 #define HAVE_SIGACTION 1
30412 if test "$ac_cv_func_sigaction" = "no"; then
30413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30414 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30415 wxUSE_ON_FATAL_EXCEPTION
=no
30418 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30420 $as_echo_n "checking for sa_handler type... " >&6; }
30421 if ${wx_cv_type_sa_handler+:} false
; then :
30422 $as_echo_n "(cached) " >&6
30426 ac_cpp
='$CXXCPP $CPPFLAGS'
30427 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30432 /* end confdefs.h. */
30433 #include <signal.h>
30438 extern void testSigHandler(int);
30440 struct sigaction sa;
30441 sa.sa_handler = testSigHandler;
30447 if ac_fn_cxx_try_compile
"$LINENO"; then :
30449 wx_cv_type_sa_handler
=int
30453 wx_cv_type_sa_handler
=void
30456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30458 ac_cpp
='$CPP $CPPFLAGS'
30459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30466 $as_echo "$wx_cv_type_sa_handler" >&6; }
30468 cat >>confdefs.h
<<_ACEOF
30469 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30475 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30477 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30478 if ${wx_cv_func_backtrace+:} false
; then :
30479 $as_echo_n "(cached) " >&6
30482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30483 $as_echo_n "checking for library containing backtrace... " >&6; }
30484 if ${ac_cv_search_backtrace+:} false
; then :
30485 $as_echo_n "(cached) " >&6
30487 ac_func_search_save_LIBS
=$LIBS
30488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30489 /* end confdefs.h. */
30491 /* Override any GCC internal prototype to avoid an error.
30492 Use char because int might match the return type of a GCC
30493 builtin and then its argument prototype would still apply. */
30501 return backtrace ();
30506 for ac_lib
in '' execinfo
; do
30507 if test -z "$ac_lib"; then
30508 ac_res
="none required"
30511 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
30513 if ac_fn_c_try_link
"$LINENO"; then :
30514 ac_cv_search_backtrace
=$ac_res
30516 rm -f core conftest.err conftest.
$ac_objext \
30518 if ${ac_cv_search_backtrace+:} false
; then :
30522 if ${ac_cv_search_backtrace+:} false
; then :
30525 ac_cv_search_backtrace
=no
30527 rm conftest.
$ac_ext
30528 LIBS
=$ac_func_search_save_LIBS
30530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30531 $as_echo "$ac_cv_search_backtrace" >&6; }
30532 ac_res
=$ac_cv_search_backtrace
30533 if test "$ac_res" != no
; then :
30534 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
30537 ac_cpp
='$CXXCPP $CPPFLAGS'
30538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30543 /* end confdefs.h. */
30544 #include <execinfo.h>
30551 backtrace(trace, 1);
30552 messages = backtrace_symbols(trace, 1);
30558 if ac_fn_cxx_try_link
"$LINENO"; then :
30559 wx_cv_func_backtrace
=yes
30561 wx_cv_func_backtrace
=no
30564 rm -f core conftest.err conftest.
$ac_objext \
30565 conftest
$ac_exeext conftest.
$ac_ext
30567 ac_cpp
='$CPP $CPPFLAGS'
30568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30574 wx_cv_func_backtrace
=no
30581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30582 $as_echo "$wx_cv_func_backtrace" >&6; }
30584 if test "$wx_cv_func_backtrace" = "no"; then
30585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30586 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30587 wxUSE_STACKWALKER
=no
30589 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30591 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30592 if ${wx_cv_func_cxa_demangle+:} false
; then :
30593 $as_echo_n "(cached) " >&6
30597 ac_cpp
='$CXXCPP $CPPFLAGS'
30598 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30599 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30600 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30603 /* end confdefs.h. */
30604 #include <cxxabi.h>
30610 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30616 if ac_fn_cxx_try_link
"$LINENO"; then :
30617 wx_cv_func_cxa_demangle
=yes
30619 wx_cv_func_cxa_demangle
=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
30633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30634 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30636 wx_cv_func_cxa_demangle
=no
30639 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30640 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30646 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30648 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30649 wxUSE_STACKWALKER
=no
30653 for ac_func
in mkstemp mktemp
30655 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30656 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30657 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30658 cat >>confdefs.h
<<_ACEOF
30659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30667 $as_echo_n "checking for statfs... " >&6; }
30668 if ${wx_cv_func_statfs+:} false
; then :
30669 $as_echo_n "(cached) " >&6
30671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30672 /* end confdefs.h. */
30674 #if defined(__BSD__)
30675 #include <sys/param.h>
30676 #include <sys/mount.h>
30678 #include <sys/vfs.h>
30696 if ac_fn_c_try_compile
"$LINENO"; then :
30697 wx_cv_func_statfs
=yes
30699 wx_cv_func_statfs
=no
30702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30706 $as_echo "$wx_cv_func_statfs" >&6; }
30708 if test "$wx_cv_func_statfs" = "yes"; then
30709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30710 $as_echo_n "checking for statfs declaration... " >&6; }
30711 if ${wx_cv_func_statfs_decl+:} false
; then :
30712 $as_echo_n "(cached) " >&6
30715 ac_cpp
='$CXXCPP $CPPFLAGS'
30716 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30717 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30718 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30721 /* end confdefs.h. */
30723 #if defined(__BSD__)
30724 #include <sys/param.h>
30725 #include <sys/mount.h>
30727 #include <sys/vfs.h>
30741 if ac_fn_cxx_try_compile
"$LINENO"; then :
30742 wx_cv_func_statfs_decl
=yes
30744 wx_cv_func_statfs_decl
=no
30747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30749 ac_cpp
='$CPP $CPPFLAGS'
30750 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30751 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30752 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30757 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30759 if test "$wx_cv_func_statfs_decl" = "yes"; then
30760 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30764 wx_cv_type_statvfs_t
="struct statfs"
30765 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30769 $as_echo_n "checking for statvfs... " >&6; }
30770 if ${wx_cv_func_statvfs+:} false
; then :
30771 $as_echo_n "(cached) " >&6
30773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30774 /* end confdefs.h. */
30776 #include <stddef.h>
30777 #include <sys/statvfs.h>
30783 statvfs("/", NULL);
30789 if ac_fn_c_try_compile
"$LINENO"; then :
30790 wx_cv_func_statvfs
=yes
30792 wx_cv_func_statvfs
=no
30795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30799 $as_echo "$wx_cv_func_statvfs" >&6; }
30801 if test "$wx_cv_func_statvfs" = "yes"; then
30802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30803 $as_echo_n "checking for statvfs argument type... " >&6; }
30804 if ${wx_cv_type_statvfs_t+:} false
; then :
30805 $as_echo_n "(cached) " >&6
30808 ac_cpp
='$CXXCPP $CPPFLAGS'
30809 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30810 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30811 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30814 /* end confdefs.h. */
30816 #include <sys/statvfs.h>
30833 if ac_fn_cxx_try_compile
"$LINENO"; then :
30834 wx_cv_type_statvfs_t
=statvfs_t
30837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30838 /* end confdefs.h. */
30840 #include <sys/statvfs.h>
30857 if ac_fn_cxx_try_compile
"$LINENO"; then :
30858 wx_cv_type_statvfs_t
="struct statvfs"
30860 wx_cv_type_statvfs_t
="unknown"
30863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30869 ac_cpp
='$CPP $CPPFLAGS'
30870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30877 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30879 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30880 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30884 wx_cv_type_statvfs_t
="unknown"
30888 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30889 cat >>confdefs.h
<<_ACEOF
30890 #define WX_STATFS_T $wx_cv_type_statvfs_t
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30895 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30898 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30899 for ac_func
in fcntl flock
30901 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30902 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30903 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30904 cat >>confdefs.h
<<_ACEOF
30905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30912 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30914 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30915 wxUSE_SNGLINST_CHECKER
=no
30919 for ac_func
in setenv putenv
30921 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30922 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30923 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30924 cat >>confdefs.h
<<_ACEOF
30925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30931 if test "$ac_cv_func_setenv" = "yes"; then
30932 for ac_func
in unsetenv
30934 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30935 if test "x$ac_cv_func_unsetenv" = xyes
; then :
30936 cat >>confdefs.h
<<_ACEOF
30937 #define HAVE_UNSETENV 1
30945 HAVE_SOME_SLEEP_FUNC
=0
30946 if test "$USE_BEOS" = 1; then
30947 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30949 HAVE_SOME_SLEEP_FUNC
=1
30952 if test "$USE_DARWIN" = 1; then
30953 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30955 HAVE_SOME_SLEEP_FUNC
=1
30958 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30960 for ac_func
in nanosleep
30962 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30963 if test "x$ac_cv_func_nanosleep" = xyes
; then :
30964 cat >>confdefs.h
<<_ACEOF
30965 #define HAVE_NANOSLEEP 1
30967 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30972 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30973 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
30974 $as_echo_n "(cached) " >&6
30976 ac_check_lib_save_LIBS
=$LIBS
30977 LIBS
="-lposix4 $LIBS"
30978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30979 /* end confdefs.h. */
30981 /* Override any GCC internal prototype to avoid an error.
30982 Use char because int might match the return type of a GCC
30983 builtin and then its argument prototype would still apply. */
30991 return nanosleep ();
30996 if ac_fn_c_try_link
"$LINENO"; then :
30997 ac_cv_lib_posix4_nanosleep
=yes
30999 ac_cv_lib_posix4_nanosleep
=no
31001 rm -f core conftest.err conftest.
$ac_objext \
31002 conftest
$ac_exeext conftest.
$ac_ext
31003 LIBS
=$ac_check_lib_save_LIBS
31005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31006 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31007 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
31009 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31011 POSIX4_LINK
=" -lposix4"
31016 for wx_func
in usleep
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31019 $as_echo_n "checking for $wx_func... " >&6; }
31020 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31021 $as_echo_n "(cached) " >&6
31024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31025 /* end confdefs.h. */
31029 $ac_includes_default
31045 if ac_fn_c_try_link
"$LINENO"; then :
31046 eval wx_cv_func_
$wx_func=yes
31048 eval wx_cv_func_
$wx_func=no
31050 rm -f core conftest.err conftest.
$ac_objext \
31051 conftest
$ac_exeext conftest.
$ac_ext
31054 eval ac_res
=\
$wx_cv_func_$wx_func
31055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31056 $as_echo "$ac_res" >&6; }
31058 if eval test \
$wx_cv_func_$wx_func = yes
31060 cat >>confdefs.h
<<_ACEOF
31061 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31068 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31085 for wx_func
in uname
31087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31088 $as_echo_n "checking for $wx_func... " >&6; }
31089 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31090 $as_echo_n "(cached) " >&6
31093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31094 /* end confdefs.h. */
31097 #include <sys/utsname.h>
31098 $ac_includes_default
31114 if ac_fn_c_try_link
"$LINENO"; then :
31115 eval wx_cv_func_
$wx_func=yes
31117 eval wx_cv_func_
$wx_func=no
31119 rm -f core conftest.err conftest.
$ac_objext \
31120 conftest
$ac_exeext conftest.
$ac_ext
31123 eval ac_res
=\
$wx_cv_func_$wx_func
31124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31125 $as_echo "$ac_res" >&6; }
31127 if eval test \
$wx_cv_func_$wx_func = yes
31129 cat >>confdefs.h
<<_ACEOF
31130 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31140 if test "$wx_cv_func_uname" != yes; then
31142 for wx_func
in gethostname
31144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31145 $as_echo_n "checking for $wx_func... " >&6; }
31146 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31147 $as_echo_n "(cached) " >&6
31150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31151 /* end confdefs.h. */
31155 $ac_includes_default
31171 if ac_fn_c_try_link
"$LINENO"; then :
31172 eval wx_cv_func_
$wx_func=yes
31174 eval wx_cv_func_
$wx_func=no
31176 rm -f core conftest.err conftest.
$ac_objext \
31177 conftest
$ac_exeext conftest.
$ac_ext
31180 eval ac_res
=\
$wx_cv_func_$wx_func
31181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31182 $as_echo "$ac_res" >&6; }
31184 if eval test \
$wx_cv_func_$wx_func = yes
31186 cat >>confdefs.h
<<_ACEOF
31187 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31200 for wx_func
in strtok_r
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
31257 for ac_func
in inet_addr
31259 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31260 if test "x$ac_cv_func_inet_addr" = xyes
; then :
31261 cat >>confdefs.h
<<_ACEOF
31262 #define HAVE_INET_ADDR 1
31264 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31269 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31270 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
31271 $as_echo_n "(cached) " >&6
31273 ac_check_lib_save_LIBS
=$LIBS
31275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31276 /* end confdefs.h. */
31278 /* Override any GCC internal prototype to avoid an error.
31279 Use char because int might match the return type of a GCC
31280 builtin and then its argument prototype would still apply. */
31288 return inet_addr ();
31293 if ac_fn_c_try_link
"$LINENO"; then :
31294 ac_cv_lib_nsl_inet_addr
=yes
31296 ac_cv_lib_nsl_inet_addr
=no
31298 rm -f core conftest.err conftest.
$ac_objext \
31299 conftest
$ac_exeext conftest.
$ac_ext
31300 LIBS
=$ac_check_lib_save_LIBS
31302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31303 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31304 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
31308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31309 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31310 if ${ac_cv_lib_resolv_inet_addr+:} false
; then :
31311 $as_echo_n "(cached) " >&6
31313 ac_check_lib_save_LIBS
=$LIBS
31314 LIBS
="-lresolv $LIBS"
31315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31316 /* end confdefs.h. */
31318 /* Override any GCC internal prototype to avoid an error.
31319 Use char because int might match the return type of a GCC
31320 builtin and then its argument prototype would still apply. */
31328 return inet_addr ();
31333 if ac_fn_c_try_link
"$LINENO"; then :
31334 ac_cv_lib_resolv_inet_addr
=yes
31336 ac_cv_lib_resolv_inet_addr
=no
31338 rm -f core conftest.err conftest.
$ac_objext \
31339 conftest
$ac_exeext conftest.
$ac_ext
31340 LIBS
=$ac_check_lib_save_LIBS
31342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31343 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31344 if test "x$ac_cv_lib_resolv_inet_addr" = xyes
; then :
31348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31349 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31350 if ${ac_cv_lib_socket_inet_addr+:} false
; then :
31351 $as_echo_n "(cached) " >&6
31353 ac_check_lib_save_LIBS
=$LIBS
31354 LIBS
="-lsocket $LIBS"
31355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31356 /* end confdefs.h. */
31358 /* Override any GCC internal prototype to avoid an error.
31359 Use char because int might match the return type of a GCC
31360 builtin and then its argument prototype would still apply. */
31368 return inet_addr ();
31373 if ac_fn_c_try_link
"$LINENO"; then :
31374 ac_cv_lib_socket_inet_addr
=yes
31376 ac_cv_lib_socket_inet_addr
=no
31378 rm -f core conftest.err conftest.
$ac_objext \
31379 conftest
$ac_exeext conftest.
$ac_ext
31380 LIBS
=$ac_check_lib_save_LIBS
31382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31383 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31384 if test "x$ac_cv_lib_socket_inet_addr" = xyes
; then :
31403 for ac_func
in inet_aton
31405 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31406 if test "x$ac_cv_func_inet_aton" = xyes
; then :
31407 cat >>confdefs.h
<<_ACEOF
31408 #define HAVE_INET_ATON 1
31410 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31414 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31416 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31417 if eval \
${$as_ac_Lib+:} false
; then :
31418 $as_echo_n "(cached) " >&6
31420 ac_check_lib_save_LIBS
=$LIBS
31421 LIBS
="-l$INET_LINK $LIBS"
31422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31423 /* end confdefs.h. */
31425 /* Override any GCC internal prototype to avoid an error.
31426 Use char because int might match the return type of a GCC
31427 builtin and then its argument prototype would still apply. */
31435 return inet_aton ();
31440 if ac_fn_c_try_link
"$LINENO"; then :
31441 eval "$as_ac_Lib=yes"
31443 eval "$as_ac_Lib=no"
31445 rm -f core conftest.err conftest.
$ac_objext \
31446 conftest
$ac_exeext conftest.
$ac_ext
31447 LIBS
=$ac_check_lib_save_LIBS
31449 eval ac_res
=\$
$as_ac_Lib
31450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31451 $as_echo "$ac_res" >&6; }
31452 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31453 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31462 if test "x$INET_LINK" != "x"; then
31463 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31465 INET_LINK
=" -l$INET_LINK"
31469 for wx_func
in fdopen
31471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31472 $as_echo_n "checking for $wx_func... " >&6; }
31473 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31474 $as_echo_n "(cached) " >&6
31477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31478 /* end confdefs.h. */
31482 $ac_includes_default
31498 if ac_fn_c_try_link
"$LINENO"; then :
31499 eval wx_cv_func_
$wx_func=yes
31501 eval wx_cv_func_
$wx_func=no
31503 rm -f core conftest.err conftest.
$ac_objext \
31504 conftest
$ac_exeext conftest.
$ac_ext
31507 eval ac_res
=\
$wx_cv_func_$wx_func
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31509 $as_echo "$ac_res" >&6; }
31511 if eval test \
$wx_cv_func_$wx_func = yes
31513 cat >>confdefs.h
<<_ACEOF
31514 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31525 if test "$wxUSE_TARSTREAM" = "yes"; then
31527 for wx_func
in sysconf
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
31584 for wx_func
in getpwuid_r
31586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31587 $as_echo_n "checking for $wx_func... " >&6; }
31588 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31589 $as_echo_n "(cached) " >&6
31592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31593 /* end confdefs.h. */
31600 $ac_includes_default
31610 struct passwd pw, *ppw;
31612 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31620 if ac_fn_c_try_link
"$LINENO"; then :
31621 eval wx_cv_func_
$wx_func=yes
31623 eval wx_cv_func_
$wx_func=no
31625 rm -f core conftest.err conftest.
$ac_objext \
31626 conftest
$ac_exeext conftest.
$ac_ext
31629 eval ac_res
=\
$wx_cv_func_$wx_func
31630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31631 $as_echo "$ac_res" >&6; }
31633 if eval test \
$wx_cv_func_$wx_func = yes
31635 cat >>confdefs.h
<<_ACEOF
31636 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31648 for wx_func
in getgrgid_r
31650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31651 $as_echo_n "checking for $wx_func... " >&6; }
31652 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31653 $as_echo_n "(cached) " >&6
31656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31657 /* end confdefs.h. */
31664 $ac_includes_default
31674 struct group grp, *pgrp;
31676 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31684 if ac_fn_c_try_link
"$LINENO"; then :
31685 eval wx_cv_func_
$wx_func=yes
31687 eval wx_cv_func_
$wx_func=no
31689 rm -f core conftest.err conftest.
$ac_objext \
31690 conftest
$ac_exeext conftest.
$ac_ext
31693 eval ac_res
=\
$wx_cv_func_$wx_func
31694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31695 $as_echo "$ac_res" >&6; }
31697 if eval test \
$wx_cv_func_$wx_func = yes
31699 cat >>confdefs.h
<<_ACEOF
31700 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31716 cat >confcache
<<\_ACEOF
31717 # This file is a shell script that caches the results of configure
31718 # tests run on this system so they can be shared between configure
31719 # scripts and configure runs, see configure's option --config-cache.
31720 # It is not useful on other systems. If it contains results you don't
31721 # want to keep, you may remove or edit it.
31723 # config.status only pays attention to the cache file if you give it
31724 # the --recheck option to rerun configure.
31726 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31727 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31728 # following values.
31732 # The following way of writing the cache mishandles newlines in values,
31733 # but we know of no workaround that is simple, portable, and efficient.
31734 # So, we kill variables containing newlines.
31735 # Ultrix sh set writes to stderr and can't be redirected directly,
31736 # and sets the high bit in the cache file unless we assign to the vars.
31738 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31739 eval ac_val
=\$
$ac_var
31743 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31744 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31747 _
| IFS
| as_nl
) ;; #(
31748 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31749 *) { eval $ac_var=; unset $ac_var;} ;;
31755 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31756 *${as_nl}ac_space
=\
*)
31757 # `set' does not quote correctly, so add quotes: double-quote
31758 # substitution turns \\\\ into \\, and sed turns \\ into \.
31761 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31764 # `set' quotes correctly as required by POSIX, so do not add quotes.
31765 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31774 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31776 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31778 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31779 if test -w "$cache_file"; then
31780 if test "x$cache_file" != "x/dev/null"; then
31781 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31782 $as_echo "$as_me: updating cache $cache_file" >&6;}
31783 if test ! -f "$cache_file" || test -h "$cache_file"; then
31784 cat confcache
>"$cache_file"
31786 case $cache_file in #(
31788 mv -f confcache
"$cache_file"$$
&&
31789 mv -f "$cache_file"$$
"$cache_file" ;; #(
31791 mv -f confcache
"$cache_file" ;;
31796 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31797 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31803 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31809 if test "$wxUSE_THREADS" = "yes" ; then
31810 if test "$USE_BEOS" = 1; then
31811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31812 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31817 if test "$wxUSE_THREADS" = "yes" ; then
31820 THREAD_OPTS
="-pthread"
31821 if test "x$SUNCXX" = xyes
; then
31822 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31826 *-*-solaris2* | *-*-sunos4* )
31827 if test "x$GCC" = "xyes"; then
31828 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31832 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31834 *-*-darwin* | *-*-cygwin* )
31838 THREAD_OPTS
="pthreads"
31841 if test "x$GCC" = "xyes"; then
31842 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
31850 if test "x$GCC" = "xyes"; then
31860 if test "x$GCC" != "xyes"; then
31861 THREAD_OPTS
="-Ethread"
31868 THREAD_OPTS
="none pthread"
31872 THREAD_OPTS
="$THREAD_OPTS pthread none"
31877 for flag
in $THREAD_OPTS; do
31880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31881 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31886 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31887 THREADS_CFLAGS
="$flag"
31891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31892 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31893 THREADS_LINK
="-l$flag"
31898 save_CFLAGS
="$CFLAGS"
31899 LIBS
="$THREADS_LINK $LIBS"
31900 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31903 /* end confdefs.h. */
31904 #include <pthread.h>
31908 pthread_create(0,0,0,0);
31913 if ac_fn_c_try_link
"$LINENO"; then :
31916 rm -f core conftest.err conftest.
$ac_objext \
31917 conftest
$ac_exeext conftest.
$ac_ext
31920 CFLAGS
="$save_CFLAGS"
31922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31923 $as_echo "$THREADS_OK" >&6; }
31924 if test "x$THREADS_OK" = "xyes"; then
31932 if test "x$THREADS_OK" != "xyes"; then
31934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31935 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31937 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31938 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31939 LIBS
="$THREADS_LINK $LIBS"
31941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31942 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31946 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31947 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31948 flag
="-D_THREAD_SAFE"
31951 flag
="-D_THREAD_SAFE"
31954 flag
="-D_REENTRANT"
31955 if test "x$GCC" != "xyes"; then
31956 flag
="$flag -D_RWSTD_MULTI_THREAD"
31959 *solaris
* | alpha
*-osf*)
31960 flag
="-D_REENTRANT"
31963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31964 $as_echo "${flag}" >&6; }
31965 if test "x$flag" != xno
; then
31966 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31969 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31973 if test "$wxUSE_THREADS" = "yes" ; then
31974 for ac_func
in pthread_setconcurrency
31976 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31977 if test "x$ac_cv_func_pthread_setconcurrency" = xyes
; then :
31978 cat >>confdefs.h
<<_ACEOF
31979 #define HAVE_PTHREAD_SETCONCURRENCY 1
31981 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31985 for ac_func
in thr_setconcurrency
31987 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31988 if test "x$ac_cv_func_thr_setconcurrency" = xyes
; then :
31989 cat >>confdefs.h
<<_ACEOF
31990 #define HAVE_THR_SETCONCURRENCY 1
31992 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31996 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32006 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32007 if ${wx_cv_func_pthread_cleanup+:} false
; then :
32008 $as_echo_n "(cached) " >&6
32012 ac_cpp
='$CXXCPP $CPPFLAGS'
32013 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32014 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32015 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32018 /* end confdefs.h. */
32019 #include <pthread.h>
32020 void ThreadCleanupFunc(void *p);
32027 pthread_cleanup_push(ThreadCleanupFunc, p);
32028 pthread_cleanup_pop(0);
32034 if ac_fn_cxx_try_compile
"$LINENO"; then :
32036 wx_cv_func_pthread_cleanup
=yes
32040 wx_cv_func_pthread_cleanup
=no
32044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32046 ac_cpp
='$CPP $CPPFLAGS'
32047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32054 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32055 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32056 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32060 for ac_header
in sched.h
32062 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32064 if test "x$ac_cv_header_sched_h" = xyes
; then :
32065 cat >>confdefs.h
<<_ACEOF
32066 #define HAVE_SCHED_H 1
32073 if test "$ac_cv_header_sched_h" = "yes"; then
32074 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32075 if test "x$ac_cv_func_sched_yield" = xyes
; then :
32076 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32081 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32082 if ${ac_cv_lib_posix4_sched_yield+:} false
; then :
32083 $as_echo_n "(cached) " >&6
32085 ac_check_lib_save_LIBS
=$LIBS
32086 LIBS
="-lposix4 $LIBS"
32087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32088 /* end confdefs.h. */
32090 /* Override any GCC internal prototype to avoid an error.
32091 Use char because int might match the return type of a GCC
32092 builtin and then its argument prototype would still apply. */
32096 char sched_yield ();
32100 return sched_yield ();
32105 if ac_fn_c_try_link
"$LINENO"; then :
32106 ac_cv_lib_posix4_sched_yield
=yes
32108 ac_cv_lib_posix4_sched_yield
=no
32110 rm -f core conftest.err conftest.
$ac_objext \
32111 conftest
$ac_exeext conftest.
$ac_ext
32112 LIBS
=$ac_check_lib_save_LIBS
32114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32115 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32116 if test "x$ac_cv_lib_posix4_sched_yield" = xyes
; then :
32117 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32118 POSIX4_LINK
=" -lposix4"
32120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32121 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32132 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32133 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes
; then :
32134 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32135 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes
; then :
32136 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32137 if test "x$ac_cv_func_sched_get_priority_max" = xyes
; then :
32140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32141 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32142 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false
; then :
32143 $as_echo_n "(cached) " >&6
32145 ac_check_lib_save_LIBS
=$LIBS
32146 LIBS
="-lposix4 $LIBS"
32147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32148 /* end confdefs.h. */
32150 /* Override any GCC internal prototype to avoid an error.
32151 Use char because int might match the return type of a GCC
32152 builtin and then its argument prototype would still apply. */
32156 char sched_get_priority_max ();
32160 return sched_get_priority_max ();
32165 if ac_fn_c_try_link
"$LINENO"; then :
32166 ac_cv_lib_posix4_sched_get_priority_max
=yes
32168 ac_cv_lib_posix4_sched_get_priority_max
=no
32170 rm -f core conftest.err conftest.
$ac_objext \
32171 conftest
$ac_exeext conftest.
$ac_ext
32172 LIBS
=$ac_check_lib_save_LIBS
32174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32175 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32176 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes
; then :
32179 POSIX4_LINK
=" -lposix4"
32193 if test "$HAVE_PRIOR_FUNCS" = 1; then
32194 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32198 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32201 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32202 if test "x$ac_cv_func_pthread_cancel" = xyes
; then :
32203 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32207 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32211 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32212 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes
; then :
32213 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32217 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32221 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32222 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
; then :
32223 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32230 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32231 if ${wx_cv_type_pthread_mutexattr_t+:} false
; then :
32232 $as_echo_n "(cached) " >&6
32235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32236 /* end confdefs.h. */
32237 #include <pthread.h>
32242 pthread_mutexattr_t attr;
32243 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32249 if ac_fn_c_try_compile
"$LINENO"; then :
32250 wx_cv_type_pthread_mutexattr_t
=yes
32252 wx_cv_type_pthread_mutexattr_t
=no
32255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32259 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32261 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32262 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32266 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32267 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false
; then :
32268 $as_echo_n "(cached) " >&6
32271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32272 /* end confdefs.h. */
32273 #include <pthread.h>
32278 pthread_mutexattr_t attr;
32279 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32285 if ac_fn_c_try_compile
"$LINENO"; then :
32286 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32288 wx_cv_func_pthread_mutexattr_settype_decl
=no
32291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32295 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32296 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32297 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32302 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32303 if ${wx_cv_type_pthread_rec_mutex_init+:} false
; then :
32304 $as_echo_n "(cached) " >&6
32307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32308 /* end confdefs.h. */
32309 #include <pthread.h>
32314 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32320 if ac_fn_c_try_compile
"$LINENO"; then :
32322 wx_cv_type_pthread_rec_mutex_init
=yes
32326 wx_cv_type_pthread_rec_mutex_init
=no
32330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32334 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32335 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32336 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32340 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32344 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32345 if test "$USE_NETBSD" = 1; then
32346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32347 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32348 wxUSE_COMPILER_TLS
=no
32350 wxUSE_COMPILER_TLS
=yes
32354 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32356 $as_echo_n "checking for __thread keyword... " >&6; }
32357 if ${wx_cv_cc___thread+:} false
; then :
32358 $as_echo_n "(cached) " >&6
32361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32362 /* end confdefs.h. */
32363 #include <pthread.h>
32368 static __thread int n = 0;
32369 static __thread int *p = 0;
32375 if ac_fn_c_try_compile
"$LINENO"; then :
32376 wx_cv_cc___thread
=yes
32378 wx_cv_cc___thread
=no
32381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32386 $as_echo "$wx_cv_cc___thread" >&6; }
32388 if test "$wx_cv_cc___thread" = "yes"; then
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32395 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32397 if test "x$GCC" = "xyes" ; then :
32399 if test -z "" ; then :
32401 ax_gcc_option_test
="int main()
32408 ax_gcc_option_test
=""
32412 # Dump the test program to file
32413 cat <<EOF > conftest.c
32414 $ax_gcc_option_test
32417 # Dump back the file to the log, useful for debugging purposes
32418 { ac_try
='cat conftest.c 1>&5'
32419 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32420 (eval $ac_try) 2>&5
32422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32423 test $ac_status = 0; }; }
32425 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32426 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32427 (eval $ac_try) 2>&5
32429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32430 test $ac_status = 0; }; } ; then :
32432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32433 $as_echo "yes" >&6; }
32435 ax_gcc_version_option
=yes
32440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32441 $as_echo "no" >&6; }
32443 ax_gcc_version_option
=no
32450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32451 $as_echo "no gcc available" >&6; }
32455 if test "x$GXX" = "xyes"; then :
32457 if test "x$ax_gxx_version_option" != "no"; then :
32459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32460 $as_echo_n "checking gxx version... " >&6; }
32461 if ${ax_cv_gxx_version+:} false
; then :
32462 $as_echo_n "(cached) " >&6
32465 ax_cv_gxx_version
="`$CXX -dumpversion`"
32466 if test "x$ax_cv_gxx_version" = "x"; then :
32468 ax_cv_gxx_version
=""
32473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32474 $as_echo "$ax_cv_gxx_version" >&6; }
32475 GXX_VERSION
=$ax_cv_gxx_version
32482 if test -n "$ax_cv_gxx_version"; then
32483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32484 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32485 case "$ax_cv_gxx_version" in
32487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32488 $as_echo "no, it's broken" >&6; }
32489 wx_cv_cc___thread
=no
32492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32493 $as_echo "yes, it works" >&6; }
32499 if test "$wx_cv_cc___thread" = "yes"; then
32500 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32505 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32507 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32508 if ${wx_cv_type_abi_forced_unwind+:} false
; then :
32509 $as_echo_n "(cached) " >&6
32513 ac_cpp
='$CXXCPP $CPPFLAGS'
32514 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32515 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32516 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32519 /* end confdefs.h. */
32520 #include <cxxabi.h>
32525 void foo(abi::__forced_unwind&);
32531 if ac_fn_cxx_try_compile
"$LINENO"; then :
32532 wx_cv_type_abi_forced_unwind
=yes
32534 wx_cv_type_abi_forced_unwind
=no
32537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32539 ac_cpp
='$CPP $CPPFLAGS'
32540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32548 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32550 wx_cv_type_abi_forced_unwind
=no
32553 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32554 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32560 if test "$wxUSE_THREADS" = "yes" ; then
32562 x86_64
-*-mingw32* )
32565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32566 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32567 if ${wx_cv_cflags_mthread+:} false
; then :
32568 $as_echo_n "(cached) " >&6
32571 CFLAGS_OLD
="$CFLAGS"
32572 CFLAGS
="-mthreads $CFLAGS"
32573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32574 /* end confdefs.h. */
32584 if ac_fn_c_try_compile
"$LINENO"; then :
32585 wx_cv_cflags_mthread
=yes
32587 wx_cv_cflags_mthread
=no
32590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32595 $as_echo "$wx_cv_cflags_mthread" >&6; }
32597 if test "$wx_cv_cflags_mthread" = "yes"; then
32598 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32599 LDFLAGS
="$LDFLAGS -mthreads"
32601 CFLAGS
="$CFLAGS_OLD"
32605 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32606 LDFLAGS
="$LDFLAGS -Zmt"
32612 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32613 if test "x$ac_cv_func_localtime_r" = xyes
; then :
32614 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32618 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32619 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
32620 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32628 ac_cpp
='$CPP $CPPFLAGS'
32629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32634 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32636 if ${ac_cv_func_which_gethostbyname_r+:} false
; then :
32637 $as_echo_n "(cached) " >&6
32641 ################################################################
32643 ac_cv_func_which_gethostbyname_r
=unknown
32646 # ONE ARGUMENT (sanity check)
32649 # This should fail, as there is no variant of gethostbyname_r() that takes
32650 # a single argument. If it actually compiles, then we can assume that
32651 # netdb.h is not declaring the function, and the compiler is thereby
32652 # assuming an implicit prototype. In which case, we're out of luck.
32654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32655 /* end confdefs.h. */
32661 char *name = "www.gnu.org";
32662 (void)gethostbyname_r(name) /* ; */
32669 if ac_fn_c_try_compile
"$LINENO"; then :
32670 ac_cv_func_which_gethostbyname_r
=no
32673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32680 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32683 /* end confdefs.h. */
32689 char *name = "www.gnu.org";
32690 struct hostent ret, *retp;
32694 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32701 if ac_fn_c_try_compile
"$LINENO"; then :
32702 ac_cv_func_which_gethostbyname_r
=six
32705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32714 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32717 /* end confdefs.h. */
32723 char *name = "www.gnu.org";
32724 struct hostent ret;
32728 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32735 if ac_fn_c_try_compile
"$LINENO"; then :
32736 ac_cv_func_which_gethostbyname_r
=five
32739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32745 # (e.g. AIX, HP-UX, Tru64)
32748 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32751 /* end confdefs.h. */
32757 char *name = "www.gnu.org";
32758 struct hostent ret;
32759 struct hostent_data data;
32760 (void)gethostbyname_r(name, &ret, &data) /* ; */
32767 if ac_fn_c_try_compile
"$LINENO"; then :
32768 ac_cv_func_which_gethostbyname_r
=three
32771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32775 ################################################################
32780 case "$ac_cv_func_which_gethostbyname_r" in
32782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32783 $as_echo "three" >&6; }
32784 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32790 $as_echo "five" >&6; }
32791 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32797 $as_echo "six" >&6; }
32798 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32804 $as_echo "cannot find function declaration in netdb.h" >&6; }
32808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32809 $as_echo "can't tell" >&6; }
32813 as_fn_error $?
"internal error" "$LINENO" 5
32818 ac_cpp
='$CPP $CPPFLAGS'
32819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32825 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32826 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32827 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32828 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
32829 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32836 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32837 if ${ac_cv_func_which_getservbyname_r+:} false
; then :
32838 $as_echo_n "(cached) " >&6
32842 ac_cpp
='$CXXCPP $CPPFLAGS'
32843 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32844 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32845 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32849 /* end confdefs.h. */
32857 struct servent *se, *res;
32860 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32866 if ac_fn_cxx_try_compile
"$LINENO"; then :
32867 ac_cv_func_which_getservbyname_r
=six
32870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32871 /* end confdefs.h. */
32879 struct servent *se;
32882 (void) getservbyname_r(name, proto, se, buffer, buflen)
32888 if ac_fn_cxx_try_compile
"$LINENO"; then :
32889 ac_cv_func_which_getservbyname_r
=five
32892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32893 /* end confdefs.h. */
32901 struct servent *se;
32902 struct servent_data data;
32903 (void) getservbyname_r(name, proto, se, &data);
32909 if ac_fn_cxx_try_compile
"$LINENO"; then :
32910 ac_cv_func_which_getservbyname_r
=four
32912 ac_cv_func_which_getservbyname_r
=no
32915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32925 ac_cpp
='$CPP $CPPFLAGS'
32926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32934 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32936 if test $ac_cv_func_which_getservbyname_r = six
; then
32937 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32939 elif test $ac_cv_func_which_getservbyname_r = five
; then
32940 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32942 elif test $ac_cv_func_which_getservbyname_r = four
; then
32943 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32948 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32949 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32950 for ac_func
in getservbyname
32952 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32953 if test "x$ac_cv_func_getservbyname" = xyes
; then :
32954 cat >>confdefs.h
<<_ACEOF
32955 #define HAVE_GETSERVBYNAME 1
32957 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32964 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32967 if test "$wxUSE_THREADS" = "yes"; then
32968 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
32973 if test "$wx_cv_func_strtok_r" = "yes"; then
32974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32975 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32976 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32977 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32979 $as_echo "yes" >&6; }
32981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32982 $as_echo "no" >&6; }
32987 if test "$WXGTK3" = 1 ; then
32988 cat >>confdefs.h
<<_ACEOF
32989 #define __WXGTK3__ 1
32994 if test "$WXGTK2" = 1 ; then
32995 cat >>confdefs.h
<<_ACEOF
32996 #define __WXGTK20__ $WXGTK2
33001 if test "$WXGTK127" = 1 ; then
33002 cat >>confdefs.h
<<_ACEOF
33003 #define __WXGTK127__ $WXGTK127
33008 if test "$WXGPE" = 1 ; then
33009 cat >>confdefs.h
<<_ACEOF
33010 #define __WXGPE__ $WXGPE
33016 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33018 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33019 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33023 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33024 wxUSE_DEBUG_INFO
=yes
33025 if test "$GCC" = yes; then
33026 DEBUG_CFLAGS
="-ggdb"
33030 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33031 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33033 if test "$wxUSE_GTK" = 1 ; then
33034 if test "$WXGTK2" = 1 ; then
33035 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33037 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33042 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33043 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33045 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33047 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33052 if test "$wxUSE_DMALLOC" = "yes" ; then
33053 DMALLOC_LIBS
="-ldmallocthcxx"
33057 if test "$wxUSE_PROFILE" = "yes" ; then
33058 PROFILE_FLAGS
=" -pg"
33061 if test "$GCC" = "yes" ; then
33062 if test "$wxUSE_NO_RTTI" = "yes" ; then
33063 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33065 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33066 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
33068 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33069 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
33074 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
33077 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
33083 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33085 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33087 if test "$wxUSE_OPTIMISE" = "no" ; then
33088 if test "$GCC" = yes ; then
33089 OPTIMISE_CFLAGS
="-O0"
33092 if test "$GCC" = yes ; then
33094 *-pc-os2_emx | *-pc-os2-emx )
33095 OPTIMISE_CFLAGS
="-O2"
33098 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
33102 OPTIMISE_CFLAGS
="-O"
33108 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33109 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33112 WXWIN_COMPATIBILITY_2_8
="yes"
33115 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33116 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33121 if test "$wxUSE_GUI" = "yes"; then
33122 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33128 if test "$wxUSE_UNIX" = "yes"; then
33129 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33134 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33138 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33139 if test "$USE_DOS" = 1; then
33142 for ac_func
in dlopen
33144 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
33145 if test "x$ac_cv_func_dlopen" = xyes
; then :
33146 cat >>confdefs.h
<<_ACEOF
33147 #define HAVE_DLOPEN 1
33150 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33157 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33158 if ${ac_cv_lib_dl_dlopen+:} false
; then :
33159 $as_echo_n "(cached) " >&6
33161 ac_check_lib_save_LIBS
=$LIBS
33163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33164 /* end confdefs.h. */
33166 /* Override any GCC internal prototype to avoid an error.
33167 Use char because int might match the return type of a GCC
33168 builtin and then its argument prototype would still apply. */
33181 if ac_fn_c_try_link
"$LINENO"; then :
33182 ac_cv_lib_dl_dlopen
=yes
33184 ac_cv_lib_dl_dlopen
=no
33186 rm -f core conftest.err conftest.
$ac_objext \
33187 conftest
$ac_exeext conftest.
$ac_ext
33188 LIBS
=$ac_check_lib_save_LIBS
33190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33191 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33192 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
33194 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33197 DL_LINK
=" -ldl$DL_LINK"
33201 for ac_func
in shl_load
33203 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
33204 if test "x$ac_cv_func_shl_load" = xyes
; then :
33205 cat >>confdefs.h
<<_ACEOF
33206 #define HAVE_SHL_LOAD 1
33209 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33216 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33217 if ${ac_cv_lib_shl_load_dld+:} false
; then :
33218 $as_echo_n "(cached) " >&6
33220 ac_check_lib_save_LIBS
=$LIBS
33221 LIBS
="-lshl_load $LIBS"
33222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33223 /* end confdefs.h. */
33225 /* Override any GCC internal prototype to avoid an error.
33226 Use char because int might match the return type of a GCC
33227 builtin and then its argument prototype would still apply. */
33240 if ac_fn_c_try_link
"$LINENO"; then :
33241 ac_cv_lib_shl_load_dld
=yes
33243 ac_cv_lib_shl_load_dld
=no
33245 rm -f core conftest.err conftest.
$ac_objext \
33246 conftest
$ac_exeext conftest.
$ac_ext
33247 LIBS
=$ac_check_lib_save_LIBS
33249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33250 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33251 if test "x$ac_cv_lib_shl_load_dld" = xyes
; then :
33254 DL_LINK
=" -ldld$DL_LINK"
33270 if test "$HAVE_DL_FUNCS" = 1; then
33271 for ac_func
in dlerror
33273 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33274 if test "x$ac_cv_func_dlerror" = xyes
; then :
33275 cat >>confdefs.h
<<_ACEOF
33276 #define HAVE_DLERROR 1
33278 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33283 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33284 if ${ac_cv_lib_dl_dlerror+:} false
; then :
33285 $as_echo_n "(cached) " >&6
33287 ac_check_lib_save_LIBS
=$LIBS
33289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33290 /* end confdefs.h. */
33292 /* Override any GCC internal prototype to avoid an error.
33293 Use char because int might match the return type of a GCC
33294 builtin and then its argument prototype would still apply. */
33307 if ac_fn_c_try_link
"$LINENO"; then :
33308 ac_cv_lib_dl_dlerror
=yes
33310 ac_cv_lib_dl_dlerror
=no
33312 rm -f core conftest.err conftest.
$ac_objext \
33313 conftest
$ac_exeext conftest.
$ac_ext
33314 LIBS
=$ac_check_lib_save_LIBS
33316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33317 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33318 if test "x$ac_cv_lib_dl_dlerror" = xyes
; then :
33319 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33331 if test "$USE_DARWIN" = 1; then
33335 if test "$HAVE_DL_FUNCS" = 0; then
33336 if test "$HAVE_SHL_FUNCS" = 0; then
33337 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33339 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33340 wxUSE_DYNAMIC_LOADER
=no
33341 wxUSE_DYNLIB_CLASS
=no
33343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33344 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33351 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33352 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33355 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33356 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33362 if test "$wxUSE_PLUGINS" = "yes" ; then
33363 if test "$wxUSE_SHARED" = "no" ; then
33364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33365 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33368 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33370 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33373 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33375 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33378 if test "$wxUSE_PLUGINS" = "yes" ; then
33379 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33385 if test "$wxUSE_FSWATCHER" = "yes"; then
33386 if test "$wxUSE_MSW" != "1"; then
33387 if test "$wxUSE_UNIX" = "yes"; then
33388 for ac_header
in sys
/inotify.h
33390 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33392 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
33393 cat >>confdefs.h
<<_ACEOF
33394 #define HAVE_SYS_INOTIFY_H 1
33401 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33402 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33405 for ac_header
in sys
/event.h
33407 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33409 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
33410 cat >>confdefs.h
<<_ACEOF
33411 #define HAVE_SYS_EVENT_H 1
33418 if test "$ac_cv_header_sys_event_h" = "yes"; then
33419 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33429 if test "$wxUSE_THREADS" != "yes"; then
33430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33431 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33436 if test "$wxUSE_FSWATCHER" = "yes"; then
33437 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33439 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33442 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33447 if test "$wxUSE_STL" = "yes"; then
33448 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33452 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33453 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33457 if test "$wxUSE_ANY" = "yes"; then
33458 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33462 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33463 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33467 if test "$wxUSE_TIMER" = "yes"; then
33468 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33472 if test "$USE_UNIX" = 1 ; then
33473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33474 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33475 if ${ac_cv_header_sys_soundcard+:} false
; then :
33476 $as_echo_n "(cached) " >&6
33479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33480 /* end confdefs.h. */
33482 #include <sys/ioctl.h>
33483 #include <sys/soundcard.h>
33489 ioctl(0, SNDCTL_DSP_SPEED, 0);
33495 if ac_fn_c_try_link
"$LINENO"; then :
33496 ac_cv_header_sys_soundcard
=yes
33500 LIBS
="$saveLibs -lossaudio"
33501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33502 /* end confdefs.h. */
33504 #include <sys/ioctl.h>
33505 #include <sys/soundcard.h>
33511 ioctl(0, SNDCTL_DSP_SPEED, 0);
33517 if ac_fn_c_try_link
"$LINENO"; then :
33518 ac_cv_header_sys_soundcard
=yes
33522 ac_cv_header_sys_soundcard
=no
33526 rm -f core conftest.err conftest.
$ac_objext \
33527 conftest
$ac_exeext conftest.
$ac_ext
33531 rm -f core conftest.err conftest.
$ac_objext \
33532 conftest
$ac_exeext conftest.
$ac_ext
33535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33536 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33538 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33539 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33545 if test "$wxUSE_SOUND" = "yes"; then
33546 if test "$USE_UNIX" = 1 ; then
33547 if test "$wxUSE_LIBSDL" != "no"; then
33549 # Check whether --with-sdl-prefix was given.
33550 if test "${with_sdl_prefix+set}" = set; then :
33551 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33557 # Check whether --with-sdl-exec-prefix was given.
33558 if test "${with_sdl_exec_prefix+set}" = set; then :
33559 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33564 # Check whether --enable-sdltest was given.
33565 if test "${enable_sdltest+set}" = set; then :
33566 enableval
=$enable_sdltest;
33572 if test x
$sdl_exec_prefix != x
; then
33573 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33574 if test x
${SDL_CONFIG+set} != xset
; then
33575 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33578 if test x
$sdl_prefix != x
; then
33579 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33580 if test x
${SDL_CONFIG+set} != xset
; then
33581 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33585 if test "x$prefix" != xNONE
; then
33586 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33588 # Extract the first word of "sdl-config", so it can be a program name with args.
33589 set dummy sdl
-config; ac_word
=$2
33590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33591 $as_echo_n "checking for $ac_word... " >&6; }
33592 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
33593 $as_echo_n "(cached) " >&6
33595 case $SDL_CONFIG in
33597 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33601 for as_dir
in $PATH
33604 test -z "$as_dir" && as_dir
=.
33605 for ac_exec_ext
in '' $ac_executable_extensions; do
33606 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33607 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33615 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33619 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33620 if test -n "$SDL_CONFIG"; then
33621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33622 $as_echo "$SDL_CONFIG" >&6; }
33624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33625 $as_echo "no" >&6; }
33629 min_sdl_version
=1.2.0
33630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33631 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33633 if test "$SDL_CONFIG" = "no" ; then
33636 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33637 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33639 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33640 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33641 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33642 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33643 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33644 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33645 if test "x$enable_sdltest" = "xyes" ; then
33646 ac_save_CFLAGS
="$CFLAGS"
33647 ac_save_CXXFLAGS
="$CXXFLAGS"
33648 ac_save_LIBS
="$LIBS"
33649 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33650 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33651 LIBS
="$LIBS $SDL_LIBS"
33653 if test "$cross_compiling" = yes; then :
33654 echo $ac_n "cross compiling; assumed OK... $ac_c"
33656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33657 /* end confdefs.h. */
33660 #include <stdlib.h>
33661 #include <string.h>
33665 my_strdup (char *str)
33671 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33672 strcpy (new_str, str);
33680 int main (int argc, char *argv[])
33682 int major, minor, micro;
33685 /* This hangs on some systems (?)
33686 system ("touch conf.sdltest");
33688 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33690 /* HP/UX 9 (%@#!) writes to sscanf strings */
33691 tmp_version = my_strdup("$min_sdl_version");
33692 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33693 printf("%s, bad version string\n", "$min_sdl_version");
33697 if (($sdl_major_version > major) ||
33698 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33699 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33705 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33706 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33707 printf("*** best to upgrade to the required version.\n");
33708 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33709 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33710 printf("*** config.cache before re-running configure\n");
33717 if ac_fn_c_try_run
"$LINENO"; then :
33722 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33723 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33726 CFLAGS
="$ac_save_CFLAGS"
33727 CXXFLAGS
="$ac_save_CXXFLAGS"
33728 LIBS
="$ac_save_LIBS"
33731 if test "x$no_sdl" = x
; then
33732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33733 $as_echo "yes" >&6; }
33735 EXTRALIBS_SDL
="$SDL_LIBS"
33736 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33737 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33738 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33743 $as_echo "no" >&6; }
33744 if test "$SDL_CONFIG" = "no" ; then
33745 echo "*** The sdl-config script installed by SDL could not be found"
33746 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33747 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33748 echo "*** full path to sdl-config."
33750 if test -f conf.sdltest
; then
33753 echo "*** Could not run SDL test program, checking why..."
33754 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33755 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33756 LIBS
="$LIBS $SDL_LIBS"
33757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33758 /* end confdefs.h. */
33763 int main(int argc, char *argv[])
33766 #define main K_and_R_C_main
33776 if ac_fn_c_try_link
"$LINENO"; then :
33777 echo "*** The test program compiled, but did not run. This usually means"
33778 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33779 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33780 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33781 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33782 echo "*** is required on your system"
33784 echo "*** If you have an old version installed, it is best to remove it, although"
33785 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33787 echo "*** The test program failed to compile or link. See the file config.log for the"
33788 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33789 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33790 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33792 rm -f core conftest.err conftest.
$ac_objext \
33793 conftest
$ac_exeext conftest.
$ac_ext
33794 CFLAGS
="$ac_save_CFLAGS"
33795 CXXFLAGS
="$ac_save_CXXFLAGS"
33796 LIBS
="$ac_save_LIBS"
33807 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33814 if test "$wxUSE_SOUND" = "yes"; then
33815 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33820 if test "$WXGTK2" = 1; then
33823 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33824 if test -n "$ac_tool_prefix"; then
33825 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33826 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33828 $as_echo_n "checking for $ac_word... " >&6; }
33829 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
33830 $as_echo_n "(cached) " >&6
33832 case $PKG_CONFIG in
33834 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33838 for as_dir
in $PATH
33841 test -z "$as_dir" && as_dir
=.
33842 for ac_exec_ext
in '' $ac_executable_extensions; do
33843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33844 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33855 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33856 if test -n "$PKG_CONFIG"; then
33857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33858 $as_echo "$PKG_CONFIG" >&6; }
33860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33861 $as_echo "no" >&6; }
33866 if test -z "$ac_cv_path_PKG_CONFIG"; then
33867 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33868 # Extract the first word of "pkg-config", so it can be a program name with args.
33869 set dummy pkg
-config; ac_word
=$2
33870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33871 $as_echo_n "checking for $ac_word... " >&6; }
33872 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
33873 $as_echo_n "(cached) " >&6
33875 case $ac_pt_PKG_CONFIG in
33877 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33881 for as_dir
in $PATH
33884 test -z "$as_dir" && as_dir
=.
33885 for ac_exec_ext
in '' $ac_executable_extensions; do
33886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33887 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33898 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33899 if test -n "$ac_pt_PKG_CONFIG"; then
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33901 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33904 $as_echo "no" >&6; }
33907 if test "x$ac_pt_PKG_CONFIG" = x
; then
33910 case $cross_compiling:$ac_tool_warned in
33912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33914 ac_tool_warned
=yes ;;
33916 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33919 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33923 if test -n "$PKG_CONFIG"; then
33924 _pkg_min_version
=0.9.0
33925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33926 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33927 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33929 $as_echo "yes" >&6; }
33931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33932 $as_echo "no" >&6; }
33938 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33940 if test "$wxUSE_GTKPRINT" = "yes" ; then
33941 if test "$WXGTK3" = 1; then
33942 gtk_unix_print
="gtk+-unix-print-3.0"
33944 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
33948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33949 $as_echo_n "checking for GTKPRINT... " >&6; }
33951 if test -n "$PKG_CONFIG"; then
33952 if test -n "$GTKPRINT_CFLAGS"; then
33953 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
33955 if test -n "$PKG_CONFIG" && \
33956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33957 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33960 test $ac_status = 0; }; then
33961 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33969 if test -n "$PKG_CONFIG"; then
33970 if test -n "$GTKPRINT_LIBS"; then
33971 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
33973 if test -n "$PKG_CONFIG" && \
33974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33975 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33978 test $ac_status = 0; }; then
33979 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33990 if test $pkg_failed = yes; then
33992 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33993 _pkg_short_errors_supported
=yes
33995 _pkg_short_errors_supported
=no
33997 if test $_pkg_short_errors_supported = yes; then
33998 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34000 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34002 # Put the nasty error message in config.log where it belongs
34003 echo "$GTKPRINT_PKG_ERRORS" >&5
34006 { $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
34007 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34008 wxUSE_GTKPRINT
="no"
34011 elif test $pkg_failed = untried
; then
34013 { $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
34014 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34015 wxUSE_GTKPRINT
="no"
34019 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
34020 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
34021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34022 $as_echo "yes" >&6; }
34024 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34025 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
34026 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
34027 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34033 if test "$WXGTK3" = 1; then
34034 wxUSE_LIBGNOMEPRINT
=no
34037 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34042 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34044 if test -n "$PKG_CONFIG"; then
34045 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34046 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
34048 if test -n "$PKG_CONFIG" && \
34049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34050 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34053 test $ac_status = 0; }; then
34054 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34062 if test -n "$PKG_CONFIG"; then
34063 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34064 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
34066 if test -n "$PKG_CONFIG" && \
34067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34068 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34071 test $ac_status = 0; }; then
34072 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34083 if test $pkg_failed = yes; then
34085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34086 _pkg_short_errors_supported
=yes
34088 _pkg_short_errors_supported
=no
34090 if test $_pkg_short_errors_supported = yes; then
34091 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34093 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34095 # Put the nasty error message in config.log where it belongs
34096 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34099 if test "$wxUSE_GTKPRINT" = yes; then
34100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34101 $as_echo "no" >&6; }
34103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34104 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34106 wxUSE_LIBGNOMEPRINT
="no"
34109 elif test $pkg_failed = untried
; then
34111 if test "$wxUSE_GTKPRINT" = yes; then
34112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34113 $as_echo "no" >&6; }
34115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34116 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34118 wxUSE_LIBGNOMEPRINT
="no"
34122 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34123 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34125 $as_echo "yes" >&6; }
34127 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34128 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34129 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34130 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34137 if test "$wxUSE_MIMETYPE" = "yes" ; then
34138 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34143 $as_echo_n "checking for GNOMEVFS... " >&6; }
34145 if test -n "$PKG_CONFIG"; then
34146 if test -n "$GNOMEVFS_CFLAGS"; then
34147 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
34149 if test -n "$PKG_CONFIG" && \
34150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34151 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34154 test $ac_status = 0; }; then
34155 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34163 if test -n "$PKG_CONFIG"; then
34164 if test -n "$GNOMEVFS_LIBS"; then
34165 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
34167 if test -n "$PKG_CONFIG" && \
34168 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34169 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34172 test $ac_status = 0; }; then
34173 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34184 if test $pkg_failed = yes; then
34186 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34187 _pkg_short_errors_supported
=yes
34189 _pkg_short_errors_supported
=no
34191 if test $_pkg_short_errors_supported = yes; then
34192 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34194 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34196 # Put the nasty error message in config.log where it belongs
34197 echo "$GNOMEVFS_PKG_ERRORS" >&5
34200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34201 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34202 wxUSE_LIBGNOMEVFS
="no"
34205 elif test $pkg_failed = untried
; then
34207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34208 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34209 wxUSE_LIBGNOMEVFS
="no"
34213 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
34214 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
34215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34216 $as_echo "yes" >&6; }
34218 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34219 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
34220 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
34221 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34228 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34229 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34234 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34236 if test -n "$PKG_CONFIG"; then
34237 if test -n "$LIBNOTIFY_CFLAGS"; then
34238 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34240 if test -n "$PKG_CONFIG" && \
34241 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34242 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34245 test $ac_status = 0; }; then
34246 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34254 if test -n "$PKG_CONFIG"; then
34255 if test -n "$LIBNOTIFY_LIBS"; then
34256 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34258 if test -n "$PKG_CONFIG" && \
34259 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34260 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34263 test $ac_status = 0; }; then
34264 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34275 if test $pkg_failed = yes; then
34277 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34278 _pkg_short_errors_supported
=yes
34280 _pkg_short_errors_supported
=no
34282 if test $_pkg_short_errors_supported = yes; then
34283 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34285 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34287 # Put the nasty error message in config.log where it belongs
34288 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34294 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34296 if test -n "$PKG_CONFIG"; then
34297 if test -n "$LIBNOTIFY_CFLAGS"; then
34298 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34300 if test -n "$PKG_CONFIG" && \
34301 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34302 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34305 test $ac_status = 0; }; then
34306 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34314 if test -n "$PKG_CONFIG"; then
34315 if test -n "$LIBNOTIFY_LIBS"; then
34316 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34318 if test -n "$PKG_CONFIG" && \
34319 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34320 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34323 test $ac_status = 0; }; then
34324 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34335 if test $pkg_failed = yes; then
34337 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34338 _pkg_short_errors_supported
=yes
34340 _pkg_short_errors_supported
=no
34342 if test $_pkg_short_errors_supported = yes; then
34343 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34345 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34347 # Put the nasty error message in config.log where it belongs
34348 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34351 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34353 elif test $pkg_failed = untried
; then
34354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34355 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34358 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34359 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34361 $as_echo "yes" >&6; }
34366 elif test $pkg_failed = untried
; then
34370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34371 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34373 if test -n "$PKG_CONFIG"; then
34374 if test -n "$LIBNOTIFY_CFLAGS"; then
34375 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34377 if test -n "$PKG_CONFIG" && \
34378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34379 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34382 test $ac_status = 0; }; then
34383 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34391 if test -n "$PKG_CONFIG"; then
34392 if test -n "$LIBNOTIFY_LIBS"; then
34393 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34395 if test -n "$PKG_CONFIG" && \
34396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34397 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34400 test $ac_status = 0; }; then
34401 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34412 if test $pkg_failed = yes; then
34414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34415 _pkg_short_errors_supported
=yes
34417 _pkg_short_errors_supported
=no
34419 if test $_pkg_short_errors_supported = yes; then
34420 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34422 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34424 # Put the nasty error message in config.log where it belongs
34425 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34428 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34430 elif test $pkg_failed = untried
; then
34431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34432 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34435 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34436 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34438 $as_echo "yes" >&6; }
34444 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34445 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34447 $as_echo "yes" >&6; }
34450 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34455 if test "$HAVE_LIBNOTIFY" = "1" ; then
34456 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34457 CFLAGS
="$LIBNOTIFY_CFLAGS $CFLAGS"
34458 CXXFLAGS
="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34459 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34465 if test "$wxUSE_LIBHILDON" = "yes" ; then
34468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34469 $as_echo_n "checking for HILDON... " >&6; }
34471 if test -n "$PKG_CONFIG"; then
34472 if test -n "$HILDON_CFLAGS"; then
34473 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
34475 if test -n "$PKG_CONFIG" && \
34476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34477 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34480 test $ac_status = 0; }; then
34481 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34489 if test -n "$PKG_CONFIG"; then
34490 if test -n "$HILDON_LIBS"; then
34491 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
34493 if test -n "$PKG_CONFIG" && \
34494 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34495 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34498 test $ac_status = 0; }; then
34499 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34510 if test $pkg_failed = yes; then
34512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34513 _pkg_short_errors_supported
=yes
34515 _pkg_short_errors_supported
=no
34517 if test $_pkg_short_errors_supported = yes; then
34518 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34520 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34522 # Put the nasty error message in config.log where it belongs
34523 echo "$HILDON_PKG_ERRORS" >&5
34526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34527 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34528 wxUSE_LIBHILDON
="no"
34532 elif test $pkg_failed = untried
; then
34534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34535 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34536 wxUSE_LIBHILDON
="no"
34541 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34542 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34544 $as_echo "yes" >&6; }
34546 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON_LIBS"
34547 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34548 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34549 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34555 if test "$ac_hildon_lgpl" = 0 ; then
34558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34559 $as_echo_n "checking for HILDON2... " >&6; }
34561 if test -n "$PKG_CONFIG"; then
34562 if test -n "$HILDON2_CFLAGS"; then
34563 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34565 if test -n "$PKG_CONFIG" && \
34566 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34567 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34570 test $ac_status = 0; }; then
34571 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34579 if test -n "$PKG_CONFIG"; then
34580 if test -n "$HILDON2_LIBS"; then
34581 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34583 if test -n "$PKG_CONFIG" && \
34584 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34585 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34588 test $ac_status = 0; }; then
34589 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34600 if test $pkg_failed = yes; then
34602 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34603 _pkg_short_errors_supported
=yes
34605 _pkg_short_errors_supported
=no
34607 if test $_pkg_short_errors_supported = yes; then
34608 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34610 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34612 # Put the nasty error message in config.log where it belongs
34613 echo "$HILDON2_PKG_ERRORS" >&5
34616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34617 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34618 wxUSE_LIBHILDON2
="no"
34621 elif test $pkg_failed = untried
; then
34623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34624 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34625 wxUSE_LIBHILDON2
="no"
34629 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34630 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34632 $as_echo "yes" >&6; }
34634 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON2_LIBS"
34635 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34636 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34637 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34645 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34646 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34650 if test "$wxUSE_STOPWATCH" = "yes"; then
34651 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34655 if test "$wxUSE_DATETIME" = "yes"; then
34656 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34660 if test "$wxUSE_FILE" = "yes"; then
34661 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34665 if test "$wxUSE_FFILE" = "yes"; then
34666 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34670 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34671 if test "$wxUSE_STREAMS" != yes; then
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34673 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34674 wxUSE_ARCHIVE_STREAMS
=no
34676 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34681 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34682 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34684 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34685 elif test "$wxUSE_ZLIB" = "no"; then
34686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34687 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34689 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34694 if test "$wxUSE_TARSTREAM" = "yes"; then
34695 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34697 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34699 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34704 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34705 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34709 if test "$wxUSE_FILESYSTEM" = "yes"; then
34710 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34712 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34713 wxUSE_FILESYSTEM
=no
34715 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34720 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34721 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34723 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34725 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34730 if test "$wxUSE_FS_ZIP" = "yes"; then
34731 if test "$wxUSE_FS_ARCHIVE" != yes; then
34732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34733 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34735 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34740 if test "$wxUSE_FSVOLUME" = "yes"; then
34741 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34745 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34746 if test "$USE_UNIX" != 1; then
34747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34748 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34749 wxUSE_ON_FATAL_EXCEPTION
=no
34751 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34756 if test "$wxUSE_STACKWALKER" = "yes"; then
34757 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34761 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34762 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34764 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34765 wxUSE_DEBUGREPORT
=no
34767 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34769 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34775 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34776 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34780 if test "$wxUSE_BUSYINFO" = "yes"; then
34781 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34785 if test "$wxUSE_HOTKEY" = "yes"; then
34786 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34788 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34791 elif test "$wxUSE_HOTKEY" = "auto"; then
34792 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34796 if test "$wxUSE_HOTKEY" = "yes"; then
34797 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34801 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34802 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34806 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34807 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34811 if test "$wxUSE_STD_STRING" = "yes"; then
34812 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34816 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34817 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34821 if test "$wxUSE_STDPATHS" = "yes"; then
34822 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34826 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34827 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34831 if test "$wxUSE_TEXTFILE" = "yes"; then
34832 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34834 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34836 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34841 if test "$wxUSE_CONFIG" = "yes" ; then
34842 if test "$wxUSE_TEXTFILE" != "yes"; then
34843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34844 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34846 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34848 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34854 if test "$wxUSE_INTL" = "yes" ; then
34855 if test "$wxUSE_FILE" != "yes"; then
34856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34857 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34859 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34862 GUIDIST
="$GUIDIST INTL_DIST"
34866 if test "$wxUSE_XLOCALE" = "yes" ; then
34867 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34869 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34870 #include <locale.h>
34872 if test "x$ac_cv_type_locale_t" = xyes
; then :
34874 cat >>confdefs.h
<<_ACEOF
34875 #define HAVE_LOCALE_T 1
34883 if test "$wxUSE_LOG" = "yes"; then
34884 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34887 if test "$wxUSE_LOGGUI" = "yes"; then
34888 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34892 if test "$wxUSE_LOGWINDOW" = "yes"; then
34893 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34897 if test "$wxUSE_LOGDIALOG" = "yes"; then
34898 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
34905 if test "$wxUSE_LONGLONG" = "yes"; then
34906 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34910 if test "$wxUSE_GEOMETRY" = "yes"; then
34911 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34915 if test "$wxUSE_BASE64" = "yes"; then
34916 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34920 if test "$wxUSE_STREAMS" = "yes" ; then
34921 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34925 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34926 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34930 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34931 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34936 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34937 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34940 if test "$wxUSE_UNIX" = "yes"; then
34941 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34942 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34946 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34947 for ac_header
in sys
/epoll.h
34949 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34951 if test "x$ac_cv_header_sys_epoll_h" = xyes
; then :
34952 cat >>confdefs.h
<<_ACEOF
34953 #define HAVE_SYS_EPOLL_H 1
34960 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34961 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34965 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34972 for ac_func
in gettimeofday ftime
34974 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34975 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
34976 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
34977 cat >>confdefs.h
<<_ACEOF
34978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34985 if test "$ac_cv_func_gettimeofday" = "yes"; then
34986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34987 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34988 if ${wx_cv_func_gettimeofday_has_2_args+:} false
; then :
34989 $as_echo_n "(cached) " >&6
34992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34993 /* end confdefs.h. */
34995 #include <sys/time.h>
34996 #include <unistd.h>
35003 gettimeofday(&tv, NULL);
35009 if ac_fn_c_try_compile
"$LINENO"; then :
35010 wx_cv_func_gettimeofday_has_2_args
=yes
35012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35013 /* end confdefs.h. */
35015 #include <sys/time.h>
35016 #include <unistd.h>
35029 if ac_fn_c_try_compile
"$LINENO"; then :
35030 wx_cv_func_gettimeofday_has_2_args
=no
35033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35034 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35035 wx_cv_func_gettimeofday_has_2_args
=unknown
35039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35046 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35048 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35049 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35054 if test "$wxUSE_DATETIME" = "yes"; then
35055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35056 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35057 if ${wx_cv_var_timezone+:} false
; then :
35058 $as_echo_n "(cached) " >&6
35062 ac_cpp
='$CXXCPP $CPPFLAGS'
35063 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35064 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35065 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35068 /* end confdefs.h. */
35083 if ac_fn_cxx_try_compile
"$LINENO"; then :
35085 wx_cv_var_timezone
=timezone
35089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35090 /* end confdefs.h. */
35105 if ac_fn_cxx_try_compile
"$LINENO"; then :
35107 wx_cv_var_timezone
=_timezone
35111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35112 /* end confdefs.h. */
35127 if ac_fn_cxx_try_compile
"$LINENO"; then :
35129 wx_cv_var_timezone
=__timezone
35133 if test "$USE_DOS" = 0 ; then
35134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35135 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35150 ac_cpp
='$CPP $CPPFLAGS'
35151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35159 $as_echo "$wx_cv_var_timezone" >&6; }
35161 if test "x$wx_cv_var_timezone" != x
; then
35162 cat >>confdefs.h
<<_ACEOF
35163 #define WX_TIMEZONE $wx_cv_var_timezone
35168 for ac_func
in localtime
35170 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
35171 if test "x$ac_cv_func_localtime" = xyes
; then :
35172 cat >>confdefs.h
<<_ACEOF
35173 #define HAVE_LOCALTIME 1
35180 if test "$ac_cv_func_localtime" = "yes"; then
35181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35182 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35183 if ${wx_cv_struct_tm_has_gmtoff+:} false
; then :
35184 $as_echo_n "(cached) " >&6
35187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35188 /* end confdefs.h. */
35203 if ac_fn_c_try_compile
"$LINENO"; then :
35205 wx_cv_struct_tm_has_gmtoff
=yes
35208 wx_cv_struct_tm_has_gmtoff
=no
35211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35215 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35218 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35219 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35227 for ac_func
in setpriority
35229 ac_fn_c_check_func
"$LINENO" "setpriority" "ac_cv_func_setpriority"
35230 if test "x$ac_cv_func_setpriority" = xyes
; then :
35231 cat >>confdefs.h
<<_ACEOF
35232 #define HAVE_SETPRIORITY 1
35240 if test "$wxUSE_SOCKETS" = "yes"; then
35241 if test "$TOOLKIT" != "MSW"; then
35242 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
35243 if test "x$ac_cv_func_socket" = xyes
; then :
35247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35248 $as_echo_n "checking for socket in -lsocket... " >&6; }
35249 if ${ac_cv_lib_socket_socket+:} false
; then :
35250 $as_echo_n "(cached) " >&6
35252 ac_check_lib_save_LIBS
=$LIBS
35253 LIBS
="-lsocket $LIBS"
35254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35255 /* end confdefs.h. */
35257 /* Override any GCC internal prototype to avoid an error.
35258 Use char because int might match the return type of a GCC
35259 builtin and then its argument prototype would still apply. */
35272 if ac_fn_c_try_link
"$LINENO"; then :
35273 ac_cv_lib_socket_socket
=yes
35275 ac_cv_lib_socket_socket
=no
35277 rm -f core conftest.err conftest.
$ac_objext \
35278 conftest
$ac_exeext conftest.
$ac_ext
35279 LIBS
=$ac_check_lib_save_LIBS
35281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35282 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35283 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
35284 if test "$INET_LINK" != " -lsocket"; then
35285 INET_LINK
="$INET_LINK -lsocket"
35289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35290 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35303 if test "$wxUSE_SOCKETS" = "yes" ; then
35304 if test "$TOOLKIT" != "MSW"; then
35305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35306 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35307 if ${wx_cv_type_getsockname3+:} false
; then :
35308 $as_echo_n "(cached) " >&6
35312 ac_cpp
='$CXXCPP $CPPFLAGS'
35313 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35314 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35315 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35318 /* end confdefs.h. */
35320 #include <sys/types.h>
35321 #include <sys/socket.h>
35328 getsockname(0, 0, &len);
35334 if ac_fn_cxx_try_compile
"$LINENO"; then :
35335 wx_cv_type_getsockname3
=socklen_t
35338 CFLAGS_OLD
="$CFLAGS"
35339 if test "$GCC" = yes ; then
35340 CFLAGS
="-Werror $CFLAGS"
35343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35344 /* end confdefs.h. */
35346 #include <sys/types.h>
35347 #include <sys/socket.h>
35354 getsockname(0, 0, &len);
35360 if ac_fn_cxx_try_compile
"$LINENO"; then :
35361 wx_cv_type_getsockname3
=size_t
35363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35364 /* end confdefs.h. */
35366 #include <sys/types.h>
35367 #include <sys/socket.h>
35374 getsockname(0, 0, &len);
35380 if ac_fn_cxx_try_compile
"$LINENO"; then :
35381 wx_cv_type_getsockname3
=int
35383 wx_cv_type_getsockname3
=unknown
35386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35391 CFLAGS
="$CFLAGS_OLD"
35395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35397 ac_cpp
='$CPP $CPPFLAGS'
35398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35405 $as_echo "$wx_cv_type_getsockname3" >&6; }
35407 if test "$wx_cv_type_getsockname3" = "unknown"; then
35409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35410 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35412 cat >>confdefs.h
<<_ACEOF
35413 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35418 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35419 if ${wx_cv_type_getsockopt5+:} false
; then :
35420 $as_echo_n "(cached) " >&6
35424 ac_cpp
='$CXXCPP $CPPFLAGS'
35425 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35426 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35427 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35430 /* end confdefs.h. */
35432 #include <sys/types.h>
35433 #include <sys/socket.h>
35440 getsockopt(0, 0, 0, 0, &len);
35446 if ac_fn_cxx_try_compile
"$LINENO"; then :
35447 wx_cv_type_getsockopt5
=socklen_t
35450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35451 /* end confdefs.h. */
35453 #include <sys/types.h>
35454 #include <sys/socket.h>
35461 getsockopt(0, 0, 0, 0, &len);
35467 if ac_fn_cxx_try_compile
"$LINENO"; then :
35468 wx_cv_type_getsockopt5
=size_t
35470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35471 /* end confdefs.h. */
35473 #include <sys/types.h>
35474 #include <sys/socket.h>
35481 getsockopt(0, 0, 0, 0, &len);
35487 if ac_fn_cxx_try_compile
"$LINENO"; then :
35488 wx_cv_type_getsockopt5
=int
35490 wx_cv_type_getsockopt5
=unknown
35493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35502 ac_cpp
='$CPP $CPPFLAGS'
35503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35510 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35512 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35515 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35517 cat >>confdefs.h
<<_ACEOF
35518 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35525 if test "$wxUSE_SOCKETS" = "yes" ; then
35526 if test "$wxUSE_IPV6" = "yes"; then
35527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35528 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35529 if ${wx_cv_type_sockaddr_in6+:} false
; then :
35530 $as_echo_n "(cached) " >&6
35533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35534 /* end confdefs.h. */
35536 #include <sys/types.h>
35537 #include <sys/socket.h>
35538 #include <netinet/in.h>
35544 struct sockaddr_in6 sa6;
35550 if ac_fn_c_try_compile
"$LINENO"; then :
35551 wx_cv_type_sockaddr_in6
=yes
35553 wx_cv_type_sockaddr_in6
=no
35556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35561 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35563 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35564 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35568 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35572 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35574 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35577 if test "$wxUSE_PROTOCOL" = "yes"; then
35578 if test "$wxUSE_SOCKETS" != "yes"; then
35579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35580 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35585 if test "$wxUSE_PROTOCOL" = "yes"; then
35586 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35589 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35590 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35593 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35594 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35597 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35598 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35602 if test "$wxUSE_FS_INET" = "yes"; then
35603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35604 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35609 if test "$wxUSE_URL" = "yes"; then
35610 if test "$wxUSE_PROTOCOL" != "yes"; then
35611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35612 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35615 if test "$wxUSE_URL" = "yes"; then
35616 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35621 if test "$wxUSE_VARIANT" = "yes"; then
35622 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35626 if test "$wxUSE_FS_INET" = "yes"; then
35627 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35632 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35635 if test "$TOOLKIT" = "MSW"; then
35638 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35639 if test "$USE_DARWIN" = 1; then
35640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35641 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35643 ac_cpp
='$CXXCPP $CPPFLAGS'
35644 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35645 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35646 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35649 /* end confdefs.h. */
35650 #include <IOKit/hid/IOHIDLib.h>
35654 IOHIDQueueInterface *qi = NULL;
35655 IOHIDCallbackFunction cb = NULL;
35656 qi->setEventCallout(NULL, cb, NULL, NULL);
35661 if ac_fn_cxx_try_compile
"$LINENO"; then :
35665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35667 ac_cpp
='$CPP $CPPFLAGS'
35668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35673 $as_echo "$wxUSE_JOYSTICK" >&6; }
35677 for ac_header
in linux
/joystick.h
35679 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35681 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
35682 cat >>confdefs.h
<<_ACEOF
35683 #define HAVE_LINUX_JOYSTICK_H 1
35692 if test "$wxUSE_JOYSTICK" = "yes"; then
35693 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35698 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35704 if test "$wxUSE_FONTENUM" = "yes" ; then
35705 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35709 if test "$wxUSE_FONTMAP" = "yes" ; then
35710 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35714 if test "$wxUSE_UNICODE" = "yes" ; then
35715 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35718 if test "$USE_WIN32" != 1; then
35719 wxUSE_UNICODE_MSLU
=no
35722 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35724 $as_echo_n "checking for main in -lunicows... " >&6; }
35725 if ${ac_cv_lib_unicows_main+:} false
; then :
35726 $as_echo_n "(cached) " >&6
35728 ac_check_lib_save_LIBS
=$LIBS
35729 LIBS
="-lunicows $LIBS"
35730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35731 /* end confdefs.h. */
35742 if ac_fn_c_try_link
"$LINENO"; then :
35743 ac_cv_lib_unicows_main
=yes
35745 ac_cv_lib_unicows_main
=no
35747 rm -f core conftest.err conftest.
$ac_objext \
35748 conftest
$ac_exeext conftest.
$ac_ext
35749 LIBS
=$ac_check_lib_save_LIBS
35751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35752 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35753 if test "x$ac_cv_lib_unicows_main" = xyes
; then :
35755 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35761 Applications will only run on Windows NT/2000/XP!" >&5
35762 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35763 Applications will only run on Windows NT/2000/XP!" >&2;}
35764 wxUSE_UNICODE_MSLU
=no
35771 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35772 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35775 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35776 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35782 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35783 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35788 if test "$wxUSE_MDI" = "yes"; then
35789 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35792 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35793 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35795 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35799 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35800 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35805 if test "$wxUSE_HELP" = "yes"; then
35806 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35810 if test "$wxUSE_MSW" = 1; then
35811 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35812 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35817 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35818 if test "$wxUSE_HTML" = "yes"; then
35819 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35823 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35824 wxUSE_WXHTML_HELP
=no
35829 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35830 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35835 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35836 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35840 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35843 if test "$wxUSE_SVG" = "yes"; then
35844 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35849 if test "$wxUSE_METAFILE" = "yes"; then
35850 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35852 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35855 elif test "$wxUSE_METAFILE" = "auto"; then
35856 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35861 if test "$wxUSE_METAFILE" = "yes"; then
35862 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35864 if test "$wxUSE_MSW" = 1; then
35865 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35871 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35872 -o "$wxUSE_CLIPBOARD" = "yes" \
35873 -o "$wxUSE_OLE" = "yes" \
35874 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35875 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35877 if test "x$ac_cv_header_ole2_h" = xyes
; then :
35883 if test "$ac_cv_header_ole2_h" = "yes" ; then
35884 if test "$GCC" = yes ; then
35885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35886 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35888 /* end confdefs.h. */
35889 #include <windows.h>
35899 if ac_fn_c_try_compile
"$LINENO"; then :
35900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35901 $as_echo "no" >&6; }
35903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35904 $as_echo "yes" >&6; }
35905 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35908 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35909 if test "$wxUSE_OLE" = "yes" ; then
35910 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35912 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35914 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35916 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
35920 if test "$wxUSE_DATAOBJ" = "yes" ; then
35921 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35926 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35929 wxUSE_DRAG_AND_DROP
=no
35935 if test "$wxUSE_IPC" = "yes"; then
35936 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35938 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35942 if test "$wxUSE_IPC" = "yes"; then
35943 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
35949 if test "$wxUSE_DATAOBJ" = "yes"; then
35950 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35954 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35956 wxUSE_DRAG_AND_DROP
=no
35959 if test "$wxUSE_CLIPBOARD" = "yes"; then
35960 if test "$wxUSE_DFB" = 1; then
35961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35962 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35966 if test "$wxUSE_CLIPBOARD" = "yes"; then
35967 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35972 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35973 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35975 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35976 wxUSE_DRAG_AND_DROP
=no
35979 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35980 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35986 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
35990 if test "$wxUSE_CLIPBOARD" = "yes"; then
35991 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
35994 if test "$wxUSE_SPLINES" = "yes" ; then
35995 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35999 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36000 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36004 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36005 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
36010 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36011 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36017 if test "$wxUSE_CONTROLS" = "yes"; then
36021 if test "$wxUSE_MARKUP" = "yes"; then
36022 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36026 if test "$wxUSE_ACCEL" = "yes"; then
36027 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36032 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36033 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
36039 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36040 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36044 if test "$wxUSE_BUTTON" = "yes"; then
36045 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36050 if test "$wxUSE_BMPBUTTON" = "yes"; then
36051 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36056 if test "$wxUSE_CALCTRL" = "yes"; then
36057 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36063 if test "$wxUSE_CARET" = "yes"; then
36064 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36070 if test "$wxUSE_COLLPANE" = "yes"; then
36071 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
36077 if test "$wxUSE_COMBOBOX" = "yes"; then
36078 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36083 if test "$wxUSE_COMBOCTRL" = "yes"; then
36084 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36089 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36090 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36095 if test "$wxUSE_CHOICE" = "yes"; then
36096 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36101 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36102 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36107 if test "$wxUSE_CHECKBOX" = "yes"; then
36108 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36113 if test "$wxUSE_CHECKLST" = "yes"; then
36114 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36119 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36120 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36125 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36126 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36131 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36132 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36137 if test "$wxUSE_FILECTRL" = "yes"; then
36138 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36143 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36144 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36149 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36150 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36155 if test "$wxUSE_DISPLAY" = "yes"; then
36156 if test "$wxUSE_DFB" = 1; then
36157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36158 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36161 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36167 if test "$wxUSE_DETECT_SM" = "yes"; then
36168 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36172 if test "$wxUSE_GAUGE" = "yes"; then
36173 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36178 if test "$wxUSE_GRID" = "yes"; then
36179 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36185 if test "$wxUSE_HEADERCTRL" = "yes"; then
36186 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36191 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36192 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36197 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36198 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36203 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36204 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36207 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
36210 if test "$wxUSE_IMAGLIST" = "yes"; then
36211 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36215 if test "$wxUSE_INFOBAR" = "yes"; then
36216 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36220 if test "$wxUSE_LISTBOOK" = "yes"; then
36221 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36226 if test "$wxUSE_LISTBOX" = "yes"; then
36227 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36232 if test "$wxUSE_LISTCTRL" = "yes"; then
36233 if test "$wxUSE_IMAGLIST" = "yes"; then
36234 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36237 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36240 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36244 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36245 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36250 if test "$wxUSE_NOTEBOOK" = "yes"; then
36251 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36257 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36258 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36262 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36263 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
36269 if test "$wxUSE_RADIOBOX" = "yes"; then
36270 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36275 if test "$wxUSE_RADIOBTN" = "yes"; then
36276 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36281 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36282 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36286 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36287 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36291 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36292 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36296 if test "$wxUSE_SASH" = "yes"; then
36297 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36299 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36302 if test "$wxUSE_SCROLLBAR" = "yes"; then
36303 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
36309 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36310 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36315 if test "$wxUSE_SLIDER" = "yes"; then
36316 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36321 if test "$wxUSE_SPINBTN" = "yes"; then
36322 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36327 if test "$wxUSE_SPINCTRL" = "yes"; then
36328 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36333 if test "$wxUSE_SPLITTER" = "yes"; then
36334 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36339 if test "$wxUSE_STATBMP" = "yes"; then
36340 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36345 if test "$wxUSE_STATBOX" = "yes"; then
36346 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36351 if test "$wxUSE_STATTEXT" = "yes"; then
36352 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36357 if test "$wxUSE_STATLINE" = "yes"; then
36358 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36363 if test "$wxUSE_STATUSBAR" = "yes"; then
36364 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36366 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36373 if test "$wxUSE_TEXTCTRL" = "yes"; then
36374 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36377 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36379 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36381 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36385 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36386 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36391 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36392 if test "$wxUSE_OLD_COCOA" = 1 ; then
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36394 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36398 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36399 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36405 if test "$wxUSE_TOOLBAR" = "yes"; then
36406 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36410 if test "$wxUSE_UNIVERSAL" = "yes"; then
36411 wxUSE_TOOLBAR_NATIVE
="no"
36413 wxUSE_TOOLBAR_NATIVE
="yes"
36414 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36421 if test "$wxUSE_TOOLTIPS" = "yes"; then
36422 if test "$wxUSE_MOTIF" = 1; then
36423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36424 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36426 if test "$wxUSE_UNIVERSAL" = "yes"; then
36427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36428 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36430 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36436 if test "$wxUSE_TREEBOOK" = "yes"; then
36437 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36442 if test "$wxUSE_TOOLBOOK" = "yes"; then
36443 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36448 if test "$wxUSE_TREECTRL" = "yes"; then
36449 if test "$wxUSE_IMAGLIST" = "yes"; then
36450 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36456 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36460 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36461 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36464 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
36467 if test "$wxUSE_POPUPWIN" = "yes"; then
36468 if test "$wxUSE_OLD_COCOA" = 1 ; then
36469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36470 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36472 if test "$wxUSE_PM" = 1; then
36473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36474 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36476 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
36485 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36486 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36488 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36490 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
36496 if test "$wxUSE_TIPWINDOW" = "yes"; then
36497 if test "$wxUSE_PM" = 1; then
36498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36499 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36501 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36506 if test "$USES_CONTROLS" = 1; then
36507 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36512 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36513 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36518 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36519 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36523 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36524 if test "$wxUSE_GTK" != 1; then
36525 if test "$wxUSE_LIBPNG" != no
-a \
36526 "$wxUSE_IMAGE" = yes -a \
36527 "$wxUSE_STREAMS" = yes; then
36528 wxUSE_ARTPROVIDER_TANGO
="yes"
36533 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36534 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36538 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36539 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36544 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36545 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36547 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36549 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36556 if test "$wxUSE_HTML" = "yes"; then
36557 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36562 if test "$wxUSE_WEBKIT" = "yes"; then
36563 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36564 old_CPPFLAGS
="$CPPFLAGS"
36565 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36566 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36567 #include <Carbon/Carbon.h>
36568 #include <WebKit/WebKit.h>
36571 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36573 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36575 WEBKIT_LINK
="-framework WebKit"
36579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36580 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36586 CPPFLAGS
="$old_CPPFLAGS"
36587 elif test "$wxUSE_OLD_COCOA" = 1; then
36588 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36593 if test "$wxUSE_WEBKIT" = "yes"; then
36594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36599 if test "$wxUSE_XRC" = "yes"; then
36600 if test "$wxUSE_XML" != "yes"; then
36601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36602 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36605 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36608 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36613 if test "$wxUSE_AUI" = "yes"; then
36614 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36621 if test "$wxUSE_PROPGRID" = "yes"; then
36622 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36629 if test "$wxUSE_RIBBON" = "yes"; then
36630 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36637 if test "$wxUSE_STC" = "yes"; then
36638 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36641 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36643 # Extract the first word of "python", so it can be a program name with args.
36644 set dummy python
; ac_word
=$2
36645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36646 $as_echo_n "checking for $ac_word... " >&6; }
36647 if ${ac_cv_path_PYTHON+:} false
; then :
36648 $as_echo_n "(cached) " >&6
36652 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36656 for as_dir
in $PATH
36659 test -z "$as_dir" && as_dir
=.
36660 for ac_exec_ext
in '' $ac_executable_extensions; do
36661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
36662 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36673 PYTHON
=$ac_cv_path_PYTHON
36674 if test -n "$PYTHON"; then
36675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36676 $as_echo "$PYTHON" >&6; }
36678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36679 $as_echo "no" >&6; }
36683 if test "x$PYTHON" = "x"; then
36689 if test "$wxUSE_MENUS" = "yes"; then
36690 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36695 if test "$wxUSE_MIMETYPE" = "yes"; then
36696 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36700 if test "$wxUSE_MINIFRAME" = "yes"; then
36701 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36705 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36706 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36710 if test "$wxUSE_TASKBARICON" = "yes"; then
36711 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36713 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36719 if test "$wxUSE_VALIDATORS" = "yes"; then
36720 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36725 if test "$wxUSE_PALETTE" = "yes" ; then
36726 if test "$wxUSE_DFB" = 1; then
36727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36728 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36731 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36736 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36737 LIBS
=" -lunicows $LIBS"
36741 if test "$wxUSE_RICHTEXT" = "yes"; then
36742 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36748 if test "$wxUSE_WEBVIEW" = "yes"; then
36749 USE_WEBVIEW_WEBKIT
=0
36750 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36751 if test "$wxUSE_GTK" = 1; then
36752 webkitgtk
=webkit
-1.0
36753 if test "$WXGTK3" = 1; then
36754 webkitgtk
=webkitgtk
-3.0
36758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36759 $as_echo_n "checking for WEBKIT... " >&6; }
36761 if test -n "$PKG_CONFIG"; then
36762 if test -n "$WEBKIT_CFLAGS"; then
36763 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36765 if test -n "$PKG_CONFIG" && \
36766 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36767 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36770 test $ac_status = 0; }; then
36771 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36779 if test -n "$PKG_CONFIG"; then
36780 if test -n "$WEBKIT_LIBS"; then
36781 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36783 if test -n "$PKG_CONFIG" && \
36784 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36785 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36788 test $ac_status = 0; }; then
36789 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36800 if test $pkg_failed = yes; then
36802 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36803 _pkg_short_errors_supported
=yes
36805 _pkg_short_errors_supported
=no
36807 if test $_pkg_short_errors_supported = yes; then
36808 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36810 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36812 # Put the nasty error message in config.log where it belongs
36813 echo "$WEBKIT_PKG_ERRORS" >&5
36816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36817 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36819 elif test $pkg_failed = untried
; then
36821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36822 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36825 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36826 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36828 $as_echo "yes" >&6; }
36830 USE_WEBVIEW_WEBKIT
=1
36831 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36832 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36835 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36836 old_CPPFLAGS
="$CPPFLAGS"
36837 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36838 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36839 #include <Carbon/Carbon.h>
36840 #include <WebKit/WebKit.h>
36843 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36845 USE_WEBVIEW_WEBKIT
=1
36846 WEBKIT_LINK
="-framework WebKit"
36850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36851 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36856 CPPFLAGS
="$old_CPPFLAGS"
36861 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36862 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36863 wxUSE_WEBVIEW
="yes"
36864 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36868 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36870 elif test "$wxUSE_MSW" = 1; then
36871 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36872 wxUSE_WEBVIEW
="yes"
36873 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36879 if test "$wxUSE_WEBVIEW" = "yes"; then
36881 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
36889 if test "$wxUSE_IMAGE" = "yes" ; then
36890 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36893 if test "$wxUSE_GIF" = "yes" ; then
36894 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36898 if test "$wxUSE_PCX" = "yes" ; then
36899 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36903 if test "$wxUSE_TGA" = "yes" ; then
36904 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36908 if test "$wxUSE_IFF" = "yes" ; then
36909 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36913 if test "$wxUSE_PNM" = "yes" ; then
36914 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36918 if test "$wxUSE_XPM" = "yes" ; then
36919 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36923 if test "$wxUSE_ICO_CUR" = "yes" ; then
36924 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36930 if test "$wxUSE_ABOUTDLG" = "yes"; then
36931 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36935 if test "$wxUSE_CHOICEDLG" = "yes"; then
36936 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36940 if test "$wxUSE_COLOURDLG" = "yes"; then
36941 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36945 if test "$wxUSE_FILEDLG" = "yes"; then
36946 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36950 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36951 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36955 if test "$wxUSE_FONTDLG" = "yes"; then
36956 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36960 if test "$wxUSE_DIRDLG" = "yes"; then
36961 if test "$wxUSE_TREECTRL" != "yes"; then
36962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36963 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36965 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36970 if test "$wxUSE_MSGDLG" = "yes"; then
36971 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36975 if test "$wxUSE_NUMBERDLG" = "yes"; then
36976 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36980 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36981 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36985 if test "$wxUSE_SPLASH" = "yes"; then
36986 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
36991 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36992 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36996 if test "$wxUSE_TEXTDLG" = "yes"; then
36997 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37001 if test "$wxUSE_WIZARDDLG" = "yes"; then
37002 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37008 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37009 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37010 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37016 if test "$wxUSE_MSW" = 1 ; then
37018 if test "$wxUSE_DC_CACHEING" = "yes"; then
37019 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37023 if test "$wxUSE_DIB" = "yes"; then
37024 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37028 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37029 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37033 if test "$wxUSE_UXTHEME" = "yes"; then
37034 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37040 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37041 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37045 if test "$USE_WIN32" = 1 ; then
37046 if test "$wxUSE_INICONF" = "yes"; then
37047 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37051 if test "$wxUSE_REGKEY" = "yes"; then
37052 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37058 if test "$wxUSE_MAC" = 1; then
37059 wxUSE_GRAPHICS_CONTEXT
="yes"
37062 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37064 if test "$wxUSE_MSW" = 1; then
37065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37066 $as_echo_n "checking if GDI+ is available... " >&6; }
37067 if ${wx_cv_lib_gdiplus+:} false
; then :
37068 $as_echo_n "(cached) " >&6
37072 ac_cpp
='$CXXCPP $CPPFLAGS'
37073 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37074 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37075 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37078 /* end confdefs.h. */
37079 #include <windows.h>
37080 #include <gdiplus.h>
37085 using namespace Gdiplus;
37091 if ac_fn_cxx_try_compile
"$LINENO"; then :
37092 wx_cv_lib_gdiplus
=yes
37094 wx_cv_lib_gdiplus
=no
37097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37099 ac_cpp
='$CPP $CPPFLAGS'
37100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37108 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37109 if test "$wx_cv_lib_gdiplus" = "yes"; then
37112 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37116 $as_echo_n "checking for CAIRO... " >&6; }
37118 if test -n "$PKG_CONFIG"; then
37119 if test -n "$CAIRO_CFLAGS"; then
37120 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
37122 if test -n "$PKG_CONFIG" && \
37123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37124 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37127 test $ac_status = 0; }; then
37128 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37136 if test -n "$PKG_CONFIG"; then
37137 if test -n "$CAIRO_LIBS"; then
37138 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
37140 if test -n "$PKG_CONFIG" && \
37141 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37142 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37145 test $ac_status = 0; }; then
37146 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37157 if test $pkg_failed = yes; then
37159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37160 _pkg_short_errors_supported
=yes
37162 _pkg_short_errors_supported
=no
37164 if test $_pkg_short_errors_supported = yes; then
37165 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37167 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37169 # Put the nasty error message in config.log where it belongs
37170 echo "$CAIRO_PKG_ERRORS" >&5
37172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37173 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37175 elif test $pkg_failed = untried
; then
37176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37177 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37180 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
37181 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
37182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37183 $as_echo "yes" >&6; }
37186 if test "$wx_has_graphics" = 1; then
37188 LIBS
="$LIBS $CAIRO_LIBS"
37189 for ac_func
in cairo_push_group
37191 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37192 if test "x$ac_cv_func_cairo_push_group" = xyes
; then :
37193 cat >>confdefs.h
<<_ACEOF
37194 #define HAVE_CAIRO_PUSH_GROUP 1
37201 if test "$ac_cv_func_cairo_push_group" = "no"; then
37203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37204 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37206 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37209 if test "$wxUSE_GTK" != 1; then
37210 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
37211 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
37219 if test "$wx_has_graphics" = 1; then
37220 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37224 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37231 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37234 if test "$wxUSE_GTK" = 1; then
37235 wxUSE_GSTREAMER
="no"
37237 GST_VERSION_MAJOR
=0
37238 GST_VERSION_MINOR
=10
37239 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37241 if test "$wxUSE_GSTREAMER8" = "no"; then
37244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37245 $as_echo_n "checking for GST... " >&6; }
37247 if test -n "$PKG_CONFIG"; then
37248 if test -n "$GST_CFLAGS"; then
37249 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37251 if test -n "$PKG_CONFIG" && \
37252 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37253 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37256 test $ac_status = 0; }; then
37257 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37265 if test -n "$PKG_CONFIG"; then
37266 if test -n "$GST_LIBS"; then
37267 pkg_cv_GST_LIBS
="$GST_LIBS"
37269 if test -n "$PKG_CONFIG" && \
37270 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37271 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37274 test $ac_status = 0; }; then
37275 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37286 if test $pkg_failed = yes; then
37288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37289 _pkg_short_errors_supported
=yes
37291 _pkg_short_errors_supported
=no
37293 if test $_pkg_short_errors_supported = yes; then
37294 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37296 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37298 # Put the nasty error message in config.log where it belongs
37299 echo "$GST_PKG_ERRORS" >&5
37302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37303 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37304 GST_VERSION_MINOR
=8
37307 elif test $pkg_failed = untried
; then
37309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37310 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37311 GST_VERSION_MINOR
=8
37315 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37316 GST_LIBS
=$pkg_cv_GST_LIBS
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37318 $as_echo "yes" >&6; }
37320 wxUSE_GSTREAMER
="yes"
37321 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37325 GST_VERSION_MINOR
=8
37328 if test $GST_VERSION_MINOR = "8"; then
37329 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37333 $as_echo_n "checking for GST... " >&6; }
37335 if test -n "$PKG_CONFIG"; then
37336 if test -n "$GST_CFLAGS"; then
37337 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37339 if test -n "$PKG_CONFIG" && \
37340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37341 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37344 test $ac_status = 0; }; then
37345 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37353 if test -n "$PKG_CONFIG"; then
37354 if test -n "$GST_LIBS"; then
37355 pkg_cv_GST_LIBS
="$GST_LIBS"
37357 if test -n "$PKG_CONFIG" && \
37358 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37359 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37362 test $ac_status = 0; }; then
37363 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37374 if test $pkg_failed = yes; then
37376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37377 _pkg_short_errors_supported
=yes
37379 _pkg_short_errors_supported
=no
37381 if test $_pkg_short_errors_supported = yes; then
37382 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37384 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37386 # Put the nasty error message in config.log where it belongs
37387 echo "$GST_PKG_ERRORS" >&5
37390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37391 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37393 elif test $pkg_failed = untried
; then
37395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37396 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37399 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37400 GST_LIBS
=$pkg_cv_GST_LIBS
37401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37402 $as_echo "yes" >&6; }
37403 wxUSE_GSTREAMER
="yes"
37408 if test "$wxUSE_GSTREAMER" = "yes"; then
37409 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
37410 EXTRALIBS_MEDIA
="$GST_LIBS"
37412 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37418 elif test "$wxUSE_MAC" = 1; then
37419 GST_LIBS
="-framework QTKit"
37422 if test $USE_MEDIA = 1; then
37423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
37424 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37427 if test "$wxUSE_MEDIACTRL" = "yes"; then
37428 as_fn_error $?
"GStreamer not available" "$LINENO" 5
37430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37431 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37437 if test "$cross_compiling" != "no"; then
37440 OSINFO
=`uname -s -r -m`
37441 OSINFO
="\"$OSINFO\""
37444 cat >>confdefs.h
<<_ACEOF
37445 #define WXWIN_OS_DESCRIPTION $OSINFO
37450 if test "x$prefix" != "xNONE"; then
37453 wxPREFIX
=$ac_default_prefix
37456 cat >>confdefs.h
<<_ACEOF
37457 #define wxINSTALL_PREFIX "$wxPREFIX"
37463 STD_BASE_LIBS
="base"
37465 BUILT_WX_LIBS
="base"
37466 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
37468 if test "$wxUSE_SOCKETS" = "yes" ; then
37469 STD_BASE_LIBS
="net $STD_BASE_LIBS"
37470 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
37472 if test "$wxUSE_XML" = "yes" ; then
37473 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
37474 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
37477 if test "$wxUSE_GUI" = "yes"; then
37478 STD_GUI_LIBS
="adv core"
37479 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
37481 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37482 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
37483 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
37485 if test "$wxUSE_HTML" = "yes" ; then
37486 STD_GUI_LIBS
="html $STD_GUI_LIBS"
37487 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
37489 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37490 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
37492 if test "$wxUSE_OPENGL" = "yes" ; then
37493 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
37495 if test "$wxUSE_AUI" = "yes" ; then
37496 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
37498 if test "$wxUSE_PROPGRID" = "yes" ; then
37499 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
37501 if test "$wxUSE_RIBBON" = "yes" ; then
37502 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
37504 if test "$wxUSE_RICHTEXT" = "yes" ; then
37505 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
37507 if test "$wxUSE_STC" = "yes" ; then
37508 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
37510 if test "$wxUSE_WEBVIEW" = "yes" ; then
37511 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
37512 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
37514 if test "$wxUSE_XRC" = "yes" ; then
37515 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
37516 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
37527 if test "$wxUSE_MAC" = 1 ; then
37528 if test "$USE_DARWIN" = 1; then
37529 if test "$wxUSE_OSX_IPHONE" = 1; then
37530 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37532 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37535 if test "$cross_compiling" != "no"; then
37536 wx_cv_target_x86_64
=no
37538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37539 $as_echo_n "checking if we target only x86_64... " >&6; }
37540 if ${wx_cv_target_x86_64+:} false
; then :
37541 $as_echo_n "(cached) " >&6
37543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37544 /* end confdefs.h. */
37545 int main() { return 0; }
37547 if ac_fn_c_try_link
"$LINENO"; then :
37548 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37549 wx_cv_target_x86_64
=no
37551 wx_cv_target_x86_64
=yes
37555 rm -f core conftest.err conftest.
$ac_objext \
37556 conftest
$ac_exeext conftest.
$ac_ext
37559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37560 $as_echo "$wx_cv_target_x86_64" >&6; }
37563 if test "$wx_cv_target_x86_64" != "yes"; then
37564 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37569 if test "$wxUSE_OLD_COCOA" = 1 ; then
37570 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37571 if test "$wxUSE_MEDIACTRL" = "yes"; then
37572 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37575 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37576 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37579 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37580 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37582 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37584 if test "$wxUSE_GUI" = "yes"; then
37587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37588 erase event exec font image minimal preferences render \
37589 shaped svg taborder vscroll widgets wrapsizer"
37591 if test "$wxUSE_MONOLITHIC" != "yes"; then
37592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37594 if test "$TOOLKIT" = "MSW"; then
37595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37596 if test "$wxUSE_UNIVERSAL" != "yes"; then
37597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37600 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37604 SAMPLES_SUBDIRS
="console"
37605 if test "$wxUSE_SOCKETS" = "yes" ; then
37606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37608 if test "$wxUSE_IPC" = "yes" ; then
37609 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37614 if test "x$INTELCC" = "xyes" ; then
37615 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37616 elif test "$GCC" = yes ; then
37617 CWARNINGS
="-Wall -Wundef"
37620 if test "x$INTELCXX" = "xyes" ; then
37621 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37622 elif test "$GXX" = yes ; then
37623 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37625 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37626 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false
; then :
37627 $as_echo_n "(cached) " >&6
37629 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37632 ac_cpp
='$CXXCPP $CPPFLAGS'
37633 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37634 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37635 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37637 ac_save_CXXFLAGS
="$CXXFLAGS"
37638 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37639 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37641 /* end confdefs.h. */
37651 if ac_fn_cxx_try_compile
"$LINENO"; then :
37652 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37656 CXXFLAGS
="$ac_save_CXXFLAGS"
37658 ac_cpp
='$CPP $CPPFLAGS'
37659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37666 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37667 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37671 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37672 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37673 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37676 test $ac_status = 0; }
37677 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37678 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37681 test $ac_status = 0; }
37682 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37688 if test "$wxUSE_MAC" = 1 ; then
37689 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37694 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37695 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37698 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37699 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37700 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37703 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37704 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37705 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37706 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37707 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37709 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37712 if test "x$MWCC" = "xyes"; then
37714 CC
="$CC -cwd source -I-"
37715 CXX
="$CXX -cwd source -I-"
37720 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37721 EXTRALIBS_XML
="$EXPAT_LINK"
37722 EXTRALIBS_HTML
="$MSPACK_LINK"
37723 EXTRALIBS_MEDIA
="$GST_LIBS"
37724 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37725 if test "$wxUSE_GUI" = "yes"; then
37726 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37728 if test "$wxUSE_OPENGL" = "yes"; then
37729 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37732 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37734 WXCONFIG_LIBS
="$LIBS"
37736 if test "$wxUSE_REGEX" = "builtin" ; then
37737 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37739 if test "$wxUSE_EXPAT" = "builtin" ; then
37740 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37742 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37743 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37745 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37746 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37748 if test "$wxUSE_LIBPNG" = "builtin" ; then
37749 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37751 if test "$wxUSE_ZLIB" = "builtin" ; then
37752 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37755 for i
in $wxconfig_3rdparty ; do
37756 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37760 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37763 case "$wxUNIV_THEMES" in
37765 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37770 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37771 cat >>confdefs.h
<<_ACEOF
37772 #define wxUSE_THEME_$t 1
37788 if test $wxUSE_MONOLITHIC = "yes" ; then
37794 if test $wxUSE_PLUGINS = "yes" ; then
37800 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37806 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37834 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37847 TOOLKIT_DESC
="GTK+"
37848 if test "$WXGTK2" = 1; then
37849 if test "$WXGTK3" = 1; then
37850 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
37852 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
37854 if test "$wxUSE_GTKPRINT" = "yes" ; then
37855 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
37857 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37858 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
37860 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37861 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
37863 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37864 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA libnotify"
37866 if test "$wxUSE_LIBHILDON" = "yes"; then
37867 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37869 if test "$wxUSE_LIBHILDON2" = "yes"; then
37870 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37873 if test "$TOOLKIT_EXTRA" != ""; then
37874 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37880 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
37884 TOOLKIT_DESC
="base only"
37888 if test "$wxUSE_WINE" = "yes"; then
37889 BAKEFILE_FORCE_PLATFORM
=win32
37892 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37895 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37896 if ${wx_cv_gcc_pch_bug+:} false
; then :
37897 $as_echo_n "(cached) " >&6
37900 echo '#include <stdio.h>
37901 const wchar_t test_var[] = L"awidetest";' > conftest.h
37903 echo '#include "conftest.h"
37906 printf("%ls", test_var);
37910 wx_cv_gcc_pch_bug
="pch not supported"
37912 if $CXX conftest.h
>/dev
/null
2>&1
37916 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
37918 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
37919 grep awidetest
>/dev
/null
37921 wx_cv_gcc_pch_bug
=no
37923 wx_cv_gcc_pch_bug
=yes
37928 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
37931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37932 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37934 if test "$wx_cv_gcc_pch_bug" = yes; then
37939 # Find a good install program. We prefer a C program (faster),
37940 # so one script is as good as another. But avoid the broken or
37941 # incompatible versions:
37942 # SysV /etc/install, /usr/sbin/install
37943 # SunOS /usr/etc/install
37944 # IRIX /sbin/install
37946 # AmigaOS /C/install, which installs bootblocks on floppy discs
37947 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37948 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37949 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37950 # OS/2's system install, which has a completely different semantic
37951 # ./install, which can be erroneously created by make from ./install.sh.
37952 # Reject install programs that cannot install multiple files.
37953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37954 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37955 if test -z "$INSTALL"; then
37956 if ${ac_cv_path_install+:} false
; then :
37957 $as_echo_n "(cached) " >&6
37959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37960 for as_dir
in $PATH
37963 test -z "$as_dir" && as_dir
=.
37964 # Account for people who put trailing slashes in PATH elements.
37965 case $as_dir/ in #((
37966 .
/ | .
// | /[cC
]/* | \
37967 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37968 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
37971 # OSF1 and SCO ODT 3.0 have their own names for install.
37972 # Don't use installbsd from OSF since it installs stuff as root
37974 for ac_prog
in ginstall scoinst
install; do
37975 for ac_exec_ext
in '' $ac_executable_extensions; do
37976 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
37977 if test $ac_prog = install &&
37978 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37979 # AIX install. It has an incompatible calling convention.
37981 elif test $ac_prog = install &&
37982 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37983 # program-specific install script used by HP pwplus--don't use.
37986 rm -rf conftest.one conftest.two conftest.dir
37987 echo one
> conftest.one
37988 echo two
> conftest.two
37990 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
37991 test -s conftest.one
&& test -s conftest.two
&&
37992 test -s conftest.dir
/conftest.one
&&
37993 test -s conftest.dir
/conftest.two
37995 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38008 rm -rf conftest.one conftest.two conftest.dir
38011 if test "${ac_cv_path_install+set}" = set; then
38012 INSTALL
=$ac_cv_path_install
38014 # As a last resort, use the slow shell script. Don't cache a
38015 # value for INSTALL within a source directory, because that will
38016 # break other packages using the cache if that directory is
38017 # removed, or if the value is a relative name.
38018 INSTALL
=$ac_install_sh
38021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38022 $as_echo "$INSTALL" >&6; }
38024 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38025 # It thinks the first close brace ends the variable substitution.
38026 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38028 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38030 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38038 if test "x$BAKEFILE_HOST" = "x"; then
38039 if test "x${host}" = "x" ; then
38040 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38043 BAKEFILE_HOST
="${host}"
38046 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38048 if test -n "$ac_tool_prefix"; then
38049 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38050 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38052 $as_echo_n "checking for $ac_word... " >&6; }
38053 if ${ac_cv_prog_RANLIB+:} false
; then :
38054 $as_echo_n "(cached) " >&6
38056 if test -n "$RANLIB"; then
38057 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38060 for as_dir
in $PATH
38063 test -z "$as_dir" && as_dir
=.
38064 for ac_exec_ext
in '' $ac_executable_extensions; do
38065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38066 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38076 RANLIB
=$ac_cv_prog_RANLIB
38077 if test -n "$RANLIB"; then
38078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38079 $as_echo "$RANLIB" >&6; }
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38082 $as_echo "no" >&6; }
38087 if test -z "$ac_cv_prog_RANLIB"; then
38088 ac_ct_RANLIB
=$RANLIB
38089 # Extract the first word of "ranlib", so it can be a program name with args.
38090 set dummy ranlib
; ac_word
=$2
38091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38092 $as_echo_n "checking for $ac_word... " >&6; }
38093 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
38094 $as_echo_n "(cached) " >&6
38096 if test -n "$ac_ct_RANLIB"; then
38097 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38100 for as_dir
in $PATH
38103 test -z "$as_dir" && as_dir
=.
38104 for ac_exec_ext
in '' $ac_executable_extensions; do
38105 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38106 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38116 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38117 if test -n "$ac_ct_RANLIB"; then
38118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38119 $as_echo "$ac_ct_RANLIB" >&6; }
38121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38122 $as_echo "no" >&6; }
38125 if test "x$ac_ct_RANLIB" = x
; then
38128 case $cross_compiling:$ac_tool_warned in
38130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38132 ac_tool_warned
=yes ;;
38134 RANLIB
=$ac_ct_RANLIB
38137 RANLIB
="$ac_cv_prog_RANLIB"
38141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38142 $as_echo_n "checking whether ln -s works... " >&6; }
38144 if test "$LN_S" = "ln -s"; then
38145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38146 $as_echo "yes" >&6; }
38148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38149 $as_echo "no, using $LN_S" >&6; }
38153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38154 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38156 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38157 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
38158 $as_echo_n "(cached) " >&6
38160 cat >conftest.
make <<\_ACEOF
38163 @
echo '@@@%%%=$(MAKE)=@@@%%%'
38165 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38166 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38167 *@@@
%%%=?
*=@@@
%%%*)
38168 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
38170 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
38172 rm -f conftest.
make
38174 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38176 $as_echo "yes" >&6; }
38179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38180 $as_echo "no" >&6; }
38181 SET_MAKE
="MAKE=${MAKE-make}"
38186 if test "x$SUNCXX" = "xyes"; then
38188 AROPTIONS
="-xar -o"
38190 elif test "x$SGICC" = "xyes"; then
38195 if test -n "$ac_tool_prefix"; then
38196 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38197 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38199 $as_echo_n "checking for $ac_word... " >&6; }
38200 if ${ac_cv_prog_AR+:} false
; then :
38201 $as_echo_n "(cached) " >&6
38203 if test -n "$AR"; then
38204 ac_cv_prog_AR
="$AR" # Let the user override the test.
38206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38207 for as_dir
in $PATH
38210 test -z "$as_dir" && as_dir
=.
38211 for ac_exec_ext
in '' $ac_executable_extensions; do
38212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38213 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38224 if test -n "$AR"; then
38225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38226 $as_echo "$AR" >&6; }
38228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38229 $as_echo "no" >&6; }
38234 if test -z "$ac_cv_prog_AR"; then
38236 # Extract the first word of "ar", so it can be a program name with args.
38237 set dummy
ar; ac_word
=$2
38238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38239 $as_echo_n "checking for $ac_word... " >&6; }
38240 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
38241 $as_echo_n "(cached) " >&6
38243 if test -n "$ac_ct_AR"; then
38244 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38247 for as_dir
in $PATH
38250 test -z "$as_dir" && as_dir
=.
38251 for ac_exec_ext
in '' $ac_executable_extensions; do
38252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38253 ac_cv_prog_ac_ct_AR
="ar"
38254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38263 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38264 if test -n "$ac_ct_AR"; then
38265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38266 $as_echo "$ac_ct_AR" >&6; }
38268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38269 $as_echo "no" >&6; }
38272 if test "x$ac_ct_AR" = x
; then
38275 case $cross_compiling:$ac_tool_warned in
38277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38279 ac_tool_warned
=yes ;;
38284 AR
="$ac_cv_prog_AR"
38291 if test -n "$ac_tool_prefix"; then
38292 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38293 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38295 $as_echo_n "checking for $ac_word... " >&6; }
38296 if ${ac_cv_prog_STRIP+:} false
; then :
38297 $as_echo_n "(cached) " >&6
38299 if test -n "$STRIP"; then
38300 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38303 for as_dir
in $PATH
38306 test -z "$as_dir" && as_dir
=.
38307 for ac_exec_ext
in '' $ac_executable_extensions; do
38308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38309 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38319 STRIP
=$ac_cv_prog_STRIP
38320 if test -n "$STRIP"; then
38321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38322 $as_echo "$STRIP" >&6; }
38324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38325 $as_echo "no" >&6; }
38330 if test -z "$ac_cv_prog_STRIP"; then
38332 # Extract the first word of "strip", so it can be a program name with args.
38333 set dummy strip
; ac_word
=$2
38334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38335 $as_echo_n "checking for $ac_word... " >&6; }
38336 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
38337 $as_echo_n "(cached) " >&6
38339 if test -n "$ac_ct_STRIP"; then
38340 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38343 for as_dir
in $PATH
38346 test -z "$as_dir" && as_dir
=.
38347 for ac_exec_ext
in '' $ac_executable_extensions; do
38348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38349 ac_cv_prog_ac_ct_STRIP
="strip"
38350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38359 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38360 if test -n "$ac_ct_STRIP"; then
38361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38362 $as_echo "$ac_ct_STRIP" >&6; }
38364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38365 $as_echo "no" >&6; }
38368 if test "x$ac_ct_STRIP" = x
; then
38371 case $cross_compiling:$ac_tool_warned in
38373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38375 ac_tool_warned
=yes ;;
38380 STRIP
="$ac_cv_prog_STRIP"
38383 if test -n "$ac_tool_prefix"; then
38384 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38385 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38387 $as_echo_n "checking for $ac_word... " >&6; }
38388 if ${ac_cv_prog_NM+:} false
; then :
38389 $as_echo_n "(cached) " >&6
38391 if test -n "$NM"; then
38392 ac_cv_prog_NM
="$NM" # Let the user override the test.
38394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38395 for as_dir
in $PATH
38398 test -z "$as_dir" && as_dir
=.
38399 for ac_exec_ext
in '' $ac_executable_extensions; do
38400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38401 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38412 if test -n "$NM"; then
38413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38414 $as_echo "$NM" >&6; }
38416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38417 $as_echo "no" >&6; }
38422 if test -z "$ac_cv_prog_NM"; then
38424 # Extract the first word of "nm", so it can be a program name with args.
38425 set dummy nm
; ac_word
=$2
38426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38427 $as_echo_n "checking for $ac_word... " >&6; }
38428 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
38429 $as_echo_n "(cached) " >&6
38431 if test -n "$ac_ct_NM"; then
38432 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38435 for as_dir
in $PATH
38438 test -z "$as_dir" && as_dir
=.
38439 for ac_exec_ext
in '' $ac_executable_extensions; do
38440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38441 ac_cv_prog_ac_ct_NM
="nm"
38442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38451 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38452 if test -n "$ac_ct_NM"; then
38453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38454 $as_echo "$ac_ct_NM" >&6; }
38456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38457 $as_echo "no" >&6; }
38460 if test "x$ac_ct_NM" = x
; then
38463 case $cross_compiling:$ac_tool_warned in
38465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38467 ac_tool_warned
=yes ;;
38472 NM
="$ac_cv_prog_NM"
38476 INSTALL_DIR
="mkdir -p"
38480 case ${BAKEFILE_HOST} in
38481 *-*-cygwin* | *-*-mingw32* )
38482 LDFLAGS_GUI
="-mwindows"
38488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38489 $as_echo_n "checking if make is GNU make... " >&6; }
38490 if ${bakefile_cv_prog_makeisgnu+:} false
; then :
38491 $as_echo_n "(cached) " >&6
38494 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38495 egrep -s GNU
> /dev
/null
); then
38496 bakefile_cv_prog_makeisgnu
="yes"
38498 bakefile_cv_prog_makeisgnu
="no"
38502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38503 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38505 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38522 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38523 case "${BAKEFILE_HOST}" in
38530 *-pc-os2_emx | *-pc-os2-emx )
38540 powerpc
-apple-macos* )
38549 case "$BAKEFILE_FORCE_PLATFORM" in
38570 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38585 # Check whether --enable-omf was given.
38586 if test "${enable_omf+set}" = set; then :
38587 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38591 case "${BAKEFILE_HOST}" in
38593 if test "x$GCC" = "xyes"; then
38594 CFLAGS
="$CFLAGS -fno-common"
38595 CXXFLAGS
="$CXXFLAGS -fno-common"
38597 if test "x$XLCC" = "xyes"; then
38598 CFLAGS
="$CFLAGS -qnocommon"
38599 CXXFLAGS
="$CXXFLAGS -qnocommon"
38603 *-pc-os2_emx | *-pc-os2-emx )
38604 if test "x$bk_os2_use_omf" = "xyes" ; then
38607 LDFLAGS
="-Zomf $LDFLAGS"
38608 CFLAGS
="-Zomf $CFLAGS"
38609 CXXFLAGS
="-Zomf $CXXFLAGS"
38617 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38623 SO_SUFFIX_MODULE
="so"
38628 DLLPREFIX_MODULE
=""
38632 case "${BAKEFILE_HOST}" in
38637 SO_SUFFIX_MODULE
="sl"
38641 SO_SUFFIX_MODULE
="a"
38645 SO_SUFFIX_MODULE
="dll"
38646 DLLIMP_SUFFIX
="dll.a"
38653 SO_SUFFIX_MODULE
="dll"
38654 DLLIMP_SUFFIX
="dll.a"
38664 *-pc-os2_emx | *-pc-os2-emx )
38666 SO_SUFFIX_MODULE
="dll"
38667 DLLIMP_SUFFIX
=$OS2_LIBEXT
38671 LIBEXT
=".$OS2_LIBEXT"
38676 SO_SUFFIX_MODULE
="bundle"
38680 if test "x$DLLIMP_SUFFIX" = "x" ; then
38681 DLLIMP_SUFFIX
="$SO_SUFFIX"
38696 if test "x$GCC" = "xyes"; then
38700 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38701 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38704 case "${BAKEFILE_HOST}" in
38706 if test "x$GCC" != "xyes"; then
38707 LDFLAGS
="$LDFLAGS -L/usr/lib"
38709 SHARED_LD_CC
="${CC} -b -o"
38710 SHARED_LD_CXX
="${CXX} -b -o"
38716 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38718 elif test "x$SUNCXX" = "xyes"; then
38719 SHARED_LD_CC
="${CC} -G -o"
38720 SHARED_LD_CXX
="${CXX} -G -o"
38726 if test "x$SUNCXX" = xyes
; then
38727 SHARED_LD_CC
="${CC} -G -o"
38728 SHARED_LD_CXX
="${CXX} -G -o"
38736 cat <<EOF >shared-ld-sh
38738 #-----------------------------------------------------------------------------
38739 #-- Name: distrib/mac/shared-ld-sh
38740 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38741 #-- Author: Gilles Depeyrot
38742 #-- Copyright: (c) 2002 Gilles Depeyrot
38743 #-- Licence: any use permitted
38744 #-----------------------------------------------------------------------------
38749 linking_flag="-dynamiclib"
38750 ldargs="-r -keep_private_externs -nostdlib"
38752 if test "x${D}CXX" = "x"; then
38756 while test ${D}# -gt 0; do
38763 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38764 # collect these options and values
38765 args="${D}{args} ${D}1 ${D}2"
38770 # collect these options and values
38771 ldargs="${D}{ldargs} ${D}1 ${D}2"
38776 # collect these load args
38777 ldargs="${D}{ldargs} ${D}1"
38780 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38781 # collect these options
38782 args="${D}{args} ${D}1"
38785 -dynamiclib|-bundle)
38786 linking_flag="${D}1"
38790 echo "shared-ld: unhandled option '${D}1'"
38794 *.o | *.a | *.dylib)
38795 # collect object files
38796 objects="${D}{objects} ${D}1"
38800 echo "shared-ld: unhandled argument '${D}1'"
38811 # Link one module containing all the others
38813 if test ${D}{verbose} = 1; then
38814 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38816 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38820 # Link the shared library from the single module created, but only if the
38821 # previous command didn't fail:
38823 if test ${D}{status} = 0; then
38824 if test ${D}{verbose} = 1; then
38825 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38827 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38832 # Remove intermediate module
38834 rm -f master.${D}${D}.o
38839 chmod +x shared
-ld-sh
38841 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38842 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38846 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38847 if ${bakefile_cv_gcc31+:} false
; then :
38848 $as_echo_n "(cached) " >&6
38851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38852 /* end confdefs.h. */
38858 #if (__GNUC__ < 3) || \
38859 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38867 if ac_fn_c_try_compile
"$LINENO"; then :
38869 bakefile_cv_gcc31
=yes
38873 bakefile_cv_gcc31
=no
38877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38881 $as_echo "$bakefile_cv_gcc31" >&6; }
38882 if test "$bakefile_cv_gcc31" = "no"; then
38883 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38884 SHARED_LD_CXX
="$SHARED_LD_CC"
38886 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38887 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38890 if test "x$GCC" == "xyes"; then
38891 PIC_FLAG
="-dynamic -fPIC"
38893 if test "x$XLCC" = "xyes"; then
38894 PIC_FLAG
="-dynamic -DPIC"
38899 if test "x$GCC" = "xyes"; then
38902 case "${BAKEFILE_HOST}" in
38904 LD_EXPFULL
="-Wl,-bexpfull"
38908 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
38909 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
38911 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38912 set dummy makeC
++SharedLib
; ac_word
=$2
38913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38914 $as_echo_n "checking for $ac_word... " >&6; }
38915 if ${ac_cv_prog_AIX_CXX_LD+:} false
; then :
38916 $as_echo_n "(cached) " >&6
38918 if test -n "$AIX_CXX_LD"; then
38919 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38922 for as_dir
in $PATH
38925 test -z "$as_dir" && as_dir
=.
38926 for ac_exec_ext
in '' $ac_executable_extensions; do
38927 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38928 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38936 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38939 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38940 if test -n "$AIX_CXX_LD"; then
38941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38942 $as_echo "$AIX_CXX_LD" >&6; }
38944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38945 $as_echo "no" >&6; }
38949 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38950 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38955 SHARED_LD_CC
="${LD} -nostart -o"
38956 SHARED_LD_CXX
="${LD} -nostart -o"
38960 if test "x$GCC" != "xyes"; then
38965 *-*-cygwin* | *-*-mingw32* )
38967 SHARED_LD_CC
="\$(CC) -shared -o"
38968 SHARED_LD_CXX
="\$(CXX) -shared -o"
38972 *-pc-os2_emx | *-pc-os2-emx )
38973 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38974 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38978 cat <<EOF >dllar.sh
38981 # dllar - a tool to build both a .dll and an .a file
38982 # from a set of object (.o) files for EMX/OS2.
38984 # Written by Andrew Zabolotny, bit@freya.etu.ru
38985 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38987 # This script will accept a set of files on the command line.
38988 # All the public symbols from the .o files will be exported into
38989 # a .DEF file, then linker will be run (through gcc) against them to
38990 # build a shared library consisting of all given .o files. All libraries
38991 # (.a) will be first decompressed into component .o files then act as
38992 # described above. You can optionally give a description (-d "description")
38993 # which will be put into .DLL. To see the list of accepted options (as well
38994 # as command-line format) simply run this program without options. The .DLL
38995 # is built to be imported by name (there is no guarantee that new versions
38996 # of the library you build will have same ordinals for same symbols).
38998 # dllar is free software; you can redistribute it and/or modify
38999 # it under the terms of the GNU General Public License as published by
39000 # the Free Software Foundation; either version 2, or (at your option)
39001 # any later version.
39003 # dllar is distributed in the hope that it will be useful,
39004 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39005 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39006 # GNU General Public License for more details.
39008 # You should have received a copy of the GNU General Public License
39009 # along with dllar; see the file COPYING. If not, write to the Free
39010 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39013 # To successfuly run this program you will need:
39014 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39015 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39017 # (used to build the .dll)
39019 # (used to create .def file from .o files)
39021 # (used to create .a file from .def file)
39022 # - GNU text utilites (cat, sort, uniq)
39023 # used to process emxexp output
39024 # - GNU file utilities (mv, rm)
39026 # - lxlite (optional, see flag below)
39027 # (used for general .dll cleanup)
39034 # basnam, variant of basename, which does _not_ remove the path, _iff_
39035 # second argument (suffix to remove) is given
39039 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39042 echo ${D}1 | sed 's/'${D}2'${D}//'
39045 echo "error in basnam ${D}*"
39051 # Cleanup temporary files and output
39054 for i in ${D}inputFiles ; do
39057 rm -rf \`basnam ${D}i !\`
39064 # Kill result in case of failure as there is just to many stupid make/nmake
39065 # things out there which doesn't do this.
39066 if [ ${D}# -eq 0 ]; then
39067 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39071 # Print usage and exit script with rc=1.
39073 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39074 echo ' [-name-mangler-script script.sh]'
39075 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39076 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39077 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39078 echo ' [*.o] [*.a]'
39079 echo '*> "output_file" should have no extension.'
39080 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39081 echo ' The import library name is derived from this and is set to "name".a,'
39082 echo ' unless overridden by -import'
39083 echo '*> "importlib_name" should have no extension.'
39084 echo ' If it has the .o, or .a extension, it is automatically removed.'
39085 echo ' This name is used as the import library name and may be longer and'
39086 echo ' more descriptive than the DLL name which has to follow the old '
39087 echo ' 8.3 convention of FAT.'
39088 echo '*> "script.sh may be given to override the output_file name by a'
39089 echo ' different name. It is mainly useful if the regular make process'
39090 echo ' of some package does not take into account OS/2 restriction of'
39091 echo ' DLL name lengths. It takes the importlib name as input and is'
39092 echo ' supposed to procude a shorter name as output. The script should'
39093 echo ' expect to get importlib_name without extension and should produce'
39094 echo ' a (max.) 8 letter name without extension.'
39095 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39096 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39097 echo ' These flags will be put at the start of GCC command line.'
39098 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39099 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39100 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39101 echo ' If the last character of a symbol is "*", all symbols beginning'
39102 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39103 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39104 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39105 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39106 echo ' C runtime DLLs.'
39107 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39108 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39109 echo ' unchanged to GCC at the end of command line.'
39110 echo '*> If you create a DLL from a library and you do not specify -o,'
39111 echo ' the basename for DLL and import library will be set to library name,'
39112 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39113 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39114 echo ' library will be renamed into gcc_s.a.'
39117 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39118 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39123 # Execute a command.
39124 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39125 # @Uses Whatever CleanUp() uses.
39131 if [ ${D}rcCmd -ne 0 ]; then
39132 echo "command failed, exit code="${D}rcCmd
39147 CFLAGS="-s -Zcrtdll"
39149 EXPORT_BY_ORDINALS=0
39154 case ${D}curDirS in
39158 curDirS=${D}{curDirS}"/"
39161 # Parse commandline
39164 while [ ${D}1 ]; do
39167 EXPORT_BY_ORDINALS=1;
39177 -name-mangler-script)
39198 exclude_symbols=${D}{exclude_symbols}${D}1" "
39202 library_flags=${D}{library_flags}${D}1" "
39221 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39224 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39225 if [ ${D}omfLinking -eq 1 ]; then
39226 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39228 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39233 if [ ${D}libsToLink -ne 0 ]; then
39234 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39236 for file in ${D}1 ; do
39237 if [ -f ${D}file ]; then
39238 inputFiles="${D}{inputFiles} ${D}file"
39242 if [ ${D}found -eq 0 ]; then
39243 echo "ERROR: No file(s) found: "${D}1
39250 done # iterate cmdline words
39253 if [ -z "${D}inputFiles" ]; then
39254 echo "dllar: no input files"
39258 # Now extract all .o files from .a files
39260 for file in ${D}inputFiles ; do
39271 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39276 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39278 if [ ${D}? -ne 0 ]; then
39279 echo "Failed to create subdirectory ./${D}dirname"
39283 # Append '!' to indicate archive
39284 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39285 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39288 for subfile in ${D}dirname/*.o* ; do
39289 if [ -f ${D}subfile ]; then
39291 if [ -s ${D}subfile ]; then
39292 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39293 newInputFiles="${D}newInputFiles ${D}subfile"
39297 if [ ${D}found -eq 0 ]; then
39298 echo "WARNING: there are no files in archive \\'${D}file\\'"
39302 newInputFiles="${D}{newInputFiles} ${D}file"
39306 inputFiles="${D}newInputFiles"
39308 # Output filename(s).
39310 if [ -z ${D}outFile ]; then
39312 set outFile ${D}inputFiles; outFile=${D}2
39315 # If it is an archive, remove the '!' and the '_%' suffixes
39316 case ${D}outFile in
39318 outFile=\`basnam ${D}outFile _%!\`
39323 case ${D}outFile in
39325 outFile=\`basnam ${D}outFile .dll\`
39328 outFile=\`basnam ${D}outFile .DLL\`
39331 outFile=\`basnam ${D}outFile .o\`
39334 outFile=\`basnam ${D}outFile .obj\`
39337 outFile=\`basnam ${D}outFile .a\`
39340 outFile=\`basnam ${D}outFile .lib\`
39345 case ${D}outimpFile in
39347 outimpFile=\`basnam ${D}outimpFile .a\`
39350 outimpFile=\`basnam ${D}outimpFile .lib\`
39355 if [ -z ${D}outimpFile ]; then
39356 outimpFile=${D}outFile
39358 defFile="${D}{outFile}.def"
39359 arcFile="${D}{outimpFile}.a"
39360 arcFile2="${D}{outimpFile}.lib"
39362 #create ${D}dllFile as something matching 8.3 restrictions,
39363 if [ -z ${D}renameScript ] ; then
39364 dllFile="${D}outFile"
39366 dllFile=\`${D}renameScript ${D}outimpFile\`
39369 if [ ${D}do_backup -ne 0 ] ; then
39370 if [ -f ${D}arcFile ] ; then
39371 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39373 if [ -f ${D}arcFile2 ] ; then
39374 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39378 # Extract public symbols from all the object files.
39379 tmpdefFile=${D}{defFile}_%
39380 rm -f ${D}tmpdefFile
39381 for file in ${D}inputFiles ; do
39386 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39391 # Create the def file.
39393 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39394 dllFile="${D}{dllFile}.dll"
39395 if [ ! -z ${D}description ]; then
39396 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39398 echo "EXPORTS" >> ${D}defFile
39400 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39401 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39403 # Checks if the export is ok or not.
39404 for word in ${D}exclude_symbols; do
39405 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39406 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39410 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39411 sed "=" < ${D}tmpdefFile | \\
39415 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39417 ' > ${D}{tmpdefFile}%
39418 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39420 rm -f ${D}{tmpdefFile}%
39422 cat ${D}tmpdefFile >> ${D}defFile
39423 rm -f ${D}tmpdefFile
39425 # Do linking, create implib, and apply lxlite.
39427 for file in ${D}inputFiles ; do
39432 gccCmdl="${D}gccCmdl ${D}file"
39436 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39437 touch "${D}{outFile}.dll"
39439 doCommand "emximp -o ${D}arcFile ${D}defFile"
39440 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39442 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39445 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39447 doCommand "emxomf -s -l ${D}arcFile"
39457 powerpc
-apple-macos* | \
39458 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
39468 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
39471 if test "x$PIC_FLAG" != "x" ; then
39472 PIC_FLAG
="$PIC_FLAG -DPIC"
39475 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39476 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39478 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39479 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39494 USE_SOTWOSYMLINKS
=0
39498 case "${BAKEFILE_HOST}" in
39499 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39500 *-*-k*bsd
*-gnu | *-*-mirbsd* )
39501 if test "x$SUNCXX" = "xyes"; then
39504 SONAME_FLAG
="-Wl,-soname,"
39508 USE_SOTWOSYMLINKS
=1
39520 USE_SOTWOSYMLINKS
=1
39538 # Check whether --enable-dependency-tracking was given.
39539 if test "${enable_dependency_tracking+set}" = set; then :
39540 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39545 $as_echo_n "checking for dependency tracking method... " >&6; }
39548 if test "x$bk_use_trackdeps" = "xno" ; then
39550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39551 $as_echo "disabled" >&6; }
39555 if test "x$GCC" = "xyes"; then
39558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39559 $as_echo "gcc" >&6; }
39560 elif test "x$MWCC" = "xyes"; then
39563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39564 $as_echo "mwcc" >&6; }
39565 elif test "x$SUNCC" = "xyes"; then
39568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39569 $as_echo "Sun cc" >&6; }
39570 elif test "x$SGICC" = "xyes"; then
39573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39574 $as_echo "SGI cc" >&6; }
39575 elif test "x$HPCC" = "xyes"; then
39578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39579 $as_echo "HP cc" >&6; }
39580 elif test "x$COMPAQCC" = "xyes"; then
39583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39584 $as_echo "Compaq cc" >&6; }
39587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39588 $as_echo "none" >&6; }
39591 if test $DEPS_TRACKING = 1 ; then
39597 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39598 # script. It is used to track C/C++ files dependencies in portable way.
39600 # Permission is given to use this file in any way.
39602 DEPSMODE=${DEPSMODE}
39603 DEPSFLAG="${DEPSFLAG}"
39606 if test ${D}DEPSMODE = gcc ; then
39607 ${D}* ${D}{DEPSFLAG}
39610 # determine location of created files:
39611 while test ${D}# -gt 0; do
39625 objfilebase=\`basename ${D}objfile\`
39626 builddir=\`dirname ${D}objfile\`
39627 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39628 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39629 depsdir=${D}builddir/${D}DEPSDIRBASE
39630 mkdir -p ${D}depsdir
39632 # if the compiler failed, we're done:
39633 if test ${D}{status} != 0 ; then
39638 # move created file to the location we want it in:
39639 if test -f ${D}depfile ; then
39640 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39643 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39644 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39645 if test ! -f ${D}depfile ; then
39646 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39647 depfile="${D}objfile.d"
39649 if test -f ${D}depfile ; then
39650 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39656 elif test ${D}DEPSMODE = mwcc ; then
39657 ${D}* || exit ${D}?
39658 # Run mwcc again with -MM and redirect into the dep file we want
39659 # NOTE: We can't use shift here because we need ${D}* to be valid
39661 for arg in ${D}* ; do
39662 if test "${D}prevarg" = "-o"; then
39676 objfilebase=\`basename ${D}objfile\`
39677 builddir=\`dirname ${D}objfile\`
39678 depsdir=${D}builddir/${D}DEPSDIRBASE
39679 mkdir -p ${D}depsdir
39681 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39684 elif test ${D}DEPSMODE = unixcc; then
39685 ${D}* || exit ${D}?
39686 # Run compiler again with deps flag and redirect into the dep file.
39687 # It doesn't work if the '-o FILE' option is used, but without it the
39688 # dependency file will contain the wrong name for the object. So it is
39689 # removed from the command line, and the dep file is fixed with sed.
39691 while test ${D}# -gt 0; do
39698 eval arg${D}#=\\${D}1
39699 cmd="${D}cmd \\${D}arg${D}#"
39705 objfilebase=\`basename ${D}objfile\`
39706 builddir=\`dirname ${D}objfile\`
39707 depsdir=${D}builddir/${D}DEPSDIRBASE
39708 mkdir -p ${D}depsdir
39710 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39720 BK_DEPS
="`pwd`/bk-deps"
39728 case ${BAKEFILE_HOST} in
39729 *-*-cygwin* | *-*-mingw32* )
39730 if test -n "$ac_tool_prefix"; then
39731 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39732 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39734 $as_echo_n "checking for $ac_word... " >&6; }
39735 if ${ac_cv_prog_WINDRES+:} false
; then :
39736 $as_echo_n "(cached) " >&6
39738 if test -n "$WINDRES"; then
39739 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39742 for as_dir
in $PATH
39745 test -z "$as_dir" && as_dir
=.
39746 for ac_exec_ext
in '' $ac_executable_extensions; do
39747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39748 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39758 WINDRES
=$ac_cv_prog_WINDRES
39759 if test -n "$WINDRES"; then
39760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39761 $as_echo "$WINDRES" >&6; }
39763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39764 $as_echo "no" >&6; }
39769 if test -z "$ac_cv_prog_WINDRES"; then
39770 ac_ct_WINDRES
=$WINDRES
39771 # Extract the first word of "windres", so it can be a program name with args.
39772 set dummy windres
; ac_word
=$2
39773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39774 $as_echo_n "checking for $ac_word... " >&6; }
39775 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
39776 $as_echo_n "(cached) " >&6
39778 if test -n "$ac_ct_WINDRES"; then
39779 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39782 for as_dir
in $PATH
39785 test -z "$as_dir" && as_dir
=.
39786 for ac_exec_ext
in '' $ac_executable_extensions; do
39787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39788 ac_cv_prog_ac_ct_WINDRES
="windres"
39789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39798 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39799 if test -n "$ac_ct_WINDRES"; then
39800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39801 $as_echo "$ac_ct_WINDRES" >&6; }
39803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39804 $as_echo "no" >&6; }
39807 if test "x$ac_ct_WINDRES" = x
; then
39810 case $cross_compiling:$ac_tool_warned in
39812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39814 ac_tool_warned
=yes ;;
39816 WINDRES
=$ac_ct_WINDRES
39819 WINDRES
="$ac_cv_prog_WINDRES"
39824 *-*-darwin* | powerpc
-apple-macos* )
39825 # Extract the first word of "Rez", so it can be a program name with args.
39826 set dummy Rez
; ac_word
=$2
39827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39828 $as_echo_n "checking for $ac_word... " >&6; }
39829 if ${ac_cv_prog_REZ+:} false
; then :
39830 $as_echo_n "(cached) " >&6
39832 if test -n "$REZ"; then
39833 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39836 for as_dir
in $PATH
39839 test -z "$as_dir" && as_dir
=.
39840 for ac_exec_ext
in '' $ac_executable_extensions; do
39841 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39842 ac_cv_prog_REZ
="Rez"
39843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39850 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
39853 REZ
=$ac_cv_prog_REZ
39854 if test -n "$REZ"; then
39855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39856 $as_echo "$REZ" >&6; }
39858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39859 $as_echo "no" >&6; }
39863 # Extract the first word of "SetFile", so it can be a program name with args.
39864 set dummy SetFile
; ac_word
=$2
39865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39866 $as_echo_n "checking for $ac_word... " >&6; }
39867 if ${ac_cv_prog_SETFILE+:} false
; then :
39868 $as_echo_n "(cached) " >&6
39870 if test -n "$SETFILE"; then
39871 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39874 for as_dir
in $PATH
39877 test -z "$as_dir" && as_dir
=.
39878 for ac_exec_ext
in '' $ac_executable_extensions; do
39879 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39880 ac_cv_prog_SETFILE
="SetFile"
39881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39888 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39891 SETFILE
=$ac_cv_prog_SETFILE
39892 if test -n "$SETFILE"; then
39893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39894 $as_echo "$SETFILE" >&6; }
39896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39897 $as_echo "no" >&6; }
39912 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
39915 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
39919 # Check whether --enable-precomp-headers was given.
39920 if test "${enable_precomp_headers+set}" = set; then :
39921 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
39930 case ${BAKEFILE_HOST} in
39936 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39937 if test "x$GCC" = "xyes"; then
39938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39939 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39941 /* end confdefs.h. */
39947 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39948 There is no PCH support
39951 There is no PCH support
39953 #if (__GNUC__ == 3) && \
39954 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39955 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39956 ( defined(__INTEL_COMPILER) )
39957 There is no PCH support
39964 if ac_fn_c_try_compile
"$LINENO"; then :
39966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39967 $as_echo "yes" >&6; }
39972 if test "$INTELCXX8" = "yes"; then
39973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39974 $as_echo "yes" >&6; }
39976 if test "$INTELCXX10" = "yes"; then
39977 ICC_PCH_CREATE_SWITCH
="-pch-create"
39978 ICC_PCH_USE_SWITCH
="-pch-use"
39980 ICC_PCH_CREATE_SWITCH
="-create-pch"
39981 ICC_PCH_USE_SWITCH
="-use-pch"
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39985 $as_echo "no" >&6; }
39989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39990 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39994 cat <<EOF >bk-make-pch
39997 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39998 # script. It is used to generated precompiled headers.
40000 # Permission is given to use this file in any way.
40007 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40012 while test ${D}{#} -gt 0; do
40016 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40017 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40018 headerfile="${D}{incdir}/${D}{header}"
40021 -use-pch|-use_pch|-pch-use )
40026 if test ${D}add_to_cmdline = 1 ; then
40027 compiler="${D}{compiler} ${D}{1}"
40032 if test "x${D}{headerfile}" = "x" ; then
40033 echo "error: can't find header ${D}{header} in include paths" >&2
40035 if test -f ${D}{outfile} ; then
40036 rm -f ${D}{outfile}
40038 mkdir -p \`dirname ${D}{outfile}\`
40040 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40041 mkdir -p ${D}{builddir}/.deps
40042 if test "x${GCC_PCH}" = "x1" ; then
40043 # can do this because gcc is >= 3.4:
40044 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40045 elif test "x${ICC_PCH}" = "x1" ; then
40046 filename=pch_gen-${D}${D}
40047 file=${D}{filename}.c
40048 dfile=${D}{filename}.d
40049 cat > ${D}file <<EOT
40050 #include "${D}header"
40052 # using -MF icc complains about differing command lines in creation/use
40053 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40054 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40055 rm -f ${D}file ${D}dfile ${D}{filename}.o
40061 chmod +x bk
-make-pch
40062 BK_MAKE_PCH
="`pwd`/bk-make-pch"
40073 COND_BUILD_DEBUG
="#"
40074 if test "x$BUILD" = "xdebug" ; then
40075 COND_BUILD_DEBUG
=""
40078 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40079 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40080 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40083 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40084 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40085 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40088 COND_BUILD_DEBUG_UNICODE_0
="#"
40089 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40090 COND_BUILD_DEBUG_UNICODE_0
=""
40093 COND_BUILD_DEBUG_UNICODE_1
="#"
40094 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40095 COND_BUILD_DEBUG_UNICODE_1
=""
40098 COND_BUILD_RELEASE
="#"
40099 if test "x$BUILD" = "xrelease" ; then
40100 COND_BUILD_RELEASE
=""
40103 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40104 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40105 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40108 COND_BUILD_RELEASE_UNICODE_0
="#"
40109 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40110 COND_BUILD_RELEASE_UNICODE_0
=""
40113 COND_BUILD_RELEASE_UNICODE_1
="#"
40114 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40115 COND_BUILD_RELEASE_UNICODE_1
=""
40118 COND_BUILD_debug
="#"
40119 if test "x$BUILD" = "xdebug" ; then
40120 COND_BUILD_debug
=""
40123 COND_BUILD_debug_DEBUG_FLAG_default
="#"
40124 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40125 COND_BUILD_debug_DEBUG_FLAG_default
=""
40128 COND_BUILD_debug_DEBUG_INFO_default
="#"
40129 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40130 COND_BUILD_debug_DEBUG_INFO_default
=""
40133 COND_BUILD_debug_UNICODE_0
="#"
40134 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40135 COND_BUILD_debug_UNICODE_0
=""
40138 COND_BUILD_debug_UNICODE_1
="#"
40139 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40140 COND_BUILD_debug_UNICODE_1
=""
40143 COND_BUILD_release
="#"
40144 if test "x$BUILD" = "xrelease" ; then
40145 COND_BUILD_release
=""
40148 COND_BUILD_release_DEBUG_INFO_default
="#"
40149 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40150 COND_BUILD_release_DEBUG_INFO_default
=""
40153 COND_BUILD_release_UNICODE_0
="#"
40154 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40155 COND_BUILD_release_UNICODE_0
=""
40158 COND_BUILD_release_UNICODE_1
="#"
40159 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40160 COND_BUILD_release_UNICODE_1
=""
40163 COND_DEBUG_FLAG_0
="#"
40164 if test "x$DEBUG_FLAG" = "x0" ; then
40165 COND_DEBUG_FLAG_0
=""
40168 COND_DEBUG_FLAG_1
="#"
40169 if test "x$DEBUG_FLAG" = "x1" ; then
40170 COND_DEBUG_FLAG_1
=""
40173 COND_DEBUG_INFO_0
="#"
40174 if test "x$DEBUG_INFO" = "x0" ; then
40175 COND_DEBUG_INFO_0
=""
40178 COND_DEBUG_INFO_1
="#"
40179 if test "x$DEBUG_INFO" = "x1" ; then
40180 COND_DEBUG_INFO_1
=""
40183 COND_DEPS_TRACKING_0
="#"
40184 if test "x$DEPS_TRACKING" = "x0" ; then
40185 COND_DEPS_TRACKING_0
=""
40188 COND_DEPS_TRACKING_1
="#"
40189 if test "x$DEPS_TRACKING" = "x1" ; then
40190 COND_DEPS_TRACKING_1
=""
40194 if test "x$GCC_PCH" = "x1" ; then
40199 if test "x$ICC_PCH" = "x1" ; then
40203 COND_MONOLITHIC_0
="#"
40204 if test "x$MONOLITHIC" = "x0" ; then
40205 COND_MONOLITHIC_0
=""
40208 COND_MONOLITHIC_0_SHARED_0
="#"
40209 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40210 COND_MONOLITHIC_0_SHARED_0
=""
40213 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
40214 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40215 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
40218 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40219 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40220 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40223 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40224 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40225 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40228 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
40229 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40230 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
40233 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
40234 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40235 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
40238 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
40239 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40240 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
40243 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
40244 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40245 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
40248 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
40249 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40250 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
40253 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
40254 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40255 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
40258 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
40259 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40260 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
40263 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40264 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40265 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40268 COND_MONOLITHIC_0_SHARED_1
="#"
40269 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40270 COND_MONOLITHIC_0_SHARED_1
=""
40273 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
40274 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40275 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
40278 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40279 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40280 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40283 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40284 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40285 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40288 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
40289 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40290 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
40293 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
40294 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40295 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
40298 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
40299 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40300 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
40303 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
40304 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40305 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
40308 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
40309 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40310 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
40313 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
40314 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40315 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
40318 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
40319 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40320 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
40323 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40324 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40325 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40328 COND_MONOLITHIC_0_USE_AUI_1
="#"
40329 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40330 COND_MONOLITHIC_0_USE_AUI_1
=""
40333 COND_MONOLITHIC_0_USE_GUI_1
="#"
40334 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40335 COND_MONOLITHIC_0_USE_GUI_1
=""
40338 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
40339 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40340 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
40343 COND_MONOLITHIC_0_USE_HTML_1
="#"
40344 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40345 COND_MONOLITHIC_0_USE_HTML_1
=""
40348 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
40349 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40350 COND_MONOLITHIC_0_USE_MEDIA_1
=""
40353 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
40354 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40355 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
40358 COND_MONOLITHIC_0_USE_QA_1
="#"
40359 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40360 COND_MONOLITHIC_0_USE_QA_1
=""
40363 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
40364 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40365 COND_MONOLITHIC_0_USE_RIBBON_1
=""
40368 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
40369 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40370 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
40373 COND_MONOLITHIC_0_USE_STC_1
="#"
40374 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40375 COND_MONOLITHIC_0_USE_STC_1
=""
40378 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
40379 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40380 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
40383 COND_MONOLITHIC_0_USE_XRC_1
="#"
40384 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40385 COND_MONOLITHIC_0_USE_XRC_1
=""
40388 COND_MONOLITHIC_1
="#"
40389 if test "x$MONOLITHIC" = "x1" ; then
40390 COND_MONOLITHIC_1
=""
40393 COND_MONOLITHIC_1_SHARED_0
="#"
40394 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40395 COND_MONOLITHIC_1_SHARED_0
=""
40398 COND_MONOLITHIC_1_SHARED_1
="#"
40399 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40400 COND_MONOLITHIC_1_SHARED_1
=""
40403 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40404 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40405 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40408 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40409 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40410 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40413 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
40414 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40415 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
40418 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40419 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40420 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40423 COND_PLATFORM_MACOSX_1
="#"
40424 if test "x$PLATFORM_MACOSX" = "x1" ; then
40425 COND_PLATFORM_MACOSX_1
=""
40428 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
40429 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40430 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
40433 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
40434 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40435 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
40438 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40439 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40440 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40443 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40444 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40445 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40448 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40449 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40450 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40453 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40454 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40455 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40458 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40459 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40460 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40463 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
40464 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40465 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
40468 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40469 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40470 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40473 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
40474 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40475 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
40478 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40479 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40480 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40483 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40484 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40485 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40488 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40489 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40490 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40493 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
40494 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40495 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
40498 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40499 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40500 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40503 COND_PLATFORM_MACOS_1
="#"
40504 if test "x$PLATFORM_MACOS" = "x1" ; then
40505 COND_PLATFORM_MACOS_1
=""
40508 COND_PLATFORM_MAC_0
="#"
40509 if test "x$PLATFORM_MAC" = "x0" ; then
40510 COND_PLATFORM_MAC_0
=""
40513 COND_PLATFORM_MAC_1
="#"
40514 if test "x$PLATFORM_MAC" = "x1" ; then
40515 COND_PLATFORM_MAC_1
=""
40518 COND_PLATFORM_MSDOS_0
="#"
40519 if test "x$PLATFORM_MSDOS" = "x0" ; then
40520 COND_PLATFORM_MSDOS_0
=""
40523 COND_PLATFORM_MSDOS_1
="#"
40524 if test "x$PLATFORM_MSDOS" = "x1" ; then
40525 COND_PLATFORM_MSDOS_1
=""
40528 COND_PLATFORM_OS2_1
="#"
40529 if test "x$PLATFORM_OS2" = "x1" ; then
40530 COND_PLATFORM_OS2_1
=""
40533 COND_PLATFORM_UNIX_0
="#"
40534 if test "x$PLATFORM_UNIX" = "x0" ; then
40535 COND_PLATFORM_UNIX_0
=""
40538 COND_PLATFORM_UNIX_1
="#"
40539 if test "x$PLATFORM_UNIX" = "x1" ; then
40540 COND_PLATFORM_UNIX_1
=""
40543 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40544 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40545 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40548 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40549 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40550 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40553 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40554 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40555 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40558 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40559 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40560 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40563 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40564 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40565 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40568 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40569 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40570 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40573 COND_PLATFORM_WIN32_0
="#"
40574 if test "x$PLATFORM_WIN32" = "x0" ; then
40575 COND_PLATFORM_WIN32_0
=""
40578 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40579 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40580 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40583 COND_PLATFORM_WIN32_1
="#"
40584 if test "x$PLATFORM_WIN32" = "x1" ; then
40585 COND_PLATFORM_WIN32_1
=""
40588 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40589 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40590 COND_PLATFORM_WIN32_1_SHARED_0
=""
40593 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40594 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40595 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40598 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40599 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40600 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40603 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40604 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40605 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40608 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40609 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40610 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40614 if test "x$SHARED" = "x0" ; then
40618 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40619 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40620 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40623 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40624 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40625 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40628 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40629 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40630 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40633 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40634 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40635 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40638 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40639 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40640 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40643 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40644 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40645 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40648 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40649 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40650 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40653 COND_SHARED_0_USE_STC_1
="#"
40654 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40655 COND_SHARED_0_USE_STC_1
=""
40658 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40659 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40660 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40663 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40664 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40665 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40668 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40669 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40670 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40674 if test "x$SHARED" = "x1" ; then
40678 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40679 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40680 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40684 if test "x$TOOLKIT" = "x" ; then
40688 COND_TOOLKIT_COCOA
="#"
40689 if test "x$TOOLKIT" = "xCOCOA" ; then
40690 COND_TOOLKIT_COCOA
=""
40693 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40694 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40695 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40698 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40699 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40700 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40703 COND_TOOLKIT_DFB
="#"
40704 if test "x$TOOLKIT" = "xDFB" ; then
40705 COND_TOOLKIT_DFB
=""
40708 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40709 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40710 COND_TOOLKIT_DFB_USE_GUI_1
=""
40713 COND_TOOLKIT_GTK
="#"
40714 if test "x$TOOLKIT" = "xGTK" ; then
40715 COND_TOOLKIT_GTK
=""
40718 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40719 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40720 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40723 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40724 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40725 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40728 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40729 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40730 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40734 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
="#"
40739 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
=""
40743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40744 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
="#"
40749 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
=""
40753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40754 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40755 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40758 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40759 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40760 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40763 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40764 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40765 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40768 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40769 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40770 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40773 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40774 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40775 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40778 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40779 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40780 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40783 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40784 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40785 COND_TOOLKIT_GTK_USE_GUI_1
=""
40788 COND_TOOLKIT_MAC
="#"
40789 if test "x$TOOLKIT" = "xMAC" ; then
40790 COND_TOOLKIT_MAC
=""
40793 COND_TOOLKIT_MOTIF
="#"
40794 if test "x$TOOLKIT" = "xMOTIF" ; then
40795 COND_TOOLKIT_MOTIF
=""
40798 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40799 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40800 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40803 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40804 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40805 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40808 COND_TOOLKIT_MSW
="#"
40809 if test "x$TOOLKIT" = "xMSW" ; then
40810 COND_TOOLKIT_MSW
=""
40813 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40814 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40815 COND_TOOLKIT_MSW_USE_GUI_1
=""
40818 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40819 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40820 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40823 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40824 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40825 COND_TOOLKIT_MSW_WXUNIV_0
=""
40828 COND_TOOLKIT_OSX_CARBON
="#"
40829 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40830 COND_TOOLKIT_OSX_CARBON
=""
40833 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40834 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40835 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40838 COND_TOOLKIT_OSX_COCOA
="#"
40839 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40840 COND_TOOLKIT_OSX_COCOA
=""
40843 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40844 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40845 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40848 COND_TOOLKIT_OSX_IPHONE
="#"
40849 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40850 COND_TOOLKIT_OSX_IPHONE
=""
40853 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40854 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40855 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40858 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40859 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40860 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40863 COND_TOOLKIT_PM
="#"
40864 if test "x$TOOLKIT" = "xPM" ; then
40868 COND_TOOLKIT_PM_USE_GUI_1
="#"
40869 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40870 COND_TOOLKIT_PM_USE_GUI_1
=""
40873 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40874 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40875 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40878 COND_TOOLKIT_WINCE
="#"
40879 if test "x$TOOLKIT" = "xWINCE" ; then
40880 COND_TOOLKIT_WINCE
=""
40883 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40884 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40885 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40888 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40889 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40890 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40893 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40894 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40895 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40898 COND_TOOLKIT_X11
="#"
40899 if test "x$TOOLKIT" = "xX11" ; then
40900 COND_TOOLKIT_X11
=""
40903 COND_TOOLKIT_X11_USE_GUI_1
="#"
40904 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40905 COND_TOOLKIT_X11_USE_GUI_1
=""
40909 if test "x$UNICODE" = "x1" ; then
40913 COND_USE_CAIRO_1
="#"
40914 if test "x$USE_CAIRO" = "x1" ; then
40915 COND_USE_CAIRO_1
=""
40918 COND_USE_EXCEPTIONS_0
="#"
40919 if test "x$USE_EXCEPTIONS" = "x0" ; then
40920 COND_USE_EXCEPTIONS_0
=""
40923 COND_USE_EXCEPTIONS_1
="#"
40924 if test "x$USE_EXCEPTIONS" = "x1" ; then
40925 COND_USE_EXCEPTIONS_1
=""
40929 if test "x$USE_GUI" = "x0" ; then
40934 if test "x$USE_GUI" = "x1" ; then
40938 COND_USE_GUI_1_USE_OPENGL_1
="#"
40939 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40940 COND_USE_GUI_1_USE_OPENGL_1
=""
40943 COND_USE_GUI_1_WXUNIV_0
="#"
40944 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40945 COND_USE_GUI_1_WXUNIV_0
=""
40948 COND_USE_GUI_1_WXUNIV_1
="#"
40949 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40950 COND_USE_GUI_1_WXUNIV_1
=""
40953 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40954 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40955 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40958 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40959 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40960 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40963 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40964 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40965 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40968 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40969 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40970 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40973 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40974 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40975 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40978 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40979 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40980 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40983 COND_USE_OPENGL_1
="#"
40984 if test "x$USE_OPENGL" = "x1" ; then
40985 COND_USE_OPENGL_1
=""
40989 if test "x$USE_PCH" = "x1" ; then
40993 COND_USE_PLUGINS_0
="#"
40994 if test "x$USE_PLUGINS" = "x0" ; then
40995 COND_USE_PLUGINS_0
=""
40998 COND_USE_RTTI_0
="#"
40999 if test "x$USE_RTTI" = "x0" ; then
41003 COND_USE_RTTI_1
="#"
41004 if test "x$USE_RTTI" = "x1" ; then
41008 COND_USE_SOTWOSYMLINKS_1
="#"
41009 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41010 COND_USE_SOTWOSYMLINKS_1
=""
41013 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
41014 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41015 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
41018 COND_USE_SOVERLINUX_1
="#"
41019 if test "x$USE_SOVERLINUX" = "x1" ; then
41020 COND_USE_SOVERLINUX_1
=""
41023 COND_USE_SOVERSION_0
="#"
41024 if test "x$USE_SOVERSION" = "x0" ; then
41025 COND_USE_SOVERSION_0
=""
41028 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
41029 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41030 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
41033 COND_USE_SOVERSOLARIS_1
="#"
41034 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41035 COND_USE_SOVERSOLARIS_1
=""
41039 if test "x$USE_STC" = "x1" ; then
41043 COND_USE_THREADS_0
="#"
41044 if test "x$USE_THREADS" = "x0" ; then
41045 COND_USE_THREADS_0
=""
41048 COND_USE_THREADS_1
="#"
41049 if test "x$USE_THREADS" = "x1" ; then
41050 COND_USE_THREADS_1
=""
41054 if test "x$USE_XRC" = "x1" ; then
41058 COND_WINDOWS_IMPLIB_1
="#"
41059 if test "x$WINDOWS_IMPLIB" = "x1" ; then
41060 COND_WINDOWS_IMPLIB_1
=""
41063 COND_WITH_PLUGIN_SDL_1
="#"
41064 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41065 COND_WITH_PLUGIN_SDL_1
=""
41069 if test "x$WXUNIV" = "x0" ; then
41074 if test "x$WXUNIV" = "x1" ; then
41078 COND_WXUSE_EXPAT_BUILTIN
="#"
41079 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41080 COND_WXUSE_EXPAT_BUILTIN
=""
41083 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41084 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41085 COND_WXUSE_LIBJPEG_BUILTIN
=""
41088 COND_WXUSE_LIBPNG_BUILTIN
="#"
41089 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41090 COND_WXUSE_LIBPNG_BUILTIN
=""
41093 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41094 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41095 COND_WXUSE_LIBTIFF_BUILTIN
=""
41098 COND_WXUSE_REGEX_BUILTIN
="#"
41099 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41100 COND_WXUSE_REGEX_BUILTIN
=""
41103 COND_WXUSE_ZLIB_BUILTIN
="#"
41104 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41105 COND_WXUSE_ZLIB_BUILTIN
=""
41108 COND_wxUSE_EXPAT_builtin
="#"
41109 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41110 COND_wxUSE_EXPAT_builtin
=""
41113 COND_wxUSE_LIBJPEG_builtin
="#"
41114 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41115 COND_wxUSE_LIBJPEG_builtin
=""
41118 COND_wxUSE_LIBPNG_builtin
="#"
41119 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41120 COND_wxUSE_LIBPNG_builtin
=""
41123 COND_wxUSE_LIBTIFF_builtin
="#"
41124 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41125 COND_wxUSE_LIBTIFF_builtin
=""
41128 COND_wxUSE_REGEX_builtin
="#"
41129 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41130 COND_wxUSE_REGEX_builtin
=""
41133 COND_wxUSE_ZLIB_builtin
="#"
41134 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41135 COND_wxUSE_ZLIB_builtin
=""
41140 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41141 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
41144 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41145 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
41152 ?
:* ) # Drive letter, considered as absolute.
41155 INSTALL
=`pwd`/${INSTALL} ;;
41158 if test "$wxUSE_GUI" = "yes"; then
41160 if test "$wxUSE_MSW" = 1 ; then
41161 if test "x$WINDRES" = "x"; then
41162 as_fn_error $?
"Required windres program not found" "$LINENO" 5
41168 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41169 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41170 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41172 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41174 # Extract the first word of "DeRez", so it can be a program name with args.
41175 set dummy DeRez
; ac_word
=$2
41176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41177 $as_echo_n "checking for $ac_word... " >&6; }
41178 if ${ac_cv_prog_DEREZ+:} false
; then :
41179 $as_echo_n "(cached) " >&6
41181 if test -n "$DEREZ"; then
41182 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
41184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41185 for as_dir
in $PATH
41188 test -z "$as_dir" && as_dir
=.
41189 for ac_exec_ext
in '' $ac_executable_extensions; do
41190 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41191 ac_cv_prog_DEREZ
="DeRez"
41192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41199 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
41202 DEREZ
=$ac_cv_prog_DEREZ
41203 if test -n "$DEREZ"; then
41204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41205 $as_echo "$DEREZ" >&6; }
41207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41208 $as_echo "no" >&6; }
41213 MACSETFILE
="\$(SETFILE)"
41215 if test "$wxUSE_OSX_CARBON" = 1; then
41216 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41218 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
41220 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41221 RESCOMP
="cat /dev/null \| $REZ"
41222 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41228 if test "$wxUSE_PM" = 1; then
41230 WXCONFIG_RESFLAGS
="-ep"
41232 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
41234 POSTLINK_COMMAND
="@true"
41241 if test $GCC_PCH = 1
41243 if test "$wx_cv_gcc_pch_bug" = yes; then
41244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41245 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41247 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41249 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41252 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41253 # the headers that benefit from precompilation are mostly C++ headers.
41254 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
41255 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41256 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41260 if test "$wxUSE_MAC" = 1 ; then
41261 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41262 if test "x$disable_macosx_deps" = "xyes"; then
41263 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
41270 if test "$wxUSE_SHARED" = "yes"; then
41272 *-pc-os2_emx | *-pc-os2-emx )
41273 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41274 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41275 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41276 cp -p ${srcdir}/src
/os
2/dllar.sh .
41280 if test "$wxUSE_OMF" = "yes"; then
41282 *-pc-os2_emx | *-pc-os2-emx )
41283 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
41284 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41285 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41290 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41295 if test "$GCC" = yes; then
41296 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
41297 LIBS
=`echo $LIBS | sed 's/-mt//g'`
41298 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41303 if test "x$SUNCXX" = xyes
; then
41304 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
41305 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
41306 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41311 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
41312 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41313 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
41314 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41316 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41378 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41380 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41381 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
41382 $as_echo_n "(cached) " >&6
41384 cat >conftest.
make <<\_ACEOF
41387 @
echo '@@@%%%=$(MAKE)=@@@%%%'
41389 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41390 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41391 *@@@
%%%=?
*=@@@
%%%*)
41392 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
41394 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
41396 rm -f conftest.
make
41398 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
41399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41400 $as_echo "yes" >&6; }
41403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41404 $as_echo "no" >&6; }
41405 SET_MAKE
="MAKE=${MAKE-make}"
41410 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41413 if test "$USE_WIN32" = 1; then
41414 ac_config_commands
="$ac_config_commands rcdefs.h"
41418 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41421 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41424 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
41427 if test "$wx_cv_version_script" = "yes"; then
41428 ac_config_files
="$ac_config_files version-script"
41431 ac_config_files
="$ac_config_files Makefile"
41434 ac_config_commands
="$ac_config_commands wx-config"
41438 if test "$wxWITH_SUBDIRS" != "no"; then
41439 if test "$wxUSE_GUI" = "yes"; then
41440 SUBDIRS
="samples demos utils"
41442 SUBDIRS
="samples utils"
41447 # Check whether --with-cppunit-prefix was given.
41448 if test "${with_cppunit_prefix+set}" = set; then :
41449 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
41451 cppunit_config_prefix
=""
41455 # Check whether --with-cppunit-exec-prefix was given.
41456 if test "${with_cppunit_exec_prefix+set}" = set; then :
41457 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
41459 cppunit_config_exec_prefix
=""
41463 if test x
$cppunit_config_exec_prefix != x
; then
41464 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41465 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41466 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41469 if test x
$cppunit_config_prefix != x
; then
41470 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41471 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41472 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41476 # Extract the first word of "cppunit-config", so it can be a program name with args.
41477 set dummy cppunit
-config; ac_word
=$2
41478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41479 $as_echo_n "checking for $ac_word... " >&6; }
41480 if ${ac_cv_path_CPPUNIT_CONFIG+:} false
; then :
41481 $as_echo_n "(cached) " >&6
41483 case $CPPUNIT_CONFIG in
41485 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41489 for as_dir
in $PATH
41492 test -z "$as_dir" && as_dir
=.
41493 for ac_exec_ext
in '' $ac_executable_extensions; do
41494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41495 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41503 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41507 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41508 if test -n "$CPPUNIT_CONFIG"; then
41509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41510 $as_echo "$CPPUNIT_CONFIG" >&6; }
41512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41513 $as_echo "no" >&6; }
41517 cppunit_version_min
=1.8.0
41519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41520 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41522 if test "$CPPUNIT_CONFIG" = "no" ; then
41523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41524 $as_echo "no" >&6; }
41527 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41528 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41529 cppunit_version
=`$CPPUNIT_CONFIG --version`
41531 cppunit_major_version
=`echo $cppunit_version | \
41532 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41533 cppunit_minor_version
=`echo $cppunit_version | \
41534 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41535 cppunit_micro_version
=`echo $cppunit_version | \
41536 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41538 cppunit_major_min
=`echo $cppunit_version_min | \
41539 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41540 cppunit_minor_min
=`echo $cppunit_version_min | \
41541 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41542 cppunit_micro_min
=`echo $cppunit_version_min | \
41543 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41545 cppunit_version_proper
=`expr \
41546 $cppunit_major_version \> $cppunit_major_min \| \
41547 $cppunit_major_version \= $cppunit_major_min \& \
41548 $cppunit_minor_version \> $cppunit_minor_min \| \
41549 $cppunit_major_version \= $cppunit_major_min \& \
41550 $cppunit_minor_version \= $cppunit_minor_min \& \
41551 $cppunit_micro_version \>= $cppunit_micro_min `
41553 if test "$cppunit_version_proper" = "1" ; then
41554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41555 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41558 $as_echo "no" >&6; }
41563 if test "x$no_cppunit" = x
; then
41564 SUBDIRS
="$SUBDIRS tests"
41575 for subdir
in $SUBDIRS; do
41576 if test -d ${srcdir}/${subdir} ; then
41577 if test "$wxUSE_GUI" = "yes"; then
41578 if test ${subdir} = "samples"; then
41579 makefiles
="samples/Makefile.in $makefiles"
41580 for sample
in $SAMPLES_SUBDIRS; do
41581 if test -d $srcdir/samples
/$sample; then
41582 makefiles
="samples/$sample/Makefile.in $makefiles"
41586 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41587 eval "disabled=\$$disabled_var"
41588 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41589 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41592 if test ${subdir} = "samples"; then
41593 makefiles
="samples/Makefile.in $makefiles"
41594 for sample
in `echo $SAMPLES_SUBDIRS`; do
41595 if test -d $srcdir/samples
/$sample; then
41596 makefiles
="samples/$sample/Makefile.in $makefiles"
41599 elif test ${subdir} = "utils"; then
41601 for util
in ifacecheck
; do
41602 if test -d $srcdir/utils
/$util ; then
41603 makefiles
="utils/$util/src/Makefile.in \
41608 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41612 for mkin
in $makefiles ; do
41613 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41614 ac_config_files
="$ac_config_files $mk"
41620 cat >confcache
<<\_ACEOF
41621 # This file is a shell script that caches the results of configure
41622 # tests run on this system so they can be shared between configure
41623 # scripts and configure runs, see configure's option --config-cache.
41624 # It is not useful on other systems. If it contains results you don't
41625 # want to keep, you may remove or edit it.
41627 # config.status only pays attention to the cache file if you give it
41628 # the --recheck option to rerun configure.
41630 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41631 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41632 # following values.
41636 # The following way of writing the cache mishandles newlines in values,
41637 # but we know of no workaround that is simple, portable, and efficient.
41638 # So, we kill variables containing newlines.
41639 # Ultrix sh set writes to stderr and can't be redirected directly,
41640 # and sets the high bit in the cache file unless we assign to the vars.
41642 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41643 eval ac_val
=\$
$ac_var
41647 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41648 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41651 _
| IFS
| as_nl
) ;; #(
41652 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41653 *) { eval $ac_var=; unset $ac_var;} ;;
41659 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41660 *${as_nl}ac_space
=\
*)
41661 # `set' does not quote correctly, so add quotes: double-quote
41662 # substitution turns \\\\ into \\, and sed turns \\ into \.
41665 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41668 # `set' quotes correctly as required by POSIX, so do not add quotes.
41669 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41678 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41680 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41682 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41683 if test -w "$cache_file"; then
41684 if test "x$cache_file" != "x/dev/null"; then
41685 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41686 $as_echo "$as_me: updating cache $cache_file" >&6;}
41687 if test ! -f "$cache_file" || test -h "$cache_file"; then
41688 cat confcache
>"$cache_file"
41690 case $cache_file in #(
41692 mv -f confcache
"$cache_file"$$
&&
41693 mv -f "$cache_file"$$
"$cache_file" ;; #(
41695 mv -f confcache
"$cache_file" ;;
41700 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41701 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41706 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41707 # Let make expand exec_prefix.
41708 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41710 DEFS
=-DHAVE_CONFIG_H
41715 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41716 # 1. Remove the extension, and $U if already installed.
41717 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41718 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41719 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41720 # will be set to the directory where LIBOBJS objects are built.
41721 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41722 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41724 LIBOBJS
=$ac_libobjs
41726 LTLIBOBJS
=$ac_ltlibobjs
41730 : "${CONFIG_STATUS=./config.status}"
41732 ac_clean_files_save
=$ac_clean_files
41733 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41734 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41735 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41737 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41739 # Generated by $as_me.
41740 # Run this file to recreate the current configuration.
41741 # Compiler output produced by configure, useful for debugging
41742 # configure, is in config.log if it exists.
41745 ac_cs_recheck=false
41748 SHELL=\${CONFIG_SHELL-$SHELL}
41751 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41752 ## -------------------- ##
41753 ## M4sh Initialization. ##
41754 ## -------------------- ##
41756 # Be more Bourne compatible
41757 DUALCASE
=1; export DUALCASE
# for MKS sh
41758 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41761 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41762 # is contrary to our usage. Disable this feature.
41763 alias -g '${1+"$@"}'='"$@"'
41764 setopt NO_GLOB_SUBST
41766 case `(set -o) 2>/dev/null` in #(
41778 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41779 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41780 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41781 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41782 # Prefer a ksh shell builtin over an external printf program on Solaris,
41783 # but without wasting forks for bash or zsh.
41784 if test -z "$BASH_VERSION$ZSH_VERSION" \
41785 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41786 as_echo='print
-r --'
41787 as_echo_n='print
-rn --'
41788 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41789 as_echo='printf %s
\n'
41790 as_echo_n='printf %s
'
41792 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41793 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41794 as_echo_n='/usr
/ucb
/echo -n'
41796 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41797 as_echo_n_body='eval
41801 expr "X$arg" : "X\\(.*\\)$as_nl";
41802 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41804 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41806 export as_echo_n_body
41807 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41809 export as_echo_body
41810 as_echo='sh
-c $as_echo_body as_echo
'
41813 # The user is always right.
41814 if test "${PATH_SEPARATOR+set}" != set; then
41816 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41817 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41824 # We need space, tab and new line, in precisely that order. Quoting is
41825 # there to prevent editors from complaining about space-tab.
41826 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41827 # splitting by setting IFS to empty value.)
41830 # Find who we are. Look in the path if we contain no directory separator.
41833 *[\\/]* ) as_myself=$0 ;;
41834 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41835 for as_dir in $PATH
41838 test -z "$as_dir" && as_dir=.
41839 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41845 # We did not find ourselves, most probably we were run as `sh COMMAND'
41846 # in which case we are not to be found in the path.
41847 if test "x$as_myself" = x
; then
41850 if test ! -f "$as_myself"; then
41851 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41855 # Unset variables that we do not need and which cause bugs (e.g. in
41856 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41857 # suppresses any "Segmentation fault" message there. '((' could
41858 # trigger a bug in pdksh 5.2.14.
41859 for as_var
in BASH_ENV ENV MAIL MAILPATH
41860 do eval test x\
${$as_var+set} = xset \
41861 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41874 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41877 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41878 # ----------------------------------------
41879 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41880 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41881 # script with STATUS, using 1 if that was 0.
41884 as_status
=$1; test $as_status -eq 0 && as_status
=1
41886 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41887 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41889 $as_echo "$as_me: error: $2" >&2
41890 as_fn_exit
$as_status
41894 # as_fn_set_status STATUS
41895 # -----------------------
41896 # Set $? to STATUS, without forking.
41897 as_fn_set_status
()
41900 } # as_fn_set_status
41902 # as_fn_exit STATUS
41903 # -----------------
41904 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41908 as_fn_set_status
$1
41914 # Portably unset VAR.
41917 { eval $1=; unset $1;}
41919 as_unset
=as_fn_unset
41920 # as_fn_append VAR VALUE
41921 # ----------------------
41922 # Append the text in VALUE to the end of the definition contained in VAR. Take
41923 # advantage of any shell optimizations that allow amortized linear growth over
41924 # repeated appends, instead of the typical quadratic growth present in naive
41926 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41927 eval 'as_fn_append ()
41938 # as_fn_arith ARG...
41939 # ------------------
41940 # Perform arithmetic evaluation on the ARGs, and store the result in the
41941 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41942 # must be portable across $(()) and expr.
41943 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41944 eval 'as_fn_arith ()
41951 as_val
=`expr "$@" || test $? -eq 1`
41956 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41957 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
41963 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41964 as_basename
=basename
41969 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
41975 as_me
=`$as_basename -- "$0" ||
41976 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41977 X"$0" : 'X\(//\)$' \| \
41978 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41980 sed '/^.*\/\([^/][^/]*\)\/*$/{
41994 # Avoid depending upon Character Ranges.
41995 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41996 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41997 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41998 as_cr_digits
='0123456789'
41999 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42001 ECHO_C
= ECHO_N
= ECHO_T
=
42002 case `echo -n x` in #(((((
42004 case `echo 'xy\c'` in
42005 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
42007 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
42014 rm -f conf$$ conf$$.exe conf$$.
file
42015 if test -d conf$$.dir
; then
42016 rm -f conf$$.dir
/conf$$.
file
42019 mkdir conf$$.dir
2>/dev
/null
42021 if (echo >conf$$.
file) 2>/dev
/null
; then
42022 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42024 # ... but there are two gotchas:
42025 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42026 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42027 # In both cases, we have to default to `cp -pR'.
42028 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
42030 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42038 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
42039 rmdir conf$$.dir
2>/dev
/null
42044 # Create "$as_dir" as a directory, including parents if necessary.
42049 -*) as_dir
=.
/$as_dir;;
42051 test -d "$as_dir" || eval $as_mkdir_p || {
42055 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42056 *) as_qdir
=$as_dir;;
42058 as_dirs
="'$as_qdir' $as_dirs"
42059 as_dir
=`$as_dirname -- "$as_dir" ||
42060 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42061 X"$as_dir" : 'X\(//\)[^/]' \| \
42062 X"$as_dir" : 'X\(//\)$' \| \
42063 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42064 $as_echo X"$as_dir" |
42065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42069 /^X\(\/\/\)[^/].*/{
42082 test -d "$as_dir" && break
42084 test -z "$as_dirs" || eval "mkdir $as_dirs"
42085 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
42089 if mkdir -p .
2>/dev
/null
; then
42090 as_mkdir_p
='mkdir -p "$as_dir"'
42092 test -d .
/-p && rmdir .
/-p
42097 # as_fn_executable_p FILE
42098 # -----------------------
42099 # Test if FILE is an executable regular file.
42100 as_fn_executable_p
()
42102 test -f "$1" && test -x "$1"
42103 } # as_fn_executable_p
42104 as_test_x
='test -x'
42105 as_executable_p
=as_fn_executable_p
42107 # Sed expression to map a string onto a valid CPP name.
42108 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42110 # Sed expression to map a string onto a valid variable name.
42111 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42115 ## ----------------------------------- ##
42116 ## Main body of $CONFIG_STATUS script. ##
42117 ## ----------------------------------- ##
42119 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
42121 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42122 # Save the log message, to keep $0 and so on meaningful, and to
42123 # report actual input values of CONFIG_FILES etc. instead of their
42124 # values after options handling.
42126 This file was extended by wxWidgets $as_me 2.9.5, which was
42127 generated by GNU Autoconf 2.69. Invocation command line was
42129 CONFIG_FILES = $CONFIG_FILES
42130 CONFIG_HEADERS = $CONFIG_HEADERS
42131 CONFIG_LINKS = $CONFIG_LINKS
42132 CONFIG_COMMANDS = $CONFIG_COMMANDS
42135 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42140 case $ac_config_files in *"
42141 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
42144 case $ac_config_headers in *"
42145 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
42149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42150 # Files that config.status was made for.
42151 config_files="$ac_config_files"
42152 config_headers="$ac_config_headers"
42153 config_commands="$ac_config_commands"
42157 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42159 \`$as_me' instantiates files and other configuration actions
42160 from templates according to the current configuration. Unless the files
42161 and actions are specified as TAGs, all are instantiated by default.
42163 Usage: $0 [OPTION]... [TAG]...
42165 -h, --help print this help, then exit
42166 -V, --version print version number and configuration settings, then exit
42167 --config print configuration, then exit
42168 -q, --quiet, --silent
42169 do not print progress messages
42170 -d, --debug don't remove temporary files
42171 --recheck update $as_me by reconfiguring in the same conditions
42172 --file=FILE[:TEMPLATE]
42173 instantiate the configuration file FILE
42174 --header=FILE[:TEMPLATE]
42175 instantiate the configuration header FILE
42177 Configuration files:
42180 Configuration headers:
42183 Configuration commands:
42186 Report bugs to <wx-dev@lists.wxwidgets.org>."
42189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42190 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42192 wxWidgets config.status 2.9.5
42193 configured by $0, generated by GNU Autoconf 2.69,
42194 with options \\"\$ac_cs_config\\"
42196 Copyright (C) 2012 Free Software Foundation, Inc.
42197 This config.status script is free software; the Free Software Foundation
42198 gives unlimited permission to copy, distribute and modify it."
42203 test -n "\$AWK" || AWK=awk
42206 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42207 # The default lists apply if the user does not specify any file.
42213 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42214 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
42218 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42230 # Handling of the options.
42231 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42233 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42234 $as_echo "$ac_cs_version"; exit ;;
42235 --config | --confi | --conf | --con | --co | --c )
42236 $as_echo "$ac_cs_config"; exit ;;
42237 --debug | --debu | --deb | --de | --d | -d )
42239 --file | --fil | --fi | --f )
42242 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42243 '') as_fn_error $?
"missing file argument" ;;
42245 as_fn_append CONFIG_FILES
" '$ac_optarg'"
42246 ac_need_defaults
=false
;;
42247 --header | --heade | --head | --hea )
42250 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42252 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
42253 ac_need_defaults
=false
;;
42255 # Conflict between --help and --header
42256 as_fn_error $?
"ambiguous option: \`$1'
42257 Try \`$0 --help' for more information.";;
42258 --help | --hel | -h )
42259 $as_echo "$ac_cs_usage"; exit ;;
42260 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42261 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42264 # This is an error.
42265 -*) as_fn_error $?
"unrecognized option: \`$1'
42266 Try \`$0 --help' for more information." ;;
42268 *) as_fn_append ac_config_targets
" $1"
42269 ac_need_defaults
=false
;;
42275 ac_configure_extra_args
=
42277 if $ac_cs_silent; then
42279 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42284 if \$ac_cs_recheck; then
42285 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42287 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42288 CONFIG_SHELL='$SHELL'
42289 export CONFIG_SHELL
42294 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42298 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42299 ## Running $as_me. ##
42305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42311 infile="$srcdir/include/wx/msw/genrcdefs.h"
42312 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42315 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42316 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42317 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42323 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42325 # Handling of arguments.
42326 for ac_config_target
in $ac_config_targets
42328 case $ac_config_target in
42329 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42330 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
42331 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42332 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42333 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42334 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42335 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42336 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42337 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42339 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42344 # If the user did not use the arguments to specify the items to instantiate,
42345 # then the envvar interface is used. Set only those that are not.
42346 # We use the long form for the default assignment because of an extremely
42347 # bizarre bug on SunOS 4.1.3.
42348 if $ac_need_defaults; then
42349 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42350 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42351 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42354 # Have a temporary directory for convenience. Make it in the build tree
42355 # simply because there is no reason against having it here, and in addition,
42356 # creating and moving files from /tmp can sometimes cause problems.
42357 # Hook for its removal unless debugging.
42358 # Note that there is a small window in which the directory will not be cleaned:
42359 # after its creation but before its name has been assigned to `$tmp'.
42363 trap 'exit_status=$?
42364 : "${ac_tmp:=$tmp}"
42365 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42367 trap 'as_fn_exit 1' 1 2 13 15
42369 # Create a (secure) tmp directory for tmp files.
42372 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42376 tmp
=.
/conf$$
-$RANDOM
42377 (umask 077 && mkdir "$tmp")
42378 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
42381 # Set up the scripts for CONFIG_FILES section.
42382 # No need to generate them if there are no CONFIG_FILES.
42383 # This happens for instance with `./config.status config.h'.
42384 if test -n "$CONFIG_FILES"; then
42387 ac_cr
=`echo X | tr X '\015'`
42388 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42389 # But we know of no other shell where ac_cr would be empty at this
42390 # point, so we can use a bashism as a fallback.
42391 if test "x$ac_cr" = x
; then
42392 eval ac_cr
=\$
\'\\r
\'
42394 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42395 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42398 ac_cs_awk_cr
=$ac_cr
42401 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42406 echo "cat >conf$$subs.awk <<_ACEOF" &&
42407 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42409 } >conf$$subs.sh ||
42410 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42411 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42413 for ac_last_try in false false false false false :; do
42414 . ./conf$$subs.sh ||
42415 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42417 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
42418 if test $ac_delim_n = $ac_delim_num; then
42420 elif $ac_last_try; then
42421 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42423 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42426 rm -f conf$$subs.sh
42428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42429 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
42433 s/^/S["/; s
/!.
*/"]=/
42443 s/\(.\{148\}\)..*/\1/
42445 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
42450 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42457 s/\(.\{148\}\)..*/\1/
42459 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
42463 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42468 ' <conf$$subs.awk | sed '
42473 ' >>$CONFIG_STATUS || ac_write_fail=1
42474 rm -f conf$$subs.awk
42475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42477 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
42478 for (key in S) S_is_set[key] = 1
42484 nfields = split(line, field, "@
")
42486 len = length(field[1])
42487 for (i = 2; i < nfields; i++) {
42489 keylen = length(key)
42490 if (S_is_set[key]) {
42492 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42493 len += length(value) + length(field[++i])
42504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42505 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42506 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
42509 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
42510 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
42513 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42514 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
42515 # trailing colons and then remove the whole line if VPATH becomes empty
42516 # (actually we leave an empty line to preserve line numbers).
42517 if test "x
$srcdir" = x.; then
42518 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42537 fi # test -n "$CONFIG_FILES"
42539 # Set up the scripts for CONFIG_HEADERS section.
42540 # No need to generate them if there are no CONFIG_HEADERS.
42541 # This happens for instance with `./config.status Makefile'.
42542 if test -n "$CONFIG_HEADERS"; then
42543 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
42547 # Transform confdefs.h into an awk script `defines.awk', embedded as
42548 # here-document in config.status, that substitutes the proper values into
42549 # config.h.in to produce config.h.
42551 # Create a delimiter string that does not exist in confdefs.h, to ease
42552 # handling of long lines.
42554 for ac_last_try in false false :; do
42555 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
42556 if test -z "$ac_tt"; then
42558 elif $ac_last_try; then
42559 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
42561 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42565 # For the awk script, D is an array of macro values keyed by name,
42566 # likewise P contains macro parameters if any. Preserve backslash
42567 # newline sequences.
42569 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42571 s/.\{148\}/&'"$ac_delim"'/g
42574 s/^[ ]*#[ ]*define[ ][ ]*/ /
42581 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
42583 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
42587 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42588 D["\
1"]=" \
3\\\\\\n
"\\/p
42590 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42595 s/.\{148\}/&'"$ac_delim"'/g
42600 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42603 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42605 ' <confdefs.h | sed '
42606 s/'"$ac_delim"'/"\\\
42607 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42610 for (key in D) D_is_set[key] = 1
42613 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42615 split(line, arg, " ")
42616 if (arg[1] == "#") {
42620 defundef
= substr
(arg
[1], 2)
42623 split(mac1
, mac2
, "(") #)
42625 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42626 if (D_is_set
[macro
]) {
42627 # Preserve the white space surrounding the "#".
42628 print prefix
"define", macro P
[macro
] D
[macro
]
42631 # Replace #undef with comments. This is necessary, for example,
42632 # in the case of _POSIX_SOURCE, which is predefined and required
42633 # on some systems where configure will not decide to define it.
42634 if (defundef
== "undef") {
42635 print
"/*", prefix defundef
, macro
, "*/"
42643 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42644 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42645 fi # test -n "$CONFIG_HEADERS"
42648 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42653 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42655 case $ac_mode$ac_tag in
42657 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
42658 :[FH
]-) ac_tag
=-:-;;
42659 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42676 -) ac_f
="$ac_tmp/stdin";;
42677 *) # Look for the file first in the build tree, then in the source tree
42678 # (if the path is not absolute). The absolute path cannot be DOS-style,
42679 # because $ac_f cannot contain `:'.
42683 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42685 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42687 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42688 as_fn_append ac_file_inputs
" '$ac_f'"
42691 # Let's still pretend it is `configure' which instantiates (i.e., don't
42692 # use $as_me), people would be surprised to read:
42693 # /* config.h. Generated by config.status. */
42694 configure_input
='Generated from '`
42695 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42697 if test x
"$ac_file" != x
-; then
42698 configure_input
="$ac_file. $configure_input"
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42700 $as_echo "$as_me: creating $ac_file" >&6;}
42702 # Neutralize special characters interpreted by sed in replacement strings.
42703 case $configure_input in #(
42704 *\
&* | *\
|* | *\\* )
42705 ac_sed_conf_input
=`$as_echo "$configure_input" |
42706 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42707 *) ac_sed_conf_input
=$configure_input;;
42711 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42712 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42717 ac_dir
=`$as_dirname -- "$ac_file" ||
42718 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42719 X"$ac_file" : 'X\(//\)[^/]' \| \
42720 X"$ac_file" : 'X\(//\)$' \| \
42721 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42722 $as_echo X"$ac_file" |
42723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42727 /^X\(\/\/\)[^/].*/{
42740 as_dir
="$ac_dir"; as_fn_mkdir_p
42744 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42746 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42747 # A ".." for each directory in $ac_dir_suffix.
42748 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42749 case $ac_top_builddir_sub in
42750 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42751 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42754 ac_abs_top_builddir
=$ac_pwd
42755 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42756 # for backward compatibility:
42757 ac_top_builddir
=$ac_top_build_prefix
42760 .
) # We are building in place.
42762 ac_top_srcdir
=$ac_top_builddir_sub
42763 ac_abs_top_srcdir
=$ac_pwd ;;
42764 [\\/]* | ?
:[\\/]* ) # Absolute name.
42765 ac_srcdir
=$srcdir$ac_dir_suffix;
42766 ac_top_srcdir
=$srcdir
42767 ac_abs_top_srcdir
=$srcdir ;;
42768 *) # Relative name.
42769 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42770 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42771 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42773 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42783 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42784 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42788 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42789 # If the template does not know about datarootdir, expand it.
42790 # FIXME: This hack should be removed a few years after 2.60.
42791 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42802 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42803 *datarootdir
*) ac_datarootdir_seen
=yes;;
42804 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42806 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42809 ac_datarootdir_hack='
42810 s&@datadir@&$datadir&g
42811 s&@docdir@&$docdir&g
42812 s&@infodir@&$infodir&g
42813 s&@localedir@&$localedir&g
42814 s&@mandir@&$mandir&g
42815 s&\\\${datarootdir}&$datarootdir&g' ;;
42819 # Neutralize VPATH when `$srcdir' = `.'.
42820 # Shell code in configure.ac might set extrasub.
42821 # FIXME: do we really want to maintain this feature?
42822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42823 ac_sed_extra="$ac_vpsub
42826 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42828 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42829 s
|@configure_input@
|$ac_sed_conf_input|;t t
42830 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42831 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42832 s
&@srcdir@
&$ac_srcdir&;t t
42833 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42834 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42835 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42836 s
&@builddir@
&$ac_builddir&;t t
42837 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42838 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42839 s
&@INSTALL@
&$ac_INSTALL&;t t
42840 $ac_datarootdir_hack
42842 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
42843 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42845 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42846 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
42847 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42848 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
42849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42850 which seems to be undefined. Please make sure it is defined" >&5
42851 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42852 which seems to be undefined. Please make sure it is defined" >&2;}
42854 rm -f "$ac_tmp/stdin"
42856 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42857 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42859 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42865 if test x"$ac_file" != x-; then
42867 $as_echo "/* $configure_input */" \
42868 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42869 } >"$ac_tmp/config.h" \
42870 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42871 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42872 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42873 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42876 mv "$ac_tmp/config.h" "$ac_file" \
42877 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42880 $as_echo "/* $configure_input */" \
42881 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42882 || as_fn_error $? "could not create -" "$LINENO" 5
42886 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42887 $as_echo "$as_me: executing $ac_file commands" >&6;}
42892 case $ac_file$ac_mode in
42894 mkdir -p $outdir &&
42895 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42897 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42898 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42899 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42900 "wx-config":C
) rm -f wx
-config
42901 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42910 ac_clean_files
=$ac_clean_files_save
42912 test $ac_write_fail = 0 ||
42913 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42916 # configure is writing to config.log, and then calls config.status.
42917 # config.status does its own redirection, appending to config.log.
42918 # Unfortunately, on DOS this fails, as config.log is still kept open
42919 # by configure, so config.status won't be able to write to it; its
42920 # output is simply discarded. So we exec the FD to /dev/null,
42921 # effectively closing config.log, so it can be properly (re)opened and
42922 # appended to by config.status. When coming back to configure, we
42923 # need to make the FD available again.
42924 if test "$no_create" != yes; then
42926 ac_config_status_args
=
42927 test "$silent" = yes &&
42928 ac_config_status_args
="$ac_config_status_args --quiet"
42930 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42932 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42933 # would make configure fail if this is the last instruction.
42934 $ac_cs_success || as_fn_exit
1
42938 # CONFIG_SUBDIRS section.
42940 if test "$no_recursion" != yes; then
42942 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42943 # so they do not pile up.
42944 ac_sub_configure_args
=
42946 eval "set x $ac_configure_args"
42950 if test -n "$ac_prev"; then
42955 -cache-file | --cache-file | --cache-fil | --cache-fi \
42956 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42957 ac_prev
=cache_file
;;
42958 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42959 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42962 --config-cache | -C)
42964 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42966 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42968 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42970 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42972 --disable-option-checking)
42976 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42978 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
42982 # Always prepend --prefix to ensure using the same prefix
42983 # in subdir configurations.
42984 ac_arg
="--prefix=$prefix"
42986 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42988 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
42991 if test "$silent" = yes; then
42992 ac_sub_configure_args
="--silent $ac_sub_configure_args"
42995 # Always prepend --disable-option-checking to silence warnings, since
42996 # different subdirs can have different --enable and --with options.
42997 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
43000 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43002 # Do not complain, so a configure script can configure whichever
43003 # parts of a large source tree are present.
43004 test -d "$srcdir/$ac_dir" || continue
43006 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43007 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43008 $as_echo "$ac_msg" >&6
43009 as_dir
="$ac_dir"; as_fn_mkdir_p
43013 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
43015 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43016 # A ".." for each directory in $ac_dir_suffix.
43017 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43018 case $ac_top_builddir_sub in
43019 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
43020 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
43023 ac_abs_top_builddir
=$ac_pwd
43024 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
43025 # for backward compatibility:
43026 ac_top_builddir
=$ac_top_build_prefix
43029 .
) # We are building in place.
43031 ac_top_srcdir
=$ac_top_builddir_sub
43032 ac_abs_top_srcdir
=$ac_pwd ;;
43033 [\\/]* | ?
:[\\/]* ) # Absolute name.
43034 ac_srcdir
=$srcdir$ac_dir_suffix;
43035 ac_top_srcdir
=$srcdir
43036 ac_abs_top_srcdir
=$srcdir ;;
43037 *) # Relative name.
43038 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
43039 ac_top_srcdir
=$ac_top_build_prefix$srcdir
43040 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
43042 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
43047 # Check for guested configure; otherwise get Cygnus style configure.
43048 if test -f "$ac_srcdir/configure.gnu"; then
43049 ac_sub_configure
=$ac_srcdir/configure.gnu
43050 elif test -f "$ac_srcdir/configure"; then
43051 ac_sub_configure
=$ac_srcdir/configure
43052 elif test -f "$ac_srcdir/configure.in"; then
43053 # This should be Cygnus configure.
43054 ac_sub_configure
=$ac_aux_dir/configure
43056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43057 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43061 # The recursion is here.
43062 if test -n "$ac_sub_configure"; then
43063 # Make the cache file name correct relative to the subdirectory.
43064 case $cache_file in
43065 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43066 *) # Relative name.
43067 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
43070 { $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
43071 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43072 # The eval makes quoting arguments work.
43073 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43074 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43075 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43081 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
43082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43083 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43088 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43090 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
43091 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43092 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43093 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
43094 if test "$wxUSE_UNICODE" = "yes"; then
43095 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43096 echo " (using UTF-8)"
43098 echo " (using wchar_t)"
43104 echo " What level of wxWidgets compatibility should be enabled?"
43105 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
43106 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
43108 echo " Which libraries should wxWidgets use?"
43109 echo " STL ${wxUSE_STL}"
43110 echo " jpeg ${wxUSE_LIBJPEG-none}"
43111 echo " png ${wxUSE_LIBPNG-none}"
43112 echo " regex ${wxUSE_REGEX}"
43113 echo " tiff ${wxUSE_LIBTIFF-none}"
43114 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43115 echo " xpm ${wxUSE_LIBXPM-none}"
43117 echo " zlib ${wxUSE_ZLIB}"
43118 echo " expat ${wxUSE_EXPAT}"
43119 echo " libmspack ${wxUSE_LIBMSPACK}"
43120 echo " sdl ${wxUSE_LIBSDL}"