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_0
750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
755 COND_TOOLKIT_DFB_USE_GUI_1
757 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
758 COND_TOOLKIT_COCOA_USE_GUI_1
761 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
763 COND_SHARED_0_wxUSE_ZLIB_builtin
764 COND_SHARED_0_wxUSE_REGEX_builtin
765 COND_SHARED_0_wxUSE_EXPAT_builtin
766 COND_SHARED_0_USE_STC_1
767 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
768 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
769 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
770 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
771 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
772 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
773 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
775 COND_PLATFORM_WIN32_1_SHARED_0
776 COND_PLATFORM_WIN32_1
777 COND_PLATFORM_WIN32_0
778 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
779 COND_PLATFORM_UNIX_1_USE_GUI_1
780 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
781 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
782 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
783 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
787 COND_PLATFORM_MSDOS_1
788 COND_PLATFORM_MSDOS_0
791 COND_PLATFORM_MACOS_1
792 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
793 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
794 COND_PLATFORM_MACOSX_1_USE_GUI_1
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
796 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
798 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
800 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
802 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
803 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
804 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
805 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
806 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
807 COND_PLATFORM_MACOSX_1
808 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
809 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
810 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
811 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
812 COND_MONOLITHIC_1_SHARED_1
813 COND_MONOLITHIC_1_SHARED_0
815 COND_MONOLITHIC_0_USE_XRC_1
816 COND_MONOLITHIC_0_USE_WEBVIEW_1
817 COND_MONOLITHIC_0_USE_STC_1
818 COND_MONOLITHIC_0_USE_RICHTEXT_1
819 COND_MONOLITHIC_0_USE_RIBBON_1
820 COND_MONOLITHIC_0_USE_QA_1
821 COND_MONOLITHIC_0_USE_PROPGRID_1
822 COND_MONOLITHIC_0_USE_MEDIA_1
823 COND_MONOLITHIC_0_USE_HTML_1
824 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
825 COND_MONOLITHIC_0_USE_GUI_1
826 COND_MONOLITHIC_0_USE_AUI_1
827 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
828 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
829 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
830 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
831 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
841 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
842 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
843 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
850 COND_MONOLITHIC_0_SHARED_0
860 COND_BUILD_release_UNICODE_1
861 COND_BUILD_release_UNICODE_0
862 COND_BUILD_release_DEBUG_INFO_default
864 COND_BUILD_debug_UNICODE_1
865 COND_BUILD_debug_UNICODE_0
866 COND_BUILD_debug_DEBUG_INFO_default
867 COND_BUILD_debug_DEBUG_FLAG_default
869 COND_BUILD_RELEASE_UNICODE_1
870 COND_BUILD_RELEASE_UNICODE_0
871 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
873 COND_BUILD_DEBUG_UNICODE_1
874 COND_BUILD_DEBUG_UNICODE_0
875 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
876 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
880 ICC_PCH_CREATE_SWITCH
988 LIBGNOMEPRINTUI_CFLAGS
1079 program_transform_name
1092 enable_option_checking
1098 enable_official_build
1140 with_macosx_version_min
1149 enable_std_containers
1150 enable_std_iostreams
1152 enable_std_string_conv_in_wxstring
1157 enable_extended_rtti
1162 enable_no_exceptions
1165 enable_vararg_macros
1166 enable_universal_binary
1171 enable_objc_uniquifying
1200 enable_dynamicloader
1216 enable_printfposparam
1231 enable_protocol_http
1233 enable_protocol_file
1284 enable_commandlinkbutton
1311 enable_rearrangectrl
1360 enable_accessibility
1363 enable_webviewwebkit
1383 with_gtk_exec_prefix
1385 with_libiconv_prefix
1387 with_sdl_exec_prefix
1389 enable_dependency_tracking
1390 enable_precomp_headers
1392 with_cppunit_exec_prefix
1394 ac_precious_vars
='build_alias
1431 LIBGNOMEPRINTUI_CFLAGS
1432 LIBGNOMEPRINTUI_LIBS
1447 ac_subdirs_all
='src/tiff
1450 # Initialize some variables set by options.
1452 ac_init_version
=false
1453 ac_unrecognized_opts
=
1454 ac_unrecognized_sep
=
1455 # The variables have the same names as the options, with
1456 # dashes changed to underlines.
1457 cache_file
=/dev
/null
1464 program_transform_name
=s
,x
,x
,
1472 # Installation directory options.
1473 # These are left unexpanded so users can "make install exec_prefix=/foo"
1474 # and all the variables that are supposed to be based on exec_prefix
1475 # by default will actually change.
1476 # Use braces instead of parens because sh, perl, etc. also accept them.
1477 # (The list follows the same order as the GNU Coding Standards.)
1478 bindir
='${exec_prefix}/bin'
1479 sbindir
='${exec_prefix}/sbin'
1480 libexecdir
='${exec_prefix}/libexec'
1481 datarootdir
='${prefix}/share'
1482 datadir
='${datarootdir}'
1483 sysconfdir
='${prefix}/etc'
1484 sharedstatedir
='${prefix}/com'
1485 localstatedir
='${prefix}/var'
1486 includedir
='${prefix}/include'
1487 oldincludedir
='/usr/include'
1488 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1489 infodir
='${datarootdir}/info'
1494 libdir
='${exec_prefix}/lib'
1495 localedir
='${datarootdir}/locale'
1496 mandir
='${datarootdir}/man'
1502 # If the previous option needs an argument, assign it.
1503 if test -n "$ac_prev"; then
1504 eval $ac_prev=\
$ac_option
1510 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1515 # Accept the important Cygnus configure options, so we can diagnose typos.
1517 case $ac_dashdash$ac_option in
1521 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1523 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1524 bindir
=$ac_optarg ;;
1526 -build | --build | --buil | --bui | --bu)
1527 ac_prev
=build_alias
;;
1528 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1529 build_alias
=$ac_optarg ;;
1531 -cache-file | --cache-file | --cache-fil | --cache-fi \
1532 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1533 ac_prev
=cache_file
;;
1534 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1535 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1536 cache_file
=$ac_optarg ;;
1538 --config-cache | -C)
1539 cache_file
=config.cache
;;
1541 -datadir | --datadir | --datadi | --datad)
1543 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1544 datadir
=$ac_optarg ;;
1546 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1547 | --dataroo | --dataro | --datar)
1548 ac_prev
=datarootdir
;;
1549 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1550 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1551 datarootdir
=$ac_optarg ;;
1553 -disable-* | --disable-*)
1554 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1555 # Reject names that are not valid shell variable names.
1556 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1557 as_fn_error $?
"invalid feature name: $ac_useropt"
1558 ac_useropt_orig
=$ac_useropt
1559 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1560 case $ac_user_opts in
1562 "enable_
$ac_useropt"
1564 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1565 ac_unrecognized_sep
=', ';;
1567 eval enable_
$ac_useropt=no
;;
1569 -docdir | --docdir | --docdi | --doc | --do)
1571 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1572 docdir
=$ac_optarg ;;
1574 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1576 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1577 dvidir
=$ac_optarg ;;
1579 -enable-* | --enable-*)
1580 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1581 # Reject names that are not valid shell variable names.
1582 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1583 as_fn_error $?
"invalid feature name: $ac_useropt"
1584 ac_useropt_orig
=$ac_useropt
1585 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1586 case $ac_user_opts in
1588 "enable_
$ac_useropt"
1590 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1591 ac_unrecognized_sep
=', ';;
1593 eval enable_
$ac_useropt=\
$ac_optarg ;;
1595 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1596 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1597 | --exec | --exe | --ex)
1598 ac_prev
=exec_prefix
;;
1599 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1600 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1601 | --exec=* | --exe=* | --ex=*)
1602 exec_prefix
=$ac_optarg ;;
1604 -gas | --gas | --ga | --g)
1605 # Obsolete; use --with-gas.
1608 -help | --help | --hel | --he | -h)
1609 ac_init_help
=long
;;
1610 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1611 ac_init_help
=recursive
;;
1612 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1613 ac_init_help
=short
;;
1615 -host | --host | --hos | --ho)
1616 ac_prev
=host_alias
;;
1617 -host=* | --host=* | --hos=* | --ho=*)
1618 host_alias
=$ac_optarg ;;
1620 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1622 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1624 htmldir
=$ac_optarg ;;
1626 -includedir | --includedir | --includedi | --included | --include \
1627 | --includ | --inclu | --incl | --inc)
1628 ac_prev
=includedir
;;
1629 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1630 | --includ=* | --inclu=* | --incl=* | --inc=*)
1631 includedir
=$ac_optarg ;;
1633 -infodir | --infodir | --infodi | --infod | --info | --inf)
1635 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1636 infodir
=$ac_optarg ;;
1638 -libdir | --libdir | --libdi | --libd)
1640 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1641 libdir
=$ac_optarg ;;
1643 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1644 | --libexe | --libex | --libe)
1645 ac_prev
=libexecdir
;;
1646 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1647 | --libexe=* | --libex=* | --libe=*)
1648 libexecdir
=$ac_optarg ;;
1650 -localedir | --localedir | --localedi | --localed | --locale)
1651 ac_prev
=localedir
;;
1652 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1653 localedir
=$ac_optarg ;;
1655 -localstatedir | --localstatedir | --localstatedi | --localstated \
1656 | --localstate | --localstat | --localsta | --localst | --locals)
1657 ac_prev
=localstatedir
;;
1658 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1659 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1660 localstatedir
=$ac_optarg ;;
1662 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1664 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1665 mandir
=$ac_optarg ;;
1667 -nfp | --nfp | --nf)
1668 # Obsolete; use --without-fp.
1671 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1672 | --no-cr | --no-c | -n)
1675 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1676 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1679 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1680 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1681 | --oldin | --oldi | --old | --ol | --o)
1682 ac_prev
=oldincludedir
;;
1683 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1684 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1685 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1686 oldincludedir
=$ac_optarg ;;
1688 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1690 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1691 prefix
=$ac_optarg ;;
1693 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1694 | --program-pre | --program-pr | --program-p)
1695 ac_prev
=program_prefix
;;
1696 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1697 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1698 program_prefix
=$ac_optarg ;;
1700 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1701 | --program-suf | --program-su | --program-s)
1702 ac_prev
=program_suffix
;;
1703 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1704 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1705 program_suffix
=$ac_optarg ;;
1707 -program-transform-name | --program-transform-name \
1708 | --program-transform-nam | --program-transform-na \
1709 | --program-transform-n | --program-transform- \
1710 | --program-transform | --program-transfor \
1711 | --program-transfo | --program-transf \
1712 | --program-trans | --program-tran \
1713 | --progr-tra | --program-tr | --program-t)
1714 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
1724 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1726 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1727 pdfdir
=$ac_optarg ;;
1729 -psdir | --psdir | --psdi | --psd | --ps)
1731 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1735 | -silent | --silent | --silen | --sile | --sil)
1738 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1740 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1742 sbindir
=$ac_optarg ;;
1744 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1745 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1746 | --sharedst | --shareds | --shared | --share | --shar \
1748 ac_prev
=sharedstatedir
;;
1749 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1750 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1751 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1753 sharedstatedir
=$ac_optarg ;;
1755 -site | --site | --sit)
1757 -site=* | --site=* | --sit=*)
1760 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1762 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1763 srcdir
=$ac_optarg ;;
1765 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1766 | --syscon | --sysco | --sysc | --sys | --sy)
1767 ac_prev
=sysconfdir
;;
1768 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1769 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1770 sysconfdir
=$ac_optarg ;;
1772 -target | --target | --targe | --targ | --tar | --ta | --t)
1773 ac_prev
=target_alias
;;
1774 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1775 target_alias
=$ac_optarg ;;
1777 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1780 -version | --version | --versio | --versi | --vers | -V)
1781 ac_init_version
=: ;;
1784 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1785 # Reject names that are not valid shell variable names.
1786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1787 as_fn_error $?
"invalid package name: $ac_useropt"
1788 ac_useropt_orig
=$ac_useropt
1789 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1790 case $ac_user_opts in
1794 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1795 ac_unrecognized_sep
=', ';;
1797 eval with_
$ac_useropt=\
$ac_optarg ;;
1799 -without-* | --without-*)
1800 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1801 # Reject names that are not valid shell variable names.
1802 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1803 as_fn_error $?
"invalid package name: $ac_useropt"
1804 ac_useropt_orig
=$ac_useropt
1805 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1806 case $ac_user_opts in
1810 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1811 ac_unrecognized_sep
=', ';;
1813 eval with_
$ac_useropt=no
;;
1816 # Obsolete; use --with-x.
1819 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1820 | --x-incl | --x-inc | --x-in | --x-i)
1821 ac_prev
=x_includes
;;
1822 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1823 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1824 x_includes
=$ac_optarg ;;
1826 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1827 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1828 ac_prev
=x_libraries
;;
1829 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1830 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1831 x_libraries
=$ac_optarg ;;
1833 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1834 Try \`$0 --help' for more information"
1838 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1839 # Reject names that are not valid shell variable names.
1840 case $ac_envvar in #(
1841 '' | [0-9]* | *[!_$as_cr_alnum]* )
1842 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1844 eval $ac_envvar=\
$ac_optarg
1845 export $ac_envvar ;;
1848 # FIXME: should be removed in autoconf 3.0.
1849 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1850 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1851 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1852 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1858 if test -n "$ac_prev"; then
1859 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1860 as_fn_error $?
"missing argument to $ac_option"
1863 if test -n "$ac_unrecognized_opts"; then
1864 case $enable_option_checking in
1866 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1867 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1871 # Check all directory arguments for consistency.
1872 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1873 datadir sysconfdir sharedstatedir localstatedir includedir \
1874 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1875 libdir localedir mandir
1877 eval ac_val
=\$
$ac_var
1878 # Remove trailing slashes.
1881 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1882 eval $ac_var=\
$ac_val;;
1884 # Be sure to have absolute directory names.
1886 [\\/$
]* | ?
:[\\/]* ) continue;;
1887 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1889 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1892 # There might be people who depend on the old broken behavior: `$host'
1893 # used to hold the argument of --host etc.
1894 # FIXME: To remove some day.
1897 target
=$target_alias
1899 # FIXME: To remove some day.
1900 if test "x$host_alias" != x
; then
1901 if test "x$build_alias" = x
; then
1902 cross_compiling
=maybe
1903 elif test "x$build_alias" != "x$host_alias"; then
1909 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1911 test "$silent" = yes && exec 6>/dev
/null
1914 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1915 ac_ls_di
=`ls -di .` &&
1916 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1917 as_fn_error $?
"working directory cannot be determined"
1918 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1919 as_fn_error $?
"pwd does not report name of working directory"
1922 # Find the source files, if location was not specified.
1923 if test -z "$srcdir"; then
1924 ac_srcdir_defaulted
=yes
1925 # Try the directory containing this script, then the parent directory.
1926 ac_confdir
=`$as_dirname -- "$as_myself" ||
1927 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1928 X"$as_myself" : 'X\(//\)[^/]' \| \
1929 X"$as_myself" : 'X\(//\)$' \| \
1930 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1931 $as_echo X"$as_myself" |
1932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1950 if test ! -r "$srcdir/$ac_unique_file"; then
1954 ac_srcdir_defaulted
=no
1956 if test ! -r "$srcdir/$ac_unique_file"; then
1957 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1958 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1960 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1962 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1964 # When building in place, set srcdir=.
1965 if test "$ac_abs_confdir" = "$ac_pwd"; then
1968 # Remove unnecessary trailing slashes from srcdir.
1969 # Double slashes in file names in object file debugging info
1970 # mess up M-x gdb in Emacs.
1972 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1974 for ac_var
in $ac_precious_vars; do
1975 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1976 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1977 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1978 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1982 # Report the --help message.
1984 if test "$ac_init_help" = "long"; then
1985 # Omit some internal or obsolete options to make the list less imposing.
1986 # This message is too long to be a string in the A/UX 3.1 sh.
1988 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1990 Usage: $0 [OPTION]... [VAR=VALUE]...
1992 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1993 VAR=VALUE. See below for descriptions of some of the useful variables.
1995 Defaults for the options are specified in brackets.
1998 -h, --help display this help and exit
1999 --help=short display options specific to this package
2000 --help=recursive display the short help of all the included packages
2001 -V, --version display version information and exit
2002 -q, --quiet, --silent do not print \`checking ...' messages
2003 --cache-file=FILE cache test results in FILE [disabled]
2004 -C, --config-cache alias for \`--cache-file=config.cache'
2005 -n, --no-create do not create output files
2006 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2008 Installation directories:
2009 --prefix=PREFIX install architecture-independent files in PREFIX
2010 [$ac_default_prefix]
2011 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2014 By default, \`make install' will install all the files in
2015 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2016 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2017 for instance \`--prefix=\$HOME'.
2019 For better control, use the options below.
2021 Fine tuning of the installation directories:
2022 --bindir=DIR user executables [EPREFIX/bin]
2023 --sbindir=DIR system admin executables [EPREFIX/sbin]
2024 --libexecdir=DIR program executables [EPREFIX/libexec]
2025 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2026 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2027 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2028 --libdir=DIR object code libraries [EPREFIX/lib]
2029 --includedir=DIR C header files [PREFIX/include]
2030 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2031 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2032 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2033 --infodir=DIR info documentation [DATAROOTDIR/info]
2034 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2035 --mandir=DIR man documentation [DATAROOTDIR/man]
2036 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2037 --htmldir=DIR html documentation [DOCDIR]
2038 --dvidir=DIR dvi documentation [DOCDIR]
2039 --pdfdir=DIR pdf documentation [DOCDIR]
2040 --psdir=DIR ps documentation [DOCDIR]
2046 --x-includes=DIR X include files are
in DIR
2047 --x-libraries=DIR X library files are
in DIR
2050 --build=BUILD configure
for building on BUILD
[guessed
]
2051 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2055 if test -n "$ac_init_help"; then
2056 case $ac_init_help in
2057 short
| recursive
) echo "Configuration of wxWidgets 2.9.5:";;
2062 --disable-option-checking ignore unrecognized
--enable/--with options
2063 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2064 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2065 --disable-gui don
't build GUI parts of the library
2066 --enable-monolithic build wxWidgets as single library
2067 --enable-plugins build parts of wxWidgets as loadable components
2068 --enable-official_build official build of wxWidgets (win32 DLL only)
2069 --enable-vendor=VENDOR vendor name (win32 DLL only)
2070 --disable-all-features disable all optional features to build minimal library
2071 --enable-universal use wxWidgets GUI controls instead of native ones
2072 --enable-nanox use NanoX
2073 --enable-gpe use GNOME PDA Environment features if possible
2074 --enable-debug build library for debugging
2075 --disable-debug_flag disable all debugging support
2076 --enable-debug_info generate debug information
2077 --enable-debug_gdb create code with extra GDB debugging information
2078 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2079 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2080 --disable-shared create static library instead of shared
2081 --enable-stl use standard C++ classes for everything
2082 --enable-std_containers use standard C++ container classes
2083 --enable-std_iostreams use standard C++ stream classes
2084 --enable-std_string use standard C++ string classes
2085 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2086 --disable-unicode compile without Unicode support
2087 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2088 --enable-utf8 use UTF-8 representation for strings (Unix only)
2089 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2090 --enable-extended_rtti use extended RTTI (XTI)
2091 --enable-omf use OMF object format
2092 --disable-optimise compile without optimisations
2093 --enable-profile create code with profiling information
2094 --enable-no_rtti create code without RTTI information
2095 --enable-no_exceptions create code without C++ exceptions handling
2096 --enable-permissive compile code disregarding strict ANSI
2097 --enable-no_deps create code without dependency information
2098 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2099 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2100 --enable-macosx_arch=ARCH build
for just the specified architecture
2101 --enable-compat26 enable wxWidgets
2.6 compatibility
2102 --disable-compat28 disable wxWidgets
2.8 compatibility
2103 --disable-rpath disable use of rpath
for uninstalled builds
2104 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2105 --disable-visibility disable use of ELF symbols visibility even
if supported
2106 --disable-tls disable use of compiler TLS support
2107 --enable-intl use internationalization system
2108 --enable-xlocale use x
-locale support
(requires wxLocale
)
2109 --enable-config use wxConfig
(and derived
) classes
2110 --enable-protocols use wxProtocol and derived classes
2111 --enable-ftp use wxFTP
(requires wxProtocol
2112 --enable-http use wxHTTP
(requires wxProtocol
2113 --enable-fileproto use wxFileProto class
(requires wxProtocol
2114 --enable-sockets use socket
/network classes
2115 --enable-ipv6 enable IPv6 support
in wxSocket
2116 --enable-ole use OLE classes
(Win32 only
)
2117 --enable-dataobj use data object classes
2118 --enable-ipc use interprocess communication
(wxSocket etc.
)
2119 --enable-baseevtloop use event loop
in console programs too
2120 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2121 --enable-selectloop use wxSelectDispatcher class
2122 --enable-any use wxAny class
2123 --enable-apple_ieee use the Apple IEEE codec
2124 --enable-arcstream use wxArchive streams
2125 --enable-base64 use base64 encoding
/decoding functions
2126 --enable-backtrace use wxStackWalker class
for getting backtraces
2127 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2128 --enable-cmdline use wxCmdLineParser class
2129 --enable-datetime use wxDateTime class
2130 --enable-debugreport use wxDebugReport class
2131 --enable-dialupman use dialup network classes
2132 --enable-dynlib use wxLibrary class
for DLL loading
2133 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2134 --enable-exceptions build exception
-safe library
2135 --enable-ffile use wxFFile class
2136 --enable-file use wxFile class
2137 --enable-filehistory use wxFileHistory class
2138 --enable-filesystem use virtual
file systems classes
2139 --enable-fontenum use wxFontEnumerator class
2140 --enable-fontmap use font encodings conversion classes
2141 --enable-fs_archive use virtual archive filesystems
2142 --enable-fs_inet use virtual HTTP
/FTP filesystems
2143 --enable-fs_zip now replaced by fs_archive
2144 --enable-fswatcher use wxFileSystemWatcher class
2145 --enable-geometry use geometry class
2146 --enable-log use logging system
2147 --enable-longlong use wxLongLong class
2148 --enable-mimetype use wxMimeTypesManager
2149 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2150 --enable-snglinst use wxSingleInstanceChecker class
2151 --enable-sound use wxSound class
2152 --enable-stdpaths use wxStandardPaths class
2153 --enable-stopwatch use wxStopWatch class
2154 --enable-streams use wxStream etc classes
2155 --enable-sysoptions use wxSystemOptions
2156 --enable-tarstream use wxTar streams
2157 --enable-textbuf use wxTextBuffer class
2158 --enable-textfile use wxTextFile class
2159 --enable-timer use wxTimer class
2160 --enable-variant use wxVariant class
2161 --enable-zipstream use wxZip streams
2162 --enable-url use wxURL class
2163 --enable-protocol use wxProtocol class
2164 --enable-protocol-http HTTP support
in wxProtocol
2165 --enable-protocol-ftp FTP support
in wxProtocol
2166 --enable-protocol-file FILE support
in wxProtocol
2167 --enable-threads use threads
2168 --enable-iniconf use wxIniConfig
(Win32 only
)
2169 --enable-regkey use wxRegKey class
(Win32 only
)
2170 --enable-docview use document view architecture
2171 --enable-help use
help subsystem
2172 --enable-mshtmlhelp use MS HTML Help
(win32
)
2173 --enable-html use wxHTML sub
-library
2174 --enable-htmlhelp use wxHTML
-based help
2175 --enable-xrc use XRC resources sub
-library
2176 --enable-aui use AUI docking library
2177 --enable-propgrid use wxPropertyGrid library
2178 --enable-ribbon use wxRibbon library
2179 --enable-stc use wxStyledTextCtrl library
2180 --enable-constraints use layout
-constraints system
2181 --enable-loggui use standard GUI logger
2182 --enable-logwin use wxLogWindow
2183 --enable-logdialog use wxLogDialog
2184 --enable-mdi use multiple document interface architecture
2185 --enable-mdidoc use docview architecture with MDI
2186 --enable-mediactrl use wxMediaCtrl class
2187 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2188 --enable-richtext use wxRichTextCtrl
2189 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2190 --enable-printarch use printing architecture
2191 --enable-svg use wxSVGFileDC device context
2192 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2193 --enable-webview use wxWebView library
2194 --enable-graphics_ctx use graphics context
2D drawing API
2195 --enable-clipboard use wxClipboard class
2196 --enable-dnd use Drag
'n'Drop classes
2197 --disable-controls disable compilation of all standard controls
2198 --enable-markup support wxControl
::SetLabelMarkup
2199 --enable-accel use accelerators
2200 --enable-animatectrl use wxAnimationCtrl class
2201 --enable-bannerwindow use wxBannerWindow class
2202 --enable-artstd use standard XPM icons
in wxArtProvider
2203 --enable-arttango use Tango icons
in wxArtProvider
2204 --enable-bmpbutton use wxBitmapButton class
2205 --enable-bmpcombobox use wxBitmapComboBox class
2206 --enable-button use wxButton class
2207 --enable-calendar use wxCalendarCtrl class
2208 --enable-caret use wxCaret class
2209 --enable-checkbox use wxCheckBox class
2210 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2211 --enable-choice use wxChoice class
2212 --enable-choicebook use wxChoicebook class
2213 --enable-collpane use wxCollapsiblePane class
2214 --enable-colourpicker use wxColourPickerCtrl class
2215 --enable-combobox use wxComboBox class
2216 --enable-comboctrl use wxComboCtrl class
2217 --enable-commandlinkbutton use wxCommmandLinkButton class
2218 --enable-dataviewctrl use wxDataViewCtrl class
2219 --enable-datepick use wxDatePickerCtrl class
2220 --enable-detect_sm use code to detect X11 session manager
2221 --enable-dirpicker use wxDirPickerCtrl class
2222 --enable-display use wxDisplay class
2223 --enable-editablebox use wxEditableListBox class
2224 --enable-filectrl use wxFileCtrl class
2225 --enable-filepicker use wxFilePickerCtrl class
2226 --enable-fontpicker use wxFontPickerCtrl class
2227 --enable-gauge use wxGauge class
2228 --enable-grid use wxGrid class
2229 --enable-headerctrl use wxHeaderCtrl class
2230 --enable-hyperlink use wxHyperlinkCtrl class
2231 --enable-imaglist use wxImageList class
2232 --enable-infobar use wxInfoBar class
2233 --enable-listbook use wxListbook class
2234 --enable-listbox use wxListBox class
2235 --enable-listctrl use wxListCtrl class
2236 --enable-notebook use wxNotebook class
2237 --enable-notifmsg use wxNotificationMessage class
2238 --enable-odcombobox use wxOwnerDrawnComboBox class
2239 --enable-popupwin use wxPopUpWindow class
2240 --enable-radiobox use wxRadioBox class
2241 --enable-radiobtn use wxRadioButton class
2242 --enable-richmsgdlg use wxRichMessageDialog class
2243 --enable-richtooltip use wxRichToolTip class
2244 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2245 --enable-sash use wxSashWindow class
2246 --enable-scrollbar use wxScrollBar class and scrollable windows
2247 --enable-searchctrl use wxSearchCtrl class
2248 --enable-slider use wxSlider class
2249 --enable-spinbtn use wxSpinButton class
2250 --enable-spinctrl use wxSpinCtrl class
2251 --enable-splitter use wxSplitterWindow class
2252 --enable-statbmp use wxStaticBitmap class
2253 --enable-statbox use wxStaticBox class
2254 --enable-statline use wxStaticLine class
2255 --enable-stattext use wxStaticText class
2256 --enable-statusbar use wxStatusBar class
2257 --enable-taskbaricon use wxTaskBarIcon class
2258 --enable-tbarnative use native wxToolBar class
2259 --enable-textctrl use wxTextCtrl class
2260 --enable-timepick use wxTimePickerCtrl class
2261 --enable-tipwindow use wxTipWindow class
2262 --enable-togglebtn use wxToggleButton class
2263 --enable-toolbar use wxToolBar class
2264 --enable-toolbook use wxToolbook class
2265 --enable-treebook use wxTreebook class
2266 --enable-treectrl use wxTreeCtrl class
2267 --enable-treelist use wxTreeListCtrl class
2268 --enable-commondlg use all common dialogs
2269 --enable-aboutdlg use wxAboutBox
2270 --enable-choicedlg use wxChoiceDialog
2271 --enable-coldlg use wxColourDialog
2272 --enable-filedlg use wxFileDialog
2273 --enable-finddlg use wxFindReplaceDialog
2274 --enable-fontdlg use wxFontDialog
2275 --enable-dirdlg use wxDirDialog
2276 --enable-msgdlg use wxMessageDialog
2277 --enable-numberdlg use wxNumberEntryDialog
2278 --enable-splash use wxSplashScreen
2279 --enable-textdlg use wxTextDialog
2280 --enable-tipdlg use startup tips
2281 --enable-progressdlg use wxProgressDialog
2282 --enable-wizarddlg use wxWizard
2283 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2284 --enable-miniframe use wxMiniFrame class
2285 --enable-tooltips use wxToolTip class
2286 --enable-splines use spline drawing code
2287 --enable-mousewheel use mousewheel
2288 --enable-validators use wxValidator and derived classes
2289 --enable-busyinfo use wxBusyInfo
2290 --enable-hotkey use wxWindow
::RegisterHotKey
()
2291 --enable-joystick use wxJoystick
2292 --enable-metafiles use wxMetaFile
2293 --enable-dragimage use wxDragImage
2294 --enable-accessibility enable accessibility support
2295 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2296 --enable-dctransform use wxDC
::SetTransformMatrix and related
2297 --enable-webview_webkit use wxWebView WebKit backend
2298 --enable-palette use wxPalette class
2299 --enable-image use wxImage class
2300 --enable-gif use gif images
(GIF
file format
)
2301 --enable-pcx use pcx images
(PCX
file format
)
2302 --enable-tga use tga images
(TGA
file format
)
2303 --enable-iff use iff images
(IFF
file format
)
2304 --enable-pnm use pnm images
(PNM
file format
)
2305 --enable-xpm use xpm images
(XPM
file format
)
2306 --enable-ico_cur use Windows ICO and CUR formats
2307 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2308 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2309 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2310 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2311 --enable-wxdib use wxDIB class
(Win32 only
)
2312 --enable-webview_ie use wxWebView IE backend
(Win32 only
)
2313 --enable-autoidman use automatic ids management
2314 --disable-largefile omit support
for large files
2315 --disable-gtktest do not try to compile and run a
test GTK
+ program
2316 --disable-gtktest Do not try to compile and run a
test GTK program
2317 --disable-sdltest Do not try to compile and run a
test SDL program
2318 --enable-omf use OMF object format
(OS
/2)
2319 --disable-dependency-tracking
2320 don
't use dependency tracking even if the compiler
2322 --disable-precomp-headers
2323 don't use precompiled headers even
if compiler can
2326 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2327 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2328 --without-subdirs don
't generate makefiles for samples/demos/...
2329 --with-flavour=NAME specify a name to identify this build
2330 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2331 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2332 --with-motif use Motif/Lesstif
2333 --with-osx_carbon use Mac OS X (Carbon)
2334 --with-osx_cocoa use Mac OS X (Cocoa)
2335 --with-osx_iphone use iPhone OS X port
2336 --with-osx use Mac OS X (default port, currently Carbon)
2337 --with-carbon same as --with-osx_carbon
2338 --with-cocoa same as --with-osx_cocoa
2339 --with-iphone same as --with-osx_iphone
2340 --with-mac same as --with-osx
2341 --with-old_cocoa use old, deprecated, Cocoa port
2342 --with-wine use Wine
2343 --with-msw use MS-Windows
2344 --with-pm use OS/2 Presentation Manager
2345 --with-directfb use DirectFB
2346 --with-microwin use MicroWindows
2348 --with-libpng use libpng (PNG image format)
2349 --with-libjpeg use libjpeg (JPEG file format)
2350 --with-libtiff use libtiff (TIFF file format)
2351 --with-libxpm use libxpm (XPM file format)
2352 --with-libiconv use libiconv (character conversion)
2353 --with-libmspack use libmspack (CHM help files loading)
2354 --without-gtkprint don't use GTK printing support
2355 --without-gnomeprint don
't use GNOME printing libraries
2356 --with-gnomevfs use GNOME VFS for associating MIME types
2357 --with-libnotify use libnotify for notifications
2358 --with-hildon use Hildon framework for Nokia 770/800/810
2359 --with-opengl use OpenGL (or Mesa)
2360 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2361 --with-sdl use SDL for audio on Unix
2362 --with-regex enable support for wxRegEx class
2363 --with-zlib use zlib for LZW compression
2364 --with-expat enable XML support using expat parser
2365 --with-macosx-sdk=PATH use an OS X SDK at PATH
2366 --with-macosx-version-min=VER build binaries which require at least this OS X version
2367 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2368 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2369 --with-x use the X Window System
2370 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2371 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2372 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2373 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2374 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2376 Some influential environment variables:
2377 CC C compiler command
2378 CFLAGS C compiler flags
2379 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2380 nonstandard directory <lib dir>
2381 LIBS libraries to pass to the linker, e.g. -l<library>
2382 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2383 you have headers in a nonstandard directory <include dir>
2385 CXX C++ compiler command
2386 CXXFLAGS C++ compiler flags
2387 CXXCPP C++ preprocessor
2388 PKG_CONFIG path to pkg-config utility
2390 C compiler flags for DIRECTFB, overriding pkg-config
2392 linker flags for DIRECTFB, overriding pkg-config
2393 XMKMF Path to xmkmf, Makefile generator for X Window System
2395 C compiler flags for PANGOX, overriding pkg-config
2396 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2398 C compiler flags for PANGOFT2, overriding pkg-config
2400 linker flags for PANGOFT2, overriding pkg-config
2402 C compiler flags for PANGOXFT, overriding pkg-config
2404 linker flags for PANGOXFT, overriding pkg-config
2406 C compiler flags for Xinerama, overriding pkg-config
2408 linker flags for Xinerama, overriding pkg-config
2410 C compiler flags for Xxf86vm, overriding pkg-config
2412 linker flags for Xxf86vm, overriding pkg-config
2413 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2414 SM_LIBS linker flags for SM, overriding pkg-config
2415 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2416 GL_LIBS linker flags for GL, overriding pkg-config
2417 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2418 GLU_LIBS linker flags for GLU, overriding pkg-config
2420 C compiler flags for MesaGL, overriding pkg-config
2421 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2423 C compiler flags for GTKPRINT, overriding pkg-config
2425 linker flags for GTKPRINT, overriding pkg-config
2426 LIBGNOMEPRINTUI_CFLAGS
2427 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2428 LIBGNOMEPRINTUI_LIBS
2429 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2431 C compiler flags for GNOMEVFS, overriding pkg-config
2433 linker flags for GNOMEVFS, overriding pkg-config
2435 C compiler flags for LIBNOTIFY, overriding pkg-config
2437 linker flags for LIBNOTIFY, overriding pkg-config
2439 C compiler flags for HILDON, overriding pkg-config
2440 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2442 C compiler flags for HILDON2, overriding pkg-config
2444 linker flags for HILDON2, overriding pkg-config
2446 C compiler flags for WEBKIT, overriding pkg-config
2447 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2449 C compiler flags for CAIRO, overriding pkg-config
2450 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2451 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2452 GST_LIBS linker flags for GST, overriding pkg-config
2454 Use these variables to override the choices made by `configure' or to
help
2455 it to
find libraries and programs with nonstandard names
/locations.
2457 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2462 if test "$ac_init_help" = "recursive"; then
2463 # If there are subdirs, report their specific --help.
2464 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2465 test -d "$ac_dir" ||
2466 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2471 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2473 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2474 # A ".." for each directory in $ac_dir_suffix.
2475 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2476 case $ac_top_builddir_sub in
2477 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2478 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2481 ac_abs_top_builddir
=$ac_pwd
2482 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2483 # for backward compatibility:
2484 ac_top_builddir
=$ac_top_build_prefix
2487 .
) # We are building in place.
2489 ac_top_srcdir
=$ac_top_builddir_sub
2490 ac_abs_top_srcdir
=$ac_pwd ;;
2491 [\\/]* | ?
:[\\/]* ) # Absolute name.
2492 ac_srcdir
=$srcdir$ac_dir_suffix;
2493 ac_top_srcdir
=$srcdir
2494 ac_abs_top_srcdir
=$srcdir ;;
2496 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2497 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2498 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2500 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2502 cd "$ac_dir" || { ac_status
=$?
; continue; }
2503 # Check for guested configure.
2504 if test -f "$ac_srcdir/configure.gnu"; then
2506 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2507 elif test -f "$ac_srcdir/configure"; then
2509 $SHELL "$ac_srcdir/configure" --help=recursive
2511 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2513 cd "$ac_pwd" || { ac_status
=$?
; break; }
2517 test -n "$ac_init_help" && exit $ac_status
2518 if $ac_init_version; then
2520 wxWidgets configure
2.9.5
2521 generated by GNU Autoconf
2.69
2523 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2524 This configure
script is free software
; the Free Software Foundation
2525 gives unlimited permission to copy
, distribute and modify it.
2530 ## ------------------------ ##
2531 ## Autoconf initialization. ##
2532 ## ------------------------ ##
2534 # ac_fn_c_try_compile LINENO
2535 # --------------------------
2536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2537 ac_fn_c_try_compile
()
2539 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2540 rm -f conftest.
$ac_objext
2541 if { { ac_try
="$ac_compile"
2543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2544 *) ac_try_echo=$ac_try;;
2546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2547 $as_echo "$ac_try_echo"; } >&5
2548 (eval "$ac_compile") 2>conftest.err
2550 if test -s conftest.err; then
2551 grep -v '^ *+' conftest.err >conftest.er1
2552 cat conftest.er1 >&5
2553 mv -f conftest.er1 conftest.err
2555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2556 test $ac_status = 0; } && {
2557 test -z "$ac_c_werror_flag" ||
2558 test ! -s conftest.err
2559 } && test -s conftest.$ac_objext; then :
2562 $as_echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.$ac_ext >&5
2567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2568 as_fn_set_status $ac_retval
2570 } # ac_fn_c_try_compile
2572 # ac_fn_c_try_cpp LINENO
2573 # ----------------------
2574 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2578 if { { ac_try="$ac_cpp conftest.$ac_ext"
2580 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2581 *) ac_try_echo
=$ac_try;;
2583 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2584 $as_echo "$ac_try_echo"; } >&5
2585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2587 if test -s conftest.err
; then
2588 grep -v '^ *+' conftest.err
>conftest.er1
2589 cat conftest.er1
>&5
2590 mv -f conftest.er1 conftest.err
2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593 test $ac_status = 0; } > conftest.i
&& {
2594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2595 test ! -s conftest.err
2599 $as_echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.
$ac_ext >&5
2604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2605 as_fn_set_status
$ac_retval
2609 # ac_fn_cxx_try_compile LINENO
2610 # ----------------------------
2611 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2612 ac_fn_cxx_try_compile
()
2614 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2615 rm -f conftest.
$ac_objext
2616 if { { ac_try
="$ac_compile"
2618 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623 (eval "$ac_compile") 2>conftest.err
2625 if test -s conftest.err; then
2626 grep -v '^ *+' conftest.err >conftest.er1
2627 cat conftest.er1 >&5
2628 mv -f conftest.er1 conftest.err
2630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631 test $ac_status = 0; } && {
2632 test -z "$ac_cxx_werror_flag" ||
2633 test ! -s conftest.err
2634 } && test -s conftest.$ac_objext; then :
2637 $as_echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.$ac_ext >&5
2642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2643 as_fn_set_status $ac_retval
2645 } # ac_fn_cxx_try_compile
2647 # ac_fn_c_try_link LINENO
2648 # -----------------------
2649 # Try to link conftest.$ac_ext, and return whether this succeeded.
2652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2653 rm -f conftest.$ac_objext conftest$ac_exeext
2654 if { { ac_try="$ac_link"
2656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2657 *) ac_try_echo
=$ac_try;;
2659 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2660 $as_echo "$ac_try_echo"; } >&5
2661 (eval "$ac_link") 2>conftest.err
2663 if test -s conftest.err
; then
2664 grep -v '^ *+' conftest.err
>conftest.er1
2665 cat conftest.er1
>&5
2666 mv -f conftest.er1 conftest.err
2668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2669 test $ac_status = 0; } && {
2670 test -z "$ac_c_werror_flag" ||
2671 test ! -s conftest.err
2672 } && test -s conftest
$ac_exeext && {
2673 test "$cross_compiling" = yes ||
2674 test -x conftest
$ac_exeext
2678 $as_echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.
$ac_ext >&5
2683 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2684 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2685 # interfere with the next link command; also delete a directory that is
2686 # left behind by Apple's compiler. We do this before executing the actions.
2687 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2689 as_fn_set_status
$ac_retval
2691 } # ac_fn_c_try_link
2693 # ac_fn_cxx_try_link LINENO
2694 # -------------------------
2695 # Try to link conftest.$ac_ext, and return whether this succeeded.
2696 ac_fn_cxx_try_link
()
2698 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2699 rm -f conftest.
$ac_objext conftest
$ac_exeext
2700 if { { ac_try
="$ac_link"
2702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2703 *) ac_try_echo=$ac_try;;
2705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2706 $as_echo "$ac_try_echo"; } >&5
2707 (eval "$ac_link") 2>conftest.err
2709 if test -s conftest.err; then
2710 grep -v '^ *+' conftest.err >conftest.er1
2711 cat conftest.er1 >&5
2712 mv -f conftest.er1 conftest.err
2714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2715 test $ac_status = 0; } && {
2716 test -z "$ac_cxx_werror_flag" ||
2717 test ! -s conftest.err
2718 } && test -s conftest$ac_exeext && {
2719 test "$cross_compiling" = yes ||
2720 test -x conftest$ac_exeext
2724 $as_echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2729 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2730 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2731 # interfere with the next link command; also delete a directory that is
2732 # left behind by Apple's compiler. We do this before executing the actions.
2733 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2735 as_fn_set_status $ac_retval
2737 } # ac_fn_cxx_try_link
2739 # ac_fn_c_try_run LINENO
2740 # ----------------------
2741 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2742 # that executables *can* be run.
2745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2746 if { { ac_try="$ac_link"
2748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2749 *) ac_try_echo
=$ac_try;;
2751 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753 (eval "$ac_link") 2>&5
2755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2756 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2757 { { case "(($ac_try" in
2758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2759 *) ac_try_echo=$ac_try;;
2761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2762 $as_echo "$ac_try_echo"; } >&5
2763 (eval "$ac_try") 2>&5
2765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2766 test $ac_status = 0; }; }; then :
2769 $as_echo "$as_me: program exited with status $ac_status" >&5
2770 $as_echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.$ac_ext >&5
2773 ac_retval=$ac_status
2775 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2777 as_fn_set_status $ac_retval
2781 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2782 # -------------------------------------------------------
2783 # Tests whether HEADER exists and can be compiled using the include files in
2784 # INCLUDES, setting the cache variable VAR accordingly.
2785 ac_fn_c_check_header_compile ()
2787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2789 $as_echo_n "checking for $2... " >&6; }
2790 if eval \${$3+:} false; then :
2791 $as_echo_n "(cached) " >&6
2793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2794 /* end confdefs.h. */
2798 if ac_fn_c_try_compile "$LINENO"; then :
2803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2807 $as_echo "$ac_res" >&6; }
2808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2810 } # ac_fn_c_check_header_compile
2812 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2813 # ---------------------------------------------------------
2814 # Tests whether HEADER exists and can be compiled using the include files in
2815 # INCLUDES, setting the cache variable VAR accordingly.
2816 ac_fn_cxx_check_header_compile ()
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2820 $as_echo_n "checking for $2... " >&6; }
2821 if eval \${$3+:} false; then :
2822 $as_echo_n "(cached) " >&6
2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h. */
2829 if ac_fn_cxx_try_compile "$LINENO"; then :
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2838 $as_echo "$ac_res" >&6; }
2839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2841 } # ac_fn_cxx_check_header_compile
2843 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2844 # --------------------------------------------
2845 # Tries to find the compile-time value of EXPR in a program that includes
2846 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2848 ac_fn_c_compute_int ()
2850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851 if test "$cross_compiling" = yes; then
2852 # Depending upon the size, compute the lo and hi bounds.
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2859 static int test_array [1 - 2 * !(($2) >= 0)];
2861 return test_array [0];
2867 if ac_fn_c_try_compile "$LINENO"; then :
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2876 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2878 return test_array [0];
2884 if ac_fn_c_try_compile "$LINENO"; then :
2885 ac_hi=$ac_mid; break
2887 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2888 if test $ac_lo -le $ac_mid; then
2892 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h. */
2903 static int test_array [1 - 2 * !(($2) < 0)];
2905 return test_array [0];
2911 if ac_fn_c_try_compile "$LINENO"; then :
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2920 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2922 return test_array [0];
2928 if ac_fn_c_try_compile "$LINENO"; then :
2929 ac_lo=$ac_mid; break
2931 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2932 if test $ac_mid -le $ac_hi; then
2936 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2946 # Binary search between lo and hi bounds.
2947 while test "x$ac_lo" != "x$ac_hi"; do
2948 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2950 /* end confdefs.h. */
2955 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2957 return test_array [0];
2963 if ac_fn_c_try_compile "$LINENO"; then :
2966 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2971 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2978 static long int longval () { return $2; }
2979 static unsigned long int ulongval () { return $2; }
2986 FILE *f = fopen ("conftest.val", "w");
2991 long int i = longval ();
2994 fprintf (f, "%ld", i);
2998 unsigned long int i = ulongval ();
3001 fprintf (f, "%lu", i);
3003 /* Do not output a trailing newline, as this causes \r\n confusion
3004 on some platforms. */
3005 return ferror (f) || fclose (f) != 0;
3011 if ac_fn_c_try_run "$LINENO"; then :
3012 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3016 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3017 conftest.$ac_objext conftest.beam conftest.$ac_ext
3021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3022 as_fn_set_status $ac_retval
3024 } # ac_fn_c_compute_int
3026 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3027 # ---------------------------------------------
3028 # Tests whether TYPE exists after having included INCLUDES, setting cache
3029 # variable VAR accordingly.
3030 ac_fn_cxx_check_type ()
3032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3034 $as_echo_n "checking for $2... " >&6; }
3035 if eval \${$3+:} false; then :
3036 $as_echo_n "(cached) " >&6
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3051 if ac_fn_cxx_try_compile "$LINENO"; then :
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3064 if ac_fn_cxx_try_compile "$LINENO"; then :
3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3075 $as_echo "$ac_res" >&6; }
3076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3078 } # ac_fn_cxx_check_type
3080 # ac_fn_cxx_try_cpp LINENO
3081 # ------------------------
3082 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3083 ac_fn_cxx_try_cpp ()
3085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3086 if { { ac_try="$ac_cpp conftest.$ac_ext"
3088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3089 *) ac_try_echo
=$ac_try;;
3091 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3092 $as_echo "$ac_try_echo"; } >&5
3093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3095 if test -s conftest.err
; then
3096 grep -v '^ *+' conftest.err
>conftest.er1
3097 cat conftest.er1
>&5
3098 mv -f conftest.er1 conftest.err
3100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3101 test $ac_status = 0; } > conftest.i
&& {
3102 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3103 test ! -s conftest.err
3107 $as_echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.
$ac_ext >&5
3112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113 as_fn_set_status
$ac_retval
3115 } # ac_fn_cxx_try_cpp
3117 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3118 # ---------------------------------------------------------
3119 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3120 # the include files in INCLUDES and setting the cache variable VAR
3122 ac_fn_cxx_check_header_mongrel
()
3124 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3125 if eval \
${$3+:} false
; then :
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3127 $as_echo_n "checking for $2... " >&6; }
3128 if eval \
${$3+:} false
; then :
3129 $as_echo_n "(cached) " >&6
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3133 $as_echo "$ac_res" >&6; }
3135 # Is the header compilable?
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3137 $as_echo_n "checking $2 usability... " >&6; }
3138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3143 if ac_fn_cxx_try_compile
"$LINENO"; then :
3144 ac_header_compiler
=yes
3146 ac_header_compiler
=no
3148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3150 $as_echo "$ac_header_compiler" >&6; }
3152 # Is the header present?
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3154 $as_echo_n "checking $2 presence... " >&6; }
3155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3159 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3160 ac_header_preproc
=yes
3162 ac_header_preproc
=no
3164 rm -f conftest.err conftest.i conftest.
$ac_ext
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3166 $as_echo "$ac_header_preproc" >&6; }
3168 # So? What about this header?
3169 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3172 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3174 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3178 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3180 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3182 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3184 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3186 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3187 ( $as_echo "## ----------------------------------------- ##
3188 ## Report this to wx-dev@lists.wxwidgets.org ##
3189 ## ----------------------------------------- ##"
3190 ) | sed "s/^/$as_me: WARNING: /" >&2
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3194 $as_echo_n "checking for $2... " >&6; }
3195 if eval \
${$3+:} false
; then :
3196 $as_echo_n "(cached) " >&6
3198 eval "$3=\$ac_header_compiler"
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3202 $as_echo "$ac_res" >&6; }
3204 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3206 } # ac_fn_cxx_check_header_mongrel
3208 # ac_fn_c_check_func LINENO FUNC VAR
3209 # ----------------------------------
3210 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3211 ac_fn_c_check_func
()
3213 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3215 $as_echo_n "checking for $2... " >&6; }
3216 if eval \
${$3+:} false
; then :
3217 $as_echo_n "(cached) " >&6
3219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3220 /* end confdefs.h. */
3221 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3223 #define $2 innocuous_$2
3225 /* System header to define __stub macros and hopefully few prototypes,
3226 which can conflict with char $2 (); below.
3227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3228 <limits.h> exists even on freestanding compilers. */
3231 # include <limits.h>
3233 # include <assert.h>
3238 /* Override any GCC internal prototype to avoid an error.
3239 Use char because int might match the return type of a GCC
3240 builtin and then its argument prototype would still apply. */
3245 /* The GNU C library defines this for functions which it implements
3246 to always fail with ENOSYS. Some functions are actually named
3247 something starting with __ and the normal name is an alias. */
3248 #if defined __stub_$2 || defined __stub___$2
3260 if ac_fn_c_try_link
"$LINENO"; then :
3265 rm -f core conftest.err conftest.
$ac_objext \
3266 conftest
$ac_exeext conftest.
$ac_ext
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3270 $as_echo "$ac_res" >&6; }
3271 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3273 } # ac_fn_c_check_func
3275 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3276 # -------------------------------------------
3277 # Tests whether TYPE exists after having included INCLUDES, setting cache
3278 # variable VAR accordingly.
3279 ac_fn_c_check_type
()
3281 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3283 $as_echo_n "checking for $2... " >&6; }
3284 if eval \
${$3+:} false
; then :
3285 $as_echo_n "(cached) " >&6
3288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3300 if ac_fn_c_try_compile
"$LINENO"; then :
3301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3313 if ac_fn_c_try_compile
"$LINENO"; then :
3318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3324 $as_echo "$ac_res" >&6; }
3325 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3327 } # ac_fn_c_check_type
3329 # ac_fn_cxx_try_run LINENO
3330 # ------------------------
3331 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3332 # that executables *can* be run.
3333 ac_fn_cxx_try_run
()
3335 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3336 if { { ac_try
="$ac_link"
3338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3342 $as_echo "$ac_try_echo"; } >&5
3343 (eval "$ac_link") 2>&5
3345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3347 { { case "(($ac_try" in
3348 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3349 *) ac_try_echo
=$ac_try;;
3351 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_try") 2>&5
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356 test $ac_status = 0; }; }; then :
3359 $as_echo "$as_me: program exited with status $ac_status" >&5
3360 $as_echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.
$ac_ext >&5
3363 ac_retval
=$ac_status
3365 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3367 as_fn_set_status
$ac_retval
3369 } # ac_fn_cxx_try_run
3370 cat >config.log
<<_ACEOF
3371 This file contains any messages produced by compilers while
3372 running configure, to aid debugging if configure makes a mistake.
3374 It was created by wxWidgets $as_me 2.9.5, which was
3375 generated by GNU Autoconf 2.69. Invocation command line was
3387 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3388 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3389 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3390 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3391 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3393 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3394 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3396 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3397 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3398 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3399 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3400 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3401 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3402 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir
=.
3411 $as_echo "PATH: $as_dir"
3427 # Keep a trace of the command line.
3428 # Strip out --no-create and --no-recursion so they do not pile up.
3429 # Strip out --silent because we don't want to record it for future runs.
3430 # Also quote any args containing shell meta-characters.
3431 # Make two passes to allow for proper duplicate-argument suppression.
3435 ac_must_keep_next
=false
3441 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3442 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3443 | -silent | --silent | --silen | --sile | --sil)
3446 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3449 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3451 as_fn_append ac_configure_args1
" '$ac_arg'"
3452 if test $ac_must_keep_next = true
; then
3453 ac_must_keep_next
=false
# Got value, back to normal.
3456 *=* | --config-cache | -C | -disable-* | --disable-* \
3457 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3458 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3459 | -with-* | --with-* | -without-* | --without-* | --x)
3460 case "$ac_configure_args0 " in
3461 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3464 -* ) ac_must_keep_next
=true
;;
3467 as_fn_append ac_configure_args
" '$ac_arg'"
3472 { ac_configure_args0
=; unset ac_configure_args0
;}
3473 { ac_configure_args1
=; unset ac_configure_args1
;}
3475 # When interrupted or exit'd, cleanup temporary files, and complete
3476 # config.log. We remove comments because anyway the quotes in there
3477 # would cause problems or look ugly.
3478 # WARNING: Use '\'' to represent an apostrophe within the trap.
3479 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3480 trap 'exit_status=$?
3481 # Save into config.log some information that might help in debugging.
3485 $as_echo "## ---------------- ##
3486 ## Cache variables. ##
3487 ## ---------------- ##"
3489 # The following way of writing the cache mishandles newlines in values,
3491 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3492 eval ac_val=\$$ac_var
3496 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3497 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3500 _ | IFS | as_nl) ;; #(
3501 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3502 *) { eval $ac_var=; unset $ac_var;} ;;
3507 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3508 *${as_nl}ac_space=\ *)
3510 "s/'\''/'\''\\\\'\'''\''/g;
3511 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3521 $as_echo "## ----------------- ##
3522 ## Output variables. ##
3523 ## ----------------- ##"
3525 for ac_var in $ac_subst_vars
3527 eval ac_val=\$$ac_var
3529 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3531 $as_echo "$ac_var='\''$ac_val'\''"
3535 if test -n "$ac_subst_files"; then
3536 $as_echo "## ------------------- ##
3537 ## File substitutions. ##
3538 ## ------------------- ##"
3540 for ac_var
in $ac_subst_files
3542 eval ac_val
=\$
$ac_var
3544 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3546 $as_echo "$ac_var='\''$ac_val'\''"
3551 if test -s confdefs.h; then
3552 $as_echo "## ----------- ##
3559 test "$ac_signal" != 0 &&
3560 $as_echo "$as_me: caught signal $ac_signal"
3561 $as_echo "$as_me: exit $exit_status"
3563 rm -f core *.core core.conftest.* &&
3564 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3567 for ac_signal
in 1 2 13 15; do
3568 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3572 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3573 rm -f -r conftest
* confdefs.h
3575 $as_echo "/* confdefs.h */" > confdefs.h
3577 # Predefined preprocessor variables.
3579 cat >>confdefs.h
<<_ACEOF
3580 #define PACKAGE_NAME "$PACKAGE_NAME"
3583 cat >>confdefs.h
<<_ACEOF
3584 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3587 cat >>confdefs.h
<<_ACEOF
3588 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3591 cat >>confdefs.h
<<_ACEOF
3592 #define PACKAGE_STRING "$PACKAGE_STRING"
3595 cat >>confdefs.h
<<_ACEOF
3596 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3599 cat >>confdefs.h
<<_ACEOF
3600 #define PACKAGE_URL "$PACKAGE_URL"
3604 # Let the site file select an alternate cache file if it wants to.
3605 # Prefer an explicitly selected file to automatically selected ones.
3608 if test -n "$CONFIG_SITE"; then
3609 # We do not want a PATH search for config.site.
3610 case $CONFIG_SITE in #((
3611 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3612 */*) ac_site_file1
=$CONFIG_SITE;;
3613 *) ac_site_file1
=.
/$CONFIG_SITE;;
3615 elif test "x$prefix" != xNONE
; then
3616 ac_site_file1
=$prefix/share
/config.site
3617 ac_site_file2
=$prefix/etc
/config.site
3619 ac_site_file1
=$ac_default_prefix/share
/config.site
3620 ac_site_file2
=$ac_default_prefix/etc
/config.site
3622 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3624 test "x$ac_site_file" = xNONE
&& continue
3625 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3627 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3628 sed 's/^/| /' "$ac_site_file" >&5
3630 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3632 as_fn_error $?
"failed to load site script $ac_site_file
3633 See \`config.log' for more details" "$LINENO" 5; }
3637 if test -r "$cache_file"; then
3638 # Some versions of bash will fail to source /dev/null (special files
3639 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3640 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3642 $as_echo "$as_me: loading cache $cache_file" >&6;}
3644 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3645 *) .
"./$cache_file";;
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3650 $as_echo "$as_me: creating cache $cache_file" >&6;}
3654 # Check that the precious variables saved in the cache have kept the same
3656 ac_cache_corrupted
=false
3657 for ac_var
in $ac_precious_vars; do
3658 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3659 eval ac_new_set
=\
$ac_env_${ac_var}_set
3660 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3661 eval ac_new_val
=\
$ac_env_${ac_var}_value
3662 case $ac_old_set,$ac_new_set in
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3665 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3666 ac_cache_corrupted
=: ;;
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3669 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3670 ac_cache_corrupted
=: ;;
3673 if test "x$ac_old_val" != "x$ac_new_val"; then
3674 # differences in whitespace do not lead to failure.
3675 ac_old_val_w
=`echo x $ac_old_val`
3676 ac_new_val_w
=`echo x $ac_new_val`
3677 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3679 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3680 ac_cache_corrupted
=:
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3683 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3684 eval $ac_var=\
$ac_old_val
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3687 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3689 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3692 # Pass precious variables to config.status.
3693 if test "$ac_new_set" = set; then
3695 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3696 *) ac_arg
=$ac_var=$ac_new_val ;;
3698 case " $ac_configure_args " in
3699 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3700 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3704 if $ac_cache_corrupted; then
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3708 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3709 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3711 ## -------------------- ##
3712 ## Main body of script. ##
3713 ## -------------------- ##
3716 ac_cpp
='$CPP $CPPFLAGS'
3717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3726 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3727 if test -f "$ac_dir/install-sh"; then
3729 ac_install_sh
="$ac_aux_dir/install-sh -c"
3731 elif test -f "$ac_dir/install.sh"; then
3733 ac_install_sh
="$ac_aux_dir/install.sh -c"
3735 elif test -f "$ac_dir/shtool"; then
3737 ac_install_sh
="$ac_aux_dir/shtool install -c"
3741 if test -z "$ac_aux_dir"; then
3742 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3745 # These three variables are undocumented and unsupported,
3746 # and are intended to be withdrawn in a future Autoconf release.
3747 # They can cause serious problems if a builder's source tree is in a directory
3748 # whose full name contains unusual characters.
3749 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3750 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3751 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3754 # Make sure we can run config.sub.
3755 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3756 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3759 $as_echo_n "checking build system type... " >&6; }
3760 if ${ac_cv_build+:} false
; then :
3761 $as_echo_n "(cached) " >&6
3763 ac_build_alias
=$build_alias
3764 test "x$ac_build_alias" = x
&&
3765 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3766 test "x$ac_build_alias" = x
&&
3767 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3768 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3769 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3773 $as_echo "$ac_cv_build" >&6; }
3774 case $ac_cv_build in
3776 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3779 ac_save_IFS
=$IFS; IFS
='-'
3785 # Remember, the first character of IFS is used to create $*,
3786 # except with old shells:
3789 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3793 $as_echo_n "checking host system type... " >&6; }
3794 if ${ac_cv_host+:} false
; then :
3795 $as_echo_n "(cached) " >&6
3797 if test "x$host_alias" = x
; then
3798 ac_cv_host
=$ac_cv_build
3800 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3801 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3806 $as_echo "$ac_cv_host" >&6; }
3809 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3812 ac_save_IFS
=$IFS; IFS
='-'
3818 # Remember, the first character of IFS is used to create $*,
3819 # except with old shells:
3822 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3826 if test "$cross_compiling" != "no"; then
3827 HOST_PREFIX
="${host_alias}-"
3828 HOST_SUFFIX
="-$host_alias"
3835 wx_major_version_number
=2
3836 wx_minor_version_number
=9
3838 wx_subrelease_number
=0
3840 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3841 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3842 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3844 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3847 wx_top_builddir
="`pwd`"
3860 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3866 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3872 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3874 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3876 DEFAULT_wxUSE_OLD_COCOA
=0
3878 DEFAULT_wxUSE_OSX_CARBON
=0
3879 DEFAULT_wxUSE_OSX_COCOA
=0
3880 DEFAULT_wxUSE_OSX_IPHONE
=0
3881 DEFAULT_wxUSE_MICROWIN
=0
3882 DEFAULT_wxUSE_MOTIF
=0
3888 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3889 DEFAULT_DEFAULT_wxUSE_GTK
=0
3890 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3891 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3892 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3893 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3894 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3895 DEFAULT_DEFAULT_wxUSE_MSW
=0
3896 DEFAULT_DEFAULT_wxUSE_PM
=0
3897 DEFAULT_DEFAULT_wxUSE_X11
=0
3898 DEFAULT_DEFAULT_wxUSE_DFB
=0
3902 DYLIB_RPATH_INSTALL
=
3903 DYLIB_RPATH_POSTLINK
=
3905 DEFAULT_STD_FLAG
=yes
3910 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3911 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3912 $as_echo "#define __HPUX__ 1" >>confdefs.h
3915 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3919 $as_echo "#define __LINUX__ 1" >>confdefs.h
3922 if test "x$TMP" = "xalpha"; then
3924 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3927 DEFAULT_DEFAULT_wxUSE_GTK
=1
3929 *-*-gnu* | *-*-k*bsd
*-gnu )
3932 if test "x$TMP" = "xalpha"; then
3934 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3937 DEFAULT_DEFAULT_wxUSE_GTK
=1
3939 *-*-irix5* | *-*-irix6* )
3942 $as_echo "#define __SGI__ 1" >>confdefs.h
3944 $as_echo "#define __SVR4__ 1" >>confdefs.h
3946 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3950 $as_echo "#define __QNX__ 1" >>confdefs.h
3952 DEFAULT_DEFAULT_wxUSE_X11
=1
3958 $as_echo "#define __SUN__ 1" >>confdefs.h
3960 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3962 $as_echo "#define __SVR4__ 1" >>confdefs.h
3964 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3965 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3971 $as_echo "#define __SUN__ 1" >>confdefs.h
3973 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3975 $as_echo "#define __BSD__ 1" >>confdefs.h
3977 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3982 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3984 $as_echo "#define __BSD__ 1" >>confdefs.h
3986 DEFAULT_DEFAULT_wxUSE_GTK
=1
3988 *-*-openbsd*|*-*-mirbsd*)
3991 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3993 $as_echo "#define __BSD__ 1" >>confdefs.h
3995 DEFAULT_DEFAULT_wxUSE_GTK
=1
4000 $as_echo "#define __NETBSD__ 1" >>confdefs.h
4002 $as_echo "#define __BSD__ 1" >>confdefs.h
4004 DEFAULT_DEFAULT_wxUSE_GTK
=1
4005 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4007 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4012 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4014 $as_echo "#define __OSF__ 1" >>confdefs.h
4016 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4017 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4022 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4024 $as_echo "#define __SVR4__ 1" >>confdefs.h
4026 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4031 $as_echo "#define __SYSV__ 1" >>confdefs.h
4033 $as_echo "#define __SVR4__ 1" >>confdefs.h
4035 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4041 $as_echo "#define __AIX__ 1" >>confdefs.h
4043 $as_echo "#define __SYSV__ 1" >>confdefs.h
4045 $as_echo "#define __SVR4__ 1" >>confdefs.h
4047 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4054 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4058 *-*-cygwin* | *-*-mingw32* )
4060 DEFAULT_DEFAULT_wxUSE_MSW
=1
4066 $as_echo "#define __DOS__ 1" >>confdefs.h
4071 *-pc-os2_emx | *-pc-os2-emx )
4072 $as_echo "#define __EMX__ 1" >>confdefs.h
4075 $as_echo "#define __OS2__ 1" >>confdefs.h
4078 DEFAULT_DEFAULT_wxUSE_PM
=1
4080 LDFLAGS
="$LDFLAGS -Zcrtdll"
4081 ac_executable_extensions
=".exe"
4082 export ac_executable_extensions
4086 for ac_dir
in $PATH; do
4088 if test -z "$ac_TEMP_PATH"; then
4089 ac_TEMP_PATH
="$ac_dir"
4091 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4094 export PATH
="$ac_TEMP_PATH"
4102 $as_echo "#define __BSD__ 1" >>confdefs.h
4104 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4106 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4112 $as_echo "#define __BSD__ 1" >>confdefs.h
4114 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4116 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4118 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
4123 $as_echo "#define __BEOS__ 1" >>confdefs.h
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4129 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4131 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4133 DEFAULT_DEFAULT_wxUSE_X11
=1
4134 DEFAULT_wxUSE_SHARED
=no
4139 DEFAULT_wxUSE_ALL_FEATURES
=yes
4141 DEFAULT_wxUSE_STD_CONTAINERS
=no
4142 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4143 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4145 DEFAULT_wxUSE_DMALLOC
=no
4146 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4147 DEFAULT_wxUSE_LIBHILDON
=no
4148 DEFAULT_wxUSE_LIBHILDON2
=no
4149 DEFAULT_wxUSE_LIBMSPACK
=no
4150 DEFAULT_wxUSE_LIBSDL
=no
4152 DEFAULT_wxUSE_ACCESSIBILITY
=no
4153 DEFAULT_wxUSE_IPV6
=no
4154 DEFAULT_wxUSE_GSTREAMER8
=no
4155 DEFAULT_wxUSE_UNICODE_UTF8
=no
4156 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4158 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4159 DEFAULT_wxUSE_OPENGL
=auto
4160 DEFAULT_wxUSE_MEDIACTRL
=auto
4161 DEFAULT_wxUSE_COMPILER_TLS
=auto
4162 DEFAULT_wxUSE_HOTKEY
=auto
4163 DEFAULT_wxUSE_METAFILE
=auto
4165 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4166 DEFAULT_wxUSE_MAC_ARCH
=no
4168 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4170 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4176 enablestring
=disable
4178 if test -z "$defaultval"; then
4179 if test x
"$enablestring" = xdisable
; then
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4187 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4188 # Check whether --enable-gui was given.
4189 if test "${enable_gui+set}" = set; then :
4190 enableval
=$enable_gui;
4191 if test "$enableval" = yes; then
4192 wx_cv_use_gui
='wxUSE_GUI=yes'
4194 wx_cv_use_gui
='wxUSE_GUI=no'
4199 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4204 eval "$wx_cv_use_gui"
4206 if test x"$enablestring" = xdisable; then
4207 if test $wxUSE_GUI = no; then
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4217 $as_echo "$result" >&6; }
4222 if test -z "$defaultval"; then
4223 if test x"$enablestring" = xdisable; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4231 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4232 # Check whether --enable-monolithic was given.
4233 if test "${enable_monolithic+set}" = set; then :
4234 enableval=$enable_monolithic;
4235 if test "$enableval" = yes; then
4236 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4238 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4243 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4248 eval "$wx_cv_use_monolithic"
4250 if test x"$enablestring" = xdisable; then
4251 if test $wxUSE_MONOLITHIC = no; then
4257 result=$wxUSE_MONOLITHIC
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4261 $as_echo "$result" >&6; }
4266 if test -z "$defaultval"; then
4267 if test x"$enablestring" = xdisable; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4275 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4276 # Check whether --enable-plugins was given.
4277 if test "${enable_plugins+set}" = set; then :
4278 enableval=$enable_plugins;
4279 if test "$enableval" = yes; then
4280 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4282 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4287 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4292 eval "$wx_cv_use_plugins"
4294 if test x
"$enablestring" = xdisable
; then
4295 if test $wxUSE_PLUGINS = no
; then
4301 result
=$wxUSE_PLUGINS
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4305 $as_echo "$result" >&6; }
4309 defaultval
=$wxUSE_ALL_FEATURES
4310 if test -z "$defaultval"; then
4311 if test x
"$withstring" = xwithout
; then
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4318 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4320 # Check whether --with-subdirs was given.
4321 if test "${with_subdirs+set}" = set; then :
4322 withval
=$with_subdirs;
4323 if test "$withval" = yes; then
4324 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4326 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4331 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4336 eval "$wx_cv_use_subdirs"
4338 if test x"$withstring" = xwithout; then
4339 if test $wxWITH_SUBDIRS = yes; then
4345 result=$wxWITH_SUBDIRS
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4349 $as_echo "$result" >&6; }
4352 # Check whether --with-flavour was given.
4353 if test "${with_flavour+set}" = set; then :
4354 withval=$with_flavour; WX_FLAVOUR="$withval"
4360 if test -z "$defaultval"; then
4361 if test x"$enablestring" = xdisable; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4369 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4370 # Check whether --enable-official_build was given.
4371 if test "${enable_official_build+set}" = set; then :
4372 enableval=$enable_official_build;
4373 if test "$enableval" = yes; then
4374 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4376 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4381 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4386 eval "$wx_cv_use_official_build"
4388 if test x"$enablestring" = xdisable; then
4389 if test $wxUSE_OFFICIAL_BUILD = no; then
4395 result=$wxUSE_OFFICIAL_BUILD
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4399 $as_echo "$result" >&6; }
4401 # Check whether --enable-vendor was given.
4402 if test "${enable_vendor+set}" = set; then :
4403 enableval=$enable_vendor; VENDOR="$enableval"
4406 if test "x
$VENDOR" = "x
"; then
4411 enablestring=disable
4413 if test -z "$defaultval"; then
4414 if test x"$enablestring" = xdisable; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4422 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4423 # Check whether --enable-all-features was given.
4424 if test "${enable_all_features+set}" = set; then :
4425 enableval=$enable_all_features;
4426 if test "$enableval" = yes; then
4427 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4429 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4434 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4439 eval "$wx_cv_use_all_features"
4441 if test x
"$enablestring" = xdisable
; then
4442 if test $wxUSE_ALL_FEATURES = no
; then
4448 result
=$wxUSE_ALL_FEATURES
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4452 $as_echo "$result" >&6; }
4455 if test "$wxUSE_ALL_FEATURES" = "no"; then
4456 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4457 DEFAULT_wxUSE_MEDIACTRL
=no
4461 if test "$wxUSE_GUI" = "yes"; then
4466 if test -z "$defaultval"; then
4467 if test x
"$enablestring" = xdisable
; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4475 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4476 # Check whether --enable-universal was given.
4477 if test "${enable_universal+set}" = set; then :
4478 enableval
=$enable_universal;
4479 if test "$enableval" = yes; then
4480 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4482 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4487 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4492 eval "$wx_cv_use_universal"
4494 if test x"$enablestring" = xdisable; then
4495 if test $wxUSE_UNIVERSAL = no; then
4501 result=$wxUSE_UNIVERSAL
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4505 $as_echo "$result" >&6; }
4507 if test "$wxUSE_UNIVERSAL" = "yes"; then
4509 # Check whether --with-themes was given.
4510 if test "${with_themes+set}" = set; then :
4511 withval=$with_themes; wxUNIV_THEMES="$withval"
4517 # Check whether --with-gtk was given.
4518 if test "${with_gtk+set}" = set; then :
4519 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4523 # Check whether --with-motif was given.
4524 if test "${with_motif+set}" = set; then :
4525 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4529 # Check whether --with-osx_carbon was given.
4530 if test "${with_osx_carbon+set}" = set; then :
4531 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4535 # Check whether --with-osx_cocoa was given.
4536 if test "${with_osx_cocoa+set}" = set; then :
4537 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4541 # Check whether --with-osx_iphone was given.
4542 if test "${with_osx_iphone+set}" = set; then :
4543 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4547 # Check whether --with-osx was given.
4548 if test "${with_osx+set}" = set; then :
4549 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4553 # Check whether --with-carbon was given.
4554 if test "${with_carbon+set}" = set; then :
4555 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4559 # Check whether --with-cocoa was given.
4560 if test "${with_cocoa+set}" = set; then :
4561 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4565 # Check whether --with-iphone was given.
4566 if test "${with_iphone+set}" = set; then :
4567 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4571 # Check whether --with-mac was given.
4572 if test "${with_mac+set}" = set; then :
4573 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4577 # Check whether --with-old_cocoa was given.
4578 if test "${with_old_cocoa+set}" = set; then :
4579 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4583 # Check whether --with-wine was given.
4584 if test "${with_wine+set}" = set; then :
4585 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4589 # Check whether --with-msw was given.
4590 if test "${with_msw+set}" = set; then :
4591 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4595 # Check whether --with-pm was given.
4596 if test "${with_pm+set}" = set; then :
4597 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4601 # Check whether --with-directfb was given.
4602 if test "${with_directfb+set}" = set; then :
4603 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4607 # Check whether --with-microwin was given.
4608 if test "${with_microwin+set}" = set; then :
4609 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4613 # Check whether --with-x11 was given.
4614 if test "${with_x11+set}" = set; then :
4615 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4621 if test -z "$defaultval"; then
4622 if test x"$enablestring" = xdisable; then
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4630 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4631 # Check whether --enable-nanox was given.
4632 if test "${enable_nanox+set}" = set; then :
4633 enableval=$enable_nanox;
4634 if test "$enableval" = yes; then
4635 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4637 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4642 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4647 eval "$wx_cv_use_nanox"
4649 if test x"$enablestring" = xdisable; then
4650 if test $wxUSE_NANOX = no; then
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4660 $as_echo "$result" >&6; }
4665 if test -z "$defaultval"; then
4666 if test x"$enablestring" = xdisable; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4674 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4675 # Check whether --enable-gpe was given.
4676 if test "${enable_gpe+set}" = set; then :
4677 enableval=$enable_gpe;
4678 if test "$enableval" = yes; then
4679 wx_cv_use_gpe='wxUSE_GPE=yes'
4681 wx_cv_use_gpe='wxUSE_GPE=no'
4686 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4691 eval "$wx_cv_use_gpe"
4693 if test x
"$enablestring" = xdisable
; then
4694 if test $wxUSE_GPE = no
; then
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4704 $as_echo "$result" >&6; }
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4709 $as_echo_n "checking for toolkit... " >&6; }
4713 # In Wine, we need to default to MSW, not GTK or MOTIF
4714 if test "$wxUSE_WINE" = "yes"; then
4715 DEFAULT_DEFAULT_wxUSE_GTK
=0
4716 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4717 DEFAULT_DEFAULT_wxUSE_MSW
=1
4724 if test "$wxUSE_GUI" = "yes"; then
4726 if test "$USE_BEOS" = 1; then
4727 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4730 if test "$TOOLKIT_GIVEN" = 1; then
4731 for toolkit
in $ALL_TOOLKITS; do
4733 eval "value=\$${var}"
4734 if test "x$value" = "xno"; then
4736 elif test "x$value" != "x"; then
4740 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4741 eval "wx${toolkit}_VERSION=$value"
4745 for toolkit
in $ALL_TOOLKITS; do
4746 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4747 eval "wxUSE_$toolkit=\$${var}"
4751 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4752 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4753 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4756 *-pc-os2_emx | *-pc-os2-emx )
4757 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4760 case "$NUM_TOOLKITS" in
4764 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4767 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4770 for toolkit
in $ALL_TOOLKITS; do
4772 eval "value=\$${var}"
4773 if test "$value" = 1; then
4774 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4776 $as_echo "$toolkit_echo" >&6; }
4780 if test "x$host_alias" != "x"; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4782 $as_echo "base ($host_alias hosted) only" >&6; }
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4785 $as_echo "base only" >&6; }
4790 if test "$wxUSE_OSX_CARBON" = 1 \
4791 -o "$wxUSE_OSX_COCOA" = 1 \
4792 -o "$wxUSE_OSX_IPHONE" = 1; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4799 $as_echo_n "checking for --with-libpng... " >&6; }
4801 # Check whether --with-libpng was given.
4802 if test "${with_libpng+set}" = set; then :
4803 withval
=$with_libpng;
4804 if test "$withval" = yes; then
4805 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4806 elif test "$withval" = no
; then
4807 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4808 elif test "$withval" = sys
; then
4809 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4810 elif test "$withval" = builtin; then
4811 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4813 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4818 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4823 eval "$wx_cv_use_libpng"
4825 if test "$wxUSE_LIBPNG" = yes; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4827 $as_echo "yes" >&6; }
4828 elif test "$wxUSE_LIBPNG" = no; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 $as_echo "no" >&6; }
4831 elif test "$wxUSE_LIBPNG" = sys; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4833 $as_echo "system version" >&6; }
4834 elif test "$wxUSE_LIBPNG" = builtin; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4836 $as_echo "builtin version" >&6; }
4838 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4843 $as_echo_n "checking for --with-libjpeg... " >&6; }
4845 # Check whether --with-libjpeg was given.
4846 if test "${with_libjpeg+set}" = set; then :
4847 withval=$with_libjpeg;
4848 if test "$withval" = yes; then
4849 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4850 elif test "$withval" = no; then
4851 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4852 elif test "$withval" = sys; then
4853 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4854 elif test "$withval" = builtin; then
4855 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4857 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4862 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4867 eval "$wx_cv_use_libjpeg"
4869 if test "$wxUSE_LIBJPEG" = yes; then
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4871 $as_echo "yes" >&6; }
4872 elif test "$wxUSE_LIBJPEG" = no; then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4874 $as_echo "no
" >&6; }
4875 elif test "$wxUSE_LIBJPEG" = sys; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4877 $as_echo "system version
" >&6; }
4878 elif test "$wxUSE_LIBJPEG" = builtin; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4880 $as_echo "builtin version
" >&6; }
4882 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4887 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4889 # Check whether --with-libtiff was given.
4890 if test "${with_libtiff+set}" = set; then :
4891 withval=$with_libtiff;
4892 if test "$withval" = yes; then
4893 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4894 elif test "$withval" = no; then
4895 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4896 elif test "$withval" = sys; then
4897 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4898 elif test "$withval" = builtin; then
4899 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4901 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4906 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4911 eval "$wx_cv_use_libtiff"
4913 if test "$wxUSE_LIBTIFF" = yes; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4915 $as_echo "yes" >&6; }
4916 elif test "$wxUSE_LIBTIFF" = no
; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4919 elif test "$wxUSE_LIBTIFF" = sys
; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4921 $as_echo "system version" >&6; }
4922 elif test "$wxUSE_LIBTIFF" = builtin; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4924 $as_echo "builtin version" >&6; }
4926 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4931 $as_echo_n "checking for --with-libxpm... " >&6; }
4933 # Check whether --with-libxpm was given.
4934 if test "${with_libxpm+set}" = set; then :
4935 withval
=$with_libxpm;
4936 if test "$withval" = yes; then
4937 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
4938 elif test "$withval" = no
; then
4939 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
4940 elif test "$withval" = sys
; then
4941 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
4942 elif test "$withval" = builtin; then
4943 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
4945 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4950 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4955 eval "$wx_cv_use_libxpm"
4957 if test "$wxUSE_LIBXPM" = yes; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4959 $as_echo "yes" >&6; }
4960 elif test "$wxUSE_LIBXPM" = no; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4963 elif test "$wxUSE_LIBXPM" = sys; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4965 $as_echo "system version" >&6; }
4966 elif test "$wxUSE_LIBXPM" = builtin; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4968 $as_echo "builtin version" >&6; }
4970 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4975 defaultval=$wxUSE_ALL_FEATURES
4976 if test -z "$defaultval"; then
4977 if test x"$withstring" = xwithout; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4984 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4986 # Check whether --with-libiconv was given.
4987 if test "${with_libiconv+set}" = set; then :
4988 withval=$with_libiconv;
4989 if test "$withval" = yes; then
4990 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
4992 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
4997 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5002 eval "$wx_cv_use_libiconv"
5004 if test x"$withstring" = xwithout; then
5005 if test $wxUSE_LIBICONV = yes; then
5011 result=$wxUSE_LIBICONV
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5015 $as_echo "$result" >&6; }
5019 defaultval=$wxUSE_ALL_FEATURES
5020 if test -z "$defaultval"; then
5021 if test x"$withstring" = xwithout; then
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libmspack" >&5
5028 $as_echo_n "checking
for --${withstring:-with}-libmspack...
" >&6; }
5030 # Check whether --with-libmspack was given.
5031 if test "${with_libmspack+set}" = set; then :
5032 withval=$with_libmspack;
5033 if test "$withval" = yes; then
5034 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5036 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5041 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5046 eval "$wx_cv_use_libmspack"
5048 if test x
"$withstring" = xwithout
; then
5049 if test $wxUSE_LIBMSPACK = yes; then
5055 result
=$wxUSE_LIBMSPACK
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5059 $as_echo "$result" >&6; }
5063 defaultval
=$wxUSE_ALL_FEATURES
5064 if test -z "$defaultval"; then
5065 if test x
"$withstring" = xwithout
; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5072 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5074 # Check whether --with-gtkprint was given.
5075 if test "${with_gtkprint+set}" = set; then :
5076 withval
=$with_gtkprint;
5077 if test "$withval" = yes; then
5078 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
5080 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
5085 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5090 eval "$wx_cv_use_gtkprint"
5092 if test x"$withstring" = xwithout; then
5093 if test $wxUSE_GTKPRINT = yes; then
5099 result=$wxUSE_GTKPRINT
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5103 $as_echo "$result" >&6; }
5107 defaultval=$wxUSE_ALL_FEATURES
5108 if test -z "$defaultval"; then
5109 if test x"$withstring" = xwithout; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5116 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5118 # Check whether --with-gnomeprint was given.
5119 if test "${with_gnomeprint+set}" = set; then :
5120 withval=$with_gnomeprint;
5121 if test "$withval" = yes; then
5122 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
5124 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
5129 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5134 eval "$wx_cv_use_gnomeprint"
5136 if test x"$withstring" = xwithout; then
5137 if test $wxUSE_LIBGNOMEPRINT = yes; then
5143 result=$wxUSE_LIBGNOMEPRINT
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5147 $as_echo "$result" >&6; }
5151 defaultval=$wxUSE_ALL_FEATURES
5152 if test -z "$defaultval"; then
5153 if test x"$withstring" = xwithout; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gnomevfs" >&5
5160 $as_echo_n "checking
for --${withstring:-with}-gnomevfs...
" >&6; }
5162 # Check whether --with-gnomevfs was given.
5163 if test "${with_gnomevfs+set}" = set; then :
5164 withval=$with_gnomevfs;
5165 if test "$withval" = yes; then
5166 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5168 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5173 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5178 eval "$wx_cv_use_gnomevfs"
5180 if test x
"$withstring" = xwithout
; then
5181 if test $wxUSE_LIBGNOMEVFS = yes; then
5187 result
=$wxUSE_LIBGNOMEVFS
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5191 $as_echo "$result" >&6; }
5195 defaultval
=$wxUSE_ALL_FEATURES
5196 if test -z "$defaultval"; then
5197 if test x
"$withstring" = xwithout
; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5204 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5206 # Check whether --with-libnotify was given.
5207 if test "${with_libnotify+set}" = set; then :
5208 withval
=$with_libnotify;
5209 if test "$withval" = yes; then
5210 wx_cv_use_libnotify
='wxUSE_LIBNOTIFY=yes'
5212 wx_cv_use_libnotify
='wxUSE_LIBNOTIFY=no'
5217 wx_cv_use_libnotify
='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5222 eval "$wx_cv_use_libnotify"
5224 if test x"$withstring" = xwithout; then
5225 if test $wxUSE_LIBNOTIFY = yes; then
5231 result=$wxUSE_LIBNOTIFY
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5235 $as_echo "$result" >&6; }
5239 defaultval=$wxUSE_ALL_FEATURES
5240 if test -z "$defaultval"; then
5241 if test x"$withstring" = xwithout; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5248 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5250 # Check whether --with-hildon was given.
5251 if test "${with_hildon+set}" = set; then :
5252 withval=$with_hildon;
5253 if test "$withval" = yes; then
5254 wx_cv_use_hildon='wxUSE_LIBHILDON
=yes'
5256 wx_cv_use_hildon='wxUSE_LIBHILDON
=no
'
5261 wx_cv_use_hildon='wxUSE_LIBHILDON
=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5266 eval "$wx_cv_use_hildon"
5268 if test x"$withstring" = xwithout; then
5269 if test $wxUSE_LIBHILDON = yes; then
5275 result=$wxUSE_LIBHILDON
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5279 $as_echo "$result" >&6; }
5283 defaultval=$wxUSE_ALL_FEATURES
5284 if test -z "$defaultval"; then
5285 if test x"$withstring" = xwithout; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-opengl" >&5
5292 $as_echo_n "checking
for --${withstring:-with}-opengl...
" >&6; }
5294 # Check whether --with-opengl was given.
5295 if test "${with_opengl+set}" = set; then :
5296 withval=$with_opengl;
5297 if test "$withval" = yes; then
5298 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5300 wx_cv_use_opengl='wxUSE_OPENGL=no'
5305 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5310 eval "$wx_cv_use_opengl"
5312 if test x
"$withstring" = xwithout
; then
5313 if test $wxUSE_OPENGL = yes; then
5319 result
=$wxUSE_OPENGL
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5323 $as_echo "$result" >&6; }
5330 defaultval
=$wxUSE_ALL_FEATURES
5331 if test -z "$defaultval"; then
5332 if test x
"$withstring" = xwithout
; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5339 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5341 # Check whether --with-dmalloc was given.
5342 if test "${with_dmalloc+set}" = set; then :
5343 withval
=$with_dmalloc;
5344 if test "$withval" = yes; then
5345 wx_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
5347 wx_cv_use_dmalloc
='wxUSE_DMALLOC=no'
5352 wx_cv_use_dmalloc
='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5357 eval "$wx_cv_use_dmalloc"
5359 if test x"$withstring" = xwithout; then
5360 if test $wxUSE_DMALLOC = yes; then
5366 result=$wxUSE_DMALLOC
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5370 $as_echo "$result" >&6; }
5374 defaultval=$wxUSE_ALL_FEATURES
5375 if test -z "$defaultval"; then
5376 if test x"$withstring" = xwithout; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5383 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5385 # Check whether --with-sdl was given.
5386 if test "${with_sdl+set}" = set; then :
5388 if test "$withval" = yes; then
5389 wx_cv_use_sdl='wxUSE_LIBSDL
=yes'
5391 wx_cv_use_sdl='wxUSE_LIBSDL
=no
'
5396 wx_cv_use_sdl='wxUSE_LIBSDL
=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5401 eval "$wx_cv_use_sdl"
5403 if test x"$withstring" = xwithout; then
5404 if test $wxUSE_LIBSDL = yes; then
5410 result=$wxUSE_LIBSDL
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5414 $as_echo "$result" >&6; }
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-regex" >&5
5418 $as_echo_n "checking
for --with-regex...
" >&6; }
5420 # Check whether --with-regex was given.
5421 if test "${with_regex+set}" = set; then :
5422 withval=$with_regex;
5423 if test "$withval" = yes; then
5424 wx_cv_use_regex='wxUSE_REGEX=yes'
5425 elif test "$withval" = no; then
5426 wx_cv_use_regex='wxUSE_REGEX=no'
5427 elif test "$withval" = sys; then
5428 wx_cv_use_regex='wxUSE_REGEX=sys'
5429 elif test "$withval" = builtin; then
5430 wx_cv_use_regex='wxUSE_REGEX=builtin'
5432 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5437 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5442 eval "$wx_cv_use_regex"
5444 if test "$wxUSE_REGEX" = yes; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5446 $as_echo "yes" >&6; }
5447 elif test "$wxUSE_REGEX" = no
; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5450 elif test "$wxUSE_REGEX" = sys
; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5452 $as_echo "system version" >&6; }
5453 elif test "$wxUSE_REGEX" = builtin; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5455 $as_echo "builtin version" >&6; }
5457 as_fn_error $?
"Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5462 $as_echo_n "checking for --with-zlib... " >&6; }
5464 # Check whether --with-zlib was given.
5465 if test "${with_zlib+set}" = set; then :
5467 if test "$withval" = yes; then
5468 wx_cv_use_zlib
='wxUSE_ZLIB=yes'
5469 elif test "$withval" = no
; then
5470 wx_cv_use_zlib
='wxUSE_ZLIB=no'
5471 elif test "$withval" = sys
; then
5472 wx_cv_use_zlib
='wxUSE_ZLIB=sys'
5473 elif test "$withval" = builtin; then
5474 wx_cv_use_zlib
='wxUSE_ZLIB=builtin'
5476 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5481 wx_cv_use_zlib
='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5486 eval "$wx_cv_use_zlib"
5488 if test "$wxUSE_ZLIB" = yes; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5490 $as_echo "yes" >&6; }
5491 elif test "$wxUSE_ZLIB" = no; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5494 elif test "$wxUSE_ZLIB" = sys; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5496 $as_echo "system version" >&6; }
5497 elif test "$wxUSE_ZLIB" = builtin; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5499 $as_echo "builtin version" >&6; }
5501 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5506 $as_echo_n "checking for --with-expat... " >&6; }
5508 # Check whether --with-expat was given.
5509 if test "${with_expat+set}" = set; then :
5510 withval=$with_expat;
5511 if test "$withval" = yes; then
5512 wx_cv_use_expat='wxUSE_EXPAT
=yes'
5513 elif test "$withval" = no; then
5514 wx_cv_use_expat='wxUSE_EXPAT
=no
'
5515 elif test "$withval" = sys; then
5516 wx_cv_use_expat='wxUSE_EXPAT
=sys
'
5517 elif test "$withval" = builtin; then
5518 wx_cv_use_expat='wxUSE_EXPAT
=builtin'
5520 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5525 wx_cv_use_expat='wxUSE_EXPAT
=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5530 eval "$wx_cv_use_expat"
5532 if test "$wxUSE_EXPAT" = yes; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5534 $as_echo "yes" >&6; }
5535 elif test "$wxUSE_EXPAT" = no; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5537 $as_echo "no
" >&6; }
5538 elif test "$wxUSE_EXPAT" = sys; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5540 $as_echo "system version
" >&6; }
5541 elif test "$wxUSE_EXPAT" = builtin; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5543 $as_echo "builtin version
" >&6; }
5545 as_fn_error $? "Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-macosx-sdk" >&5
5550 $as_echo_n "checking
for --with-macosx-sdk...
" >&6; }
5552 # Check whether --with-macosx-sdk was given.
5553 if test "${with_macosx_sdk+set}" = set; then :
5554 withval=$with_macosx_sdk;
5555 wxUSE_MACOSX_SDK=$withval
5556 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK
=$withval"
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_MACOSX_SDK" >&5
5561 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-macosx-version-min" >&5
5564 $as_echo_n "checking
for --with-macosx-version-min...
" >&6; }
5566 # Check whether --with-macosx-version-min was given.
5567 if test "${with_macosx_version_min+set}" = set; then :
5568 withval=$with_macosx_version_min;
5569 wxUSE_MACOSX_VERSION_MIN=$withval
5570 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN
=$withval"
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_MACOSX_VERSION_MIN" >&5
5575 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --enable-debug" >&5
5579 $as_echo_n "checking
for --enable-debug...
" >&6; }
5580 # Check whether --enable-debug was given.
5581 if test "${enable_debug+set}" = set; then :
5582 enableval=$enable_debug;
5583 if test "$enableval" = yes; then
5585 elif test "$enableval" = no; then
5587 elif test "$enableval" = max; then
5589 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5591 as_fn_error $? "Invalid
--enable-debug value
, must be
yes, no or max
" "$LINENO" 5
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${enable_debug-default}" >&5
5600 $as_echo "${enable_debug-default}" >&6; }
5602 case "$wxUSE_DEBUG" in
5604 DEFAULT_wxUSE_DEBUG_FLAG=yes
5605 DEFAULT_wxUSE_DEBUG_INFO=yes
5607 DEFAULT_wxUSE_OPTIMISE=no
5611 DEFAULT_wxUSE_DEBUG_FLAG=no
5612 DEFAULT_wxUSE_DEBUG_INFO=no
5616 DEFAULT_wxUSE_DEBUG_FLAG=yes
5617 DEFAULT_wxUSE_DEBUG_INFO=no
5622 enablestring=disable
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_flag" >&5
5633 $as_echo_n "checking
for --${enablestring:-enable}-debug_flag...
" >&6; }
5634 # Check whether --enable-debug_flag was given.
5635 if test "${enable_debug_flag+set}" = set; then :
5636 enableval=$enable_debug_flag;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5640 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5645 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5650 eval "$wx_cv_use_debug_flag"
5652 if test x
"$enablestring" = xdisable
; then
5653 if test $wxUSE_DEBUG_FLAG = no
; then
5659 result
=$wxUSE_DEBUG_FLAG
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5663 $as_echo "$result" >&6; }
5668 if test -z "$defaultval"; then
5669 if test x
"$enablestring" = xdisable
; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5677 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5678 # Check whether --enable-debug_info was given.
5679 if test "${enable_debug_info+set}" = set; then :
5680 enableval
=$enable_debug_info;
5681 if test "$enableval" = yes; then
5682 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
5684 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
5689 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5694 eval "$wx_cv_use_debug_info"
5696 if test x"$enablestring" = xdisable; then
5697 if test $wxUSE_DEBUG_INFO = no; then
5703 result=$wxUSE_DEBUG_INFO
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5707 $as_echo "$result" >&6; }
5714 if test -z "$defaultval"; then
5715 if test x"$enablestring" = xdisable; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5723 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5724 # Check whether --enable-debug_gdb was given.
5725 if test "${enable_debug_gdb+set}" = set; then :
5726 enableval=$enable_debug_gdb;
5727 if test "$enableval" = yes; then
5728 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
5730 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
5735 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5740 eval "$wx_cv_use_debug_gdb"
5742 if test x"$enablestring" = xdisable; then
5743 if test $wxUSE_DEBUG_GDB = no; then
5749 result=$wxUSE_DEBUG_GDB
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5753 $as_echo "$result" >&6; }
5758 if test -z "$defaultval"; then
5759 if test x"$enablestring" = xdisable; then
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_cntxt" >&5
5767 $as_echo_n "checking
for --${enablestring:-enable}-debug_cntxt...
" >&6; }
5768 # Check whether --enable-debug_cntxt was given.
5769 if test "${enable_debug_cntxt+set}" = set; then :
5770 enableval=$enable_debug_cntxt;
5771 if test "$enableval" = yes; then
5772 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5774 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5779 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5784 eval "$wx_cv_use_debug_cntxt"
5786 if test x
"$enablestring" = xdisable
; then
5787 if test $wxUSE_DEBUG_CONTEXT = no
; then
5793 result
=$wxUSE_DEBUG_CONTEXT
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5797 $as_echo "$result" >&6; }
5802 if test -z "$defaultval"; then
5803 if test x
"$enablestring" = xdisable
; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5811 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5812 # Check whether --enable-mem_tracing was given.
5813 if test "${enable_mem_tracing+set}" = set; then :
5814 enableval
=$enable_mem_tracing;
5815 if test "$enableval" = yes; then
5816 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
5818 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
5823 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5828 eval "$wx_cv_use_mem_tracing"
5830 if test x"$enablestring" = xdisable; then
5831 if test $wxUSE_MEM_TRACING = no; then
5837 result=$wxUSE_MEM_TRACING
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5841 $as_echo "$result" >&6; }
5846 enablestring=disable
5848 if test -z "$defaultval"; then
5849 if test x"$enablestring" = xdisable; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5857 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5858 # Check whether --enable-shared was given.
5859 if test "${enable_shared+set}" = set; then :
5860 enableval=$enable_shared;
5861 if test "$enableval" = yes; then
5862 wx_cv_use_shared='wxUSE_SHARED
=yes'
5864 wx_cv_use_shared='wxUSE_SHARED
=no
'
5869 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5874 eval "$wx_cv_use_shared"
5876 if test x"$enablestring" = xdisable; then
5877 if test $wxUSE_SHARED = no; then
5883 result=$wxUSE_SHARED
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5887 $as_echo "$result" >&6; }
5892 if test -z "$defaultval"; then
5893 if test x"$enablestring" = xdisable; then
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stl" >&5
5901 $as_echo_n "checking
for --${enablestring:-enable}-stl...
" >&6; }
5902 # Check whether --enable-stl was given.
5903 if test "${enable_stl+set}" = set; then :
5904 enableval=$enable_stl;
5905 if test "$enableval" = yes; then
5906 wx_cv_use_stl='wxUSE_STL=yes'
5908 wx_cv_use_stl='wxUSE_STL=no'
5913 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5918 eval "$wx_cv_use_stl"
5920 if test x
"$enablestring" = xdisable
; then
5921 if test $wxUSE_STL = no
; then
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5931 $as_echo "$result" >&6; }
5933 if test "$wxUSE_STL" = "yes"; then
5934 DEFAULT_wxUSE_STD_CONTAINERS
=yes
5935 DEFAULT_wxUSE_STD_IOSTREAM
=yes
5936 DEFAULT_wxUSE_STD_STRING
=yes
5941 if test -z "$defaultval"; then
5942 if test x
"$enablestring" = xdisable
; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5950 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5951 # Check whether --enable-std_containers was given.
5952 if test "${enable_std_containers+set}" = set; then :
5953 enableval
=$enable_std_containers;
5954 if test "$enableval" = yes; then
5955 wx_cv_use_std_containers
='wxUSE_STD_CONTAINERS=yes'
5957 wx_cv_use_std_containers
='wxUSE_STD_CONTAINERS=no'
5962 wx_cv_use_std_containers
='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5967 eval "$wx_cv_use_std_containers"
5969 if test x"$enablestring" = xdisable; then
5970 if test $wxUSE_STD_CONTAINERS = no; then
5976 result=$wxUSE_STD_CONTAINERS
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5980 $as_echo "$result" >&6; }
5985 if test -z "$defaultval"; then
5986 if test x"$enablestring" = xdisable; then
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5994 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5995 # Check whether --enable-std_iostreams was given.
5996 if test "${enable_std_iostreams+set}" = set; then :
5997 enableval=$enable_std_iostreams;
5998 if test "$enableval" = yes; then
5999 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
6001 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
6006 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6011 eval "$wx_cv_use_std_iostreams"
6013 if test x"$enablestring" = xdisable; then
6014 if test $wxUSE_STD_IOSTREAM = no; then
6020 result=$wxUSE_STD_IOSTREAM
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6024 $as_echo "$result" >&6; }
6029 if test -z "$defaultval"; then
6030 if test x"$enablestring" = xdisable; then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string" >&5
6038 $as_echo_n "checking
for --${enablestring:-enable}-std_string...
" >&6; }
6039 # Check whether --enable-std_string was given.
6040 if test "${enable_std_string+set}" = set; then :
6041 enableval=$enable_std_string;
6042 if test "$enableval" = yes; then
6043 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6045 wx_cv_use_std_string='wxUSE_STD_STRING=no'
6050 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6055 eval "$wx_cv_use_std_string"
6057 if test x
"$enablestring" = xdisable
; then
6058 if test $wxUSE_STD_STRING = no
; then
6064 result
=$wxUSE_STD_STRING
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6068 $as_echo "$result" >&6; }
6073 if test -z "$defaultval"; then
6074 if test x
"$enablestring" = xdisable
; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6082 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6083 # Check whether --enable-std_string_conv_in_wxstring was given.
6084 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6085 enableval
=$enable_std_string_conv_in_wxstring;
6086 if test "$enableval" = yes; then
6087 wx_cv_use_std_string_conv_in_wxstring
='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6089 wx_cv_use_std_string_conv_in_wxstring
='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6094 wx_cv_use_std_string_conv_in_wxstring
='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6099 eval "$wx_cv_use_std_string_conv_in_wxstring"
6101 if test x"$enablestring" = xdisable; then
6102 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6108 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6112 $as_echo "$result" >&6; }
6115 enablestring=disable
6117 if test -z "$defaultval"; then
6118 if test x"$enablestring" = xdisable; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6126 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6127 # Check whether --enable-unicode was given.
6128 if test "${enable_unicode+set}" = set; then :
6129 enableval=$enable_unicode;
6130 if test "$enableval" = yes; then
6131 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
6133 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
6138 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6143 eval "$wx_cv_use_unicode"
6145 if test x"$enablestring" = xdisable; then
6146 if test $wxUSE_UNICODE = no; then
6152 result=$wxUSE_UNICODE
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6156 $as_echo "$result" >&6; }
6161 if test -z "$defaultval"; then
6162 if test x"$enablestring" = xdisable; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mslu" >&5
6170 $as_echo_n "checking
for --${enablestring:-enable}-mslu...
" >&6; }
6171 # Check whether --enable-mslu was given.
6172 if test "${enable_mslu+set}" = set; then :
6173 enableval=$enable_mslu;
6174 if test "$enableval" = yes; then
6175 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6177 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6182 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6187 eval "$wx_cv_use_mslu"
6189 if test x
"$enablestring" = xdisable
; then
6190 if test $wxUSE_UNICODE_MSLU = no
; then
6196 result
=$wxUSE_UNICODE_MSLU
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6200 $as_echo "$result" >&6; }
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6205 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6206 # Check whether --enable-utf8 was given.
6207 if test "${enable_utf8+set}" = set; then :
6208 enableval
=$enable_utf8;
6209 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
6213 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6218 eval "$wx_cv_use_utf8"
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6221 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6226 if test -z "$defaultval"; then
6227 if test x
"$enablestring" = xdisable
; then
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6235 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6236 # Check whether --enable-utf8only was given.
6237 if test "${enable_utf8only+set}" = set; then :
6238 enableval
=$enable_utf8only;
6239 if test "$enableval" = yes; then
6240 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
6242 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
6247 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6252 eval "$wx_cv_use_utf8only"
6254 if test x"$enablestring" = xdisable; then
6255 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6261 result=$wxUSE_UNICODE_UTF8_LOCALE
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6265 $as_echo "$result" >&6; }
6270 if test -z "$defaultval"; then
6271 if test x"$enablestring" = xdisable; then
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6279 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6280 # Check whether --enable-extended_rtti was given.
6281 if test "${enable_extended_rtti+set}" = set; then :
6282 enableval=$enable_extended_rtti;
6283 if test "$enableval" = yes; then
6284 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
6286 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
6291 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6296 eval "$wx_cv_use_extended_rtti"
6298 if test x"$enablestring" = xdisable; then
6299 if test $wxUSE_EXTENDED_RTTI = no; then
6305 result=$wxUSE_EXTENDED_RTTI
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6309 $as_echo "$result" >&6; }
6311 if test "$USE_OS2" = 1; then
6312 DEFAULT_wxUSE_OMF=no
6316 if test -z "$defaultval"; then
6317 if test x"$enablestring" = xdisable; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-omf" >&5
6325 $as_echo_n "checking
for --${enablestring:-enable}-omf...
" >&6; }
6326 # Check whether --enable-omf was given.
6327 if test "${enable_omf+set}" = set; then :
6328 enableval=$enable_omf;
6329 if test "$enableval" = yes; then
6330 wx_cv_use_omf='wxUSE_OMF=yes'
6332 wx_cv_use_omf='wxUSE_OMF=no'
6337 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6342 eval "$wx_cv_use_omf"
6344 if test x
"$enablestring" = xdisable
; then
6345 if test $wxUSE_OMF = no
; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6355 $as_echo "$result" >&6; }
6360 enablestring
=disable
6362 if test -z "$defaultval"; then
6363 if test x
"$enablestring" = xdisable
; then
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6371 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6372 # Check whether --enable-optimise was given.
6373 if test "${enable_optimise+set}" = set; then :
6374 enableval
=$enable_optimise;
6375 if test "$enableval" = yes; then
6376 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
6378 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
6383 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6388 eval "$wx_cv_use_optimise"
6390 if test x"$enablestring" = xdisable; then
6391 if test $wxUSE_OPTIMISE = no; then
6397 result=$wxUSE_OPTIMISE
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6401 $as_echo "$result" >&6; }
6407 if test -z "$defaultval"; then
6408 if test x"$enablestring" = xdisable; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6416 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6417 # Check whether --enable-profile was given.
6418 if test "${enable_profile+set}" = set; then :
6419 enableval=$enable_profile;
6420 if test "$enableval" = yes; then
6421 wx_cv_use_profile='wxUSE_PROFILE
=yes'
6423 wx_cv_use_profile='wxUSE_PROFILE
=no
'
6428 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6433 eval "$wx_cv_use_profile"
6435 if test x"$enablestring" = xdisable; then
6436 if test $wxUSE_PROFILE = no; then
6442 result=$wxUSE_PROFILE
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6446 $as_echo "$result" >&6; }
6451 if test -z "$defaultval"; then
6452 if test x"$enablestring" = xdisable; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_rtti" >&5
6460 $as_echo_n "checking
for --${enablestring:-enable}-no_rtti...
" >&6; }
6461 # Check whether --enable-no_rtti was given.
6462 if test "${enable_no_rtti+set}" = set; then :
6463 enableval=$enable_no_rtti;
6464 if test "$enableval" = yes; then
6465 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6467 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6472 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6477 eval "$wx_cv_use_no_rtti"
6479 if test x
"$enablestring" = xdisable
; then
6480 if test $wxUSE_NO_RTTI = no
; then
6486 result
=$wxUSE_NO_RTTI
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6490 $as_echo "$result" >&6; }
6495 if test -z "$defaultval"; then
6496 if test x
"$enablestring" = xdisable
; then
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6504 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6505 # Check whether --enable-no_exceptions was given.
6506 if test "${enable_no_exceptions+set}" = set; then :
6507 enableval
=$enable_no_exceptions;
6508 if test "$enableval" = yes; then
6509 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
6511 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
6516 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6521 eval "$wx_cv_use_no_exceptions"
6523 if test x"$enablestring" = xdisable; then
6524 if test $wxUSE_NO_EXCEPTIONS = no; then
6530 result=$wxUSE_NO_EXCEPTIONS
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6534 $as_echo "$result" >&6; }
6539 if test -z "$defaultval"; then
6540 if test x"$enablestring" = xdisable; then
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6548 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6549 # Check whether --enable-permissive was given.
6550 if test "${enable_permissive+set}" = set; then :
6551 enableval=$enable_permissive;
6552 if test "$enableval" = yes; then
6553 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
6555 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
6560 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6565 eval "$wx_cv_use_permissive"
6567 if test x"$enablestring" = xdisable; then
6568 if test $wxUSE_PERMISSIVE = no; then
6574 result=$wxUSE_PERMISSIVE
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6578 $as_echo "$result" >&6; }
6583 if test -z "$defaultval"; then
6584 if test x"$enablestring" = xdisable; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_deps" >&5
6592 $as_echo_n "checking
for --${enablestring:-enable}-no_deps...
" >&6; }
6593 # Check whether --enable-no_deps was given.
6594 if test "${enable_no_deps+set}" = set; then :
6595 enableval=$enable_no_deps;
6596 if test "$enableval" = yes; then
6597 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6599 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6604 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6609 eval "$wx_cv_use_no_deps"
6611 if test x
"$enablestring" = xdisable
; then
6612 if test $wxUSE_NO_DEPS = no
; then
6618 result
=$wxUSE_NO_DEPS
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6622 $as_echo "$result" >&6; }
6625 enablestring
=disable
6627 if test -z "$defaultval"; then
6628 if test x
"$enablestring" = xdisable
; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6636 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6637 # Check whether --enable-vararg_macros was given.
6638 if test "${enable_vararg_macros+set}" = set; then :
6639 enableval
=$enable_vararg_macros;
6640 if test "$enableval" = yes; then
6641 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
6643 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
6648 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6653 eval "$wx_cv_use_vararg_macros"
6655 if test x"$enablestring" = xdisable; then
6656 if test $wxUSE_VARARG_MACROS = no; then
6662 result=$wxUSE_VARARG_MACROS
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6666 $as_echo "$result" >&6; }
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6672 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6673 # Check whether --enable-universal_binary was given.
6674 if test "${enable_universal_binary+set}" = set; then :
6675 enableval=$enable_universal_binary;
6676 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6680 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6685 eval "$wx_cv_use_universal_binary"
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6688 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6693 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6694 # Check whether --enable-macosx_arch was given.
6695 if test "${enable_macosx_arch+set}" = set; then :
6696 enableval=$enable_macosx_arch;
6697 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6701 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH
='$DEFAULT_wxUSE_MAC_ARCH
6706 eval "$wx_cv_use_macosx_arch"
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6709 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6715 if test -z "$defaultval"; then
6716 if test x"$enablestring" = xdisable; then
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6724 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6725 # Check whether --enable-compat26 was given.
6726 if test "${enable_compat26+set}" = set; then :
6727 enableval=$enable_compat26;
6728 if test "$enableval" = yes; then
6729 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
6731 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
6736 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6741 eval "$wx_cv_use_compat26"
6743 if test x"$enablestring" = xdisable; then
6744 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6750 result=$WXWIN_COMPATIBILITY_2_6
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6754 $as_echo "$result" >&6; }
6757 enablestring=disable
6759 if test -z "$defaultval"; then
6760 if test x"$enablestring" = xdisable; then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-compat28" >&5
6768 $as_echo_n "checking
for --${enablestring:-enable}-compat28...
" >&6; }
6769 # Check whether --enable-compat28 was given.
6770 if test "${enable_compat28+set}" = set; then :
6771 enableval=$enable_compat28;
6772 if test "$enableval" = yes; then
6773 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6775 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6780 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6785 eval "$wx_cv_use_compat28"
6787 if test x
"$enablestring" = xdisable
; then
6788 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
6794 result
=$WXWIN_COMPATIBILITY_2_8
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6798 $as_echo "$result" >&6; }
6802 enablestring
=disable
6804 if test -z "$defaultval"; then
6805 if test x
"$enablestring" = xdisable
; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6813 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6814 # Check whether --enable-rpath was given.
6815 if test "${enable_rpath+set}" = set; then :
6816 enableval
=$enable_rpath;
6817 if test "$enableval" = yes; then
6818 wx_cv_use_rpath
='wxUSE_RPATH=yes'
6820 wx_cv_use_rpath
='wxUSE_RPATH=no'
6825 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6830 eval "$wx_cv_use_rpath"
6832 if test x"$enablestring" = xdisable; then
6833 if test $wxUSE_RPATH = no; then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6843 $as_echo "$result" >&6; }
6849 if test -z "$defaultval"; then
6850 if test x"$enablestring" = xdisable; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6858 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6859 # Check whether --enable-objc_uniquifying was given.
6860 if test "${enable_objc_uniquifying+set}" = set; then :
6861 enableval=$enable_objc_uniquifying;
6862 if test "$enableval" = yes; then
6863 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
6865 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
6870 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6875 eval "$wx_cv_use_objc_uniquifying"
6877 if test x"$enablestring" = xdisable; then
6878 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6884 result=$wxUSE_OBJC_UNIQUIFYING
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6888 $as_echo "$result" >&6; }
6892 enablestring=disable
6894 if test -z "$defaultval"; then
6895 if test x"$enablestring" = xdisable; then
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-visibility" >&5
6903 $as_echo_n "checking
for --${enablestring:-enable}-visibility...
" >&6; }
6904 # Check whether --enable-visibility was given.
6905 if test "${enable_visibility+set}" = set; then :
6906 enableval=$enable_visibility;
6907 if test "$enableval" = yes; then
6908 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6910 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6915 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6920 eval "$wx_cv_use_visibility"
6922 if test x
"$enablestring" = xdisable
; then
6923 if test $wxUSE_VISIBILITY = no
; then
6929 result
=$wxUSE_VISIBILITY
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6933 $as_echo "$result" >&6; }
6936 enablestring
=disable
6938 if test -z "$defaultval"; then
6939 if test x
"$enablestring" = xdisable
; then
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6947 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6948 # Check whether --enable-tls was given.
6949 if test "${enable_tls+set}" = set; then :
6950 enableval
=$enable_tls;
6951 if test "$enableval" = yes; then
6952 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
6954 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
6959 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6964 eval "$wx_cv_use_tls"
6966 if test x"$enablestring" = xdisable; then
6967 if test $wxUSE_COMPILER_TLS = no; then
6973 result=$wxUSE_COMPILER_TLS
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6977 $as_echo "$result" >&6; }
6983 defaultval=$wxUSE_ALL_FEATURES
6984 if test -z "$defaultval"; then
6985 if test x"$enablestring" = xdisable; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6993 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6994 # Check whether --enable-intl was given.
6995 if test "${enable_intl+set}" = set; then :
6996 enableval=$enable_intl;
6997 if test "$enableval" = yes; then
6998 wx_cv_use_intl='wxUSE_INTL
=yes'
7000 wx_cv_use_intl='wxUSE_INTL
=no
'
7005 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7010 eval "$wx_cv_use_intl"
7012 if test x"$enablestring" = xdisable; then
7013 if test $wxUSE_INTL = no; then
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7023 $as_echo "$result" >&6; }
7027 defaultval=$wxUSE_ALL_FEATURES
7028 if test -z "$defaultval"; then
7029 if test x"$enablestring" = xdisable; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-xlocale" >&5
7037 $as_echo_n "checking
for --${enablestring:-enable}-xlocale...
" >&6; }
7038 # Check whether --enable-xlocale was given.
7039 if test "${enable_xlocale+set}" = set; then :
7040 enableval=$enable_xlocale;
7041 if test "$enableval" = yes; then
7042 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7044 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7049 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7054 eval "$wx_cv_use_xlocale"
7056 if test x
"$enablestring" = xdisable
; then
7057 if test $wxUSE_XLOCALE = no
; then
7063 result
=$wxUSE_XLOCALE
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7067 $as_echo "$result" >&6; }
7071 defaultval
=$wxUSE_ALL_FEATURES
7072 if test -z "$defaultval"; then
7073 if test x
"$enablestring" = xdisable
; then
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7081 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7082 # Check whether --enable-config was given.
7083 if test "${enable_config+set}" = set; then :
7084 enableval
=$enable_config;
7085 if test "$enableval" = yes; then
7086 wx_cv_use_config
='wxUSE_CONFIG=yes'
7088 wx_cv_use_config
='wxUSE_CONFIG=no'
7093 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7098 eval "$wx_cv_use_config"
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_CONFIG = no; then
7107 result=$wxUSE_CONFIG
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7111 $as_echo "$result" >&6; }
7116 defaultval=$wxUSE_ALL_FEATURES
7117 if test -z "$defaultval"; then
7118 if test x"$enablestring" = xdisable; then
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7126 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7127 # Check whether --enable-protocols was given.
7128 if test "${enable_protocols+set}" = set; then :
7129 enableval=$enable_protocols;
7130 if test "$enableval" = yes; then
7131 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
7133 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
7138 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7143 eval "$wx_cv_use_protocols"
7145 if test x"$enablestring" = xdisable; then
7146 if test $wxUSE_PROTOCOL = no; then
7152 result=$wxUSE_PROTOCOL
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7156 $as_echo "$result" >&6; }
7160 defaultval=$wxUSE_ALL_FEATURES
7161 if test -z "$defaultval"; then
7162 if test x"$enablestring" = xdisable; then
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ftp" >&5
7170 $as_echo_n "checking
for --${enablestring:-enable}-ftp...
" >&6; }
7171 # Check whether --enable-ftp was given.
7172 if test "${enable_ftp+set}" = set; then :
7173 enableval=$enable_ftp;
7174 if test "$enableval" = yes; then
7175 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7177 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7182 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7187 eval "$wx_cv_use_ftp"
7189 if test x
"$enablestring" = xdisable
; then
7190 if test $wxUSE_PROTOCOL_FTP = no
; then
7196 result
=$wxUSE_PROTOCOL_FTP
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7200 $as_echo "$result" >&6; }
7204 defaultval
=$wxUSE_ALL_FEATURES
7205 if test -z "$defaultval"; then
7206 if test x
"$enablestring" = xdisable
; then
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7214 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7215 # Check whether --enable-http was given.
7216 if test "${enable_http+set}" = set; then :
7217 enableval
=$enable_http;
7218 if test "$enableval" = yes; then
7219 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
7221 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
7226 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7231 eval "$wx_cv_use_http"
7233 if test x"$enablestring" = xdisable; then
7234 if test $wxUSE_PROTOCOL_HTTP = no; then
7240 result=$wxUSE_PROTOCOL_HTTP
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7244 $as_echo "$result" >&6; }
7248 defaultval=$wxUSE_ALL_FEATURES
7249 if test -z "$defaultval"; then
7250 if test x"$enablestring" = xdisable; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7258 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7259 # Check whether --enable-fileproto was given.
7260 if test "${enable_fileproto+set}" = set; then :
7261 enableval=$enable_fileproto;
7262 if test "$enableval" = yes; then
7263 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
7265 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
7270 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7275 eval "$wx_cv_use_fileproto"
7277 if test x"$enablestring" = xdisable; then
7278 if test $wxUSE_PROTOCOL_FILE = no; then
7284 result=$wxUSE_PROTOCOL_FILE
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7288 $as_echo "$result" >&6; }
7292 defaultval=$wxUSE_ALL_FEATURES
7293 if test -z "$defaultval"; then
7294 if test x"$enablestring" = xdisable; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sockets" >&5
7302 $as_echo_n "checking
for --${enablestring:-enable}-sockets...
" >&6; }
7303 # Check whether --enable-sockets was given.
7304 if test "${enable_sockets+set}" = set; then :
7305 enableval=$enable_sockets;
7306 if test "$enableval" = yes; then
7307 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7309 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7314 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7319 eval "$wx_cv_use_sockets"
7321 if test x
"$enablestring" = xdisable
; then
7322 if test $wxUSE_SOCKETS = no
; then
7328 result
=$wxUSE_SOCKETS
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7332 $as_echo "$result" >&6; }
7336 defaultval
=$wxUSE_ALL_FEATURES
7337 if test -z "$defaultval"; then
7338 if test x
"$enablestring" = xdisable
; then
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7346 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7347 # Check whether --enable-ipv6 was given.
7348 if test "${enable_ipv6+set}" = set; then :
7349 enableval
=$enable_ipv6;
7350 if test "$enableval" = yes; then
7351 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
7353 wx_cv_use_ipv6
='wxUSE_IPV6=no'
7358 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7363 eval "$wx_cv_use_ipv6"
7365 if test x"$enablestring" = xdisable; then
7366 if test $wxUSE_IPV6 = no; then
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7376 $as_echo "$result" >&6; }
7380 defaultval=$wxUSE_ALL_FEATURES
7381 if test -z "$defaultval"; then
7382 if test x"$enablestring" = xdisable; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7390 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7391 # Check whether --enable-ole was given.
7392 if test "${enable_ole+set}" = set; then :
7393 enableval=$enable_ole;
7394 if test "$enableval" = yes; then
7395 wx_cv_use_ole='wxUSE_OLE
=yes'
7397 wx_cv_use_ole='wxUSE_OLE
=no
'
7402 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7407 eval "$wx_cv_use_ole"
7409 if test x"$enablestring" = xdisable; then
7410 if test $wxUSE_OLE = no; then
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7420 $as_echo "$result" >&6; }
7424 defaultval=$wxUSE_ALL_FEATURES
7425 if test -z "$defaultval"; then
7426 if test x"$enablestring" = xdisable; then
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dataobj" >&5
7434 $as_echo_n "checking
for --${enablestring:-enable}-dataobj...
" >&6; }
7435 # Check whether --enable-dataobj was given.
7436 if test "${enable_dataobj+set}" = set; then :
7437 enableval=$enable_dataobj;
7438 if test "$enableval" = yes; then
7439 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7441 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7446 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7451 eval "$wx_cv_use_dataobj"
7453 if test x
"$enablestring" = xdisable
; then
7454 if test $wxUSE_DATAOBJ = no
; then
7460 result
=$wxUSE_DATAOBJ
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7464 $as_echo "$result" >&6; }
7469 defaultval
=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x
"$enablestring" = xdisable
; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7479 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7480 # Check whether --enable-ipc was given.
7481 if test "${enable_ipc+set}" = set; then :
7482 enableval
=$enable_ipc;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_ipc
='wxUSE_IPC=yes'
7486 wx_cv_use_ipc
='wxUSE_IPC=no'
7491 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7496 eval "$wx_cv_use_ipc"
7498 if test x"$enablestring" = xdisable; then
7499 if test $wxUSE_IPC = no; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7509 $as_echo "$result" >&6; }
7514 defaultval=$wxUSE_ALL_FEATURES
7515 if test -z "$defaultval"; then
7516 if test x"$enablestring" = xdisable; then
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7524 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7525 # Check whether --enable-baseevtloop was given.
7526 if test "${enable_baseevtloop+set}" = set; then :
7527 enableval=$enable_baseevtloop;
7528 if test "$enableval" = yes; then
7529 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
7531 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
7536 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7541 eval "$wx_cv_use_baseevtloop"
7543 if test x"$enablestring" = xdisable; then
7544 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7550 result=$wxUSE_CONSOLE_EVENTLOOP
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7554 $as_echo "$result" >&6; }
7558 defaultval=$wxUSE_ALL_FEATURES
7559 if test -z "$defaultval"; then
7560 if test x"$enablestring" = xdisable; then
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-epollloop" >&5
7568 $as_echo_n "checking
for --${enablestring:-enable}-epollloop...
" >&6; }
7569 # Check whether --enable-epollloop was given.
7570 if test "${enable_epollloop+set}" = set; then :
7571 enableval=$enable_epollloop;
7572 if test "$enableval" = yes; then
7573 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7575 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7580 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7585 eval "$wx_cv_use_epollloop"
7587 if test x
"$enablestring" = xdisable
; then
7588 if test $wxUSE_EPOLL_DISPATCHER = no
; then
7594 result
=$wxUSE_EPOLL_DISPATCHER
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7598 $as_echo "$result" >&6; }
7602 defaultval
=$wxUSE_ALL_FEATURES
7603 if test -z "$defaultval"; then
7604 if test x
"$enablestring" = xdisable
; then
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7612 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7613 # Check whether --enable-selectloop was given.
7614 if test "${enable_selectloop+set}" = set; then :
7615 enableval
=$enable_selectloop;
7616 if test "$enableval" = yes; then
7617 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
7619 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
7624 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7629 eval "$wx_cv_use_selectloop"
7631 if test x"$enablestring" = xdisable; then
7632 if test $wxUSE_SELECT_DISPATCHER = no; then
7638 result=$wxUSE_SELECT_DISPATCHER
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7642 $as_echo "$result" >&6; }
7647 defaultval=$wxUSE_ALL_FEATURES
7648 if test -z "$defaultval"; then
7649 if test x"$enablestring" = xdisable; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7657 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7658 # Check whether --enable-any was given.
7659 if test "${enable_any+set}" = set; then :
7660 enableval=$enable_any;
7661 if test "$enableval" = yes; then
7662 wx_cv_use_any='wxUSE_ANY
=yes'
7664 wx_cv_use_any='wxUSE_ANY
=no
'
7669 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7674 eval "$wx_cv_use_any"
7676 if test x"$enablestring" = xdisable; then
7677 if test $wxUSE_ANY = no; then
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7687 $as_echo "$result" >&6; }
7691 defaultval=$wxUSE_ALL_FEATURES
7692 if test -z "$defaultval"; then
7693 if test x"$enablestring" = xdisable; then
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-apple_ieee" >&5
7701 $as_echo_n "checking
for --${enablestring:-enable}-apple_ieee...
" >&6; }
7702 # Check whether --enable-apple_ieee was given.
7703 if test "${enable_apple_ieee+set}" = set; then :
7704 enableval=$enable_apple_ieee;
7705 if test "$enableval" = yes; then
7706 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7708 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7713 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7718 eval "$wx_cv_use_apple_ieee"
7720 if test x
"$enablestring" = xdisable
; then
7721 if test $wxUSE_APPLE_IEEE = no
; then
7727 result
=$wxUSE_APPLE_IEEE
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7731 $as_echo "$result" >&6; }
7735 defaultval
=$wxUSE_ALL_FEATURES
7736 if test -z "$defaultval"; then
7737 if test x
"$enablestring" = xdisable
; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7745 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7746 # Check whether --enable-arcstream was given.
7747 if test "${enable_arcstream+set}" = set; then :
7748 enableval
=$enable_arcstream;
7749 if test "$enableval" = yes; then
7750 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
7752 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
7757 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7762 eval "$wx_cv_use_arcstream"
7764 if test x"$enablestring" = xdisable; then
7765 if test $wxUSE_ARCHIVE_STREAMS = no; then
7771 result=$wxUSE_ARCHIVE_STREAMS
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7775 $as_echo "$result" >&6; }
7779 defaultval=$wxUSE_ALL_FEATURES
7780 if test -z "$defaultval"; then
7781 if test x"$enablestring" = xdisable; then
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7789 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7790 # Check whether --enable-base64 was given.
7791 if test "${enable_base64+set}" = set; then :
7792 enableval=$enable_base64;
7793 if test "$enableval" = yes; then
7794 wx_cv_use_base64='wxUSE_BASE64
=yes'
7796 wx_cv_use_base64='wxUSE_BASE64
=no
'
7801 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7806 eval "$wx_cv_use_base64"
7808 if test x"$enablestring" = xdisable; then
7809 if test $wxUSE_BASE64 = no; then
7815 result=$wxUSE_BASE64
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7819 $as_echo "$result" >&6; }
7823 defaultval=$wxUSE_ALL_FEATURES
7824 if test -z "$defaultval"; then
7825 if test x"$enablestring" = xdisable; then
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-backtrace" >&5
7833 $as_echo_n "checking
for --${enablestring:-enable}-backtrace...
" >&6; }
7834 # Check whether --enable-backtrace was given.
7835 if test "${enable_backtrace+set}" = set; then :
7836 enableval=$enable_backtrace;
7837 if test "$enableval" = yes; then
7838 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7840 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7845 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7850 eval "$wx_cv_use_backtrace"
7852 if test x
"$enablestring" = xdisable
; then
7853 if test $wxUSE_STACKWALKER = no
; then
7859 result
=$wxUSE_STACKWALKER
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7863 $as_echo "$result" >&6; }
7867 defaultval
=$wxUSE_ALL_FEATURES
7868 if test -z "$defaultval"; then
7869 if test x
"$enablestring" = xdisable
; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7877 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7878 # Check whether --enable-catch_segvs was given.
7879 if test "${enable_catch_segvs+set}" = set; then :
7880 enableval
=$enable_catch_segvs;
7881 if test "$enableval" = yes; then
7882 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
7884 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
7889 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7894 eval "$wx_cv_use_catch_segvs"
7896 if test x"$enablestring" = xdisable; then
7897 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7903 result=$wxUSE_ON_FATAL_EXCEPTION
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7907 $as_echo "$result" >&6; }
7911 defaultval=$wxUSE_ALL_FEATURES
7912 if test -z "$defaultval"; then
7913 if test x"$enablestring" = xdisable; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7921 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7922 # Check whether --enable-cmdline was given.
7923 if test "${enable_cmdline+set}" = set; then :
7924 enableval=$enable_cmdline;
7925 if test "$enableval" = yes; then
7926 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
7928 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
7933 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7938 eval "$wx_cv_use_cmdline"
7940 if test x"$enablestring" = xdisable; then
7941 if test $wxUSE_CMDLINE_PARSER = no; then
7947 result=$wxUSE_CMDLINE_PARSER
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7951 $as_echo "$result" >&6; }
7955 defaultval=$wxUSE_ALL_FEATURES
7956 if test -z "$defaultval"; then
7957 if test x"$enablestring" = xdisable; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datetime" >&5
7965 $as_echo_n "checking
for --${enablestring:-enable}-datetime...
" >&6; }
7966 # Check whether --enable-datetime was given.
7967 if test "${enable_datetime+set}" = set; then :
7968 enableval=$enable_datetime;
7969 if test "$enableval" = yes; then
7970 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7972 wx_cv_use_datetime='wxUSE_DATETIME=no'
7977 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7982 eval "$wx_cv_use_datetime"
7984 if test x
"$enablestring" = xdisable
; then
7985 if test $wxUSE_DATETIME = no
; then
7991 result
=$wxUSE_DATETIME
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7995 $as_echo "$result" >&6; }
7999 defaultval
=$wxUSE_ALL_FEATURES
8000 if test -z "$defaultval"; then
8001 if test x
"$enablestring" = xdisable
; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8009 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8010 # Check whether --enable-debugreport was given.
8011 if test "${enable_debugreport+set}" = set; then :
8012 enableval
=$enable_debugreport;
8013 if test "$enableval" = yes; then
8014 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
8016 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
8021 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8026 eval "$wx_cv_use_debugreport"
8028 if test x"$enablestring" = xdisable; then
8029 if test $wxUSE_DEBUGREPORT = no; then
8035 result=$wxUSE_DEBUGREPORT
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8039 $as_echo "$result" >&6; }
8043 defaultval=$wxUSE_ALL_FEATURES
8044 if test -z "$defaultval"; then
8045 if test x"$enablestring" = xdisable; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8053 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8054 # Check whether --enable-dialupman was given.
8055 if test "${enable_dialupman+set}" = set; then :
8056 enableval=$enable_dialupman;
8057 if test "$enableval" = yes; then
8058 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
8060 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
8065 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8070 eval "$wx_cv_use_dialupman"
8072 if test x"$enablestring" = xdisable; then
8073 if test $wxUSE_DIALUP_MANAGER = no; then
8079 result=$wxUSE_DIALUP_MANAGER
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8083 $as_echo "$result" >&6; }
8087 defaultval=$wxUSE_ALL_FEATURES
8088 if test -z "$defaultval"; then
8089 if test x"$enablestring" = xdisable; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynlib" >&5
8097 $as_echo_n "checking
for --${enablestring:-enable}-dynlib...
" >&6; }
8098 # Check whether --enable-dynlib was given.
8099 if test "${enable_dynlib+set}" = set; then :
8100 enableval=$enable_dynlib;
8101 if test "$enableval" = yes; then
8102 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8104 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8109 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8114 eval "$wx_cv_use_dynlib"
8116 if test x
"$enablestring" = xdisable
; then
8117 if test $wxUSE_DYNLIB_CLASS = no
; then
8123 result
=$wxUSE_DYNLIB_CLASS
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8127 $as_echo "$result" >&6; }
8131 defaultval
=$wxUSE_ALL_FEATURES
8132 if test -z "$defaultval"; then
8133 if test x
"$enablestring" = xdisable
; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8141 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8142 # Check whether --enable-dynamicloader was given.
8143 if test "${enable_dynamicloader+set}" = set; then :
8144 enableval
=$enable_dynamicloader;
8145 if test "$enableval" = yes; then
8146 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
8148 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
8153 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8158 eval "$wx_cv_use_dynamicloader"
8160 if test x"$enablestring" = xdisable; then
8161 if test $wxUSE_DYNAMIC_LOADER = no; then
8167 result=$wxUSE_DYNAMIC_LOADER
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8171 $as_echo "$result" >&6; }
8175 defaultval=$wxUSE_ALL_FEATURES
8176 if test -z "$defaultval"; then
8177 if test x"$enablestring" = xdisable; then
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8185 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8186 # Check whether --enable-exceptions was given.
8187 if test "${enable_exceptions+set}" = set; then :
8188 enableval=$enable_exceptions;
8189 if test "$enableval" = yes; then
8190 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
8192 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
8197 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8202 eval "$wx_cv_use_exceptions"
8204 if test x"$enablestring" = xdisable; then
8205 if test $wxUSE_EXCEPTIONS = no; then
8211 result=$wxUSE_EXCEPTIONS
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8215 $as_echo "$result" >&6; }
8219 defaultval=$wxUSE_ALL_FEATURES
8220 if test -z "$defaultval"; then
8221 if test x"$enablestring" = xdisable; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ffile" >&5
8229 $as_echo_n "checking
for --${enablestring:-enable}-ffile...
" >&6; }
8230 # Check whether --enable-ffile was given.
8231 if test "${enable_ffile+set}" = set; then :
8232 enableval=$enable_ffile;
8233 if test "$enableval" = yes; then
8234 wx_cv_use_ffile='wxUSE_FFILE=yes'
8236 wx_cv_use_ffile='wxUSE_FFILE=no'
8241 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8246 eval "$wx_cv_use_ffile"
8248 if test x
"$enablestring" = xdisable
; then
8249 if test $wxUSE_FFILE = no
; then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8259 $as_echo "$result" >&6; }
8263 defaultval
=$wxUSE_ALL_FEATURES
8264 if test -z "$defaultval"; then
8265 if test x
"$enablestring" = xdisable
; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8273 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8274 # Check whether --enable-file was given.
8275 if test "${enable_file+set}" = set; then :
8276 enableval
=$enable_file;
8277 if test "$enableval" = yes; then
8278 wx_cv_use_file
='wxUSE_FILE=yes'
8280 wx_cv_use_file
='wxUSE_FILE=no'
8285 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8290 eval "$wx_cv_use_file"
8292 if test x"$enablestring" = xdisable; then
8293 if test $wxUSE_FILE = no; then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8303 $as_echo "$result" >&6; }
8307 defaultval=$wxUSE_ALL_FEATURES
8308 if test -z "$defaultval"; then
8309 if test x"$enablestring" = xdisable; then
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8317 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8318 # Check whether --enable-filehistory was given.
8319 if test "${enable_filehistory+set}" = set; then :
8320 enableval=$enable_filehistory;
8321 if test "$enableval" = yes; then
8322 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=yes'
8324 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=no
'
8329 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8334 eval "$wx_cv_use_filehistory"
8336 if test x"$enablestring" = xdisable; then
8337 if test $wxUSE_FILE_HISTORY = no; then
8343 result=$wxUSE_FILE_HISTORY
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8347 $as_echo "$result" >&6; }
8351 defaultval=$wxUSE_ALL_FEATURES
8352 if test -z "$defaultval"; then
8353 if test x"$enablestring" = xdisable; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filesystem" >&5
8361 $as_echo_n "checking
for --${enablestring:-enable}-filesystem...
" >&6; }
8362 # Check whether --enable-filesystem was given.
8363 if test "${enable_filesystem+set}" = set; then :
8364 enableval=$enable_filesystem;
8365 if test "$enableval" = yes; then
8366 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8368 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8373 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8378 eval "$wx_cv_use_filesystem"
8380 if test x
"$enablestring" = xdisable
; then
8381 if test $wxUSE_FILESYSTEM = no
; then
8387 result
=$wxUSE_FILESYSTEM
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8391 $as_echo "$result" >&6; }
8395 defaultval
=$wxUSE_ALL_FEATURES
8396 if test -z "$defaultval"; then
8397 if test x
"$enablestring" = xdisable
; then
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8405 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8406 # Check whether --enable-fontenum was given.
8407 if test "${enable_fontenum+set}" = set; then :
8408 enableval
=$enable_fontenum;
8409 if test "$enableval" = yes; then
8410 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
8412 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
8417 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8422 eval "$wx_cv_use_fontenum"
8424 if test x"$enablestring" = xdisable; then
8425 if test $wxUSE_FONTENUM = no; then
8431 result=$wxUSE_FONTENUM
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8435 $as_echo "$result" >&6; }
8439 defaultval=$wxUSE_ALL_FEATURES
8440 if test -z "$defaultval"; then
8441 if test x"$enablestring" = xdisable; then
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8449 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8450 # Check whether --enable-fontmap was given.
8451 if test "${enable_fontmap+set}" = set; then :
8452 enableval=$enable_fontmap;
8453 if test "$enableval" = yes; then
8454 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
8456 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
8461 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8466 eval "$wx_cv_use_fontmap"
8468 if test x"$enablestring" = xdisable; then
8469 if test $wxUSE_FONTMAP = no; then
8475 result=$wxUSE_FONTMAP
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8479 $as_echo "$result" >&6; }
8483 defaultval=$wxUSE_ALL_FEATURES
8484 if test -z "$defaultval"; then
8485 if test x"$enablestring" = xdisable; then
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_archive" >&5
8493 $as_echo_n "checking
for --${enablestring:-enable}-fs_archive...
" >&6; }
8494 # Check whether --enable-fs_archive was given.
8495 if test "${enable_fs_archive+set}" = set; then :
8496 enableval=$enable_fs_archive;
8497 if test "$enableval" = yes; then
8498 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8500 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8505 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8510 eval "$wx_cv_use_fs_archive"
8512 if test x
"$enablestring" = xdisable
; then
8513 if test $wxUSE_FS_ARCHIVE = no
; then
8519 result
=$wxUSE_FS_ARCHIVE
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8523 $as_echo "$result" >&6; }
8527 defaultval
=$wxUSE_ALL_FEATURES
8528 if test -z "$defaultval"; then
8529 if test x
"$enablestring" = xdisable
; then
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8537 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8538 # Check whether --enable-fs_inet was given.
8539 if test "${enable_fs_inet+set}" = set; then :
8540 enableval
=$enable_fs_inet;
8541 if test "$enableval" = yes; then
8542 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
8544 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
8549 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8554 eval "$wx_cv_use_fs_inet"
8556 if test x"$enablestring" = xdisable; then
8557 if test $wxUSE_FS_INET = no; then
8563 result=$wxUSE_FS_INET
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8567 $as_echo "$result" >&6; }
8571 defaultval=$wxUSE_ALL_FEATURES
8572 if test -z "$defaultval"; then
8573 if test x"$enablestring" = xdisable; then
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8581 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8582 # Check whether --enable-fs_zip was given.
8583 if test "${enable_fs_zip+set}" = set; then :
8584 enableval=$enable_fs_zip;
8585 if test "$enableval" = yes; then
8586 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
8588 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
8593 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8598 eval "$wx_cv_use_fs_zip"
8600 if test x"$enablestring" = xdisable; then
8601 if test $wxUSE_FS_ZIP = no; then
8607 result=$wxUSE_FS_ZIP
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8611 $as_echo "$result" >&6; }
8615 defaultval=$wxUSE_ALL_FEATURES
8616 if test -z "$defaultval"; then
8617 if test x"$enablestring" = xdisable; then
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fswatcher" >&5
8625 $as_echo_n "checking
for --${enablestring:-enable}-fswatcher...
" >&6; }
8626 # Check whether --enable-fswatcher was given.
8627 if test "${enable_fswatcher+set}" = set; then :
8628 enableval=$enable_fswatcher;
8629 if test "$enableval" = yes; then
8630 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8632 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8637 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8642 eval "$wx_cv_use_fswatcher"
8644 if test x
"$enablestring" = xdisable
; then
8645 if test $wxUSE_FSWATCHER = no
; then
8651 result
=$wxUSE_FSWATCHER
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8655 $as_echo "$result" >&6; }
8659 defaultval
=$wxUSE_ALL_FEATURES
8660 if test -z "$defaultval"; then
8661 if test x
"$enablestring" = xdisable
; then
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8669 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8670 # Check whether --enable-geometry was given.
8671 if test "${enable_geometry+set}" = set; then :
8672 enableval
=$enable_geometry;
8673 if test "$enableval" = yes; then
8674 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
8676 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
8681 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8686 eval "$wx_cv_use_geometry"
8688 if test x"$enablestring" = xdisable; then
8689 if test $wxUSE_GEOMETRY = no; then
8695 result=$wxUSE_GEOMETRY
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8699 $as_echo "$result" >&6; }
8703 defaultval=$wxUSE_ALL_FEATURES
8704 if test -z "$defaultval"; then
8705 if test x"$enablestring" = xdisable; then
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8713 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8714 # Check whether --enable-log was given.
8715 if test "${enable_log+set}" = set; then :
8716 enableval=$enable_log;
8717 if test "$enableval" = yes; then
8718 wx_cv_use_log='wxUSE_LOG
=yes'
8720 wx_cv_use_log='wxUSE_LOG
=no
'
8725 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8730 eval "$wx_cv_use_log"
8732 if test x"$enablestring" = xdisable; then
8733 if test $wxUSE_LOG = no; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8743 $as_echo "$result" >&6; }
8747 defaultval=$wxUSE_ALL_FEATURES
8748 if test -z "$defaultval"; then
8749 if test x"$enablestring" = xdisable; then
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-longlong" >&5
8757 $as_echo_n "checking
for --${enablestring:-enable}-longlong...
" >&6; }
8758 # Check whether --enable-longlong was given.
8759 if test "${enable_longlong+set}" = set; then :
8760 enableval=$enable_longlong;
8761 if test "$enableval" = yes; then
8762 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8764 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8769 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8774 eval "$wx_cv_use_longlong"
8776 if test x
"$enablestring" = xdisable
; then
8777 if test $wxUSE_LONGLONG = no
; then
8783 result
=$wxUSE_LONGLONG
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8787 $as_echo "$result" >&6; }
8791 defaultval
=$wxUSE_ALL_FEATURES
8792 if test -z "$defaultval"; then
8793 if test x
"$enablestring" = xdisable
; then
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8801 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8802 # Check whether --enable-mimetype was given.
8803 if test "${enable_mimetype+set}" = set; then :
8804 enableval
=$enable_mimetype;
8805 if test "$enableval" = yes; then
8806 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8808 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8813 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8818 eval "$wx_cv_use_mimetype"
8820 if test x"$enablestring" = xdisable; then
8821 if test $wxUSE_MIMETYPE = no; then
8827 result=$wxUSE_MIMETYPE
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8831 $as_echo "$result" >&6; }
8835 defaultval=$wxUSE_ALL_FEATURES
8836 if test -z "$defaultval"; then
8837 if test x"$enablestring" = xdisable; then
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8845 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8846 # Check whether --enable-printfposparam was given.
8847 if test "${enable_printfposparam+set}" = set; then :
8848 enableval=$enable_printfposparam;
8849 if test "$enableval" = yes; then
8850 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8852 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8857 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8862 eval "$wx_cv_use_printfposparam"
8864 if test x"$enablestring" = xdisable; then
8865 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8871 result=$wxUSE_PRINTF_POS_PARAMS
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8875 $as_echo "$result" >&6; }
8879 defaultval=$wxUSE_ALL_FEATURES
8880 if test -z "$defaultval"; then
8881 if test x"$enablestring" = xdisable; then
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-snglinst" >&5
8889 $as_echo_n "checking
for --${enablestring:-enable}-snglinst...
" >&6; }
8890 # Check whether --enable-snglinst was given.
8891 if test "${enable_snglinst+set}" = set; then :
8892 enableval=$enable_snglinst;
8893 if test "$enableval" = yes; then
8894 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8896 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8901 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8906 eval "$wx_cv_use_snglinst"
8908 if test x
"$enablestring" = xdisable
; then
8909 if test $wxUSE_SNGLINST_CHECKER = no
; then
8915 result
=$wxUSE_SNGLINST_CHECKER
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8919 $as_echo "$result" >&6; }
8923 defaultval
=$wxUSE_ALL_FEATURES
8924 if test -z "$defaultval"; then
8925 if test x
"$enablestring" = xdisable
; then
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8933 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8934 # Check whether --enable-sound was given.
8935 if test "${enable_sound+set}" = set; then :
8936 enableval
=$enable_sound;
8937 if test "$enableval" = yes; then
8938 wx_cv_use_sound
='wxUSE_SOUND=yes'
8940 wx_cv_use_sound
='wxUSE_SOUND=no'
8945 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8950 eval "$wx_cv_use_sound"
8952 if test x"$enablestring" = xdisable; then
8953 if test $wxUSE_SOUND = no; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8963 $as_echo "$result" >&6; }
8967 defaultval=$wxUSE_ALL_FEATURES
8968 if test -z "$defaultval"; then
8969 if test x"$enablestring" = xdisable; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8977 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8978 # Check whether --enable-stdpaths was given.
8979 if test "${enable_stdpaths+set}" = set; then :
8980 enableval=$enable_stdpaths;
8981 if test "$enableval" = yes; then
8982 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
8984 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
8989 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8994 eval "$wx_cv_use_stdpaths"
8996 if test x"$enablestring" = xdisable; then
8997 if test $wxUSE_STDPATHS = no; then
9003 result=$wxUSE_STDPATHS
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9007 $as_echo "$result" >&6; }
9011 defaultval=$wxUSE_ALL_FEATURES
9012 if test -z "$defaultval"; then
9013 if test x"$enablestring" = xdisable; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stopwatch" >&5
9021 $as_echo_n "checking
for --${enablestring:-enable}-stopwatch...
" >&6; }
9022 # Check whether --enable-stopwatch was given.
9023 if test "${enable_stopwatch+set}" = set; then :
9024 enableval=$enable_stopwatch;
9025 if test "$enableval" = yes; then
9026 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9028 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9033 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9038 eval "$wx_cv_use_stopwatch"
9040 if test x
"$enablestring" = xdisable
; then
9041 if test $wxUSE_STOPWATCH = no
; then
9047 result
=$wxUSE_STOPWATCH
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9051 $as_echo "$result" >&6; }
9055 defaultval
=$wxUSE_ALL_FEATURES
9056 if test -z "$defaultval"; then
9057 if test x
"$enablestring" = xdisable
; then
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9065 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9066 # Check whether --enable-streams was given.
9067 if test "${enable_streams+set}" = set; then :
9068 enableval
=$enable_streams;
9069 if test "$enableval" = yes; then
9070 wx_cv_use_streams
='wxUSE_STREAMS=yes'
9072 wx_cv_use_streams
='wxUSE_STREAMS=no'
9077 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9082 eval "$wx_cv_use_streams"
9084 if test x"$enablestring" = xdisable; then
9085 if test $wxUSE_STREAMS = no; then
9091 result=$wxUSE_STREAMS
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9095 $as_echo "$result" >&6; }
9099 defaultval=$wxUSE_ALL_FEATURES
9100 if test -z "$defaultval"; then
9101 if test x"$enablestring" = xdisable; then
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9109 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9110 # Check whether --enable-sysoptions was given.
9111 if test "${enable_sysoptions+set}" = set; then :
9112 enableval=$enable_sysoptions;
9113 if test "$enableval" = yes; then
9114 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
9116 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
9121 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9126 eval "$wx_cv_use_sysoptions"
9128 if test x"$enablestring" = xdisable; then
9129 if test $wxUSE_SYSTEM_OPTIONS = no; then
9135 result=$wxUSE_SYSTEM_OPTIONS
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9139 $as_echo "$result" >&6; }
9143 defaultval=$wxUSE_ALL_FEATURES
9144 if test -z "$defaultval"; then
9145 if test x"$enablestring" = xdisable; then
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tarstream" >&5
9153 $as_echo_n "checking
for --${enablestring:-enable}-tarstream...
" >&6; }
9154 # Check whether --enable-tarstream was given.
9155 if test "${enable_tarstream+set}" = set; then :
9156 enableval=$enable_tarstream;
9157 if test "$enableval" = yes; then
9158 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9160 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9165 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9170 eval "$wx_cv_use_tarstream"
9172 if test x
"$enablestring" = xdisable
; then
9173 if test $wxUSE_TARSTREAM = no
; then
9179 result
=$wxUSE_TARSTREAM
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9183 $as_echo "$result" >&6; }
9187 defaultval
=$wxUSE_ALL_FEATURES
9188 if test -z "$defaultval"; then
9189 if test x
"$enablestring" = xdisable
; then
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9197 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9198 # Check whether --enable-textbuf was given.
9199 if test "${enable_textbuf+set}" = set; then :
9200 enableval
=$enable_textbuf;
9201 if test "$enableval" = yes; then
9202 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
9204 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
9209 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9214 eval "$wx_cv_use_textbuf"
9216 if test x"$enablestring" = xdisable; then
9217 if test $wxUSE_TEXTBUFFER = no; then
9223 result=$wxUSE_TEXTBUFFER
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9227 $as_echo "$result" >&6; }
9231 defaultval=$wxUSE_ALL_FEATURES
9232 if test -z "$defaultval"; then
9233 if test x"$enablestring" = xdisable; then
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9241 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9242 # Check whether --enable-textfile was given.
9243 if test "${enable_textfile+set}" = set; then :
9244 enableval=$enable_textfile;
9245 if test "$enableval" = yes; then
9246 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
9248 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
9253 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9258 eval "$wx_cv_use_textfile"
9260 if test x"$enablestring" = xdisable; then
9261 if test $wxUSE_TEXTFILE = no; then
9267 result=$wxUSE_TEXTFILE
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9271 $as_echo "$result" >&6; }
9275 defaultval=$wxUSE_ALL_FEATURES
9276 if test -z "$defaultval"; then
9277 if test x"$enablestring" = xdisable; then
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-timer" >&5
9285 $as_echo_n "checking
for --${enablestring:-enable}-timer...
" >&6; }
9286 # Check whether --enable-timer was given.
9287 if test "${enable_timer+set}" = set; then :
9288 enableval=$enable_timer;
9289 if test "$enableval" = yes; then
9290 wx_cv_use_timer='wxUSE_TIMER=yes'
9292 wx_cv_use_timer='wxUSE_TIMER=no'
9297 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9302 eval "$wx_cv_use_timer"
9304 if test x
"$enablestring" = xdisable
; then
9305 if test $wxUSE_TIMER = no
; then
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9315 $as_echo "$result" >&6; }
9319 defaultval
=$wxUSE_ALL_FEATURES
9320 if test -z "$defaultval"; then
9321 if test x
"$enablestring" = xdisable
; then
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9329 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9330 # Check whether --enable-variant was given.
9331 if test "${enable_variant+set}" = set; then :
9332 enableval
=$enable_variant;
9333 if test "$enableval" = yes; then
9334 wx_cv_use_variant
='wxUSE_VARIANT=yes'
9336 wx_cv_use_variant
='wxUSE_VARIANT=no'
9341 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9346 eval "$wx_cv_use_variant"
9348 if test x"$enablestring" = xdisable; then
9349 if test $wxUSE_VARIANT = no; then
9355 result=$wxUSE_VARIANT
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9359 $as_echo "$result" >&6; }
9363 defaultval=$wxUSE_ALL_FEATURES
9364 if test -z "$defaultval"; then
9365 if test x"$enablestring" = xdisable; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9373 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9374 # Check whether --enable-zipstream was given.
9375 if test "${enable_zipstream+set}" = set; then :
9376 enableval=$enable_zipstream;
9377 if test "$enableval" = yes; then
9378 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
9380 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
9385 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9390 eval "$wx_cv_use_zipstream"
9392 if test x"$enablestring" = xdisable; then
9393 if test $wxUSE_ZIPSTREAM = no; then
9399 result=$wxUSE_ZIPSTREAM
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9403 $as_echo "$result" >&6; }
9408 defaultval=$wxUSE_ALL_FEATURES
9409 if test -z "$defaultval"; then
9410 if test x"$enablestring" = xdisable; then
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-url" >&5
9418 $as_echo_n "checking
for --${enablestring:-enable}-url...
" >&6; }
9419 # Check whether --enable-url was given.
9420 if test "${enable_url+set}" = set; then :
9421 enableval=$enable_url;
9422 if test "$enableval" = yes; then
9423 wx_cv_use_url='wxUSE_URL=yes'
9425 wx_cv_use_url='wxUSE_URL=no'
9430 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9435 eval "$wx_cv_use_url"
9437 if test x
"$enablestring" = xdisable
; then
9438 if test $wxUSE_URL = no
; then
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9448 $as_echo "$result" >&6; }
9452 defaultval
=$wxUSE_ALL_FEATURES
9453 if test -z "$defaultval"; then
9454 if test x
"$enablestring" = xdisable
; then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9462 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9463 # Check whether --enable-protocol was given.
9464 if test "${enable_protocol+set}" = set; then :
9465 enableval
=$enable_protocol;
9466 if test "$enableval" = yes; then
9467 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
9469 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
9474 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9479 eval "$wx_cv_use_protocol"
9481 if test x"$enablestring" = xdisable; then
9482 if test $wxUSE_PROTOCOL = no; then
9488 result=$wxUSE_PROTOCOL
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9492 $as_echo "$result" >&6; }
9496 defaultval=$wxUSE_ALL_FEATURES
9497 if test -z "$defaultval"; then
9498 if test x"$enablestring" = xdisable; then
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9506 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9507 # Check whether --enable-protocol_http was given.
9508 if test "${enable_protocol_http+set}" = set; then :
9509 enableval=$enable_protocol_http;
9510 if test "$enableval" = yes; then
9511 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
9513 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
9518 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9523 eval "$wx_cv_use_protocol_http"
9525 if test x"$enablestring" = xdisable; then
9526 if test $wxUSE_PROTOCOL_HTTP = no; then
9532 result=$wxUSE_PROTOCOL_HTTP
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9536 $as_echo "$result" >&6; }
9540 defaultval=$wxUSE_ALL_FEATURES
9541 if test -z "$defaultval"; then
9542 if test x"$enablestring" = xdisable; then
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_ftp" >&5
9550 $as_echo_n "checking
for --${enablestring:-enable}-protocol_ftp...
" >&6; }
9551 # Check whether --enable-protocol_ftp was given.
9552 if test "${enable_protocol_ftp+set}" = set; then :
9553 enableval=$enable_protocol_ftp;
9554 if test "$enableval" = yes; then
9555 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9557 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9562 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9567 eval "$wx_cv_use_protocol_ftp"
9569 if test x
"$enablestring" = xdisable
; then
9570 if test $wxUSE_PROTOCOL_FTP = no
; then
9576 result
=$wxUSE_PROTOCOL_FTP
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9580 $as_echo "$result" >&6; }
9584 defaultval
=$wxUSE_ALL_FEATURES
9585 if test -z "$defaultval"; then
9586 if test x
"$enablestring" = xdisable
; then
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9594 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9595 # Check whether --enable-protocol_file was given.
9596 if test "${enable_protocol_file+set}" = set; then :
9597 enableval
=$enable_protocol_file;
9598 if test "$enableval" = yes; then
9599 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
9601 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
9606 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9611 eval "$wx_cv_use_protocol_file"
9613 if test x"$enablestring" = xdisable; then
9614 if test $wxUSE_PROTOCOL_FILE = no; then
9620 result=$wxUSE_PROTOCOL_FILE
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9624 $as_echo "$result" >&6; }
9629 defaultval=$wxUSE_ALL_FEATURES
9630 if test -z "$defaultval"; then
9631 if test x"$enablestring" = xdisable; then
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9639 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9640 # Check whether --enable-threads was given.
9641 if test "${enable_threads+set}" = set; then :
9642 enableval=$enable_threads;
9643 if test "$enableval" = yes; then
9644 wx_cv_use_threads='wxUSE_THREADS
=yes'
9646 wx_cv_use_threads='wxUSE_THREADS
=no
'
9651 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9656 eval "$wx_cv_use_threads"
9658 if test x"$enablestring" = xdisable; then
9659 if test $wxUSE_THREADS = no; then
9665 result=$wxUSE_THREADS
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9669 $as_echo "$result" >&6; }
9675 if test -z "$defaultval"; then
9676 if test x"$enablestring" = xdisable; then
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-iniconf" >&5
9684 $as_echo_n "checking
for --${enablestring:-enable}-iniconf...
" >&6; }
9685 # Check whether --enable-iniconf was given.
9686 if test "${enable_iniconf+set}" = set; then :
9687 enableval=$enable_iniconf;
9688 if test "$enableval" = yes; then
9689 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9691 wx_cv_use_iniconf='wxUSE_INICONF=no'
9696 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9701 eval "$wx_cv_use_iniconf"
9703 if test x
"$enablestring" = xdisable
; then
9704 if test $wxUSE_INICONF = no
; then
9710 result
=$wxUSE_INICONF
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9714 $as_echo "$result" >&6; }
9718 defaultval
=$wxUSE_ALL_FEATURES
9719 if test -z "$defaultval"; then
9720 if test x
"$enablestring" = xdisable
; then
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9728 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9729 # Check whether --enable-regkey was given.
9730 if test "${enable_regkey+set}" = set; then :
9731 enableval
=$enable_regkey;
9732 if test "$enableval" = yes; then
9733 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
9735 wx_cv_use_regkey
='wxUSE_REGKEY=no'
9740 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9745 eval "$wx_cv_use_regkey"
9747 if test x"$enablestring" = xdisable; then
9748 if test $wxUSE_REGKEY = no; then
9754 result=$wxUSE_REGKEY
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9758 $as_echo "$result" >&6; }
9761 if test "$wxUSE_GUI" = "yes"; then
9766 defaultval=$wxUSE_ALL_FEATURES
9767 if test -z "$defaultval"; then
9768 if test x"$enablestring" = xdisable; then
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9776 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9777 # Check whether --enable-docview was given.
9778 if test "${enable_docview+set}" = set; then :
9779 enableval=$enable_docview;
9780 if test "$enableval" = yes; then
9781 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
9783 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
9788 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9793 eval "$wx_cv_use_docview"
9795 if test x"$enablestring" = xdisable; then
9796 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9802 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9806 $as_echo "$result" >&6; }
9810 defaultval=$wxUSE_ALL_FEATURES
9811 if test -z "$defaultval"; then
9812 if test x"$enablestring" = xdisable; then
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-help" >&5
9820 $as_echo_n "checking
for --${enablestring:-enable}-help...
" >&6; }
9821 # Check whether --enable-help was given.
9822 if test "${enable_help+set}" = set; then :
9823 enableval=$enable_help;
9824 if test "$enableval" = yes; then
9825 wx_cv_use_help='wxUSE_HELP=yes'
9827 wx_cv_use_help='wxUSE_HELP=no'
9832 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9837 eval "$wx_cv_use_help"
9839 if test x
"$enablestring" = xdisable
; then
9840 if test $wxUSE_HELP = no
; then
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9850 $as_echo "$result" >&6; }
9854 defaultval
=$wxUSE_ALL_FEATURES
9855 if test -z "$defaultval"; then
9856 if test x
"$enablestring" = xdisable
; then
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9864 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9865 # Check whether --enable-mshtmlhelp was given.
9866 if test "${enable_mshtmlhelp+set}" = set; then :
9867 enableval
=$enable_mshtmlhelp;
9868 if test "$enableval" = yes; then
9869 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
9871 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
9876 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9881 eval "$wx_cv_use_mshtmlhelp"
9883 if test x"$enablestring" = xdisable; then
9884 if test $wxUSE_MS_HTML_HELP = no; then
9890 result=$wxUSE_MS_HTML_HELP
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9894 $as_echo "$result" >&6; }
9898 defaultval=$wxUSE_ALL_FEATURES
9899 if test -z "$defaultval"; then
9900 if test x"$enablestring" = xdisable; then
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9908 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9909 # Check whether --enable-html was given.
9910 if test "${enable_html+set}" = set; then :
9911 enableval=$enable_html;
9912 if test "$enableval" = yes; then
9913 wx_cv_use_html='wxUSE_HTML
=yes'
9915 wx_cv_use_html='wxUSE_HTML
=no
'
9920 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9925 eval "$wx_cv_use_html"
9927 if test x"$enablestring" = xdisable; then
9928 if test $wxUSE_HTML = no; then
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9938 $as_echo "$result" >&6; }
9942 defaultval=$wxUSE_ALL_FEATURES
9943 if test -z "$defaultval"; then
9944 if test x"$enablestring" = xdisable; then
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-htmlhelp" >&5
9952 $as_echo_n "checking
for --${enablestring:-enable}-htmlhelp...
" >&6; }
9953 # Check whether --enable-htmlhelp was given.
9954 if test "${enable_htmlhelp+set}" = set; then :
9955 enableval=$enable_htmlhelp;
9956 if test "$enableval" = yes; then
9957 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9959 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9964 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9969 eval "$wx_cv_use_htmlhelp"
9971 if test x
"$enablestring" = xdisable
; then
9972 if test $wxUSE_WXHTML_HELP = no
; then
9978 result
=$wxUSE_WXHTML_HELP
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9982 $as_echo "$result" >&6; }
9986 defaultval
=$wxUSE_ALL_FEATURES
9987 if test -z "$defaultval"; then
9988 if test x
"$enablestring" = xdisable
; then
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
9996 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
9997 # Check whether --enable-xrc was given.
9998 if test "${enable_xrc+set}" = set; then :
9999 enableval
=$enable_xrc;
10000 if test "$enableval" = yes; then
10001 wx_cv_use_xrc
='wxUSE_XRC=yes'
10003 wx_cv_use_xrc
='wxUSE_XRC=no'
10008 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10013 eval "$wx_cv_use_xrc"
10015 if test x"$enablestring" = xdisable; then
10016 if test $wxUSE_XRC = no; then
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10026 $as_echo "$result" >&6; }
10030 defaultval=$wxUSE_ALL_FEATURES
10031 if test -z "$defaultval"; then
10032 if test x"$enablestring" = xdisable; then
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10040 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10041 # Check whether --enable-aui was given.
10042 if test "${enable_aui+set}" = set; then :
10043 enableval=$enable_aui;
10044 if test "$enableval" = yes; then
10045 wx_cv_use_aui='wxUSE_AUI
=yes'
10047 wx_cv_use_aui='wxUSE_AUI
=no
'
10052 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10057 eval "$wx_cv_use_aui"
10059 if test x"$enablestring" = xdisable; then
10060 if test $wxUSE_AUI = no; then
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10070 $as_echo "$result" >&6; }
10074 defaultval=$wxUSE_ALL_FEATURES
10075 if test -z "$defaultval"; then
10076 if test x"$enablestring" = xdisable; then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-propgrid" >&5
10084 $as_echo_n "checking
for --${enablestring:-enable}-propgrid...
" >&6; }
10085 # Check whether --enable-propgrid was given.
10086 if test "${enable_propgrid+set}" = set; then :
10087 enableval=$enable_propgrid;
10088 if test "$enableval" = yes; then
10089 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10091 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10096 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10101 eval "$wx_cv_use_propgrid"
10103 if test x
"$enablestring" = xdisable
; then
10104 if test $wxUSE_PROPGRID = no
; then
10110 result
=$wxUSE_PROPGRID
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10114 $as_echo "$result" >&6; }
10118 defaultval
=$wxUSE_ALL_FEATURES
10119 if test -z "$defaultval"; then
10120 if test x
"$enablestring" = xdisable
; then
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10128 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10129 # Check whether --enable-ribbon was given.
10130 if test "${enable_ribbon+set}" = set; then :
10131 enableval
=$enable_ribbon;
10132 if test "$enableval" = yes; then
10133 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
10135 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
10140 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10145 eval "$wx_cv_use_ribbon"
10147 if test x"$enablestring" = xdisable; then
10148 if test $wxUSE_RIBBON = no; then
10154 result=$wxUSE_RIBBON
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10158 $as_echo "$result" >&6; }
10162 defaultval=$wxUSE_ALL_FEATURES
10163 if test -z "$defaultval"; then
10164 if test x"$enablestring" = xdisable; then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10172 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10173 # Check whether --enable-stc was given.
10174 if test "${enable_stc+set}" = set; then :
10175 enableval=$enable_stc;
10176 if test "$enableval" = yes; then
10177 wx_cv_use_stc='wxUSE_STC
=yes'
10179 wx_cv_use_stc='wxUSE_STC
=no
'
10184 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
10189 eval "$wx_cv_use_stc"
10191 if test x"$enablestring" = xdisable; then
10192 if test $wxUSE_STC = no; then
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10202 $as_echo "$result" >&6; }
10206 defaultval=$wxUSE_ALL_FEATURES
10207 if test -z "$defaultval"; then
10208 if test x"$enablestring" = xdisable; then
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-constraints" >&5
10216 $as_echo_n "checking
for --${enablestring:-enable}-constraints...
" >&6; }
10217 # Check whether --enable-constraints was given.
10218 if test "${enable_constraints+set}" = set; then :
10219 enableval=$enable_constraints;
10220 if test "$enableval" = yes; then
10221 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10223 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10228 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10233 eval "$wx_cv_use_constraints"
10235 if test x
"$enablestring" = xdisable
; then
10236 if test $wxUSE_CONSTRAINTS = no
; then
10242 result
=$wxUSE_CONSTRAINTS
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10246 $as_echo "$result" >&6; }
10250 defaultval
=$wxUSE_ALL_FEATURES
10251 if test -z "$defaultval"; then
10252 if test x
"$enablestring" = xdisable
; then
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10260 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10261 # Check whether --enable-loggui was given.
10262 if test "${enable_loggui+set}" = set; then :
10263 enableval
=$enable_loggui;
10264 if test "$enableval" = yes; then
10265 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10267 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10272 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10277 eval "$wx_cv_use_loggui"
10279 if test x"$enablestring" = xdisable; then
10280 if test $wxUSE_LOGGUI = no; then
10286 result=$wxUSE_LOGGUI
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10290 $as_echo "$result" >&6; }
10294 defaultval=$wxUSE_ALL_FEATURES
10295 if test -z "$defaultval"; then
10296 if test x"$enablestring" = xdisable; then
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10304 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10305 # Check whether --enable-logwin was given.
10306 if test "${enable_logwin+set}" = set; then :
10307 enableval=$enable_logwin;
10308 if test "$enableval" = yes; then
10309 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10311 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10316 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10321 eval "$wx_cv_use_logwin"
10323 if test x"$enablestring" = xdisable; then
10324 if test $wxUSE_LOGWINDOW = no; then
10330 result=$wxUSE_LOGWINDOW
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10334 $as_echo "$result" >&6; }
10338 defaultval=$wxUSE_ALL_FEATURES
10339 if test -z "$defaultval"; then
10340 if test x"$enablestring" = xdisable; then
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-logdialog" >&5
10348 $as_echo_n "checking
for --${enablestring:-enable}-logdialog...
" >&6; }
10349 # Check whether --enable-logdialog was given.
10350 if test "${enable_logdialog+set}" = set; then :
10351 enableval=$enable_logdialog;
10352 if test "$enableval" = yes; then
10353 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10355 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10360 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10365 eval "$wx_cv_use_logdialog"
10367 if test x
"$enablestring" = xdisable
; then
10368 if test $wxUSE_LOGDIALOG = no
; then
10374 result
=$wxUSE_LOGDIALOG
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10378 $as_echo "$result" >&6; }
10382 defaultval
=$wxUSE_ALL_FEATURES
10383 if test -z "$defaultval"; then
10384 if test x
"$enablestring" = xdisable
; then
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10392 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10393 # Check whether --enable-mdi was given.
10394 if test "${enable_mdi+set}" = set; then :
10395 enableval
=$enable_mdi;
10396 if test "$enableval" = yes; then
10397 wx_cv_use_mdi
='wxUSE_MDI=yes'
10399 wx_cv_use_mdi
='wxUSE_MDI=no'
10404 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10409 eval "$wx_cv_use_mdi"
10411 if test x"$enablestring" = xdisable; then
10412 if test $wxUSE_MDI = no; then
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10422 $as_echo "$result" >&6; }
10426 defaultval=$wxUSE_ALL_FEATURES
10427 if test -z "$defaultval"; then
10428 if test x"$enablestring" = xdisable; then
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10436 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10437 # Check whether --enable-mdidoc was given.
10438 if test "${enable_mdidoc+set}" = set; then :
10439 enableval=$enable_mdidoc;
10440 if test "$enableval" = yes; then
10441 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
10443 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
10448 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10453 eval "$wx_cv_use_mdidoc"
10455 if test x"$enablestring" = xdisable; then
10456 if test $wxUSE_MDI_ARCHITECTURE = no; then
10462 result=$wxUSE_MDI_ARCHITECTURE
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10466 $as_echo "$result" >&6; }
10470 defaultval=$wxUSE_ALL_FEATURES
10471 if test -z "$defaultval"; then
10472 if test x"$enablestring" = xdisable; then
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mediactrl" >&5
10480 $as_echo_n "checking
for --${enablestring:-enable}-mediactrl...
" >&6; }
10481 # Check whether --enable-mediactrl was given.
10482 if test "${enable_mediactrl+set}" = set; then :
10483 enableval=$enable_mediactrl;
10484 if test "$enableval" = yes; then
10485 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10487 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10492 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10497 eval "$wx_cv_use_mediactrl"
10499 if test x
"$enablestring" = xdisable
; then
10500 if test $wxUSE_MEDIACTRL = no
; then
10506 result
=$wxUSE_MEDIACTRL
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10510 $as_echo "$result" >&6; }
10514 defaultval
=$wxUSE_ALL_FEATURES
10515 if test -z "$defaultval"; then
10516 if test x
"$enablestring" = xdisable
; then
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10524 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10525 # Check whether --enable-gstreamer8 was given.
10526 if test "${enable_gstreamer8+set}" = set; then :
10527 enableval
=$enable_gstreamer8;
10528 if test "$enableval" = yes; then
10529 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
10531 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
10536 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10541 eval "$wx_cv_use_gstreamer8"
10543 if test x"$enablestring" = xdisable; then
10544 if test $wxUSE_GSTREAMER8 = no; then
10550 result=$wxUSE_GSTREAMER8
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10554 $as_echo "$result" >&6; }
10558 defaultval=$wxUSE_ALL_FEATURES
10559 if test -z "$defaultval"; then
10560 if test x"$enablestring" = xdisable; then
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10568 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10569 # Check whether --enable-richtext was given.
10570 if test "${enable_richtext+set}" = set; then :
10571 enableval=$enable_richtext;
10572 if test "$enableval" = yes; then
10573 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10575 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10580 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10585 eval "$wx_cv_use_richtext"
10587 if test x"$enablestring" = xdisable; then
10588 if test $wxUSE_RICHTEXT = no; then
10594 result=$wxUSE_RICHTEXT
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10598 $as_echo "$result" >&6; }
10602 defaultval=$wxUSE_ALL_FEATURES
10603 if test -z "$defaultval"; then
10604 if test x"$enablestring" = xdisable; then
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-postscript" >&5
10612 $as_echo_n "checking
for --${enablestring:-enable}-postscript...
" >&6; }
10613 # Check whether --enable-postscript was given.
10614 if test "${enable_postscript+set}" = set; then :
10615 enableval=$enable_postscript;
10616 if test "$enableval" = yes; then
10617 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10619 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10624 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10629 eval "$wx_cv_use_postscript"
10631 if test x
"$enablestring" = xdisable
; then
10632 if test $wxUSE_POSTSCRIPT = no
; then
10638 result
=$wxUSE_POSTSCRIPT
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10642 $as_echo "$result" >&6; }
10646 defaultval
=$wxUSE_ALL_FEATURES
10647 if test -z "$defaultval"; then
10648 if test x
"$enablestring" = xdisable
; then
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10656 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10657 # Check whether --enable-printarch was given.
10658 if test "${enable_printarch+set}" = set; then :
10659 enableval
=$enable_printarch;
10660 if test "$enableval" = yes; then
10661 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
10663 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
10668 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10673 eval "$wx_cv_use_printarch"
10675 if test x"$enablestring" = xdisable; then
10676 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10682 result=$wxUSE_PRINTING_ARCHITECTURE
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10686 $as_echo "$result" >&6; }
10690 defaultval=$wxUSE_ALL_FEATURES
10691 if test -z "$defaultval"; then
10692 if test x"$enablestring" = xdisable; then
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10700 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10701 # Check whether --enable-svg was given.
10702 if test "${enable_svg+set}" = set; then :
10703 enableval=$enable_svg;
10704 if test "$enableval" = yes; then
10705 wx_cv_use_svg='wxUSE_SVG
=yes'
10707 wx_cv_use_svg='wxUSE_SVG
=no
'
10712 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10717 eval "$wx_cv_use_svg"
10719 if test x"$enablestring" = xdisable; then
10720 if test $wxUSE_SVG = no; then
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10730 $as_echo "$result" >&6; }
10734 defaultval=$wxUSE_ALL_FEATURES
10735 if test -z "$defaultval"; then
10736 if test x"$enablestring" = xdisable; then
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webkit" >&5
10744 $as_echo_n "checking
for --${enablestring:-enable}-webkit...
" >&6; }
10745 # Check whether --enable-webkit was given.
10746 if test "${enable_webkit+set}" = set; then :
10747 enableval=$enable_webkit;
10748 if test "$enableval" = yes; then
10749 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10751 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10756 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10761 eval "$wx_cv_use_webkit"
10763 if test x
"$enablestring" = xdisable
; then
10764 if test $wxUSE_WEBKIT = no
; then
10770 result
=$wxUSE_WEBKIT
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10774 $as_echo "$result" >&6; }
10778 defaultval
=$wxUSE_ALL_FEATURES
10779 if test -z "$defaultval"; then
10780 if test x
"$enablestring" = xdisable
; then
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10788 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10789 # Check whether --enable-webview was given.
10790 if test "${enable_webview+set}" = set; then :
10791 enableval
=$enable_webview;
10792 if test "$enableval" = yes; then
10793 wx_cv_use_webview
='wxUSE_WEBVIEW=yes'
10795 wx_cv_use_webview
='wxUSE_WEBVIEW=no'
10800 wx_cv_use_webview
='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10805 eval "$wx_cv_use_webview"
10807 if test x"$enablestring" = xdisable; then
10808 if test $wxUSE_WEBVIEW = no; then
10814 result=$wxUSE_WEBVIEW
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10818 $as_echo "$result" >&6; }
10821 if test "$wxUSE_MAC" != 1; then
10824 defaultval=$wxUSE_ALL_FEATURES
10825 if test -z "$defaultval"; then
10826 if test x"$enablestring" = xdisable; then
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10834 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10835 # Check whether --enable-graphics_ctx was given.
10836 if test "${enable_graphics_ctx+set}" = set; then :
10837 enableval=$enable_graphics_ctx;
10838 if test "$enableval" = yes; then
10839 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
10841 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
10846 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10851 eval "$wx_cv_use_graphics_ctx"
10853 if test x"$enablestring" = xdisable; then
10854 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10860 result=$wxUSE_GRAPHICS_CONTEXT
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10864 $as_echo "$result" >&6; }
10871 defaultval=$wxUSE_ALL_FEATURES
10872 if test -z "$defaultval"; then
10873 if test x"$enablestring" = xdisable; then
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-clipboard" >&5
10881 $as_echo_n "checking
for --${enablestring:-enable}-clipboard...
" >&6; }
10882 # Check whether --enable-clipboard was given.
10883 if test "${enable_clipboard+set}" = set; then :
10884 enableval=$enable_clipboard;
10885 if test "$enableval" = yes; then
10886 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10888 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10893 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10898 eval "$wx_cv_use_clipboard"
10900 if test x
"$enablestring" = xdisable
; then
10901 if test $wxUSE_CLIPBOARD = no
; then
10907 result
=$wxUSE_CLIPBOARD
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10911 $as_echo "$result" >&6; }
10915 defaultval
=$wxUSE_ALL_FEATURES
10916 if test -z "$defaultval"; then
10917 if test x
"$enablestring" = xdisable
; then
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10925 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10926 # Check whether --enable-dnd was given.
10927 if test "${enable_dnd+set}" = set; then :
10928 enableval
=$enable_dnd;
10929 if test "$enableval" = yes; then
10930 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
10932 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
10937 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10942 eval "$wx_cv_use_dnd"
10944 if test x"$enablestring" = xdisable; then
10945 if test $wxUSE_DRAG_AND_DROP = no; then
10951 result=$wxUSE_DRAG_AND_DROP
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10955 $as_echo "$result" >&6; }
10959 DEFAULT_wxUSE_CONTROLS=none
10961 enablestring=disable
10963 if test -z "$defaultval"; then
10964 if test x"$enablestring" = xdisable; then
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10972 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10973 # Check whether --enable-controls was given.
10974 if test "${enable_controls+set}" = set; then :
10975 enableval=$enable_controls;
10976 if test "$enableval" = yes; then
10977 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
10979 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
10984 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10989 eval "$wx_cv_use_controls"
10991 if test x"$enablestring" = xdisable; then
10992 if test $wxUSE_CONTROLS = no; then
10998 result=$wxUSE_CONTROLS
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11002 $as_echo "$result" >&6; }
11005 if test "$wxUSE_CONTROLS" = "no
"; then
11006 DEFAULT_wxUSE_ACCEL=no
11007 DEFAULT_wxUSE_ANIMATIONCTRL=no
11008 DEFAULT_wxUSE_BANNERWINDOW=no
11009 DEFAULT_wxUSE_BMPBUTTON=no
11010 DEFAULT_wxUSE_BUTTON=no
11011 DEFAULT_wxUSE_CALCTRL=no
11012 DEFAULT_wxUSE_CARET=no
11013 DEFAULT_wxUSE_CHECKBOX=no
11014 DEFAULT_wxUSE_CHECKLISTBOX=no
11015 DEFAULT_wxUSE_CHOICE=no
11016 DEFAULT_wxUSE_CHOICEBOOK=no
11017 DEFAULT_wxUSE_COLLPANE=no
11018 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11019 DEFAULT_wxUSE_COMBOBOX=no
11020 DEFAULT_wxUSE_COMBOBOX=no
11021 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11022 DEFAULT_wxUSE_DATAVIEWCTRL=no
11023 DEFAULT_wxUSE_DATEPICKCTRL=no
11024 DEFAULT_wxUSE_DETECT_SM=no
11025 DEFAULT_wxUSE_DIRPICKERCTRL=no
11026 DEFAULT_wxUSE_DISPLAY=no
11027 DEFAULT_wxUSE_FILECTRL=no
11028 DEFAULT_wxUSE_FILEPICKERCTRL=no
11029 DEFAULT_wxUSE_FONTPICKERCTRL=no
11030 DEFAULT_wxUSE_GAUGE=no
11031 DEFAULT_wxUSE_GRID=no
11032 DEFAULT_wxUSE_HEADERCTRL=no
11033 DEFAULT_wxUSE_HYPERLINKCTRL=no
11034 DEFAULT_wxUSE_IMAGLIST=no
11035 DEFAULT_wxUSE_LISTBOOK=no
11036 DEFAULT_wxUSE_LISTBOX=no
11037 DEFAULT_wxUSE_LISTCTRL=no
11038 DEFAULT_wxUSE_MARKUP=no
11039 DEFAULT_wxUSE_NOTEBOOK=no
11040 DEFAULT_wxUSE_POPUPWIN=no
11041 DEFAULT_wxUSE_RADIOBOX=no
11042 DEFAULT_wxUSE_RADIOBTN=no
11043 DEFAULT_wxUSE_RICHMSGDLG=no
11044 DEFAULT_wxUSE_RICHTOOLTIP=no
11045 DEFAULT_wxUSE_REARRANGECTRL=no
11046 DEFAULT_wxUSE_SASH=no
11047 DEFAULT_wxUSE_SCROLLBAR=no
11048 DEFAULT_wxUSE_SEARCHCTRL=no
11049 DEFAULT_wxUSE_SLIDER=no
11050 DEFAULT_wxUSE_SPINBTN=no
11051 DEFAULT_wxUSE_SPINCTRL=no
11052 DEFAULT_wxUSE_SPLITTER=no
11053 DEFAULT_wxUSE_STATBMP=no
11054 DEFAULT_wxUSE_STATBOX=no
11055 DEFAULT_wxUSE_STATLINE=no
11056 DEFAULT_wxUSE_STATUSBAR=no
11057 DEFAULT_wxUSE_TIMEPICKCTRL=no
11058 DEFAULT_wxUSE_TIPWINDOW=no
11059 DEFAULT_wxUSE_TOGGLEBTN=no
11060 DEFAULT_wxUSE_TOOLBAR=no
11061 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11062 DEFAULT_wxUSE_TOOLBOOK=no
11063 DEFAULT_wxUSE_TOOLTIPS=no
11064 DEFAULT_wxUSE_TREEBOOK=no
11065 DEFAULT_wxUSE_TREECTRL=no
11066 DEFAULT_wxUSE_TREELISTCTRL=no
11071 defaultval=$wxUSE_ALL_FEATURES
11072 if test -z "$defaultval"; then
11073 if test x"$enablestring" = xdisable; then
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-markup" >&5
11081 $as_echo_n "checking
for --${enablestring:-enable}-markup...
" >&6; }
11082 # Check whether --enable-markup was given.
11083 if test "${enable_markup+set}" = set; then :
11084 enableval=$enable_markup;
11085 if test "$enableval" = yes; then
11086 wx_cv_use_markup='wxUSE_MARKUP=yes'
11088 wx_cv_use_markup='wxUSE_MARKUP=no'
11093 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11098 eval "$wx_cv_use_markup"
11100 if test x
"$enablestring" = xdisable
; then
11101 if test $wxUSE_MARKUP = no
; then
11107 result
=$wxUSE_MARKUP
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11111 $as_echo "$result" >&6; }
11116 defaultval
=$wxUSE_ALL_FEATURES
11117 if test -z "$defaultval"; then
11118 if test x
"$enablestring" = xdisable
; then
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11126 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11127 # Check whether --enable-accel was given.
11128 if test "${enable_accel+set}" = set; then :
11129 enableval
=$enable_accel;
11130 if test "$enableval" = yes; then
11131 wx_cv_use_accel
='wxUSE_ACCEL=yes'
11133 wx_cv_use_accel
='wxUSE_ACCEL=no'
11138 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11143 eval "$wx_cv_use_accel"
11145 if test x"$enablestring" = xdisable; then
11146 if test $wxUSE_ACCEL = no; then
11152 result=$wxUSE_ACCEL
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11156 $as_echo "$result" >&6; }
11160 defaultval=$wxUSE_ALL_FEATURES
11161 if test -z "$defaultval"; then
11162 if test x"$enablestring" = xdisable; then
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11170 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11171 # Check whether --enable-animatectrl was given.
11172 if test "${enable_animatectrl+set}" = set; then :
11173 enableval=$enable_animatectrl;
11174 if test "$enableval" = yes; then
11175 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11177 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11182 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11187 eval "$wx_cv_use_animatectrl"
11189 if test x"$enablestring" = xdisable; then
11190 if test $wxUSE_ANIMATIONCTRL = no; then
11196 result=$wxUSE_ANIMATIONCTRL
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11200 $as_echo "$result" >&6; }
11204 defaultval=$wxUSE_ALL_FEATURES
11205 if test -z "$defaultval"; then
11206 if test x"$enablestring" = xdisable; then
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bannerwindow" >&5
11214 $as_echo_n "checking
for --${enablestring:-enable}-bannerwindow...
" >&6; }
11215 # Check whether --enable-bannerwindow was given.
11216 if test "${enable_bannerwindow+set}" = set; then :
11217 enableval=$enable_bannerwindow;
11218 if test "$enableval" = yes; then
11219 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11221 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11226 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11231 eval "$wx_cv_use_bannerwindow"
11233 if test x
"$enablestring" = xdisable
; then
11234 if test $wxUSE_BANNERWINDOW = no
; then
11240 result
=$wxUSE_BANNERWINDOW
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11244 $as_echo "$result" >&6; }
11248 defaultval
=$wxUSE_ALL_FEATURES
11249 if test -z "$defaultval"; then
11250 if test x
"$enablestring" = xdisable
; then
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11258 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11259 # Check whether --enable-artstd was given.
11260 if test "${enable_artstd+set}" = set; then :
11261 enableval
=$enable_artstd;
11262 if test "$enableval" = yes; then
11263 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=yes'
11265 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=no'
11270 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11275 eval "$wx_cv_use_artstd"
11277 if test x"$enablestring" = xdisable; then
11278 if test $wxUSE_ARTPROVIDER_STD = no; then
11284 result=$wxUSE_ARTPROVIDER_STD
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11288 $as_echo "$result" >&6; }
11292 defaultval=$wxUSE_ALL_FEATURES
11293 if test -z "$defaultval"; then
11294 if test x"$enablestring" = xdisable; then
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11302 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11303 # Check whether --enable-arttango was given.
11304 if test "${enable_arttango+set}" = set; then :
11305 enableval=$enable_arttango;
11306 if test "$enableval" = yes; then
11307 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=yes'
11309 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=no
'
11314 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11319 eval "$wx_cv_use_arttango"
11321 if test x"$enablestring" = xdisable; then
11322 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11328 result=$wxUSE_ARTPROVIDER_TANGO
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11332 $as_echo "$result" >&6; }
11336 defaultval=$wxUSE_ALL_FEATURES
11337 if test -z "$defaultval"; then
11338 if test x"$enablestring" = xdisable; then
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bmpbutton" >&5
11346 $as_echo_n "checking
for --${enablestring:-enable}-bmpbutton...
" >&6; }
11347 # Check whether --enable-bmpbutton was given.
11348 if test "${enable_bmpbutton+set}" = set; then :
11349 enableval=$enable_bmpbutton;
11350 if test "$enableval" = yes; then
11351 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11353 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11358 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11363 eval "$wx_cv_use_bmpbutton"
11365 if test x
"$enablestring" = xdisable
; then
11366 if test $wxUSE_BMPBUTTON = no
; then
11372 result
=$wxUSE_BMPBUTTON
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11376 $as_echo "$result" >&6; }
11380 defaultval
=$wxUSE_ALL_FEATURES
11381 if test -z "$defaultval"; then
11382 if test x
"$enablestring" = xdisable
; then
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11390 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11391 # Check whether --enable-bmpcombobox was given.
11392 if test "${enable_bmpcombobox+set}" = set; then :
11393 enableval
=$enable_bmpcombobox;
11394 if test "$enableval" = yes; then
11395 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
11397 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
11402 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11407 eval "$wx_cv_use_bmpcombobox"
11409 if test x"$enablestring" = xdisable; then
11410 if test $wxUSE_BITMAPCOMBOBOX = no; then
11416 result=$wxUSE_BITMAPCOMBOBOX
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11420 $as_echo "$result" >&6; }
11424 defaultval=$wxUSE_ALL_FEATURES
11425 if test -z "$defaultval"; then
11426 if test x"$enablestring" = xdisable; then
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11434 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11435 # Check whether --enable-button was given.
11436 if test "${enable_button+set}" = set; then :
11437 enableval=$enable_button;
11438 if test "$enableval" = yes; then
11439 wx_cv_use_button='wxUSE_BUTTON
=yes'
11441 wx_cv_use_button='wxUSE_BUTTON
=no
'
11446 wx_cv_use_button='wxUSE_BUTTON
=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11451 eval "$wx_cv_use_button"
11453 if test x"$enablestring" = xdisable; then
11454 if test $wxUSE_BUTTON = no; then
11460 result=$wxUSE_BUTTON
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11464 $as_echo "$result" >&6; }
11468 defaultval=$wxUSE_ALL_FEATURES
11469 if test -z "$defaultval"; then
11470 if test x"$enablestring" = xdisable; then
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-calendar" >&5
11478 $as_echo_n "checking
for --${enablestring:-enable}-calendar...
" >&6; }
11479 # Check whether --enable-calendar was given.
11480 if test "${enable_calendar+set}" = set; then :
11481 enableval=$enable_calendar;
11482 if test "$enableval" = yes; then
11483 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11485 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11490 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11495 eval "$wx_cv_use_calendar"
11497 if test x
"$enablestring" = xdisable
; then
11498 if test $wxUSE_CALCTRL = no
; then
11504 result
=$wxUSE_CALCTRL
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11508 $as_echo "$result" >&6; }
11512 defaultval
=$wxUSE_ALL_FEATURES
11513 if test -z "$defaultval"; then
11514 if test x
"$enablestring" = xdisable
; then
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11522 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11523 # Check whether --enable-caret was given.
11524 if test "${enable_caret+set}" = set; then :
11525 enableval
=$enable_caret;
11526 if test "$enableval" = yes; then
11527 wx_cv_use_caret
='wxUSE_CARET=yes'
11529 wx_cv_use_caret
='wxUSE_CARET=no'
11534 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11539 eval "$wx_cv_use_caret"
11541 if test x"$enablestring" = xdisable; then
11542 if test $wxUSE_CARET = no; then
11548 result=$wxUSE_CARET
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11552 $as_echo "$result" >&6; }
11556 defaultval=$wxUSE_ALL_FEATURES
11557 if test -z "$defaultval"; then
11558 if test x"$enablestring" = xdisable; then
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11566 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11567 # Check whether --enable-checkbox was given.
11568 if test "${enable_checkbox+set}" = set; then :
11569 enableval=$enable_checkbox;
11570 if test "$enableval" = yes; then
11571 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11573 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11578 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11583 eval "$wx_cv_use_checkbox"
11585 if test x"$enablestring" = xdisable; then
11586 if test $wxUSE_CHECKBOX = no; then
11592 result=$wxUSE_CHECKBOX
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11596 $as_echo "$result" >&6; }
11600 defaultval=$wxUSE_ALL_FEATURES
11601 if test -z "$defaultval"; then
11602 if test x"$enablestring" = xdisable; then
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-checklst" >&5
11610 $as_echo_n "checking
for --${enablestring:-enable}-checklst...
" >&6; }
11611 # Check whether --enable-checklst was given.
11612 if test "${enable_checklst+set}" = set; then :
11613 enableval=$enable_checklst;
11614 if test "$enableval" = yes; then
11615 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11617 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11622 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11627 eval "$wx_cv_use_checklst"
11629 if test x
"$enablestring" = xdisable
; then
11630 if test $wxUSE_CHECKLST = no
; then
11636 result
=$wxUSE_CHECKLST
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11640 $as_echo "$result" >&6; }
11644 defaultval
=$wxUSE_ALL_FEATURES
11645 if test -z "$defaultval"; then
11646 if test x
"$enablestring" = xdisable
; then
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11654 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11655 # Check whether --enable-choice was given.
11656 if test "${enable_choice+set}" = set; then :
11657 enableval
=$enable_choice;
11658 if test "$enableval" = yes; then
11659 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11661 wx_cv_use_choice
='wxUSE_CHOICE=no'
11666 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11671 eval "$wx_cv_use_choice"
11673 if test x"$enablestring" = xdisable; then
11674 if test $wxUSE_CHOICE = no; then
11680 result=$wxUSE_CHOICE
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11684 $as_echo "$result" >&6; }
11688 defaultval=$wxUSE_ALL_FEATURES
11689 if test -z "$defaultval"; then
11690 if test x"$enablestring" = xdisable; then
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11698 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11699 # Check whether --enable-choicebook was given.
11700 if test "${enable_choicebook+set}" = set; then :
11701 enableval=$enable_choicebook;
11702 if test "$enableval" = yes; then
11703 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11705 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11710 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11715 eval "$wx_cv_use_choicebook"
11717 if test x"$enablestring" = xdisable; then
11718 if test $wxUSE_CHOICEBOOK = no; then
11724 result=$wxUSE_CHOICEBOOK
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11728 $as_echo "$result" >&6; }
11732 defaultval=$wxUSE_ALL_FEATURES
11733 if test -z "$defaultval"; then
11734 if test x"$enablestring" = xdisable; then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-collpane" >&5
11742 $as_echo_n "checking
for --${enablestring:-enable}-collpane...
" >&6; }
11743 # Check whether --enable-collpane was given.
11744 if test "${enable_collpane+set}" = set; then :
11745 enableval=$enable_collpane;
11746 if test "$enableval" = yes; then
11747 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11749 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11754 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11759 eval "$wx_cv_use_collpane"
11761 if test x
"$enablestring" = xdisable
; then
11762 if test $wxUSE_COLLPANE = no
; then
11768 result
=$wxUSE_COLLPANE
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11772 $as_echo "$result" >&6; }
11776 defaultval
=$wxUSE_ALL_FEATURES
11777 if test -z "$defaultval"; then
11778 if test x
"$enablestring" = xdisable
; then
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11786 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11787 # Check whether --enable-colourpicker was given.
11788 if test "${enable_colourpicker+set}" = set; then :
11789 enableval
=$enable_colourpicker;
11790 if test "$enableval" = yes; then
11791 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11793 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11798 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11803 eval "$wx_cv_use_colourpicker"
11805 if test x"$enablestring" = xdisable; then
11806 if test $wxUSE_COLOURPICKERCTRL = no; then
11812 result=$wxUSE_COLOURPICKERCTRL
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11816 $as_echo "$result" >&6; }
11820 defaultval=$wxUSE_ALL_FEATURES
11821 if test -z "$defaultval"; then
11822 if test x"$enablestring" = xdisable; then
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11830 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11831 # Check whether --enable-combobox was given.
11832 if test "${enable_combobox+set}" = set; then :
11833 enableval=$enable_combobox;
11834 if test "$enableval" = yes; then
11835 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11837 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11842 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11847 eval "$wx_cv_use_combobox"
11849 if test x"$enablestring" = xdisable; then
11850 if test $wxUSE_COMBOBOX = no; then
11856 result=$wxUSE_COMBOBOX
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11860 $as_echo "$result" >&6; }
11864 defaultval=$wxUSE_ALL_FEATURES
11865 if test -z "$defaultval"; then
11866 if test x"$enablestring" = xdisable; then
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-comboctrl" >&5
11874 $as_echo_n "checking
for --${enablestring:-enable}-comboctrl...
" >&6; }
11875 # Check whether --enable-comboctrl was given.
11876 if test "${enable_comboctrl+set}" = set; then :
11877 enableval=$enable_comboctrl;
11878 if test "$enableval" = yes; then
11879 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11881 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11886 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11891 eval "$wx_cv_use_comboctrl"
11893 if test x
"$enablestring" = xdisable
; then
11894 if test $wxUSE_COMBOCTRL = no
; then
11900 result
=$wxUSE_COMBOCTRL
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11904 $as_echo "$result" >&6; }
11908 defaultval
=$wxUSE_ALL_FEATURES
11909 if test -z "$defaultval"; then
11910 if test x
"$enablestring" = xdisable
; then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11918 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11919 # Check whether --enable-commandlinkbutton was given.
11920 if test "${enable_commandlinkbutton+set}" = set; then :
11921 enableval
=$enable_commandlinkbutton;
11922 if test "$enableval" = yes; then
11923 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=yes'
11925 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=no'
11930 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11935 eval "$wx_cv_use_commandlinkbutton"
11937 if test x"$enablestring" = xdisable; then
11938 if test $wxUSE_COMMANDLINKBUTTON = no; then
11944 result=$wxUSE_COMMANDLINKBUTTON
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11948 $as_echo "$result" >&6; }
11952 defaultval=$wxUSE_ALL_FEATURES
11953 if test -z "$defaultval"; then
11954 if test x"$enablestring" = xdisable; then
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11962 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11963 # Check whether --enable-dataviewctrl was given.
11964 if test "${enable_dataviewctrl+set}" = set; then :
11965 enableval=$enable_dataviewctrl;
11966 if test "$enableval" = yes; then
11967 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
11969 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
11974 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11979 eval "$wx_cv_use_dataviewctrl"
11981 if test x"$enablestring" = xdisable; then
11982 if test $wxUSE_DATAVIEWCTRL = no; then
11988 result=$wxUSE_DATAVIEWCTRL
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11992 $as_echo "$result" >&6; }
11996 defaultval=$wxUSE_ALL_FEATURES
11997 if test -z "$defaultval"; then
11998 if test x"$enablestring" = xdisable; then
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datepick" >&5
12006 $as_echo_n "checking
for --${enablestring:-enable}-datepick...
" >&6; }
12007 # Check whether --enable-datepick was given.
12008 if test "${enable_datepick+set}" = set; then :
12009 enableval=$enable_datepick;
12010 if test "$enableval" = yes; then
12011 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12013 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12018 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12023 eval "$wx_cv_use_datepick"
12025 if test x
"$enablestring" = xdisable
; then
12026 if test $wxUSE_DATEPICKCTRL = no
; then
12032 result
=$wxUSE_DATEPICKCTRL
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12036 $as_echo "$result" >&6; }
12040 defaultval
=$wxUSE_ALL_FEATURES
12041 if test -z "$defaultval"; then
12042 if test x
"$enablestring" = xdisable
; then
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12050 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12051 # Check whether --enable-detect_sm was given.
12052 if test "${enable_detect_sm+set}" = set; then :
12053 enableval
=$enable_detect_sm;
12054 if test "$enableval" = yes; then
12055 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
12057 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
12062 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12067 eval "$wx_cv_use_detect_sm"
12069 if test x"$enablestring" = xdisable; then
12070 if test $wxUSE_DETECT_SM = no; then
12076 result=$wxUSE_DETECT_SM
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12080 $as_echo "$result" >&6; }
12084 defaultval=$wxUSE_ALL_FEATURES
12085 if test -z "$defaultval"; then
12086 if test x"$enablestring" = xdisable; then
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12094 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12095 # Check whether --enable-dirpicker was given.
12096 if test "${enable_dirpicker+set}" = set; then :
12097 enableval=$enable_dirpicker;
12098 if test "$enableval" = yes; then
12099 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
12101 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
12106 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12111 eval "$wx_cv_use_dirpicker"
12113 if test x"$enablestring" = xdisable; then
12114 if test $wxUSE_DIRPICKERCTRL = no; then
12120 result=$wxUSE_DIRPICKERCTRL
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12124 $as_echo "$result" >&6; }
12128 defaultval=$wxUSE_ALL_FEATURES
12129 if test -z "$defaultval"; then
12130 if test x"$enablestring" = xdisable; then
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-display" >&5
12138 $as_echo_n "checking
for --${enablestring:-enable}-display...
" >&6; }
12139 # Check whether --enable-display was given.
12140 if test "${enable_display+set}" = set; then :
12141 enableval=$enable_display;
12142 if test "$enableval" = yes; then
12143 wx_cv_use_display='wxUSE_DISPLAY=yes'
12145 wx_cv_use_display='wxUSE_DISPLAY=no'
12150 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12155 eval "$wx_cv_use_display"
12157 if test x
"$enablestring" = xdisable
; then
12158 if test $wxUSE_DISPLAY = no
; then
12164 result
=$wxUSE_DISPLAY
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12168 $as_echo "$result" >&6; }
12172 defaultval
=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x
"$enablestring" = xdisable
; then
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12182 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12183 # Check whether --enable-editablebox was given.
12184 if test "${enable_editablebox+set}" = set; then :
12185 enableval
=$enable_editablebox;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
12189 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
12194 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12199 eval "$wx_cv_use_editablebox"
12201 if test x"$enablestring" = xdisable; then
12202 if test $wxUSE_EDITABLELISTBOX = no; then
12208 result=$wxUSE_EDITABLELISTBOX
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12212 $as_echo "$result" >&6; }
12216 defaultval=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x"$enablestring" = xdisable; then
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12226 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12227 # Check whether --enable-filectrl was given.
12228 if test "${enable_filectrl+set}" = set; then :
12229 enableval=$enable_filectrl;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
12233 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
12238 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12243 eval "$wx_cv_use_filectrl"
12245 if test x"$enablestring" = xdisable; then
12246 if test $wxUSE_FILECTRL = no; then
12252 result=$wxUSE_FILECTRL
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12256 $as_echo "$result" >&6; }
12260 defaultval=$wxUSE_ALL_FEATURES
12261 if test -z "$defaultval"; then
12262 if test x"$enablestring" = xdisable; then
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filepicker" >&5
12270 $as_echo_n "checking
for --${enablestring:-enable}-filepicker...
" >&6; }
12271 # Check whether --enable-filepicker was given.
12272 if test "${enable_filepicker+set}" = set; then :
12273 enableval=$enable_filepicker;
12274 if test "$enableval" = yes; then
12275 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12277 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12282 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12287 eval "$wx_cv_use_filepicker"
12289 if test x
"$enablestring" = xdisable
; then
12290 if test $wxUSE_FILEPICKERCTRL = no
; then
12296 result
=$wxUSE_FILEPICKERCTRL
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12300 $as_echo "$result" >&6; }
12304 defaultval
=$wxUSE_ALL_FEATURES
12305 if test -z "$defaultval"; then
12306 if test x
"$enablestring" = xdisable
; then
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12314 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12315 # Check whether --enable-fontpicker was given.
12316 if test "${enable_fontpicker+set}" = set; then :
12317 enableval
=$enable_fontpicker;
12318 if test "$enableval" = yes; then
12319 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
12321 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
12326 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12331 eval "$wx_cv_use_fontpicker"
12333 if test x"$enablestring" = xdisable; then
12334 if test $wxUSE_FONTPICKERCTRL = no; then
12340 result=$wxUSE_FONTPICKERCTRL
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12344 $as_echo "$result" >&6; }
12348 defaultval=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x"$enablestring" = xdisable; then
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12358 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12359 # Check whether --enable-gauge was given.
12360 if test "${enable_gauge+set}" = set; then :
12361 enableval=$enable_gauge;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
12365 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
12370 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12375 eval "$wx_cv_use_gauge"
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_GAUGE = no; then
12384 result=$wxUSE_GAUGE
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12388 $as_echo "$result" >&6; }
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-grid" >&5
12402 $as_echo_n "checking
for --${enablestring:-enable}-grid...
" >&6; }
12403 # Check whether --enable-grid was given.
12404 if test "${enable_grid+set}" = set; then :
12405 enableval=$enable_grid;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_grid='wxUSE_GRID=yes'
12409 wx_cv_use_grid='wxUSE_GRID=no'
12414 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12419 eval "$wx_cv_use_grid"
12421 if test x
"$enablestring" = xdisable
; then
12422 if test $wxUSE_GRID = no
; then
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12432 $as_echo "$result" >&6; }
12436 defaultval
=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x
"$enablestring" = xdisable
; then
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12446 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12447 # Check whether --enable-headerctrl was given.
12448 if test "${enable_headerctrl+set}" = set; then :
12449 enableval
=$enable_headerctrl;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
12453 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
12458 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12463 eval "$wx_cv_use_headerctrl"
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_HEADERCTRL = no; then
12472 result=$wxUSE_HEADERCTRL
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12476 $as_echo "$result" >&6; }
12480 defaultval=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x"$enablestring" = xdisable; then
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12490 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12491 # Check whether --enable-hyperlink was given.
12492 if test "${enable_hyperlink+set}" = set; then :
12493 enableval=$enable_hyperlink;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
12497 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
12502 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12507 eval "$wx_cv_use_hyperlink"
12509 if test x"$enablestring" = xdisable; then
12510 if test $wxUSE_HYPERLINKCTRL = no; then
12516 result=$wxUSE_HYPERLINKCTRL
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12520 $as_echo "$result" >&6; }
12524 defaultval=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x"$enablestring" = xdisable; then
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-imaglist" >&5
12534 $as_echo_n "checking
for --${enablestring:-enable}-imaglist...
" >&6; }
12535 # Check whether --enable-imaglist was given.
12536 if test "${enable_imaglist+set}" = set; then :
12537 enableval=$enable_imaglist;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12541 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12546 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12551 eval "$wx_cv_use_imaglist"
12553 if test x
"$enablestring" = xdisable
; then
12554 if test $wxUSE_IMAGLIST = no
; then
12560 result
=$wxUSE_IMAGLIST
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12564 $as_echo "$result" >&6; }
12568 defaultval
=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x
"$enablestring" = xdisable
; then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12578 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12579 # Check whether --enable-infobar was given.
12580 if test "${enable_infobar+set}" = set; then :
12581 enableval
=$enable_infobar;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_infobar
='wxUSE_INFOBAR=yes'
12585 wx_cv_use_infobar
='wxUSE_INFOBAR=no'
12590 wx_cv_use_infobar
='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12595 eval "$wx_cv_use_infobar"
12597 if test x"$enablestring" = xdisable; then
12598 if test $wxUSE_INFOBAR = no; then
12604 result=$wxUSE_INFOBAR
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12608 $as_echo "$result" >&6; }
12612 defaultval=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x"$enablestring" = xdisable; then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12622 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12623 # Check whether --enable-listbook was given.
12624 if test "${enable_listbook+set}" = set; then :
12625 enableval=$enable_listbook;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
12629 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
12634 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12639 eval "$wx_cv_use_listbook"
12641 if test x"$enablestring" = xdisable; then
12642 if test $wxUSE_LISTBOOK = no; then
12648 result=$wxUSE_LISTBOOK
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12652 $as_echo "$result" >&6; }
12656 defaultval=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x"$enablestring" = xdisable; then
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listbox" >&5
12666 $as_echo_n "checking
for --${enablestring:-enable}-listbox...
" >&6; }
12667 # Check whether --enable-listbox was given.
12668 if test "${enable_listbox+set}" = set; then :
12669 enableval=$enable_listbox;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12673 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12678 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12683 eval "$wx_cv_use_listbox"
12685 if test x
"$enablestring" = xdisable
; then
12686 if test $wxUSE_LISTBOX = no
; then
12692 result
=$wxUSE_LISTBOX
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12696 $as_echo "$result" >&6; }
12700 defaultval
=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x
"$enablestring" = xdisable
; then
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12710 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12711 # Check whether --enable-listctrl was given.
12712 if test "${enable_listctrl+set}" = set; then :
12713 enableval
=$enable_listctrl;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
12717 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
12722 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12727 eval "$wx_cv_use_listctrl"
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_LISTCTRL = no; then
12736 result=$wxUSE_LISTCTRL
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12740 $as_echo "$result" >&6; }
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12754 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12755 # Check whether --enable-notebook was given.
12756 if test "${enable_notebook+set}" = set; then :
12757 enableval=$enable_notebook;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
12761 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
12766 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12771 eval "$wx_cv_use_notebook"
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_NOTEBOOK = no; then
12780 result=$wxUSE_NOTEBOOK
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12784 $as_echo "$result" >&6; }
12788 defaultval=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x"$enablestring" = xdisable; then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-notifmsg" >&5
12798 $as_echo_n "checking
for --${enablestring:-enable}-notifmsg...
" >&6; }
12799 # Check whether --enable-notifmsg was given.
12800 if test "${enable_notifmsg+set}" = set; then :
12801 enableval=$enable_notifmsg;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12805 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12810 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12815 eval "$wx_cv_use_notifmsg"
12817 if test x
"$enablestring" = xdisable
; then
12818 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
12824 result
=$wxUSE_NOTIFICATION_MESSAGE
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12828 $as_echo "$result" >&6; }
12832 defaultval
=$wxUSE_ALL_FEATURES
12833 if test -z "$defaultval"; then
12834 if test x
"$enablestring" = xdisable
; then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12842 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12843 # Check whether --enable-odcombobox was given.
12844 if test "${enable_odcombobox+set}" = set; then :
12845 enableval
=$enable_odcombobox;
12846 if test "$enableval" = yes; then
12847 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
12849 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
12854 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12859 eval "$wx_cv_use_odcombobox"
12861 if test x"$enablestring" = xdisable; then
12862 if test $wxUSE_ODCOMBOBOX = no; then
12868 result=$wxUSE_ODCOMBOBOX
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12872 $as_echo "$result" >&6; }
12876 defaultval=$wxUSE_ALL_FEATURES
12877 if test -z "$defaultval"; then
12878 if test x"$enablestring" = xdisable; then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12886 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12887 # Check whether --enable-popupwin was given.
12888 if test "${enable_popupwin+set}" = set; then :
12889 enableval=$enable_popupwin;
12890 if test "$enableval" = yes; then
12891 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
12893 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
12898 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12903 eval "$wx_cv_use_popupwin"
12905 if test x"$enablestring" = xdisable; then
12906 if test $wxUSE_POPUPWIN = no; then
12912 result=$wxUSE_POPUPWIN
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12916 $as_echo "$result" >&6; }
12920 defaultval=$wxUSE_ALL_FEATURES
12921 if test -z "$defaultval"; then
12922 if test x"$enablestring" = xdisable; then
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-radiobox" >&5
12930 $as_echo_n "checking
for --${enablestring:-enable}-radiobox...
" >&6; }
12931 # Check whether --enable-radiobox was given.
12932 if test "${enable_radiobox+set}" = set; then :
12933 enableval=$enable_radiobox;
12934 if test "$enableval" = yes; then
12935 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12937 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12942 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12947 eval "$wx_cv_use_radiobox"
12949 if test x
"$enablestring" = xdisable
; then
12950 if test $wxUSE_RADIOBOX = no
; then
12956 result
=$wxUSE_RADIOBOX
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12960 $as_echo "$result" >&6; }
12964 defaultval
=$wxUSE_ALL_FEATURES
12965 if test -z "$defaultval"; then
12966 if test x
"$enablestring" = xdisable
; then
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12974 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12975 # Check whether --enable-radiobtn was given.
12976 if test "${enable_radiobtn+set}" = set; then :
12977 enableval
=$enable_radiobtn;
12978 if test "$enableval" = yes; then
12979 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
12981 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
12986 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12991 eval "$wx_cv_use_radiobtn"
12993 if test x"$enablestring" = xdisable; then
12994 if test $wxUSE_RADIOBTN = no; then
13000 result=$wxUSE_RADIOBTN
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13004 $as_echo "$result" >&6; }
13008 defaultval=$wxUSE_ALL_FEATURES
13009 if test -z "$defaultval"; then
13010 if test x"$enablestring" = xdisable; then
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13018 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13019 # Check whether --enable-richmsgdlg was given.
13020 if test "${enable_richmsgdlg+set}" = set; then :
13021 enableval=$enable_richmsgdlg;
13022 if test "$enableval" = yes; then
13023 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=yes'
13025 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=no
'
13030 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13035 eval "$wx_cv_use_richmsgdlg"
13037 if test x"$enablestring" = xdisable; then
13038 if test $wxUSE_RICHMSGDLG = no; then
13044 result=$wxUSE_RICHMSGDLG
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13048 $as_echo "$result" >&6; }
13052 defaultval=$wxUSE_ALL_FEATURES
13053 if test -z "$defaultval"; then
13054 if test x"$enablestring" = xdisable; then
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-richtooltip" >&5
13062 $as_echo_n "checking
for --${enablestring:-enable}-richtooltip...
" >&6; }
13063 # Check whether --enable-richtooltip was given.
13064 if test "${enable_richtooltip+set}" = set; then :
13065 enableval=$enable_richtooltip;
13066 if test "$enableval" = yes; then
13067 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13069 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13074 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13079 eval "$wx_cv_use_richtooltip"
13081 if test x
"$enablestring" = xdisable
; then
13082 if test $wxUSE_RICHTOOLTIP = no
; then
13088 result
=$wxUSE_RICHTOOLTIP
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13092 $as_echo "$result" >&6; }
13096 defaultval
=$wxUSE_ALL_FEATURES
13097 if test -z "$defaultval"; then
13098 if test x
"$enablestring" = xdisable
; then
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13106 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13107 # Check whether --enable-rearrangectrl was given.
13108 if test "${enable_rearrangectrl+set}" = set; then :
13109 enableval
=$enable_rearrangectrl;
13110 if test "$enableval" = yes; then
13111 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
13113 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
13118 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13123 eval "$wx_cv_use_rearrangectrl"
13125 if test x"$enablestring" = xdisable; then
13126 if test $wxUSE_REARRANGECTRL = no; then
13132 result=$wxUSE_REARRANGECTRL
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13136 $as_echo "$result" >&6; }
13140 defaultval=$wxUSE_ALL_FEATURES
13141 if test -z "$defaultval"; then
13142 if test x"$enablestring" = xdisable; then
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13150 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13151 # Check whether --enable-sash was given.
13152 if test "${enable_sash+set}" = set; then :
13153 enableval=$enable_sash;
13154 if test "$enableval" = yes; then
13155 wx_cv_use_sash='wxUSE_SASH
=yes'
13157 wx_cv_use_sash='wxUSE_SASH
=no
'
13162 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13167 eval "$wx_cv_use_sash"
13169 if test x"$enablestring" = xdisable; then
13170 if test $wxUSE_SASH = no; then
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13180 $as_echo "$result" >&6; }
13184 defaultval=$wxUSE_ALL_FEATURES
13185 if test -z "$defaultval"; then
13186 if test x"$enablestring" = xdisable; then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-scrollbar" >&5
13194 $as_echo_n "checking
for --${enablestring:-enable}-scrollbar...
" >&6; }
13195 # Check whether --enable-scrollbar was given.
13196 if test "${enable_scrollbar+set}" = set; then :
13197 enableval=$enable_scrollbar;
13198 if test "$enableval" = yes; then
13199 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13201 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13206 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13211 eval "$wx_cv_use_scrollbar"
13213 if test x
"$enablestring" = xdisable
; then
13214 if test $wxUSE_SCROLLBAR = no
; then
13220 result
=$wxUSE_SCROLLBAR
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13224 $as_echo "$result" >&6; }
13228 defaultval
=$wxUSE_ALL_FEATURES
13229 if test -z "$defaultval"; then
13230 if test x
"$enablestring" = xdisable
; then
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13238 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13239 # Check whether --enable-searchctrl was given.
13240 if test "${enable_searchctrl+set}" = set; then :
13241 enableval
=$enable_searchctrl;
13242 if test "$enableval" = yes; then
13243 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
13245 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
13250 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13255 eval "$wx_cv_use_searchctrl"
13257 if test x"$enablestring" = xdisable; then
13258 if test $wxUSE_SEARCHCTRL = no; then
13264 result=$wxUSE_SEARCHCTRL
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13268 $as_echo "$result" >&6; }
13272 defaultval=$wxUSE_ALL_FEATURES
13273 if test -z "$defaultval"; then
13274 if test x"$enablestring" = xdisable; then
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13282 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13283 # Check whether --enable-slider was given.
13284 if test "${enable_slider+set}" = set; then :
13285 enableval=$enable_slider;
13286 if test "$enableval" = yes; then
13287 wx_cv_use_slider='wxUSE_SLIDER
=yes'
13289 wx_cv_use_slider='wxUSE_SLIDER
=no
'
13294 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13299 eval "$wx_cv_use_slider"
13301 if test x"$enablestring" = xdisable; then
13302 if test $wxUSE_SLIDER = no; then
13308 result=$wxUSE_SLIDER
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13312 $as_echo "$result" >&6; }
13316 defaultval=$wxUSE_ALL_FEATURES
13317 if test -z "$defaultval"; then
13318 if test x"$enablestring" = xdisable; then
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-spinbtn" >&5
13326 $as_echo_n "checking
for --${enablestring:-enable}-spinbtn...
" >&6; }
13327 # Check whether --enable-spinbtn was given.
13328 if test "${enable_spinbtn+set}" = set; then :
13329 enableval=$enable_spinbtn;
13330 if test "$enableval" = yes; then
13331 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13333 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13338 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13343 eval "$wx_cv_use_spinbtn"
13345 if test x
"$enablestring" = xdisable
; then
13346 if test $wxUSE_SPINBTN = no
; then
13352 result
=$wxUSE_SPINBTN
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13356 $as_echo "$result" >&6; }
13360 defaultval
=$wxUSE_ALL_FEATURES
13361 if test -z "$defaultval"; then
13362 if test x
"$enablestring" = xdisable
; then
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13370 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13371 # Check whether --enable-spinctrl was given.
13372 if test "${enable_spinctrl+set}" = set; then :
13373 enableval
=$enable_spinctrl;
13374 if test "$enableval" = yes; then
13375 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
13377 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
13382 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13387 eval "$wx_cv_use_spinctrl"
13389 if test x"$enablestring" = xdisable; then
13390 if test $wxUSE_SPINCTRL = no; then
13396 result=$wxUSE_SPINCTRL
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13400 $as_echo "$result" >&6; }
13404 defaultval=$wxUSE_ALL_FEATURES
13405 if test -z "$defaultval"; then
13406 if test x"$enablestring" = xdisable; then
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13414 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13415 # Check whether --enable-splitter was given.
13416 if test "${enable_splitter+set}" = set; then :
13417 enableval=$enable_splitter;
13418 if test "$enableval" = yes; then
13419 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
13421 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
13426 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13431 eval "$wx_cv_use_splitter"
13433 if test x"$enablestring" = xdisable; then
13434 if test $wxUSE_SPLITTER = no; then
13440 result=$wxUSE_SPLITTER
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13444 $as_echo "$result" >&6; }
13448 defaultval=$wxUSE_ALL_FEATURES
13449 if test -z "$defaultval"; then
13450 if test x"$enablestring" = xdisable; then
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statbmp" >&5
13458 $as_echo_n "checking
for --${enablestring:-enable}-statbmp...
" >&6; }
13459 # Check whether --enable-statbmp was given.
13460 if test "${enable_statbmp+set}" = set; then :
13461 enableval=$enable_statbmp;
13462 if test "$enableval" = yes; then
13463 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13465 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13470 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13475 eval "$wx_cv_use_statbmp"
13477 if test x
"$enablestring" = xdisable
; then
13478 if test $wxUSE_STATBMP = no
; then
13484 result
=$wxUSE_STATBMP
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13488 $as_echo "$result" >&6; }
13492 defaultval
=$wxUSE_ALL_FEATURES
13493 if test -z "$defaultval"; then
13494 if test x
"$enablestring" = xdisable
; then
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13502 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13503 # Check whether --enable-statbox was given.
13504 if test "${enable_statbox+set}" = set; then :
13505 enableval
=$enable_statbox;
13506 if test "$enableval" = yes; then
13507 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
13509 wx_cv_use_statbox
='wxUSE_STATBOX=no'
13514 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13519 eval "$wx_cv_use_statbox"
13521 if test x"$enablestring" = xdisable; then
13522 if test $wxUSE_STATBOX = no; then
13528 result=$wxUSE_STATBOX
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13532 $as_echo "$result" >&6; }
13536 defaultval=$wxUSE_ALL_FEATURES
13537 if test -z "$defaultval"; then
13538 if test x"$enablestring" = xdisable; then
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13546 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13547 # Check whether --enable-statline was given.
13548 if test "${enable_statline+set}" = set; then :
13549 enableval=$enable_statline;
13550 if test "$enableval" = yes; then
13551 wx_cv_use_statline='wxUSE_STATLINE
=yes'
13553 wx_cv_use_statline='wxUSE_STATLINE
=no
'
13558 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13563 eval "$wx_cv_use_statline"
13565 if test x"$enablestring" = xdisable; then
13566 if test $wxUSE_STATLINE = no; then
13572 result=$wxUSE_STATLINE
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13576 $as_echo "$result" >&6; }
13580 defaultval=$wxUSE_ALL_FEATURES
13581 if test -z "$defaultval"; then
13582 if test x"$enablestring" = xdisable; then
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stattext" >&5
13590 $as_echo_n "checking
for --${enablestring:-enable}-stattext...
" >&6; }
13591 # Check whether --enable-stattext was given.
13592 if test "${enable_stattext+set}" = set; then :
13593 enableval=$enable_stattext;
13594 if test "$enableval" = yes; then
13595 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13597 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13602 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13607 eval "$wx_cv_use_stattext"
13609 if test x
"$enablestring" = xdisable
; then
13610 if test $wxUSE_STATTEXT = no
; then
13616 result
=$wxUSE_STATTEXT
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13620 $as_echo "$result" >&6; }
13624 defaultval
=$wxUSE_ALL_FEATURES
13625 if test -z "$defaultval"; then
13626 if test x
"$enablestring" = xdisable
; then
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13634 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13635 # Check whether --enable-statusbar was given.
13636 if test "${enable_statusbar+set}" = set; then :
13637 enableval
=$enable_statusbar;
13638 if test "$enableval" = yes; then
13639 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
13641 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
13646 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13651 eval "$wx_cv_use_statusbar"
13653 if test x"$enablestring" = xdisable; then
13654 if test $wxUSE_STATUSBAR = no; then
13660 result=$wxUSE_STATUSBAR
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13664 $as_echo "$result" >&6; }
13668 defaultval=$wxUSE_ALL_FEATURES
13669 if test -z "$defaultval"; then
13670 if test x"$enablestring" = xdisable; then
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13678 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13679 # Check whether --enable-taskbaricon was given.
13680 if test "${enable_taskbaricon+set}" = set; then :
13681 enableval=$enable_taskbaricon;
13682 if test "$enableval" = yes; then
13683 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
13685 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
13690 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13695 eval "$wx_cv_use_taskbaricon"
13697 if test x"$enablestring" = xdisable; then
13698 if test $wxUSE_TASKBARICON = no; then
13704 result=$wxUSE_TASKBARICON
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13708 $as_echo "$result" >&6; }
13712 defaultval=$wxUSE_ALL_FEATURES
13713 if test -z "$defaultval"; then
13714 if test x"$enablestring" = xdisable; then
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tbarnative" >&5
13722 $as_echo_n "checking
for --${enablestring:-enable}-tbarnative...
" >&6; }
13723 # Check whether --enable-tbarnative was given.
13724 if test "${enable_tbarnative+set}" = set; then :
13725 enableval=$enable_tbarnative;
13726 if test "$enableval" = yes; then
13727 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13729 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13734 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13739 eval "$wx_cv_use_tbarnative"
13741 if test x
"$enablestring" = xdisable
; then
13742 if test $wxUSE_TOOLBAR_NATIVE = no
; then
13748 result
=$wxUSE_TOOLBAR_NATIVE
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13752 $as_echo "$result" >&6; }
13756 defaultval
=$wxUSE_ALL_FEATURES
13757 if test -z "$defaultval"; then
13758 if test x
"$enablestring" = xdisable
; then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13766 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13767 # Check whether --enable-textctrl was given.
13768 if test "${enable_textctrl+set}" = set; then :
13769 enableval
=$enable_textctrl;
13770 if test "$enableval" = yes; then
13771 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
13773 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
13778 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13783 eval "$wx_cv_use_textctrl"
13785 if test x"$enablestring" = xdisable; then
13786 if test $wxUSE_TEXTCTRL = no; then
13792 result=$wxUSE_TEXTCTRL
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13796 $as_echo "$result" >&6; }
13800 defaultval=$wxUSE_ALL_FEATURES
13801 if test -z "$defaultval"; then
13802 if test x"$enablestring" = xdisable; then
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13810 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13811 # Check whether --enable-datepick was given.
13812 if test "${enable_datepick+set}" = set; then :
13813 enableval=$enable_datepick;
13814 if test "$enableval" = yes; then
13815 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=yes'
13817 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=no
'
13822 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13827 eval "$wx_cv_use_datepick"
13829 if test x"$enablestring" = xdisable; then
13830 if test $wxUSE_TIMEPICKCTRL = no; then
13836 result=$wxUSE_TIMEPICKCTRL
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13840 $as_echo "$result" >&6; }
13844 defaultval=$wxUSE_ALL_FEATURES
13845 if test -z "$defaultval"; then
13846 if test x"$enablestring" = xdisable; then
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tipwindow" >&5
13854 $as_echo_n "checking
for --${enablestring:-enable}-tipwindow...
" >&6; }
13855 # Check whether --enable-tipwindow was given.
13856 if test "${enable_tipwindow+set}" = set; then :
13857 enableval=$enable_tipwindow;
13858 if test "$enableval" = yes; then
13859 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13861 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13866 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13871 eval "$wx_cv_use_tipwindow"
13873 if test x
"$enablestring" = xdisable
; then
13874 if test $wxUSE_TIPWINDOW = no
; then
13880 result
=$wxUSE_TIPWINDOW
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13884 $as_echo "$result" >&6; }
13888 defaultval
=$wxUSE_ALL_FEATURES
13889 if test -z "$defaultval"; then
13890 if test x
"$enablestring" = xdisable
; then
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13898 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13899 # Check whether --enable-togglebtn was given.
13900 if test "${enable_togglebtn+set}" = set; then :
13901 enableval
=$enable_togglebtn;
13902 if test "$enableval" = yes; then
13903 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
13905 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
13910 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13915 eval "$wx_cv_use_togglebtn"
13917 if test x"$enablestring" = xdisable; then
13918 if test $wxUSE_TOGGLEBTN = no; then
13924 result=$wxUSE_TOGGLEBTN
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13928 $as_echo "$result" >&6; }
13932 defaultval=$wxUSE_ALL_FEATURES
13933 if test -z "$defaultval"; then
13934 if test x"$enablestring" = xdisable; then
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13942 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13943 # Check whether --enable-toolbar was given.
13944 if test "${enable_toolbar+set}" = set; then :
13945 enableval=$enable_toolbar;
13946 if test "$enableval" = yes; then
13947 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
13949 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
13954 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13959 eval "$wx_cv_use_toolbar"
13961 if test x"$enablestring" = xdisable; then
13962 if test $wxUSE_TOOLBAR = no; then
13968 result=$wxUSE_TOOLBAR
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13972 $as_echo "$result" >&6; }
13976 defaultval=$wxUSE_ALL_FEATURES
13977 if test -z "$defaultval"; then
13978 if test x"$enablestring" = xdisable; then
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-toolbook" >&5
13986 $as_echo_n "checking
for --${enablestring:-enable}-toolbook...
" >&6; }
13987 # Check whether --enable-toolbook was given.
13988 if test "${enable_toolbook+set}" = set; then :
13989 enableval=$enable_toolbook;
13990 if test "$enableval" = yes; then
13991 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13993 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13998 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14003 eval "$wx_cv_use_toolbook"
14005 if test x
"$enablestring" = xdisable
; then
14006 if test $wxUSE_TOOLBOOK = no
; then
14012 result
=$wxUSE_TOOLBOOK
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14016 $as_echo "$result" >&6; }
14020 defaultval
=$wxUSE_ALL_FEATURES
14021 if test -z "$defaultval"; then
14022 if test x
"$enablestring" = xdisable
; then
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14030 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14031 # Check whether --enable-treebook was given.
14032 if test "${enable_treebook+set}" = set; then :
14033 enableval
=$enable_treebook;
14034 if test "$enableval" = yes; then
14035 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
14037 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
14042 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14047 eval "$wx_cv_use_treebook"
14049 if test x"$enablestring" = xdisable; then
14050 if test $wxUSE_TREEBOOK = no; then
14056 result=$wxUSE_TREEBOOK
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14060 $as_echo "$result" >&6; }
14064 defaultval=$wxUSE_ALL_FEATURES
14065 if test -z "$defaultval"; then
14066 if test x"$enablestring" = xdisable; then
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14074 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14075 # Check whether --enable-treectrl was given.
14076 if test "${enable_treectrl+set}" = set; then :
14077 enableval=$enable_treectrl;
14078 if test "$enableval" = yes; then
14079 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
14081 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
14086 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14091 eval "$wx_cv_use_treectrl"
14093 if test x"$enablestring" = xdisable; then
14094 if test $wxUSE_TREECTRL = no; then
14100 result=$wxUSE_TREECTRL
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14104 $as_echo "$result" >&6; }
14108 defaultval=$wxUSE_ALL_FEATURES
14109 if test -z "$defaultval"; then
14110 if test x"$enablestring" = xdisable; then
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treelist" >&5
14118 $as_echo_n "checking
for --${enablestring:-enable}-treelist...
" >&6; }
14119 # Check whether --enable-treelist was given.
14120 if test "${enable_treelist+set}" = set; then :
14121 enableval=$enable_treelist;
14122 if test "$enableval" = yes; then
14123 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14125 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14130 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14135 eval "$wx_cv_use_treelist"
14137 if test x
"$enablestring" = xdisable
; then
14138 if test $wxUSE_TREELISTCTRL = no
; then
14144 result
=$wxUSE_TREELISTCTRL
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14148 $as_echo "$result" >&6; }
14154 defaultval
=$wxUSE_ALL_FEATURES
14155 if test -z "$defaultval"; then
14156 if test x
"$enablestring" = xdisable
; then
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14164 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14165 # Check whether --enable-commondlg was given.
14166 if test "${enable_commondlg+set}" = set; then :
14167 enableval
=$enable_commondlg;
14168 if test "$enableval" = yes; then
14169 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
14171 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
14176 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14181 eval "$wx_cv_use_commondlg"
14183 if test x"$enablestring" = xdisable; then
14184 if test $wxUSE_COMMONDLGS = no; then
14190 result=$wxUSE_COMMONDLGS
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14194 $as_echo "$result" >&6; }
14198 defaultval=$wxUSE_ALL_FEATURES
14199 if test -z "$defaultval"; then
14200 if test x"$enablestring" = xdisable; then
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14208 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14209 # Check whether --enable-aboutdlg was given.
14210 if test "${enable_aboutdlg+set}" = set; then :
14211 enableval=$enable_aboutdlg;
14212 if test "$enableval" = yes; then
14213 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
14215 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
14220 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14225 eval "$wx_cv_use_aboutdlg"
14227 if test x"$enablestring" = xdisable; then
14228 if test $wxUSE_ABOUTDLG = no; then
14234 result=$wxUSE_ABOUTDLG
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14238 $as_echo "$result" >&6; }
14242 defaultval=$wxUSE_ALL_FEATURES
14243 if test -z "$defaultval"; then
14244 if test x"$enablestring" = xdisable; then
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-choicedlg" >&5
14252 $as_echo_n "checking
for --${enablestring:-enable}-choicedlg...
" >&6; }
14253 # Check whether --enable-choicedlg was given.
14254 if test "${enable_choicedlg+set}" = set; then :
14255 enableval=$enable_choicedlg;
14256 if test "$enableval" = yes; then
14257 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14259 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14264 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14269 eval "$wx_cv_use_choicedlg"
14271 if test x
"$enablestring" = xdisable
; then
14272 if test $wxUSE_CHOICEDLG = no
; then
14278 result
=$wxUSE_CHOICEDLG
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14282 $as_echo "$result" >&6; }
14286 defaultval
=$wxUSE_ALL_FEATURES
14287 if test -z "$defaultval"; then
14288 if test x
"$enablestring" = xdisable
; then
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14296 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14297 # Check whether --enable-coldlg was given.
14298 if test "${enable_coldlg+set}" = set; then :
14299 enableval
=$enable_coldlg;
14300 if test "$enableval" = yes; then
14301 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
14303 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
14308 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14313 eval "$wx_cv_use_coldlg"
14315 if test x"$enablestring" = xdisable; then
14316 if test $wxUSE_COLOURDLG = no; then
14322 result=$wxUSE_COLOURDLG
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14326 $as_echo "$result" >&6; }
14330 defaultval=$wxUSE_ALL_FEATURES
14331 if test -z "$defaultval"; then
14332 if test x"$enablestring" = xdisable; then
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14340 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14341 # Check whether --enable-filedlg was given.
14342 if test "${enable_filedlg+set}" = set; then :
14343 enableval=$enable_filedlg;
14344 if test "$enableval" = yes; then
14345 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
14347 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
14352 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14357 eval "$wx_cv_use_filedlg"
14359 if test x"$enablestring" = xdisable; then
14360 if test $wxUSE_FILEDLG = no; then
14366 result=$wxUSE_FILEDLG
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14370 $as_echo "$result" >&6; }
14374 defaultval=$wxUSE_ALL_FEATURES
14375 if test -z "$defaultval"; then
14376 if test x"$enablestring" = xdisable; then
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-finddlg" >&5
14384 $as_echo_n "checking
for --${enablestring:-enable}-finddlg...
" >&6; }
14385 # Check whether --enable-finddlg was given.
14386 if test "${enable_finddlg+set}" = set; then :
14387 enableval=$enable_finddlg;
14388 if test "$enableval" = yes; then
14389 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14391 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14396 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14401 eval "$wx_cv_use_finddlg"
14403 if test x
"$enablestring" = xdisable
; then
14404 if test $wxUSE_FINDREPLDLG = no
; then
14410 result
=$wxUSE_FINDREPLDLG
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14414 $as_echo "$result" >&6; }
14418 defaultval
=$wxUSE_ALL_FEATURES
14419 if test -z "$defaultval"; then
14420 if test x
"$enablestring" = xdisable
; then
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14428 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14429 # Check whether --enable-fontdlg was given.
14430 if test "${enable_fontdlg+set}" = set; then :
14431 enableval
=$enable_fontdlg;
14432 if test "$enableval" = yes; then
14433 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
14435 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
14440 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14445 eval "$wx_cv_use_fontdlg"
14447 if test x"$enablestring" = xdisable; then
14448 if test $wxUSE_FONTDLG = no; then
14454 result=$wxUSE_FONTDLG
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14458 $as_echo "$result" >&6; }
14462 defaultval=$wxUSE_ALL_FEATURES
14463 if test -z "$defaultval"; then
14464 if test x"$enablestring" = xdisable; then
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14472 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14473 # Check whether --enable-dirdlg was given.
14474 if test "${enable_dirdlg+set}" = set; then :
14475 enableval=$enable_dirdlg;
14476 if test "$enableval" = yes; then
14477 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
14479 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
14484 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14489 eval "$wx_cv_use_dirdlg"
14491 if test x"$enablestring" = xdisable; then
14492 if test $wxUSE_DIRDLG = no; then
14498 result=$wxUSE_DIRDLG
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14502 $as_echo "$result" >&6; }
14506 defaultval=$wxUSE_ALL_FEATURES
14507 if test -z "$defaultval"; then
14508 if test x"$enablestring" = xdisable; then
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-msgdlg" >&5
14516 $as_echo_n "checking
for --${enablestring:-enable}-msgdlg...
" >&6; }
14517 # Check whether --enable-msgdlg was given.
14518 if test "${enable_msgdlg+set}" = set; then :
14519 enableval=$enable_msgdlg;
14520 if test "$enableval" = yes; then
14521 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14523 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14528 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14533 eval "$wx_cv_use_msgdlg"
14535 if test x
"$enablestring" = xdisable
; then
14536 if test $wxUSE_MSGDLG = no
; then
14542 result
=$wxUSE_MSGDLG
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14546 $as_echo "$result" >&6; }
14550 defaultval
=$wxUSE_ALL_FEATURES
14551 if test -z "$defaultval"; then
14552 if test x
"$enablestring" = xdisable
; then
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14560 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14561 # Check whether --enable-numberdlg was given.
14562 if test "${enable_numberdlg+set}" = set; then :
14563 enableval
=$enable_numberdlg;
14564 if test "$enableval" = yes; then
14565 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
14567 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
14572 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14577 eval "$wx_cv_use_numberdlg"
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_NUMBERDLG = no; then
14586 result=$wxUSE_NUMBERDLG
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14590 $as_echo "$result" >&6; }
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14604 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14605 # Check whether --enable-splash was given.
14606 if test "${enable_splash+set}" = set; then :
14607 enableval=$enable_splash;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_splash='wxUSE_SPLASH
=yes'
14611 wx_cv_use_splash='wxUSE_SPLASH
=no
'
14616 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14621 eval "$wx_cv_use_splash"
14623 if test x"$enablestring" = xdisable; then
14624 if test $wxUSE_SPLASH = no; then
14630 result=$wxUSE_SPLASH
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14634 $as_echo "$result" >&6; }
14638 defaultval=$wxUSE_ALL_FEATURES
14639 if test -z "$defaultval"; then
14640 if test x"$enablestring" = xdisable; then
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textdlg" >&5
14648 $as_echo_n "checking
for --${enablestring:-enable}-textdlg...
" >&6; }
14649 # Check whether --enable-textdlg was given.
14650 if test "${enable_textdlg+set}" = set; then :
14651 enableval=$enable_textdlg;
14652 if test "$enableval" = yes; then
14653 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14655 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14660 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14665 eval "$wx_cv_use_textdlg"
14667 if test x
"$enablestring" = xdisable
; then
14668 if test $wxUSE_TEXTDLG = no
; then
14674 result
=$wxUSE_TEXTDLG
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14678 $as_echo "$result" >&6; }
14682 defaultval
=$wxUSE_ALL_FEATURES
14683 if test -z "$defaultval"; then
14684 if test x
"$enablestring" = xdisable
; then
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14692 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14693 # Check whether --enable-tipdlg was given.
14694 if test "${enable_tipdlg+set}" = set; then :
14695 enableval
=$enable_tipdlg;
14696 if test "$enableval" = yes; then
14697 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
14699 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
14704 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14709 eval "$wx_cv_use_tipdlg"
14711 if test x"$enablestring" = xdisable; then
14712 if test $wxUSE_STARTUP_TIPS = no; then
14718 result=$wxUSE_STARTUP_TIPS
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14722 $as_echo "$result" >&6; }
14726 defaultval=$wxUSE_ALL_FEATURES
14727 if test -z "$defaultval"; then
14728 if test x"$enablestring" = xdisable; then
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14736 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14737 # Check whether --enable-progressdlg was given.
14738 if test "${enable_progressdlg+set}" = set; then :
14739 enableval=$enable_progressdlg;
14740 if test "$enableval" = yes; then
14741 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
14743 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
14748 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14753 eval "$wx_cv_use_progressdlg"
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_PROGRESSDLG = no; then
14762 result=$wxUSE_PROGRESSDLG
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14766 $as_echo "$result" >&6; }
14770 defaultval=$wxUSE_ALL_FEATURES
14771 if test -z "$defaultval"; then
14772 if test x"$enablestring" = xdisable; then
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-wizarddlg" >&5
14780 $as_echo_n "checking
for --${enablestring:-enable}-wizarddlg...
" >&6; }
14781 # Check whether --enable-wizarddlg was given.
14782 if test "${enable_wizarddlg+set}" = set; then :
14783 enableval=$enable_wizarddlg;
14784 if test "$enableval" = yes; then
14785 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14787 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14792 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14797 eval "$wx_cv_use_wizarddlg"
14799 if test x
"$enablestring" = xdisable
; then
14800 if test $wxUSE_WIZARDDLG = no
; then
14806 result
=$wxUSE_WIZARDDLG
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14810 $as_echo "$result" >&6; }
14816 defaultval
=$wxUSE_ALL_FEATURES
14817 if test -z "$defaultval"; then
14818 if test x
"$enablestring" = xdisable
; then
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14826 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14827 # Check whether --enable-menus was given.
14828 if test "${enable_menus+set}" = set; then :
14829 enableval
=$enable_menus;
14830 if test "$enableval" = yes; then
14831 wx_cv_use_menus
='wxUSE_MENUS=yes'
14833 wx_cv_use_menus
='wxUSE_MENUS=no'
14838 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14843 eval "$wx_cv_use_menus"
14845 if test x"$enablestring" = xdisable; then
14846 if test $wxUSE_MENUS = no; then
14852 result=$wxUSE_MENUS
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14856 $as_echo "$result" >&6; }
14860 defaultval=$wxUSE_ALL_FEATURES
14861 if test -z "$defaultval"; then
14862 if test x"$enablestring" = xdisable; then
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14870 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14871 # Check whether --enable-miniframe was given.
14872 if test "${enable_miniframe+set}" = set; then :
14873 enableval=$enable_miniframe;
14874 if test "$enableval" = yes; then
14875 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
14877 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
14882 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14887 eval "$wx_cv_use_miniframe"
14889 if test x"$enablestring" = xdisable; then
14890 if test $wxUSE_MINIFRAME = no; then
14896 result=$wxUSE_MINIFRAME
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14900 $as_echo "$result" >&6; }
14904 defaultval=$wxUSE_ALL_FEATURES
14905 if test -z "$defaultval"; then
14906 if test x"$enablestring" = xdisable; then
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tooltips" >&5
14914 $as_echo_n "checking
for --${enablestring:-enable}-tooltips...
" >&6; }
14915 # Check whether --enable-tooltips was given.
14916 if test "${enable_tooltips+set}" = set; then :
14917 enableval=$enable_tooltips;
14918 if test "$enableval" = yes; then
14919 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14921 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14926 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14931 eval "$wx_cv_use_tooltips"
14933 if test x
"$enablestring" = xdisable
; then
14934 if test $wxUSE_TOOLTIPS = no
; then
14940 result
=$wxUSE_TOOLTIPS
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14944 $as_echo "$result" >&6; }
14948 defaultval
=$wxUSE_ALL_FEATURES
14949 if test -z "$defaultval"; then
14950 if test x
"$enablestring" = xdisable
; then
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14958 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14959 # Check whether --enable-splines was given.
14960 if test "${enable_splines+set}" = set; then :
14961 enableval
=$enable_splines;
14962 if test "$enableval" = yes; then
14963 wx_cv_use_splines
='wxUSE_SPLINES=yes'
14965 wx_cv_use_splines
='wxUSE_SPLINES=no'
14970 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14975 eval "$wx_cv_use_splines"
14977 if test x"$enablestring" = xdisable; then
14978 if test $wxUSE_SPLINES = no; then
14984 result=$wxUSE_SPLINES
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14988 $as_echo "$result" >&6; }
14992 defaultval=$wxUSE_ALL_FEATURES
14993 if test -z "$defaultval"; then
14994 if test x"$enablestring" = xdisable; then
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15002 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15003 # Check whether --enable-mousewheel was given.
15004 if test "${enable_mousewheel+set}" = set; then :
15005 enableval=$enable_mousewheel;
15006 if test "$enableval" = yes; then
15007 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
15009 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
15014 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15019 eval "$wx_cv_use_mousewheel"
15021 if test x"$enablestring" = xdisable; then
15022 if test $wxUSE_MOUSEWHEEL = no; then
15028 result=$wxUSE_MOUSEWHEEL
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15032 $as_echo "$result" >&6; }
15036 defaultval=$wxUSE_ALL_FEATURES
15037 if test -z "$defaultval"; then
15038 if test x"$enablestring" = xdisable; then
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-validators" >&5
15046 $as_echo_n "checking
for --${enablestring:-enable}-validators...
" >&6; }
15047 # Check whether --enable-validators was given.
15048 if test "${enable_validators+set}" = set; then :
15049 enableval=$enable_validators;
15050 if test "$enableval" = yes; then
15051 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15053 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15058 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15063 eval "$wx_cv_use_validators"
15065 if test x
"$enablestring" = xdisable
; then
15066 if test $wxUSE_VALIDATORS = no
; then
15072 result
=$wxUSE_VALIDATORS
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15076 $as_echo "$result" >&6; }
15080 defaultval
=$wxUSE_ALL_FEATURES
15081 if test -z "$defaultval"; then
15082 if test x
"$enablestring" = xdisable
; then
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15090 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15091 # Check whether --enable-busyinfo was given.
15092 if test "${enable_busyinfo+set}" = set; then :
15093 enableval
=$enable_busyinfo;
15094 if test "$enableval" = yes; then
15095 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
15097 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
15102 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15107 eval "$wx_cv_use_busyinfo"
15109 if test x"$enablestring" = xdisable; then
15110 if test $wxUSE_BUSYINFO = no; then
15116 result=$wxUSE_BUSYINFO
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15120 $as_echo "$result" >&6; }
15124 defaultval=$wxUSE_ALL_FEATURES
15125 if test -z "$defaultval"; then
15126 if test x"$enablestring" = xdisable; then
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15134 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15135 # Check whether --enable-hotkey was given.
15136 if test "${enable_hotkey+set}" = set; then :
15137 enableval=$enable_hotkey;
15138 if test "$enableval" = yes; then
15139 wx_cv_use_hotkey='wxUSE_HOTKEY
=yes'
15141 wx_cv_use_hotkey='wxUSE_HOTKEY
=no
'
15146 wx_cv_use_hotkey='wxUSE_HOTKEY
=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15151 eval "$wx_cv_use_hotkey"
15153 if test x"$enablestring" = xdisable; then
15154 if test $wxUSE_HOTKEY = no; then
15160 result=$wxUSE_HOTKEY
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15164 $as_echo "$result" >&6; }
15168 defaultval=$wxUSE_ALL_FEATURES
15169 if test -z "$defaultval"; then
15170 if test x"$enablestring" = xdisable; then
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-joystick" >&5
15178 $as_echo_n "checking
for --${enablestring:-enable}-joystick...
" >&6; }
15179 # Check whether --enable-joystick was given.
15180 if test "${enable_joystick+set}" = set; then :
15181 enableval=$enable_joystick;
15182 if test "$enableval" = yes; then
15183 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15185 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15190 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15195 eval "$wx_cv_use_joystick"
15197 if test x
"$enablestring" = xdisable
; then
15198 if test $wxUSE_JOYSTICK = no
; then
15204 result
=$wxUSE_JOYSTICK
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15208 $as_echo "$result" >&6; }
15212 defaultval
=$wxUSE_ALL_FEATURES
15213 if test -z "$defaultval"; then
15214 if test x
"$enablestring" = xdisable
; then
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15222 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15223 # Check whether --enable-metafile was given.
15224 if test "${enable_metafile+set}" = set; then :
15225 enableval
=$enable_metafile;
15226 if test "$enableval" = yes; then
15227 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
15229 wx_cv_use_metafile
='wxUSE_METAFILE=no'
15234 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15239 eval "$wx_cv_use_metafile"
15241 if test x"$enablestring" = xdisable; then
15242 if test $wxUSE_METAFILE = no; then
15248 result=$wxUSE_METAFILE
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15252 $as_echo "$result" >&6; }
15256 defaultval=$wxUSE_ALL_FEATURES
15257 if test -z "$defaultval"; then
15258 if test x"$enablestring" = xdisable; then
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15266 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15267 # Check whether --enable-dragimage was given.
15268 if test "${enable_dragimage+set}" = set; then :
15269 enableval=$enable_dragimage;
15270 if test "$enableval" = yes; then
15271 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
15273 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
15278 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15283 eval "$wx_cv_use_dragimage"
15285 if test x"$enablestring" = xdisable; then
15286 if test $wxUSE_DRAGIMAGE = no; then
15292 result=$wxUSE_DRAGIMAGE
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15296 $as_echo "$result" >&6; }
15300 defaultval=$wxUSE_ALL_FEATURES
15301 if test -z "$defaultval"; then
15302 if test x"$enablestring" = xdisable; then
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-accessibility" >&5
15310 $as_echo_n "checking
for --${enablestring:-enable}-accessibility...
" >&6; }
15311 # Check whether --enable-accessibility was given.
15312 if test "${enable_accessibility+set}" = set; then :
15313 enableval=$enable_accessibility;
15314 if test "$enableval" = yes; then
15315 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15317 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15322 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15327 eval "$wx_cv_use_accessibility"
15329 if test x
"$enablestring" = xdisable
; then
15330 if test $wxUSE_ACCESSIBILITY = no
; then
15336 result
=$wxUSE_ACCESSIBILITY
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15340 $as_echo "$result" >&6; }
15344 defaultval
=$wxUSE_ALL_FEATURES
15345 if test -z "$defaultval"; then
15346 if test x
"$enablestring" = xdisable
; then
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15354 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15355 # Check whether --enable-uiactionsim was given.
15356 if test "${enable_uiactionsim+set}" = set; then :
15357 enableval
=$enable_uiactionsim;
15358 if test "$enableval" = yes; then
15359 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=yes'
15361 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=no'
15366 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15371 eval "$wx_cv_use_uiactionsim"
15373 if test x"$enablestring" = xdisable; then
15374 if test $wxUSE_UIACTIONSIMULATOR = no; then
15380 result=$wxUSE_UIACTIONSIMULATOR
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15384 $as_echo "$result" >&6; }
15388 defaultval=$wxUSE_ALL_FEATURES
15389 if test -z "$defaultval"; then
15390 if test x"$enablestring" = xdisable; then
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15398 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15399 # Check whether --enable-dctransform was given.
15400 if test "${enable_dctransform+set}" = set; then :
15401 enableval=$enable_dctransform;
15402 if test "$enableval" = yes; then
15403 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=yes'
15405 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=no
'
15410 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15415 eval "$wx_cv_use_dctransform"
15417 if test x"$enablestring" = xdisable; then
15418 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15424 result=$wxUSE_DC_TRANSFORM_MATRIX
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15428 $as_echo "$result" >&6; }
15432 defaultval=$wxUSE_ALL_FEATURES
15433 if test -z "$defaultval"; then
15434 if test x"$enablestring" = xdisable; then
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webviewwebkit" >&5
15442 $as_echo_n "checking
for --${enablestring:-enable}-webviewwebkit...
" >&6; }
15443 # Check whether --enable-webviewwebkit was given.
15444 if test "${enable_webviewwebkit+set}" = set; then :
15445 enableval=$enable_webviewwebkit;
15446 if test "$enableval" = yes; then
15447 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15449 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15454 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15459 eval "$wx_cv_use_webviewwebkit"
15461 if test x
"$enablestring" = xdisable
; then
15462 if test $wxUSE_WEBVIEW_WEBKIT = no
; then
15468 result
=$wxUSE_WEBVIEW_WEBKIT
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15472 $as_echo "$result" >&6; }
15478 defaultval
=$wxUSE_ALL_FEATURES
15479 if test -z "$defaultval"; then
15480 if test x
"$enablestring" = xdisable
; then
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15488 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15489 # Check whether --enable-palette was given.
15490 if test "${enable_palette+set}" = set; then :
15491 enableval
=$enable_palette;
15492 if test "$enableval" = yes; then
15493 wx_cv_use_palette
='wxUSE_PALETTE=yes'
15495 wx_cv_use_palette
='wxUSE_PALETTE=no'
15500 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15505 eval "$wx_cv_use_palette"
15507 if test x"$enablestring" = xdisable; then
15508 if test $wxUSE_PALETTE = no; then
15514 result=$wxUSE_PALETTE
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15518 $as_echo "$result" >&6; }
15522 defaultval=$wxUSE_ALL_FEATURES
15523 if test -z "$defaultval"; then
15524 if test x"$enablestring" = xdisable; then
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15532 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15533 # Check whether --enable-image was given.
15534 if test "${enable_image+set}" = set; then :
15535 enableval=$enable_image;
15536 if test "$enableval" = yes; then
15537 wx_cv_use_image='wxUSE_IMAGE
=yes'
15539 wx_cv_use_image='wxUSE_IMAGE
=no
'
15544 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15549 eval "$wx_cv_use_image"
15551 if test x"$enablestring" = xdisable; then
15552 if test $wxUSE_IMAGE = no; then
15558 result=$wxUSE_IMAGE
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15562 $as_echo "$result" >&6; }
15566 defaultval=$wxUSE_ALL_FEATURES
15567 if test -z "$defaultval"; then
15568 if test x"$enablestring" = xdisable; then
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gif" >&5
15576 $as_echo_n "checking
for --${enablestring:-enable}-gif...
" >&6; }
15577 # Check whether --enable-gif was given.
15578 if test "${enable_gif+set}" = set; then :
15579 enableval=$enable_gif;
15580 if test "$enableval" = yes; then
15581 wx_cv_use_gif='wxUSE_GIF=yes'
15583 wx_cv_use_gif='wxUSE_GIF=no'
15588 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15593 eval "$wx_cv_use_gif"
15595 if test x
"$enablestring" = xdisable
; then
15596 if test $wxUSE_GIF = no
; then
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15606 $as_echo "$result" >&6; }
15610 defaultval
=$wxUSE_ALL_FEATURES
15611 if test -z "$defaultval"; then
15612 if test x
"$enablestring" = xdisable
; then
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15620 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15621 # Check whether --enable-pcx was given.
15622 if test "${enable_pcx+set}" = set; then :
15623 enableval
=$enable_pcx;
15624 if test "$enableval" = yes; then
15625 wx_cv_use_pcx
='wxUSE_PCX=yes'
15627 wx_cv_use_pcx
='wxUSE_PCX=no'
15632 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15637 eval "$wx_cv_use_pcx"
15639 if test x"$enablestring" = xdisable; then
15640 if test $wxUSE_PCX = no; then
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15650 $as_echo "$result" >&6; }
15654 defaultval=$wxUSE_ALL_FEATURES
15655 if test -z "$defaultval"; then
15656 if test x"$enablestring" = xdisable; then
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15664 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15665 # Check whether --enable-tga was given.
15666 if test "${enable_tga+set}" = set; then :
15667 enableval=$enable_tga;
15668 if test "$enableval" = yes; then
15669 wx_cv_use_tga='wxUSE_TGA
=yes'
15671 wx_cv_use_tga='wxUSE_TGA
=no
'
15676 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15681 eval "$wx_cv_use_tga"
15683 if test x"$enablestring" = xdisable; then
15684 if test $wxUSE_TGA = no; then
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15694 $as_echo "$result" >&6; }
15698 defaultval=$wxUSE_ALL_FEATURES
15699 if test -z "$defaultval"; then
15700 if test x"$enablestring" = xdisable; then
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-iff" >&5
15708 $as_echo_n "checking
for --${enablestring:-enable}-iff...
" >&6; }
15709 # Check whether --enable-iff was given.
15710 if test "${enable_iff+set}" = set; then :
15711 enableval=$enable_iff;
15712 if test "$enableval" = yes; then
15713 wx_cv_use_iff='wxUSE_IFF=yes'
15715 wx_cv_use_iff='wxUSE_IFF=no'
15720 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15725 eval "$wx_cv_use_iff"
15727 if test x
"$enablestring" = xdisable
; then
15728 if test $wxUSE_IFF = no
; then
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15738 $as_echo "$result" >&6; }
15742 defaultval
=$wxUSE_ALL_FEATURES
15743 if test -z "$defaultval"; then
15744 if test x
"$enablestring" = xdisable
; then
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15752 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15753 # Check whether --enable-pnm was given.
15754 if test "${enable_pnm+set}" = set; then :
15755 enableval
=$enable_pnm;
15756 if test "$enableval" = yes; then
15757 wx_cv_use_pnm
='wxUSE_PNM=yes'
15759 wx_cv_use_pnm
='wxUSE_PNM=no'
15764 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15769 eval "$wx_cv_use_pnm"
15771 if test x"$enablestring" = xdisable; then
15772 if test $wxUSE_PNM = no; then
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15782 $as_echo "$result" >&6; }
15786 defaultval=$wxUSE_ALL_FEATURES
15787 if test -z "$defaultval"; then
15788 if test x"$enablestring" = xdisable; then
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15796 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15797 # Check whether --enable-xpm was given.
15798 if test "${enable_xpm+set}" = set; then :
15799 enableval=$enable_xpm;
15800 if test "$enableval" = yes; then
15801 wx_cv_use_xpm='wxUSE_XPM
=yes'
15803 wx_cv_use_xpm='wxUSE_XPM
=no
'
15808 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15813 eval "$wx_cv_use_xpm"
15815 if test x"$enablestring" = xdisable; then
15816 if test $wxUSE_XPM = no; then
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15826 $as_echo "$result" >&6; }
15830 defaultval=$wxUSE_ALL_FEATURES
15831 if test -z "$defaultval"; then
15832 if test x"$enablestring" = xdisable; then
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ico_cur" >&5
15840 $as_echo_n "checking
for --${enablestring:-enable}-ico_cur...
" >&6; }
15841 # Check whether --enable-ico_cur was given.
15842 if test "${enable_ico_cur+set}" = set; then :
15843 enableval=$enable_ico_cur;
15844 if test "$enableval" = yes; then
15845 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15847 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15852 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15857 eval "$wx_cv_use_ico_cur"
15859 if test x
"$enablestring" = xdisable
; then
15860 if test $wxUSE_ICO_CUR = no
; then
15866 result
=$wxUSE_ICO_CUR
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15870 $as_echo "$result" >&6; }
15876 defaultval
=$wxUSE_ALL_FEATURES
15877 if test -z "$defaultval"; then
15878 if test x
"$enablestring" = xdisable
; then
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15886 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15887 # Check whether --enable-dccache was given.
15888 if test "${enable_dccache+set}" = set; then :
15889 enableval
=$enable_dccache;
15890 if test "$enableval" = yes; then
15891 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
15893 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
15898 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15903 eval "$wx_cv_use_dccache"
15905 if test x"$enablestring" = xdisable; then
15906 if test $wxUSE_DC_CACHEING = no; then
15912 result=$wxUSE_DC_CACHEING
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15916 $as_echo "$result" >&6; }
15920 defaultval=$wxUSE_ALL_FEATURES
15921 if test -z "$defaultval"; then
15922 if test x"$enablestring" = xdisable; then
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15930 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15931 # Check whether --enable-ps-in-msw was given.
15932 if test "${enable_ps_in_msw+set}" = set; then :
15933 enableval=$enable_ps_in_msw;
15934 if test "$enableval" = yes; then
15935 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
15937 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
15942 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15947 eval "$wx_cv_use_ps_in_msw"
15949 if test x"$enablestring" = xdisable; then
15950 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15956 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15960 $as_echo "$result" >&6; }
15964 defaultval=$wxUSE_ALL_FEATURES
15965 if test -z "$defaultval"; then
15966 if test x"$enablestring" = xdisable; then
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ownerdrawn" >&5
15974 $as_echo_n "checking
for --${enablestring:-enable}-ownerdrawn...
" >&6; }
15975 # Check whether --enable-ownerdrawn was given.
15976 if test "${enable_ownerdrawn+set}" = set; then :
15977 enableval=$enable_ownerdrawn;
15978 if test "$enableval" = yes; then
15979 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15981 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15986 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15991 eval "$wx_cv_use_ownerdrawn"
15993 if test x
"$enablestring" = xdisable
; then
15994 if test $wxUSE_OWNER_DRAWN = no
; then
16000 result
=$wxUSE_OWNER_DRAWN
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16004 $as_echo "$result" >&6; }
16008 defaultval
=$wxUSE_ALL_FEATURES
16009 if test -z "$defaultval"; then
16010 if test x
"$enablestring" = xdisable
; then
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16018 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16019 # Check whether --enable-uxtheme was given.
16020 if test "${enable_uxtheme+set}" = set; then :
16021 enableval
=$enable_uxtheme;
16022 if test "$enableval" = yes; then
16023 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
16025 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
16030 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16035 eval "$wx_cv_use_uxtheme"
16037 if test x"$enablestring" = xdisable; then
16038 if test $wxUSE_UXTHEME = no; then
16044 result=$wxUSE_UXTHEME
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16048 $as_echo "$result" >&6; }
16052 defaultval=$wxUSE_ALL_FEATURES
16053 if test -z "$defaultval"; then
16054 if test x"$enablestring" = xdisable; then
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16062 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16063 # Check whether --enable-wxdib was given.
16064 if test "${enable_wxdib+set}" = set; then :
16065 enableval=$enable_wxdib;
16066 if test "$enableval" = yes; then
16067 wx_cv_use_wxdib='wxUSE_DIB
=yes'
16069 wx_cv_use_wxdib='wxUSE_DIB
=no
'
16074 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16079 eval "$wx_cv_use_wxdib"
16081 if test x"$enablestring" = xdisable; then
16082 if test $wxUSE_DIB = no; then
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16092 $as_echo "$result" >&6; }
16096 defaultval=$wxUSE_ALL_FEATURES
16097 if test -z "$defaultval"; then
16098 if test x"$enablestring" = xdisable; then
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webviewie" >&5
16106 $as_echo_n "checking
for --${enablestring:-enable}-webviewie...
" >&6; }
16107 # Check whether --enable-webviewie was given.
16108 if test "${enable_webviewie+set}" = set; then :
16109 enableval=$enable_webviewie;
16110 if test "$enableval" = yes; then
16111 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16113 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16118 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16123 eval "$wx_cv_use_webviewie"
16125 if test x
"$enablestring" = xdisable
; then
16126 if test $wxUSE_WEBVIEW_IE = no
; then
16132 result
=$wxUSE_WEBVIEW_IE
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16136 $as_echo "$result" >&6; }
16139 if test "$wxUSE_MSW" != 1; then
16140 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
16145 defaultval
=$wxUSE_ALL_FEATURES
16146 if test -z "$defaultval"; then
16147 if test x
"$enablestring" = xdisable
; then
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16155 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16156 # Check whether --enable-autoidman was given.
16157 if test "${enable_autoidman+set}" = set; then :
16158 enableval
=$enable_autoidman;
16159 if test "$enableval" = yes; then
16160 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
16162 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
16167 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16172 eval "$wx_cv_use_autoidman"
16174 if test x"$enablestring" = xdisable; then
16175 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16181 result=$wxUSE_AUTOID_MANAGEMENT
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16185 $as_echo "$result" >&6; }
16191 cat >confcache <<\_ACEOF
16192 # This file is a shell script that caches the results of configure
16193 # tests run on this system so they can be shared between configure
16194 # scripts and configure runs, see configure's option
--config-cache.
16195 # It is not useful on other systems. If it contains results you don't
16196 # want to keep, you may remove or edit it.
16198 # config.status only pays attention to the cache file if you give it
16199 # the --recheck option to rerun configure.
16201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16203 # following values.
16207 # The following way of writing the cache mishandles newlines in values,
16208 # but we know of no workaround that is simple, portable, and efficient.
16209 # So, we kill variables containing newlines.
16210 # Ultrix sh set writes to stderr and can't be redirected directly,
16211 # and sets the high bit in the cache file unless we assign to the vars.
16213 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16214 eval ac_val
=\$
$ac_var
16218 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16219 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16222 _
| IFS
| as_nl
) ;; #(
16223 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16224 *) { eval $ac_var=; unset $ac_var;} ;;
16230 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16231 *${as_nl}ac_space
=\
*)
16232 # `set' does not quote correctly, so add quotes: double-quote
16233 # substitution turns \\\\ into \\, and sed turns \\ into \.
16236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16239 # `set' quotes correctly as required by POSIX, so do not add quotes.
16240 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16249 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16251 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16253 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16254 if test -w "$cache_file"; then
16255 if test "x$cache_file" != "x/dev/null"; then
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16257 $as_echo "$as_me: updating cache $cache_file" >&6;}
16258 if test ! -f "$cache_file" || test -h "$cache_file"; then
16259 cat confcache
>"$cache_file"
16261 case $cache_file in #(
16263 mv -f confcache
"$cache_file"$$
&&
16264 mv -f "$cache_file"$$
"$cache_file" ;; #(
16266 mv -f confcache
"$cache_file" ;;
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16272 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16279 ac_cpp
='$CPP $CPPFLAGS'
16280 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16281 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16282 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16283 if test -n "$ac_tool_prefix"; then
16284 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16285 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16287 $as_echo_n "checking for $ac_word... " >&6; }
16288 if ${ac_cv_prog_CC+:} false
; then :
16289 $as_echo_n "(cached) " >&6
16291 if test -n "$CC"; then
16292 ac_cv_prog_CC
="$CC" # Let the user override the test.
16294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16295 for as_dir
in $PATH
16298 test -z "$as_dir" && as_dir
=.
16299 for ac_exec_ext
in '' $ac_executable_extensions; do
16300 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16301 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16312 if test -n "$CC"; then
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16314 $as_echo "$CC" >&6; }
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16317 $as_echo "no" >&6; }
16322 if test -z "$ac_cv_prog_CC"; then
16324 # Extract the first word of "gcc", so it can be a program name with args.
16325 set dummy gcc
; ac_word
=$2
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16327 $as_echo_n "checking for $ac_word... " >&6; }
16328 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16329 $as_echo_n "(cached) " >&6
16331 if test -n "$ac_ct_CC"; then
16332 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16335 for as_dir
in $PATH
16338 test -z "$as_dir" && as_dir
=.
16339 for ac_exec_ext
in '' $ac_executable_extensions; do
16340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16341 ac_cv_prog_ac_ct_CC
="gcc"
16342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16351 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16352 if test -n "$ac_ct_CC"; then
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16354 $as_echo "$ac_ct_CC" >&6; }
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16357 $as_echo "no" >&6; }
16360 if test "x$ac_ct_CC" = x
; then
16363 case $cross_compiling:$ac_tool_warned in
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16367 ac_tool_warned
=yes ;;
16372 CC
="$ac_cv_prog_CC"
16375 if test -z "$CC"; then
16376 if test -n "$ac_tool_prefix"; then
16377 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16378 set dummy
${ac_tool_prefix}cc
; 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_CC+:} false
; then :
16382 $as_echo_n "(cached) " >&6
16384 if test -n "$CC"; then
16385 ac_cv_prog_CC
="$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_CC
="${ac_tool_prefix}cc"
16395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16405 if test -n "$CC"; then
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16407 $as_echo "$CC" >&6; }
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16410 $as_echo "no" >&6; }
16416 if test -z "$CC"; then
16417 # Extract the first word of "cc", so it can be a program name with args.
16418 set dummy cc
; ac_word
=$2
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16420 $as_echo_n "checking for $ac_word... " >&6; }
16421 if ${ac_cv_prog_CC+:} false
; then :
16422 $as_echo_n "(cached) " >&6
16424 if test -n "$CC"; then
16425 ac_cv_prog_CC
="$CC" # Let the user override the test.
16427 ac_prog_rejected
=no
16428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16429 for as_dir
in $PATH
16432 test -z "$as_dir" && as_dir
=.
16433 for ac_exec_ext
in '' $ac_executable_extensions; do
16434 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16435 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16436 ac_prog_rejected
=yes
16440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16447 if test $ac_prog_rejected = yes; then
16448 # We found a bogon in the path, so make sure we never use it.
16449 set dummy
$ac_cv_prog_CC
16451 if test $# != 0; then
16452 # We chose a different compiler from the bogus one.
16453 # However, it has the same basename, so the bogon will be chosen
16454 # first if we set CC to just the basename; use the full file name.
16456 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16462 if test -n "$CC"; then
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16464 $as_echo "$CC" >&6; }
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16467 $as_echo "no" >&6; }
16472 if test -z "$CC"; then
16473 if test -n "$ac_tool_prefix"; then
16474 for ac_prog
in cl.exe
16476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16477 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16479 $as_echo_n "checking for $ac_word... " >&6; }
16480 if ${ac_cv_prog_CC+:} false
; then :
16481 $as_echo_n "(cached) " >&6
16483 if test -n "$CC"; then
16484 ac_cv_prog_CC
="$CC" # Let the user override the test.
16486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16487 for as_dir
in $PATH
16490 test -z "$as_dir" && as_dir
=.
16491 for ac_exec_ext
in '' $ac_executable_extensions; do
16492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16493 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16504 if test -n "$CC"; then
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16506 $as_echo "$CC" >&6; }
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16509 $as_echo "no" >&6; }
16513 test -n "$CC" && break
16516 if test -z "$CC"; then
16518 for ac_prog
in cl.exe
16520 # Extract the first word of "$ac_prog", so it can be a program name with args.
16521 set dummy
$ac_prog; ac_word
=$2
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16523 $as_echo_n "checking for $ac_word... " >&6; }
16524 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16525 $as_echo_n "(cached) " >&6
16527 if test -n "$ac_ct_CC"; then
16528 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16531 for as_dir
in $PATH
16534 test -z "$as_dir" && as_dir
=.
16535 for ac_exec_ext
in '' $ac_executable_extensions; do
16536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16537 ac_cv_prog_ac_ct_CC
="$ac_prog"
16538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16547 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16548 if test -n "$ac_ct_CC"; then
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16550 $as_echo "$ac_ct_CC" >&6; }
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16553 $as_echo "no" >&6; }
16557 test -n "$ac_ct_CC" && break
16560 if test "x$ac_ct_CC" = x
; then
16563 case $cross_compiling:$ac_tool_warned in
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16567 ac_tool_warned
=yes ;;
16576 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16578 as_fn_error $?
"no acceptable C compiler found in \$PATH
16579 See \`config.log' for more details" "$LINENO" 5; }
16581 # Provide some information about the compiler.
16582 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16585 for ac_option
in --version -v -V -qversion; do
16586 { { ac_try
="$ac_compiler $ac_option >&5"
16587 case "(($ac_try" in
16588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16589 *) ac_try_echo=$ac_try;;
16591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16592 $as_echo "$ac_try_echo"; } >&5
16593 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16595 if test -s conftest.err; then
16597 ... rest of stderr output deleted ...
16598 10q' conftest.err >conftest.er1
16599 cat conftest.er1 >&5
16601 rm -f conftest.er1 conftest.err
16602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16603 test $ac_status = 0; }
16606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16617 ac_clean_files_save=$ac_clean_files
16618 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16619 # Try to create an executable without -o first, disregard a.out.
16620 # It will help us diagnose broken compilers, and finding out an intuition
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16623 $as_echo_n "checking whether the C compiler works... " >&6; }
16624 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16626 # The possible output files:
16627 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16630 for ac_file in $ac_files
16633 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16634 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16639 if { { ac_try="$ac_link_default"
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_link_default") 2>&5
16648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16649 test $ac_status = 0; }; then :
16650 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16651 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16652 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16653 # so that the user can short-circuit this test for compilers unknown to
16655 for ac_file
in $ac_files ''
16657 test -f "$ac_file" || continue
16659 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
16662 # We found the default executable, but exeext='' is most
16666 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16668 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16670 # We set ac_cv_exeext here because the later test for it is not
16671 # safe: cross compilers may not add the suffix if given an `-o'
16672 # argument, so we may need to know it at that point already.
16673 # Even if this section looks crufty: it has the advantage of
16674 # actually working.
16680 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16685 if test -z "$ac_file"; then :
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16687 $as_echo "no" >&6; }
16688 $as_echo "$as_me: failed program was:" >&5
16689 sed 's/^/| /' conftest.
$ac_ext >&5
16691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16693 as_fn_error
77 "C compiler cannot create executables
16694 See \`config.log' for more details" "$LINENO" 5; }
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16697 $as_echo "yes" >&6; }
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16700 $as_echo_n "checking for C compiler default output file name... " >&6; }
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16702 $as_echo "$ac_file" >&6; }
16703 ac_exeext
=$ac_cv_exeext
16705 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
16706 ac_clean_files
=$ac_clean_files_save
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16708 $as_echo_n "checking for suffix of executables... " >&6; }
16709 if { { ac_try
="$ac_link"
16710 case "(($ac_try" in
16711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16712 *) ac_try_echo=$ac_try;;
16714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16715 $as_echo "$ac_try_echo"; } >&5
16716 (eval "$ac_link") 2>&5
16718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16719 test $ac_status = 0; }; then :
16720 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
16721 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
16722 # work properly (i.e., refer to `conftest.exe'), while it won't with
16724 for ac_file
in conftest.exe conftest conftest.
*; do
16725 test -f "$ac_file" || continue
16727 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
16728 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16736 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
16737 See \`config.log' for more details" "$LINENO" 5; }
16739 rm -f conftest conftest
$ac_cv_exeext
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16741 $as_echo "$ac_cv_exeext" >&6; }
16743 rm -f conftest.
$ac_ext
16744 EXEEXT
=$ac_cv_exeext
16746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16752 FILE *f = fopen ("conftest.out", "w");
16753 return ferror (f) || fclose (f) != 0;
16759 ac_clean_files
="$ac_clean_files conftest.out"
16760 # Check that the compiler produces executables we can run. If not, either
16761 # the compiler is broken, or we cross compile.
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16763 $as_echo_n "checking whether we are cross compiling... " >&6; }
16764 if test "$cross_compiling" != yes; then
16765 { { ac_try
="$ac_link"
16766 case "(($ac_try" in
16767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16768 *) ac_try_echo=$ac_try;;
16770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16771 $as_echo "$ac_try_echo"; } >&5
16772 (eval "$ac_link") 2>&5
16774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16775 test $ac_status = 0; }
16776 if { ac_try='./conftest$ac_cv_exeext'
16777 { { case "(($ac_try" in
16778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16779 *) ac_try_echo
=$ac_try;;
16781 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16782 $as_echo "$ac_try_echo"; } >&5
16783 (eval "$ac_try") 2>&5
16785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16786 test $ac_status = 0; }; }; then
16789 if test "$cross_compiling" = maybe
; then
16790 cross_compiling
=yes
16792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16794 as_fn_error $?
"cannot run C compiled programs.
16795 If you meant to cross compile, use \`--host'.
16796 See \`config.log' for more details" "$LINENO" 5; }
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16801 $as_echo "$cross_compiling" >&6; }
16803 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
16804 ac_clean_files
=$ac_clean_files_save
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16806 $as_echo_n "checking for suffix of object files... " >&6; }
16807 if ${ac_cv_objext+:} false
; then :
16808 $as_echo_n "(cached) " >&6
16810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h. */
16821 rm -f conftest.o conftest.obj
16822 if { { ac_try
="$ac_compile"
16823 case "(($ac_try" in
16824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16825 *) ac_try_echo=$ac_try;;
16827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16828 $as_echo "$ac_try_echo"; } >&5
16829 (eval "$ac_compile") 2>&5
16831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16832 test $ac_status = 0; }; then :
16833 for ac_file in conftest.o conftest.obj conftest.*; do
16834 test -f "$ac_file" || continue;
16836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16837 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16842 $as_echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.$ac_ext >&5
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 compute suffix of object files
: cannot compile
16848 See \
`config.log' for more details" "$LINENO" 5; }
16850 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16853 $as_echo "$ac_cv_objext" >&6; }
16854 OBJEXT=$ac_cv_objext
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16857 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16858 if ${ac_cv_c_compiler_gnu+:} false; then :
16859 $as_echo_n "(cached) " >&6
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16875 if ac_fn_c_try_compile "$LINENO"; then :
16876 ac_compiler_gnu=yes
16880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16881 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16885 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16886 if test $ac_compiler_gnu = yes; then
16891 ac_test_CFLAGS=${CFLAGS+set}
16892 ac_save_CFLAGS=$CFLAGS
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16894 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16895 if ${ac_cv_prog_cc_g+:} false; then :
16896 $as_echo_n "(cached) " >&6
16898 ac_save_c_werror_flag=$ac_c_werror_flag
16899 ac_c_werror_flag=yes
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16913 if ac_fn_c_try_compile "$LINENO"; then :
16914 ac_cv_prog_cc_g=yes
16917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h. */
16928 if ac_fn_c_try_compile "$LINENO"; then :
16931 ac_c_werror_flag=$ac_save_c_werror_flag
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16944 if ac_fn_c_try_compile "$LINENO"; then :
16945 ac_cv_prog_cc_g=yes
16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16952 ac_c_werror_flag=$ac_save_c_werror_flag
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16955 $as_echo "$ac_cv_prog_cc_g" >&6; }
16956 if test "$ac_test_CFLAGS" = set; then
16957 CFLAGS=$ac_save_CFLAGS
16958 elif test $ac_cv_prog_cc_g = yes; then
16959 if test "$GCC" = yes; then
16965 if test "$GCC" = yes; then
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16972 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16973 if ${ac_cv_prog_cc_c89+:} false; then :
16974 $as_echo_n "(cached) " >&6
16976 ac_cv_prog_cc_c89=no
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16980 #include <stdarg.h>
16983 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16984 struct buf { int x; };
16985 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16986 static char *e (p, i)
16992 static char *f (char * (*g) (char **, int), char **p, ...)
16997 s = g (p, va_arg (v,int));
17002 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17003 function prototypes and stuff, but not '\xHH' hex character constants.
17004 These don't provoke an error unfortunately, instead are silently treated
17005 as 'x'. The following induces an error, until -std is added to get
17006 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17007 array size at least. It's necessary to write '\x00'==0 to get something
17008 that's true only with -std. */
17009 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17011 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17012 inside strings and character constants. */
17014 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17016 int test (int i, double x);
17017 struct s1 {int (*f) (int a);};
17018 struct s2 {int (*f) (double a);};
17019 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17025 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17030 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17031 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17033 CC="$ac_save_CC $ac_arg"
17034 if ac_fn_c_try_compile "$LINENO"; then :
17035 ac_cv_prog_cc_c89=$ac_arg
17037 rm -f core conftest.err conftest.$ac_objext
17038 test "x$ac_cv_prog_cc_c89" != "xno" && break
17040 rm -f conftest.$ac_ext
17045 case "x$ac_cv_prog_cc_c89" in
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17048 $as_echo "none needed" >&6; } ;;
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17051 $as_echo "unsupported" >&6; } ;;
17053 CC="$CC $ac_cv_prog_cc_c89"
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17055 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17057 if test "x$ac_cv_prog_cc_c89" != xno; then :
17062 ac_cpp='$CPP $CPPFLAGS'
17063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17075 ac_cpp='$CPP $CPPFLAGS'
17076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17081 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17082 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17083 $as_echo_n "(cached) " >&6
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17092 #ifndef __INTEL_COMPILER
17100 if ac_fn_c_try_compile "$LINENO"; then :
17101 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17103 bakefile_cv_c_compiler___INTEL_COMPILER=no
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17111 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17112 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17118 ac_cpp='$CPP $CPPFLAGS'
17119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17126 if test "$INTELCC" = "yes"; then
17130 ac_cpp='$CPP $CPPFLAGS'
17131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17136 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17137 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17138 $as_echo_n "(cached) " >&6
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17147 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17155 if ac_fn_c_try_compile "$LINENO"; then :
17156 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17158 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17166 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17167 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17173 ac_cpp='$CPP $CPPFLAGS'
17174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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 v10 or later" >&5
17189 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17190 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} 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 < 1000
17208 if ac_fn_c_try_compile "$LINENO"; then :
17209 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17211 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=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_1000" >&5
17219 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17220 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "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
17235 if test "x$GCC" != "xyes"; then
17236 if test "xCC" = "xC"; then
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17238 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17239 if ${bakefile_cv_c_exto+:} false; then :
17240 $as_echo_n "(cached) " >&6
17242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17243 /* end confdefs.h. */
17253 rm -f conftest.$ac_objext conftest.$ac_ext.o
17254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17255 (eval $ac_compile) 2>&5
17257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17258 test $ac_status = 0; }; then :
17259 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
17261 conftest.$ac_ext.o)
17262 bakefile_cv_c_exto="-ext o"
17269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17271 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
17272 See \
`config.log' for more details" "$LINENO" 5; }
17275 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17279 $as_echo "$bakefile_cv_c_exto" >&6; }
17280 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17281 if test "c" = "c"; then
17282 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17284 if test "c" = "cxx"; then
17285 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17289 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17290 unset ac_cv_prog_cc_g
17291 ac_test_CFLAGS=${CFLAGS+set}
17292 ac_save_CFLAGS=$CFLAGS
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17294 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17295 if ${ac_cv_prog_cc_g+:} false; then :
17296 $as_echo_n "(cached) " >&6
17298 ac_save_c_werror_flag=$ac_c_werror_flag
17299 ac_c_werror_flag=yes
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17313 if ac_fn_c_try_compile "$LINENO"; then :
17314 ac_cv_prog_cc_g=yes
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17328 if ac_fn_c_try_compile "$LINENO"; then :
17331 ac_c_werror_flag=$ac_save_c_werror_flag
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17344 if ac_fn_c_try_compile "$LINENO"; then :
17345 ac_cv_prog_cc_g=yes
17347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17352 ac_c_werror_flag=$ac_save_c_werror_flag
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17355 $as_echo "$ac_cv_prog_cc_g" >&6; }
17356 if test "$ac_test_CFLAGS" = set; then
17357 CFLAGS=$ac_save_CFLAGS
17358 elif test $ac_cv_prog_cc_g = yes; then
17359 if test "$GCC" = yes; then
17365 if test "$GCC" = yes; then
17379 ac_cpp='$CPP $CPPFLAGS'
17380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17385 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17386 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17387 $as_echo_n "(cached) " >&6
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17404 if ac_fn_c_try_compile "$LINENO"; then :
17405 bakefile_cv_c_compiler___xlC__=yes
17407 bakefile_cv_c_compiler___xlC__=no
17410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17415 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17416 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17422 ac_cpp='$CPP $CPPFLAGS'
17423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17435 ac_cpp='$CPP $CPPFLAGS'
17436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17441 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17442 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17443 $as_echo_n "(cached) " >&6
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17460 if ac_fn_c_try_compile "$LINENO"; then :
17461 bakefile_cv_c_compiler___MWERKS__=yes
17463 bakefile_cv_c_compiler___MWERKS__=no
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17471 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17472 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17478 ac_cpp='$CPP $CPPFLAGS'
17479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17485 if test "$MWCC" != "yes"; then
17489 ac_cpp='$CPP $CPPFLAGS'
17490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17495 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17496 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17497 $as_echo_n "(cached) " >&6
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17514 if ac_fn_c_try_compile "$LINENO"; then :
17515 bakefile_cv_c_compiler___xlC__=yes
17517 bakefile_cv_c_compiler___xlC__=no
17520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17525 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17526 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17532 ac_cpp='$CPP $CPPFLAGS'
17533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17546 ac_cpp='$CPP $CPPFLAGS'
17547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17552 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17553 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17554 $as_echo_n "(cached) " >&6
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17563 #ifndef _SGI_COMPILER_VERSION
17571 if ac_fn_c_try_compile "$LINENO"; then :
17572 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17574 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17582 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17583 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17589 ac_cpp='$CPP $CPPFLAGS'
17590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17599 if test "$INTELCC" != "yes"; then
17603 ac_cpp='$CPP $CPPFLAGS'
17604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17609 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17610 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17611 $as_echo_n "(cached) " >&6
17613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17614 /* end confdefs.h. */
17628 if ac_fn_c_try_compile "$LINENO"; then :
17629 bakefile_cv_c_compiler___SUNPRO_C=yes
17631 bakefile_cv_c_compiler___SUNPRO_C=no
17634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17639 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17640 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17646 ac_cpp='$CPP $CPPFLAGS'
17647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17660 ac_cpp='$CPP $CPPFLAGS'
17661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17666 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17667 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17668 $as_echo_n "(cached) " >&6
17670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17685 if ac_fn_c_try_compile "$LINENO"; then :
17686 bakefile_cv_c_compiler___HP_cc=yes
17688 bakefile_cv_c_compiler___HP_cc=no
17691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17696 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17697 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17703 ac_cpp='$CPP $CPPFLAGS'
17704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17716 ac_cpp='$CPP $CPPFLAGS'
17717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17722 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17723 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17724 $as_echo_n "(cached) " >&6
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17741 if ac_fn_c_try_compile "$LINENO"; then :
17742 bakefile_cv_c_compiler___DECC=yes
17744 bakefile_cv_c_compiler___DECC=no
17747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17752 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17753 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17759 ac_cpp='$CPP $CPPFLAGS'
17760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17772 ac_cpp='$CPP $CPPFLAGS'
17773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17778 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17779 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17780 $as_echo_n "(cached) " >&6
17782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17797 if ac_fn_c_try_compile "$LINENO"; then :
17798 bakefile_cv_c_compiler___SUNPRO_C=yes
17800 bakefile_cv_c_compiler___SUNPRO_C=no
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17808 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17809 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17815 ac_cpp='$CPP $CPPFLAGS'
17816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17829 ac_cpp='$CPP $CPPFLAGS'
17830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17834 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17835 # On Suns, sometimes $CPP names a directory.
17836 if test -n "$CPP" && test -d "$CPP"; then
17839 if test -z "$CPP"; then
17840 if ${ac_cv_prog_CPP+:} false; then :
17841 $as_echo_n "(cached) " >&6
17843 # Double quotes because CPP needs to be expanded
17844 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17846 ac_preproc_ok=false
17847 for ac_c_preproc_warn_flag in '' yes
17849 # Use a header file that comes with gcc, so configuring glibc
17850 # with a fresh cross-compiler works.
17851 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17852 # <limits.h> exists even on freestanding compilers.
17853 # On the NeXT, cc -E runs the code through the compiler's parser,
17854 # not just through cpp. "Syntax error" is here to catch this case.
17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h. */
17858 # include <limits.h>
17860 # include <assert.h>
17864 if ac_fn_c_try_cpp "$LINENO"; then :
17867 # Broken: fails on valid input.
17870 rm -f conftest.err conftest.i conftest.$ac_ext
17872 # OK, works on sane cases. Now check whether nonexistent headers
17873 # can be detected and how.
17874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17875 /* end confdefs.h. */
17876 #include <ac_nonexistent.h>
17878 if ac_fn_c_try_cpp "$LINENO"; then :
17879 # Broken: success on invalid input.
17882 # Passes both tests.
17886 rm -f conftest.err conftest.i conftest.$ac_ext
17889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17890 rm -f conftest.i conftest.err conftest.
$ac_ext
17891 if $ac_preproc_ok; then :
17896 ac_cv_prog_CPP
=$CPP
17899 CPP
=$ac_cv_prog_CPP
17901 ac_cv_prog_CPP
=$CPP
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17904 $as_echo "$CPP" >&6; }
17905 ac_preproc_ok
=false
17906 for ac_c_preproc_warn_flag
in '' yes
17908 # Use a header file that comes with gcc, so configuring glibc
17909 # with a fresh cross-compiler works.
17910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17911 # <limits.h> exists even on freestanding compilers.
17912 # On the NeXT, cc -E runs the code through the compiler's parser,
17913 # not just through cpp. "Syntax error" is here to catch this case.
17914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17917 # include <limits.h>
17919 # include <assert.h>
17923 if ac_fn_c_try_cpp
"$LINENO"; then :
17926 # Broken: fails on valid input.
17929 rm -f conftest.err conftest.i conftest.
$ac_ext
17931 # OK, works on sane cases. Now check whether nonexistent headers
17932 # can be detected and how.
17933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h. */
17935 #include <ac_nonexistent.h>
17937 if ac_fn_c_try_cpp
"$LINENO"; then :
17938 # Broken: success on invalid input.
17941 # Passes both tests.
17945 rm -f conftest.err conftest.i conftest.
$ac_ext
17948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17949 rm -f conftest.i conftest.err conftest.
$ac_ext
17950 if $ac_preproc_ok; then :
17953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17955 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
17956 See \`config.log' for more details" "$LINENO" 5; }
17960 ac_cpp
='$CPP $CPPFLAGS'
17961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17967 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17968 if ${ac_cv_path_GREP+:} false
; then :
17969 $as_echo_n "(cached) " >&6
17971 if test -z "$GREP"; then
17972 ac_path_GREP_found
=false
17973 # Loop through the user's path and test for each of PROGNAME-LIST
17974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17975 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17978 test -z "$as_dir" && as_dir
=.
17979 for ac_prog
in grep ggrep
; do
17980 for ac_exec_ext
in '' $ac_executable_extensions; do
17981 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17982 as_fn_executable_p
"$ac_path_GREP" || continue
17983 # Check for GNU ac_path_GREP and select it if it is found.
17984 # Check for GNU $ac_path_GREP
17985 case `"$ac_path_GREP" --version 2>&1` in
17987 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17990 $as_echo_n 0123456789 >"conftest.in"
17993 cat "conftest.in" "conftest.in" >"conftest.tmp"
17994 mv "conftest.tmp" "conftest.in"
17995 cp "conftest.in" "conftest.nl"
17996 $as_echo 'GREP' >> "conftest.nl"
17997 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17998 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17999 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18000 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18001 # Best one so far, save it but keep looking for a better one
18002 ac_cv_path_GREP
="$ac_path_GREP"
18003 ac_path_GREP_max
=$ac_count
18005 # 10*(2^10) chars as input seems more than enough
18006 test $ac_count -gt 10 && break
18008 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18011 $ac_path_GREP_found && break 3
18016 if test -z "$ac_cv_path_GREP"; then
18017 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18020 ac_cv_path_GREP
=$GREP
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18025 $as_echo "$ac_cv_path_GREP" >&6; }
18026 GREP
="$ac_cv_path_GREP"
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18030 $as_echo_n "checking for egrep... " >&6; }
18031 if ${ac_cv_path_EGREP+:} false
; then :
18032 $as_echo_n "(cached) " >&6
18034 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18035 then ac_cv_path_EGREP
="$GREP -E"
18037 if test -z "$EGREP"; then
18038 ac_path_EGREP_found
=false
18039 # Loop through the user's path and test for each of PROGNAME-LIST
18040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18041 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18044 test -z "$as_dir" && as_dir
=.
18045 for ac_prog
in egrep; do
18046 for ac_exec_ext
in '' $ac_executable_extensions; do
18047 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18048 as_fn_executable_p
"$ac_path_EGREP" || continue
18049 # Check for GNU ac_path_EGREP and select it if it is found.
18050 # Check for GNU $ac_path_EGREP
18051 case `"$ac_path_EGREP" --version 2>&1` in
18053 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18056 $as_echo_n 0123456789 >"conftest.in"
18059 cat "conftest.in" "conftest.in" >"conftest.tmp"
18060 mv "conftest.tmp" "conftest.in"
18061 cp "conftest.in" "conftest.nl"
18062 $as_echo 'EGREP' >> "conftest.nl"
18063 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18064 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18065 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18066 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18067 # Best one so far, save it but keep looking for a better one
18068 ac_cv_path_EGREP
="$ac_path_EGREP"
18069 ac_path_EGREP_max
=$ac_count
18071 # 10*(2^10) chars as input seems more than enough
18072 test $ac_count -gt 10 && break
18074 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18077 $ac_path_EGREP_found && break 3
18082 if test -z "$ac_cv_path_EGREP"; then
18083 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18086 ac_cv_path_EGREP
=$EGREP
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18092 $as_echo "$ac_cv_path_EGREP" >&6; }
18093 EGREP
="$ac_cv_path_EGREP"
18096 if test $ac_cv_c_compiler_gnu = yes; then
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18098 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18099 if ${ac_cv_prog_gcc_traditional+:} false
; then :
18100 $as_echo_n "(cached) " >&6
18102 ac_pattern
="Autoconf.*'x'"
18103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h. */
18108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18109 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18110 ac_cv_prog_gcc_traditional
=yes
18112 ac_cv_prog_gcc_traditional
=no
18117 if test $ac_cv_prog_gcc_traditional = no
; then
18118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18119 /* end confdefs.h. */
18120 #include <termio.h>
18123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18124 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18125 ac_cv_prog_gcc_traditional
=yes
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18132 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18133 if test $ac_cv_prog_gcc_traditional = yes; then
18134 CC
="$CC -traditional"
18139 CXXFLAGS
=${CXXFLAGS:=}
18141 ac_cpp
='$CXXCPP $CPPFLAGS'
18142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18145 if test -z "$CXX"; then
18146 if test -n "$CCC"; then
18149 if test -n "$ac_tool_prefix"; then
18150 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18153 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18155 $as_echo_n "checking for $ac_word... " >&6; }
18156 if ${ac_cv_prog_CXX+:} false
; then :
18157 $as_echo_n "(cached) " >&6
18159 if test -n "$CXX"; then
18160 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18163 for as_dir
in $PATH
18166 test -z "$as_dir" && as_dir
=.
18167 for ac_exec_ext
in '' $ac_executable_extensions; do
18168 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18169 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18179 CXX
=$ac_cv_prog_CXX
18180 if test -n "$CXX"; then
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18182 $as_echo "$CXX" >&6; }
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18185 $as_echo "no" >&6; }
18189 test -n "$CXX" && break
18192 if test -z "$CXX"; then
18194 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18196 # Extract the first word of "$ac_prog", so it can be a program name with args.
18197 set dummy
$ac_prog; ac_word
=$2
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18199 $as_echo_n "checking for $ac_word... " >&6; }
18200 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
18201 $as_echo_n "(cached) " >&6
18203 if test -n "$ac_ct_CXX"; then
18204 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18207 for as_dir
in $PATH
18210 test -z "$as_dir" && as_dir
=.
18211 for ac_exec_ext
in '' $ac_executable_extensions; do
18212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18213 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18223 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18224 if test -n "$ac_ct_CXX"; then
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18226 $as_echo "$ac_ct_CXX" >&6; }
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18229 $as_echo "no" >&6; }
18233 test -n "$ac_ct_CXX" && break
18236 if test "x$ac_ct_CXX" = x
; then
18239 case $cross_compiling:$ac_tool_warned in
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18243 ac_tool_warned
=yes ;;
18251 # Provide some information about the compiler.
18252 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18255 for ac_option
in --version -v -V -qversion; do
18256 { { ac_try
="$ac_compiler $ac_option >&5"
18257 case "(($ac_try" in
18258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18259 *) ac_try_echo=$ac_try;;
18261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18262 $as_echo "$ac_try_echo"; } >&5
18263 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18265 if test -s conftest.err; then
18267 ... rest of stderr output deleted ...
18268 10q' conftest.err >conftest.er1
18269 cat conftest.er1 >&5
18271 rm -f conftest.er1 conftest.err
18272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18273 test $ac_status = 0; }
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18277 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18278 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18279 $as_echo_n "(cached) " >&6
18281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18282 /* end confdefs.h. */
18295 if ac_fn_cxx_try_compile "$LINENO"; then :
18296 ac_compiler_gnu=yes
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18305 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18306 if test $ac_compiler_gnu = yes; then
18311 ac_test_CXXFLAGS=${CXXFLAGS+set}
18312 ac_save_CXXFLAGS=$CXXFLAGS
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18314 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18315 if ${ac_cv_prog_cxx_g+:} false; then :
18316 $as_echo_n "(cached) " >&6
18318 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18319 ac_cxx_werror_flag=yes
18320 ac_cv_prog_cxx_g=no
18322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18333 if ac_fn_cxx_try_compile "$LINENO"; then :
18334 ac_cv_prog_cxx_g=yes
18337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h. */
18348 if ac_fn_cxx_try_compile "$LINENO"; then :
18351 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h. */
18364 if ac_fn_cxx_try_compile "$LINENO"; then :
18365 ac_cv_prog_cxx_g=yes
18367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18372 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18375 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18376 if test "$ac_test_CXXFLAGS" = set; then
18377 CXXFLAGS=$ac_save_CXXFLAGS
18378 elif test $ac_cv_prog_cxx_g = yes; then
18379 if test "$GXX" = yes; then
18385 if test "$GXX" = yes; then
18392 ac_cpp='$CPP $CPPFLAGS'
18393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18405 ac_cpp='$CXXCPP $CPPFLAGS'
18406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18411 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18412 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18413 $as_echo_n "(cached) " >&6
18415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18416 /* end confdefs.h. */
18422 #ifndef __INTEL_COMPILER
18430 if ac_fn_cxx_try_compile "$LINENO"; then :
18431 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18433 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18441 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18442 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18448 ac_cpp='$CPP $CPPFLAGS'
18449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18456 if test "$INTELCXX" = "yes"; then
18460 ac_cpp='$CXXCPP $CPPFLAGS'
18461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18466 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18467 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18468 $as_echo_n "(cached) " >&6
18470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18471 /* end confdefs.h. */
18477 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18485 if ac_fn_cxx_try_compile "$LINENO"; then :
18486 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18488 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18496 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18497 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18503 ac_cpp='$CPP $CPPFLAGS'
18504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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 v10 or later" >&5
18519 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18520 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} 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 < 1000
18538 if ac_fn_cxx_try_compile "$LINENO"; then :
18539 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18541 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=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_1000" >&5
18549 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18550 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "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
18565 if test "x$GCXX" != "xyes"; then
18566 if test "xCXX" = "xC"; then
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18568 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18569 if ${bakefile_cv_c_exto+:} false; then :
18570 $as_echo_n "(cached) " >&6
18572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18573 /* end confdefs.h. */
18583 rm -f conftest.$ac_objext conftest.$ac_ext.o
18584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18585 (eval $ac_compile) 2>&5
18587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18588 test $ac_status = 0; }; then :
18589 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18591 conftest.$ac_ext.o)
18592 bakefile_cv_c_exto="-ext o"
18599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18601 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18602 See \
`config.log' for more details" "$LINENO" 5; }
18605 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18609 $as_echo "$bakefile_cv_c_exto" >&6; }
18610 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18611 if test "c" = "c"; then
18612 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18614 if test "c" = "cxx"; then
18615 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18619 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18620 unset ac_cv_prog_cc_g
18621 ac_test_CFLAGS=${CFLAGS+set}
18622 ac_save_CFLAGS=$CFLAGS
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18624 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18625 if ${ac_cv_prog_cc_g+:} false; then :
18626 $as_echo_n "(cached) " >&6
18628 ac_save_c_werror_flag=$ac_c_werror_flag
18629 ac_c_werror_flag=yes
18632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18643 if ac_fn_c_try_compile "$LINENO"; then :
18644 ac_cv_prog_cc_g=yes
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18658 if ac_fn_c_try_compile "$LINENO"; then :
18661 ac_c_werror_flag=$ac_save_c_werror_flag
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18674 if ac_fn_c_try_compile "$LINENO"; then :
18675 ac_cv_prog_cc_g=yes
18677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18682 ac_c_werror_flag=$ac_save_c_werror_flag
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18685 $as_echo "$ac_cv_prog_cc_g" >&6; }
18686 if test "$ac_test_CFLAGS" = set; then
18687 CFLAGS=$ac_save_CFLAGS
18688 elif test $ac_cv_prog_cc_g = yes; then
18689 if test "$GCC" = yes; then
18695 if test "$GCC" = yes; then
18709 ac_cpp='$CXXCPP $CPPFLAGS'
18710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18715 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18716 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18717 $as_echo_n "(cached) " >&6
18719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18734 if ac_fn_cxx_try_compile "$LINENO"; then :
18735 bakefile_cv_cxx_compiler___xlC__=yes
18737 bakefile_cv_cxx_compiler___xlC__=no
18740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18745 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18746 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18752 ac_cpp='$CPP $CPPFLAGS'
18753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18765 ac_cpp='$CXXCPP $CPPFLAGS'
18766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18771 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18772 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18773 $as_echo_n "(cached) " >&6
18775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18790 if ac_fn_cxx_try_compile "$LINENO"; then :
18791 bakefile_cv_cxx_compiler___MWERKS__=yes
18793 bakefile_cv_cxx_compiler___MWERKS__=no
18796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18801 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18802 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18808 ac_cpp='$CPP $CPPFLAGS'
18809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18815 if test "$MWCXX" != "yes"; then
18819 ac_cpp='$CXXCPP $CPPFLAGS'
18820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18825 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18826 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18827 $as_echo_n "(cached) " >&6
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18844 if ac_fn_cxx_try_compile "$LINENO"; then :
18845 bakefile_cv_cxx_compiler___xlC__=yes
18847 bakefile_cv_cxx_compiler___xlC__=no
18850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18855 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18856 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18862 ac_cpp='$CPP $CPPFLAGS'
18863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18876 ac_cpp='$CXXCPP $CPPFLAGS'
18877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18882 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18883 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18884 $as_echo_n "(cached) " >&6
18886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18893 #ifndef _SGI_COMPILER_VERSION
18901 if ac_fn_cxx_try_compile "$LINENO"; then :
18902 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18904 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18912 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18913 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18919 ac_cpp='$CPP $CPPFLAGS'
18920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18929 if test "$INTELCXX" != "yes"; then
18933 ac_cpp='$CXXCPP $CPPFLAGS'
18934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18939 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18940 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18941 $as_echo_n "(cached) " >&6
18943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18950 #ifndef __SUNPRO_CC
18958 if ac_fn_cxx_try_compile "$LINENO"; then :
18959 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18961 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18969 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18970 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18976 ac_cpp='$CPP $CPPFLAGS'
18977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18990 ac_cpp='$CXXCPP $CPPFLAGS'
18991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18996 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18997 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
18998 $as_echo_n "(cached) " >&6
19000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h. */
19015 if ac_fn_cxx_try_compile "$LINENO"; then :
19016 bakefile_cv_cxx_compiler___HP_aCC=yes
19018 bakefile_cv_cxx_compiler___HP_aCC=no
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19026 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19027 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19033 ac_cpp='$CPP $CPPFLAGS'
19034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19046 ac_cpp='$CXXCPP $CPPFLAGS'
19047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19052 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19053 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19054 $as_echo_n "(cached) " >&6
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19071 if ac_fn_cxx_try_compile "$LINENO"; then :
19072 bakefile_cv_cxx_compiler___DECCXX=yes
19074 bakefile_cv_cxx_compiler___DECCXX=no
19077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19082 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19083 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19089 ac_cpp='$CPP $CPPFLAGS'
19090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19102 ac_cpp='$CXXCPP $CPPFLAGS'
19103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19108 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19109 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19110 $as_echo_n "(cached) " >&6
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19119 #ifndef __SUNPRO_CC
19127 if ac_fn_cxx_try_compile "$LINENO"; then :
19128 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19130 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19138 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19139 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19145 ac_cpp='$CPP $CPPFLAGS'
19146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19158 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19159 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19162 if test "x$SUNCXX" != xyes; then
19163 if test -n "$ac_tool_prefix"; then
19164 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19165 set dummy ${ac_tool_prefix}ar; ac_word=$2
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19167 $as_echo_n "checking for $ac_word... " >&6; }
19168 if ${ac_cv_prog_AR+:} false; then :
19169 $as_echo_n "(cached) " >&6
19171 if test -n "$AR"; then
19172 ac_cv_prog_AR="$AR" # Let the user override the test.
19174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19175 for as_dir in $PATH
19178 test -z "$as_dir" && as_dir=.
19179 for ac_exec_ext in '' $ac_executable_extensions; do
19180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19181 ac_cv_prog_AR="${ac_tool_prefix}ar"
19182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19192 if test -n "$AR"; then
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19194 $as_echo "$AR" >&6; }
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19197 $as_echo "no" >&6; }
19202 if test -z "$ac_cv_prog_AR"; then
19204 # Extract the first word of "ar", so it can be a program name with args.
19205 set dummy ar; ac_word=$2
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19207 $as_echo_n "checking for $ac_word... " >&6; }
19208 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19209 $as_echo_n "(cached) " >&6
19211 if test -n "$ac_ct_AR"; then
19212 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19215 for as_dir in $PATH
19218 test -z "$as_dir" && as_dir=.
19219 for ac_exec_ext in '' $ac_executable_extensions; do
19220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19221 ac_cv_prog_ac_ct_AR="ar"
19222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19231 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19232 if test -n "$ac_ct_AR"; then
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19234 $as_echo "$ac_ct_AR" >&6; }
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19237 $as_echo "no" >&6; }
19240 if test "x$ac_ct_AR" = x; then
19243 case $cross_compiling:$ac_tool_warned in
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19247 ac_tool_warned=yes ;;
19252 AR="$ac_cv_prog_AR"
19255 if test "x$AR" = "x" ; then
19256 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19261 if test "$wxUSE_MAC" = 1; then
19263 retest_macosx_linking=no
19267 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19268 if test "x$wxUSE_MAC_ARCH" != xno; then
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19270 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19273 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19274 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19275 else OSX_ARCH_OPTS="ppc,i386"
19276 if test "$wxUSE_OSX_COCOA" = 1; then
19277 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19282 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19284 $as_echo "$OSX_ARCH_OPTS" >&6; }
19286 retest_macosx_linking=yes
19288 if test "x$wxUSE_MAC_ARCH" != xno; then
19289 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19293 if test "x$OSX_ARCH_OPTS" != "x"; then
19294 if echo $OSX_ARCH_OPTS | grep -q ","; then
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19296 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19297 disable_macosx_deps=yes
19299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19300 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19304 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19306 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19307 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19308 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19309 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19310 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19313 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19315 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19316 # TODO: Search for most recent SDK and use it.
19317 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19321 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19323 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19324 if ! test -d "$wxUSE_MACOSX_SDK"; then
19325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19327 as_fn_error $? "not found
19328 See \
`config.log' for more details" "$LINENO" 5; }
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19331 $as_echo "exists" >&6; }
19333 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19334 retest_macosx_linking=yes
19337 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19338 wxUSE_MACOSX_VERSION_MIN=
19339 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19340 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19342 $as_echo_n "checking SDK deployment version... " >&6; }
19344 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/'`
19346 # If that failed, try again with the new key
19347 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19349 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/'`
19353 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19354 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19356 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19359 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19360 wxUSE_MACOSX_VERSION_MIN=
19363 wxUSE_MACOSX_VERSION_MIN=
19365 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19366 wxUSE_MACOSX_VERSION_MIN=10.5
19369 if test "x$MACOSX_SDK_OPTS" != "x"; then
19370 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19371 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19372 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19373 retest_macosx_linking=yes
19376 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19377 if test "$wxUSE_OSX_IPHONE" = 1; then
19378 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19380 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19382 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19383 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19384 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19385 retest_macosx_linking=yes
19388 if test "x$retest_macosx_linking" = "xyes"; then
19390 ac_cpp='$CPP $CPPFLAGS'
19391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19396 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19398 /* end confdefs.h. */
19408 if ac_fn_c_try_link "$LINENO"; then :
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19410 $as_echo "yes" >&6; }
19412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19414 as_fn_error $? "no. Try a different SDK
19415 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19417 rm -f core conftest.err conftest.$ac_objext \
19418 conftest$ac_exeext conftest.$ac_ext
19420 ac_cpp='$CPP $CPPFLAGS'
19421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19427 ac_cpp='$CXXCPP $CPPFLAGS'
19428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19433 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19445 if ac_fn_cxx_try_link "$LINENO"; then :
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19447 $as_echo "yes" >&6; }
19449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19451 as_fn_error $? "no. Try a different SDK
19452 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19454 rm -f core conftest.err conftest.$ac_objext \
19455 conftest$ac_exeext conftest.$ac_ext
19457 ac_cpp='$CPP $CPPFLAGS'
19458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19468 INSTALL_PROGRAM="cp -fp"
19469 INSTALL_DATA="cp -fp"
19476 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19477 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19480 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19481 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19484 if test "x$USE_AIX" = "x1"; then
19485 if test "x$XLCXX" = "xyes"; then
19486 CXXFLAGS="-qunique $CXXFLAGS"
19489 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19493 powerpc-*-darwin* )
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19495 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19497 /* end confdefs.h. */
19502 #ifndef __POWERPC__
19503 choke me for lack of PowerPC
19510 if ac_fn_c_try_compile "$LINENO"; then :
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19512 $as_echo "yes" >&6; }
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19515 $as_echo "no" >&6; }
19516 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19527 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19530 #include <CoreFoundation/CFBase.h>
19540 if ac_fn_c_try_compile "$LINENO"; then :
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19542 $as_echo "yes" >&6; }
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19545 $as_echo "no" >&6; }
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19547 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19549 /* end confdefs.h. */
19550 #define __CF_USE_FRAMEWORK_INCLUDES__
19551 #include <CoreFoundation/CFBase.h>
19561 if ac_fn_c_try_compile "$LINENO"; then :
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19563 $as_echo "yes" >&6; }
19564 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19568 as_fn_error $? "no. CoreFoundation not available.
19569 See \
`config.log' for more details" "$LINENO" 5; }
19572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19581 doesnt_want_win32=0
19584 if test "$wxUSE_MSW" = 1 ; then
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19588 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19589 if ${wx_cv_nocygwin+:} false; then :
19590 $as_echo_n "(cached) " >&6
19593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19594 /* end confdefs.h. */
19608 if ac_fn_c_try_compile "$LINENO"; then :
19614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19619 $as_echo "$wx_cv_nocygwin" >&6; }
19621 if test "$wx_cv_nocygwin" = "yes"; then
19624 doesnt_want_win32=1
19627 if test "$wants_win32" = 1 ; then
19628 BAKEFILE_FORCE_PLATFORM=win32
19636 if test "$wxUSE_WINE" = "yes"; then
19638 LDFLAGS_GUI="-mwindows"
19641 if test "$wants_win32" = 1 ; then
19644 $as_echo "#define __WIN32__ 1" >>confdefs.h
19646 $as_echo "#define __WIN95__ 1" >>confdefs.h
19648 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19650 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19652 $as_echo "#define STRICT 1" >>confdefs.h
19655 if test "$doesnt_want_win32" = 1 ; then
19660 if test "$USE_UNIX" = 1 ; then
19662 $as_echo "#define __UNIX__ 1" >>confdefs.h
19667 *-pc-os2_emx | *-pc-os2-emx )
19668 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19670 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19671 if ${ac_cv_lib_cExt_drand48+:} false; then :
19672 $as_echo_n "(cached) " >&6
19674 ac_check_lib_save_LIBS=$LIBS
19675 LIBS="-lcExt $LIBS"
19676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19677 /* end confdefs.h. */
19679 /* Override any GCC internal prototype to avoid an error.
19680 Use char because int might match the return type of a GCC
19681 builtin and then its argument prototype would still apply. */
19694 if ac_fn_c_try_link "$LINENO"; then :
19695 ac_cv_lib_cExt_drand48=yes
19697 ac_cv_lib_cExt_drand48=no
19699 rm -f core conftest.err conftest.$ac_objext \
19700 conftest$ac_exeext conftest.$ac_ext
19701 LIBS=$ac_check_lib_save_LIBS
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19704 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19705 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19706 LIBS="$LIBS -lcExt"
19710 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19713 $as_echo_n "checking for gcc/libc version... " >&6; }
19714 if ${wx_cv_gccversion+:} false; then :
19715 $as_echo_n "(cached) " >&6
19718 if test "$cross_compiling" = yes; then :
19719 wx_cv_gccversion="EMX2"
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19729 FILE *f=fopen("conftestval", "w");
19734 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19736 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19746 if ac_fn_c_try_run "$LINENO"; then :
19747 wx_cv_gccversion=`cat conftestval
`
19749 wx_cv_gccversion="EMX2"
19751 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19752 conftest.$ac_objext conftest.beam conftest.$ac_ext
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19758 $as_echo "$wx_cv_gccversion" >&6; }
19759 if test "$wx_cv_gccversion" = "EMX2"; then
19760 LIBS="$LIBS -lstdcpp"
19761 LDFLAGS="$LDFLAGS -Zsysv-signals"
19763 if test "$wx_cv_gccversion" = "EMX3"; then
19764 LIBS="$LIBS -lstdcxx -lgcc"
19765 LDFLAGS="$LDFLAGS -Zsysv-signals"
19767 LIBS="$LIBS -lstdc++"
19770 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19772 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19780 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19781 if ${ac_cv_string_strcasecmp+:} false; then :
19782 $as_echo_n "(cached) " >&6
19785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19786 /* end confdefs.h. */
19788 #include <string.h>
19794 strcasecmp("foo", "bar");
19800 if ac_fn_c_try_link "$LINENO"; then :
19801 ac_cv_string_strcasecmp=yes
19803 ac_cv_string_strcasecmp=no
19806 rm -f core conftest.err conftest.$ac_objext \
19807 conftest$ac_exeext conftest.$ac_ext
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19811 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19813 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19814 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19818 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19819 if ${ac_cv_strings_strcasecmp+:} false; then :
19820 $as_echo_n "(cached) " >&6
19823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h. */
19826 #include <strings.h>
19832 strcasecmp("foo", "bar");
19838 if ac_fn_c_try_link "$LINENO"; then :
19839 ac_cv_strings_strcasecmp=yes
19841 ac_cv_strings_strcasecmp=no
19844 rm -f core conftest.err conftest.$ac_objext \
19845 conftest$ac_exeext conftest.$ac_ext
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19849 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19851 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19852 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19855 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19864 $as_echo_n "checking for ANSI C header files... " >&6; }
19865 if ${ac_cv_header_stdc+:} false; then :
19866 $as_echo_n "(cached) " >&6
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19870 #include <stdlib.h>
19871 #include <stdarg.h>
19872 #include <string.h>
19883 if ac_fn_c_try_compile "$LINENO"; then :
19884 ac_cv_header_stdc=yes
19886 ac_cv_header_stdc=no
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19890 if test $ac_cv_header_stdc = yes; then
19891 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h. */
19894 #include <string.h>
19897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19898 $EGREP "memchr" >/dev/null 2>&1; then :
19901 ac_cv_header_stdc=no
19907 if test $ac_cv_header_stdc = yes; then
19908 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19910 /* end confdefs.h. */
19911 #include <stdlib.h>
19914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19915 $EGREP "free" >/dev/null 2>&1; then :
19918 ac_cv_header_stdc=no
19924 if test $ac_cv_header_stdc = yes; then
19925 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19926 if test "$cross_compiling" = yes; then :
19929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h. */
19932 #include <stdlib.h>
19933 #if ((' ' & 0x0FF) == 0x020)
19934 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19935 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19937 # define ISLOWER(c) \
19938 (('a' <= (c) && (c) <= 'i') \
19939 || ('j' <= (c) && (c) <= 'r') \
19940 || ('s' <= (c) && (c) <= 'z'))
19941 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19944 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19949 for (i = 0; i < 256; i++)
19950 if (XOR (islower (i), ISLOWER (i))
19951 || toupper (i) != TOUPPER (i))
19956 if ac_fn_c_try_run "$LINENO"; then :
19959 ac_cv_header_stdc=no
19961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19962 conftest.$ac_objext conftest.beam conftest.$ac_ext
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19968 $as_echo "$ac_cv_header_stdc" >&6; }
19969 if test $ac_cv_header_stdc = yes; then
19971 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19975 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19976 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19977 inttypes.h stdint.h unistd.h
19979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19980 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19982 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19983 cat >>confdefs.h <<_ACEOF
19984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19992 for ac_header in langinfo.h wchar.h
19994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19995 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19998 cat >>confdefs.h <<_ACEOF
19999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20007 if test "$ac_cv_header_wchar_h" != "yes"; then
20008 for ac_header in wcstr.h
20010 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20012 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20013 cat >>confdefs.h <<_ACEOF
20014 #define HAVE_WCSTR_H 1
20024 *-pc-os2_emx | *-pc-os2-emx )
20025 if test $ac_cv_header_langinfo_h = "yes" \
20026 -a \( "$wx_cv_gccversion" = "EMX2" \
20027 -o "$wx_cv_gccversion" = "EMX3" \
20028 -o "$wx_cv_gccversion" = "Innotek5" \); then
20029 LIBS="$LIBS -lintl"
20034 if test "$USE_UNIX" = 1 ; then
20035 for ac_header in sys/select.h
20037 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20039 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20040 cat >>confdefs.h <<_ACEOF
20041 #define HAVE_SYS_SELECT_H 1
20050 ac_cpp='$CXXCPP $CPPFLAGS'
20051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20055 for ac_header in cxxabi.h
20057 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20059 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20060 cat >>confdefs.h <<_ACEOF
20061 #define HAVE_CXXABI_H 1
20069 ac_cpp='$CPP $CPPFLAGS'
20070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20078 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20079 if ${ac_cv_c_const+:} false; then :
20080 $as_echo_n "(cached) " >&6
20082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h. */
20089 #ifndef __cplusplus
20090 /* Ultrix mips cc rejects this sort of thing. */
20091 typedef int charset[2];
20092 const charset cs = { 0, 0 };
20093 /* SunOS 4.1.1 cc rejects this. */
20094 char const *const *pcpcc;
20096 /* NEC SVR4.0.2 mips cc rejects this. */
20097 struct point {int x, y;};
20098 static struct point const zero = {0,0};
20099 /* AIX XL C 1.02.0.0 rejects this.
20100 It does not let you subtract one const X* pointer from another in
20101 an arm of an if-expression whose if-part is not a constant
20103 const char *g = "string";
20104 pcpcc = &g + (g ? g-g : 0);
20105 /* HPUX 7.0 cc rejects these. */
20107 ppc = (char**) pcpcc;
20108 pcpcc = (char const *const *) ppc;
20109 { /* SCO 3.2v4 cc rejects this sort of thing. */
20112 char const *s = 0 ? (char *) 0 : (char const *) 0;
20117 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20118 int x[] = {25, 17};
20119 const int *foo = &x[0];
20122 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20123 typedef const int *iptr;
20127 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20128 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20129 struct s { int j; const int *ap[3]; } bx;
20130 struct s *b = &bx; b->j = 5;
20132 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20133 const int foo = 10;
20134 if (!foo) return 0;
20136 return !cs[0] && !zero.x;
20143 if ac_fn_c_try_compile "$LINENO"; then :
20148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20151 $as_echo "$ac_cv_c_const" >&6; }
20152 if test $ac_cv_c_const = no; then
20154 $as_echo "#define const /**/" >>confdefs.h
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20159 $as_echo_n "checking for inline... " >&6; }
20160 if ${ac_cv_c_inline+:} false; then :
20161 $as_echo_n "(cached) " >&6
20164 for ac_kw in inline __inline__ __inline; do
20165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20166 /* end confdefs.h. */
20167 #ifndef __cplusplus
20169 static $ac_kw foo_t static_foo () {return 0; }
20170 $ac_kw foo_t foo () {return 0; }
20174 if ac_fn_c_try_compile "$LINENO"; then :
20175 ac_cv_c_inline=$ac_kw
20177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178 test "$ac_cv_c_inline" != no && break
20182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20183 $as_echo "$ac_cv_c_inline" >&6; }
20185 case $ac_cv_c_inline in
20188 case $ac_cv_c_inline in
20190 *) ac_val=$ac_cv_c_inline;;
20192 cat >>confdefs.h <<_ACEOF
20193 #ifndef __cplusplus
20194 #define inline $ac_val
20201 # The cast to long int works around a bug in the HP C Compiler
20202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20203 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20204 # This bug is HP SR number 8606223364.
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20206 $as_echo_n "checking size of short... " >&6; }
20207 if ${ac_cv_sizeof_short+:} false; then :
20208 $as_echo_n "(cached) " >&6
20210 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20213 if test "$ac_cv_type_short" = yes; then
20214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20215 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20216 as_fn_error 77 "cannot compute sizeof (short)
20217 See \`config.log
' for more details" "$LINENO" 5; }
20219 ac_cv_sizeof_short=0
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20225 $as_echo "$ac_cv_sizeof_short" >&6; }
20229 cat >>confdefs.h <<_ACEOF
20230 #define SIZEOF_SHORT $ac_cv_sizeof_short
20234 # The cast to long int works around a bug in the HP C Compiler
20235 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20236 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20237 # This bug is HP SR number 8606223364.
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20239 $as_echo_n "checking size of void *... " >&6; }
20240 if ${ac_cv_sizeof_void_p+:} false
; then :
20241 $as_echo_n "(cached) " >&6
20243 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20246 if test "$ac_cv_type_void_p" = yes; then
20247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20249 as_fn_error
77 "cannot compute sizeof (void *)
20250 See \`config.log' for more details" "$LINENO" 5; }
20252 ac_cv_sizeof_void_p
=0
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20258 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20262 cat >>confdefs.h
<<_ACEOF
20263 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20267 # The cast to long int works around a bug in the HP C Compiler
20268 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20269 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20270 # This bug is HP SR number 8606223364.
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20272 $as_echo_n "checking size of int... " >&6; }
20273 if ${ac_cv_sizeof_int+:} false
; then :
20274 $as_echo_n "(cached) " >&6
20276 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20279 if test "$ac_cv_type_int" = yes; then
20280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20282 as_fn_error
77 "cannot compute sizeof (int)
20283 See \`config.log' for more details" "$LINENO" 5; }
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20291 $as_echo "$ac_cv_sizeof_int" >&6; }
20295 cat >>confdefs.h
<<_ACEOF
20296 #define SIZEOF_INT $ac_cv_sizeof_int
20300 # The cast to long int works around a bug in the HP C Compiler
20301 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20302 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20303 # This bug is HP SR number 8606223364.
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20305 $as_echo_n "checking size of long... " >&6; }
20306 if ${ac_cv_sizeof_long+:} false
; then :
20307 $as_echo_n "(cached) " >&6
20309 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20312 if test "$ac_cv_type_long" = yes; then
20313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20315 as_fn_error
77 "cannot compute sizeof (long)
20316 See \`config.log' for more details" "$LINENO" 5; }
20318 ac_cv_sizeof_long
=0
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20324 $as_echo "$ac_cv_sizeof_long" >&6; }
20328 cat >>confdefs.h
<<_ACEOF
20329 #define SIZEOF_LONG $ac_cv_sizeof_long
20333 # The cast to long int works around a bug in the HP C Compiler
20334 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20335 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20336 # This bug is HP SR number 8606223364.
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20338 $as_echo_n "checking size of size_t... " >&6; }
20339 if ${ac_cv_sizeof_size_t+:} false
; then :
20340 $as_echo_n "(cached) " >&6
20342 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20345 if test "$ac_cv_type_size_t" = yes; then
20346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20348 as_fn_error
77 "cannot compute sizeof (size_t)
20349 See \`config.log' for more details" "$LINENO" 5; }
20351 ac_cv_sizeof_size_t
=0
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20357 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20361 cat >>confdefs.h
<<_ACEOF
20362 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20369 # The cast to long int works around a bug in the HP C Compiler
20370 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20371 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20372 # This bug is HP SR number 8606223364.
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20374 $as_echo_n "checking size of long long... " >&6; }
20375 if ${ac_cv_sizeof_long_long+:} false
; then :
20376 $as_echo_n "(cached) " >&6
20378 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20381 if test "$ac_cv_type_long_long" = yes; then
20382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20384 as_fn_error
77 "cannot compute sizeof (long long)
20385 See \`config.log' for more details" "$LINENO" 5; }
20387 ac_cv_sizeof_long_long
=0
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20393 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20397 cat >>confdefs.h
<<_ACEOF
20398 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20404 # The cast to long int works around a bug in the HP C Compiler
20405 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20406 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20407 # This bug is HP SR number 8606223364.
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20409 $as_echo_n "checking size of long long... " >&6; }
20410 if ${ac_cv_sizeof_long_long+:} false
; then :
20411 $as_echo_n "(cached) " >&6
20413 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20416 if test "$ac_cv_type_long_long" = yes; then
20417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20419 as_fn_error
77 "cannot compute sizeof (long long)
20420 See \`config.log' for more details" "$LINENO" 5; }
20422 ac_cv_sizeof_long_long
=0
20427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20428 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20432 cat >>confdefs.h
<<_ACEOF
20433 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20437 if test "$ac_cv_sizeof_long_long" != 0; then
20438 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20442 # The cast to long int works around a bug in the HP C Compiler
20443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20445 # This bug is HP SR number 8606223364.
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20447 $as_echo_n "checking size of long long... " >&6; }
20448 if ${ac_cv_sizeof_long_long+:} false
; then :
20449 $as_echo_n "(cached) " >&6
20451 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20454 if test "$ac_cv_type_long_long" = yes; then
20455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20457 as_fn_error
77 "cannot compute sizeof (long long)
20458 See \`config.log' for more details" "$LINENO" 5; }
20460 ac_cv_sizeof_long_long
=0
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20466 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20470 cat >>confdefs.h
<<_ACEOF
20471 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20477 # The cast to long int works around a bug in the HP C Compiler
20478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20480 # This bug is HP SR number 8606223364.
20481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20482 $as_echo_n "checking size of wchar_t... " >&6; }
20483 if ${ac_cv_sizeof_wchar_t+:} false
; then :
20484 $as_echo_n "(cached) " >&6
20486 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20487 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20488 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20489 # error \"fake wchar_t\"
20491 #ifdef HAVE_WCHAR_H
20493 # include <stddef.h>
20495 # include <wchar.h>
20497 #ifdef HAVE_STDLIB_H
20498 # include <stdlib.h>
20506 if test "$ac_cv_type_wchar_t" = yes; then
20507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20509 as_fn_error
77 "cannot compute sizeof (wchar_t)
20510 See \`config.log' for more details" "$LINENO" 5; }
20512 ac_cv_sizeof_wchar_t
=0
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20518 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20522 cat >>confdefs.h
<<_ACEOF
20523 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20527 if test "$ac_cv_sizeof_wchar_t" = 0; then
20528 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20530 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20534 $as_echo_n "checking for va_copy... " >&6; }
20535 if ${wx_cv_func_va_copy+:} false
; then :
20536 $as_echo_n "(cached) " >&6
20540 ac_cpp
='$CXXCPP $CPPFLAGS'
20541 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20542 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20543 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20546 /* end confdefs.h. */
20549 #include <stdarg.h>
20550 void foo(char *f, ...)
20565 if ac_fn_cxx_try_link
"$LINENO"; then :
20566 wx_cv_func_va_copy
=yes
20568 wx_cv_func_va_copy
=no
20571 rm -f core conftest.err conftest.
$ac_objext \
20572 conftest
$ac_exeext conftest.
$ac_ext
20574 ac_cpp
='$CPP $CPPFLAGS'
20575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20583 $as_echo "$wx_cv_func_va_copy" >&6; }
20585 if test $wx_cv_func_va_copy = "yes"; then
20586 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20590 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20591 if ${wx_cv_type_va_list_lvalue+:} false
; then :
20592 $as_echo_n "(cached) " >&6
20595 if test "$cross_compiling" = yes; then :
20596 wx_cv_type_va_list_lvalue
=yes
20599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20600 /* end confdefs.h. */
20603 #include <stdarg.h>
20604 int foo(char *f, ...)
20609 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20617 return foo("hi", 17);
20621 if ac_fn_c_try_run
"$LINENO"; then :
20622 wx_cv_type_va_list_lvalue
=yes
20624 wx_cv_type_va_list_lvalue
=no
20626 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20627 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20634 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20636 if test $wx_cv_type_va_list_lvalue != "yes"; then
20637 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20642 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20645 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20646 if ${wx_cv_have_variadic_macros+:} false
; then :
20647 $as_echo_n "(cached) " >&6
20651 ac_cpp
='$CXXCPP $CPPFLAGS'
20652 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20653 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20654 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20657 /* end confdefs.h. */
20661 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20667 test("%s %d %p", "test", 1, 0);
20674 if ac_fn_cxx_try_compile
"$LINENO"; then :
20675 wx_cv_have_variadic_macros
=yes
20677 wx_cv_have_variadic_macros
=no
20680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20682 ac_cpp
='$CPP $CPPFLAGS'
20683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20691 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20693 if test $wx_cv_have_variadic_macros = "yes"; then
20694 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20700 LARGEFILE_CPPFLAGS
=
20701 # Check whether --enable-largefile was given.
20702 if test "${enable_largefile+set}" = set; then :
20703 enableval
=$enable_largefile;
20706 if test "$enable_largefile" != no
; then
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20710 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20711 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20712 $as_echo_n "(cached) " >&6
20715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h. */
20717 #define _FILE_OFFSET_BITS 64
20718 #include <sys/types.h>
20723 unsigned int field: sizeof(off_t) == 8;
20730 if ac_fn_c_try_compile
"$LINENO"; then :
20731 ac_cv_sys_file_offset_bits
=64
20733 ac_cv_sys_file_offset_bits
=no
20735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20740 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20742 if test "$ac_cv_sys_file_offset_bits" != no
; then
20744 cat >>confdefs.h
<<_ACEOF
20745 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20750 if test "x$wx_largefile" != "xyes"; then
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20753 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20754 if ${ac_cv_sys_large_files+:} false
; then :
20755 $as_echo_n "(cached) " >&6
20758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20759 /* end confdefs.h. */
20760 #define _LARGE_FILES 1
20761 #include <sys/types.h>
20766 unsigned int field: sizeof(off_t) == 8;
20773 if ac_fn_c_try_compile
"$LINENO"; then :
20774 ac_cv_sys_large_files
=1
20776 ac_cv_sys_large_files
=no
20778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20783 $as_echo "$ac_cv_sys_large_files" >&6; }
20785 if test "$ac_cv_sys_large_files" != no
; then
20787 cat >>confdefs.h
<<_ACEOF
20788 #define _LARGE_FILES $ac_cv_sys_large_files
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20796 $as_echo_n "checking if large file support is available... " >&6; }
20797 if test "x$wx_largefile" = "xyes"; then
20798 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20802 $as_echo "$wx_largefile" >&6; }
20805 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20806 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20807 elif test "$ac_cv_sys_large_files" = 1; then
20808 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20811 if test -n "$LARGEFILE_CPPFLAGS"; then
20812 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20814 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20816 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20817 if ${wx_cv_STDC_EXT_required+:} false
; then :
20818 $as_echo_n "(cached) " >&6
20822 ac_cpp
='$CXXCPP $CPPFLAGS'
20823 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20824 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20825 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20828 /* end confdefs.h. */
20834 #ifndef __STDC_EXT__
20842 if ac_fn_cxx_try_compile
"$LINENO"; then :
20843 wx_cv_STDC_EXT_required
=no
20845 wx_cv_STDC_EXT_required
=yes
20848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20850 ac_cpp
='$CPP $CPPFLAGS'
20851 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20852 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20853 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20859 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20860 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20861 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20867 ac_cpp
='$CXXCPP $CPPFLAGS'
20868 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20869 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20870 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20872 old_CPPFLAGS
="$CPPFLAGS"
20873 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20875 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20876 if ${ac_cv_sys_largefile_source+:} false
; then :
20877 $as_echo_n "(cached) " >&6
20880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20882 #include <sys/types.h> /* for off_t */
20887 int (*fp) (FILE *, off_t, int) = fseeko;
20888 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20893 if ac_fn_cxx_try_link
"$LINENO"; then :
20894 ac_cv_sys_largefile_source
=no
; break
20896 rm -f core conftest.err conftest.
$ac_objext \
20897 conftest
$ac_exeext conftest.
$ac_ext
20898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20899 /* end confdefs.h. */
20900 #define _LARGEFILE_SOURCE 1
20901 #include <sys/types.h> /* for off_t */
20906 int (*fp) (FILE *, off_t, int) = fseeko;
20907 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20912 if ac_fn_cxx_try_link
"$LINENO"; then :
20913 ac_cv_sys_largefile_source
=1; break
20915 rm -f core conftest.err conftest.
$ac_objext \
20916 conftest
$ac_exeext conftest.
$ac_ext
20917 ac_cv_sys_largefile_source
=unknown
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20922 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20923 case $ac_cv_sys_largefile_source in #(
20926 cat >>confdefs.h
<<_ACEOF
20927 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20933 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20934 # in glibc 2.1.3, but that breaks too many other things.
20935 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20936 if test $ac_cv_sys_largefile_source != unknown
; then
20938 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20942 CPPFLAGS
="$old_CPPFLAGS"
20944 ac_cpp
='$CPP $CPPFLAGS'
20945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20949 if test "$ac_cv_sys_largefile_source" != no
; then
20950 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20954 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20955 if ${ac_cv_c_bigendian+:} false
; then :
20956 $as_echo_n "(cached) " >&6
20958 ac_cv_c_bigendian
=unknown
20959 # See if sys/param.h defines the BYTE_ORDER macro.
20960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20961 /* end confdefs.h. */
20962 #include <sys/types.h>
20963 #include <sys/param.h>
20968 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20969 bogus endian macros
20975 if ac_fn_c_try_compile
"$LINENO"; then :
20976 # It does; now see whether it defined to BIG_ENDIAN or not.
20977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20978 /* end confdefs.h. */
20979 #include <sys/types.h>
20980 #include <sys/param.h>
20985 #if BYTE_ORDER != BIG_ENDIAN
20992 if ac_fn_c_try_compile
"$LINENO"; then :
20993 ac_cv_c_bigendian
=yes
20995 ac_cv_c_bigendian
=no
20997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21000 if test $ac_cv_c_bigendian = unknown
; then
21001 if test "$cross_compiling" = yes; then :
21002 ac_cv_c_bigendian
=unknown
21004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21005 /* end confdefs.h. */
21007 /* Are we little or big endian? From Harbison&Steele. */
21011 char c[sizeof (long)];
21014 exit (u.c[sizeof (long) - 1] == 1);
21017 if ac_fn_c_try_run
"$LINENO"; then :
21018 ac_cv_c_bigendian
=no
21020 ac_cv_c_bigendian
=yes
21022 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21023 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21029 $as_echo "$ac_cv_c_bigendian" >&6; }
21030 if test $ac_cv_c_bigendian = unknown
; then
21031 { $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
21032 $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;}
21034 if test $ac_cv_c_bigendian = yes; then
21035 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21043 ac_cpp
='$CXXCPP $CPPFLAGS'
21044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21049 for ac_header
in iostream
21051 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
21053 if test "x$ac_cv_header_iostream" = xyes
; then :
21054 cat >>confdefs.h
<<_ACEOF
21055 #define HAVE_IOSTREAM 1
21063 if test "$ac_cv_header_iostream" = "yes" ; then
21066 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21071 ac_cpp
='$CPP $CPPFLAGS'
21072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21080 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21081 if ${wx_cv_explicit+:} false
; then :
21082 $as_echo_n "(cached) " >&6
21087 ac_cpp
='$CXXCPP $CPPFLAGS'
21088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21094 /* end confdefs.h. */
21096 class Foo { public: explicit Foo(int) {} };
21108 if ac_fn_cxx_try_compile
"$LINENO"; then :
21110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21111 /* end confdefs.h. */
21113 class Foo { public: explicit Foo(int) {} };
21114 static void TakeFoo(const Foo& foo) { }
21127 if ac_fn_cxx_try_compile
"$LINENO"; then :
21133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21142 ac_cpp
='$CPP $CPPFLAGS'
21143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21150 $as_echo "$wx_cv_explicit" >&6; }
21152 if test "$wx_cv_explicit" = "yes"; then
21153 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21158 if test "x$SUNCXX" = xyes
; then
21159 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21162 if test "x$SUNCC" = xyes
; then
21163 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21166 if test "x$SGICC" = "xyes"; then
21167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21168 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21169 if ${wx_cv_prog_sgicc744+:} false
; then :
21170 $as_echo_n "(cached) " >&6
21173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21174 /* end confdefs.h. */
21180 #if _SGI_COMPILER_VERSION >= 744
21181 chock me: mipsPro is 7.4.4 or later
21188 if ac_fn_c_try_compile
"$LINENO"; then :
21189 wx_cv_prog_sgicc744
=no
21191 wx_cv_prog_sgicc744
=yes
21194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21199 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21201 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21202 CFLAGS
="-woff 3970 $CFLAGS"
21205 if test "x$SGICXX" = "xyes"; then
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21207 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21208 if ${wx_cv_prog_sgicxx744+:} false
; then :
21209 $as_echo_n "(cached) " >&6
21213 ac_cpp
='$CXXCPP $CPPFLAGS'
21214 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21215 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21216 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21219 /* end confdefs.h. */
21225 #if _SGI_COMPILER_VERSION >= 744
21226 chock me: mipsPro is 7.4.4 or later
21233 if ac_fn_cxx_try_compile
"$LINENO"; then :
21234 wx_cv_prog_sgicxx744
=no
21236 wx_cv_prog_sgicxx744
=yes
21239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21241 ac_cpp
='$CPP $CPPFLAGS'
21242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21250 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21252 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21253 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21257 if test "x$HPCC" = "xyes"; then
21258 CFLAGS
="+W 2011,2450 $CFLAGS"
21260 if test "x$HPCXX" = "xyes"; then
21261 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21264 if test "x$COMPAQCXX" = "xyes"; then
21265 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21269 ac_cpp
='$CXXCPP $CPPFLAGS'
21270 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21271 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21272 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21275 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21276 if test "$wxUSE_UNICODE" = "yes"; then
21277 std_string
="std::wstring"
21278 char_type
="wchar_t"
21280 std_string
="std::string"
21284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21285 $as_echo_n "checking for $std_string in <string>... " >&6; }
21286 if ${wx_cv_class_stdstring+:} false
; then :
21287 $as_echo_n "(cached) " >&6
21290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21291 /* end confdefs.h. */
21301 if ac_fn_cxx_try_compile
"$LINENO"; then :
21302 wx_cv_class_stdstring
=yes
21304 wx_cv_class_stdstring
=no
21307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21312 $as_echo "$wx_cv_class_stdstring" >&6; }
21314 if test "$wx_cv_class_stdstring" = yes; then
21315 if test "$wxUSE_UNICODE" = "yes"; then
21316 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21321 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21322 if ${wx_cv_class_stdbasicstring+:} false
; then :
21323 $as_echo_n "(cached) " >&6
21326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21327 /* end confdefs.h. */
21329 #ifdef HAVE_WCHAR_H
21331 # include <stddef.h>
21333 # include <wchar.h>
21335 #ifdef HAVE_STDLIB_H
21336 # include <stdlib.h>
21344 std::basic_string<$char_type> foo;
21345 const $char_type* dummy = foo.c_str();
21350 if ac_fn_cxx_try_compile
"$LINENO"; then :
21351 wx_cv_class_stdbasicstring
=yes
21353 wx_cv_class_stdbasicstring
=no
21356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21361 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21363 if test "$wx_cv_class_stdbasicstring" != yes; then
21364 if test "$wxUSE_STL" = "yes"; then
21365 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21366 elif test "$wxUSE_STD_STRING" = "yes"; then
21367 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21370 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21371 wxUSE_STD_STRING
=no
21377 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21378 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21380 if test "x$ac_cv_type_std__istream" = xyes
; then :
21382 cat >>confdefs.h
<<_ACEOF
21383 #define HAVE_STD__ISTREAM 1
21388 wxUSE_STD_IOSTREAM
=no
21390 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21392 if test "x$ac_cv_type_std__ostream" = xyes
; then :
21394 cat >>confdefs.h
<<_ACEOF
21395 #define HAVE_STD__OSTREAM 1
21400 wxUSE_STD_IOSTREAM
=no
21404 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21405 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21406 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21409 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21414 if test "$wxUSE_STL" = "yes"; then
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21416 $as_echo_n "checking for basic STL functionality... " >&6; }
21417 if ${wx_cv_lib_stl+:} false
; then :
21418 $as_echo_n "(cached) " >&6
21420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21421 /* end confdefs.h. */
21423 #include <functional>
21424 #include <algorithm>
21430 std::vector<int> moo;
21431 std::list<int> foo;
21432 std::vector<int>::iterator it =
21433 std::find_if(moo.begin(), moo.end(),
21434 std::bind2nd(std::less<int>(), 3));
21439 if ac_fn_cxx_try_compile
"$LINENO"; then :
21445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21449 $as_echo "$wx_cv_lib_stl" >&6; }
21451 if test "$wx_cv_lib_stl" != yes; then
21452 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21456 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21457 if ${wx_cv_func_stdstring_compare+:} false
; then :
21458 $as_echo_n "(cached) " >&6
21460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21461 /* end confdefs.h. */
21466 std::string foo, bar;
21468 foo.compare(1, 1, bar);
21469 foo.compare(1, 1, bar, 1, 1);
21471 foo.compare(1, 1, "");
21472 foo.compare(1, 1, "", 2);
21477 if ac_fn_cxx_try_compile
"$LINENO"; then :
21478 wx_cv_func_stdstring_compare
=yes
21480 wx_cv_func_stdstring_compare
=no
21483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21487 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21489 if test "$wx_cv_func_stdstring_compare" = yes; then
21490 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21494 if test "$wx_cv_class_gnuhashmapset" = yes; then
21495 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21497 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21501 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21504 if test "x$ac_cv_header_unordered_map" = xyes
; then :
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21506 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21507 if ${wx_cv_class_stdunorderedmapset+:} false
; then :
21508 $as_echo_n "(cached) " >&6
21510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21511 /* end confdefs.h. */
21512 #include <unordered_map>
21513 #include <unordered_set>
21517 std::unordered_map<double*, char*> test1;
21518 std::unordered_set<char*> test2;
21523 if ac_fn_cxx_try_compile
"$LINENO"; then :
21524 wx_cv_class_stdunorderedmapset
=yes
21526 wx_cv_class_stdunorderedmapset
=no
21528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21533 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21538 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21539 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21541 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21544 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21547 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
21548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21549 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21550 if ${wx_cv_class_tr1unorderedmapset+:} false
; then :
21551 $as_echo_n "(cached) " >&6
21553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21554 /* end confdefs.h. */
21555 #include <tr1/unordered_map>
21556 #include <tr1/unordered_set>
21560 std::tr1::unordered_map<double*, char*> test1;
21561 std::tr1::unordered_set<char*> test2;
21562 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21563 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21569 if ac_fn_cxx_try_compile
"$LINENO"; then :
21570 wx_cv_class_tr1unorderedmapset
=yes
21572 wx_cv_class_tr1unorderedmapset
=no
21574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21579 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21584 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21585 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21587 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21590 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21593 if test "x$ac_cv_header_hash_map" = xyes
; then :
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21595 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21596 if ${wx_cv_class_stdhashmapset+:} false
; then :
21597 $as_echo_n "(cached) " >&6
21599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21600 /* end confdefs.h. */
21601 #include <hash_map>
21602 #include <hash_set>
21606 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21607 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21612 if ac_fn_cxx_try_compile
"$LINENO"; then :
21613 wx_cv_class_stdhashmapset
=yes
21615 wx_cv_class_stdhashmapset
=no
21617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21622 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21627 if test "$wx_cv_class_stdhashmapset" = yes; then
21628 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21630 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21634 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21637 if test "x$ac_cv_header_ext_hash_map" = xyes
; then :
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21639 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21640 if ${wx_cv_class_gnuhashmapset+:} false
; then :
21641 $as_echo_n "(cached) " >&6
21643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21644 /* end confdefs.h. */
21645 #include <ext/hash_map>
21646 #include <ext/hash_set>
21650 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21651 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21656 if ac_fn_cxx_try_compile
"$LINENO"; then :
21657 wx_cv_class_gnuhashmapset
=yes
21659 wx_cv_class_gnuhashmapset
=no
21661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21666 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21676 ac_cpp
='$CXXCPP $CPPFLAGS'
21677 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21681 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21682 if test -z "$CXXCPP"; then
21683 if ${ac_cv_prog_CXXCPP+:} false
; then :
21684 $as_echo_n "(cached) " >&6
21686 # Double quotes because CXXCPP needs to be expanded
21687 for CXXCPP
in "$CXX -E" "/lib/cpp"
21689 ac_preproc_ok
=false
21690 for ac_cxx_preproc_warn_flag
in '' yes
21692 # Use a header file that comes with gcc, so configuring glibc
21693 # with a fresh cross-compiler works.
21694 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21695 # <limits.h> exists even on freestanding compilers.
21696 # On the NeXT, cc -E runs the code through the compiler's parser,
21697 # not just through cpp. "Syntax error" is here to catch this case.
21698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21699 /* end confdefs.h. */
21701 # include <limits.h>
21703 # include <assert.h>
21707 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21710 # Broken: fails on valid input.
21713 rm -f conftest.err conftest.i conftest.
$ac_ext
21715 # OK, works on sane cases. Now check whether nonexistent headers
21716 # can be detected and how.
21717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h. */
21719 #include <ac_nonexistent.h>
21721 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21722 # Broken: success on invalid input.
21725 # Passes both tests.
21729 rm -f conftest.err conftest.i conftest.
$ac_ext
21732 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21733 rm -f conftest.i conftest.err conftest.
$ac_ext
21734 if $ac_preproc_ok; then :
21739 ac_cv_prog_CXXCPP
=$CXXCPP
21742 CXXCPP
=$ac_cv_prog_CXXCPP
21744 ac_cv_prog_CXXCPP
=$CXXCPP
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21747 $as_echo "$CXXCPP" >&6; }
21748 ac_preproc_ok
=false
21749 for ac_cxx_preproc_warn_flag
in '' yes
21751 # Use a header file that comes with gcc, so configuring glibc
21752 # with a fresh cross-compiler works.
21753 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21754 # <limits.h> exists even on freestanding compilers.
21755 # On the NeXT, cc -E runs the code through the compiler's parser,
21756 # not just through cpp. "Syntax error" is here to catch this case.
21757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21758 /* end confdefs.h. */
21760 # include <limits.h>
21762 # include <assert.h>
21766 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21769 # Broken: fails on valid input.
21772 rm -f conftest.err conftest.i conftest.
$ac_ext
21774 # OK, works on sane cases. Now check whether nonexistent headers
21775 # can be detected and how.
21776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21777 /* end confdefs.h. */
21778 #include <ac_nonexistent.h>
21780 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21781 # Broken: success on invalid input.
21784 # Passes both tests.
21788 rm -f conftest.err conftest.i conftest.
$ac_ext
21791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21792 rm -f conftest.i conftest.err conftest.
$ac_ext
21793 if $ac_preproc_ok; then :
21796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21798 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21799 See \`config.log' for more details" "$LINENO" 5; }
21803 ac_cpp
='$CXXCPP $CPPFLAGS'
21804 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21805 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21806 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21809 for ac_header
in type_traits tr
1/type_traits
21811 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21812 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21813 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21814 cat >>confdefs.h
<<_ACEOF
21815 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21825 if test -n "$GCC"; then
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21827 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21828 if ${wx_cv_cc_gcc_atomic_builtins+:} false
; then :
21829 $as_echo_n "(cached) " >&6
21832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21833 /* end confdefs.h. */
21839 unsigned int value=0;
21840 /* wxAtomicInc doesn't use return value here */
21841 __sync_fetch_and_add(&value, 2);
21842 __sync_sub_and_fetch(&value, 1);
21843 /* but wxAtomicDec does, so mimic that: */
21844 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21850 if ac_fn_cxx_try_link
"$LINENO"; then :
21851 wx_cv_cc_gcc_atomic_builtins
=yes
21853 wx_cv_cc_gcc_atomic_builtins
=no
21855 rm -f core conftest.err conftest.
$ac_objext \
21856 conftest
$ac_exeext conftest.
$ac_ext
21860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21861 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21862 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21863 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21870 ac_cpp
='$CPP $CPPFLAGS'
21871 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21878 /usr/local/include \
21879 /usr/local/X11/include \
21880 /usr/local/include/X11 \
21881 /usr/local/X11R7/include \
21882 /usr/local/X11R6/include \
21883 /usr/local/include/X11R7 \
21884 /usr/local/include/X11R6 \
21886 /usr/Motif-2.1/include \
21887 /usr/Motif-1.2/include \
21888 /usr/include/Motif1.2 \
21891 /usr/openwin/include \
21895 /usr/X11R7/include \
21896 /usr/X11R6/include \
21897 /usr/X11R6.4/include \
21899 /usr/include/X11R7 \
21900 /usr/include/X11R6 \
21905 /usr/XFree86/include/X11 \
21908 /usr/local/X1R5/include \
21909 /usr/local/include/X11R5 \
21910 /usr/X11R5/include \
21911 /usr/include/X11R5 \
21913 /usr/local/X11R4/include \
21914 /usr/local/include/X11R4 \
21915 /usr/X11R4/include \
21916 /usr/include/X11R4 \
21918 /usr/openwin/share/include"
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21921 $as_echo_n "checking for libraries directories... " >&6; }
21925 if ${wx_cv_std_libpath+:} false
; then :
21926 $as_echo_n "(cached) " >&6
21929 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
21930 for e
in a so sl dylib dll.a
; do
21932 if test -f $libc; then
21935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21936 /* end confdefs.h. */
21938 int main() { return 0; }
21941 if ac_fn_c_try_link
"$LINENO"; then :
21942 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
21944 rm -f core conftest.err conftest.
$ac_objext \
21945 conftest
$ac_exeext conftest.
$ac_ext
21947 if test "x$wx_cv_std_libpath" != "x"; then
21960 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21961 wx_cv_std_libpath
="lib/64"
21966 if test "$ac_cv_sizeof_void_p" = 8; then
21967 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21968 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
21969 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21970 wx_cv_std_libpath
="lib64"
21975 if test -d '/usr/lib/i386-linux-gnu'; then
21976 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
21981 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21982 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
21987 if test -z "$wx_cv_std_libpath"; then
21988 wx_cv_std_libpath
="lib"
21991 if test -z "$wx_cv_std_libfullpath"; then
21992 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21997 $as_echo "$wx_cv_std_libfullpath" >&6; }
21999 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22001 if test "$build" != "$host" -a "$GCC" = yes; then
22002 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22003 cross_root
=`dirname $cross_root`
22004 cross_root
=`dirname $cross_root`
22006 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22007 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22008 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
22010 if test -z "$PKG_CONFIG_PATH"; then
22011 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22012 export PKG_CONFIG_PATH
22015 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22018 for ac_dir
in $SEARCH_INCLUDE /usr
/include
22020 if test -f "$ac_dir/X11/Intrinsic.h"; then
22021 ac_find_includes
=$ac_dir
22026 x_includes
=$ac_find_includes
22028 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22031 for ac_dir
in $SEARCH_LIB
22033 for ac_extension
in a so sl dylib dll.a
; do
22034 if test -f "$ac_dir/libXt.$ac_extension"; then
22035 ac_find_libraries
=$ac_dir
22041 x_libraries
=$ac_find_libraries
22047 cat >confcache
<<\_ACEOF
22048 # This file is a shell script that caches the results of configure
22049 # tests run on this system so they can be shared between configure
22050 # scripts and configure runs, see configure's option --config-cache.
22051 # It is not useful on other systems. If it contains results you don't
22052 # want to keep, you may remove or edit it.
22054 # config.status only pays attention to the cache file if you give it
22055 # the --recheck option to rerun configure.
22057 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22058 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22059 # following values.
22063 # The following way of writing the cache mishandles newlines in values,
22064 # but we know of no workaround that is simple, portable, and efficient.
22065 # So, we kill variables containing newlines.
22066 # Ultrix sh set writes to stderr and can't be redirected directly,
22067 # and sets the high bit in the cache file unless we assign to the vars.
22069 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22070 eval ac_val
=\$
$ac_var
22074 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22075 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22078 _
| IFS
| as_nl
) ;; #(
22079 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22080 *) { eval $ac_var=; unset $ac_var;} ;;
22086 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22087 *${as_nl}ac_space
=\
*)
22088 # `set' does not quote correctly, so add quotes: double-quote
22089 # substitution turns \\\\ into \\, and sed turns \\ into \.
22092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22095 # `set' quotes correctly as required by POSIX, so do not add quotes.
22096 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22105 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22107 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22109 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22110 if test -w "$cache_file"; then
22111 if test "x$cache_file" != "x/dev/null"; then
22112 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22113 $as_echo "$as_me: updating cache $cache_file" >&6;}
22114 if test ! -f "$cache_file" || test -h "$cache_file"; then
22115 cat confcache
>"$cache_file"
22117 case $cache_file in #(
22119 mv -f confcache
"$cache_file"$$
&&
22120 mv -f "$cache_file"$$
"$cache_file" ;; #(
22122 mv -f confcache
"$cache_file" ;;
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22128 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22137 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22138 if test "x$ac_cv_func_cos" = xyes
; then :
22139 cat >>confdefs.h
<<_ACEOF
22146 for ac_func
in floor
22148 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22149 if test "x$ac_cv_func_floor" = xyes
; then :
22150 cat >>confdefs.h
<<_ACEOF
22151 #define HAVE_FLOOR 1
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22158 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22159 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22161 $as_echo "yes" >&6; }
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22164 $as_echo "no" >&6; }
22166 # use different functions to avoid configure caching
22171 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22172 if test "x$ac_cv_func_sin" = xyes
; then :
22173 cat >>confdefs.h
<<_ACEOF
22180 for ac_func
in ceil
22182 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22183 if test "x$ac_cv_func_ceil" = xyes
; then :
22184 cat >>confdefs.h
<<_ACEOF
22185 #define HAVE_CEIL 1
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22192 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22193 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22195 $as_echo "yes" >&6; }
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22198 $as_echo "no" >&6; }
22199 # not sure we should warn the user, crash, etc.
22204 ac_cpp
='$CXXCPP $CPPFLAGS'
22205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22209 if test "wxUSE_UNICODE" = "yes"; then
22211 for wx_func
in wcstoull
22213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22214 $as_echo_n "checking for $wx_func... " >&6; }
22215 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22216 $as_echo_n "(cached) " >&6
22219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22220 /* end confdefs.h. */
22224 $ac_includes_default
22240 if ac_fn_cxx_try_link
"$LINENO"; then :
22241 eval wx_cv_func_
$wx_func=yes
22243 eval wx_cv_func_
$wx_func=no
22245 rm -f core conftest.err conftest.
$ac_objext \
22246 conftest
$ac_exeext conftest.
$ac_ext
22249 eval ac_res
=\
$wx_cv_func_$wx_func
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22251 $as_echo "$ac_res" >&6; }
22253 if eval test \
$wx_cv_func_$wx_func = yes
22255 cat >>confdefs.h
<<_ACEOF
22256 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22268 for wx_func
in strtoull
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22271 $as_echo_n "checking for $wx_func... " >&6; }
22272 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22273 $as_echo_n "(cached) " >&6
22276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22277 /* end confdefs.h. */
22281 $ac_includes_default
22297 if ac_fn_cxx_try_link
"$LINENO"; then :
22298 eval wx_cv_func_
$wx_func=yes
22300 eval wx_cv_func_
$wx_func=no
22302 rm -f core conftest.err conftest.
$ac_objext \
22303 conftest
$ac_exeext conftest.
$ac_ext
22306 eval ac_res
=\
$wx_cv_func_$wx_func
22307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22308 $as_echo "$ac_res" >&6; }
22310 if eval test \
$wx_cv_func_$wx_func = yes
22312 cat >>confdefs.h
<<_ACEOF
22313 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22325 ac_cpp
='$CPP $CPPFLAGS'
22326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22333 if test "$wxUSE_REGEX" != "no"; then
22334 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22337 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22339 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22340 wxUSE_REGEX
=builtin
22343 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22344 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22346 if test "x$ac_cv_header_regex_h" = xyes
; then :
22347 for ac_func
in regcomp re_search
22349 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22350 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22351 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22352 cat >>confdefs.h
<<_ACEOF
22353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22363 if test "x$ac_cv_func_regcomp" != "xyes"; then
22364 if test "$wxUSE_REGEX" = "sys" ; then
22365 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22368 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22369 wxUSE_REGEX
=builtin
22373 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22381 if test "$wxUSE_ZLIB" != "no" ; then
22382 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22385 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22386 if test "$USE_DARWIN" = 1; then
22387 system_zlib_h_ok
="yes"
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22390 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22391 if ${ac_cv_header_zlib_h+:} false
; then :
22392 $as_echo_n "(cached) " >&6
22394 if test "$cross_compiling" = yes; then :
22395 unset ac_cv_header_zlib_h
22398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22399 /* end confdefs.h. */
22406 FILE *f=fopen("conftestval", "w");
22409 ZLIB_VERSION[0] == '1' &&
22410 (ZLIB_VERSION[2] > '1' ||
22411 (ZLIB_VERSION[2] == '1' &&
22412 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22417 if ac_fn_c_try_run
"$LINENO"; then :
22418 ac_cv_header_zlib_h
=`cat conftestval`
22420 ac_cv_header_zlib_h
=no
22422 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22423 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22429 $as_echo "$ac_cv_header_zlib_h" >&6; }
22430 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22432 if test "x$ac_cv_header_zlib_h" = xyes
; then :
22438 system_zlib_h_ok
=$ac_cv_header_zlib_h
22441 if test "$system_zlib_h_ok" = "yes"; then
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22443 $as_echo_n "checking for deflate in -lz... " >&6; }
22444 if ${ac_cv_lib_z_deflate+:} false
; then :
22445 $as_echo_n "(cached) " >&6
22447 ac_check_lib_save_LIBS
=$LIBS
22449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22450 /* end confdefs.h. */
22452 /* Override any GCC internal prototype to avoid an error.
22453 Use char because int might match the return type of a GCC
22454 builtin and then its argument prototype would still apply. */
22467 if ac_fn_c_try_link
"$LINENO"; then :
22468 ac_cv_lib_z_deflate
=yes
22470 ac_cv_lib_z_deflate
=no
22472 rm -f core conftest.err conftest.
$ac_objext \
22473 conftest
$ac_exeext conftest.
$ac_ext
22474 LIBS
=$ac_check_lib_save_LIBS
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22477 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22478 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
22484 if test "x$ZLIB_LINK" = "x" ; then
22485 if test "$wxUSE_ZLIB" = "sys" ; then
22486 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22489 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22500 if test "$wxUSE_LIBPNG" != "no" ; then
22501 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22504 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22506 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22507 wxUSE_LIBPNG
=builtin
22510 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22512 $as_echo_n "checking for png.h > 0.90... " >&6; }
22513 if ${ac_cv_header_png_h+:} false
; then :
22514 $as_echo_n "(cached) " >&6
22516 if test "$cross_compiling" = yes; then :
22517 unset ac_cv_header_png_h
22520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22521 /* end confdefs.h. */
22528 FILE *f=fopen("conftestval", "w");
22531 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22536 if ac_fn_c_try_run
"$LINENO"; then :
22537 ac_cv_header_png_h
=`cat conftestval`
22539 ac_cv_header_png_h
=no
22541 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22542 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22548 $as_echo "$ac_cv_header_png_h" >&6; }
22549 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22551 if test "x$ac_cv_header_png_h" = xyes
; then :
22557 if test "$ac_cv_header_png_h" = "yes"; then
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22559 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22560 if ${ac_cv_lib_png_png_sig_cmp+:} false
; then :
22561 $as_echo_n "(cached) " >&6
22563 ac_check_lib_save_LIBS
=$LIBS
22564 LIBS
="-lpng -lz -lm $LIBS"
22565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22566 /* end confdefs.h. */
22568 /* Override any GCC internal prototype to avoid an error.
22569 Use char because int might match the return type of a GCC
22570 builtin and then its argument prototype would still apply. */
22574 char png_sig_cmp ();
22578 return png_sig_cmp ();
22583 if ac_fn_c_try_link
"$LINENO"; then :
22584 ac_cv_lib_png_png_sig_cmp
=yes
22586 ac_cv_lib_png_png_sig_cmp
=no
22588 rm -f core conftest.err conftest.
$ac_objext \
22589 conftest
$ac_exeext conftest.
$ac_ext
22590 LIBS
=$ac_check_lib_save_LIBS
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22593 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22594 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes
; then :
22595 PNG_LINK
=" -lpng -lz"
22600 if test "x$PNG_LINK" = "x" ; then
22601 if test "$wxUSE_LIBPNG" = "sys" ; then
22602 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22605 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22606 wxUSE_LIBPNG
=builtin
22616 if test "$wxUSE_LIBJPEG" != "no" ; then
22617 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22620 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22622 $as_echo_n "checking for jpeglib.h... " >&6; }
22623 if ${ac_cv_header_jpeglib_h+:} false
; then :
22624 $as_echo_n "(cached) " >&6
22626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22627 /* end confdefs.h. */
22629 #undef HAVE_STDLIB_H
22631 #include <jpeglib.h>
22642 if ac_fn_c_try_compile
"$LINENO"; then :
22643 ac_cv_header_jpeglib_h
=yes
22645 ac_cv_header_jpeglib_h
=no
22648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22653 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22655 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22657 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22658 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false
; then :
22659 $as_echo_n "(cached) " >&6
22661 ac_check_lib_save_LIBS
=$LIBS
22662 LIBS
="-ljpeg $LIBS"
22663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22664 /* end confdefs.h. */
22666 /* Override any GCC internal prototype to avoid an error.
22667 Use char because int might match the return type of a GCC
22668 builtin and then its argument prototype would still apply. */
22672 char jpeg_read_header ();
22676 return jpeg_read_header ();
22681 if ac_fn_c_try_link
"$LINENO"; then :
22682 ac_cv_lib_jpeg_jpeg_read_header
=yes
22684 ac_cv_lib_jpeg_jpeg_read_header
=no
22686 rm -f core conftest.err conftest.
$ac_objext \
22687 conftest
$ac_exeext conftest.
$ac_ext
22688 LIBS
=$ac_check_lib_save_LIBS
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22691 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22692 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes
; then :
22693 JPEG_LINK
=" -ljpeg"
22698 if test "x$JPEG_LINK" = "x" ; then
22699 if test "$wxUSE_LIBJPEG" = "sys" ; then
22700 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22703 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22704 wxUSE_LIBJPEG
=builtin
22709 if test "$wxUSE_MSW" = 1; then
22710 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22712 if test "x$ac_cv_type_boolean" = xyes
; then :
22714 cat >>confdefs.h
<<_ACEOF
22715 #define HAVE_BOOLEAN 1
22719 # The cast to long int works around a bug in the HP C Compiler
22720 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22721 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22722 # This bug is HP SR number 8606223364.
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22724 $as_echo_n "checking size of boolean... " >&6; }
22725 if ${ac_cv_sizeof_boolean+:} false
; then :
22726 $as_echo_n "(cached) " >&6
22728 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22729 #undef HAVE_BOOLEAN
22731 #include <jpeglib.h>
22736 if test "$ac_cv_type_boolean" = yes; then
22737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22739 as_fn_error
77 "cannot compute sizeof (boolean)
22740 See \`config.log' for more details" "$LINENO" 5; }
22742 ac_cv_sizeof_boolean
=0
22747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22748 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22752 cat >>confdefs.h
<<_ACEOF
22753 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22757 cat >>confdefs.h
<<_ACEOF
22758 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22771 TIFF_PREREQ_LINKS
=-lm
22772 if test "$wxUSE_LIBTIFF" != "no" ; then
22773 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22776 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22777 if test "$wxUSE_LIBJPEG" = "sys"; then
22778 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22780 if test "$wxUSE_ZLIB" = "sys"; then
22781 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22783 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22786 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22789 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22790 if ${ac_cv_lib_tiff_TIFFError+:} false
; then :
22791 $as_echo_n "(cached) " >&6
22793 ac_check_lib_save_LIBS
=$LIBS
22794 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22796 /* end confdefs.h. */
22798 /* Override any GCC internal prototype to avoid an error.
22799 Use char because int might match the return type of a GCC
22800 builtin and then its argument prototype would still apply. */
22808 return TIFFError ();
22813 if ac_fn_c_try_link
"$LINENO"; then :
22814 ac_cv_lib_tiff_TIFFError
=yes
22816 ac_cv_lib_tiff_TIFFError
=no
22818 rm -f core conftest.err conftest.
$ac_objext \
22819 conftest
$ac_exeext conftest.
$ac_ext
22820 LIBS
=$ac_check_lib_save_LIBS
22822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22823 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22824 if test "x$ac_cv_lib_tiff_TIFFError" = xyes
; then :
22825 TIFF_LINK
=" -ltiff"
22833 if test "x$TIFF_LINK" = "x" ; then
22834 if test "$wxUSE_LIBTIFF" = "sys" ; then
22835 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22838 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22839 wxUSE_LIBTIFF
=builtin
22845 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22846 if test "$wxUSE_LIBJPEG" = "no"; then
22847 ac_configure_args
="$ac_configure_args --disable-jpeg"
22851 subdirs
="$subdirs src/tiff"
22857 if test "$wxUSE_EXPAT" != "no"; then
22859 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22861 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22864 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22865 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
22867 if test "x$ac_cv_header_expat_h" = xyes
; then :
22872 if test "x$found_expat_h" = "x1"; then
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22874 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22875 if ${wx_cv_expat_is_not_broken+:} false
; then :
22876 $as_echo_n "(cached) " >&6
22880 ac_cpp
='$CXXCPP $CPPFLAGS'
22881 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22882 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22883 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22886 /* end confdefs.h. */
22896 if ac_fn_cxx_try_compile
"$LINENO"; then :
22897 wx_cv_expat_is_not_broken
=yes
22899 wx_cv_expat_is_not_broken
=no
22902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22904 ac_cpp
='$CPP $CPPFLAGS'
22905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22913 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22914 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22916 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22917 if ${ac_cv_lib_expat_XML_ParserCreate+:} false
; then :
22918 $as_echo_n "(cached) " >&6
22920 ac_check_lib_save_LIBS
=$LIBS
22921 LIBS
="-lexpat $LIBS"
22922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22923 /* end confdefs.h. */
22925 /* Override any GCC internal prototype to avoid an error.
22926 Use char because int might match the return type of a GCC
22927 builtin and then its argument prototype would still apply. */
22931 char XML_ParserCreate ();
22935 return XML_ParserCreate ();
22940 if ac_fn_c_try_link
"$LINENO"; then :
22941 ac_cv_lib_expat_XML_ParserCreate
=yes
22943 ac_cv_lib_expat_XML_ParserCreate
=no
22945 rm -f core conftest.err conftest.
$ac_objext \
22946 conftest
$ac_exeext conftest.
$ac_ext
22947 LIBS
=$ac_check_lib_save_LIBS
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22950 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22951 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
; then :
22952 EXPAT_LINK
=" -lexpat"
22957 if test "x$EXPAT_LINK" = "x" ; then
22958 if test "$wxUSE_EXPAT" = "sys" ; then
22959 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22962 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22963 wxUSE_EXPAT
=builtin
22969 if test "$wxUSE_EXPAT" = "builtin" ; then
22970 subdirs
="$subdirs src/expat"
22977 if test "$wxUSE_LIBMSPACK" != "no"; then
22978 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22980 if test "x$ac_cv_header_mspack_h" = xyes
; then :
22985 if test "x$found_mspack_h" = "x1"; then
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22987 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22988 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false
; then :
22989 $as_echo_n "(cached) " >&6
22991 ac_check_lib_save_LIBS
=$LIBS
22992 LIBS
="-lmspack $LIBS"
22993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22994 /* end confdefs.h. */
22996 /* Override any GCC internal prototype to avoid an error.
22997 Use char because int might match the return type of a GCC
22998 builtin and then its argument prototype would still apply. */
23002 char mspack_create_chm_decompressor ();
23006 return mspack_create_chm_decompressor ();
23011 if ac_fn_c_try_link
"$LINENO"; then :
23012 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23014 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23016 rm -f core conftest.err conftest.
$ac_objext \
23017 conftest
$ac_exeext conftest.
$ac_ext
23018 LIBS
=$ac_check_lib_save_LIBS
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23021 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23022 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes
; then :
23023 MSPACK_LINK
=" -lmspack"
23027 if test "x$MSPACK_LINK" = "x" ; then
23032 if test "$wxUSE_LIBMSPACK" != "no"; then
23033 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23046 if test "$USE_WIN32" = 1 ; then
23047 for ac_header
in w32api.h
23049 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23051 if test "x$ac_cv_header_w32api_h" = xyes
; then :
23052 cat >>confdefs.h
<<_ACEOF
23053 #define HAVE_W32API_H 1
23060 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
23062 if test "x$ac_cv_header_windows_h" = xyes
; then :
23066 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23072 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23074 x86_64
-*-mingw32* )
23075 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
23078 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23079 LIBS
="$LIBS -loleacc"
23084 LIBS
="$LIBS -lkernel32 -luser32"
23087 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23088 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
23090 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23092 WIN32INSTALL
=win32install
23095 if test "$wxUSE_GUI" = "yes"; then
23106 if test "$wxUSE_OLD_COCOA" = 1 ; then
23107 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23109 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23110 wxUSE_PRINTING_ARCHITECTURE
=no
23112 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23114 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23115 wxUSE_DRAG_AND_DROP
=no
23117 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23119 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23124 if test "$wxUSE_MSW" = 1 ; then
23130 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23134 if test "$wxUSE_GTK" = 1; then
23135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23136 $as_echo_n "checking for GTK+ version... " >&6; }
23138 gtk_version_cached
=1
23139 if ${wx_cv_lib_gtk+:} false
; then :
23140 $as_echo_n "(cached) " >&6
23143 gtk_version_cached
=0
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23148 if test "$wxUSE_THREADS" = "yes"; then
23149 GTK_MODULES
=gthread
23152 if test -z "$wxGTK_VERSION"; then
23157 if test "x$wxGTK_VERSION" != "x1"
23161 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23166 if test "$wxGTK_VERSION" != 3; then
23167 # Check whether --enable-gtktest was given.
23168 if test "${enable_gtktest+set}" = set; then :
23169 enableval
=$enable_gtktest;
23175 pkg_config_args
=gtk
+-2.0
23176 for module
in .
$GTK_MODULES
23180 pkg_config_args
="$pkg_config_args gthread-2.0"
23187 # Extract the first word of "pkg-config", so it can be a program name with args.
23188 set dummy pkg
-config; ac_word
=$2
23189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23190 $as_echo_n "checking for $ac_word... " >&6; }
23191 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23192 $as_echo_n "(cached) " >&6
23194 case $PKG_CONFIG in
23196 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23200 for as_dir
in $PATH
23203 test -z "$as_dir" && as_dir
=.
23204 for ac_exec_ext
in '' $ac_executable_extensions; do
23205 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23206 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23214 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23218 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23219 if test -n "$PKG_CONFIG"; then
23220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23221 $as_echo "$PKG_CONFIG" >&6; }
23223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23224 $as_echo "no" >&6; }
23229 if test x
$PKG_CONFIG != xno
; then
23230 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23233 echo "*** pkg-config too old; version 0.7 or better required."
23241 min_gtk_version
=2.6.0
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23243 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23245 if test x
$PKG_CONFIG != xno
; then
23246 ## don't try to run the test against uninstalled libtool libs
23247 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23248 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23252 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23259 if test x
"$no_gtk" = x
; then
23260 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23261 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23262 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23263 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23264 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23265 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23266 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23267 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23268 if test "x$enable_gtktest" = "xyes" ; then
23269 ac_save_CFLAGS
="$CFLAGS"
23270 ac_save_LIBS
="$LIBS"
23271 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23272 LIBS
="$GTK_LIBS $LIBS"
23274 if test "$cross_compiling" = yes; then :
23275 echo $ac_n "cross compiling; assumed OK... $ac_c"
23277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23278 /* end confdefs.h. */
23280 #include <gtk/gtk.h>
23282 #include <stdlib.h>
23287 int major, minor, micro;
23290 system ("touch conf.gtktest");
23292 /* HP/UX 9 (%@#!) writes to sscanf strings */
23293 tmp_version = g_strdup("$min_gtk_version");
23294 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23295 printf("%s, bad version string\n", "$min_gtk_version");
23299 if ((gtk_major_version != $gtk_config_major_version) ||
23300 (gtk_minor_version != $gtk_config_minor_version) ||
23301 (gtk_micro_version != $gtk_config_micro_version))
23303 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23304 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23305 gtk_major_version, gtk_minor_version, gtk_micro_version);
23306 printf ("*** was found! If pkg-config was correct, then it is best\n");
23307 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23308 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23309 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23310 printf("*** required on your system.\n");
23311 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23312 printf("*** to point to the correct configuration files\n");
23314 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23315 (gtk_minor_version != GTK_MINOR_VERSION) ||
23316 (gtk_micro_version != GTK_MICRO_VERSION))
23318 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23319 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23320 printf("*** library (version %d.%d.%d)\n",
23321 gtk_major_version, gtk_minor_version, gtk_micro_version);
23325 if ((gtk_major_version > major) ||
23326 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23327 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23333 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23334 gtk_major_version, gtk_minor_version, gtk_micro_version);
23335 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23336 major, minor, micro);
23337 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23339 printf("*** If you have already installed a sufficiently new version, this error\n");
23340 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23341 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23342 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23343 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23344 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23345 printf("*** so that the correct libraries are found at run-time))\n");
23352 if ac_fn_c_try_run
"$LINENO"; then :
23357 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23358 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23361 CFLAGS
="$ac_save_CFLAGS"
23362 LIBS
="$ac_save_LIBS"
23365 if test "x$no_gtk" = x
; then
23366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23367 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23371 $as_echo "no" >&6; }
23372 if test "$PKG_CONFIG" = "no" ; then
23373 echo "*** A new enough version of pkg-config was not found."
23374 echo "*** See http://pkgconfig.sourceforge.net"
23376 if test -f conf.gtktest
; then
23379 echo "*** Could not run GTK+ test program, checking why..."
23380 ac_save_CFLAGS
="$CFLAGS"
23381 ac_save_LIBS
="$LIBS"
23382 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23383 LIBS
="$LIBS $GTK_LIBS"
23384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23385 /* end confdefs.h. */
23387 #include <gtk/gtk.h>
23393 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23398 if ac_fn_c_try_link
"$LINENO"; then :
23399 echo "*** The test program compiled, but did not run. This usually means"
23400 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23401 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23402 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23403 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23404 echo "*** is required on your system"
23406 echo "*** If you have an old version installed, it is best to remove it, although"
23407 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23409 echo "*** The test program failed to compile or link. See the file config.log for the"
23410 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23412 rm -f core conftest.err conftest.
$ac_objext \
23413 conftest
$ac_exeext conftest.
$ac_ext
23414 CFLAGS
="$ac_save_CFLAGS"
23415 LIBS
="$ac_save_LIBS"
23427 if test -z "$wx_cv_lib_gtk"; then
23428 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23429 # Check whether --enable-gtktest was given.
23430 if test "${enable_gtktest+set}" = set; then :
23431 enableval
=$enable_gtktest;
23437 pkg_config_args
=gtk
+-3.0
23438 for module
in .
$GTK_MODULES
23442 pkg_config_args
="$pkg_config_args gthread-2.0"
23449 # Extract the first word of "pkg-config", so it can be a program name with args.
23450 set dummy pkg
-config; ac_word
=$2
23451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23452 $as_echo_n "checking for $ac_word... " >&6; }
23453 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23454 $as_echo_n "(cached) " >&6
23456 case $PKG_CONFIG in
23458 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23462 for as_dir
in $PATH
23465 test -z "$as_dir" && as_dir
=.
23466 for ac_exec_ext
in '' $ac_executable_extensions; do
23467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23468 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23476 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23480 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23481 if test -n "$PKG_CONFIG"; then
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23483 $as_echo "$PKG_CONFIG" >&6; }
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23486 $as_echo "no" >&6; }
23491 if test x
$PKG_CONFIG != xno
; then
23492 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23495 echo "*** pkg-config too old; version 0.7 or better required."
23503 min_gtk_version
=3.0.0
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23505 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23507 if test x
$PKG_CONFIG != xno
; then
23508 ## don't try to run the test against uninstalled libtool libs
23509 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23510 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23514 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23521 if test x
"$no_gtk" = x
; then
23522 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23523 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23524 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23526 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23527 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23528 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23529 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23530 if test "x$enable_gtktest" = "xyes" ; then
23531 ac_save_CFLAGS
="$CFLAGS"
23532 ac_save_LIBS
="$LIBS"
23533 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23534 LIBS
="$GTK_LIBS $LIBS"
23536 if test "$cross_compiling" = yes; then :
23537 echo $ac_n "cross compiling; assumed OK... $ac_c"
23539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23540 /* end confdefs.h. */
23542 #include <gtk/gtk.h>
23544 #include <stdlib.h>
23549 int major, minor, micro;
23552 fclose (fopen ("conf.gtktest", "w"));
23554 /* HP/UX 9 (%@#!) writes to sscanf strings */
23555 tmp_version = g_strdup("$min_gtk_version");
23556 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23557 printf("%s, bad version string\n", "$min_gtk_version");
23561 if ((gtk_major_version != $gtk_config_major_version) ||
23562 (gtk_minor_version != $gtk_config_minor_version) ||
23563 (gtk_micro_version != $gtk_config_micro_version))
23565 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23566 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23567 gtk_major_version, gtk_minor_version, gtk_micro_version);
23568 printf ("*** was found! If pkg-config was correct, then it is best\n");
23569 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23570 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23571 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23572 printf("*** required on your system.\n");
23573 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23574 printf("*** to point to the correct configuration files\n");
23576 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23577 (gtk_minor_version != GTK_MINOR_VERSION) ||
23578 (gtk_micro_version != GTK_MICRO_VERSION))
23580 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23581 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23582 printf("*** library (version %d.%d.%d)\n",
23583 gtk_major_version, gtk_minor_version, gtk_micro_version);
23587 if ((gtk_major_version > major) ||
23588 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23589 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23595 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23596 gtk_major_version, gtk_minor_version, gtk_micro_version);
23597 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23598 major, minor, micro);
23599 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23601 printf("*** If you have already installed a sufficiently new version, this error\n");
23602 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23603 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23604 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23605 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23606 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23607 printf("*** so that the correct libraries are found at run-time))\n");
23614 if ac_fn_c_try_run
"$LINENO"; then :
23619 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23620 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23623 CFLAGS
="$ac_save_CFLAGS"
23624 LIBS
="$ac_save_LIBS"
23627 if test "x$no_gtk" = x
; then
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23629 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23633 $as_echo "no" >&6; }
23634 if test "$PKG_CONFIG" = "no" ; then
23635 echo "*** A new enough version of pkg-config was not found."
23636 echo "*** See http://pkgconfig.sourceforge.net"
23638 if test -f conf.gtktest
; then
23641 echo "*** Could not run GTK+ test program, checking why..."
23642 ac_save_CFLAGS
="$CFLAGS"
23643 ac_save_LIBS
="$LIBS"
23644 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23645 LIBS
="$LIBS $GTK_LIBS"
23646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23647 /* end confdefs.h. */
23649 #include <gtk/gtk.h>
23655 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23660 if ac_fn_c_try_link
"$LINENO"; then :
23661 echo "*** The test program compiled, but did not run. This usually means"
23662 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23663 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23664 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23665 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23666 echo "*** is required on your system"
23668 echo "*** If you have an old version installed, it is best to remove it, although"
23669 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23671 echo "*** The test program failed to compile or link. See the file config.log for the"
23672 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23674 rm -f core conftest.err conftest.
$ac_objext \
23675 conftest
$ac_exeext conftest.
$ac_ext
23676 CFLAGS
="$ac_save_CFLAGS"
23677 LIBS
="$ac_save_LIBS"
23692 if test -z "$wx_cv_lib_gtk"; then
23693 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23695 # Check whether --with-gtk-prefix was given.
23696 if test "${with_gtk_prefix+set}" = set; then :
23697 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23699 gtk_config_prefix
=""
23703 # Check whether --with-gtk-exec-prefix was given.
23704 if test "${with_gtk_exec_prefix+set}" = set; then :
23705 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23707 gtk_config_exec_prefix
=""
23710 # Check whether --enable-gtktest was given.
23711 if test "${enable_gtktest+set}" = set; then :
23712 enableval
=$enable_gtktest;
23718 for module
in .
$GTK_MODULES
23722 gtk_config_args
="$gtk_config_args gthread"
23727 if test x
$gtk_config_exec_prefix != x
; then
23728 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23729 if test x
${GTK_CONFIG+set} != xset
; then
23730 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23733 if test x
$gtk_config_prefix != x
; then
23734 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23735 if test x
${GTK_CONFIG+set} != xset
; then
23736 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23740 # Extract the first word of "gtk-config", so it can be a program name with args.
23741 set dummy gtk
-config; ac_word
=$2
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23743 $as_echo_n "checking for $ac_word... " >&6; }
23744 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23745 $as_echo_n "(cached) " >&6
23747 case $GTK_CONFIG in
23749 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23753 for as_dir
in $PATH
23756 test -z "$as_dir" && as_dir
=.
23757 for ac_exec_ext
in '' $ac_executable_extensions; do
23758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23759 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23767 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23771 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23772 if test -n "$GTK_CONFIG"; then
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23774 $as_echo "$GTK_CONFIG" >&6; }
23776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23777 $as_echo "no" >&6; }
23781 min_gtk_version
=1.2.7
23782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23783 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23785 if test "$GTK_CONFIG" = "no" ; then
23788 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23789 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23790 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23791 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23792 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23793 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23794 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23795 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23796 if test "x$enable_gtktest" = "xyes" ; then
23797 ac_save_CFLAGS
="$CFLAGS"
23798 ac_save_LIBS
="$LIBS"
23799 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23800 LIBS
="$GTK_LIBS $LIBS"
23802 if test "$cross_compiling" = yes; then :
23803 echo $ac_n "cross compiling; assumed OK... $ac_c"
23805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23806 /* end confdefs.h. */
23808 #include <gtk/gtk.h>
23810 #include <stdlib.h>
23815 int major, minor, micro;
23818 system ("touch conf.gtktest");
23820 /* HP/UX 9 (%@#!) writes to sscanf strings */
23821 tmp_version = g_strdup("$min_gtk_version");
23822 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23823 printf("%s, bad version string\n", "$min_gtk_version");
23827 if ((gtk_major_version != $gtk_config_major_version) ||
23828 (gtk_minor_version != $gtk_config_minor_version) ||
23829 (gtk_micro_version != $gtk_config_micro_version))
23831 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23832 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23833 gtk_major_version, gtk_minor_version, gtk_micro_version);
23834 printf ("*** was found! If gtk-config was correct, then it is best\n");
23835 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23836 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23837 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23838 printf("*** required on your system.\n");
23839 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23840 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23841 printf("*** before re-running configure\n");
23843 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23844 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23845 (gtk_minor_version != GTK_MINOR_VERSION) ||
23846 (gtk_micro_version != GTK_MICRO_VERSION))
23848 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23849 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23850 printf("*** library (version %d.%d.%d)\n",
23851 gtk_major_version, gtk_minor_version, gtk_micro_version);
23853 #endif /* defined (GTK_MAJOR_VERSION) ... */
23856 if ((gtk_major_version > major) ||
23857 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23858 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23864 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23865 gtk_major_version, gtk_minor_version, gtk_micro_version);
23866 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23867 major, minor, micro);
23868 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23870 printf("*** If you have already installed a sufficiently new version, this error\n");
23871 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23872 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23873 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23874 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23875 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23876 printf("*** so that the correct libraries are found at run-time))\n");
23883 if ac_fn_c_try_run
"$LINENO"; then :
23888 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23889 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23892 CFLAGS
="$ac_save_CFLAGS"
23893 LIBS
="$ac_save_LIBS"
23896 if test "x$no_gtk" = x
; then
23897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23898 $as_echo "yes" >&6; }
23899 wx_cv_lib_gtk
=1.2.7
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23902 $as_echo "no" >&6; }
23903 if test "$GTK_CONFIG" = "no" ; then
23904 echo "*** The gtk-config script installed by GTK could not be found"
23905 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23906 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23907 echo "*** full path to gtk-config."
23909 if test -f conf.gtktest
; then
23912 echo "*** Could not run GTK test program, checking why..."
23913 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23914 LIBS
="$LIBS $GTK_LIBS"
23915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h. */
23918 #include <gtk/gtk.h>
23924 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23929 if ac_fn_c_try_link
"$LINENO"; then :
23930 echo "*** The test program compiled, but did not run. This usually means"
23931 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23932 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23933 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23934 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23935 echo "*** is required on your system"
23937 echo "*** If you have an old version installed, it is best to remove it, although"
23938 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23940 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23941 echo "*** came with the system with the command"
23943 echo "*** rpm --erase --nodeps gtk gtk-devel"
23945 echo "*** The test program failed to compile or link. See the file config.log for the"
23946 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23947 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23948 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23950 rm -f core conftest.err conftest.
$ac_objext \
23951 conftest
$ac_exeext conftest.
$ac_ext
23952 CFLAGS
="$ac_save_CFLAGS"
23953 LIBS
="$ac_save_LIBS"
23965 if test -z "$wx_cv_lib_gtk"; then
23967 # Check whether --with-gtk-prefix was given.
23968 if test "${with_gtk_prefix+set}" = set; then :
23969 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23971 gtk_config_prefix
=""
23975 # Check whether --with-gtk-exec-prefix was given.
23976 if test "${with_gtk_exec_prefix+set}" = set; then :
23977 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23979 gtk_config_exec_prefix
=""
23982 # Check whether --enable-gtktest was given.
23983 if test "${enable_gtktest+set}" = set; then :
23984 enableval
=$enable_gtktest;
23990 for module
in .
$GTK_MODULES
23994 gtk_config_args
="$gtk_config_args gthread"
23999 if test x
$gtk_config_exec_prefix != x
; then
24000 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24001 if test x
${GTK_CONFIG+set} != xset
; then
24002 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24005 if test x
$gtk_config_prefix != x
; then
24006 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24007 if test x
${GTK_CONFIG+set} != xset
; then
24008 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24012 # Extract the first word of "gtk-config", so it can be a program name with args.
24013 set dummy gtk
-config; ac_word
=$2
24014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24015 $as_echo_n "checking for $ac_word... " >&6; }
24016 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
24017 $as_echo_n "(cached) " >&6
24019 case $GTK_CONFIG in
24021 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24025 for as_dir
in $PATH
24028 test -z "$as_dir" && as_dir
=.
24029 for ac_exec_ext
in '' $ac_executable_extensions; do
24030 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24031 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24039 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24043 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24044 if test -n "$GTK_CONFIG"; then
24045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24046 $as_echo "$GTK_CONFIG" >&6; }
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24049 $as_echo "no" >&6; }
24053 min_gtk_version
=1.2.3
24054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24055 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24057 if test "$GTK_CONFIG" = "no" ; then
24060 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24061 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24062 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24063 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24064 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24065 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24066 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24067 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24068 if test "x$enable_gtktest" = "xyes" ; then
24069 ac_save_CFLAGS
="$CFLAGS"
24070 ac_save_LIBS
="$LIBS"
24071 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24072 LIBS
="$GTK_LIBS $LIBS"
24074 if test "$cross_compiling" = yes; then :
24075 echo $ac_n "cross compiling; assumed OK... $ac_c"
24077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24078 /* end confdefs.h. */
24080 #include <gtk/gtk.h>
24082 #include <stdlib.h>
24087 int major, minor, micro;
24090 system ("touch conf.gtktest");
24092 /* HP/UX 9 (%@#!) writes to sscanf strings */
24093 tmp_version = g_strdup("$min_gtk_version");
24094 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24095 printf("%s, bad version string\n", "$min_gtk_version");
24099 if ((gtk_major_version != $gtk_config_major_version) ||
24100 (gtk_minor_version != $gtk_config_minor_version) ||
24101 (gtk_micro_version != $gtk_config_micro_version))
24103 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24104 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24105 gtk_major_version, gtk_minor_version, gtk_micro_version);
24106 printf ("*** was found! If gtk-config was correct, then it is best\n");
24107 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24108 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24109 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24110 printf("*** required on your system.\n");
24111 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24112 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24113 printf("*** before re-running configure\n");
24115 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24116 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24117 (gtk_minor_version != GTK_MINOR_VERSION) ||
24118 (gtk_micro_version != GTK_MICRO_VERSION))
24120 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24121 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24122 printf("*** library (version %d.%d.%d)\n",
24123 gtk_major_version, gtk_minor_version, gtk_micro_version);
24125 #endif /* defined (GTK_MAJOR_VERSION) ... */
24128 if ((gtk_major_version > major) ||
24129 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24130 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24136 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24137 gtk_major_version, gtk_minor_version, gtk_micro_version);
24138 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24139 major, minor, micro);
24140 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24142 printf("*** If you have already installed a sufficiently new version, this error\n");
24143 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24144 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24145 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24146 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24147 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24148 printf("*** so that the correct libraries are found at run-time))\n");
24155 if ac_fn_c_try_run
"$LINENO"; then :
24160 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24161 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24164 CFLAGS
="$ac_save_CFLAGS"
24165 LIBS
="$ac_save_LIBS"
24168 if test "x$no_gtk" = x
; then
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24170 $as_echo "yes" >&6; }
24171 wx_cv_lib_gtk
=1.2.3
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24174 $as_echo "no" >&6; }
24175 if test "$GTK_CONFIG" = "no" ; then
24176 echo "*** The gtk-config script installed by GTK could not be found"
24177 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24178 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24179 echo "*** full path to gtk-config."
24181 if test -f conf.gtktest
; then
24184 echo "*** Could not run GTK test program, checking why..."
24185 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24186 LIBS
="$LIBS $GTK_LIBS"
24187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24188 /* end confdefs.h. */
24190 #include <gtk/gtk.h>
24196 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24201 if ac_fn_c_try_link
"$LINENO"; then :
24202 echo "*** The test program compiled, but did not run. This usually means"
24203 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24204 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24205 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24206 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24207 echo "*** is required on your system"
24209 echo "*** If you have an old version installed, it is best to remove it, although"
24210 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24212 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24213 echo "*** came with the system with the command"
24215 echo "*** rpm --erase --nodeps gtk gtk-devel"
24217 echo "*** The test program failed to compile or link. See the file config.log for the"
24218 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24219 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24220 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24222 rm -f core conftest.err conftest.
$ac_objext \
24223 conftest
$ac_exeext conftest.
$ac_ext
24224 CFLAGS
="$ac_save_CFLAGS"
24225 LIBS
="$ac_save_LIBS"
24240 if test -z "$wx_cv_lib_gtk"; then
24243 GTK_LIBS
="$GTK_LIBS -lX11"
24245 wx_cv_cflags_gtk
=$GTK_CFLAGS
24246 wx_cv_libs_gtk
=$GTK_LIBS
24253 if test "$gtk_version_cached" = 1; then
24254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24255 $as_echo "$wx_cv_lib_gtk" >&6; }
24258 case "$wx_cv_lib_gtk" in
24269 *) as_fn_error $?
"
24270 The development files for GTK+ were not found. For GTK+ 2, please
24271 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24272 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24273 and that the version is 1.2.3 or above. Also check that the
24274 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24275 --libs' are in the LD_LIBRARY_PATH or equivalent.
24280 if test "$WXGTK3" = 1; then
24281 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24283 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24285 elif test "$WXGTK2" = 1; then
24286 save_CFLAGS
="$CFLAGS"
24288 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24289 LIBS
="$LIBS $wx_cv_libs_gtk"
24291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24292 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24294 /* end confdefs.h. */
24296 #include <gtk/gtk.h>
24302 #if !GTK_CHECK_VERSION(2,18,0)
24310 if ac_fn_c_try_compile
"$LINENO"; then :
24312 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24314 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24317 $as_echo "yes" >&6; }
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24323 $as_echo "no" >&6; }
24327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24329 if test "$ac_wxgtk218" = 0; then
24330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24331 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24333 /* end confdefs.h. */
24335 #include <gtk/gtk.h>
24341 #if !GTK_CHECK_VERSION(2,10,0)
24349 if ac_fn_c_try_compile
"$LINENO"; then :
24351 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24354 $as_echo "yes" >&6; }
24359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24360 $as_echo "no" >&6; }
24364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24367 CFLAGS
="$save_CFLAGS"
24370 if test "$wxUSE_UNICODE" = "yes"; then
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24372 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24377 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24378 if ${ac_cv_lib_gdk_gdk_im_open+:} false
; then :
24379 $as_echo_n "(cached) " >&6
24381 ac_check_lib_save_LIBS
=$LIBS
24383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24384 /* end confdefs.h. */
24386 /* Override any GCC internal prototype to avoid an error.
24387 Use char because int might match the return type of a GCC
24388 builtin and then its argument prototype would still apply. */
24392 char gdk_im_open ();
24396 return gdk_im_open ();
24401 if ac_fn_c_try_link
"$LINENO"; then :
24402 ac_cv_lib_gdk_gdk_im_open
=yes
24404 ac_cv_lib_gdk_gdk_im_open
=no
24406 rm -f core conftest.err conftest.
$ac_objext \
24407 conftest
$ac_exeext conftest.
$ac_ext
24408 LIBS
=$ac_check_lib_save_LIBS
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24411 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24412 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes
; then :
24413 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24418 if test "$USE_DARWIN" != 1; then
24419 for ac_func
in poll
24421 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24422 if test "x$ac_cv_func_poll" = xyes
; then :
24423 cat >>confdefs.h
<<_ACEOF
24424 #define HAVE_POLL 1
24433 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24434 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24435 AFMINSTALL
=afminstall
24439 if test "$wxUSE_GPE" = "yes"; then
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24441 $as_echo_n "checking for gpewidget library... " >&6; }
24444 for ac_dir
in $SEARCH_LIB
24446 for ac_extension
in a so sl dylib dll.a
; do
24447 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24448 ac_find_libraries
=$ac_dir
24454 if test "$ac_find_libraries" != "" ; then
24456 if test "$ac_find_libraries" = "default location"; then
24459 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24461 if test $result = 0; then
24464 ac_path_to_link
=" -L$ac_find_libraries"
24468 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24471 $as_echo "found in $ac_find_libraries" >&6; }
24473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24474 $as_echo "not found" >&6; }
24480 if test "$wxUSE_DFB" = 1; then
24483 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24484 if test -n "$ac_tool_prefix"; then
24485 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24486 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24488 $as_echo_n "checking for $ac_word... " >&6; }
24489 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
24490 $as_echo_n "(cached) " >&6
24492 case $PKG_CONFIG in
24494 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24498 for as_dir
in $PATH
24501 test -z "$as_dir" && as_dir
=.
24502 for ac_exec_ext
in '' $ac_executable_extensions; do
24503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24504 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24515 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24516 if test -n "$PKG_CONFIG"; then
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24518 $as_echo "$PKG_CONFIG" >&6; }
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24521 $as_echo "no" >&6; }
24526 if test -z "$ac_cv_path_PKG_CONFIG"; then
24527 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24528 # Extract the first word of "pkg-config", so it can be a program name with args.
24529 set dummy pkg
-config; ac_word
=$2
24530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24531 $as_echo_n "checking for $ac_word... " >&6; }
24532 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
24533 $as_echo_n "(cached) " >&6
24535 case $ac_pt_PKG_CONFIG in
24537 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24541 for as_dir
in $PATH
24544 test -z "$as_dir" && as_dir
=.
24545 for ac_exec_ext
in '' $ac_executable_extensions; do
24546 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24547 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24558 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24559 if test -n "$ac_pt_PKG_CONFIG"; then
24560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24561 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24564 $as_echo "no" >&6; }
24567 if test "x$ac_pt_PKG_CONFIG" = x
; then
24570 case $cross_compiling:$ac_tool_warned in
24572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24574 ac_tool_warned
=yes ;;
24576 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24579 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24583 if test -n "$PKG_CONFIG"; then
24584 _pkg_min_version
=0.9.0
24585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24586 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24587 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24589 $as_echo "yes" >&6; }
24591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24592 $as_echo "no" >&6; }
24600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24601 $as_echo_n "checking for DIRECTFB... " >&6; }
24603 if test -n "$PKG_CONFIG"; then
24604 if test -n "$DIRECTFB_CFLAGS"; then
24605 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24607 if test -n "$PKG_CONFIG" && \
24608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24609 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24612 test $ac_status = 0; }; then
24613 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24621 if test -n "$PKG_CONFIG"; then
24622 if test -n "$DIRECTFB_LIBS"; then
24623 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24625 if test -n "$PKG_CONFIG" && \
24626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24627 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24630 test $ac_status = 0; }; then
24631 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24642 if test $pkg_failed = yes; then
24644 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24645 _pkg_short_errors_supported
=yes
24647 _pkg_short_errors_supported
=no
24649 if test $_pkg_short_errors_supported = yes; then
24650 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24652 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24654 # Put the nasty error message in config.log where it belongs
24655 echo "$DIRECTFB_PKG_ERRORS" >&5
24658 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24661 elif test $pkg_failed = untried
; then
24663 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24667 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24668 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24670 $as_echo "yes" >&6; }
24672 wxUSE_UNIVERSAL
="yes"
24673 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24674 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24681 if test "$wxUSE_MICROWIN" = 1; then
24682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24683 $as_echo_n "checking for MicroWindows... " >&6; }
24684 if test "x$MICROWINDOWS" = x
; then
24685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24686 $as_echo "not found" >&6; }
24687 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24690 $as_echo "$MICROWINDOWS" >&6; }
24693 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24695 $as_echo "MicroWindows' libraries found." >&6; }
24697 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24700 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24701 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24703 wxUSE_UNIVERSAL
="yes"
24705 AFMINSTALL
=afminstall
24707 GUIDIST
=MICROWIN_DIST
24709 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24712 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24714 $as_echo_n "checking for X... " >&6; }
24717 # Check whether --with-x was given.
24718 if test "${with_x+set}" = set; then :
24722 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24723 if test "x$with_x" = xno
; then
24724 # The user explicitly disabled X.
24727 case $x_includes,$x_libraries in #(
24728 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
24729 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
24730 $as_echo_n "(cached) " >&6
24732 # One or both of the vars are not set, and there is no cached value.
24733 ac_x_includes
=no ac_x_libraries
=no
24734 rm -f -r conftest.dir
24735 if mkdir conftest.dir
; then
24737 cat >Imakefile
<<'_ACEOF'
24739 @echo incroot='${INCROOT}'
24741 @echo usrlibdir='${USRLIBDIR}'
24743 @echo libdir='${LIBDIR}'
24745 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24746 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24747 for ac_var
in incroot usrlibdir libdir
; do
24748 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24750 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24751 for ac_extension
in a so sl dylib la dll
; do
24752 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24753 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24754 ac_im_usrlibdir
=$ac_im_libdir; break
24757 # Screen out bogus values from the imake configuration. They are
24758 # bogus both because they are the default anyway, and because
24759 # using them would break gcc on systems where it needs fixed includes.
24760 case $ac_im_incroot in
24761 /usr
/include
) ac_x_includes
= ;;
24762 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24764 case $ac_im_usrlibdir in
24765 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24766 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24770 rm -f -r conftest.dir
24773 # Standard set of common directories for X headers.
24774 # Check X11 before X11Rn because it is often a symlink to the current release.
24788 /usr/local/X11/include
24789 /usr/local/X11R7/include
24790 /usr/local/X11R6/include
24791 /usr/local/X11R5/include
24792 /usr/local/X11R4/include
24794 /usr/local/include/X11
24795 /usr/local/include/X11R7
24796 /usr/local/include/X11R6
24797 /usr/local/include/X11R5
24798 /usr/local/include/X11R4
24802 /usr/XFree86/include/X11
24806 /usr/unsupported/include
24807 /usr/athena/include
24808 /usr/local/x11r5/include
24809 /usr/lpp/Xamples/include
24811 /usr/openwin/include
24812 /usr/openwin/share/include'
24814 if test "$ac_x_includes" = no
; then
24815 # Guess where to find include files, by looking for Xlib.h.
24816 # First, try using that file with no special directory specified.
24817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24818 /* end confdefs.h. */
24819 #include <X11/Xlib.h>
24821 if ac_fn_c_try_cpp
"$LINENO"; then :
24822 # We can compile using X headers with no special include directory.
24825 for ac_dir
in $ac_x_header_dirs; do
24826 if test -r "$ac_dir/X11/Xlib.h"; then
24827 ac_x_includes
=$ac_dir
24832 rm -f conftest.err conftest.i conftest.
$ac_ext
24833 fi # $ac_x_includes = no
24835 if test "$ac_x_libraries" = no
; then
24836 # Check for the libraries.
24837 # See if we find them without any special options.
24838 # Don't add to $LIBS permanently.
24841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24842 /* end confdefs.h. */
24843 #include <X11/Xlib.h>
24852 if ac_fn_c_try_link
"$LINENO"; then :
24854 # We can link X programs with no special library path.
24858 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24860 # Don't even attempt the hair of trying to link an X program!
24861 for ac_extension
in a so sl dylib la dll
; do
24862 if test -r "$ac_dir/libX11.$ac_extension"; then
24863 ac_x_libraries
=$ac_dir
24869 rm -f core conftest.err conftest.
$ac_objext \
24870 conftest
$ac_exeext conftest.
$ac_ext
24871 fi # $ac_x_libraries = no
24873 case $ac_x_includes,$ac_x_libraries in #(
24874 no
,* | *,no
| *\'*)
24875 # Didn't find X, or a directory has "'" in its name.
24876 ac_cv_have_x
="have_x=no";; #(
24878 # Record where we found X for the cache.
24879 ac_cv_have_x
="have_x=yes\
24880 ac_x_includes='$ac_x_includes'\
24881 ac_x_libraries='$ac_x_libraries'"
24887 eval "$ac_cv_have_x"
24890 if test "$have_x" != yes; then
24891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24892 $as_echo "$have_x" >&6; }
24895 # If each of the values was on the command line, it overrides each guess.
24896 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24897 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24898 # Update the cache value to reflect the command line values.
24899 ac_cv_have_x
="have_x=yes\
24900 ac_x_includes='$x_includes'\
24901 ac_x_libraries='$x_libraries'"
24902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24903 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24906 if test "$no_x" = yes; then
24907 # Not all programs may use this symbol, but it does not hurt to define it.
24909 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24911 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24913 if test -n "$x_includes"; then
24914 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24917 # It would also be nice to do this for all -L options, not just this one.
24918 if test -n "$x_libraries"; then
24919 X_LIBS
="$X_LIBS -L$x_libraries"
24920 # For Solaris; some versions of Sun CC require a space after -R and
24921 # others require no space. Words are not sufficient . . . .
24922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24923 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24924 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24925 ac_xsave_c_werror_flag
=$ac_c_werror_flag
24926 ac_c_werror_flag
=yes
24927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24928 /* end confdefs.h. */
24938 if ac_fn_c_try_link
"$LINENO"; then :
24939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24940 $as_echo "no" >&6; }
24941 X_LIBS
="$X_LIBS -R$x_libraries"
24943 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24945 /* end confdefs.h. */
24955 if ac_fn_c_try_link
"$LINENO"; then :
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24957 $as_echo "yes" >&6; }
24958 X_LIBS
="$X_LIBS -R $x_libraries"
24960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24961 $as_echo "neither works" >&6; }
24963 rm -f core conftest.err conftest.
$ac_objext \
24964 conftest
$ac_exeext conftest.
$ac_ext
24966 rm -f core conftest.err conftest.
$ac_objext \
24967 conftest
$ac_exeext conftest.
$ac_ext
24968 ac_c_werror_flag
=$ac_xsave_c_werror_flag
24969 LIBS
=$ac_xsave_LIBS
24972 # Check for system-dependent libraries X programs must link with.
24973 # Do this before checking for the system-independent R6 libraries
24974 # (-lICE), since we may need -lsocket or whatever for X linking.
24976 if test "$ISC" = yes; then
24977 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24979 # Martyn Johnson says this is needed for Ultrix, if the X
24980 # libraries were built with DECnet support. And Karl Berry says
24981 # the Alpha needs dnet_stub (dnet does not exist).
24982 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24984 /* end confdefs.h. */
24986 /* Override any GCC internal prototype to avoid an error.
24987 Use char because int might match the return type of a GCC
24988 builtin and then its argument prototype would still apply. */
24992 char XOpenDisplay ();
24996 return XOpenDisplay ();
25001 if ac_fn_c_try_link
"$LINENO"; then :
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25005 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25006 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
25007 $as_echo_n "(cached) " >&6
25009 ac_check_lib_save_LIBS
=$LIBS
25010 LIBS
="-ldnet $LIBS"
25011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25012 /* end confdefs.h. */
25014 /* Override any GCC internal prototype to avoid an error.
25015 Use char because int might match the return type of a GCC
25016 builtin and then its argument prototype would still apply. */
25024 return dnet_ntoa ();
25029 if ac_fn_c_try_link
"$LINENO"; then :
25030 ac_cv_lib_dnet_dnet_ntoa
=yes
25032 ac_cv_lib_dnet_dnet_ntoa
=no
25034 rm -f core conftest.err conftest.
$ac_objext \
25035 conftest
$ac_exeext conftest.
$ac_ext
25036 LIBS
=$ac_check_lib_save_LIBS
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25039 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25040 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
25041 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25044 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25046 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25047 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
25048 $as_echo_n "(cached) " >&6
25050 ac_check_lib_save_LIBS
=$LIBS
25051 LIBS
="-ldnet_stub $LIBS"
25052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25053 /* end confdefs.h. */
25055 /* Override any GCC internal prototype to avoid an error.
25056 Use char because int might match the return type of a GCC
25057 builtin and then its argument prototype would still apply. */
25065 return dnet_ntoa ();
25070 if ac_fn_c_try_link
"$LINENO"; then :
25071 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25073 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25075 rm -f core conftest.err conftest.
$ac_objext \
25076 conftest
$ac_exeext conftest.
$ac_ext
25077 LIBS
=$ac_check_lib_save_LIBS
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25080 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25081 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
25082 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25087 rm -f core conftest.err conftest.
$ac_objext \
25088 conftest
$ac_exeext conftest.
$ac_ext
25089 LIBS
="$ac_xsave_LIBS"
25091 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25092 # to get the SysV transport functions.
25093 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25095 # The nsl library prevents programs from opening the X display
25096 # on Irix 5.2, according to T.E. Dickey.
25097 # The functions gethostbyname, getservbyname, and inet_addr are
25098 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25099 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25100 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
25104 if test $ac_cv_func_gethostbyname = no
; then
25105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25106 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25107 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
25108 $as_echo_n "(cached) " >&6
25110 ac_check_lib_save_LIBS
=$LIBS
25112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25113 /* end confdefs.h. */
25115 /* Override any GCC internal prototype to avoid an error.
25116 Use char because int might match the return type of a GCC
25117 builtin and then its argument prototype would still apply. */
25121 char gethostbyname ();
25125 return gethostbyname ();
25130 if ac_fn_c_try_link
"$LINENO"; then :
25131 ac_cv_lib_nsl_gethostbyname
=yes
25133 ac_cv_lib_nsl_gethostbyname
=no
25135 rm -f core conftest.err conftest.
$ac_objext \
25136 conftest
$ac_exeext conftest.
$ac_ext
25137 LIBS
=$ac_check_lib_save_LIBS
25139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25140 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25141 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
25142 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25145 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25147 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25148 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
25149 $as_echo_n "(cached) " >&6
25151 ac_check_lib_save_LIBS
=$LIBS
25153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25154 /* end confdefs.h. */
25156 /* Override any GCC internal prototype to avoid an error.
25157 Use char because int might match the return type of a GCC
25158 builtin and then its argument prototype would still apply. */
25162 char gethostbyname ();
25166 return gethostbyname ();
25171 if ac_fn_c_try_link
"$LINENO"; then :
25172 ac_cv_lib_bsd_gethostbyname
=yes
25174 ac_cv_lib_bsd_gethostbyname
=no
25176 rm -f core conftest.err conftest.
$ac_objext \
25177 conftest
$ac_exeext conftest.
$ac_ext
25178 LIBS
=$ac_check_lib_save_LIBS
25180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25181 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25182 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
25183 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25189 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25190 # socket/setsockopt and other routines are undefined under SCO ODT
25191 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25192 # on later versions), says Simon Leinen: it contains gethostby*
25193 # variants that don't use the name server (or something). -lsocket
25194 # must be given before -lnsl if both are needed. We assume that
25195 # if connect needs -lnsl, so does gethostbyname.
25196 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25197 if test "x$ac_cv_func_connect" = xyes
; then :
25201 if test $ac_cv_func_connect = no
; then
25202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25203 $as_echo_n "checking for connect in -lsocket... " >&6; }
25204 if ${ac_cv_lib_socket_connect+:} false
; then :
25205 $as_echo_n "(cached) " >&6
25207 ac_check_lib_save_LIBS
=$LIBS
25208 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25210 /* end confdefs.h. */
25212 /* Override any GCC internal prototype to avoid an error.
25213 Use char because int might match the return type of a GCC
25214 builtin and then its argument prototype would still apply. */
25227 if ac_fn_c_try_link
"$LINENO"; then :
25228 ac_cv_lib_socket_connect
=yes
25230 ac_cv_lib_socket_connect
=no
25232 rm -f core conftest.err conftest.
$ac_objext \
25233 conftest
$ac_exeext conftest.
$ac_ext
25234 LIBS
=$ac_check_lib_save_LIBS
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25237 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25238 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
25239 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25244 # Guillermo Gomez says -lposix is necessary on A/UX.
25245 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25246 if test "x$ac_cv_func_remove" = xyes
; then :
25250 if test $ac_cv_func_remove = no
; then
25251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25252 $as_echo_n "checking for remove in -lposix... " >&6; }
25253 if ${ac_cv_lib_posix_remove+:} false
; then :
25254 $as_echo_n "(cached) " >&6
25256 ac_check_lib_save_LIBS
=$LIBS
25257 LIBS
="-lposix $LIBS"
25258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25259 /* end confdefs.h. */
25261 /* Override any GCC internal prototype to avoid an error.
25262 Use char because int might match the return type of a GCC
25263 builtin and then its argument prototype would still apply. */
25276 if ac_fn_c_try_link
"$LINENO"; then :
25277 ac_cv_lib_posix_remove
=yes
25279 ac_cv_lib_posix_remove
=no
25281 rm -f core conftest.err conftest.
$ac_objext \
25282 conftest
$ac_exeext conftest.
$ac_ext
25283 LIBS
=$ac_check_lib_save_LIBS
25285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25286 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25287 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
25288 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25293 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25294 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25295 if test "x$ac_cv_func_shmat" = xyes
; then :
25299 if test $ac_cv_func_shmat = no
; then
25300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25301 $as_echo_n "checking for shmat in -lipc... " >&6; }
25302 if ${ac_cv_lib_ipc_shmat+:} false
; then :
25303 $as_echo_n "(cached) " >&6
25305 ac_check_lib_save_LIBS
=$LIBS
25307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25308 /* end confdefs.h. */
25310 /* Override any GCC internal prototype to avoid an error.
25311 Use char because int might match the return type of a GCC
25312 builtin and then its argument prototype would still apply. */
25325 if ac_fn_c_try_link
"$LINENO"; then :
25326 ac_cv_lib_ipc_shmat
=yes
25328 ac_cv_lib_ipc_shmat
=no
25330 rm -f core conftest.err conftest.
$ac_objext \
25331 conftest
$ac_exeext conftest.
$ac_ext
25332 LIBS
=$ac_check_lib_save_LIBS
25334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25335 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25336 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
25337 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25343 # Check for libraries that X11R6 Xt/Xaw programs need.
25344 ac_save_LDFLAGS
=$LDFLAGS
25345 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25346 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25347 # check for ICE first), but we must link in the order -lSM -lICE or
25348 # we get undefined symbols. So assume we have SM if we have ICE.
25349 # These have to be linked with before -lX11, unlike the other
25350 # libraries we check for below, so use a different variable.
25351 # John Interrante, Karl Berry
25352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25353 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25354 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
25355 $as_echo_n "(cached) " >&6
25357 ac_check_lib_save_LIBS
=$LIBS
25358 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25360 /* end confdefs.h. */
25362 /* Override any GCC internal prototype to avoid an error.
25363 Use char because int might match the return type of a GCC
25364 builtin and then its argument prototype would still apply. */
25368 char IceConnectionNumber ();
25372 return IceConnectionNumber ();
25377 if ac_fn_c_try_link
"$LINENO"; then :
25378 ac_cv_lib_ICE_IceConnectionNumber
=yes
25380 ac_cv_lib_ICE_IceConnectionNumber
=no
25382 rm -f core conftest.err conftest.
$ac_objext \
25383 conftest
$ac_exeext conftest.
$ac_ext
25384 LIBS
=$ac_check_lib_save_LIBS
25386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25387 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25388 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
25389 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25392 LDFLAGS
=$ac_save_LDFLAGS
25397 if test "$no_x" = "yes"; then
25398 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25401 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25402 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25403 AFMINSTALL
=afminstall
25404 COMPILED_X_PROGRAM
=0
25408 if test "$wxUSE_X11" = 1; then
25409 if test "$wxUSE_NANOX" = "yes"; then
25410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25411 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25412 if test "x$MICROWIN" = x
; then
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25414 $as_echo "not found" >&6; }
25415 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25418 $as_echo "$MICROWIN" >&6; }
25419 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25424 if test "$wxUSE_UNICODE" = "yes"; then
25427 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25428 if test -n "$ac_tool_prefix"; then
25429 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25430 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25432 $as_echo_n "checking for $ac_word... " >&6; }
25433 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
25434 $as_echo_n "(cached) " >&6
25436 case $PKG_CONFIG in
25438 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25442 for as_dir
in $PATH
25445 test -z "$as_dir" && as_dir
=.
25446 for ac_exec_ext
in '' $ac_executable_extensions; do
25447 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25448 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25459 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25460 if test -n "$PKG_CONFIG"; then
25461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25462 $as_echo "$PKG_CONFIG" >&6; }
25464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25465 $as_echo "no" >&6; }
25470 if test -z "$ac_cv_path_PKG_CONFIG"; then
25471 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25472 # Extract the first word of "pkg-config", so it can be a program name with args.
25473 set dummy pkg
-config; ac_word
=$2
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25475 $as_echo_n "checking for $ac_word... " >&6; }
25476 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
25477 $as_echo_n "(cached) " >&6
25479 case $ac_pt_PKG_CONFIG in
25481 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25485 for as_dir
in $PATH
25488 test -z "$as_dir" && as_dir
=.
25489 for ac_exec_ext
in '' $ac_executable_extensions; do
25490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25491 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25502 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25503 if test -n "$ac_pt_PKG_CONFIG"; then
25504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25505 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25508 $as_echo "no" >&6; }
25511 if test "x$ac_pt_PKG_CONFIG" = x
; then
25514 case $cross_compiling:$ac_tool_warned in
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25518 ac_tool_warned
=yes ;;
25520 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25523 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25527 if test -n "$PKG_CONFIG"; then
25528 _pkg_min_version
=0.9.0
25529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25530 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25531 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25533 $as_echo "yes" >&6; }
25535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25536 $as_echo "no" >&6; }
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25545 $as_echo_n "checking for PANGOX... " >&6; }
25547 if test -n "$PKG_CONFIG"; then
25548 if test -n "$PANGOX_CFLAGS"; then
25549 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25551 if test -n "$PKG_CONFIG" && \
25552 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25553 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25556 test $ac_status = 0; }; then
25557 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25565 if test -n "$PKG_CONFIG"; then
25566 if test -n "$PANGOX_LIBS"; then
25567 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25569 if test -n "$PKG_CONFIG" && \
25570 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25571 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25574 test $ac_status = 0; }; then
25575 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25586 if test $pkg_failed = yes; then
25588 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25589 _pkg_short_errors_supported
=yes
25591 _pkg_short_errors_supported
=no
25593 if test $_pkg_short_errors_supported = yes; then
25594 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25596 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25598 # Put the nasty error message in config.log where it belongs
25599 echo "$PANGOX_PKG_ERRORS" >&5
25602 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25605 elif test $pkg_failed = untried
; then
25607 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25611 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25612 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25614 $as_echo "yes" >&6; }
25616 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25617 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25618 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25624 $as_echo_n "checking for PANGOFT2... " >&6; }
25626 if test -n "$PKG_CONFIG"; then
25627 if test -n "$PANGOFT2_CFLAGS"; then
25628 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25630 if test -n "$PKG_CONFIG" && \
25631 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25632 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25635 test $ac_status = 0; }; then
25636 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25644 if test -n "$PKG_CONFIG"; then
25645 if test -n "$PANGOFT2_LIBS"; then
25646 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25648 if test -n "$PKG_CONFIG" && \
25649 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25650 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25653 test $ac_status = 0; }; then
25654 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25665 if test $pkg_failed = yes; then
25667 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25668 _pkg_short_errors_supported
=yes
25670 _pkg_short_errors_supported
=no
25672 if test $_pkg_short_errors_supported = yes; then
25673 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25675 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25677 # Put the nasty error message in config.log where it belongs
25678 echo "$PANGOFT2_PKG_ERRORS" >&5
25681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25682 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25683 wxUSE_PRINTING_ARCHITECTURE
="no"
25686 elif test $pkg_failed = untried
; then
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25689 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25690 wxUSE_PRINTING_ARCHITECTURE
="no"
25694 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25695 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25697 $as_echo "yes" >&6; }
25699 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25700 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25701 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25707 $as_echo_n "checking for PANGOXFT... " >&6; }
25709 if test -n "$PKG_CONFIG"; then
25710 if test -n "$PANGOXFT_CFLAGS"; then
25711 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25713 if test -n "$PKG_CONFIG" && \
25714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25715 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25718 test $ac_status = 0; }; then
25719 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25727 if test -n "$PKG_CONFIG"; then
25728 if test -n "$PANGOXFT_LIBS"; then
25729 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25731 if test -n "$PKG_CONFIG" && \
25732 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25733 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25736 test $ac_status = 0; }; then
25737 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25748 if test $pkg_failed = yes; then
25750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25751 _pkg_short_errors_supported
=yes
25753 _pkg_short_errors_supported
=no
25755 if test $_pkg_short_errors_supported = yes; then
25756 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25758 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25760 # Put the nasty error message in config.log where it belongs
25761 echo "$PANGOXFT_PKG_ERRORS" >&5
25764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25765 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25768 elif test $pkg_failed = untried
; then
25770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25771 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25775 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25776 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25778 $as_echo "yes" >&6; }
25780 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25782 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25783 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25784 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25788 LIBS
="$LIBS $PANGOX_LIBS"
25789 for ac_func
in pango_font_family_is_monospace
25791 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25792 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes
; then :
25793 cat >>confdefs.h
<<_ACEOF
25794 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25803 wxUSE_UNIVERSAL
="yes"
25805 if test "$wxUSE_NANOX" = "yes"; then
25806 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25807 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"
25808 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25810 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25817 if test "$wxUSE_MOTIF" = 1; then
25818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25819 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25822 for ac_dir
in $SEARCH_INCLUDE /usr
/include
25824 if test -f "$ac_dir/Xm/Xm.h"; then
25825 ac_find_includes
=$ac_dir
25830 if test "$ac_find_includes" != "" ; then
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25832 $as_echo "found in $ac_find_includes" >&6; }
25834 if test "x$ac_find_includes" = "x/usr/include"; then
25835 ac_path_to_include
=""
25837 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25839 if test $result = 0; then
25840 ac_path_to_include
=""
25842 ac_path_to_include
=" -I$ac_find_includes"
25846 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25848 save_CFLAGS
=$CFLAGS
25849 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25852 /* end confdefs.h. */
25861 version = xmUseVersion;
25867 if ac_fn_c_try_compile
"$LINENO"; then :
25869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25870 $as_echo "found in default search path" >&6; }
25871 COMPILED_X_PROGRAM
=1
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25876 $as_echo "no" >&6; }
25877 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25883 CFLAGS
=$save_CFLAGS
25887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25888 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25891 for ac_dir
in $SEARCH_LIB
25893 for ac_extension
in a so sl dylib dll.a
; do
25894 if test -f "$ac_dir/libXm.$ac_extension"; then
25895 ac_find_libraries
=$ac_dir
25902 if test "x$ac_find_libraries" != "x" ; then
25903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25904 $as_echo "found in $ac_find_libraries" >&6; }
25907 if test "$ac_find_libraries" = "default location"; then
25910 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25912 if test $result = 0; then
25915 ac_path_to_link
=" -L$ac_find_libraries"
25919 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25921 save_CFLAGS
=$CFLAGS
25922 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25924 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25927 /* end confdefs.h. */
25936 version = xmUseVersion;
25942 if ac_fn_c_try_link
"$LINENO"; then :
25944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25945 $as_echo "found in default search path" >&6; }
25946 COMPILED_X_PROGRAM
=1
25950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25951 $as_echo "no" >&6; }
25952 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25956 rm -f core conftest.err conftest.
$ac_objext \
25957 conftest
$ac_exeext conftest.
$ac_ext
25959 CFLAGS
=$save_CFLAGS
25963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25964 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25968 for libp
in "" " -lXp"; do
25969 if test "$libs_found" = 0; then
25970 for libsm_ice
in "" " -lSM -lICE"; do
25971 if test "$libs_found" = 0; then
25973 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25974 save_CFLAGS
=$CFLAGS
25975 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25978 /* end confdefs.h. */
25981 #include <Xm/List.h>
25987 XmString string = NULL;
25990 XmListAddItem(w, string, position);
25996 if ac_fn_c_try_link
"$LINENO"; then :
25999 libsm_ice_link
="$libsm_ice"
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26001 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26005 rm -f core conftest.err conftest.
$ac_objext \
26006 conftest
$ac_exeext conftest.
$ac_ext
26009 CFLAGS
=$save_CFLAGS
26015 if test "$libs_found" = 0; then
26016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26017 $as_echo "can't find the right libraries" >&6; }
26018 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
26021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26022 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26023 if ${ac_cv_lib_Sgm_SgCreateList+:} false
; then :
26024 $as_echo_n "(cached) " >&6
26026 ac_check_lib_save_LIBS
=$LIBS
26028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26029 /* end confdefs.h. */
26031 /* Override any GCC internal prototype to avoid an error.
26032 Use char because int might match the return type of a GCC
26033 builtin and then its argument prototype would still apply. */
26037 char SgCreateList ();
26041 return SgCreateList ();
26046 if ac_fn_c_try_link
"$LINENO"; then :
26047 ac_cv_lib_Sgm_SgCreateList
=yes
26049 ac_cv_lib_Sgm_SgCreateList
=no
26051 rm -f core conftest.err conftest.
$ac_objext \
26052 conftest
$ac_exeext conftest.
$ac_ext
26053 LIBS
=$ac_check_lib_save_LIBS
26055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26056 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26057 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes
; then :
26058 libsgm_link
=" -lSgm"
26062 save_CFLAGS
=$CFLAGS
26063 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26066 $as_echo_n "checking for Motif 2... " >&6; }
26067 if ${wx_cv_lib_motif2+:} false
; then :
26068 $as_echo_n "(cached) " >&6
26070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26071 /* end confdefs.h. */
26079 #if XmVersion < 2000
26087 if ac_fn_c_try_compile
"$LINENO"; then :
26088 wx_cv_lib_motif2
="yes"
26090 wx_cv_lib_motif2
="no"
26092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26095 $as_echo "$wx_cv_lib_motif2" >&6; }
26096 if test "$wx_cv_lib_motif2" = "yes"; then
26097 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26100 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26105 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26106 if ${wx_cv_lib_lesstif+:} false
; then :
26107 $as_echo_n "(cached) " >&6
26109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26110 /* end confdefs.h. */
26118 #if !defined(LesstifVersion) || LesstifVersion <= 0
26126 if ac_fn_c_try_compile
"$LINENO"; then :
26127 wx_cv_lib_lesstif
="yes"
26129 wx_cv_lib_lesstif
="no"
26131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26135 $as_echo "$wx_cv_lib_lesstif" >&6; }
26136 if test "$wx_cv_lib_lesstif" = "yes"; then
26137 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26140 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26144 CFLAGS
=$save_CFLAGS
26146 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26151 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26152 if test "$wxUSE_LIBXPM" = "sys"; then
26153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26154 $as_echo_n "checking for Xpm library... " >&6; }
26157 for ac_dir
in $SEARCH_LIB
26159 for ac_extension
in a so sl dylib dll.a
; do
26160 if test -f "$ac_dir/libXpm.$ac_extension"; then
26161 ac_find_libraries
=$ac_dir
26167 if test "$ac_find_libraries" != "" ; then
26169 if test "$ac_find_libraries" = "default location"; then
26172 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26174 if test $result = 0; then
26177 ac_path_to_link
=" -L$ac_find_libraries"
26181 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26183 $as_echo "found in $ac_find_libraries" >&6; }
26185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26186 $as_echo_n "checking for X11/xpm.h... " >&6; }
26187 if ${wx_cv_x11_xpm_h+:} false
; then :
26188 $as_echo_n "(cached) " >&6
26191 save_CFLAGS
=$CFLAGS
26192 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26195 /* end confdefs.h. */
26197 #include <X11/xpm.h>
26204 version = XpmLibraryVersion();
26210 if ac_fn_c_try_compile
"$LINENO"; then :
26211 wx_cv_x11_xpm_h
=yes
26216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26218 CFLAGS
=$save_CFLAGS
26222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26223 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26225 if test $wx_cv_x11_xpm_h = "yes"; then
26226 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26227 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26231 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26238 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26239 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
26240 $as_echo_n "(cached) " >&6
26242 ac_check_lib_save_LIBS
=$LIBS
26243 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26245 /* end confdefs.h. */
26247 /* Override any GCC internal prototype to avoid an error.
26248 Use char because int might match the return type of a GCC
26249 builtin and then its argument prototype would still apply. */
26253 char XShapeQueryExtension ();
26257 return XShapeQueryExtension ();
26262 if ac_fn_c_try_link
"$LINENO"; then :
26263 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26265 ac_cv_lib_Xext_XShapeQueryExtension
=no
26267 rm -f core conftest.err conftest.
$ac_objext \
26268 conftest
$ac_exeext conftest.
$ac_ext
26269 LIBS
=$ac_check_lib_save_LIBS
26271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26272 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26273 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
26275 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26281 if test "$wxHAVE_XEXT_LIB" = 1; then
26282 save_CFLAGS
="$CFLAGS"
26283 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26286 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26288 /* end confdefs.h. */
26290 #include <X11/Xlib.h>
26291 #include <X11/extensions/shape.h>
26297 int dummy1, dummy2;
26298 XShapeQueryExtension((Display*)NULL,
26299 (int*)NULL, (int*)NULL);
26305 if ac_fn_c_try_compile
"$LINENO"; then :
26307 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26310 $as_echo "found" >&6; }
26314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26315 $as_echo "not found" >&6; }
26318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26319 CFLAGS
="$save_CFLAGS"
26324 if test "$wxUSE_OSX_CARBON" = 1; then
26325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26326 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26327 if test "$GCC" = yes; then
26328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26329 $as_echo "gcc" >&6; }
26330 CPPFLAGS_PASCAL
="-fpascal-strings"
26331 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26333 $as_echo "xlc" >&6; }
26334 CPPFLAGS_PASCAL
="-qmacpstr"
26336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26337 $as_echo "none" >&6; }
26340 if test "x$wxUSE_UNIX" = "xyes"; then
26341 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26343 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26347 GUIDIST
=OSX_CARBON_DIST
26348 WXBASEPORT
="_carbon"
26350 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26353 if test "$wxUSE_OSX_COCOA" = 1; then
26355 GUIDIST
=OSX_COCOA_DIST
26357 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26360 if test "$wxUSE_OSX_IPHONE" = 1; then
26364 if test "$wxUSE_OLD_COCOA" = 1; then
26369 if test "$wxUSE_PM" = 1; then
26372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26373 $as_echo_n "checking for type SPBCDATA... " >&6; }
26374 if ${wx_cv_spbcdata+:} false
; then :
26375 $as_echo_n "(cached) " >&6
26378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26379 /* end confdefs.h. */
26394 if ac_fn_c_try_compile
"$LINENO"; then :
26400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26405 $as_echo "$wx_cv_spbcdata" >&6; }
26407 if test $wx_cv_spbcdata = "yes"; then
26408 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26413 if test "$TOOLKIT" = "PM" ; then
26416 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26419 if test "$wxUSE_UNIVERSAL" = "yes"; then
26420 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26424 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26425 DISTDIR
="wx\$(TOOLKIT)"
26431 if test "$USE_WIN32" = 1 ; then
26435 GUIDIST
="BASE_DIST"
26441 if test "$wxUSE_GUI" = "yes"; then
26442 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26443 for ac_header
in X
11/Xlib.h
26445 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26447 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
26448 cat >>confdefs.h
<<_ACEOF
26449 #define HAVE_X11_XLIB_H 1
26456 for ac_header
in X
11/XKBlib.h
26458 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26459 #if HAVE_X11_XLIB_H
26460 #include <X11/Xlib.h>
26464 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
; then :
26465 cat >>confdefs.h
<<_ACEOF
26466 #define HAVE_X11_XKBLIB_H 1
26479 if test "$wxUSE_DISPLAY" = "yes"; then
26480 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26484 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26487 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26488 if test -n "$ac_tool_prefix"; then
26489 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26490 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26492 $as_echo_n "checking for $ac_word... " >&6; }
26493 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26494 $as_echo_n "(cached) " >&6
26496 case $PKG_CONFIG in
26498 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26502 for as_dir
in $PATH
26505 test -z "$as_dir" && as_dir
=.
26506 for ac_exec_ext
in '' $ac_executable_extensions; do
26507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26508 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26519 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26520 if test -n "$PKG_CONFIG"; then
26521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26522 $as_echo "$PKG_CONFIG" >&6; }
26524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26525 $as_echo "no" >&6; }
26530 if test -z "$ac_cv_path_PKG_CONFIG"; then
26531 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26532 # Extract the first word of "pkg-config", so it can be a program name with args.
26533 set dummy pkg
-config; ac_word
=$2
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26535 $as_echo_n "checking for $ac_word... " >&6; }
26536 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26537 $as_echo_n "(cached) " >&6
26539 case $ac_pt_PKG_CONFIG in
26541 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26545 for as_dir
in $PATH
26548 test -z "$as_dir" && as_dir
=.
26549 for ac_exec_ext
in '' $ac_executable_extensions; do
26550 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26551 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26562 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26563 if test -n "$ac_pt_PKG_CONFIG"; then
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26565 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26568 $as_echo "no" >&6; }
26571 if test "x$ac_pt_PKG_CONFIG" = x
; then
26574 case $cross_compiling:$ac_tool_warned in
26576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26578 ac_tool_warned
=yes ;;
26580 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26583 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26587 if test -n "$PKG_CONFIG"; then
26588 _pkg_min_version
=0.9.0
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26590 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26591 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26593 $as_echo "yes" >&6; }
26595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26596 $as_echo "no" >&6; }
26603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26604 $as_echo_n "checking for Xinerama... " >&6; }
26606 if test -n "$PKG_CONFIG"; then
26607 if test -n "$Xinerama_CFLAGS"; then
26608 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26610 if test -n "$PKG_CONFIG" && \
26611 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26612 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26615 test $ac_status = 0; }; then
26616 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26624 if test -n "$PKG_CONFIG"; then
26625 if test -n "$Xinerama_LIBS"; then
26626 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26628 if test -n "$PKG_CONFIG" && \
26629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26630 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26633 test $ac_status = 0; }; then
26634 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26645 if test $pkg_failed = yes; then
26647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26648 _pkg_short_errors_supported
=yes
26650 _pkg_short_errors_supported
=no
26652 if test $_pkg_short_errors_supported = yes; then
26653 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26655 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26657 # Put the nasty error message in config.log where it belongs
26658 echo "$Xinerama_PKG_ERRORS" >&5
26661 if test "x$ac_find_libraries" = "x"; then
26662 if test "xXineramaQueryScreens" != "x"; then
26663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26664 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26665 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26666 $as_echo_n "(cached) " >&6
26668 ac_check_lib_save_LIBS
=$LIBS
26669 LIBS
="-lXinerama $LIBS"
26670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26671 /* end confdefs.h. */
26673 /* Override any GCC internal prototype to avoid an error.
26674 Use char because int might match the return type of a GCC
26675 builtin and then its argument prototype would still apply. */
26679 char XineramaQueryScreens ();
26683 return XineramaQueryScreens ();
26688 if ac_fn_c_try_link
"$LINENO"; then :
26689 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26691 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26693 rm -f core conftest.err conftest.
$ac_objext \
26694 conftest
$ac_exeext conftest.
$ac_ext
26695 LIBS
=$ac_check_lib_save_LIBS
26697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26698 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26699 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26700 ac_find_libraries
="std"
26706 if test "x$ac_find_libraries" = "x"; then
26707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26708 $as_echo_n "checking elsewhere... " >&6; }
26711 for ac_dir
in $SEARCH_LIB
26713 for ac_extension
in a so sl dylib dll.a
; do
26714 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26715 ac_find_libraries
=$ac_dir
26721 if test "x$ac_find_libraries" != "x"; then
26722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26723 $as_echo "yes" >&6; }
26725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26726 $as_echo "no" >&6; }
26730 elif test $pkg_failed = untried
; then
26732 if test "x$ac_find_libraries" = "x"; then
26733 if test "xXineramaQueryScreens" != "x"; then
26734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26735 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26736 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26737 $as_echo_n "(cached) " >&6
26739 ac_check_lib_save_LIBS
=$LIBS
26740 LIBS
="-lXinerama $LIBS"
26741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26742 /* end confdefs.h. */
26744 /* Override any GCC internal prototype to avoid an error.
26745 Use char because int might match the return type of a GCC
26746 builtin and then its argument prototype would still apply. */
26750 char XineramaQueryScreens ();
26754 return XineramaQueryScreens ();
26759 if ac_fn_c_try_link
"$LINENO"; then :
26760 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26762 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26764 rm -f core conftest.err conftest.
$ac_objext \
26765 conftest
$ac_exeext conftest.
$ac_ext
26766 LIBS
=$ac_check_lib_save_LIBS
26768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26769 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26770 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26771 ac_find_libraries
="std"
26777 if test "x$ac_find_libraries" = "x"; then
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26779 $as_echo_n "checking elsewhere... " >&6; }
26782 for ac_dir
in $SEARCH_LIB
26784 for ac_extension
in a so sl dylib dll.a
; do
26785 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26786 ac_find_libraries
=$ac_dir
26792 if test "x$ac_find_libraries" != "x"; then
26793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26794 $as_echo "yes" >&6; }
26796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26797 $as_echo "no" >&6; }
26802 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
26803 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
26804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26805 $as_echo "yes" >&6; }
26807 ac_find_libraries
="std"
26809 eval ac_find_cflags
=\
$Xinerama_CFLAGS
26810 eval fl_libs
=\
$Xinerama_LIBS
26812 for fl_path
in $fl_libs
26814 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26815 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
26821 if test "$ac_find_libraries" != "" ; then
26822 if test "$ac_find_libraries" != "std" ; then
26824 if test "$ac_find_libraries" = "default location"; then
26827 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26829 if test $result = 0; then
26832 ac_path_to_link
=" -L$ac_find_libraries"
26836 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26837 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26841 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26844 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26847 elif test "$wxUSE_MSW" = 1; then
26848 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26850 if test "x$ac_cv_header_ddraw_h" = xyes
; then :
26858 if test "$wxUSE_DISPLAY" = "yes"; then
26859 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26863 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26866 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26867 if test -n "$ac_tool_prefix"; then
26868 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26869 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26871 $as_echo_n "checking for $ac_word... " >&6; }
26872 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26873 $as_echo_n "(cached) " >&6
26875 case $PKG_CONFIG in
26877 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26881 for as_dir
in $PATH
26884 test -z "$as_dir" && as_dir
=.
26885 for ac_exec_ext
in '' $ac_executable_extensions; do
26886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26887 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26898 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26899 if test -n "$PKG_CONFIG"; then
26900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26901 $as_echo "$PKG_CONFIG" >&6; }
26903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26904 $as_echo "no" >&6; }
26909 if test -z "$ac_cv_path_PKG_CONFIG"; then
26910 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26911 # Extract the first word of "pkg-config", so it can be a program name with args.
26912 set dummy pkg
-config; ac_word
=$2
26913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26914 $as_echo_n "checking for $ac_word... " >&6; }
26915 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26916 $as_echo_n "(cached) " >&6
26918 case $ac_pt_PKG_CONFIG in
26920 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26924 for as_dir
in $PATH
26927 test -z "$as_dir" && as_dir
=.
26928 for ac_exec_ext
in '' $ac_executable_extensions; do
26929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26930 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26941 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26942 if test -n "$ac_pt_PKG_CONFIG"; then
26943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26944 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26947 $as_echo "no" >&6; }
26950 if test "x$ac_pt_PKG_CONFIG" = x
; then
26953 case $cross_compiling:$ac_tool_warned in
26955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26957 ac_tool_warned
=yes ;;
26959 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26962 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26966 if test -n "$PKG_CONFIG"; then
26967 _pkg_min_version
=0.9.0
26968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26969 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26970 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26972 $as_echo "yes" >&6; }
26974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26975 $as_echo "no" >&6; }
26982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26983 $as_echo_n "checking for Xxf86vm... " >&6; }
26985 if test -n "$PKG_CONFIG"; then
26986 if test -n "$Xxf86vm_CFLAGS"; then
26987 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
26989 if test -n "$PKG_CONFIG" && \
26990 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26991 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26994 test $ac_status = 0; }; then
26995 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27003 if test -n "$PKG_CONFIG"; then
27004 if test -n "$Xxf86vm_LIBS"; then
27005 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
27007 if test -n "$PKG_CONFIG" && \
27008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27009 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27012 test $ac_status = 0; }; then
27013 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27024 if test $pkg_failed = yes; then
27026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27027 _pkg_short_errors_supported
=yes
27029 _pkg_short_errors_supported
=no
27031 if test $_pkg_short_errors_supported = yes; then
27032 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27034 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27036 # Put the nasty error message in config.log where it belongs
27037 echo "$Xxf86vm_PKG_ERRORS" >&5
27040 if test "x$ac_find_libraries" = "x"; then
27041 if test "xXF86VidModeQueryExtension" != "x"; then
27042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27043 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27044 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27045 $as_echo_n "(cached) " >&6
27047 ac_check_lib_save_LIBS
=$LIBS
27048 LIBS
="-lXxf86vm $LIBS"
27049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27050 /* end confdefs.h. */
27052 /* Override any GCC internal prototype to avoid an error.
27053 Use char because int might match the return type of a GCC
27054 builtin and then its argument prototype would still apply. */
27058 char XF86VidModeQueryExtension ();
27062 return XF86VidModeQueryExtension ();
27067 if ac_fn_c_try_link
"$LINENO"; then :
27068 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27070 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27072 rm -f core conftest.err conftest.
$ac_objext \
27073 conftest
$ac_exeext conftest.
$ac_ext
27074 LIBS
=$ac_check_lib_save_LIBS
27076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27077 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27078 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27079 ac_find_libraries
="std"
27085 if test "x$ac_find_libraries" = "x"; then
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27087 $as_echo_n "checking elsewhere... " >&6; }
27090 for ac_dir
in $SEARCH_LIB
27092 for ac_extension
in a so sl dylib dll.a
; do
27093 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27094 ac_find_libraries
=$ac_dir
27100 if test "x$ac_find_libraries" != "x"; then
27101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27102 $as_echo "yes" >&6; }
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27105 $as_echo "no" >&6; }
27109 elif test $pkg_failed = untried
; then
27111 if test "x$ac_find_libraries" = "x"; then
27112 if test "xXF86VidModeQueryExtension" != "x"; then
27113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27114 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27115 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27116 $as_echo_n "(cached) " >&6
27118 ac_check_lib_save_LIBS
=$LIBS
27119 LIBS
="-lXxf86vm $LIBS"
27120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27121 /* end confdefs.h. */
27123 /* Override any GCC internal prototype to avoid an error.
27124 Use char because int might match the return type of a GCC
27125 builtin and then its argument prototype would still apply. */
27129 char XF86VidModeQueryExtension ();
27133 return XF86VidModeQueryExtension ();
27138 if ac_fn_c_try_link
"$LINENO"; then :
27139 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27141 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27143 rm -f core conftest.err conftest.
$ac_objext \
27144 conftest
$ac_exeext conftest.
$ac_ext
27145 LIBS
=$ac_check_lib_save_LIBS
27147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27148 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27149 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27150 ac_find_libraries
="std"
27156 if test "x$ac_find_libraries" = "x"; then
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27158 $as_echo_n "checking elsewhere... " >&6; }
27161 for ac_dir
in $SEARCH_LIB
27163 for ac_extension
in a so sl dylib dll.a
; do
27164 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27165 ac_find_libraries
=$ac_dir
27171 if test "x$ac_find_libraries" != "x"; then
27172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27173 $as_echo "yes" >&6; }
27175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27176 $as_echo "no" >&6; }
27181 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27182 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27184 $as_echo "yes" >&6; }
27186 ac_find_libraries
="std"
27188 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27189 eval fl_libs
=\
$Xxf86vm_LIBS
27191 for fl_path
in $fl_libs
27193 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27194 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27200 if test "$ac_find_libraries" != "" ; then
27201 for ac_header
in X
11/extensions
/xf86vmode.h
27203 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27204 #if HAVE_X11_XLIB_H
27205 #include <X11/Xlib.h>
27209 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
; then :
27210 cat >>confdefs.h
<<_ACEOF
27211 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27214 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27224 if test "$wxUSE_DETECT_SM" = "yes"; then
27225 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27229 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27232 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27233 if test -n "$ac_tool_prefix"; then
27234 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27235 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27237 $as_echo_n "checking for $ac_word... " >&6; }
27238 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27239 $as_echo_n "(cached) " >&6
27241 case $PKG_CONFIG in
27243 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27247 for as_dir
in $PATH
27250 test -z "$as_dir" && as_dir
=.
27251 for ac_exec_ext
in '' $ac_executable_extensions; do
27252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27253 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27264 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27265 if test -n "$PKG_CONFIG"; then
27266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27267 $as_echo "$PKG_CONFIG" >&6; }
27269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27270 $as_echo "no" >&6; }
27275 if test -z "$ac_cv_path_PKG_CONFIG"; then
27276 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27277 # Extract the first word of "pkg-config", so it can be a program name with args.
27278 set dummy pkg
-config; ac_word
=$2
27279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27280 $as_echo_n "checking for $ac_word... " >&6; }
27281 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27282 $as_echo_n "(cached) " >&6
27284 case $ac_pt_PKG_CONFIG in
27286 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27290 for as_dir
in $PATH
27293 test -z "$as_dir" && as_dir
=.
27294 for ac_exec_ext
in '' $ac_executable_extensions; do
27295 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27296 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27307 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27308 if test -n "$ac_pt_PKG_CONFIG"; then
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27310 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27313 $as_echo "no" >&6; }
27316 if test "x$ac_pt_PKG_CONFIG" = x
; then
27319 case $cross_compiling:$ac_tool_warned in
27321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27323 ac_tool_warned
=yes ;;
27325 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27328 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27332 if test -n "$PKG_CONFIG"; then
27333 _pkg_min_version
=0.9.0
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27335 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27336 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27338 $as_echo "yes" >&6; }
27340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27341 $as_echo "no" >&6; }
27348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27349 $as_echo_n "checking for SM... " >&6; }
27351 if test -n "$PKG_CONFIG"; then
27352 if test -n "$SM_CFLAGS"; then
27353 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27355 if test -n "$PKG_CONFIG" && \
27356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27357 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27360 test $ac_status = 0; }; then
27361 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27369 if test -n "$PKG_CONFIG"; then
27370 if test -n "$SM_LIBS"; then
27371 pkg_cv_SM_LIBS
="$SM_LIBS"
27373 if test -n "$PKG_CONFIG" && \
27374 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27375 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27378 test $ac_status = 0; }; then
27379 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27390 if test $pkg_failed = yes; then
27392 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27393 _pkg_short_errors_supported
=yes
27395 _pkg_short_errors_supported
=no
27397 if test $_pkg_short_errors_supported = yes; then
27398 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27400 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27402 # Put the nasty error message in config.log where it belongs
27403 echo "$SM_PKG_ERRORS" >&5
27406 if test "x$ac_find_libraries" = "x"; then
27407 if test "xSmcOpenConnection" != "x"; then
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27409 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27410 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27411 $as_echo_n "(cached) " >&6
27413 ac_check_lib_save_LIBS
=$LIBS
27415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27416 /* end confdefs.h. */
27418 /* Override any GCC internal prototype to avoid an error.
27419 Use char because int might match the return type of a GCC
27420 builtin and then its argument prototype would still apply. */
27424 char SmcOpenConnection ();
27428 return SmcOpenConnection ();
27433 if ac_fn_c_try_link
"$LINENO"; then :
27434 ac_cv_lib_SM_SmcOpenConnection
=yes
27436 ac_cv_lib_SM_SmcOpenConnection
=no
27438 rm -f core conftest.err conftest.
$ac_objext \
27439 conftest
$ac_exeext conftest.
$ac_ext
27440 LIBS
=$ac_check_lib_save_LIBS
27442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27443 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27444 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27445 ac_find_libraries
="std"
27451 if test "x$ac_find_libraries" = "x"; then
27452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27453 $as_echo_n "checking elsewhere... " >&6; }
27456 for ac_dir
in $SEARCH_LIB
27458 for ac_extension
in a so sl dylib dll.a
; do
27459 if test -f "$ac_dir/libSM.$ac_extension"; then
27460 ac_find_libraries
=$ac_dir
27466 if test "x$ac_find_libraries" != "x"; then
27467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27468 $as_echo "yes" >&6; }
27470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27471 $as_echo "no" >&6; }
27475 elif test $pkg_failed = untried
; then
27477 if test "x$ac_find_libraries" = "x"; then
27478 if test "xSmcOpenConnection" != "x"; then
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27480 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27481 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27482 $as_echo_n "(cached) " >&6
27484 ac_check_lib_save_LIBS
=$LIBS
27486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27487 /* end confdefs.h. */
27489 /* Override any GCC internal prototype to avoid an error.
27490 Use char because int might match the return type of a GCC
27491 builtin and then its argument prototype would still apply. */
27495 char SmcOpenConnection ();
27499 return SmcOpenConnection ();
27504 if ac_fn_c_try_link
"$LINENO"; then :
27505 ac_cv_lib_SM_SmcOpenConnection
=yes
27507 ac_cv_lib_SM_SmcOpenConnection
=no
27509 rm -f core conftest.err conftest.
$ac_objext \
27510 conftest
$ac_exeext conftest.
$ac_ext
27511 LIBS
=$ac_check_lib_save_LIBS
27513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27514 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27515 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27516 ac_find_libraries
="std"
27522 if test "x$ac_find_libraries" = "x"; then
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27524 $as_echo_n "checking elsewhere... " >&6; }
27527 for ac_dir
in $SEARCH_LIB
27529 for ac_extension
in a so sl dylib dll.a
; do
27530 if test -f "$ac_dir/libSM.$ac_extension"; then
27531 ac_find_libraries
=$ac_dir
27537 if test "x$ac_find_libraries" != "x"; then
27538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27539 $as_echo "yes" >&6; }
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27542 $as_echo "no" >&6; }
27547 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27548 SM_LIBS
=$pkg_cv_SM_LIBS
27549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27550 $as_echo "yes" >&6; }
27552 ac_find_libraries
="std"
27554 eval ac_find_cflags
=\
$SM_CFLAGS
27555 eval fl_libs
=\
$SM_LIBS
27557 for fl_path
in $fl_libs
27559 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27560 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27566 if test "$ac_find_libraries" != "" ; then
27567 if test "$ac_find_libraries" != "std" ; then
27569 if test "$ac_find_libraries" = "default location"; then
27572 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27574 if test $result = 0; then
27577 ac_path_to_link
=" -L$ac_find_libraries"
27581 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27582 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27585 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27588 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27589 wxUSE_DETECT_SM
="no"
27592 wxUSE_DETECT_SM
="no"
27599 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27602 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27603 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27604 elif test "$wxUSE_MSW" = 1; then
27605 OPENGL_LIBS
="-lopengl32 -lglu32"
27606 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27609 $as_echo_n "checking for OpenGL headers... " >&6; }
27612 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27614 if test -f "$ac_dir/GL/gl.h"; then
27615 ac_find_includes
=$ac_dir
27620 if test "$ac_find_includes" != "" ; then
27621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27622 $as_echo "found in $ac_find_includes" >&6; }
27624 if test "x$ac_find_includes" = "x/usr/include"; then
27625 ac_path_to_include
=""
27627 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27629 if test $result = 0; then
27630 ac_path_to_include
=""
27632 ac_path_to_include
=" -I$ac_find_includes"
27636 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27639 $as_echo "not found" >&6; }
27642 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27644 if test "x$ac_cv_header_GL_gl_h" = xyes
; then :
27646 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27648 if test "x$ac_cv_header_GL_glu_h" = xyes
; then :
27655 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27658 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27659 if test -n "$ac_tool_prefix"; then
27660 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27661 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27663 $as_echo_n "checking for $ac_word... " >&6; }
27664 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27665 $as_echo_n "(cached) " >&6
27667 case $PKG_CONFIG in
27669 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27673 for as_dir
in $PATH
27676 test -z "$as_dir" && as_dir
=.
27677 for ac_exec_ext
in '' $ac_executable_extensions; do
27678 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27679 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27690 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27691 if test -n "$PKG_CONFIG"; then
27692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27693 $as_echo "$PKG_CONFIG" >&6; }
27695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27696 $as_echo "no" >&6; }
27701 if test -z "$ac_cv_path_PKG_CONFIG"; then
27702 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27703 # Extract the first word of "pkg-config", so it can be a program name with args.
27704 set dummy pkg
-config; ac_word
=$2
27705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27706 $as_echo_n "checking for $ac_word... " >&6; }
27707 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27708 $as_echo_n "(cached) " >&6
27710 case $ac_pt_PKG_CONFIG in
27712 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27716 for as_dir
in $PATH
27719 test -z "$as_dir" && as_dir
=.
27720 for ac_exec_ext
in '' $ac_executable_extensions; do
27721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27722 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27733 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27734 if test -n "$ac_pt_PKG_CONFIG"; then
27735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27736 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27739 $as_echo "no" >&6; }
27742 if test "x$ac_pt_PKG_CONFIG" = x
; then
27745 case $cross_compiling:$ac_tool_warned in
27747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27749 ac_tool_warned
=yes ;;
27751 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27754 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27758 if test -n "$PKG_CONFIG"; then
27759 _pkg_min_version
=0.9.0
27760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27761 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27762 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27764 $as_echo "yes" >&6; }
27766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27767 $as_echo "no" >&6; }
27774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27775 $as_echo_n "checking for GL... " >&6; }
27777 if test -n "$PKG_CONFIG"; then
27778 if test -n "$GL_CFLAGS"; then
27779 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27781 if test -n "$PKG_CONFIG" && \
27782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27783 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27786 test $ac_status = 0; }; then
27787 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27795 if test -n "$PKG_CONFIG"; then
27796 if test -n "$GL_LIBS"; then
27797 pkg_cv_GL_LIBS
="$GL_LIBS"
27799 if test -n "$PKG_CONFIG" && \
27800 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27801 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27804 test $ac_status = 0; }; then
27805 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27816 if test $pkg_failed = yes; then
27818 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27819 _pkg_short_errors_supported
=yes
27821 _pkg_short_errors_supported
=no
27823 if test $_pkg_short_errors_supported = yes; then
27824 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27826 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27828 # Put the nasty error message in config.log where it belongs
27829 echo "$GL_PKG_ERRORS" >&5
27832 if test "x$ac_find_libraries" = "x"; then
27833 if test "xglBegin" != "x"; then
27834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27835 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27836 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27837 $as_echo_n "(cached) " >&6
27839 ac_check_lib_save_LIBS
=$LIBS
27841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27842 /* end confdefs.h. */
27844 /* Override any GCC internal prototype to avoid an error.
27845 Use char because int might match the return type of a GCC
27846 builtin and then its argument prototype would still apply. */
27859 if ac_fn_c_try_link
"$LINENO"; then :
27860 ac_cv_lib_GL_glBegin
=yes
27862 ac_cv_lib_GL_glBegin
=no
27864 rm -f core conftest.err conftest.
$ac_objext \
27865 conftest
$ac_exeext conftest.
$ac_ext
27866 LIBS
=$ac_check_lib_save_LIBS
27868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27869 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27870 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27871 ac_find_libraries
="std"
27877 if test "x$ac_find_libraries" = "x"; then
27878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27879 $as_echo_n "checking elsewhere... " >&6; }
27882 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27884 for ac_extension
in a so sl dylib dll.a
; do
27885 if test -f "$ac_dir/libGL.$ac_extension"; then
27886 ac_find_libraries
=$ac_dir
27892 if test "x$ac_find_libraries" != "x"; then
27893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27894 $as_echo "yes" >&6; }
27896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27897 $as_echo "no" >&6; }
27901 elif test $pkg_failed = untried
; then
27903 if test "x$ac_find_libraries" = "x"; then
27904 if test "xglBegin" != "x"; then
27905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27906 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27907 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27908 $as_echo_n "(cached) " >&6
27910 ac_check_lib_save_LIBS
=$LIBS
27912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27913 /* end confdefs.h. */
27915 /* Override any GCC internal prototype to avoid an error.
27916 Use char because int might match the return type of a GCC
27917 builtin and then its argument prototype would still apply. */
27930 if ac_fn_c_try_link
"$LINENO"; then :
27931 ac_cv_lib_GL_glBegin
=yes
27933 ac_cv_lib_GL_glBegin
=no
27935 rm -f core conftest.err conftest.
$ac_objext \
27936 conftest
$ac_exeext conftest.
$ac_ext
27937 LIBS
=$ac_check_lib_save_LIBS
27939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27940 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27941 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27942 ac_find_libraries
="std"
27948 if test "x$ac_find_libraries" = "x"; then
27949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27950 $as_echo_n "checking elsewhere... " >&6; }
27953 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27955 for ac_extension
in a so sl dylib dll.a
; do
27956 if test -f "$ac_dir/libGL.$ac_extension"; then
27957 ac_find_libraries
=$ac_dir
27963 if test "x$ac_find_libraries" != "x"; then
27964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27965 $as_echo "yes" >&6; }
27967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27968 $as_echo "no" >&6; }
27973 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
27974 GL_LIBS
=$pkg_cv_GL_LIBS
27975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27976 $as_echo "yes" >&6; }
27978 ac_find_libraries
="std"
27980 eval ac_find_cflags
=\
$GL_CFLAGS
27981 eval fl_libs
=\
$GL_LIBS
27983 for fl_path
in $fl_libs
27985 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27986 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27992 if test "$ac_find_libraries" != "" ; then
27993 if test "$ac_find_libraries" != "std" ; then
27995 if test "$ac_find_libraries" = "default location"; then
27998 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28000 if test $result = 0; then
28003 ac_path_to_link
=" -L$ac_find_libraries"
28007 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28008 LDFLAGS_GL
="$ac_path_to_link"
28015 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
28018 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28019 if test -n "$ac_tool_prefix"; then
28020 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28021 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28023 $as_echo_n "checking for $ac_word... " >&6; }
28024 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28025 $as_echo_n "(cached) " >&6
28027 case $PKG_CONFIG in
28029 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28033 for as_dir
in $PATH
28036 test -z "$as_dir" && as_dir
=.
28037 for ac_exec_ext
in '' $ac_executable_extensions; do
28038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28039 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28050 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28051 if test -n "$PKG_CONFIG"; then
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28053 $as_echo "$PKG_CONFIG" >&6; }
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28056 $as_echo "no" >&6; }
28061 if test -z "$ac_cv_path_PKG_CONFIG"; then
28062 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28063 # Extract the first word of "pkg-config", so it can be a program name with args.
28064 set dummy pkg
-config; ac_word
=$2
28065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28066 $as_echo_n "checking for $ac_word... " >&6; }
28067 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28068 $as_echo_n "(cached) " >&6
28070 case $ac_pt_PKG_CONFIG in
28072 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28076 for as_dir
in $PATH
28079 test -z "$as_dir" && as_dir
=.
28080 for ac_exec_ext
in '' $ac_executable_extensions; do
28081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28082 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28093 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28094 if test -n "$ac_pt_PKG_CONFIG"; then
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28096 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28099 $as_echo "no" >&6; }
28102 if test "x$ac_pt_PKG_CONFIG" = x
; then
28105 case $cross_compiling:$ac_tool_warned in
28107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28109 ac_tool_warned
=yes ;;
28111 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28114 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28118 if test -n "$PKG_CONFIG"; then
28119 _pkg_min_version
=0.9.0
28120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28121 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28122 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28124 $as_echo "yes" >&6; }
28126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28127 $as_echo "no" >&6; }
28134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28135 $as_echo_n "checking for GLU... " >&6; }
28137 if test -n "$PKG_CONFIG"; then
28138 if test -n "$GLU_CFLAGS"; then
28139 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28141 if test -n "$PKG_CONFIG" && \
28142 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28143 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28146 test $ac_status = 0; }; then
28147 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28155 if test -n "$PKG_CONFIG"; then
28156 if test -n "$GLU_LIBS"; then
28157 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28159 if test -n "$PKG_CONFIG" && \
28160 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28161 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28164 test $ac_status = 0; }; then
28165 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28176 if test $pkg_failed = yes; then
28178 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28179 _pkg_short_errors_supported
=yes
28181 _pkg_short_errors_supported
=no
28183 if test $_pkg_short_errors_supported = yes; then
28184 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28186 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28188 # Put the nasty error message in config.log where it belongs
28189 echo "$GLU_PKG_ERRORS" >&5
28192 if test "x$ac_find_libraries" = "x"; then
28193 if test "xgluBeginCurve" != "x"; then
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28195 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28196 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28197 $as_echo_n "(cached) " >&6
28199 ac_check_lib_save_LIBS
=$LIBS
28201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28202 /* end confdefs.h. */
28204 /* Override any GCC internal prototype to avoid an error.
28205 Use char because int might match the return type of a GCC
28206 builtin and then its argument prototype would still apply. */
28210 char gluBeginCurve ();
28214 return gluBeginCurve ();
28219 if ac_fn_c_try_link
"$LINENO"; then :
28220 ac_cv_lib_GLU_gluBeginCurve
=yes
28222 ac_cv_lib_GLU_gluBeginCurve
=no
28224 rm -f core conftest.err conftest.
$ac_objext \
28225 conftest
$ac_exeext conftest.
$ac_ext
28226 LIBS
=$ac_check_lib_save_LIBS
28228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28229 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28230 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28231 ac_find_libraries
="std"
28237 if test "x$ac_find_libraries" = "x"; then
28238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28239 $as_echo_n "checking elsewhere... " >&6; }
28242 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28244 for ac_extension
in a so sl dylib dll.a
; do
28245 if test -f "$ac_dir/libGLU.$ac_extension"; then
28246 ac_find_libraries
=$ac_dir
28252 if test "x$ac_find_libraries" != "x"; then
28253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28254 $as_echo "yes" >&6; }
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28257 $as_echo "no" >&6; }
28261 elif test $pkg_failed = untried
; then
28263 if test "x$ac_find_libraries" = "x"; then
28264 if test "xgluBeginCurve" != "x"; then
28265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28266 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28267 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28268 $as_echo_n "(cached) " >&6
28270 ac_check_lib_save_LIBS
=$LIBS
28272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28273 /* end confdefs.h. */
28275 /* Override any GCC internal prototype to avoid an error.
28276 Use char because int might match the return type of a GCC
28277 builtin and then its argument prototype would still apply. */
28281 char gluBeginCurve ();
28285 return gluBeginCurve ();
28290 if ac_fn_c_try_link
"$LINENO"; then :
28291 ac_cv_lib_GLU_gluBeginCurve
=yes
28293 ac_cv_lib_GLU_gluBeginCurve
=no
28295 rm -f core conftest.err conftest.
$ac_objext \
28296 conftest
$ac_exeext conftest.
$ac_ext
28297 LIBS
=$ac_check_lib_save_LIBS
28299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28300 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28301 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28302 ac_find_libraries
="std"
28308 if test "x$ac_find_libraries" = "x"; then
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28310 $as_echo_n "checking elsewhere... " >&6; }
28313 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28315 for ac_extension
in a so sl dylib dll.a
; do
28316 if test -f "$ac_dir/libGLU.$ac_extension"; then
28317 ac_find_libraries
=$ac_dir
28323 if test "x$ac_find_libraries" != "x"; then
28324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28325 $as_echo "yes" >&6; }
28327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28328 $as_echo "no" >&6; }
28333 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28334 GLU_LIBS
=$pkg_cv_GLU_LIBS
28335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28336 $as_echo "yes" >&6; }
28338 ac_find_libraries
="std"
28340 eval ac_find_cflags
=\
$GLU_CFLAGS
28341 eval fl_libs
=\
$GLU_LIBS
28343 for fl_path
in $fl_libs
28345 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28346 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28352 if test "$ac_find_libraries" != "" ; then
28353 if test "$ac_find_libraries" != "std" ; then
28355 if test "$ac_find_libraries" = "default location"; then
28358 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28360 if test $result = 0; then
28363 ac_path_to_link
=" -L$ac_find_libraries"
28367 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28368 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28369 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28374 OPENGL_LIBS
="-lGL -lGLU"
28378 if test "$found_gl" != 1; then
28382 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28385 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28386 if test -n "$ac_tool_prefix"; then
28387 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28388 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28390 $as_echo_n "checking for $ac_word... " >&6; }
28391 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28392 $as_echo_n "(cached) " >&6
28394 case $PKG_CONFIG in
28396 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28400 for as_dir
in $PATH
28403 test -z "$as_dir" && as_dir
=.
28404 for ac_exec_ext
in '' $ac_executable_extensions; do
28405 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28406 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28417 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28418 if test -n "$PKG_CONFIG"; then
28419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28420 $as_echo "$PKG_CONFIG" >&6; }
28422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28423 $as_echo "no" >&6; }
28428 if test -z "$ac_cv_path_PKG_CONFIG"; then
28429 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28430 # Extract the first word of "pkg-config", so it can be a program name with args.
28431 set dummy pkg
-config; ac_word
=$2
28432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28433 $as_echo_n "checking for $ac_word... " >&6; }
28434 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28435 $as_echo_n "(cached) " >&6
28437 case $ac_pt_PKG_CONFIG in
28439 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28443 for as_dir
in $PATH
28446 test -z "$as_dir" && as_dir
=.
28447 for ac_exec_ext
in '' $ac_executable_extensions; do
28448 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28449 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28460 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28461 if test -n "$ac_pt_PKG_CONFIG"; then
28462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28463 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28466 $as_echo "no" >&6; }
28469 if test "x$ac_pt_PKG_CONFIG" = x
; then
28472 case $cross_compiling:$ac_tool_warned in
28474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28476 ac_tool_warned
=yes ;;
28478 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28481 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28485 if test -n "$PKG_CONFIG"; then
28486 _pkg_min_version
=0.9.0
28487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28488 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28489 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28491 $as_echo "yes" >&6; }
28493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28494 $as_echo "no" >&6; }
28501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28502 $as_echo_n "checking for MesaGL... " >&6; }
28504 if test -n "$PKG_CONFIG"; then
28505 if test -n "$MesaGL_CFLAGS"; then
28506 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28508 if test -n "$PKG_CONFIG" && \
28509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28510 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28513 test $ac_status = 0; }; then
28514 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28522 if test -n "$PKG_CONFIG"; then
28523 if test -n "$MesaGL_LIBS"; then
28524 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28526 if test -n "$PKG_CONFIG" && \
28527 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28528 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28531 test $ac_status = 0; }; then
28532 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28543 if test $pkg_failed = yes; then
28545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28546 _pkg_short_errors_supported
=yes
28548 _pkg_short_errors_supported
=no
28550 if test $_pkg_short_errors_supported = yes; then
28551 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28553 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28555 # Put the nasty error message in config.log where it belongs
28556 echo "$MesaGL_PKG_ERRORS" >&5
28559 if test "x$ac_find_libraries" = "x"; then
28560 if test "xglEnable" != "x"; then
28561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28562 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28563 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28564 $as_echo_n "(cached) " >&6
28566 ac_check_lib_save_LIBS
=$LIBS
28567 LIBS
="-lMesaGL $LIBS"
28568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28569 /* end confdefs.h. */
28571 /* Override any GCC internal prototype to avoid an error.
28572 Use char because int might match the return type of a GCC
28573 builtin and then its argument prototype would still apply. */
28581 return glEnable ();
28586 if ac_fn_c_try_link
"$LINENO"; then :
28587 ac_cv_lib_MesaGL_glEnable
=yes
28589 ac_cv_lib_MesaGL_glEnable
=no
28591 rm -f core conftest.err conftest.
$ac_objext \
28592 conftest
$ac_exeext conftest.
$ac_ext
28593 LIBS
=$ac_check_lib_save_LIBS
28595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28596 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28597 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28598 ac_find_libraries
="std"
28604 if test "x$ac_find_libraries" = "x"; then
28605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28606 $as_echo_n "checking elsewhere... " >&6; }
28609 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28611 for ac_extension
in a so sl dylib dll.a
; do
28612 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28613 ac_find_libraries
=$ac_dir
28619 if test "x$ac_find_libraries" != "x"; then
28620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28621 $as_echo "yes" >&6; }
28623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28624 $as_echo "no" >&6; }
28628 elif test $pkg_failed = untried
; then
28630 if test "x$ac_find_libraries" = "x"; then
28631 if test "xglEnable" != "x"; then
28632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28633 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28634 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28635 $as_echo_n "(cached) " >&6
28637 ac_check_lib_save_LIBS
=$LIBS
28638 LIBS
="-lMesaGL $LIBS"
28639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28640 /* end confdefs.h. */
28642 /* Override any GCC internal prototype to avoid an error.
28643 Use char because int might match the return type of a GCC
28644 builtin and then its argument prototype would still apply. */
28652 return glEnable ();
28657 if ac_fn_c_try_link
"$LINENO"; then :
28658 ac_cv_lib_MesaGL_glEnable
=yes
28660 ac_cv_lib_MesaGL_glEnable
=no
28662 rm -f core conftest.err conftest.
$ac_objext \
28663 conftest
$ac_exeext conftest.
$ac_ext
28664 LIBS
=$ac_check_lib_save_LIBS
28666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28667 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28668 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28669 ac_find_libraries
="std"
28675 if test "x$ac_find_libraries" = "x"; then
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28677 $as_echo_n "checking elsewhere... " >&6; }
28680 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28682 for ac_extension
in a so sl dylib dll.a
; do
28683 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28684 ac_find_libraries
=$ac_dir
28690 if test "x$ac_find_libraries" != "x"; then
28691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28692 $as_echo "yes" >&6; }
28694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28695 $as_echo "no" >&6; }
28700 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28701 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28703 $as_echo "yes" >&6; }
28705 ac_find_libraries
="std"
28707 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28708 eval fl_libs
=\
$MesaGL_LIBS
28710 for fl_path
in $fl_libs
28712 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28713 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28719 if test "$ac_find_libraries" != "" ; then
28720 if test "$ac_find_libraries" != "std" ; then
28722 if test "$ac_find_libraries" = "default location"; then
28725 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28727 if test $result = 0; then
28730 ac_path_to_link
=" -L$ac_find_libraries"
28734 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28735 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28738 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28750 if test "x$OPENGL_LIBS" = "x"; then
28751 if test "$wxUSE_OPENGL" = "yes"; then
28752 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28755 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28762 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28766 if test "$wxUSE_OPENGL" = "auto"; then
28770 if test "$wxUSE_OPENGL" = "yes"; then
28772 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28774 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28781 if test -n "$TOOLKIT" ; then
28782 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28787 if test "$wxUSE_SHARED" = "yes"; then
28791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28792 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28797 if test "$wxUSE_SHARED" = "yes"; then
28801 *-*-cygwin* | *-*-mingw* )
28802 wx_cv_version_script
=no
28806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28807 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28808 if ${wx_cv_version_script+:} false
; then :
28809 $as_echo_n "(cached) " >&6
28812 echo "VER_1 { *; };" >conftest.sym
28813 echo "int main() { return 0; }" >conftest.cpp
28816 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28817 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28818 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28819 (eval $ac_try) 2>&5
28821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28822 test $ac_status = 0; }; } ; then
28823 if test -s conftest.stderr
; then
28824 wx_cv_version_script
=no
28826 wx_cv_version_script
=yes
28829 wx_cv_version_script
=no
28832 if test $wx_cv_version_script = yes
28834 echo "struct B { virtual ~B() { } }; \
28835 struct D : public B { }; \
28836 void F() { D d; }" > conftest.cpp
28839 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28840 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28841 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28842 (eval $ac_try) 2>&5
28844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28845 test $ac_status = 0; }; } &&
28847 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28848 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28849 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28850 (eval $ac_try) 2>&5
28852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28853 test $ac_status = 0; }; }
28856 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28857 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28858 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28859 (eval $ac_try) 2>&5
28861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28862 test $ac_status = 0; }; }
28864 wx_cv_version_script
=yes
28866 wx_cv_version_script
=no
28871 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28872 rm -f conftest1.output conftest2.output conftest3.output
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28876 $as_echo "$wx_cv_version_script" >&6; }
28878 if test $wx_cv_version_script = yes ; then
28879 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28885 if test "$wxUSE_VISIBILITY" != "no"; then
28888 if test -n "$GCC"; then
28889 CFLAGS_VISIBILITY
="-fvisibility=hidden"
28890 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
28891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28892 $as_echo_n "checking for symbols visibility support... " >&6; }
28893 if ${wx_cv_cc_visibility+:} false
; then :
28894 $as_echo_n "(cached) " >&6
28897 wx_save_CXXFLAGS
="$CXXFLAGS"
28898 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28900 ac_cpp
='$CXXCPP $CPPFLAGS'
28901 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28902 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28903 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28906 /* end confdefs.h. */
28908 /* we need gcc >= 4.0, older versions with visibility support
28909 didn't have class visibility: */
28910 #if defined(__GNUC__) && __GNUC__ < 4
28911 error this gcc is too old;
28914 /* visibility only makes sense for ELF shared libs: */
28915 #if !defined(__ELF__) && !defined(__APPLE__)
28916 error this platform has no visibility;
28919 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28920 #if defined(__clang__)
28921 clang compiler is still broken w.r.t. visibility;
28924 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28925 extern __attribute__((__visibility__("default"))) int exportedvar;
28926 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28927 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28928 class __attribute__((__visibility__("default"))) Foo {
28940 if ac_fn_cxx_try_compile
"$LINENO"; then :
28941 wx_cv_cc_visibility
=yes
28943 wx_cv_cc_visibility
=no
28945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28947 ac_cpp
='$CPP $CPPFLAGS'
28948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28952 CXXFLAGS
="$wx_save_CXXFLAGS"
28955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28956 $as_echo "$wx_cv_cc_visibility" >&6; }
28957 if test $wx_cv_cc_visibility = yes; then
28958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28959 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28960 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false
; then :
28961 $as_echo_n "(cached) " >&6
28964 wx_save_CXXFLAGS
="$CXXFLAGS"
28965 wx_save_LDFLAGS
="$LDFLAGS"
28966 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28967 LDFLAGS
="$LDFLAGS -shared -fPIC"
28969 ac_cpp
='$CXXCPP $CPPFLAGS'
28970 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28971 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28972 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28975 /* end confdefs.h. */
28983 std::string s("hello");
28990 if ac_fn_cxx_try_link
"$LINENO"; then :
28991 wx_cv_cc_broken_libstdcxx_visibility
=no
28993 wx_cv_cc_broken_libstdcxx_visibility
=yes
28995 rm -f core conftest.err conftest.
$ac_objext \
28996 conftest
$ac_exeext conftest.
$ac_ext
28998 ac_cpp
='$CPP $CPPFLAGS'
28999 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29000 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29001 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29003 CXXFLAGS
="$wx_save_CXXFLAGS"
29004 LDFLAGS
="$wx_save_LDFLAGS"
29007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29008 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29010 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29012 $as_echo_n "checking whether we can work around it... " >&6; }
29013 if ${wx_cv_cc_visibility_workaround+:} false
; then :
29014 $as_echo_n "(cached) " >&6
29018 ac_cpp
='$CXXCPP $CPPFLAGS'
29019 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29020 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29021 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29024 /* end confdefs.h. */
29026 #pragma GCC visibility push(default)
29028 #pragma GCC visibility pop
29034 std::string s("hello");
29041 if ac_fn_cxx_try_link
"$LINENO"; then :
29042 wx_cv_cc_visibility_workaround
=no
29044 wx_cv_cc_visibility_workaround
=yes
29046 rm -f core conftest.err conftest.
$ac_objext \
29047 conftest
$ac_exeext conftest.
$ac_ext
29049 ac_cpp
='$CPP $CPPFLAGS'
29050 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29051 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29052 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29058 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29060 if test $wx_cv_cc_visibility_workaround = no
; then
29061 wx_cv_cc_visibility
=no
29066 if test $wx_cv_cc_visibility = yes; then
29067 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29069 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29070 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29074 CFLAGS_VISIBILITY
=""
29075 CXXFLAGS_VISIBILITY
=""
29083 if test "x$SUNCXX" = xyes
; then
29084 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
29085 WXCONFIG_RPATH
="-R\$libdir"
29088 *-*-linux* | *-*-gnu* )
29089 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29090 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29095 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
29097 saveLdflags
="$LDFLAGS"
29098 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29100 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29102 /* end confdefs.h. */
29112 if ac_fn_c_try_link
"$LINENO"; then :
29114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29115 $as_echo "yes" >&6; }
29116 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29117 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29122 $as_echo "no" >&6; }
29123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29124 $as_echo_n "checking if the linker accepts -R... " >&6; }
29125 LDFLAGS
="$saveLdflags -Wl,-R,/"
29126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29127 /* end confdefs.h. */
29137 if ac_fn_c_try_link
"$LINENO"; then :
29139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29140 $as_echo "yes" >&6; }
29141 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29142 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29147 $as_echo "no" >&6; }
29150 rm -f core conftest.err conftest.
$ac_objext \
29151 conftest
$ac_exeext conftest.
$ac_ext
29154 rm -f core conftest.err conftest.
$ac_objext \
29155 conftest
$ac_exeext conftest.
$ac_ext
29156 LDFLAGS
="$saveLdflags"
29160 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29161 if test "$install_name_tool" -a -x "$install_name_tool"; then
29162 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29163 cat <<EOF >change-install-names
29165 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29166 for i in \${libnames} ; do
29167 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29168 for dep in \${libnames} ; do
29169 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29173 chmod +x change
-install-names
29174 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29177 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29180 *-*-cygwin* | *-*-mingw32* )
29184 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29185 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29191 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29193 if test $wxUSE_RPATH = "no"; then
29194 SAMPLES_RPATH_FLAG
=''
29195 DYLIB_PATH_POSTLINK
=''
29203 config_linkage_component
="-static"
29210 lib_unicode_suffix
=
29212 if test "$wxUSE_UNICODE" = "yes"; then
29213 lib_unicode_suffix
=u
29214 WX_CHARTYPE
="unicode"
29218 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29219 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29222 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29226 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29228 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29230 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29233 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29234 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29236 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29238 if test "${TOOLKIT_DIR}" = "os2"; then
29239 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29241 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29246 if test "$wxUSE_OLD_COCOA" = 1; then
29249 ac_cpp
='$CPP $CPPFLAGS'
29250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29257 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29259 /* end confdefs.h. */
29260 #include <AppKit/NSEvent.h>
29261 #include <CoreFoundation/CoreFoundation.h>
29271 if ac_fn_c_try_compile
"$LINENO"; then :
29272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29273 $as_echo "no" >&6; }
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29276 $as_echo "yes" >&6; }
29277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29278 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29280 /* end confdefs.h. */
29281 #define __Point__ 1
29282 #include <AppKit/NSEvent.h>
29283 #include <CoreFoundation/CoreFoundation.h>
29293 if ac_fn_c_try_compile
"$LINENO"; then :
29294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29295 $as_echo "yes" >&6; }
29296 $as_echo "#define __Point__ 1" >>confdefs.h
29300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29303 See \`config.log' for more details" "$LINENO" 5; }
29306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29311 ac_cpp
='$CPP $CPPFLAGS'
29312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29319 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29320 if test "x$ac_cv_type_mode_t" = xyes
; then :
29324 cat >>confdefs.h
<<_ACEOF
29330 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29331 if test "x$ac_cv_type_off_t" = xyes
; then :
29335 cat >>confdefs.h
<<_ACEOF
29336 #define off_t long int
29341 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29342 if test "x$ac_cv_type_pid_t" = xyes
; then :
29346 cat >>confdefs.h
<<_ACEOF
29352 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29353 if test "x$ac_cv_type_size_t" = xyes
; then :
29357 cat >>confdefs.h
<<_ACEOF
29358 #define size_t unsigned int
29364 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29365 if test "x$ac_cv_type_ssize_t" = xyes
; then :
29367 cat >>confdefs.h
<<_ACEOF
29368 #define HAVE_SSIZE_T 1
29376 ac_cpp
='$CXXCPP $CPPFLAGS'
29377 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29378 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29379 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29381 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29382 if ${wx_cv_size_t_is_uint+:} false
; then :
29383 $as_echo_n "(cached) " >&6
29386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29387 /* end confdefs.h. */
29388 #include <stddef.h>
29395 struct Foo { void foo(size_t); void foo(unsigned int); };
29403 if ac_fn_cxx_try_compile
"$LINENO"; then :
29404 wx_cv_size_t_is_uint
=no
29406 wx_cv_size_t_is_uint
=yes
29409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29414 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29416 if test "$wx_cv_size_t_is_uint" = "yes"; then
29417 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29421 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29422 if ${wx_cv_size_t_is_ulong+:} false
; then :
29423 $as_echo_n "(cached) " >&6
29425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29426 /* end confdefs.h. */
29427 #include <stddef.h>
29434 struct Foo { void foo(size_t); void foo(unsigned long); };
29442 if ac_fn_cxx_try_compile
"$LINENO"; then :
29443 wx_cv_size_t_is_ulong
=no
29445 wx_cv_size_t_is_ulong
=yes
29448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29452 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29454 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29455 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29461 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29462 if ${wx_cv_wchar_t_is_separate_type+:} false
; then :
29463 $as_echo_n "(cached) " >&6
29465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29466 /* end confdefs.h. */
29474 struct Foo { void foo(wchar_t);
29475 void foo(unsigned short);
29476 void foo(unsigned int);
29477 void foo(unsigned long); };
29485 if ac_fn_cxx_try_compile
"$LINENO"; then :
29486 wx_cv_wchar_t_is_separate_type
=yes
29488 wx_cv_wchar_t_is_separate_type
=no
29491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29495 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29497 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29498 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29501 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29506 ac_cpp
='$CPP $CPPFLAGS'
29507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29513 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29514 if ${wx_cv_struct_pw_gecos+:} false
; then :
29515 $as_echo_n "(cached) " >&6
29518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29519 /* end confdefs.h. */
29533 if ac_fn_c_try_compile
"$LINENO"; then :
29535 wx_cv_struct_pw_gecos
=yes
29539 wx_cv_struct_pw_gecos
=no
29543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29548 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29550 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29551 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29558 for ac_func
in wcslen
29560 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29561 if test "x$ac_cv_func_wcslen" = xyes
; then :
29562 cat >>confdefs.h
<<_ACEOF
29563 #define HAVE_WCSLEN 1
29570 if test "$WCSLEN_FOUND" = 0; then
29571 if test "$TOOLKIT" = "MSW"; then
29572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29573 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29574 if ${ac_cv_lib_msvcrt_wcslen+:} false
; then :
29575 $as_echo_n "(cached) " >&6
29577 ac_check_lib_save_LIBS
=$LIBS
29578 LIBS
="-lmsvcrt $LIBS"
29579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29580 /* end confdefs.h. */
29582 /* Override any GCC internal prototype to avoid an error.
29583 Use char because int might match the return type of a GCC
29584 builtin and then its argument prototype would still apply. */
29597 if ac_fn_c_try_link
"$LINENO"; then :
29598 ac_cv_lib_msvcrt_wcslen
=yes
29600 ac_cv_lib_msvcrt_wcslen
=no
29602 rm -f core conftest.err conftest.
$ac_objext \
29603 conftest
$ac_exeext conftest.
$ac_ext
29604 LIBS
=$ac_check_lib_save_LIBS
29606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29607 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29608 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes
; then :
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29614 $as_echo_n "checking for wcslen in -lw... " >&6; }
29615 if ${ac_cv_lib_w_wcslen+:} false
; then :
29616 $as_echo_n "(cached) " >&6
29618 ac_check_lib_save_LIBS
=$LIBS
29620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29621 /* end confdefs.h. */
29623 /* Override any GCC internal prototype to avoid an error.
29624 Use char because int might match the return type of a GCC
29625 builtin and then its argument prototype would still apply. */
29638 if ac_fn_c_try_link
"$LINENO"; then :
29639 ac_cv_lib_w_wcslen
=yes
29641 ac_cv_lib_w_wcslen
=no
29643 rm -f core conftest.err conftest.
$ac_objext \
29644 conftest
$ac_exeext conftest.
$ac_ext
29645 LIBS
=$ac_check_lib_save_LIBS
29647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29648 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29649 if test "x$ac_cv_lib_w_wcslen" = xyes
; then :
29659 if test "$WCSLEN_FOUND" = 1; then
29660 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29664 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29666 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29667 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29668 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29669 cat >>confdefs.h
<<_ACEOF
29670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29677 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29678 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29681 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29683 if test "x$ac_cv_type_mbstate_t" = xyes
; then :
29685 cat >>confdefs.h
<<_ACEOF
29686 #define HAVE_MBSTATE_T 1
29689 for ac_func
in wcsrtombs
29691 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29692 if test "x$ac_cv_func_wcsrtombs" = xyes
; then :
29693 cat >>confdefs.h
<<_ACEOF
29694 #define HAVE_WCSRTOMBS 1
29703 for ac_func
in snprintf vsnprintf vsscanf
29705 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29706 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29707 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29708 cat >>confdefs.h
<<_ACEOF
29709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29717 ac_cpp
='$CXXCPP $CPPFLAGS'
29718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29722 if test "$ac_cv_func_vsnprintf" = "yes"; then
29723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29724 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29725 if ${wx_cv_func_vsnprintf_decl+:} false
; then :
29726 $as_echo_n "(cached) " >&6
29729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h. */
29733 #include <stdarg.h>
29741 vsnprintf(buf, 10u, "%s", ap);
29747 if ac_fn_cxx_try_compile
"$LINENO"; then :
29748 wx_cv_func_vsnprintf_decl
=yes
29750 wx_cv_func_vsnprintf_decl
=no
29753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29758 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29760 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29761 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29765 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29766 if ${wx_cv_func_broken_vsnprintf_decl+:} false
; then :
29767 $as_echo_n "(cached) " >&6
29770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29771 /* end confdefs.h. */
29774 #include <stdarg.h>
29776 #if __MSL__ >= 0x6000
29778 using namespace std;
29788 const char *fmt = "%s";
29789 vsnprintf(buf, 10u, fmt, ap);
29795 if ac_fn_cxx_try_compile
"$LINENO"; then :
29796 wx_cv_func_broken_vsnprintf_decl
=no
29798 wx_cv_func_broken_vsnprintf_decl
=yes
29801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29806 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29808 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29809 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29815 if test "$ac_cv_func_snprintf" = "yes"; then
29816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29817 $as_echo_n "checking for snprintf declaration... " >&6; }
29818 if ${wx_cv_func_snprintf_decl+:} false
; then :
29819 $as_echo_n "(cached) " >&6
29822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29823 /* end confdefs.h. */
29826 #include <stdarg.h>
29828 #if __MSL__ >= 0x6000
29830 using namespace std;
29839 snprintf(buf, 10u, "%s", "wx");
29845 if ac_fn_cxx_try_compile
"$LINENO"; then :
29846 wx_cv_func_snprintf_decl
=yes
29848 wx_cv_func_snprintf_decl
=no
29851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29856 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29858 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29859 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29863 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29866 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29867 if ${wx_cv_func_snprintf_pos_params+:} false
; then :
29868 $as_echo_n "(cached) " >&6
29871 if test "$cross_compiling" = yes; then :
29873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29874 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29875 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29876 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29877 wx_cv_func_snprintf_pos_params
=no
29881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29882 /* end confdefs.h. */
29889 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29890 if (strcmp ("2 3 1", buffer) == 0)
29896 if ac_fn_cxx_try_run
"$LINENO"; then :
29897 wx_cv_func_snprintf_pos_params
=no
29899 wx_cv_func_snprintf_pos_params
=yes
29901 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
29902 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
29908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29909 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29911 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29912 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29918 if test "$ac_cv_func_vsscanf" = "yes"; then
29919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29920 $as_echo_n "checking for vsscanf declaration... " >&6; }
29921 if ${wx_cv_func_vsscanf_decl+:} false
; then :
29922 $as_echo_n "(cached) " >&6
29925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29926 /* end confdefs.h. */
29929 #include <stdarg.h>
29931 #if __MSL__ >= 0x6000
29933 using namespace std;
29943 vsscanf(buf, "%s", args);
29949 if ac_fn_cxx_try_compile
"$LINENO"; then :
29950 wx_cv_func_vsscanf_decl
=yes
29952 wx_cv_func_vsscanf_decl
=no
29955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29960 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29962 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29963 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29968 ac_cpp
='$CPP $CPPFLAGS'
29969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29974 if test "$wxUSE_UNICODE" = yes; then
29976 wchar_headers
="#include <stdio.h>
29977 #include <wchar.h>"
29980 for ac_header
in widec.h
29982 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29984 if test "x$ac_cv_header_widec_h" = xyes
; then :
29985 cat >>confdefs.h
<<_ACEOF
29986 #define HAVE_WIDEC_H 1
29993 if test "$ac_cv_header_widec_h" = "yes"; then
29994 wchar_headers
="$wchar_headers
29995 #include <widec.h>"
30000 for wx_func
in putws fputws wprintf vswprintf vswscanf
30002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30003 $as_echo_n "checking for $wx_func... " >&6; }
30004 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30005 $as_echo_n "(cached) " >&6
30008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30009 /* end confdefs.h. */
30013 $ac_includes_default
30029 if ac_fn_c_try_link
"$LINENO"; then :
30030 eval wx_cv_func_
$wx_func=yes
30032 eval wx_cv_func_
$wx_func=no
30034 rm -f core conftest.err conftest.
$ac_objext \
30035 conftest
$ac_exeext conftest.
$ac_ext
30038 eval ac_res
=\
$wx_cv_func_$wx_func
30039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30040 $as_echo "$ac_res" >&6; }
30042 if eval test \
$wx_cv_func_$wx_func = yes
30044 cat >>confdefs.h
<<_ACEOF
30045 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30057 $as_echo_n "checking for _vsnwprintf... " >&6; }
30058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30059 /* end confdefs.h. */
30069 if ac_fn_c_try_compile
"$LINENO"; then :
30070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30071 $as_echo "yes" >&6; }
30072 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30076 $as_echo "no" >&6; }
30078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30081 if test "$wxUSE_FILE" = "yes"; then
30083 for wx_func
in fsync
30085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30086 $as_echo_n "checking for $wx_func... " >&6; }
30087 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30088 $as_echo_n "(cached) " >&6
30091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30092 /* end confdefs.h. */
30096 $ac_includes_default
30112 if ac_fn_c_try_link
"$LINENO"; then :
30113 eval wx_cv_func_
$wx_func=yes
30115 eval wx_cv_func_
$wx_func=no
30117 rm -f core conftest.err conftest.
$ac_objext \
30118 conftest
$ac_exeext conftest.
$ac_ext
30121 eval ac_res
=\
$wx_cv_func_$wx_func
30122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30123 $as_echo "$ac_res" >&6; }
30125 if eval test \
$wx_cv_func_$wx_func = yes
30127 cat >>confdefs.h
<<_ACEOF
30128 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30141 ac_cpp
='$CXXCPP $CPPFLAGS'
30142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30147 for wx_func
in round
30149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30150 $as_echo_n "checking for $wx_func... " >&6; }
30151 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30152 $as_echo_n "(cached) " >&6
30155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30156 /* end confdefs.h. */
30160 $ac_includes_default
30176 if ac_fn_cxx_try_link
"$LINENO"; then :
30177 eval wx_cv_func_
$wx_func=yes
30179 eval wx_cv_func_
$wx_func=no
30181 rm -f core conftest.err conftest.
$ac_objext \
30182 conftest
$ac_exeext conftest.
$ac_ext
30185 eval ac_res
=\
$wx_cv_func_$wx_func
30186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30187 $as_echo "$ac_res" >&6; }
30189 if eval test \
$wx_cv_func_$wx_func = yes
30191 cat >>confdefs.h
<<_ACEOF
30192 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30203 ac_cpp
='$CPP $CPPFLAGS'
30204 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30205 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30206 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30209 if test "$TOOLKIT" != "MSW"; then
30211 if test "$wxUSE_LIBICONV" != "no" ; then
30215 # Check whether --with-libiconv-prefix was given.
30216 if test "${with_libiconv_prefix+set}" = set; then :
30217 withval
=$with_libiconv_prefix;
30218 for dir
in `echo "$withval" | tr : ' '`; do
30219 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30220 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30227 $as_echo_n "checking for iconv... " >&6; }
30228 if ${am_cv_func_iconv+:} false
; then :
30229 $as_echo_n "(cached) " >&6
30232 am_cv_func_iconv
="no, consider installing GNU libiconv"
30234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30235 /* end confdefs.h. */
30236 #include <stdlib.h>
30241 iconv_t cd = iconv_open("","");
30242 iconv(cd,NULL,NULL,NULL,NULL);
30248 if ac_fn_c_try_link
"$LINENO"; then :
30249 am_cv_func_iconv
=yes
30251 rm -f core conftest.err conftest.
$ac_objext \
30252 conftest
$ac_exeext conftest.
$ac_ext
30253 if test "$am_cv_func_iconv" != yes; then
30254 am_save_LIBS
="$LIBS"
30255 LIBS
="$LIBS -liconv"
30256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30257 /* end confdefs.h. */
30258 #include <stdlib.h>
30263 iconv_t cd = iconv_open("","");
30264 iconv(cd,NULL,NULL,NULL,NULL);
30270 if ac_fn_c_try_link
"$LINENO"; then :
30271 am_cv_lib_iconv
=yes
30272 am_cv_func_iconv
=yes
30274 rm -f core conftest.err conftest.
$ac_objext \
30275 conftest
$ac_exeext conftest.
$ac_ext
30276 LIBS
="$am_save_LIBS"
30280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30281 $as_echo "$am_cv_func_iconv" >&6; }
30282 if test "$am_cv_func_iconv" = yes; then
30284 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30287 $as_echo_n "checking if iconv needs const... " >&6; }
30288 if ${wx_cv_func_iconv_const+:} false
; then :
30289 $as_echo_n "(cached) " >&6
30291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30292 /* end confdefs.h. */
30294 #include <stdlib.h>
30300 #if defined(__STDC__) || defined(__cplusplus)
30301 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30314 if ac_fn_c_try_compile
"$LINENO"; then :
30315 wx_cv_func_iconv_const
="no"
30317 wx_cv_func_iconv_const
="yes"
30320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30324 $as_echo "$wx_cv_func_iconv_const" >&6; }
30327 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30328 iconv_const
="const"
30332 cat >>confdefs.h
<<_ACEOF
30333 #define ICONV_CONST $iconv_const
30338 if test "$am_cv_lib_iconv" = yes; then
30343 LIBS
="$LIBICONV $LIBS"
30346 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30347 for ac_func
in sigaction
30349 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30350 if test "x$ac_cv_func_sigaction" = xyes
; then :
30351 cat >>confdefs.h
<<_ACEOF
30352 #define HAVE_SIGACTION 1
30359 if test "$ac_cv_func_sigaction" = "no"; then
30360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30361 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30362 wxUSE_ON_FATAL_EXCEPTION
=no
30365 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30367 $as_echo_n "checking for sa_handler type... " >&6; }
30368 if ${wx_cv_type_sa_handler+:} false
; then :
30369 $as_echo_n "(cached) " >&6
30373 ac_cpp
='$CXXCPP $CPPFLAGS'
30374 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30375 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30376 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30379 /* end confdefs.h. */
30380 #include <signal.h>
30385 extern void testSigHandler(int);
30387 struct sigaction sa;
30388 sa.sa_handler = testSigHandler;
30394 if ac_fn_cxx_try_compile
"$LINENO"; then :
30396 wx_cv_type_sa_handler
=int
30400 wx_cv_type_sa_handler
=void
30403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30405 ac_cpp
='$CPP $CPPFLAGS'
30406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30413 $as_echo "$wx_cv_type_sa_handler" >&6; }
30415 cat >>confdefs.h
<<_ACEOF
30416 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30422 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30424 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30425 if ${wx_cv_func_backtrace+:} false
; then :
30426 $as_echo_n "(cached) " >&6
30430 ac_cpp
='$CXXCPP $CPPFLAGS'
30431 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30432 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30433 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30436 /* end confdefs.h. */
30437 #include <execinfo.h>
30445 backtrace(trace, 1);
30446 messages = backtrace_symbols(trace, 1);
30452 if ac_fn_cxx_try_compile
"$LINENO"; then :
30453 wx_cv_func_backtrace
=yes
30455 wx_cv_func_backtrace
=no
30458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30460 ac_cpp
='$CPP $CPPFLAGS'
30461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30469 $as_echo "$wx_cv_func_backtrace" >&6; }
30472 if test "$wx_cv_func_backtrace" = "no"; then
30473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30474 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30475 wxUSE_STACKWALKER
=no
30477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30478 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30479 if ${wx_cv_func_cxa_demangle+:} false
; then :
30480 $as_echo_n "(cached) " >&6
30484 ac_cpp
='$CXXCPP $CPPFLAGS'
30485 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30486 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30487 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30490 /* end confdefs.h. */
30491 #include <cxxabi.h>
30497 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30503 if ac_fn_cxx_try_link
"$LINENO"; then :
30504 wx_cv_func_cxa_demangle
=yes
30506 wx_cv_func_cxa_demangle
=no
30509 rm -f core conftest.err conftest.
$ac_objext \
30510 conftest
$ac_exeext conftest.
$ac_ext
30512 ac_cpp
='$CPP $CPPFLAGS'
30513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30521 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30523 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30524 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30530 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30532 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30533 wxUSE_STACKWALKER
=no
30537 for ac_func
in mkstemp mktemp
30539 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30540 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30541 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30542 cat >>confdefs.h
<<_ACEOF
30543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30551 $as_echo_n "checking for statfs... " >&6; }
30552 if ${wx_cv_func_statfs+:} false
; then :
30553 $as_echo_n "(cached) " >&6
30555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30556 /* end confdefs.h. */
30558 #if defined(__BSD__)
30559 #include <sys/param.h>
30560 #include <sys/mount.h>
30562 #include <sys/vfs.h>
30580 if ac_fn_c_try_compile
"$LINENO"; then :
30581 wx_cv_func_statfs
=yes
30583 wx_cv_func_statfs
=no
30586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30590 $as_echo "$wx_cv_func_statfs" >&6; }
30592 if test "$wx_cv_func_statfs" = "yes"; then
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30594 $as_echo_n "checking for statfs declaration... " >&6; }
30595 if ${wx_cv_func_statfs_decl+:} false
; then :
30596 $as_echo_n "(cached) " >&6
30599 ac_cpp
='$CXXCPP $CPPFLAGS'
30600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30605 /* end confdefs.h. */
30607 #if defined(__BSD__)
30608 #include <sys/param.h>
30609 #include <sys/mount.h>
30611 #include <sys/vfs.h>
30625 if ac_fn_cxx_try_compile
"$LINENO"; then :
30626 wx_cv_func_statfs_decl
=yes
30628 wx_cv_func_statfs_decl
=no
30631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30633 ac_cpp
='$CPP $CPPFLAGS'
30634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30641 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30643 if test "$wx_cv_func_statfs_decl" = "yes"; then
30644 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30648 wx_cv_type_statvfs_t
="struct statfs"
30649 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30653 $as_echo_n "checking for statvfs... " >&6; }
30654 if ${wx_cv_func_statvfs+:} false
; then :
30655 $as_echo_n "(cached) " >&6
30657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30658 /* end confdefs.h. */
30660 #include <stddef.h>
30661 #include <sys/statvfs.h>
30667 statvfs("/", NULL);
30673 if ac_fn_c_try_compile
"$LINENO"; then :
30674 wx_cv_func_statvfs
=yes
30676 wx_cv_func_statvfs
=no
30679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30683 $as_echo "$wx_cv_func_statvfs" >&6; }
30685 if test "$wx_cv_func_statvfs" = "yes"; then
30686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30687 $as_echo_n "checking for statvfs argument type... " >&6; }
30688 if ${wx_cv_type_statvfs_t+:} false
; then :
30689 $as_echo_n "(cached) " >&6
30692 ac_cpp
='$CXXCPP $CPPFLAGS'
30693 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30694 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30695 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30698 /* end confdefs.h. */
30700 #include <sys/statvfs.h>
30717 if ac_fn_cxx_try_compile
"$LINENO"; then :
30718 wx_cv_type_statvfs_t
=statvfs_t
30721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30722 /* end confdefs.h. */
30724 #include <sys/statvfs.h>
30741 if ac_fn_cxx_try_compile
"$LINENO"; then :
30742 wx_cv_type_statvfs_t
="struct statvfs"
30744 wx_cv_type_statvfs_t
="unknown"
30747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30753 ac_cpp
='$CPP $CPPFLAGS'
30754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30761 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30763 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30764 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30768 wx_cv_type_statvfs_t
="unknown"
30772 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30773 cat >>confdefs.h
<<_ACEOF
30774 #define WX_STATFS_T $wx_cv_type_statvfs_t
30778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30779 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30782 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30783 for ac_func
in fcntl flock
30785 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30786 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30787 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30788 cat >>confdefs.h
<<_ACEOF
30789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30796 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30798 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30799 wxUSE_SNGLINST_CHECKER
=no
30803 for ac_func
in setenv putenv
30805 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30806 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30807 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30808 cat >>confdefs.h
<<_ACEOF
30809 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30815 if test "$ac_cv_func_setenv" = "yes"; then
30816 for ac_func
in unsetenv
30818 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30819 if test "x$ac_cv_func_unsetenv" = xyes
; then :
30820 cat >>confdefs.h
<<_ACEOF
30821 #define HAVE_UNSETENV 1
30829 HAVE_SOME_SLEEP_FUNC
=0
30830 if test "$USE_BEOS" = 1; then
30831 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30833 HAVE_SOME_SLEEP_FUNC
=1
30836 if test "$USE_DARWIN" = 1; then
30837 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30839 HAVE_SOME_SLEEP_FUNC
=1
30842 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30844 for ac_func
in nanosleep
30846 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30847 if test "x$ac_cv_func_nanosleep" = xyes
; then :
30848 cat >>confdefs.h
<<_ACEOF
30849 #define HAVE_NANOSLEEP 1
30851 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30856 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30857 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
30858 $as_echo_n "(cached) " >&6
30860 ac_check_lib_save_LIBS
=$LIBS
30861 LIBS
="-lposix4 $LIBS"
30862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30863 /* end confdefs.h. */
30865 /* Override any GCC internal prototype to avoid an error.
30866 Use char because int might match the return type of a GCC
30867 builtin and then its argument prototype would still apply. */
30875 return nanosleep ();
30880 if ac_fn_c_try_link
"$LINENO"; then :
30881 ac_cv_lib_posix4_nanosleep
=yes
30883 ac_cv_lib_posix4_nanosleep
=no
30885 rm -f core conftest.err conftest.
$ac_objext \
30886 conftest
$ac_exeext conftest.
$ac_ext
30887 LIBS
=$ac_check_lib_save_LIBS
30889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30890 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30891 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
30893 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30895 POSIX4_LINK
=" -lposix4"
30900 for wx_func
in usleep
30902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30903 $as_echo_n "checking for $wx_func... " >&6; }
30904 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30905 $as_echo_n "(cached) " >&6
30908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30909 /* end confdefs.h. */
30913 $ac_includes_default
30929 if ac_fn_c_try_link
"$LINENO"; then :
30930 eval wx_cv_func_
$wx_func=yes
30932 eval wx_cv_func_
$wx_func=no
30934 rm -f core conftest.err conftest.
$ac_objext \
30935 conftest
$ac_exeext conftest.
$ac_ext
30938 eval ac_res
=\
$wx_cv_func_$wx_func
30939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30940 $as_echo "$ac_res" >&6; }
30942 if eval test \
$wx_cv_func_$wx_func = yes
30944 cat >>confdefs.h
<<_ACEOF
30945 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30952 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30969 for wx_func
in uname
30971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30972 $as_echo_n "checking for $wx_func... " >&6; }
30973 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30974 $as_echo_n "(cached) " >&6
30977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30978 /* end confdefs.h. */
30981 #include <sys/utsname.h>
30982 $ac_includes_default
30998 if ac_fn_c_try_link
"$LINENO"; then :
30999 eval wx_cv_func_
$wx_func=yes
31001 eval wx_cv_func_
$wx_func=no
31003 rm -f core conftest.err conftest.
$ac_objext \
31004 conftest
$ac_exeext conftest.
$ac_ext
31007 eval ac_res
=\
$wx_cv_func_$wx_func
31008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31009 $as_echo "$ac_res" >&6; }
31011 if eval test \
$wx_cv_func_$wx_func = yes
31013 cat >>confdefs.h
<<_ACEOF
31014 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31024 if test "$wx_cv_func_uname" != yes; then
31026 for wx_func
in gethostname
31028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31029 $as_echo_n "checking for $wx_func... " >&6; }
31030 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31031 $as_echo_n "(cached) " >&6
31034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31035 /* end confdefs.h. */
31039 $ac_includes_default
31055 if ac_fn_c_try_link
"$LINENO"; then :
31056 eval wx_cv_func_
$wx_func=yes
31058 eval wx_cv_func_
$wx_func=no
31060 rm -f core conftest.err conftest.
$ac_objext \
31061 conftest
$ac_exeext conftest.
$ac_ext
31064 eval ac_res
=\
$wx_cv_func_$wx_func
31065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31066 $as_echo "$ac_res" >&6; }
31068 if eval test \
$wx_cv_func_$wx_func = yes
31070 cat >>confdefs.h
<<_ACEOF
31071 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31084 for wx_func
in strtok_r
31086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31087 $as_echo_n "checking for $wx_func... " >&6; }
31088 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31089 $as_echo_n "(cached) " >&6
31092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31093 /* end confdefs.h. */
31097 $ac_includes_default
31113 if ac_fn_c_try_link
"$LINENO"; then :
31114 eval wx_cv_func_
$wx_func=yes
31116 eval wx_cv_func_
$wx_func=no
31118 rm -f core conftest.err conftest.
$ac_objext \
31119 conftest
$ac_exeext conftest.
$ac_ext
31122 eval ac_res
=\
$wx_cv_func_$wx_func
31123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31124 $as_echo "$ac_res" >&6; }
31126 if eval test \
$wx_cv_func_$wx_func = yes
31128 cat >>confdefs.h
<<_ACEOF
31129 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31141 for ac_func
in inet_addr
31143 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31144 if test "x$ac_cv_func_inet_addr" = xyes
; then :
31145 cat >>confdefs.h
<<_ACEOF
31146 #define HAVE_INET_ADDR 1
31148 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31153 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31154 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
31155 $as_echo_n "(cached) " >&6
31157 ac_check_lib_save_LIBS
=$LIBS
31159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31160 /* end confdefs.h. */
31162 /* Override any GCC internal prototype to avoid an error.
31163 Use char because int might match the return type of a GCC
31164 builtin and then its argument prototype would still apply. */
31172 return inet_addr ();
31177 if ac_fn_c_try_link
"$LINENO"; then :
31178 ac_cv_lib_nsl_inet_addr
=yes
31180 ac_cv_lib_nsl_inet_addr
=no
31182 rm -f core conftest.err conftest.
$ac_objext \
31183 conftest
$ac_exeext conftest.
$ac_ext
31184 LIBS
=$ac_check_lib_save_LIBS
31186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31187 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31188 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
31192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31193 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31194 if ${ac_cv_lib_resolv_inet_addr+:} false
; then :
31195 $as_echo_n "(cached) " >&6
31197 ac_check_lib_save_LIBS
=$LIBS
31198 LIBS
="-lresolv $LIBS"
31199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31200 /* end confdefs.h. */
31202 /* Override any GCC internal prototype to avoid an error.
31203 Use char because int might match the return type of a GCC
31204 builtin and then its argument prototype would still apply. */
31212 return inet_addr ();
31217 if ac_fn_c_try_link
"$LINENO"; then :
31218 ac_cv_lib_resolv_inet_addr
=yes
31220 ac_cv_lib_resolv_inet_addr
=no
31222 rm -f core conftest.err conftest.
$ac_objext \
31223 conftest
$ac_exeext conftest.
$ac_ext
31224 LIBS
=$ac_check_lib_save_LIBS
31226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31227 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31228 if test "x$ac_cv_lib_resolv_inet_addr" = xyes
; then :
31232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31233 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31234 if ${ac_cv_lib_socket_inet_addr+:} false
; then :
31235 $as_echo_n "(cached) " >&6
31237 ac_check_lib_save_LIBS
=$LIBS
31238 LIBS
="-lsocket $LIBS"
31239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31240 /* end confdefs.h. */
31242 /* Override any GCC internal prototype to avoid an error.
31243 Use char because int might match the return type of a GCC
31244 builtin and then its argument prototype would still apply. */
31252 return inet_addr ();
31257 if ac_fn_c_try_link
"$LINENO"; then :
31258 ac_cv_lib_socket_inet_addr
=yes
31260 ac_cv_lib_socket_inet_addr
=no
31262 rm -f core conftest.err conftest.
$ac_objext \
31263 conftest
$ac_exeext conftest.
$ac_ext
31264 LIBS
=$ac_check_lib_save_LIBS
31266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31267 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31268 if test "x$ac_cv_lib_socket_inet_addr" = xyes
; then :
31287 for ac_func
in inet_aton
31289 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31290 if test "x$ac_cv_func_inet_aton" = xyes
; then :
31291 cat >>confdefs.h
<<_ACEOF
31292 #define HAVE_INET_ATON 1
31294 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31298 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31300 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31301 if eval \
${$as_ac_Lib+:} false
; then :
31302 $as_echo_n "(cached) " >&6
31304 ac_check_lib_save_LIBS
=$LIBS
31305 LIBS
="-l$INET_LINK $LIBS"
31306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31307 /* end confdefs.h. */
31309 /* Override any GCC internal prototype to avoid an error.
31310 Use char because int might match the return type of a GCC
31311 builtin and then its argument prototype would still apply. */
31319 return inet_aton ();
31324 if ac_fn_c_try_link
"$LINENO"; then :
31325 eval "$as_ac_Lib=yes"
31327 eval "$as_ac_Lib=no"
31329 rm -f core conftest.err conftest.
$ac_objext \
31330 conftest
$ac_exeext conftest.
$ac_ext
31331 LIBS
=$ac_check_lib_save_LIBS
31333 eval ac_res
=\$
$as_ac_Lib
31334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31335 $as_echo "$ac_res" >&6; }
31336 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31337 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31346 if test "x$INET_LINK" != "x"; then
31347 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31349 INET_LINK
=" -l$INET_LINK"
31353 for wx_func
in fdopen
31355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31356 $as_echo_n "checking for $wx_func... " >&6; }
31357 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31358 $as_echo_n "(cached) " >&6
31361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h. */
31366 $ac_includes_default
31382 if ac_fn_c_try_link
"$LINENO"; then :
31383 eval wx_cv_func_
$wx_func=yes
31385 eval wx_cv_func_
$wx_func=no
31387 rm -f core conftest.err conftest.
$ac_objext \
31388 conftest
$ac_exeext conftest.
$ac_ext
31391 eval ac_res
=\
$wx_cv_func_$wx_func
31392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31393 $as_echo "$ac_res" >&6; }
31395 if eval test \
$wx_cv_func_$wx_func = yes
31397 cat >>confdefs.h
<<_ACEOF
31398 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31409 if test "$wxUSE_TARSTREAM" = "yes"; then
31411 for wx_func
in sysconf
31413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31414 $as_echo_n "checking for $wx_func... " >&6; }
31415 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31416 $as_echo_n "(cached) " >&6
31419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31420 /* end confdefs.h. */
31424 $ac_includes_default
31440 if ac_fn_c_try_link
"$LINENO"; then :
31441 eval wx_cv_func_
$wx_func=yes
31443 eval wx_cv_func_
$wx_func=no
31445 rm -f core conftest.err conftest.
$ac_objext \
31446 conftest
$ac_exeext conftest.
$ac_ext
31449 eval ac_res
=\
$wx_cv_func_$wx_func
31450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31451 $as_echo "$ac_res" >&6; }
31453 if eval test \
$wx_cv_func_$wx_func = yes
31455 cat >>confdefs.h
<<_ACEOF
31456 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31468 for wx_func
in getpwuid_r
31470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31471 $as_echo_n "checking for $wx_func... " >&6; }
31472 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31473 $as_echo_n "(cached) " >&6
31476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31477 /* end confdefs.h. */
31484 $ac_includes_default
31494 struct passwd pw, *ppw;
31496 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31504 if ac_fn_c_try_link
"$LINENO"; then :
31505 eval wx_cv_func_
$wx_func=yes
31507 eval wx_cv_func_
$wx_func=no
31509 rm -f core conftest.err conftest.
$ac_objext \
31510 conftest
$ac_exeext conftest.
$ac_ext
31513 eval ac_res
=\
$wx_cv_func_$wx_func
31514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31515 $as_echo "$ac_res" >&6; }
31517 if eval test \
$wx_cv_func_$wx_func = yes
31519 cat >>confdefs.h
<<_ACEOF
31520 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31532 for wx_func
in getgrgid_r
31534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31535 $as_echo_n "checking for $wx_func... " >&6; }
31536 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31537 $as_echo_n "(cached) " >&6
31540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31541 /* end confdefs.h. */
31548 $ac_includes_default
31558 struct group grp, *pgrp;
31560 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31568 if ac_fn_c_try_link
"$LINENO"; then :
31569 eval wx_cv_func_
$wx_func=yes
31571 eval wx_cv_func_
$wx_func=no
31573 rm -f core conftest.err conftest.
$ac_objext \
31574 conftest
$ac_exeext conftest.
$ac_ext
31577 eval ac_res
=\
$wx_cv_func_$wx_func
31578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31579 $as_echo "$ac_res" >&6; }
31581 if eval test \
$wx_cv_func_$wx_func = yes
31583 cat >>confdefs.h
<<_ACEOF
31584 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31600 cat >confcache
<<\_ACEOF
31601 # This file is a shell script that caches the results of configure
31602 # tests run on this system so they can be shared between configure
31603 # scripts and configure runs, see configure's option --config-cache.
31604 # It is not useful on other systems. If it contains results you don't
31605 # want to keep, you may remove or edit it.
31607 # config.status only pays attention to the cache file if you give it
31608 # the --recheck option to rerun configure.
31610 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31611 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31612 # following values.
31616 # The following way of writing the cache mishandles newlines in values,
31617 # but we know of no workaround that is simple, portable, and efficient.
31618 # So, we kill variables containing newlines.
31619 # Ultrix sh set writes to stderr and can't be redirected directly,
31620 # and sets the high bit in the cache file unless we assign to the vars.
31622 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31623 eval ac_val
=\$
$ac_var
31627 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31628 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31631 _
| IFS
| as_nl
) ;; #(
31632 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31633 *) { eval $ac_var=; unset $ac_var;} ;;
31639 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31640 *${as_nl}ac_space
=\
*)
31641 # `set' does not quote correctly, so add quotes: double-quote
31642 # substitution turns \\\\ into \\, and sed turns \\ into \.
31645 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31648 # `set' quotes correctly as required by POSIX, so do not add quotes.
31649 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31658 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31660 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31662 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31663 if test -w "$cache_file"; then
31664 if test "x$cache_file" != "x/dev/null"; then
31665 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31666 $as_echo "$as_me: updating cache $cache_file" >&6;}
31667 if test ! -f "$cache_file" || test -h "$cache_file"; then
31668 cat confcache
>"$cache_file"
31670 case $cache_file in #(
31672 mv -f confcache
"$cache_file"$$
&&
31673 mv -f "$cache_file"$$
"$cache_file" ;; #(
31675 mv -f confcache
"$cache_file" ;;
31680 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31681 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31687 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31693 if test "$wxUSE_THREADS" = "yes" ; then
31694 if test "$USE_BEOS" = 1; then
31695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31696 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31701 if test "$wxUSE_THREADS" = "yes" ; then
31704 THREAD_OPTS
="-pthread"
31705 if test "x$SUNCXX" = xyes
; then
31706 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31710 *-*-solaris2* | *-*-sunos4* )
31711 if test "x$GCC" = "xyes"; then
31712 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31716 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31718 *-*-darwin* | *-*-cygwin* )
31722 THREAD_OPTS
="pthreads"
31725 if test "x$GCC" = "xyes"; then
31726 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
31734 if test "x$GCC" = "xyes"; then
31744 if test "x$GCC" != "xyes"; then
31745 THREAD_OPTS
="-Ethread"
31752 THREAD_OPTS
="none pthread"
31756 THREAD_OPTS
="$THREAD_OPTS pthread none"
31761 for flag
in $THREAD_OPTS; do
31764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31765 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31770 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31771 THREADS_CFLAGS
="$flag"
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31776 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31777 THREADS_LINK
="-l$flag"
31782 save_CFLAGS
="$CFLAGS"
31783 LIBS
="$THREADS_LINK $LIBS"
31784 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31787 /* end confdefs.h. */
31788 #include <pthread.h>
31792 pthread_create(0,0,0,0);
31797 if ac_fn_c_try_link
"$LINENO"; then :
31800 rm -f core conftest.err conftest.
$ac_objext \
31801 conftest
$ac_exeext conftest.
$ac_ext
31804 CFLAGS
="$save_CFLAGS"
31806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31807 $as_echo "$THREADS_OK" >&6; }
31808 if test "x$THREADS_OK" = "xyes"; then
31816 if test "x$THREADS_OK" != "xyes"; then
31818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31819 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31821 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31822 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31823 LIBS
="$THREADS_LINK $LIBS"
31825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31826 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31830 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31831 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31832 flag
="-D_THREAD_SAFE"
31835 flag
="-D_THREAD_SAFE"
31838 flag
="-D_REENTRANT"
31839 if test "x$GCC" != "xyes"; then
31840 flag
="$flag -D_RWSTD_MULTI_THREAD"
31843 *solaris
* | alpha
*-osf*)
31844 flag
="-D_REENTRANT"
31847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31848 $as_echo "${flag}" >&6; }
31849 if test "x$flag" != xno
; then
31850 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31853 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31857 if test "$wxUSE_THREADS" = "yes" ; then
31858 for ac_func
in pthread_setconcurrency
31860 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31861 if test "x$ac_cv_func_pthread_setconcurrency" = xyes
; then :
31862 cat >>confdefs.h
<<_ACEOF
31863 #define HAVE_PTHREAD_SETCONCURRENCY 1
31865 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31869 for ac_func
in thr_setconcurrency
31871 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31872 if test "x$ac_cv_func_thr_setconcurrency" = xyes
; then :
31873 cat >>confdefs.h
<<_ACEOF
31874 #define HAVE_THR_SETCONCURRENCY 1
31876 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31880 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31890 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31891 if ${wx_cv_func_pthread_cleanup+:} false
; then :
31892 $as_echo_n "(cached) " >&6
31896 ac_cpp
='$CXXCPP $CPPFLAGS'
31897 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31898 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31899 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31902 /* end confdefs.h. */
31903 #include <pthread.h>
31904 void ThreadCleanupFunc(void *p);
31911 pthread_cleanup_push(ThreadCleanupFunc, p);
31912 pthread_cleanup_pop(0);
31918 if ac_fn_cxx_try_compile
"$LINENO"; then :
31920 wx_cv_func_pthread_cleanup
=yes
31924 wx_cv_func_pthread_cleanup
=no
31928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31930 ac_cpp
='$CPP $CPPFLAGS'
31931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31938 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31939 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31940 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31944 for ac_header
in sched.h
31946 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31948 if test "x$ac_cv_header_sched_h" = xyes
; then :
31949 cat >>confdefs.h
<<_ACEOF
31950 #define HAVE_SCHED_H 1
31957 if test "$ac_cv_header_sched_h" = "yes"; then
31958 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31959 if test "x$ac_cv_func_sched_yield" = xyes
; then :
31960 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31965 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31966 if ${ac_cv_lib_posix4_sched_yield+:} false
; then :
31967 $as_echo_n "(cached) " >&6
31969 ac_check_lib_save_LIBS
=$LIBS
31970 LIBS
="-lposix4 $LIBS"
31971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31972 /* end confdefs.h. */
31974 /* Override any GCC internal prototype to avoid an error.
31975 Use char because int might match the return type of a GCC
31976 builtin and then its argument prototype would still apply. */
31980 char sched_yield ();
31984 return sched_yield ();
31989 if ac_fn_c_try_link
"$LINENO"; then :
31990 ac_cv_lib_posix4_sched_yield
=yes
31992 ac_cv_lib_posix4_sched_yield
=no
31994 rm -f core conftest.err conftest.
$ac_objext \
31995 conftest
$ac_exeext conftest.
$ac_ext
31996 LIBS
=$ac_check_lib_save_LIBS
31998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31999 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32000 if test "x$ac_cv_lib_posix4_sched_yield" = xyes
; then :
32001 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32002 POSIX4_LINK
=" -lposix4"
32004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32005 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32016 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32017 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes
; then :
32018 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32019 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes
; then :
32020 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32021 if test "x$ac_cv_func_sched_get_priority_max" = xyes
; then :
32024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32025 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32026 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false
; then :
32027 $as_echo_n "(cached) " >&6
32029 ac_check_lib_save_LIBS
=$LIBS
32030 LIBS
="-lposix4 $LIBS"
32031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32032 /* end confdefs.h. */
32034 /* Override any GCC internal prototype to avoid an error.
32035 Use char because int might match the return type of a GCC
32036 builtin and then its argument prototype would still apply. */
32040 char sched_get_priority_max ();
32044 return sched_get_priority_max ();
32049 if ac_fn_c_try_link
"$LINENO"; then :
32050 ac_cv_lib_posix4_sched_get_priority_max
=yes
32052 ac_cv_lib_posix4_sched_get_priority_max
=no
32054 rm -f core conftest.err conftest.
$ac_objext \
32055 conftest
$ac_exeext conftest.
$ac_ext
32056 LIBS
=$ac_check_lib_save_LIBS
32058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32059 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32060 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes
; then :
32063 POSIX4_LINK
=" -lposix4"
32077 if test "$HAVE_PRIOR_FUNCS" = 1; then
32078 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32082 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32085 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32086 if test "x$ac_cv_func_pthread_cancel" = xyes
; then :
32087 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32091 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32095 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32096 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes
; then :
32097 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32101 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32105 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32106 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
; then :
32107 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32114 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32115 if ${wx_cv_type_pthread_mutexattr_t+:} false
; then :
32116 $as_echo_n "(cached) " >&6
32119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32120 /* end confdefs.h. */
32121 #include <pthread.h>
32126 pthread_mutexattr_t attr;
32127 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32133 if ac_fn_c_try_compile
"$LINENO"; then :
32134 wx_cv_type_pthread_mutexattr_t
=yes
32136 wx_cv_type_pthread_mutexattr_t
=no
32139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32143 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32145 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32146 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32150 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32151 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false
; then :
32152 $as_echo_n "(cached) " >&6
32155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32156 /* end confdefs.h. */
32157 #include <pthread.h>
32162 pthread_mutexattr_t attr;
32163 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32169 if ac_fn_c_try_compile
"$LINENO"; then :
32170 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32172 wx_cv_func_pthread_mutexattr_settype_decl
=no
32175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32179 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32180 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32181 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32186 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32187 if ${wx_cv_type_pthread_rec_mutex_init+:} false
; then :
32188 $as_echo_n "(cached) " >&6
32191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32192 /* end confdefs.h. */
32193 #include <pthread.h>
32198 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32204 if ac_fn_c_try_compile
"$LINENO"; then :
32206 wx_cv_type_pthread_rec_mutex_init
=yes
32210 wx_cv_type_pthread_rec_mutex_init
=no
32214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32218 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32219 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32220 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32224 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32228 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32229 if test "$USE_NETBSD" = 1; then
32230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32231 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32232 wxUSE_COMPILER_TLS
=no
32234 wxUSE_COMPILER_TLS
=yes
32238 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32240 $as_echo_n "checking for __thread keyword... " >&6; }
32241 if ${wx_cv_cc___thread+:} false
; then :
32242 $as_echo_n "(cached) " >&6
32245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32246 /* end confdefs.h. */
32247 #include <pthread.h>
32252 static __thread int n = 0;
32253 static __thread int *p = 0;
32259 if ac_fn_c_try_compile
"$LINENO"; then :
32260 wx_cv_cc___thread
=yes
32262 wx_cv_cc___thread
=no
32265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32270 $as_echo "$wx_cv_cc___thread" >&6; }
32272 if test "$wx_cv_cc___thread" = "yes"; then
32278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32279 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32281 if test "x$GCC" = "xyes" ; then :
32283 if test -z "" ; then :
32285 ax_gcc_option_test
="int main()
32292 ax_gcc_option_test
=""
32296 # Dump the test program to file
32297 cat <<EOF > conftest.c
32298 $ax_gcc_option_test
32301 # Dump back the file to the log, useful for debugging purposes
32302 { ac_try
='cat conftest.c 1>&5'
32303 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32304 (eval $ac_try) 2>&5
32306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32307 test $ac_status = 0; }; }
32309 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32310 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32311 (eval $ac_try) 2>&5
32313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32314 test $ac_status = 0; }; } ; then :
32316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32317 $as_echo "yes" >&6; }
32319 ax_gcc_version_option
=yes
32324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32325 $as_echo "no" >&6; }
32327 ax_gcc_version_option
=no
32334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32335 $as_echo "no gcc available" >&6; }
32339 if test "x$GXX" = "xyes"; then :
32341 if test "x$ax_gxx_version_option" != "no"; then :
32343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32344 $as_echo_n "checking gxx version... " >&6; }
32345 if ${ax_cv_gxx_version+:} false
; then :
32346 $as_echo_n "(cached) " >&6
32349 ax_cv_gxx_version
="`$CXX -dumpversion`"
32350 if test "x$ax_cv_gxx_version" = "x"; then :
32352 ax_cv_gxx_version
=""
32357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32358 $as_echo "$ax_cv_gxx_version" >&6; }
32359 GXX_VERSION
=$ax_cv_gxx_version
32366 if test -n "$ax_cv_gxx_version"; then
32367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32368 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32369 case "$ax_cv_gxx_version" in
32371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32372 $as_echo "no, it's broken" >&6; }
32373 wx_cv_cc___thread
=no
32376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32377 $as_echo "yes, it works" >&6; }
32383 if test "$wx_cv_cc___thread" = "yes"; then
32384 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32391 if test "$wxUSE_THREADS" = "yes" ; then
32393 x86_64
-*-mingw32* )
32396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32397 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32398 if ${wx_cv_cflags_mthread+:} false
; then :
32399 $as_echo_n "(cached) " >&6
32402 CFLAGS_OLD
="$CFLAGS"
32403 CFLAGS
="-mthreads $CFLAGS"
32404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32405 /* end confdefs.h. */
32415 if ac_fn_c_try_compile
"$LINENO"; then :
32416 wx_cv_cflags_mthread
=yes
32418 wx_cv_cflags_mthread
=no
32421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32426 $as_echo "$wx_cv_cflags_mthread" >&6; }
32428 if test "$wx_cv_cflags_mthread" = "yes"; then
32429 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32430 LDFLAGS
="$LDFLAGS -mthreads"
32432 CFLAGS
="$CFLAGS_OLD"
32436 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32437 LDFLAGS
="$LDFLAGS -Zmt"
32443 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32444 if test "x$ac_cv_func_localtime_r" = xyes
; then :
32445 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32449 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32450 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
32451 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32459 ac_cpp
='$CPP $CPPFLAGS'
32460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32465 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32467 if ${ac_cv_func_which_gethostbyname_r+:} false
; then :
32468 $as_echo_n "(cached) " >&6
32472 ################################################################
32474 ac_cv_func_which_gethostbyname_r
=unknown
32477 # ONE ARGUMENT (sanity check)
32480 # This should fail, as there is no variant of gethostbyname_r() that takes
32481 # a single argument. If it actually compiles, then we can assume that
32482 # netdb.h is not declaring the function, and the compiler is thereby
32483 # assuming an implicit prototype. In which case, we're out of luck.
32485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32486 /* end confdefs.h. */
32492 char *name = "www.gnu.org";
32493 (void)gethostbyname_r(name) /* ; */
32500 if ac_fn_c_try_compile
"$LINENO"; then :
32501 ac_cv_func_which_gethostbyname_r
=no
32504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32511 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32514 /* end confdefs.h. */
32520 char *name = "www.gnu.org";
32521 struct hostent ret, *retp;
32525 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32532 if ac_fn_c_try_compile
"$LINENO"; then :
32533 ac_cv_func_which_gethostbyname_r
=six
32536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32545 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32548 /* end confdefs.h. */
32554 char *name = "www.gnu.org";
32555 struct hostent ret;
32559 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32566 if ac_fn_c_try_compile
"$LINENO"; then :
32567 ac_cv_func_which_gethostbyname_r
=five
32570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32576 # (e.g. AIX, HP-UX, Tru64)
32579 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32582 /* end confdefs.h. */
32588 char *name = "www.gnu.org";
32589 struct hostent ret;
32590 struct hostent_data data;
32591 (void)gethostbyname_r(name, &ret, &data) /* ; */
32598 if ac_fn_c_try_compile
"$LINENO"; then :
32599 ac_cv_func_which_gethostbyname_r
=three
32602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32606 ################################################################
32611 case "$ac_cv_func_which_gethostbyname_r" in
32613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32614 $as_echo "three" >&6; }
32615 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32621 $as_echo "five" >&6; }
32622 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32628 $as_echo "six" >&6; }
32629 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32635 $as_echo "cannot find function declaration in netdb.h" >&6; }
32639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32640 $as_echo "can't tell" >&6; }
32644 as_fn_error $?
"internal error" "$LINENO" 5
32649 ac_cpp
='$CPP $CPPFLAGS'
32650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32656 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32657 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32658 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32659 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
32660 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32667 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32668 if ${ac_cv_func_which_getservbyname_r+:} false
; then :
32669 $as_echo_n "(cached) " >&6
32673 ac_cpp
='$CXXCPP $CPPFLAGS'
32674 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32675 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32676 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32680 /* end confdefs.h. */
32688 struct servent *se, *res;
32691 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32697 if ac_fn_cxx_try_compile
"$LINENO"; then :
32698 ac_cv_func_which_getservbyname_r
=six
32701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32702 /* end confdefs.h. */
32710 struct servent *se;
32713 (void) getservbyname_r(name, proto, se, buffer, buflen)
32719 if ac_fn_cxx_try_compile
"$LINENO"; then :
32720 ac_cv_func_which_getservbyname_r
=five
32723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32724 /* end confdefs.h. */
32732 struct servent *se;
32733 struct servent_data data;
32734 (void) getservbyname_r(name, proto, se, &data);
32740 if ac_fn_cxx_try_compile
"$LINENO"; then :
32741 ac_cv_func_which_getservbyname_r
=four
32743 ac_cv_func_which_getservbyname_r
=no
32746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32756 ac_cpp
='$CPP $CPPFLAGS'
32757 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32765 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32767 if test $ac_cv_func_which_getservbyname_r = six
; then
32768 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32770 elif test $ac_cv_func_which_getservbyname_r = five
; then
32771 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32773 elif test $ac_cv_func_which_getservbyname_r = four
; then
32774 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32779 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32780 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32781 for ac_func
in getservbyname
32783 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32784 if test "x$ac_cv_func_getservbyname" = xyes
; then :
32785 cat >>confdefs.h
<<_ACEOF
32786 #define HAVE_GETSERVBYNAME 1
32788 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32795 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32798 if test "$wxUSE_THREADS" = "yes"; then
32799 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
32804 if test "$wx_cv_func_strtok_r" = "yes"; then
32805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32806 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32807 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32808 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32810 $as_echo "yes" >&6; }
32812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32813 $as_echo "no" >&6; }
32818 if test "$WXGTK3" = 1 ; then
32819 cat >>confdefs.h
<<_ACEOF
32820 #define __WXGTK3__ 1
32825 if test "$WXGTK2" = 1 ; then
32826 cat >>confdefs.h
<<_ACEOF
32827 #define __WXGTK20__ $WXGTK2
32832 if test "$WXGTK127" = 1 ; then
32833 cat >>confdefs.h
<<_ACEOF
32834 #define __WXGTK127__ $WXGTK127
32839 if test "$WXGPE" = 1 ; then
32840 cat >>confdefs.h
<<_ACEOF
32841 #define __WXGPE__ $WXGPE
32847 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32849 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32850 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32854 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32855 wxUSE_DEBUG_INFO
=yes
32856 if test "$GCC" = yes; then
32857 DEBUG_CFLAGS
="-ggdb"
32861 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32862 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32864 if test "$wxUSE_GTK" = 1 ; then
32865 if test "$WXGTK2" = 1 ; then
32866 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32868 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32873 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32874 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32876 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32878 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
32883 if test "$wxUSE_DMALLOC" = "yes" ; then
32884 DMALLOC_LIBS
="-ldmallocthcxx"
32888 if test "$wxUSE_PROFILE" = "yes" ; then
32889 PROFILE_FLAGS
=" -pg"
32892 if test "$GCC" = "yes" ; then
32893 if test "$wxUSE_NO_RTTI" = "yes" ; then
32894 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32896 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32897 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
32899 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32900 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
32905 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
32908 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
32914 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32916 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32918 if test "$wxUSE_OPTIMISE" = "no" ; then
32919 if test "$GCC" = yes ; then
32920 OPTIMISE_CFLAGS
="-O0"
32923 if test "$GCC" = yes ; then
32925 *-pc-os2_emx | *-pc-os2-emx )
32926 OPTIMISE_CFLAGS
="-O2"
32929 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
32933 OPTIMISE_CFLAGS
="-O"
32939 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32940 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32943 WXWIN_COMPATIBILITY_2_8
="yes"
32946 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32947 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32952 if test "$wxUSE_GUI" = "yes"; then
32953 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32959 if test "$wxUSE_UNIX" = "yes"; then
32960 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32965 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32969 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32970 if test "$USE_DOS" = 1; then
32973 for ac_func
in dlopen
32975 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
32976 if test "x$ac_cv_func_dlopen" = xyes
; then :
32977 cat >>confdefs.h
<<_ACEOF
32978 #define HAVE_DLOPEN 1
32981 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32988 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32989 if ${ac_cv_lib_dl_dlopen+:} false
; then :
32990 $as_echo_n "(cached) " >&6
32992 ac_check_lib_save_LIBS
=$LIBS
32994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32995 /* end confdefs.h. */
32997 /* Override any GCC internal prototype to avoid an error.
32998 Use char because int might match the return type of a GCC
32999 builtin and then its argument prototype would still apply. */
33012 if ac_fn_c_try_link
"$LINENO"; then :
33013 ac_cv_lib_dl_dlopen
=yes
33015 ac_cv_lib_dl_dlopen
=no
33017 rm -f core conftest.err conftest.
$ac_objext \
33018 conftest
$ac_exeext conftest.
$ac_ext
33019 LIBS
=$ac_check_lib_save_LIBS
33021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33022 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33023 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
33025 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33028 DL_LINK
=" -ldl$DL_LINK"
33032 for ac_func
in shl_load
33034 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
33035 if test "x$ac_cv_func_shl_load" = xyes
; then :
33036 cat >>confdefs.h
<<_ACEOF
33037 #define HAVE_SHL_LOAD 1
33040 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33047 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33048 if ${ac_cv_lib_shl_load_dld+:} false
; then :
33049 $as_echo_n "(cached) " >&6
33051 ac_check_lib_save_LIBS
=$LIBS
33052 LIBS
="-lshl_load $LIBS"
33053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33054 /* end confdefs.h. */
33056 /* Override any GCC internal prototype to avoid an error.
33057 Use char because int might match the return type of a GCC
33058 builtin and then its argument prototype would still apply. */
33071 if ac_fn_c_try_link
"$LINENO"; then :
33072 ac_cv_lib_shl_load_dld
=yes
33074 ac_cv_lib_shl_load_dld
=no
33076 rm -f core conftest.err conftest.
$ac_objext \
33077 conftest
$ac_exeext conftest.
$ac_ext
33078 LIBS
=$ac_check_lib_save_LIBS
33080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33081 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33082 if test "x$ac_cv_lib_shl_load_dld" = xyes
; then :
33085 DL_LINK
=" -ldld$DL_LINK"
33101 if test "$HAVE_DL_FUNCS" = 1; then
33102 for ac_func
in dlerror
33104 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33105 if test "x$ac_cv_func_dlerror" = xyes
; then :
33106 cat >>confdefs.h
<<_ACEOF
33107 #define HAVE_DLERROR 1
33109 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33114 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33115 if ${ac_cv_lib_dl_dlerror+:} false
; then :
33116 $as_echo_n "(cached) " >&6
33118 ac_check_lib_save_LIBS
=$LIBS
33120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33121 /* end confdefs.h. */
33123 /* Override any GCC internal prototype to avoid an error.
33124 Use char because int might match the return type of a GCC
33125 builtin and then its argument prototype would still apply. */
33138 if ac_fn_c_try_link
"$LINENO"; then :
33139 ac_cv_lib_dl_dlerror
=yes
33141 ac_cv_lib_dl_dlerror
=no
33143 rm -f core conftest.err conftest.
$ac_objext \
33144 conftest
$ac_exeext conftest.
$ac_ext
33145 LIBS
=$ac_check_lib_save_LIBS
33147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33148 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33149 if test "x$ac_cv_lib_dl_dlerror" = xyes
; then :
33150 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33162 if test "$USE_DARWIN" = 1; then
33166 if test "$HAVE_DL_FUNCS" = 0; then
33167 if test "$HAVE_SHL_FUNCS" = 0; then
33168 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33170 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33171 wxUSE_DYNAMIC_LOADER
=no
33172 wxUSE_DYNLIB_CLASS
=no
33174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33175 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33182 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33183 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33186 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33187 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33193 if test "$wxUSE_PLUGINS" = "yes" ; then
33194 if test "$wxUSE_SHARED" = "no" ; then
33195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33196 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33199 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33201 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33204 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33206 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33209 if test "$wxUSE_PLUGINS" = "yes" ; then
33210 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33216 if test "$wxUSE_FSWATCHER" = "yes"; then
33217 if test "$wxUSE_MSW" != "1"; then
33218 if test "$wxUSE_UNIX" = "yes"; then
33219 for ac_header
in sys
/inotify.h
33221 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33223 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
33224 cat >>confdefs.h
<<_ACEOF
33225 #define HAVE_SYS_INOTIFY_H 1
33232 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33233 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33236 for ac_header
in sys
/event.h
33238 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33240 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
33241 cat >>confdefs.h
<<_ACEOF
33242 #define HAVE_SYS_EVENT_H 1
33249 if test "$ac_cv_header_sys_event_h" = "yes"; then
33250 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33260 if test "$wxUSE_THREADS" != "yes"; then
33261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33262 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33267 if test "$wxUSE_FSWATCHER" = "yes"; then
33268 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33273 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33278 if test "$wxUSE_STL" = "yes"; then
33279 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33283 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33284 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33288 if test "$wxUSE_ANY" = "yes"; then
33289 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33293 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33294 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33298 if test "$wxUSE_TIMER" = "yes"; then
33299 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33303 if test "$USE_UNIX" = 1 ; then
33304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33305 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33306 if ${ac_cv_header_sys_soundcard+:} false
; then :
33307 $as_echo_n "(cached) " >&6
33310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33311 /* end confdefs.h. */
33313 #include <sys/ioctl.h>
33314 #include <sys/soundcard.h>
33320 ioctl(0, SNDCTL_DSP_SPEED, 0);
33326 if ac_fn_c_try_link
"$LINENO"; then :
33327 ac_cv_header_sys_soundcard
=yes
33331 LIBS
="$saveLibs -lossaudio"
33332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33333 /* end confdefs.h. */
33335 #include <sys/ioctl.h>
33336 #include <sys/soundcard.h>
33342 ioctl(0, SNDCTL_DSP_SPEED, 0);
33348 if ac_fn_c_try_link
"$LINENO"; then :
33349 ac_cv_header_sys_soundcard
=yes
33353 ac_cv_header_sys_soundcard
=no
33357 rm -f core conftest.err conftest.
$ac_objext \
33358 conftest
$ac_exeext conftest.
$ac_ext
33362 rm -f core conftest.err conftest.
$ac_objext \
33363 conftest
$ac_exeext conftest.
$ac_ext
33366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33367 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33369 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33370 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33376 if test "$wxUSE_SOUND" = "yes"; then
33377 if test "$USE_UNIX" = 1 ; then
33378 if test "$wxUSE_LIBSDL" != "no"; then
33380 # Check whether --with-sdl-prefix was given.
33381 if test "${with_sdl_prefix+set}" = set; then :
33382 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33388 # Check whether --with-sdl-exec-prefix was given.
33389 if test "${with_sdl_exec_prefix+set}" = set; then :
33390 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33395 # Check whether --enable-sdltest was given.
33396 if test "${enable_sdltest+set}" = set; then :
33397 enableval
=$enable_sdltest;
33403 if test x
$sdl_exec_prefix != x
; then
33404 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33405 if test x
${SDL_CONFIG+set} != xset
; then
33406 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33409 if test x
$sdl_prefix != x
; then
33410 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33411 if test x
${SDL_CONFIG+set} != xset
; then
33412 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33416 if test "x$prefix" != xNONE
; then
33417 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33419 # Extract the first word of "sdl-config", so it can be a program name with args.
33420 set dummy sdl
-config; ac_word
=$2
33421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33422 $as_echo_n "checking for $ac_word... " >&6; }
33423 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
33424 $as_echo_n "(cached) " >&6
33426 case $SDL_CONFIG in
33428 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33432 for as_dir
in $PATH
33435 test -z "$as_dir" && as_dir
=.
33436 for ac_exec_ext
in '' $ac_executable_extensions; do
33437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33438 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33446 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33450 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33451 if test -n "$SDL_CONFIG"; then
33452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33453 $as_echo "$SDL_CONFIG" >&6; }
33455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33456 $as_echo "no" >&6; }
33460 min_sdl_version
=1.2.0
33461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33462 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33464 if test "$SDL_CONFIG" = "no" ; then
33467 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33468 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33470 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33471 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33472 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33473 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33474 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33476 if test "x$enable_sdltest" = "xyes" ; then
33477 ac_save_CFLAGS
="$CFLAGS"
33478 ac_save_CXXFLAGS
="$CXXFLAGS"
33479 ac_save_LIBS
="$LIBS"
33480 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33481 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33482 LIBS
="$LIBS $SDL_LIBS"
33484 if test "$cross_compiling" = yes; then :
33485 echo $ac_n "cross compiling; assumed OK... $ac_c"
33487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33488 /* end confdefs.h. */
33491 #include <stdlib.h>
33492 #include <string.h>
33496 my_strdup (char *str)
33502 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33503 strcpy (new_str, str);
33511 int main (int argc, char *argv[])
33513 int major, minor, micro;
33516 /* This hangs on some systems (?)
33517 system ("touch conf.sdltest");
33519 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33521 /* HP/UX 9 (%@#!) writes to sscanf strings */
33522 tmp_version = my_strdup("$min_sdl_version");
33523 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33524 printf("%s, bad version string\n", "$min_sdl_version");
33528 if (($sdl_major_version > major) ||
33529 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33530 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33536 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33537 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33538 printf("*** best to upgrade to the required version.\n");
33539 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33540 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33541 printf("*** config.cache before re-running configure\n");
33548 if ac_fn_c_try_run
"$LINENO"; then :
33553 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33554 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33557 CFLAGS
="$ac_save_CFLAGS"
33558 CXXFLAGS
="$ac_save_CXXFLAGS"
33559 LIBS
="$ac_save_LIBS"
33562 if test "x$no_sdl" = x
; then
33563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33564 $as_echo "yes" >&6; }
33566 EXTRALIBS_SDL
="$SDL_LIBS"
33567 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33568 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33569 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33574 $as_echo "no" >&6; }
33575 if test "$SDL_CONFIG" = "no" ; then
33576 echo "*** The sdl-config script installed by SDL could not be found"
33577 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33578 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33579 echo "*** full path to sdl-config."
33581 if test -f conf.sdltest
; then
33584 echo "*** Could not run SDL test program, checking why..."
33585 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33586 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33587 LIBS
="$LIBS $SDL_LIBS"
33588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33589 /* end confdefs.h. */
33594 int main(int argc, char *argv[])
33597 #define main K_and_R_C_main
33607 if ac_fn_c_try_link
"$LINENO"; then :
33608 echo "*** The test program compiled, but did not run. This usually means"
33609 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33610 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33611 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33612 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33613 echo "*** is required on your system"
33615 echo "*** If you have an old version installed, it is best to remove it, although"
33616 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33618 echo "*** The test program failed to compile or link. See the file config.log for the"
33619 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33620 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33621 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33623 rm -f core conftest.err conftest.
$ac_objext \
33624 conftest
$ac_exeext conftest.
$ac_ext
33625 CFLAGS
="$ac_save_CFLAGS"
33626 CXXFLAGS
="$ac_save_CXXFLAGS"
33627 LIBS
="$ac_save_LIBS"
33638 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33645 if test "$wxUSE_SOUND" = "yes"; then
33646 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33651 if test "$WXGTK2" = 1; then
33654 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33655 if test -n "$ac_tool_prefix"; then
33656 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33657 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33659 $as_echo_n "checking for $ac_word... " >&6; }
33660 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
33661 $as_echo_n "(cached) " >&6
33663 case $PKG_CONFIG in
33665 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33669 for as_dir
in $PATH
33672 test -z "$as_dir" && as_dir
=.
33673 for ac_exec_ext
in '' $ac_executable_extensions; do
33674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33675 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33686 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33687 if test -n "$PKG_CONFIG"; then
33688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33689 $as_echo "$PKG_CONFIG" >&6; }
33691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33692 $as_echo "no" >&6; }
33697 if test -z "$ac_cv_path_PKG_CONFIG"; then
33698 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33699 # Extract the first word of "pkg-config", so it can be a program name with args.
33700 set dummy pkg
-config; ac_word
=$2
33701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33702 $as_echo_n "checking for $ac_word... " >&6; }
33703 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
33704 $as_echo_n "(cached) " >&6
33706 case $ac_pt_PKG_CONFIG in
33708 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33712 for as_dir
in $PATH
33715 test -z "$as_dir" && as_dir
=.
33716 for ac_exec_ext
in '' $ac_executable_extensions; do
33717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33718 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33729 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33730 if test -n "$ac_pt_PKG_CONFIG"; then
33731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33732 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33735 $as_echo "no" >&6; }
33738 if test "x$ac_pt_PKG_CONFIG" = x
; then
33741 case $cross_compiling:$ac_tool_warned in
33743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33745 ac_tool_warned
=yes ;;
33747 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33750 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33754 if test -n "$PKG_CONFIG"; then
33755 _pkg_min_version
=0.9.0
33756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33757 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33758 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33760 $as_echo "yes" >&6; }
33762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33763 $as_echo "no" >&6; }
33769 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33771 if test "$wxUSE_GTKPRINT" = "yes" ; then
33772 if test "$WXGTK3" = 1; then
33773 gtk_unix_print
="gtk+-unix-print-3.0"
33775 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
33779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33780 $as_echo_n "checking for GTKPRINT... " >&6; }
33782 if test -n "$PKG_CONFIG"; then
33783 if test -n "$GTKPRINT_CFLAGS"; then
33784 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
33786 if test -n "$PKG_CONFIG" && \
33787 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33788 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33791 test $ac_status = 0; }; then
33792 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33800 if test -n "$PKG_CONFIG"; then
33801 if test -n "$GTKPRINT_LIBS"; then
33802 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
33804 if test -n "$PKG_CONFIG" && \
33805 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33806 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33809 test $ac_status = 0; }; then
33810 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33821 if test $pkg_failed = yes; then
33823 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33824 _pkg_short_errors_supported
=yes
33826 _pkg_short_errors_supported
=no
33828 if test $_pkg_short_errors_supported = yes; then
33829 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33831 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33833 # Put the nasty error message in config.log where it belongs
33834 echo "$GTKPRINT_PKG_ERRORS" >&5
33837 { $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
33838 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33839 wxUSE_GTKPRINT
="no"
33842 elif test $pkg_failed = untried
; then
33844 { $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
33845 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33846 wxUSE_GTKPRINT
="no"
33850 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
33851 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
33852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33853 $as_echo "yes" >&6; }
33855 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
33856 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
33857 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
33858 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33864 if test "$WXGTK3" = 1; then
33865 wxUSE_LIBGNOMEPRINT
=no
33868 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33873 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33875 if test -n "$PKG_CONFIG"; then
33876 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33877 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
33879 if test -n "$PKG_CONFIG" && \
33880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33881 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33884 test $ac_status = 0; }; then
33885 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33893 if test -n "$PKG_CONFIG"; then
33894 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33895 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
33897 if test -n "$PKG_CONFIG" && \
33898 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33899 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33902 test $ac_status = 0; }; then
33903 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33914 if test $pkg_failed = yes; then
33916 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33917 _pkg_short_errors_supported
=yes
33919 _pkg_short_errors_supported
=no
33921 if test $_pkg_short_errors_supported = yes; then
33922 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33924 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33926 # Put the nasty error message in config.log where it belongs
33927 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33930 if test "$wxUSE_GTKPRINT" = yes; then
33931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33932 $as_echo "no" >&6; }
33934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33935 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33937 wxUSE_LIBGNOMEPRINT
="no"
33940 elif test $pkg_failed = untried
; then
33942 if test "$wxUSE_GTKPRINT" = yes; then
33943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33944 $as_echo "no" >&6; }
33946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33947 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33949 wxUSE_LIBGNOMEPRINT
="no"
33953 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33954 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33956 $as_echo "yes" >&6; }
33958 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
33959 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33960 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33961 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33968 if test "$wxUSE_MIMETYPE" = "yes" ; then
33969 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33974 $as_echo_n "checking for GNOMEVFS... " >&6; }
33976 if test -n "$PKG_CONFIG"; then
33977 if test -n "$GNOMEVFS_CFLAGS"; then
33978 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
33980 if test -n "$PKG_CONFIG" && \
33981 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33982 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33985 test $ac_status = 0; }; then
33986 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33994 if test -n "$PKG_CONFIG"; then
33995 if test -n "$GNOMEVFS_LIBS"; then
33996 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
33998 if test -n "$PKG_CONFIG" && \
33999 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34000 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34003 test $ac_status = 0; }; then
34004 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34015 if test $pkg_failed = yes; then
34017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34018 _pkg_short_errors_supported
=yes
34020 _pkg_short_errors_supported
=no
34022 if test $_pkg_short_errors_supported = yes; then
34023 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34025 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34027 # Put the nasty error message in config.log where it belongs
34028 echo "$GNOMEVFS_PKG_ERRORS" >&5
34031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34032 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34033 wxUSE_LIBGNOMEVFS
="no"
34036 elif test $pkg_failed = untried
; then
34038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34039 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34040 wxUSE_LIBGNOMEVFS
="no"
34044 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
34045 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
34046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34047 $as_echo "yes" >&6; }
34049 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34050 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
34051 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
34052 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34059 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34060 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34065 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34067 if test -n "$PKG_CONFIG"; then
34068 if test -n "$LIBNOTIFY_CFLAGS"; then
34069 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34071 if test -n "$PKG_CONFIG" && \
34072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34073 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34076 test $ac_status = 0; }; then
34077 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34085 if test -n "$PKG_CONFIG"; then
34086 if test -n "$LIBNOTIFY_LIBS"; then
34087 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34089 if test -n "$PKG_CONFIG" && \
34090 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34091 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34094 test $ac_status = 0; }; then
34095 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34106 if test $pkg_failed = yes; then
34108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34109 _pkg_short_errors_supported
=yes
34111 _pkg_short_errors_supported
=no
34113 if test $_pkg_short_errors_supported = yes; then
34114 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34116 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34118 # Put the nasty error message in config.log where it belongs
34119 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34125 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34127 if test -n "$PKG_CONFIG"; then
34128 if test -n "$LIBNOTIFY_CFLAGS"; then
34129 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34131 if test -n "$PKG_CONFIG" && \
34132 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34133 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34136 test $ac_status = 0; }; then
34137 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34145 if test -n "$PKG_CONFIG"; then
34146 if test -n "$LIBNOTIFY_LIBS"; then
34147 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34149 if test -n "$PKG_CONFIG" && \
34150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34151 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34154 test $ac_status = 0; }; then
34155 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34166 if test $pkg_failed = yes; then
34168 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34169 _pkg_short_errors_supported
=yes
34171 _pkg_short_errors_supported
=no
34173 if test $_pkg_short_errors_supported = yes; then
34174 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34176 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34178 # Put the nasty error message in config.log where it belongs
34179 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34182 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34184 elif test $pkg_failed = untried
; then
34185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34186 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34189 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34190 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34192 $as_echo "yes" >&6; }
34197 elif test $pkg_failed = untried
; then
34201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34202 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34204 if test -n "$PKG_CONFIG"; then
34205 if test -n "$LIBNOTIFY_CFLAGS"; then
34206 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34208 if test -n "$PKG_CONFIG" && \
34209 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34210 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34213 test $ac_status = 0; }; then
34214 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34222 if test -n "$PKG_CONFIG"; then
34223 if test -n "$LIBNOTIFY_LIBS"; then
34224 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34226 if test -n "$PKG_CONFIG" && \
34227 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34228 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34231 test $ac_status = 0; }; then
34232 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34243 if test $pkg_failed = yes; then
34245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34246 _pkg_short_errors_supported
=yes
34248 _pkg_short_errors_supported
=no
34250 if test $_pkg_short_errors_supported = yes; then
34251 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34253 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34255 # Put the nasty error message in config.log where it belongs
34256 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34259 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34261 elif test $pkg_failed = untried
; then
34262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34263 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34266 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34267 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34269 $as_echo "yes" >&6; }
34275 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34276 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34278 $as_echo "yes" >&6; }
34281 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34286 if test "$HAVE_LIBNOTIFY" = "1" ; then
34287 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34288 CFLAGS
="$LIBNOTIFY_CFLAGS $CFLAGS"
34289 CXXFLAGS
="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34290 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34296 if test "$wxUSE_LIBHILDON" = "yes" ; then
34299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34300 $as_echo_n "checking for HILDON... " >&6; }
34302 if test -n "$PKG_CONFIG"; then
34303 if test -n "$HILDON_CFLAGS"; then
34304 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
34306 if test -n "$PKG_CONFIG" && \
34307 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34308 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34311 test $ac_status = 0; }; then
34312 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34320 if test -n "$PKG_CONFIG"; then
34321 if test -n "$HILDON_LIBS"; then
34322 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
34324 if test -n "$PKG_CONFIG" && \
34325 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34326 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34329 test $ac_status = 0; }; then
34330 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34341 if test $pkg_failed = yes; then
34343 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34344 _pkg_short_errors_supported
=yes
34346 _pkg_short_errors_supported
=no
34348 if test $_pkg_short_errors_supported = yes; then
34349 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34351 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34353 # Put the nasty error message in config.log where it belongs
34354 echo "$HILDON_PKG_ERRORS" >&5
34357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34358 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34359 wxUSE_LIBHILDON
="no"
34363 elif test $pkg_failed = untried
; then
34365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34366 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34367 wxUSE_LIBHILDON
="no"
34372 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34373 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34375 $as_echo "yes" >&6; }
34377 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON_LIBS"
34378 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34379 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34380 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34386 if test "$ac_hildon_lgpl" = 0 ; then
34389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34390 $as_echo_n "checking for HILDON2... " >&6; }
34392 if test -n "$PKG_CONFIG"; then
34393 if test -n "$HILDON2_CFLAGS"; then
34394 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34396 if test -n "$PKG_CONFIG" && \
34397 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34398 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34401 test $ac_status = 0; }; then
34402 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34410 if test -n "$PKG_CONFIG"; then
34411 if test -n "$HILDON2_LIBS"; then
34412 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34414 if test -n "$PKG_CONFIG" && \
34415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34416 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34419 test $ac_status = 0; }; then
34420 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34431 if test $pkg_failed = yes; then
34433 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34434 _pkg_short_errors_supported
=yes
34436 _pkg_short_errors_supported
=no
34438 if test $_pkg_short_errors_supported = yes; then
34439 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34441 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34443 # Put the nasty error message in config.log where it belongs
34444 echo "$HILDON2_PKG_ERRORS" >&5
34447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34448 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34449 wxUSE_LIBHILDON2
="no"
34452 elif test $pkg_failed = untried
; then
34454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34455 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34456 wxUSE_LIBHILDON2
="no"
34460 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34461 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34463 $as_echo "yes" >&6; }
34465 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON2_LIBS"
34466 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34467 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34468 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34476 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34477 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34481 if test "$wxUSE_STOPWATCH" = "yes"; then
34482 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34486 if test "$wxUSE_DATETIME" = "yes"; then
34487 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34491 if test "$wxUSE_FILE" = "yes"; then
34492 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34496 if test "$wxUSE_FFILE" = "yes"; then
34497 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34501 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34502 if test "$wxUSE_STREAMS" != yes; then
34503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34504 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34505 wxUSE_ARCHIVE_STREAMS
=no
34507 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34512 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34513 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34515 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34516 elif test "$wxUSE_ZLIB" = "no"; then
34517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34518 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34520 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34525 if test "$wxUSE_TARSTREAM" = "yes"; then
34526 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34528 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34530 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34535 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34536 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34540 if test "$wxUSE_FILESYSTEM" = "yes"; then
34541 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34543 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34544 wxUSE_FILESYSTEM
=no
34546 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34551 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34552 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34554 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34556 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34561 if test "$wxUSE_FS_ZIP" = "yes"; then
34562 if test "$wxUSE_FS_ARCHIVE" != yes; then
34563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34564 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34566 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34571 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34572 if test "$USE_UNIX" != 1; then
34573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34574 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34575 wxUSE_ON_FATAL_EXCEPTION
=no
34577 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34582 if test "$wxUSE_STACKWALKER" = "yes"; then
34583 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34587 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34588 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34590 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34591 wxUSE_DEBUGREPORT
=no
34593 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34595 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34601 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34602 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34606 if test "$wxUSE_BUSYINFO" = "yes"; then
34607 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34611 if test "$wxUSE_HOTKEY" = "yes"; then
34612 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34614 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34617 elif test "$wxUSE_HOTKEY" = "auto"; then
34618 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34622 if test "$wxUSE_HOTKEY" = "yes"; then
34623 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34627 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34628 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34632 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34633 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34637 if test "$wxUSE_STD_STRING" = "yes"; then
34638 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34642 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34643 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34647 if test "$wxUSE_STDPATHS" = "yes"; then
34648 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34652 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34653 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34657 if test "$wxUSE_TEXTFILE" = "yes"; then
34658 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34660 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34662 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34667 if test "$wxUSE_CONFIG" = "yes" ; then
34668 if test "$wxUSE_TEXTFILE" != "yes"; then
34669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34670 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34672 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34674 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34680 if test "$wxUSE_INTL" = "yes" ; then
34681 if test "$wxUSE_FILE" != "yes"; then
34682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34683 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34685 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34688 GUIDIST
="$GUIDIST INTL_DIST"
34692 if test "$wxUSE_XLOCALE" = "yes" ; then
34693 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34695 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34696 #include <locale.h>
34698 if test "x$ac_cv_type_locale_t" = xyes
; then :
34700 cat >>confdefs.h
<<_ACEOF
34701 #define HAVE_LOCALE_T 1
34709 if test "$wxUSE_LOG" = "yes"; then
34710 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34713 if test "$wxUSE_LOGGUI" = "yes"; then
34714 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34718 if test "$wxUSE_LOGWINDOW" = "yes"; then
34719 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34723 if test "$wxUSE_LOGDIALOG" = "yes"; then
34724 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34728 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
34731 if test "$wxUSE_LONGLONG" = "yes"; then
34732 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34736 if test "$wxUSE_GEOMETRY" = "yes"; then
34737 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34741 if test "$wxUSE_BASE64" = "yes"; then
34742 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34746 if test "$wxUSE_STREAMS" = "yes" ; then
34747 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34751 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34752 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34756 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34757 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34762 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34763 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34766 if test "$wxUSE_UNIX" = "yes"; then
34767 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34768 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34772 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34773 for ac_header
in sys
/epoll.h
34775 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34777 if test "x$ac_cv_header_sys_epoll_h" = xyes
; then :
34778 cat >>confdefs.h
<<_ACEOF
34779 #define HAVE_SYS_EPOLL_H 1
34786 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34787 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34791 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34798 for ac_func
in gettimeofday ftime
34800 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34801 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
34802 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
34803 cat >>confdefs.h
<<_ACEOF
34804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34811 if test "$ac_cv_func_gettimeofday" = "yes"; then
34812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34813 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34814 if ${wx_cv_func_gettimeofday_has_2_args+:} false
; then :
34815 $as_echo_n "(cached) " >&6
34818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34819 /* end confdefs.h. */
34821 #include <sys/time.h>
34822 #include <unistd.h>
34829 gettimeofday(&tv, NULL);
34835 if ac_fn_c_try_compile
"$LINENO"; then :
34836 wx_cv_func_gettimeofday_has_2_args
=yes
34838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34839 /* end confdefs.h. */
34841 #include <sys/time.h>
34842 #include <unistd.h>
34855 if ac_fn_c_try_compile
"$LINENO"; then :
34856 wx_cv_func_gettimeofday_has_2_args
=no
34859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34860 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34861 wx_cv_func_gettimeofday_has_2_args
=unknown
34865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34872 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34874 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34875 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34880 if test "$wxUSE_DATETIME" = "yes"; then
34881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34882 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34883 if ${wx_cv_var_timezone+:} false
; then :
34884 $as_echo_n "(cached) " >&6
34888 ac_cpp
='$CXXCPP $CPPFLAGS'
34889 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34890 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34891 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34894 /* end confdefs.h. */
34909 if ac_fn_cxx_try_compile
"$LINENO"; then :
34911 wx_cv_var_timezone
=timezone
34915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34916 /* end confdefs.h. */
34931 if ac_fn_cxx_try_compile
"$LINENO"; then :
34933 wx_cv_var_timezone
=_timezone
34937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34938 /* end confdefs.h. */
34953 if ac_fn_cxx_try_compile
"$LINENO"; then :
34955 wx_cv_var_timezone
=__timezone
34959 if test "$USE_DOS" = 0 ; then
34960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34961 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34976 ac_cpp
='$CPP $CPPFLAGS'
34977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34985 $as_echo "$wx_cv_var_timezone" >&6; }
34987 if test "x$wx_cv_var_timezone" != x
; then
34988 cat >>confdefs.h
<<_ACEOF
34989 #define WX_TIMEZONE $wx_cv_var_timezone
34994 for ac_func
in localtime
34996 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
34997 if test "x$ac_cv_func_localtime" = xyes
; then :
34998 cat >>confdefs.h
<<_ACEOF
34999 #define HAVE_LOCALTIME 1
35006 if test "$ac_cv_func_localtime" = "yes"; then
35007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35008 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35009 if ${wx_cv_struct_tm_has_gmtoff+:} false
; then :
35010 $as_echo_n "(cached) " >&6
35013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35014 /* end confdefs.h. */
35029 if ac_fn_c_try_compile
"$LINENO"; then :
35031 wx_cv_struct_tm_has_gmtoff
=yes
35034 wx_cv_struct_tm_has_gmtoff
=no
35037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35041 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35044 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35045 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35053 if test "$wxUSE_SOCKETS" = "yes"; then
35054 if test "$TOOLKIT" != "MSW"; then
35055 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
35056 if test "x$ac_cv_func_socket" = xyes
; then :
35060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35061 $as_echo_n "checking for socket in -lsocket... " >&6; }
35062 if ${ac_cv_lib_socket_socket+:} false
; then :
35063 $as_echo_n "(cached) " >&6
35065 ac_check_lib_save_LIBS
=$LIBS
35066 LIBS
="-lsocket $LIBS"
35067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35068 /* end confdefs.h. */
35070 /* Override any GCC internal prototype to avoid an error.
35071 Use char because int might match the return type of a GCC
35072 builtin and then its argument prototype would still apply. */
35085 if ac_fn_c_try_link
"$LINENO"; then :
35086 ac_cv_lib_socket_socket
=yes
35088 ac_cv_lib_socket_socket
=no
35090 rm -f core conftest.err conftest.
$ac_objext \
35091 conftest
$ac_exeext conftest.
$ac_ext
35092 LIBS
=$ac_check_lib_save_LIBS
35094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35095 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35096 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
35097 if test "$INET_LINK" != " -lsocket"; then
35098 INET_LINK
="$INET_LINK -lsocket"
35102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35103 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35116 if test "$wxUSE_SOCKETS" = "yes" ; then
35117 if test "$TOOLKIT" != "MSW"; then
35118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35119 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35120 if ${wx_cv_type_getsockname3+:} false
; then :
35121 $as_echo_n "(cached) " >&6
35125 ac_cpp
='$CXXCPP $CPPFLAGS'
35126 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35127 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35128 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35131 /* end confdefs.h. */
35133 #include <sys/types.h>
35134 #include <sys/socket.h>
35141 getsockname(0, 0, &len);
35147 if ac_fn_cxx_try_compile
"$LINENO"; then :
35148 wx_cv_type_getsockname3
=socklen_t
35151 CFLAGS_OLD
="$CFLAGS"
35152 if test "$GCC" = yes ; then
35153 CFLAGS
="-Werror $CFLAGS"
35156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35157 /* end confdefs.h. */
35159 #include <sys/types.h>
35160 #include <sys/socket.h>
35167 getsockname(0, 0, &len);
35173 if ac_fn_cxx_try_compile
"$LINENO"; then :
35174 wx_cv_type_getsockname3
=size_t
35176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35177 /* end confdefs.h. */
35179 #include <sys/types.h>
35180 #include <sys/socket.h>
35187 getsockname(0, 0, &len);
35193 if ac_fn_cxx_try_compile
"$LINENO"; then :
35194 wx_cv_type_getsockname3
=int
35196 wx_cv_type_getsockname3
=unknown
35199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35204 CFLAGS
="$CFLAGS_OLD"
35208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35210 ac_cpp
='$CPP $CPPFLAGS'
35211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35218 $as_echo "$wx_cv_type_getsockname3" >&6; }
35220 if test "$wx_cv_type_getsockname3" = "unknown"; then
35222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35223 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35225 cat >>confdefs.h
<<_ACEOF
35226 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35231 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35232 if ${wx_cv_type_getsockopt5+:} false
; then :
35233 $as_echo_n "(cached) " >&6
35237 ac_cpp
='$CXXCPP $CPPFLAGS'
35238 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35239 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35240 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35243 /* end confdefs.h. */
35245 #include <sys/types.h>
35246 #include <sys/socket.h>
35253 getsockopt(0, 0, 0, 0, &len);
35259 if ac_fn_cxx_try_compile
"$LINENO"; then :
35260 wx_cv_type_getsockopt5
=socklen_t
35263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35264 /* end confdefs.h. */
35266 #include <sys/types.h>
35267 #include <sys/socket.h>
35274 getsockopt(0, 0, 0, 0, &len);
35280 if ac_fn_cxx_try_compile
"$LINENO"; then :
35281 wx_cv_type_getsockopt5
=size_t
35283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35284 /* end confdefs.h. */
35286 #include <sys/types.h>
35287 #include <sys/socket.h>
35294 getsockopt(0, 0, 0, 0, &len);
35300 if ac_fn_cxx_try_compile
"$LINENO"; then :
35301 wx_cv_type_getsockopt5
=int
35303 wx_cv_type_getsockopt5
=unknown
35306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35315 ac_cpp
='$CPP $CPPFLAGS'
35316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35323 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35325 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35328 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35330 cat >>confdefs.h
<<_ACEOF
35331 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35338 if test "$wxUSE_SOCKETS" = "yes" ; then
35339 if test "$wxUSE_IPV6" = "yes"; then
35340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35341 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35342 if ${wx_cv_type_sockaddr_in6+:} false
; then :
35343 $as_echo_n "(cached) " >&6
35346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35347 /* end confdefs.h. */
35349 #include <sys/types.h>
35350 #include <sys/socket.h>
35351 #include <netinet/in.h>
35357 struct sockaddr_in6 sa6;
35363 if ac_fn_c_try_compile
"$LINENO"; then :
35364 wx_cv_type_sockaddr_in6
=yes
35366 wx_cv_type_sockaddr_in6
=no
35369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35374 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35376 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35377 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35381 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35385 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35387 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35390 if test "$wxUSE_PROTOCOL" = "yes"; then
35391 if test "$wxUSE_SOCKETS" != "yes"; then
35392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35393 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35398 if test "$wxUSE_PROTOCOL" = "yes"; then
35399 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35402 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35403 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35406 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35407 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35410 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35411 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35415 if test "$wxUSE_FS_INET" = "yes"; then
35416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35417 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35422 if test "$wxUSE_URL" = "yes"; then
35423 if test "$wxUSE_PROTOCOL" != "yes"; then
35424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35425 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35428 if test "$wxUSE_URL" = "yes"; then
35429 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35434 if test "$wxUSE_VARIANT" = "yes"; then
35435 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35439 if test "$wxUSE_FS_INET" = "yes"; then
35440 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35445 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35448 if test "$TOOLKIT" = "MSW"; then
35451 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35452 if test "$USE_DARWIN" = 1; then
35453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35454 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35456 ac_cpp
='$CXXCPP $CPPFLAGS'
35457 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35458 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35459 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35462 /* end confdefs.h. */
35463 #include <IOKit/hid/IOHIDLib.h>
35467 IOHIDQueueInterface *qi = NULL;
35468 IOHIDCallbackFunction cb = NULL;
35469 qi->setEventCallout(NULL, cb, NULL, NULL);
35474 if ac_fn_cxx_try_compile
"$LINENO"; then :
35478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35480 ac_cpp
='$CPP $CPPFLAGS'
35481 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35482 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35483 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35486 $as_echo "$wxUSE_JOYSTICK" >&6; }
35490 for ac_header
in linux
/joystick.h
35492 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35494 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
35495 cat >>confdefs.h
<<_ACEOF
35496 #define HAVE_LINUX_JOYSTICK_H 1
35505 if test "$wxUSE_JOYSTICK" = "yes"; then
35506 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35511 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35517 if test "$wxUSE_FONTENUM" = "yes" ; then
35518 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35522 if test "$wxUSE_FONTMAP" = "yes" ; then
35523 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35527 if test "$wxUSE_UNICODE" = "yes" ; then
35528 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35531 if test "$USE_WIN32" != 1; then
35532 wxUSE_UNICODE_MSLU
=no
35535 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35537 $as_echo_n "checking for main in -lunicows... " >&6; }
35538 if ${ac_cv_lib_unicows_main+:} false
; then :
35539 $as_echo_n "(cached) " >&6
35541 ac_check_lib_save_LIBS
=$LIBS
35542 LIBS
="-lunicows $LIBS"
35543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35544 /* end confdefs.h. */
35555 if ac_fn_c_try_link
"$LINENO"; then :
35556 ac_cv_lib_unicows_main
=yes
35558 ac_cv_lib_unicows_main
=no
35560 rm -f core conftest.err conftest.
$ac_objext \
35561 conftest
$ac_exeext conftest.
$ac_ext
35562 LIBS
=$ac_check_lib_save_LIBS
35564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35565 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35566 if test "x$ac_cv_lib_unicows_main" = xyes
; then :
35568 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35574 Applications will only run on Windows NT/2000/XP!" >&5
35575 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35576 Applications will only run on Windows NT/2000/XP!" >&2;}
35577 wxUSE_UNICODE_MSLU
=no
35584 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35585 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35588 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35589 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35595 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35596 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35601 if test "$wxUSE_MDI" = "yes"; then
35602 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35605 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35606 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35608 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35612 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35613 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35615 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35618 if test "$wxUSE_HELP" = "yes"; then
35619 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35623 if test "$wxUSE_MSW" = 1; then
35624 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35625 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35630 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35631 if test "$wxUSE_HTML" = "yes"; then
35632 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35636 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35637 wxUSE_WXHTML_HELP
=no
35642 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35643 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35648 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35649 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35653 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35656 if test "$wxUSE_SVG" = "yes"; then
35657 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35662 if test "$wxUSE_METAFILE" = "yes"; then
35663 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35665 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35668 elif test "$wxUSE_METAFILE" = "auto"; then
35669 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35674 if test "$wxUSE_METAFILE" = "yes"; then
35675 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35677 if test "$wxUSE_MSW" = 1; then
35678 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35684 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35685 -o "$wxUSE_CLIPBOARD" = "yes" \
35686 -o "$wxUSE_OLE" = "yes" \
35687 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35688 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35690 if test "x$ac_cv_header_ole2_h" = xyes
; then :
35696 if test "$ac_cv_header_ole2_h" = "yes" ; then
35697 if test "$GCC" = yes ; then
35698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35699 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35701 /* end confdefs.h. */
35702 #include <windows.h>
35712 if ac_fn_c_try_compile
"$LINENO"; then :
35713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35714 $as_echo "no" >&6; }
35716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35717 $as_echo "yes" >&6; }
35718 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35721 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35722 if test "$wxUSE_OLE" = "yes" ; then
35723 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35725 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35727 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
35733 if test "$wxUSE_DATAOBJ" = "yes" ; then
35734 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35739 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35742 wxUSE_DRAG_AND_DROP
=no
35748 if test "$wxUSE_IPC" = "yes"; then
35749 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35751 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35755 if test "$wxUSE_IPC" = "yes"; then
35756 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
35762 if test "$wxUSE_DATAOBJ" = "yes"; then
35763 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35767 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35769 wxUSE_DRAG_AND_DROP
=no
35772 if test "$wxUSE_CLIPBOARD" = "yes"; then
35773 if test "$wxUSE_DFB" = 1; then
35774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35775 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35779 if test "$wxUSE_CLIPBOARD" = "yes"; then
35780 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35785 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35786 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35788 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35789 wxUSE_DRAG_AND_DROP
=no
35792 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35793 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35799 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35800 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
35803 if test "$wxUSE_CLIPBOARD" = "yes"; then
35804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
35807 if test "$wxUSE_SPLINES" = "yes" ; then
35808 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35812 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35813 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35817 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35818 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
35823 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35824 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35830 if test "$wxUSE_CONTROLS" = "yes"; then
35834 if test "$wxUSE_MARKUP" = "yes"; then
35835 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35839 if test "$wxUSE_ACCEL" = "yes"; then
35840 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35845 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35846 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35849 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
35852 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35853 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35857 if test "$wxUSE_BUTTON" = "yes"; then
35858 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35863 if test "$wxUSE_BMPBUTTON" = "yes"; then
35864 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35869 if test "$wxUSE_CALCTRL" = "yes"; then
35870 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
35876 if test "$wxUSE_CARET" = "yes"; then
35877 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
35883 if test "$wxUSE_COLLPANE" = "yes"; then
35884 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35887 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
35890 if test "$wxUSE_COMBOBOX" = "yes"; then
35891 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35896 if test "$wxUSE_COMBOCTRL" = "yes"; then
35897 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35902 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35903 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35908 if test "$wxUSE_CHOICE" = "yes"; then
35909 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35914 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35915 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35920 if test "$wxUSE_CHECKBOX" = "yes"; then
35921 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35926 if test "$wxUSE_CHECKLST" = "yes"; then
35927 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35932 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35933 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35938 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35939 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35944 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35945 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35950 if test "$wxUSE_FILECTRL" = "yes"; then
35951 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35956 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35957 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35962 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35963 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35968 if test "$wxUSE_DISPLAY" = "yes"; then
35969 if test "$wxUSE_DFB" = 1; then
35970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35971 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35974 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
35980 if test "$wxUSE_DETECT_SM" = "yes"; then
35981 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35985 if test "$wxUSE_GAUGE" = "yes"; then
35986 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35991 if test "$wxUSE_GRID" = "yes"; then
35992 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
35998 if test "$wxUSE_HEADERCTRL" = "yes"; then
35999 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36004 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36005 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36010 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36011 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36016 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36017 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
36023 if test "$wxUSE_IMAGLIST" = "yes"; then
36024 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36028 if test "$wxUSE_INFOBAR" = "yes"; then
36029 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36033 if test "$wxUSE_LISTBOOK" = "yes"; then
36034 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36039 if test "$wxUSE_LISTBOX" = "yes"; then
36040 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36045 if test "$wxUSE_LISTCTRL" = "yes"; then
36046 if test "$wxUSE_IMAGLIST" = "yes"; then
36047 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36053 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36057 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36058 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36063 if test "$wxUSE_NOTEBOOK" = "yes"; then
36064 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36070 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36071 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36075 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36076 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
36082 if test "$wxUSE_RADIOBOX" = "yes"; then
36083 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36088 if test "$wxUSE_RADIOBTN" = "yes"; then
36089 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36094 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36095 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36099 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36100 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36104 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36105 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36109 if test "$wxUSE_SASH" = "yes"; then
36110 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36115 if test "$wxUSE_SCROLLBAR" = "yes"; then
36116 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
36122 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36123 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36128 if test "$wxUSE_SLIDER" = "yes"; then
36129 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36134 if test "$wxUSE_SPINBTN" = "yes"; then
36135 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36140 if test "$wxUSE_SPINCTRL" = "yes"; then
36141 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36146 if test "$wxUSE_SPLITTER" = "yes"; then
36147 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36152 if test "$wxUSE_STATBMP" = "yes"; then
36153 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36158 if test "$wxUSE_STATBOX" = "yes"; then
36159 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36164 if test "$wxUSE_STATTEXT" = "yes"; then
36165 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36170 if test "$wxUSE_STATLINE" = "yes"; then
36171 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36176 if test "$wxUSE_STATUSBAR" = "yes"; then
36177 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36179 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36186 if test "$wxUSE_TEXTCTRL" = "yes"; then
36187 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36192 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36194 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36198 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36199 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36204 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36205 if test "$wxUSE_OLD_COCOA" = 1 ; then
36206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36207 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36211 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36212 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36218 if test "$wxUSE_TOOLBAR" = "yes"; then
36219 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36223 if test "$wxUSE_UNIVERSAL" = "yes"; then
36224 wxUSE_TOOLBAR_NATIVE
="no"
36226 wxUSE_TOOLBAR_NATIVE
="yes"
36227 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36231 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36234 if test "$wxUSE_TOOLTIPS" = "yes"; then
36235 if test "$wxUSE_MOTIF" = 1; then
36236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36237 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36239 if test "$wxUSE_UNIVERSAL" = "yes"; then
36240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36241 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36243 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36249 if test "$wxUSE_TREEBOOK" = "yes"; then
36250 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36255 if test "$wxUSE_TOOLBOOK" = "yes"; then
36256 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36261 if test "$wxUSE_TREECTRL" = "yes"; then
36262 if test "$wxUSE_IMAGLIST" = "yes"; then
36263 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36269 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36273 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36274 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
36280 if test "$wxUSE_POPUPWIN" = "yes"; then
36281 if test "$wxUSE_OLD_COCOA" = 1 ; then
36282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36283 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36285 if test "$wxUSE_PM" = 1; then
36286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36287 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36289 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
36298 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36299 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36301 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36303 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
36309 if test "$wxUSE_TIPWINDOW" = "yes"; then
36310 if test "$wxUSE_PM" = 1; then
36311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36312 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36314 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36319 if test "$USES_CONTROLS" = 1; then
36320 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36325 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36326 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36331 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36332 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36336 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36337 if test "$wxUSE_GTK" != 1; then
36338 if test "$wxUSE_LIBPNG" != no
-a \
36339 "$wxUSE_IMAGE" = yes -a \
36340 "$wxUSE_STREAMS" = yes; then
36341 wxUSE_ARTPROVIDER_TANGO
="yes"
36346 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36347 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36351 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36352 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36357 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36358 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36360 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36362 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36364 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36369 if test "$wxUSE_HTML" = "yes"; then
36370 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36375 if test "$wxUSE_WEBKIT" = "yes"; then
36376 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36377 old_CPPFLAGS
="$CPPFLAGS"
36378 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36379 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36380 #include <Carbon/Carbon.h>
36381 #include <WebKit/WebKit.h>
36384 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36386 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36388 WEBKIT_LINK
="-framework WebKit"
36392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36393 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36399 CPPFLAGS
="$old_CPPFLAGS"
36400 elif test "$wxUSE_OLD_COCOA" = 1; then
36401 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36406 if test "$wxUSE_WEBKIT" = "yes"; then
36407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36412 if test "$wxUSE_XRC" = "yes"; then
36413 if test "$wxUSE_XML" != "yes"; then
36414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36415 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36418 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36426 if test "$wxUSE_AUI" = "yes"; then
36427 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36434 if test "$wxUSE_PROPGRID" = "yes"; then
36435 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36442 if test "$wxUSE_RIBBON" = "yes"; then
36443 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36450 if test "$wxUSE_STC" = "yes"; then
36451 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36456 # Extract the first word of "python", so it can be a program name with args.
36457 set dummy python
; ac_word
=$2
36458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36459 $as_echo_n "checking for $ac_word... " >&6; }
36460 if ${ac_cv_path_PYTHON+:} false
; then :
36461 $as_echo_n "(cached) " >&6
36465 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36469 for as_dir
in $PATH
36472 test -z "$as_dir" && as_dir
=.
36473 for ac_exec_ext
in '' $ac_executable_extensions; do
36474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
36475 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36486 PYTHON
=$ac_cv_path_PYTHON
36487 if test -n "$PYTHON"; then
36488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36489 $as_echo "$PYTHON" >&6; }
36491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36492 $as_echo "no" >&6; }
36496 if test "x$PYTHON" = "x"; then
36502 if test "$wxUSE_MENUS" = "yes"; then
36503 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36505 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36508 if test "$wxUSE_MIMETYPE" = "yes"; then
36509 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36513 if test "$wxUSE_MINIFRAME" = "yes"; then
36514 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36518 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36519 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36523 if test "$wxUSE_TASKBARICON" = "yes"; then
36524 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36526 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36532 if test "$wxUSE_VALIDATORS" = "yes"; then
36533 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36538 if test "$wxUSE_PALETTE" = "yes" ; then
36539 if test "$wxUSE_DFB" = 1; then
36540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36541 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36544 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36549 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36550 LIBS
=" -lunicows $LIBS"
36554 if test "$wxUSE_RICHTEXT" = "yes"; then
36555 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36558 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36561 if test "$wxUSE_WEBVIEW" = "yes"; then
36562 USE_WEBVIEW_WEBKIT
=0
36563 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36564 if test "$wxUSE_GTK" = 1; then
36565 webkitgtk
=webkit
-1.0
36566 if test "$WXGTK3" = 1; then
36567 webkitgtk
=webkitgtk
-3.0
36571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36572 $as_echo_n "checking for WEBKIT... " >&6; }
36574 if test -n "$PKG_CONFIG"; then
36575 if test -n "$WEBKIT_CFLAGS"; then
36576 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36578 if test -n "$PKG_CONFIG" && \
36579 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36580 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36583 test $ac_status = 0; }; then
36584 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36592 if test -n "$PKG_CONFIG"; then
36593 if test -n "$WEBKIT_LIBS"; then
36594 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36596 if test -n "$PKG_CONFIG" && \
36597 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36598 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36601 test $ac_status = 0; }; then
36602 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36613 if test $pkg_failed = yes; then
36615 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36616 _pkg_short_errors_supported
=yes
36618 _pkg_short_errors_supported
=no
36620 if test $_pkg_short_errors_supported = yes; then
36621 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36623 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36625 # Put the nasty error message in config.log where it belongs
36626 echo "$WEBKIT_PKG_ERRORS" >&5
36629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36630 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36632 elif test $pkg_failed = untried
; then
36634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36635 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36638 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36639 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36641 $as_echo "yes" >&6; }
36643 USE_WEBVIEW_WEBKIT
=1
36644 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36645 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36648 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36649 old_CPPFLAGS
="$CPPFLAGS"
36650 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36651 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36652 #include <Carbon/Carbon.h>
36653 #include <WebKit/WebKit.h>
36656 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36658 USE_WEBVIEW_WEBKIT
=1
36659 WEBKIT_LINK
="-framework WebKit"
36663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36664 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36669 CPPFLAGS
="$old_CPPFLAGS"
36674 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36675 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36676 wxUSE_WEBVIEW
="yes"
36677 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36681 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36683 elif test "$wxUSE_MSW" = 1; then
36684 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36685 wxUSE_WEBVIEW
="yes"
36686 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36692 if test "$wxUSE_WEBVIEW" = "yes"; then
36694 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
36702 if test "$wxUSE_IMAGE" = "yes" ; then
36703 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36706 if test "$wxUSE_GIF" = "yes" ; then
36707 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36711 if test "$wxUSE_PCX" = "yes" ; then
36712 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36716 if test "$wxUSE_TGA" = "yes" ; then
36717 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36721 if test "$wxUSE_IFF" = "yes" ; then
36722 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36726 if test "$wxUSE_PNM" = "yes" ; then
36727 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36731 if test "$wxUSE_XPM" = "yes" ; then
36732 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36736 if test "$wxUSE_ICO_CUR" = "yes" ; then
36737 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36743 if test "$wxUSE_ABOUTDLG" = "yes"; then
36744 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36748 if test "$wxUSE_CHOICEDLG" = "yes"; then
36749 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36753 if test "$wxUSE_COLOURDLG" = "yes"; then
36754 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36758 if test "$wxUSE_FILEDLG" = "yes"; then
36759 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36763 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36764 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36768 if test "$wxUSE_FONTDLG" = "yes"; then
36769 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36773 if test "$wxUSE_DIRDLG" = "yes"; then
36774 if test "$wxUSE_TREECTRL" != "yes"; then
36775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36776 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36778 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36783 if test "$wxUSE_MSGDLG" = "yes"; then
36784 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36788 if test "$wxUSE_NUMBERDLG" = "yes"; then
36789 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36793 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36794 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36798 if test "$wxUSE_SPLASH" = "yes"; then
36799 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36801 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
36804 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36805 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36809 if test "$wxUSE_TEXTDLG" = "yes"; then
36810 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36814 if test "$wxUSE_WIZARDDLG" = "yes"; then
36815 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
36821 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36822 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36823 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36829 if test "$wxUSE_MSW" = 1 ; then
36831 if test "$wxUSE_DC_CACHEING" = "yes"; then
36832 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36836 if test "$wxUSE_DIB" = "yes"; then
36837 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36841 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36842 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36846 if test "$wxUSE_UXTHEME" = "yes"; then
36847 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36853 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36854 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36858 if test "$USE_WIN32" = 1 ; then
36859 if test "$wxUSE_INICONF" = "yes"; then
36860 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36864 if test "$wxUSE_REGKEY" = "yes"; then
36865 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36871 if test "$wxUSE_MAC" = 1; then
36872 wxUSE_GRAPHICS_CONTEXT
="yes"
36875 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36877 if test "$wxUSE_MSW" = 1; then
36878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36879 $as_echo_n "checking if GDI+ is available... " >&6; }
36880 if ${wx_cv_lib_gdiplus+:} false
; then :
36881 $as_echo_n "(cached) " >&6
36885 ac_cpp
='$CXXCPP $CPPFLAGS'
36886 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36891 /* end confdefs.h. */
36892 #include <windows.h>
36893 #include <gdiplus.h>
36898 using namespace Gdiplus;
36904 if ac_fn_cxx_try_compile
"$LINENO"; then :
36905 wx_cv_lib_gdiplus
=yes
36907 wx_cv_lib_gdiplus
=no
36910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36912 ac_cpp
='$CPP $CPPFLAGS'
36913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36921 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36922 if test "$wx_cv_lib_gdiplus" = "yes"; then
36925 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36929 $as_echo_n "checking for CAIRO... " >&6; }
36931 if test -n "$PKG_CONFIG"; then
36932 if test -n "$CAIRO_CFLAGS"; then
36933 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
36935 if test -n "$PKG_CONFIG" && \
36936 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36937 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36940 test $ac_status = 0; }; then
36941 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36949 if test -n "$PKG_CONFIG"; then
36950 if test -n "$CAIRO_LIBS"; then
36951 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
36953 if test -n "$PKG_CONFIG" && \
36954 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36955 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36958 test $ac_status = 0; }; then
36959 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36970 if test $pkg_failed = yes; then
36972 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36973 _pkg_short_errors_supported
=yes
36975 _pkg_short_errors_supported
=no
36977 if test $_pkg_short_errors_supported = yes; then
36978 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36980 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36982 # Put the nasty error message in config.log where it belongs
36983 echo "$CAIRO_PKG_ERRORS" >&5
36985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36986 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36988 elif test $pkg_failed = untried
; then
36989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36990 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36993 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
36994 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
36995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36996 $as_echo "yes" >&6; }
36999 if test "$wx_has_graphics" = 1; then
37001 LIBS
="$LIBS $CAIRO_LIBS"
37002 for ac_func
in cairo_push_group
37004 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37005 if test "x$ac_cv_func_cairo_push_group" = xyes
; then :
37006 cat >>confdefs.h
<<_ACEOF
37007 #define HAVE_CAIRO_PUSH_GROUP 1
37014 if test "$ac_cv_func_cairo_push_group" = "no"; then
37016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37017 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37019 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37022 if test "$wxUSE_GTK" != 1; then
37023 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
37024 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
37032 if test "$wx_has_graphics" = 1; then
37033 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37037 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37044 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37047 if test "$wxUSE_GTK" = 1; then
37048 wxUSE_GSTREAMER
="no"
37050 GST_VERSION_MAJOR
=0
37051 GST_VERSION_MINOR
=10
37052 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37054 if test "$wxUSE_GSTREAMER8" = "no"; then
37057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37058 $as_echo_n "checking for GST... " >&6; }
37060 if test -n "$PKG_CONFIG"; then
37061 if test -n "$GST_CFLAGS"; then
37062 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37064 if test -n "$PKG_CONFIG" && \
37065 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37066 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37069 test $ac_status = 0; }; then
37070 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37078 if test -n "$PKG_CONFIG"; then
37079 if test -n "$GST_LIBS"; then
37080 pkg_cv_GST_LIBS
="$GST_LIBS"
37082 if test -n "$PKG_CONFIG" && \
37083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37084 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37087 test $ac_status = 0; }; then
37088 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37099 if test $pkg_failed = yes; then
37101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37102 _pkg_short_errors_supported
=yes
37104 _pkg_short_errors_supported
=no
37106 if test $_pkg_short_errors_supported = yes; then
37107 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37109 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37111 # Put the nasty error message in config.log where it belongs
37112 echo "$GST_PKG_ERRORS" >&5
37115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37116 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37117 GST_VERSION_MINOR
=8
37120 elif test $pkg_failed = untried
; then
37122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37123 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37124 GST_VERSION_MINOR
=8
37128 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37129 GST_LIBS
=$pkg_cv_GST_LIBS
37130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37131 $as_echo "yes" >&6; }
37133 wxUSE_GSTREAMER
="yes"
37134 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37138 GST_VERSION_MINOR
=8
37141 if test $GST_VERSION_MINOR = "8"; then
37142 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37146 $as_echo_n "checking for GST... " >&6; }
37148 if test -n "$PKG_CONFIG"; then
37149 if test -n "$GST_CFLAGS"; then
37150 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37152 if test -n "$PKG_CONFIG" && \
37153 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37154 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37157 test $ac_status = 0; }; then
37158 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37166 if test -n "$PKG_CONFIG"; then
37167 if test -n "$GST_LIBS"; then
37168 pkg_cv_GST_LIBS
="$GST_LIBS"
37170 if test -n "$PKG_CONFIG" && \
37171 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37172 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37175 test $ac_status = 0; }; then
37176 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37187 if test $pkg_failed = yes; then
37189 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37190 _pkg_short_errors_supported
=yes
37192 _pkg_short_errors_supported
=no
37194 if test $_pkg_short_errors_supported = yes; then
37195 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37197 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37199 # Put the nasty error message in config.log where it belongs
37200 echo "$GST_PKG_ERRORS" >&5
37203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37204 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37206 elif test $pkg_failed = untried
; then
37208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37209 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37212 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37213 GST_LIBS
=$pkg_cv_GST_LIBS
37214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37215 $as_echo "yes" >&6; }
37216 wxUSE_GSTREAMER
="yes"
37221 if test "$wxUSE_GSTREAMER" = "yes"; then
37222 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
37223 EXTRALIBS_MEDIA
="$GST_LIBS"
37225 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37231 elif test "$wxUSE_MAC" = 1; then
37232 GST_LIBS
="-framework QTKit"
37235 if test $USE_MEDIA = 1; then
37236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
37237 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37240 if test "$wxUSE_MEDIACTRL" = "yes"; then
37241 as_fn_error $?
"GStreamer not available" "$LINENO" 5
37243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37244 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37250 if test "$cross_compiling" != "no"; then
37253 OSINFO
=`uname -s -r -m`
37254 OSINFO
="\"$OSINFO\""
37257 cat >>confdefs.h
<<_ACEOF
37258 #define WXWIN_OS_DESCRIPTION $OSINFO
37263 if test "x$prefix" != "xNONE"; then
37266 wxPREFIX
=$ac_default_prefix
37269 cat >>confdefs.h
<<_ACEOF
37270 #define wxINSTALL_PREFIX "$wxPREFIX"
37276 STD_BASE_LIBS
="base"
37278 BUILT_WX_LIBS
="base"
37279 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
37281 if test "$wxUSE_SOCKETS" = "yes" ; then
37282 STD_BASE_LIBS
="net $STD_BASE_LIBS"
37283 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
37285 if test "$wxUSE_XML" = "yes" ; then
37286 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
37287 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
37290 if test "$wxUSE_GUI" = "yes"; then
37291 STD_GUI_LIBS
="adv core"
37292 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
37294 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37295 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
37296 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
37298 if test "$wxUSE_HTML" = "yes" ; then
37299 STD_GUI_LIBS
="html $STD_GUI_LIBS"
37300 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
37302 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37303 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
37305 if test "$wxUSE_OPENGL" = "yes" ; then
37306 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
37308 if test "$wxUSE_AUI" = "yes" ; then
37309 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
37311 if test "$wxUSE_PROPGRID" = "yes" ; then
37312 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
37314 if test "$wxUSE_RIBBON" = "yes" ; then
37315 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
37317 if test "$wxUSE_RICHTEXT" = "yes" ; then
37318 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
37320 if test "$wxUSE_STC" = "yes" ; then
37321 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
37323 if test "$wxUSE_WEBVIEW" = "yes" ; then
37324 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
37325 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
37327 if test "$wxUSE_XRC" = "yes" ; then
37328 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
37329 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
37340 if test "$wxUSE_MAC" = 1 ; then
37341 if test "$USE_DARWIN" = 1; then
37342 if test "$wxUSE_OSX_IPHONE" = 1; then
37343 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37345 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37348 if test "$cross_compiling" != "no"; then
37349 wx_cv_target_x86_64
=no
37351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37352 $as_echo_n "checking if we target only x86_64... " >&6; }
37353 if ${wx_cv_target_x86_64+:} false
; then :
37354 $as_echo_n "(cached) " >&6
37356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37357 /* end confdefs.h. */
37358 int main() { return 0; }
37360 if ac_fn_c_try_link
"$LINENO"; then :
37361 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37362 wx_cv_target_x86_64
=no
37364 wx_cv_target_x86_64
=yes
37368 rm -f core conftest.err conftest.
$ac_objext \
37369 conftest
$ac_exeext conftest.
$ac_ext
37372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37373 $as_echo "$wx_cv_target_x86_64" >&6; }
37376 if test "$wx_cv_target_x86_64" != "yes"; then
37377 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37382 if test "$wxUSE_OLD_COCOA" = 1 ; then
37383 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37384 if test "$wxUSE_MEDIACTRL" = "yes"; then
37385 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37388 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37389 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37392 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37393 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37395 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37397 if test "$wxUSE_GUI" = "yes"; then
37400 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37401 erase event exec font image minimal render \
37402 shaped svg taborder vscroll widgets wrapsizer"
37404 if test "$wxUSE_MONOLITHIC" != "yes"; then
37405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37407 if test "$TOOLKIT" = "MSW"; then
37408 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37409 if test "$wxUSE_UNIVERSAL" != "yes"; then
37410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37413 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37417 SAMPLES_SUBDIRS
="console"
37418 if test "$wxUSE_SOCKETS" = "yes" ; then
37419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37421 if test "$wxUSE_IPC" = "yes" ; then
37422 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37427 if test "x$INTELCC" = "xyes" ; then
37428 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37429 elif test "$GCC" = yes ; then
37430 CWARNINGS
="-Wall -Wundef"
37433 if test "x$INTELCXX" = "xyes" ; then
37434 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37435 elif test "$GXX" = yes ; then
37436 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37438 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37439 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false
; then :
37440 $as_echo_n "(cached) " >&6
37442 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37445 ac_cpp
='$CXXCPP $CPPFLAGS'
37446 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37447 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37448 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37450 ac_save_CXXFLAGS
="$CXXFLAGS"
37451 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37452 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37454 /* end confdefs.h. */
37464 if ac_fn_cxx_try_compile
"$LINENO"; then :
37465 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37469 CXXFLAGS
="$ac_save_CXXFLAGS"
37471 ac_cpp
='$CPP $CPPFLAGS'
37472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37479 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37480 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37484 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37485 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37486 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37489 test $ac_status = 0; }
37490 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37491 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37494 test $ac_status = 0; }
37495 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37501 if test "$wxUSE_MAC" = 1 ; then
37502 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37507 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37508 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37511 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37512 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37513 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37516 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37517 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37518 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37519 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37520 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37522 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37525 if test "x$MWCC" = "xyes"; then
37527 CC
="$CC -cwd source -I-"
37528 CXX
="$CXX -cwd source -I-"
37533 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37534 EXTRALIBS_XML
="$EXPAT_LINK"
37535 EXTRALIBS_HTML
="$MSPACK_LINK"
37536 EXTRALIBS_MEDIA
="$GST_LIBS"
37537 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37538 if test "$wxUSE_GUI" = "yes"; then
37539 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37541 if test "$wxUSE_OPENGL" = "yes"; then
37542 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37545 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37547 WXCONFIG_LIBS
="$LIBS"
37549 if test "$wxUSE_REGEX" = "builtin" ; then
37550 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37552 if test "$wxUSE_EXPAT" = "builtin" ; then
37553 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37555 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37556 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37558 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37559 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37561 if test "$wxUSE_LIBPNG" = "builtin" ; then
37562 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37564 if test "$wxUSE_ZLIB" = "builtin" ; then
37565 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37568 for i
in $wxconfig_3rdparty ; do
37569 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37573 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37576 case "$wxUNIV_THEMES" in
37578 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37583 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37584 cat >>confdefs.h
<<_ACEOF
37585 #define wxUSE_THEME_$t 1
37601 if test $wxUSE_MONOLITHIC = "yes" ; then
37607 if test $wxUSE_PLUGINS = "yes" ; then
37613 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37619 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37647 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37660 TOOLKIT_DESC
="GTK+"
37661 if test "$WXGTK2" = 1; then
37662 if test "$WXGTK3" = 1; then
37663 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
37665 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
37667 if test "$wxUSE_GTKPRINT" = "yes" ; then
37668 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
37670 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37671 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
37673 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37674 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
37676 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37677 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA libnotify"
37679 if test "$wxUSE_LIBHILDON" = "yes"; then
37680 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37682 if test "$wxUSE_LIBHILDON2" = "yes"; then
37683 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37686 if test "$TOOLKIT_EXTRA" != ""; then
37687 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37693 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
37697 TOOLKIT_DESC
="base only"
37701 if test "$wxUSE_WINE" = "yes"; then
37702 BAKEFILE_FORCE_PLATFORM
=win32
37705 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37708 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37709 if ${wx_cv_gcc_pch_bug+:} false
; then :
37710 $as_echo_n "(cached) " >&6
37713 echo '#include <stdio.h>
37714 const wchar_t test_var[] = L"awidetest";' > conftest.h
37716 echo '#include "conftest.h"
37719 printf("%ls", test_var);
37723 wx_cv_gcc_pch_bug
="pch not supported"
37725 if $CXX conftest.h
>/dev
/null
2>&1
37729 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
37731 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
37732 grep awidetest
>/dev
/null
37734 wx_cv_gcc_pch_bug
=no
37736 wx_cv_gcc_pch_bug
=yes
37741 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
37744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37745 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37747 if test "$wx_cv_gcc_pch_bug" = yes; then
37752 # Find a good install program. We prefer a C program (faster),
37753 # so one script is as good as another. But avoid the broken or
37754 # incompatible versions:
37755 # SysV /etc/install, /usr/sbin/install
37756 # SunOS /usr/etc/install
37757 # IRIX /sbin/install
37759 # AmigaOS /C/install, which installs bootblocks on floppy discs
37760 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37761 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37762 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37763 # OS/2's system install, which has a completely different semantic
37764 # ./install, which can be erroneously created by make from ./install.sh.
37765 # Reject install programs that cannot install multiple files.
37766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37767 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37768 if test -z "$INSTALL"; then
37769 if ${ac_cv_path_install+:} false
; then :
37770 $as_echo_n "(cached) " >&6
37772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37773 for as_dir
in $PATH
37776 test -z "$as_dir" && as_dir
=.
37777 # Account for people who put trailing slashes in PATH elements.
37778 case $as_dir/ in #((
37779 .
/ | .
// | /[cC
]/* | \
37780 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37781 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
37784 # OSF1 and SCO ODT 3.0 have their own names for install.
37785 # Don't use installbsd from OSF since it installs stuff as root
37787 for ac_prog
in ginstall scoinst
install; do
37788 for ac_exec_ext
in '' $ac_executable_extensions; do
37789 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
37790 if test $ac_prog = install &&
37791 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37792 # AIX install. It has an incompatible calling convention.
37794 elif test $ac_prog = install &&
37795 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37796 # program-specific install script used by HP pwplus--don't use.
37799 rm -rf conftest.one conftest.two conftest.dir
37800 echo one
> conftest.one
37801 echo two
> conftest.two
37803 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
37804 test -s conftest.one
&& test -s conftest.two
&&
37805 test -s conftest.dir
/conftest.one
&&
37806 test -s conftest.dir
/conftest.two
37808 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37821 rm -rf conftest.one conftest.two conftest.dir
37824 if test "${ac_cv_path_install+set}" = set; then
37825 INSTALL
=$ac_cv_path_install
37827 # As a last resort, use the slow shell script. Don't cache a
37828 # value for INSTALL within a source directory, because that will
37829 # break other packages using the cache if that directory is
37830 # removed, or if the value is a relative name.
37831 INSTALL
=$ac_install_sh
37834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37835 $as_echo "$INSTALL" >&6; }
37837 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37838 # It thinks the first close brace ends the variable substitution.
37839 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37841 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37843 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37851 if test "x$BAKEFILE_HOST" = "x"; then
37852 if test "x${host}" = "x" ; then
37853 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37856 BAKEFILE_HOST
="${host}"
37859 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37861 if test -n "$ac_tool_prefix"; then
37862 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37863 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37865 $as_echo_n "checking for $ac_word... " >&6; }
37866 if ${ac_cv_prog_RANLIB+:} false
; then :
37867 $as_echo_n "(cached) " >&6
37869 if test -n "$RANLIB"; then
37870 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37873 for as_dir
in $PATH
37876 test -z "$as_dir" && as_dir
=.
37877 for ac_exec_ext
in '' $ac_executable_extensions; do
37878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37879 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37889 RANLIB
=$ac_cv_prog_RANLIB
37890 if test -n "$RANLIB"; then
37891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37892 $as_echo "$RANLIB" >&6; }
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37895 $as_echo "no" >&6; }
37900 if test -z "$ac_cv_prog_RANLIB"; then
37901 ac_ct_RANLIB
=$RANLIB
37902 # Extract the first word of "ranlib", so it can be a program name with args.
37903 set dummy ranlib
; ac_word
=$2
37904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37905 $as_echo_n "checking for $ac_word... " >&6; }
37906 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
37907 $as_echo_n "(cached) " >&6
37909 if test -n "$ac_ct_RANLIB"; then
37910 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37913 for as_dir
in $PATH
37916 test -z "$as_dir" && as_dir
=.
37917 for ac_exec_ext
in '' $ac_executable_extensions; do
37918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37919 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37929 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37930 if test -n "$ac_ct_RANLIB"; then
37931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37932 $as_echo "$ac_ct_RANLIB" >&6; }
37934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37935 $as_echo "no" >&6; }
37938 if test "x$ac_ct_RANLIB" = x
; then
37941 case $cross_compiling:$ac_tool_warned in
37943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37945 ac_tool_warned
=yes ;;
37947 RANLIB
=$ac_ct_RANLIB
37950 RANLIB
="$ac_cv_prog_RANLIB"
37954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37955 $as_echo_n "checking whether ln -s works... " >&6; }
37957 if test "$LN_S" = "ln -s"; then
37958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37959 $as_echo "yes" >&6; }
37961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37962 $as_echo "no, using $LN_S" >&6; }
37966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37967 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37969 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37970 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
37971 $as_echo_n "(cached) " >&6
37973 cat >conftest.
make <<\_ACEOF
37976 @
echo '@@@%%%=$(MAKE)=@@@%%%'
37978 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37979 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37980 *@@@
%%%=?
*=@@@
%%%*)
37981 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
37983 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
37985 rm -f conftest.
make
37987 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
37988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37989 $as_echo "yes" >&6; }
37992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37993 $as_echo "no" >&6; }
37994 SET_MAKE
="MAKE=${MAKE-make}"
37999 if test "x$SUNCXX" = "xyes"; then
38001 AROPTIONS
="-xar -o"
38003 elif test "x$SGICC" = "xyes"; then
38008 if test -n "$ac_tool_prefix"; then
38009 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38010 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38012 $as_echo_n "checking for $ac_word... " >&6; }
38013 if ${ac_cv_prog_AR+:} false
; then :
38014 $as_echo_n "(cached) " >&6
38016 if test -n "$AR"; then
38017 ac_cv_prog_AR
="$AR" # Let the user override the test.
38019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38020 for as_dir
in $PATH
38023 test -z "$as_dir" && as_dir
=.
38024 for ac_exec_ext
in '' $ac_executable_extensions; do
38025 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38026 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38037 if test -n "$AR"; then
38038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38039 $as_echo "$AR" >&6; }
38041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38042 $as_echo "no" >&6; }
38047 if test -z "$ac_cv_prog_AR"; then
38049 # Extract the first word of "ar", so it can be a program name with args.
38050 set dummy
ar; 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_ac_ct_AR+:} false
; then :
38054 $as_echo_n "(cached) " >&6
38056 if test -n "$ac_ct_AR"; then
38057 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # 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_ac_ct_AR
="ar"
38067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38076 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38077 if test -n "$ac_ct_AR"; then
38078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38079 $as_echo "$ac_ct_AR" >&6; }
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38082 $as_echo "no" >&6; }
38085 if test "x$ac_ct_AR" = x
; then
38088 case $cross_compiling:$ac_tool_warned in
38090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38092 ac_tool_warned
=yes ;;
38097 AR
="$ac_cv_prog_AR"
38104 if test -n "$ac_tool_prefix"; then
38105 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38106 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38108 $as_echo_n "checking for $ac_word... " >&6; }
38109 if ${ac_cv_prog_STRIP+:} false
; then :
38110 $as_echo_n "(cached) " >&6
38112 if test -n "$STRIP"; then
38113 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38116 for as_dir
in $PATH
38119 test -z "$as_dir" && as_dir
=.
38120 for ac_exec_ext
in '' $ac_executable_extensions; do
38121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38122 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38132 STRIP
=$ac_cv_prog_STRIP
38133 if test -n "$STRIP"; then
38134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38135 $as_echo "$STRIP" >&6; }
38137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38138 $as_echo "no" >&6; }
38143 if test -z "$ac_cv_prog_STRIP"; then
38145 # Extract the first word of "strip", so it can be a program name with args.
38146 set dummy strip
; ac_word
=$2
38147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38148 $as_echo_n "checking for $ac_word... " >&6; }
38149 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
38150 $as_echo_n "(cached) " >&6
38152 if test -n "$ac_ct_STRIP"; then
38153 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38156 for as_dir
in $PATH
38159 test -z "$as_dir" && as_dir
=.
38160 for ac_exec_ext
in '' $ac_executable_extensions; do
38161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38162 ac_cv_prog_ac_ct_STRIP
="strip"
38163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38172 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38173 if test -n "$ac_ct_STRIP"; then
38174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38175 $as_echo "$ac_ct_STRIP" >&6; }
38177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38178 $as_echo "no" >&6; }
38181 if test "x$ac_ct_STRIP" = x
; then
38184 case $cross_compiling:$ac_tool_warned in
38186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38188 ac_tool_warned
=yes ;;
38193 STRIP
="$ac_cv_prog_STRIP"
38196 if test -n "$ac_tool_prefix"; then
38197 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38198 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38200 $as_echo_n "checking for $ac_word... " >&6; }
38201 if ${ac_cv_prog_NM+:} false
; then :
38202 $as_echo_n "(cached) " >&6
38204 if test -n "$NM"; then
38205 ac_cv_prog_NM
="$NM" # Let the user override the test.
38207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38208 for as_dir
in $PATH
38211 test -z "$as_dir" && as_dir
=.
38212 for ac_exec_ext
in '' $ac_executable_extensions; do
38213 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38214 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38225 if test -n "$NM"; then
38226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38227 $as_echo "$NM" >&6; }
38229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38230 $as_echo "no" >&6; }
38235 if test -z "$ac_cv_prog_NM"; then
38237 # Extract the first word of "nm", so it can be a program name with args.
38238 set dummy nm
; ac_word
=$2
38239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38240 $as_echo_n "checking for $ac_word... " >&6; }
38241 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
38242 $as_echo_n "(cached) " >&6
38244 if test -n "$ac_ct_NM"; then
38245 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38248 for as_dir
in $PATH
38251 test -z "$as_dir" && as_dir
=.
38252 for ac_exec_ext
in '' $ac_executable_extensions; do
38253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38254 ac_cv_prog_ac_ct_NM
="nm"
38255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38264 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38265 if test -n "$ac_ct_NM"; then
38266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38267 $as_echo "$ac_ct_NM" >&6; }
38269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38270 $as_echo "no" >&6; }
38273 if test "x$ac_ct_NM" = x
; then
38276 case $cross_compiling:$ac_tool_warned in
38278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38280 ac_tool_warned
=yes ;;
38285 NM
="$ac_cv_prog_NM"
38289 INSTALL_DIR
="mkdir -p"
38293 case ${BAKEFILE_HOST} in
38294 *-*-cygwin* | *-*-mingw32* )
38295 LDFLAGS_GUI
="-mwindows"
38301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38302 $as_echo_n "checking if make is GNU make... " >&6; }
38303 if ${bakefile_cv_prog_makeisgnu+:} false
; then :
38304 $as_echo_n "(cached) " >&6
38307 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38308 egrep -s GNU
> /dev
/null
); then
38309 bakefile_cv_prog_makeisgnu
="yes"
38311 bakefile_cv_prog_makeisgnu
="no"
38315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38316 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38318 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38335 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38336 case "${BAKEFILE_HOST}" in
38343 *-pc-os2_emx | *-pc-os2-emx )
38353 powerpc
-apple-macos* )
38362 case "$BAKEFILE_FORCE_PLATFORM" in
38383 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38398 # Check whether --enable-omf was given.
38399 if test "${enable_omf+set}" = set; then :
38400 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38404 case "${BAKEFILE_HOST}" in
38406 if test "x$GCC" = "xyes"; then
38407 CFLAGS
="$CFLAGS -fno-common"
38408 CXXFLAGS
="$CXXFLAGS -fno-common"
38410 if test "x$XLCC" = "xyes"; then
38411 CFLAGS
="$CFLAGS -qnocommon"
38412 CXXFLAGS
="$CXXFLAGS -qnocommon"
38416 *-pc-os2_emx | *-pc-os2-emx )
38417 if test "x$bk_os2_use_omf" = "xyes" ; then
38420 LDFLAGS
="-Zomf $LDFLAGS"
38421 CFLAGS
="-Zomf $CFLAGS"
38422 CXXFLAGS
="-Zomf $CXXFLAGS"
38430 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38436 SO_SUFFIX_MODULE
="so"
38441 DLLPREFIX_MODULE
=""
38445 case "${BAKEFILE_HOST}" in
38450 SO_SUFFIX_MODULE
="sl"
38454 SO_SUFFIX_MODULE
="a"
38458 SO_SUFFIX_MODULE
="dll"
38459 DLLIMP_SUFFIX
="dll.a"
38466 SO_SUFFIX_MODULE
="dll"
38467 DLLIMP_SUFFIX
="dll.a"
38477 *-pc-os2_emx | *-pc-os2-emx )
38479 SO_SUFFIX_MODULE
="dll"
38480 DLLIMP_SUFFIX
=$OS2_LIBEXT
38484 LIBEXT
=".$OS2_LIBEXT"
38489 SO_SUFFIX_MODULE
="bundle"
38493 if test "x$DLLIMP_SUFFIX" = "x" ; then
38494 DLLIMP_SUFFIX
="$SO_SUFFIX"
38509 if test "x$GCC" = "xyes"; then
38513 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38514 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38517 case "${BAKEFILE_HOST}" in
38519 if test "x$GCC" != "xyes"; then
38520 LDFLAGS
="$LDFLAGS -L/usr/lib"
38522 SHARED_LD_CC
="${CC} -b -o"
38523 SHARED_LD_CXX
="${CXX} -b -o"
38529 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38531 elif test "x$SUNCXX" = "xyes"; then
38532 SHARED_LD_CC
="${CC} -G -o"
38533 SHARED_LD_CXX
="${CXX} -G -o"
38539 if test "x$SUNCXX" = xyes
; then
38540 SHARED_LD_CC
="${CC} -G -o"
38541 SHARED_LD_CXX
="${CXX} -G -o"
38549 cat <<EOF >shared-ld-sh
38551 #-----------------------------------------------------------------------------
38552 #-- Name: distrib/mac/shared-ld-sh
38553 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38554 #-- Author: Gilles Depeyrot
38555 #-- Copyright: (c) 2002 Gilles Depeyrot
38556 #-- Licence: any use permitted
38557 #-----------------------------------------------------------------------------
38562 linking_flag="-dynamiclib"
38563 ldargs="-r -keep_private_externs -nostdlib"
38565 if test "x${D}CXX" = "x"; then
38569 while test ${D}# -gt 0; do
38576 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38577 # collect these options and values
38578 args="${D}{args} ${D}1 ${D}2"
38583 # collect these options and values
38584 ldargs="${D}{ldargs} ${D}1 ${D}2"
38589 # collect these load args
38590 ldargs="${D}{ldargs} ${D}1"
38593 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38594 # collect these options
38595 args="${D}{args} ${D}1"
38598 -dynamiclib|-bundle)
38599 linking_flag="${D}1"
38603 echo "shared-ld: unhandled option '${D}1'"
38607 *.o | *.a | *.dylib)
38608 # collect object files
38609 objects="${D}{objects} ${D}1"
38613 echo "shared-ld: unhandled argument '${D}1'"
38624 # Link one module containing all the others
38626 if test ${D}{verbose} = 1; then
38627 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38629 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38633 # Link the shared library from the single module created, but only if the
38634 # previous command didn't fail:
38636 if test ${D}{status} = 0; then
38637 if test ${D}{verbose} = 1; then
38638 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38640 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38645 # Remove intermediate module
38647 rm -f master.${D}${D}.o
38652 chmod +x shared
-ld-sh
38654 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38655 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38659 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38660 if ${bakefile_cv_gcc31+:} false
; then :
38661 $as_echo_n "(cached) " >&6
38664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38665 /* end confdefs.h. */
38671 #if (__GNUC__ < 3) || \
38672 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38680 if ac_fn_c_try_compile
"$LINENO"; then :
38682 bakefile_cv_gcc31
=yes
38686 bakefile_cv_gcc31
=no
38690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38694 $as_echo "$bakefile_cv_gcc31" >&6; }
38695 if test "$bakefile_cv_gcc31" = "no"; then
38696 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38697 SHARED_LD_CXX
="$SHARED_LD_CC"
38699 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38700 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38703 if test "x$GCC" == "xyes"; then
38704 PIC_FLAG
="-dynamic -fPIC"
38706 if test "x$XLCC" = "xyes"; then
38707 PIC_FLAG
="-dynamic -DPIC"
38712 if test "x$GCC" = "xyes"; then
38715 case "${BAKEFILE_HOST}" in
38717 LD_EXPFULL
="-Wl,-bexpfull"
38721 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
38722 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
38724 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38725 set dummy makeC
++SharedLib
; ac_word
=$2
38726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38727 $as_echo_n "checking for $ac_word... " >&6; }
38728 if ${ac_cv_prog_AIX_CXX_LD+:} false
; then :
38729 $as_echo_n "(cached) " >&6
38731 if test -n "$AIX_CXX_LD"; then
38732 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38735 for as_dir
in $PATH
38738 test -z "$as_dir" && as_dir
=.
38739 for ac_exec_ext
in '' $ac_executable_extensions; do
38740 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38741 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38749 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38752 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38753 if test -n "$AIX_CXX_LD"; then
38754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38755 $as_echo "$AIX_CXX_LD" >&6; }
38757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38758 $as_echo "no" >&6; }
38762 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38763 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38768 SHARED_LD_CC
="${LD} -nostart -o"
38769 SHARED_LD_CXX
="${LD} -nostart -o"
38773 if test "x$GCC" != "xyes"; then
38778 *-*-cygwin* | *-*-mingw32* )
38780 SHARED_LD_CC
="\$(CC) -shared -o"
38781 SHARED_LD_CXX
="\$(CXX) -shared -o"
38785 *-pc-os2_emx | *-pc-os2-emx )
38786 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38787 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38791 cat <<EOF >dllar.sh
38794 # dllar - a tool to build both a .dll and an .a file
38795 # from a set of object (.o) files for EMX/OS2.
38797 # Written by Andrew Zabolotny, bit@freya.etu.ru
38798 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38800 # This script will accept a set of files on the command line.
38801 # All the public symbols from the .o files will be exported into
38802 # a .DEF file, then linker will be run (through gcc) against them to
38803 # build a shared library consisting of all given .o files. All libraries
38804 # (.a) will be first decompressed into component .o files then act as
38805 # described above. You can optionally give a description (-d "description")
38806 # which will be put into .DLL. To see the list of accepted options (as well
38807 # as command-line format) simply run this program without options. The .DLL
38808 # is built to be imported by name (there is no guarantee that new versions
38809 # of the library you build will have same ordinals for same symbols).
38811 # dllar is free software; you can redistribute it and/or modify
38812 # it under the terms of the GNU General Public License as published by
38813 # the Free Software Foundation; either version 2, or (at your option)
38814 # any later version.
38816 # dllar is distributed in the hope that it will be useful,
38817 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38818 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38819 # GNU General Public License for more details.
38821 # You should have received a copy of the GNU General Public License
38822 # along with dllar; see the file COPYING. If not, write to the Free
38823 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38826 # To successfuly run this program you will need:
38827 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38828 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38830 # (used to build the .dll)
38832 # (used to create .def file from .o files)
38834 # (used to create .a file from .def file)
38835 # - GNU text utilites (cat, sort, uniq)
38836 # used to process emxexp output
38837 # - GNU file utilities (mv, rm)
38839 # - lxlite (optional, see flag below)
38840 # (used for general .dll cleanup)
38847 # basnam, variant of basename, which does _not_ remove the path, _iff_
38848 # second argument (suffix to remove) is given
38852 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38855 echo ${D}1 | sed 's/'${D}2'${D}//'
38858 echo "error in basnam ${D}*"
38864 # Cleanup temporary files and output
38867 for i in ${D}inputFiles ; do
38870 rm -rf \`basnam ${D}i !\`
38877 # Kill result in case of failure as there is just to many stupid make/nmake
38878 # things out there which doesn't do this.
38879 if [ ${D}# -eq 0 ]; then
38880 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38884 # Print usage and exit script with rc=1.
38886 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38887 echo ' [-name-mangler-script script.sh]'
38888 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38889 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38890 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38891 echo ' [*.o] [*.a]'
38892 echo '*> "output_file" should have no extension.'
38893 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38894 echo ' The import library name is derived from this and is set to "name".a,'
38895 echo ' unless overridden by -import'
38896 echo '*> "importlib_name" should have no extension.'
38897 echo ' If it has the .o, or .a extension, it is automatically removed.'
38898 echo ' This name is used as the import library name and may be longer and'
38899 echo ' more descriptive than the DLL name which has to follow the old '
38900 echo ' 8.3 convention of FAT.'
38901 echo '*> "script.sh may be given to override the output_file name by a'
38902 echo ' different name. It is mainly useful if the regular make process'
38903 echo ' of some package does not take into account OS/2 restriction of'
38904 echo ' DLL name lengths. It takes the importlib name as input and is'
38905 echo ' supposed to procude a shorter name as output. The script should'
38906 echo ' expect to get importlib_name without extension and should produce'
38907 echo ' a (max.) 8 letter name without extension.'
38908 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38909 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38910 echo ' These flags will be put at the start of GCC command line.'
38911 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38912 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38913 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38914 echo ' If the last character of a symbol is "*", all symbols beginning'
38915 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38916 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38917 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38918 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38919 echo ' C runtime DLLs.'
38920 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38921 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38922 echo ' unchanged to GCC at the end of command line.'
38923 echo '*> If you create a DLL from a library and you do not specify -o,'
38924 echo ' the basename for DLL and import library will be set to library name,'
38925 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38926 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38927 echo ' library will be renamed into gcc_s.a.'
38930 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38931 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38936 # Execute a command.
38937 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38938 # @Uses Whatever CleanUp() uses.
38944 if [ ${D}rcCmd -ne 0 ]; then
38945 echo "command failed, exit code="${D}rcCmd
38960 CFLAGS="-s -Zcrtdll"
38962 EXPORT_BY_ORDINALS=0
38967 case ${D}curDirS in
38971 curDirS=${D}{curDirS}"/"
38974 # Parse commandline
38977 while [ ${D}1 ]; do
38980 EXPORT_BY_ORDINALS=1;
38990 -name-mangler-script)
39011 exclude_symbols=${D}{exclude_symbols}${D}1" "
39015 library_flags=${D}{library_flags}${D}1" "
39034 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39037 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39038 if [ ${D}omfLinking -eq 1 ]; then
39039 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39041 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39046 if [ ${D}libsToLink -ne 0 ]; then
39047 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39049 for file in ${D}1 ; do
39050 if [ -f ${D}file ]; then
39051 inputFiles="${D}{inputFiles} ${D}file"
39055 if [ ${D}found -eq 0 ]; then
39056 echo "ERROR: No file(s) found: "${D}1
39063 done # iterate cmdline words
39066 if [ -z "${D}inputFiles" ]; then
39067 echo "dllar: no input files"
39071 # Now extract all .o files from .a files
39073 for file in ${D}inputFiles ; do
39084 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39089 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39091 if [ ${D}? -ne 0 ]; then
39092 echo "Failed to create subdirectory ./${D}dirname"
39096 # Append '!' to indicate archive
39097 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39098 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39101 for subfile in ${D}dirname/*.o* ; do
39102 if [ -f ${D}subfile ]; then
39104 if [ -s ${D}subfile ]; then
39105 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39106 newInputFiles="${D}newInputFiles ${D}subfile"
39110 if [ ${D}found -eq 0 ]; then
39111 echo "WARNING: there are no files in archive \\'${D}file\\'"
39115 newInputFiles="${D}{newInputFiles} ${D}file"
39119 inputFiles="${D}newInputFiles"
39121 # Output filename(s).
39123 if [ -z ${D}outFile ]; then
39125 set outFile ${D}inputFiles; outFile=${D}2
39128 # If it is an archive, remove the '!' and the '_%' suffixes
39129 case ${D}outFile in
39131 outFile=\`basnam ${D}outFile _%!\`
39136 case ${D}outFile in
39138 outFile=\`basnam ${D}outFile .dll\`
39141 outFile=\`basnam ${D}outFile .DLL\`
39144 outFile=\`basnam ${D}outFile .o\`
39147 outFile=\`basnam ${D}outFile .obj\`
39150 outFile=\`basnam ${D}outFile .a\`
39153 outFile=\`basnam ${D}outFile .lib\`
39158 case ${D}outimpFile in
39160 outimpFile=\`basnam ${D}outimpFile .a\`
39163 outimpFile=\`basnam ${D}outimpFile .lib\`
39168 if [ -z ${D}outimpFile ]; then
39169 outimpFile=${D}outFile
39171 defFile="${D}{outFile}.def"
39172 arcFile="${D}{outimpFile}.a"
39173 arcFile2="${D}{outimpFile}.lib"
39175 #create ${D}dllFile as something matching 8.3 restrictions,
39176 if [ -z ${D}renameScript ] ; then
39177 dllFile="${D}outFile"
39179 dllFile=\`${D}renameScript ${D}outimpFile\`
39182 if [ ${D}do_backup -ne 0 ] ; then
39183 if [ -f ${D}arcFile ] ; then
39184 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39186 if [ -f ${D}arcFile2 ] ; then
39187 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39191 # Extract public symbols from all the object files.
39192 tmpdefFile=${D}{defFile}_%
39193 rm -f ${D}tmpdefFile
39194 for file in ${D}inputFiles ; do
39199 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39204 # Create the def file.
39206 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39207 dllFile="${D}{dllFile}.dll"
39208 if [ ! -z ${D}description ]; then
39209 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39211 echo "EXPORTS" >> ${D}defFile
39213 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39214 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39216 # Checks if the export is ok or not.
39217 for word in ${D}exclude_symbols; do
39218 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39219 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39223 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39224 sed "=" < ${D}tmpdefFile | \\
39228 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39230 ' > ${D}{tmpdefFile}%
39231 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39233 rm -f ${D}{tmpdefFile}%
39235 cat ${D}tmpdefFile >> ${D}defFile
39236 rm -f ${D}tmpdefFile
39238 # Do linking, create implib, and apply lxlite.
39240 for file in ${D}inputFiles ; do
39245 gccCmdl="${D}gccCmdl ${D}file"
39249 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39250 touch "${D}{outFile}.dll"
39252 doCommand "emximp -o ${D}arcFile ${D}defFile"
39253 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39255 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39258 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39260 doCommand "emxomf -s -l ${D}arcFile"
39270 powerpc
-apple-macos* | \
39271 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
39281 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
39284 if test "x$PIC_FLAG" != "x" ; then
39285 PIC_FLAG
="$PIC_FLAG -DPIC"
39288 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39289 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39291 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39292 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39307 USE_SOTWOSYMLINKS
=0
39311 case "${BAKEFILE_HOST}" in
39312 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39313 *-*-k*bsd
*-gnu | *-*-mirbsd* )
39314 if test "x$SUNCXX" = "xyes"; then
39317 SONAME_FLAG
="-Wl,-soname,"
39321 USE_SOTWOSYMLINKS
=1
39333 USE_SOTWOSYMLINKS
=1
39351 # Check whether --enable-dependency-tracking was given.
39352 if test "${enable_dependency_tracking+set}" = set; then :
39353 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39358 $as_echo_n "checking for dependency tracking method... " >&6; }
39361 if test "x$bk_use_trackdeps" = "xno" ; then
39363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39364 $as_echo "disabled" >&6; }
39368 if test "x$GCC" = "xyes"; then
39371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39372 $as_echo "gcc" >&6; }
39373 elif test "x$MWCC" = "xyes"; then
39376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39377 $as_echo "mwcc" >&6; }
39378 elif test "x$SUNCC" = "xyes"; then
39381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39382 $as_echo "Sun cc" >&6; }
39383 elif test "x$SGICC" = "xyes"; then
39386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39387 $as_echo "SGI cc" >&6; }
39388 elif test "x$HPCC" = "xyes"; then
39391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39392 $as_echo "HP cc" >&6; }
39393 elif test "x$COMPAQCC" = "xyes"; then
39396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39397 $as_echo "Compaq cc" >&6; }
39400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39401 $as_echo "none" >&6; }
39404 if test $DEPS_TRACKING = 1 ; then
39410 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39411 # script. It is used to track C/C++ files dependencies in portable way.
39413 # Permission is given to use this file in any way.
39415 DEPSMODE=${DEPSMODE}
39416 DEPSFLAG="${DEPSFLAG}"
39419 if test ${D}DEPSMODE = gcc ; then
39420 ${D}* ${D}{DEPSFLAG}
39423 # determine location of created files:
39424 while test ${D}# -gt 0; do
39438 objfilebase=\`basename ${D}objfile\`
39439 builddir=\`dirname ${D}objfile\`
39440 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39441 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39442 depsdir=${D}builddir/${D}DEPSDIRBASE
39443 mkdir -p ${D}depsdir
39445 # if the compiler failed, we're done:
39446 if test ${D}{status} != 0 ; then
39451 # move created file to the location we want it in:
39452 if test -f ${D}depfile ; then
39453 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39456 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39457 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39458 if test ! -f ${D}depfile ; then
39459 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39460 depfile="${D}objfile.d"
39462 if test -f ${D}depfile ; then
39463 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39469 elif test ${D}DEPSMODE = mwcc ; then
39470 ${D}* || exit ${D}?
39471 # Run mwcc again with -MM and redirect into the dep file we want
39472 # NOTE: We can't use shift here because we need ${D}* to be valid
39474 for arg in ${D}* ; do
39475 if test "${D}prevarg" = "-o"; then
39489 objfilebase=\`basename ${D}objfile\`
39490 builddir=\`dirname ${D}objfile\`
39491 depsdir=${D}builddir/${D}DEPSDIRBASE
39492 mkdir -p ${D}depsdir
39494 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39497 elif test ${D}DEPSMODE = unixcc; then
39498 ${D}* || exit ${D}?
39499 # Run compiler again with deps flag and redirect into the dep file.
39500 # It doesn't work if the '-o FILE' option is used, but without it the
39501 # dependency file will contain the wrong name for the object. So it is
39502 # removed from the command line, and the dep file is fixed with sed.
39504 while test ${D}# -gt 0; do
39511 eval arg${D}#=\\${D}1
39512 cmd="${D}cmd \\${D}arg${D}#"
39518 objfilebase=\`basename ${D}objfile\`
39519 builddir=\`dirname ${D}objfile\`
39520 depsdir=${D}builddir/${D}DEPSDIRBASE
39521 mkdir -p ${D}depsdir
39523 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39533 BK_DEPS
="`pwd`/bk-deps"
39541 case ${BAKEFILE_HOST} in
39542 *-*-cygwin* | *-*-mingw32* )
39543 if test -n "$ac_tool_prefix"; then
39544 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39545 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39547 $as_echo_n "checking for $ac_word... " >&6; }
39548 if ${ac_cv_prog_WINDRES+:} false
; then :
39549 $as_echo_n "(cached) " >&6
39551 if test -n "$WINDRES"; then
39552 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39555 for as_dir
in $PATH
39558 test -z "$as_dir" && as_dir
=.
39559 for ac_exec_ext
in '' $ac_executable_extensions; do
39560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39561 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39571 WINDRES
=$ac_cv_prog_WINDRES
39572 if test -n "$WINDRES"; then
39573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39574 $as_echo "$WINDRES" >&6; }
39576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39577 $as_echo "no" >&6; }
39582 if test -z "$ac_cv_prog_WINDRES"; then
39583 ac_ct_WINDRES
=$WINDRES
39584 # Extract the first word of "windres", so it can be a program name with args.
39585 set dummy windres
; ac_word
=$2
39586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39587 $as_echo_n "checking for $ac_word... " >&6; }
39588 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
39589 $as_echo_n "(cached) " >&6
39591 if test -n "$ac_ct_WINDRES"; then
39592 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39595 for as_dir
in $PATH
39598 test -z "$as_dir" && as_dir
=.
39599 for ac_exec_ext
in '' $ac_executable_extensions; do
39600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39601 ac_cv_prog_ac_ct_WINDRES
="windres"
39602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39611 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39612 if test -n "$ac_ct_WINDRES"; then
39613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39614 $as_echo "$ac_ct_WINDRES" >&6; }
39616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39617 $as_echo "no" >&6; }
39620 if test "x$ac_ct_WINDRES" = x
; then
39623 case $cross_compiling:$ac_tool_warned in
39625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39627 ac_tool_warned
=yes ;;
39629 WINDRES
=$ac_ct_WINDRES
39632 WINDRES
="$ac_cv_prog_WINDRES"
39637 *-*-darwin* | powerpc
-apple-macos* )
39638 # Extract the first word of "Rez", so it can be a program name with args.
39639 set dummy Rez
; ac_word
=$2
39640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39641 $as_echo_n "checking for $ac_word... " >&6; }
39642 if ${ac_cv_prog_REZ+:} false
; then :
39643 $as_echo_n "(cached) " >&6
39645 if test -n "$REZ"; then
39646 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39649 for as_dir
in $PATH
39652 test -z "$as_dir" && as_dir
=.
39653 for ac_exec_ext
in '' $ac_executable_extensions; do
39654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39655 ac_cv_prog_REZ
="Rez"
39656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39663 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
39666 REZ
=$ac_cv_prog_REZ
39667 if test -n "$REZ"; then
39668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39669 $as_echo "$REZ" >&6; }
39671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39672 $as_echo "no" >&6; }
39676 # Extract the first word of "SetFile", so it can be a program name with args.
39677 set dummy SetFile
; ac_word
=$2
39678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39679 $as_echo_n "checking for $ac_word... " >&6; }
39680 if ${ac_cv_prog_SETFILE+:} false
; then :
39681 $as_echo_n "(cached) " >&6
39683 if test -n "$SETFILE"; then
39684 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39687 for as_dir
in $PATH
39690 test -z "$as_dir" && as_dir
=.
39691 for ac_exec_ext
in '' $ac_executable_extensions; do
39692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39693 ac_cv_prog_SETFILE
="SetFile"
39694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39701 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39704 SETFILE
=$ac_cv_prog_SETFILE
39705 if test -n "$SETFILE"; then
39706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39707 $as_echo "$SETFILE" >&6; }
39709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39710 $as_echo "no" >&6; }
39725 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
39728 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
39732 # Check whether --enable-precomp-headers was given.
39733 if test "${enable_precomp_headers+set}" = set; then :
39734 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
39743 case ${BAKEFILE_HOST} in
39749 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39750 if test "x$GCC" = "xyes"; then
39751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39752 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39754 /* end confdefs.h. */
39760 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39761 There is no PCH support
39764 There is no PCH support
39766 #if (__GNUC__ == 3) && \
39767 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39768 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39769 ( defined(__INTEL_COMPILER) )
39770 There is no PCH support
39777 if ac_fn_c_try_compile
"$LINENO"; then :
39779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39780 $as_echo "yes" >&6; }
39785 if test "$INTELCXX8" = "yes"; then
39786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39787 $as_echo "yes" >&6; }
39789 if test "$INTELCXX10" = "yes"; then
39790 ICC_PCH_CREATE_SWITCH
="-pch-create"
39791 ICC_PCH_USE_SWITCH
="-pch-use"
39793 ICC_PCH_CREATE_SWITCH
="-create-pch"
39794 ICC_PCH_USE_SWITCH
="-use-pch"
39797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39798 $as_echo "no" >&6; }
39802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39803 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39807 cat <<EOF >bk-make-pch
39810 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39811 # script. It is used to generated precompiled headers.
39813 # Permission is given to use this file in any way.
39820 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39825 while test ${D}{#} -gt 0; do
39829 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39830 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39831 headerfile="${D}{incdir}/${D}{header}"
39834 -use-pch|-use_pch|-pch-use )
39839 if test ${D}add_to_cmdline = 1 ; then
39840 compiler="${D}{compiler} ${D}{1}"
39845 if test "x${D}{headerfile}" = "x" ; then
39846 echo "error: can't find header ${D}{header} in include paths" >&2
39848 if test -f ${D}{outfile} ; then
39849 rm -f ${D}{outfile}
39851 mkdir -p \`dirname ${D}{outfile}\`
39853 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39854 mkdir -p ${D}{builddir}/.deps
39855 if test "x${GCC_PCH}" = "x1" ; then
39856 # can do this because gcc is >= 3.4:
39857 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39858 elif test "x${ICC_PCH}" = "x1" ; then
39859 filename=pch_gen-${D}${D}
39860 file=${D}{filename}.c
39861 dfile=${D}{filename}.d
39862 cat > ${D}file <<EOT
39863 #include "${D}header"
39865 # using -MF icc complains about differing command lines in creation/use
39866 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39867 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39868 rm -f ${D}file ${D}dfile ${D}{filename}.o
39874 chmod +x bk
-make-pch
39875 BK_MAKE_PCH
="`pwd`/bk-make-pch"
39886 COND_BUILD_DEBUG
="#"
39887 if test "x$BUILD" = "xdebug" ; then
39888 COND_BUILD_DEBUG
=""
39891 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39892 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39893 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39896 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39897 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39898 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39901 COND_BUILD_DEBUG_UNICODE_0
="#"
39902 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39903 COND_BUILD_DEBUG_UNICODE_0
=""
39906 COND_BUILD_DEBUG_UNICODE_1
="#"
39907 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39908 COND_BUILD_DEBUG_UNICODE_1
=""
39911 COND_BUILD_RELEASE
="#"
39912 if test "x$BUILD" = "xrelease" ; then
39913 COND_BUILD_RELEASE
=""
39916 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39917 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39918 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39921 COND_BUILD_RELEASE_UNICODE_0
="#"
39922 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39923 COND_BUILD_RELEASE_UNICODE_0
=""
39926 COND_BUILD_RELEASE_UNICODE_1
="#"
39927 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39928 COND_BUILD_RELEASE_UNICODE_1
=""
39931 COND_BUILD_debug
="#"
39932 if test "x$BUILD" = "xdebug" ; then
39933 COND_BUILD_debug
=""
39936 COND_BUILD_debug_DEBUG_FLAG_default
="#"
39937 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39938 COND_BUILD_debug_DEBUG_FLAG_default
=""
39941 COND_BUILD_debug_DEBUG_INFO_default
="#"
39942 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39943 COND_BUILD_debug_DEBUG_INFO_default
=""
39946 COND_BUILD_debug_UNICODE_0
="#"
39947 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39948 COND_BUILD_debug_UNICODE_0
=""
39951 COND_BUILD_debug_UNICODE_1
="#"
39952 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39953 COND_BUILD_debug_UNICODE_1
=""
39956 COND_BUILD_release
="#"
39957 if test "x$BUILD" = "xrelease" ; then
39958 COND_BUILD_release
=""
39961 COND_BUILD_release_DEBUG_INFO_default
="#"
39962 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39963 COND_BUILD_release_DEBUG_INFO_default
=""
39966 COND_BUILD_release_UNICODE_0
="#"
39967 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39968 COND_BUILD_release_UNICODE_0
=""
39971 COND_BUILD_release_UNICODE_1
="#"
39972 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39973 COND_BUILD_release_UNICODE_1
=""
39976 COND_DEBUG_FLAG_0
="#"
39977 if test "x$DEBUG_FLAG" = "x0" ; then
39978 COND_DEBUG_FLAG_0
=""
39981 COND_DEBUG_FLAG_1
="#"
39982 if test "x$DEBUG_FLAG" = "x1" ; then
39983 COND_DEBUG_FLAG_1
=""
39986 COND_DEBUG_INFO_0
="#"
39987 if test "x$DEBUG_INFO" = "x0" ; then
39988 COND_DEBUG_INFO_0
=""
39991 COND_DEBUG_INFO_1
="#"
39992 if test "x$DEBUG_INFO" = "x1" ; then
39993 COND_DEBUG_INFO_1
=""
39996 COND_DEPS_TRACKING_0
="#"
39997 if test "x$DEPS_TRACKING" = "x0" ; then
39998 COND_DEPS_TRACKING_0
=""
40001 COND_DEPS_TRACKING_1
="#"
40002 if test "x$DEPS_TRACKING" = "x1" ; then
40003 COND_DEPS_TRACKING_1
=""
40007 if test "x$GCC_PCH" = "x1" ; then
40012 if test "x$ICC_PCH" = "x1" ; then
40016 COND_MONOLITHIC_0
="#"
40017 if test "x$MONOLITHIC" = "x0" ; then
40018 COND_MONOLITHIC_0
=""
40021 COND_MONOLITHIC_0_SHARED_0
="#"
40022 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40023 COND_MONOLITHIC_0_SHARED_0
=""
40026 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
40027 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40028 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
40031 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40032 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40033 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40036 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40037 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40038 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40041 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
40042 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40043 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
40046 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
40047 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40048 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
40051 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
40052 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40053 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
40056 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
40057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40058 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
40061 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
40062 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40063 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
40066 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
40067 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40068 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
40071 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
40072 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40073 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
40076 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40078 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40081 COND_MONOLITHIC_0_SHARED_1
="#"
40082 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40083 COND_MONOLITHIC_0_SHARED_1
=""
40086 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
40087 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40088 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
40091 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40092 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40093 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40096 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40097 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40098 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40101 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
40102 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40103 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
40106 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
40107 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40108 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
40111 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
40112 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
40116 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
40117 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40118 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
40121 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
40122 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40123 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
40126 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
40127 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40128 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
40131 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
40132 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40133 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
40136 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40137 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40138 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40141 COND_MONOLITHIC_0_USE_AUI_1
="#"
40142 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40143 COND_MONOLITHIC_0_USE_AUI_1
=""
40146 COND_MONOLITHIC_0_USE_GUI_1
="#"
40147 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40148 COND_MONOLITHIC_0_USE_GUI_1
=""
40151 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
40152 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40153 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
40156 COND_MONOLITHIC_0_USE_HTML_1
="#"
40157 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40158 COND_MONOLITHIC_0_USE_HTML_1
=""
40161 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
40162 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40163 COND_MONOLITHIC_0_USE_MEDIA_1
=""
40166 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
40167 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40168 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
40171 COND_MONOLITHIC_0_USE_QA_1
="#"
40172 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40173 COND_MONOLITHIC_0_USE_QA_1
=""
40176 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
40177 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40178 COND_MONOLITHIC_0_USE_RIBBON_1
=""
40181 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
40182 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40183 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
40186 COND_MONOLITHIC_0_USE_STC_1
="#"
40187 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40188 COND_MONOLITHIC_0_USE_STC_1
=""
40191 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
40192 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40193 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
40196 COND_MONOLITHIC_0_USE_XRC_1
="#"
40197 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40198 COND_MONOLITHIC_0_USE_XRC_1
=""
40201 COND_MONOLITHIC_1
="#"
40202 if test "x$MONOLITHIC" = "x1" ; then
40203 COND_MONOLITHIC_1
=""
40206 COND_MONOLITHIC_1_SHARED_0
="#"
40207 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40208 COND_MONOLITHIC_1_SHARED_0
=""
40211 COND_MONOLITHIC_1_SHARED_1
="#"
40212 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40213 COND_MONOLITHIC_1_SHARED_1
=""
40216 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40217 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40218 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40221 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40222 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40223 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40226 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
40227 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40228 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
40231 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40232 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40233 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40236 COND_PLATFORM_MACOSX_1
="#"
40237 if test "x$PLATFORM_MACOSX" = "x1" ; then
40238 COND_PLATFORM_MACOSX_1
=""
40241 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
40242 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40243 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
40246 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
40247 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40248 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
40251 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40252 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40253 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40256 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40257 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40258 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40261 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40262 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40263 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40266 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40267 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40268 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40271 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40272 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40273 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40276 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
40277 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40278 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
40281 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40282 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40283 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40286 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
40287 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40288 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
40291 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40292 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40293 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40296 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40297 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40298 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40301 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40302 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40303 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40306 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
40307 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40308 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
40311 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40312 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40313 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40316 COND_PLATFORM_MACOS_1
="#"
40317 if test "x$PLATFORM_MACOS" = "x1" ; then
40318 COND_PLATFORM_MACOS_1
=""
40321 COND_PLATFORM_MAC_0
="#"
40322 if test "x$PLATFORM_MAC" = "x0" ; then
40323 COND_PLATFORM_MAC_0
=""
40326 COND_PLATFORM_MAC_1
="#"
40327 if test "x$PLATFORM_MAC" = "x1" ; then
40328 COND_PLATFORM_MAC_1
=""
40331 COND_PLATFORM_MSDOS_0
="#"
40332 if test "x$PLATFORM_MSDOS" = "x0" ; then
40333 COND_PLATFORM_MSDOS_0
=""
40336 COND_PLATFORM_MSDOS_1
="#"
40337 if test "x$PLATFORM_MSDOS" = "x1" ; then
40338 COND_PLATFORM_MSDOS_1
=""
40341 COND_PLATFORM_OS2_1
="#"
40342 if test "x$PLATFORM_OS2" = "x1" ; then
40343 COND_PLATFORM_OS2_1
=""
40346 COND_PLATFORM_UNIX_0
="#"
40347 if test "x$PLATFORM_UNIX" = "x0" ; then
40348 COND_PLATFORM_UNIX_0
=""
40351 COND_PLATFORM_UNIX_1
="#"
40352 if test "x$PLATFORM_UNIX" = "x1" ; then
40353 COND_PLATFORM_UNIX_1
=""
40356 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40357 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40358 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40361 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40362 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40363 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40366 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40367 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40368 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40371 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40372 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40373 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40376 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40377 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40378 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40381 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40382 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40383 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40386 COND_PLATFORM_WIN32_0
="#"
40387 if test "x$PLATFORM_WIN32" = "x0" ; then
40388 COND_PLATFORM_WIN32_0
=""
40391 COND_PLATFORM_WIN32_1
="#"
40392 if test "x$PLATFORM_WIN32" = "x1" ; then
40393 COND_PLATFORM_WIN32_1
=""
40396 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40397 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40398 COND_PLATFORM_WIN32_1_SHARED_0
=""
40402 if test "x$SHARED" = "x0" ; then
40406 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40407 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40408 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40411 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40412 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40413 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40416 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40417 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40418 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40421 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40422 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40423 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40426 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40427 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40428 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40431 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40432 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40433 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40436 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40437 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40438 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40441 COND_SHARED_0_USE_STC_1
="#"
40442 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40443 COND_SHARED_0_USE_STC_1
=""
40446 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40447 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40448 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40451 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40452 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40453 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40456 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40457 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40458 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40462 if test "x$SHARED" = "x1" ; then
40466 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40467 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40468 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40472 if test "x$TOOLKIT" = "x" ; then
40476 COND_TOOLKIT_COCOA
="#"
40477 if test "x$TOOLKIT" = "xCOCOA" ; then
40478 COND_TOOLKIT_COCOA
=""
40481 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40482 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40483 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40486 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40487 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40488 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40491 COND_TOOLKIT_DFB
="#"
40492 if test "x$TOOLKIT" = "xDFB" ; then
40493 COND_TOOLKIT_DFB
=""
40496 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40497 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40498 COND_TOOLKIT_DFB_USE_GUI_1
=""
40501 COND_TOOLKIT_GTK
="#"
40502 if test "x$TOOLKIT" = "xGTK" ; then
40503 COND_TOOLKIT_GTK
=""
40506 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40507 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40508 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40511 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40512 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40513 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40516 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40517 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40518 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40521 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40522 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40523 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40526 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40527 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40528 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40531 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40532 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40533 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40536 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40537 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40538 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40541 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40542 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40543 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40546 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40547 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40548 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40551 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40552 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40553 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40556 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40557 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40558 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40561 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40562 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40563 COND_TOOLKIT_GTK_USE_GUI_1
=""
40566 COND_TOOLKIT_MAC
="#"
40567 if test "x$TOOLKIT" = "xMAC" ; then
40568 COND_TOOLKIT_MAC
=""
40571 COND_TOOLKIT_MOTIF
="#"
40572 if test "x$TOOLKIT" = "xMOTIF" ; then
40573 COND_TOOLKIT_MOTIF
=""
40576 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40577 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40578 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40581 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40582 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40583 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40586 COND_TOOLKIT_MSW
="#"
40587 if test "x$TOOLKIT" = "xMSW" ; then
40588 COND_TOOLKIT_MSW
=""
40591 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40592 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40593 COND_TOOLKIT_MSW_USE_GUI_1
=""
40596 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40597 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40598 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40601 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40602 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40603 COND_TOOLKIT_MSW_WXUNIV_0
=""
40606 COND_TOOLKIT_OSX_CARBON
="#"
40607 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40608 COND_TOOLKIT_OSX_CARBON
=""
40611 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40612 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40613 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40616 COND_TOOLKIT_OSX_COCOA
="#"
40617 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40618 COND_TOOLKIT_OSX_COCOA
=""
40621 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40622 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40623 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40626 COND_TOOLKIT_OSX_IPHONE
="#"
40627 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40628 COND_TOOLKIT_OSX_IPHONE
=""
40631 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40632 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40633 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40636 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40637 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40638 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40641 COND_TOOLKIT_PM
="#"
40642 if test "x$TOOLKIT" = "xPM" ; then
40646 COND_TOOLKIT_PM_USE_GUI_1
="#"
40647 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40648 COND_TOOLKIT_PM_USE_GUI_1
=""
40651 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40652 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40653 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40656 COND_TOOLKIT_WINCE
="#"
40657 if test "x$TOOLKIT" = "xWINCE" ; then
40658 COND_TOOLKIT_WINCE
=""
40661 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40662 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40663 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40666 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40667 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40668 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40671 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40672 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40673 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40676 COND_TOOLKIT_X11
="#"
40677 if test "x$TOOLKIT" = "xX11" ; then
40678 COND_TOOLKIT_X11
=""
40681 COND_TOOLKIT_X11_USE_GUI_1
="#"
40682 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40683 COND_TOOLKIT_X11_USE_GUI_1
=""
40687 if test "x$UNICODE" = "x1" ; then
40691 COND_USE_CAIRO_1
="#"
40692 if test "x$USE_CAIRO" = "x1" ; then
40693 COND_USE_CAIRO_1
=""
40696 COND_USE_EXCEPTIONS_0
="#"
40697 if test "x$USE_EXCEPTIONS" = "x0" ; then
40698 COND_USE_EXCEPTIONS_0
=""
40701 COND_USE_EXCEPTIONS_1
="#"
40702 if test "x$USE_EXCEPTIONS" = "x1" ; then
40703 COND_USE_EXCEPTIONS_1
=""
40707 if test "x$USE_GUI" = "x0" ; then
40712 if test "x$USE_GUI" = "x1" ; then
40716 COND_USE_GUI_1_USE_OPENGL_1
="#"
40717 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40718 COND_USE_GUI_1_USE_OPENGL_1
=""
40721 COND_USE_GUI_1_WXUNIV_0
="#"
40722 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40723 COND_USE_GUI_1_WXUNIV_0
=""
40726 COND_USE_GUI_1_WXUNIV_1
="#"
40727 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40728 COND_USE_GUI_1_WXUNIV_1
=""
40731 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40732 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40733 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40736 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40737 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40738 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40741 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40742 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40743 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40746 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40747 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40748 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40751 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40752 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40753 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40756 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40757 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40758 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40761 COND_USE_OPENGL_1
="#"
40762 if test "x$USE_OPENGL" = "x1" ; then
40763 COND_USE_OPENGL_1
=""
40767 if test "x$USE_PCH" = "x1" ; then
40771 COND_USE_PLUGINS_0
="#"
40772 if test "x$USE_PLUGINS" = "x0" ; then
40773 COND_USE_PLUGINS_0
=""
40776 COND_USE_RTTI_0
="#"
40777 if test "x$USE_RTTI" = "x0" ; then
40781 COND_USE_RTTI_1
="#"
40782 if test "x$USE_RTTI" = "x1" ; then
40786 COND_USE_SOTWOSYMLINKS_1
="#"
40787 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40788 COND_USE_SOTWOSYMLINKS_1
=""
40791 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
40792 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40793 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
40796 COND_USE_SOVERLINUX_1
="#"
40797 if test "x$USE_SOVERLINUX" = "x1" ; then
40798 COND_USE_SOVERLINUX_1
=""
40801 COND_USE_SOVERSION_0
="#"
40802 if test "x$USE_SOVERSION" = "x0" ; then
40803 COND_USE_SOVERSION_0
=""
40806 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
40807 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40808 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
40811 COND_USE_SOVERSOLARIS_1
="#"
40812 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40813 COND_USE_SOVERSOLARIS_1
=""
40817 if test "x$USE_STC" = "x1" ; then
40821 COND_USE_THREADS_0
="#"
40822 if test "x$USE_THREADS" = "x0" ; then
40823 COND_USE_THREADS_0
=""
40826 COND_USE_THREADS_1
="#"
40827 if test "x$USE_THREADS" = "x1" ; then
40828 COND_USE_THREADS_1
=""
40832 if test "x$USE_XRC" = "x1" ; then
40836 COND_WINDOWS_IMPLIB_1
="#"
40837 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40838 COND_WINDOWS_IMPLIB_1
=""
40841 COND_WITH_PLUGIN_SDL_1
="#"
40842 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40843 COND_WITH_PLUGIN_SDL_1
=""
40847 if test "x$WXUNIV" = "x0" ; then
40852 if test "x$WXUNIV" = "x1" ; then
40856 COND_WXUSE_EXPAT_BUILTIN
="#"
40857 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40858 COND_WXUSE_EXPAT_BUILTIN
=""
40861 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40862 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40863 COND_WXUSE_LIBJPEG_BUILTIN
=""
40866 COND_WXUSE_LIBPNG_BUILTIN
="#"
40867 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40868 COND_WXUSE_LIBPNG_BUILTIN
=""
40871 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40872 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40873 COND_WXUSE_LIBTIFF_BUILTIN
=""
40876 COND_WXUSE_REGEX_BUILTIN
="#"
40877 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40878 COND_WXUSE_REGEX_BUILTIN
=""
40881 COND_WXUSE_ZLIB_BUILTIN
="#"
40882 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40883 COND_WXUSE_ZLIB_BUILTIN
=""
40886 COND_wxUSE_EXPAT_builtin
="#"
40887 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40888 COND_wxUSE_EXPAT_builtin
=""
40891 COND_wxUSE_LIBJPEG_builtin
="#"
40892 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40893 COND_wxUSE_LIBJPEG_builtin
=""
40896 COND_wxUSE_LIBPNG_builtin
="#"
40897 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40898 COND_wxUSE_LIBPNG_builtin
=""
40901 COND_wxUSE_LIBTIFF_builtin
="#"
40902 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40903 COND_wxUSE_LIBTIFF_builtin
=""
40906 COND_wxUSE_REGEX_builtin
="#"
40907 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40908 COND_wxUSE_REGEX_builtin
=""
40911 COND_wxUSE_ZLIB_builtin
="#"
40912 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40913 COND_wxUSE_ZLIB_builtin
=""
40918 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40919 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
40922 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40923 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
40930 ?
:* ) # Drive letter, considered as absolute.
40933 INSTALL
=`pwd`/${INSTALL} ;;
40936 if test "$wxUSE_GUI" = "yes"; then
40938 if test "$wxUSE_MSW" = 1 ; then
40939 if test "x$WINDRES" = "x"; then
40940 as_fn_error $?
"Required windres program not found" "$LINENO" 5
40946 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40947 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40948 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40950 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40952 # Extract the first word of "DeRez", so it can be a program name with args.
40953 set dummy DeRez
; ac_word
=$2
40954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40955 $as_echo_n "checking for $ac_word... " >&6; }
40956 if ${ac_cv_prog_DEREZ+:} false
; then :
40957 $as_echo_n "(cached) " >&6
40959 if test -n "$DEREZ"; then
40960 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
40962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40963 for as_dir
in $PATH
40966 test -z "$as_dir" && as_dir
=.
40967 for ac_exec_ext
in '' $ac_executable_extensions; do
40968 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40969 ac_cv_prog_DEREZ
="DeRez"
40970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40977 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
40980 DEREZ
=$ac_cv_prog_DEREZ
40981 if test -n "$DEREZ"; then
40982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40983 $as_echo "$DEREZ" >&6; }
40985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40986 $as_echo "no" >&6; }
40991 MACSETFILE
="\$(SETFILE)"
40993 if test "$wxUSE_OSX_CARBON" = 1; then
40994 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40996 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
40998 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40999 RESCOMP
="cat /dev/null \| $REZ"
41000 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41006 if test "$wxUSE_PM" = 1; then
41008 WXCONFIG_RESFLAGS
="-ep"
41010 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
41012 POSTLINK_COMMAND
="@true"
41019 if test $GCC_PCH = 1
41021 if test "$wx_cv_gcc_pch_bug" = yes; then
41022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41023 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41025 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41027 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41030 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41031 # the headers that benefit from precompilation are mostly C++ headers.
41032 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
41033 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41034 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41038 if test "$wxUSE_MAC" = 1 ; then
41039 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41040 if test "x$disable_macosx_deps" = "xyes"; then
41041 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
41048 if test "$wxUSE_SHARED" = "yes"; then
41050 *-pc-os2_emx | *-pc-os2-emx )
41051 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41052 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41053 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41054 cp -p ${srcdir}/src
/os
2/dllar.sh .
41058 if test "$wxUSE_OMF" = "yes"; then
41060 *-pc-os2_emx | *-pc-os2-emx )
41061 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
41062 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41063 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41068 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41073 if test "$GCC" = yes; then
41074 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
41075 LIBS
=`echo $LIBS | sed 's/-mt//g'`
41076 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41081 if test "x$SUNCXX" = xyes
; then
41082 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
41083 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
41084 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41089 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
41090 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41091 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
41092 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41094 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41156 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41158 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41159 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
41160 $as_echo_n "(cached) " >&6
41162 cat >conftest.
make <<\_ACEOF
41165 @
echo '@@@%%%=$(MAKE)=@@@%%%'
41167 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41168 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41169 *@@@
%%%=?
*=@@@
%%%*)
41170 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
41172 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
41174 rm -f conftest.
make
41176 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
41177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41178 $as_echo "yes" >&6; }
41181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41182 $as_echo "no" >&6; }
41183 SET_MAKE
="MAKE=${MAKE-make}"
41188 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41191 if test "$USE_WIN32" = 1; then
41192 ac_config_commands
="$ac_config_commands rcdefs.h"
41196 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41199 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41202 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
41205 if test "$wx_cv_version_script" = "yes"; then
41206 ac_config_files
="$ac_config_files version-script"
41209 ac_config_files
="$ac_config_files Makefile"
41212 ac_config_commands
="$ac_config_commands wx-config"
41216 if test "$wxWITH_SUBDIRS" != "no"; then
41217 if test "$wxUSE_GUI" = "yes"; then
41218 SUBDIRS
="samples demos utils"
41220 SUBDIRS
="samples utils"
41225 # Check whether --with-cppunit-prefix was given.
41226 if test "${with_cppunit_prefix+set}" = set; then :
41227 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
41229 cppunit_config_prefix
=""
41233 # Check whether --with-cppunit-exec-prefix was given.
41234 if test "${with_cppunit_exec_prefix+set}" = set; then :
41235 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
41237 cppunit_config_exec_prefix
=""
41241 if test x
$cppunit_config_exec_prefix != x
; then
41242 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41243 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41244 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41247 if test x
$cppunit_config_prefix != x
; then
41248 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41249 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41250 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41254 # Extract the first word of "cppunit-config", so it can be a program name with args.
41255 set dummy cppunit
-config; ac_word
=$2
41256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41257 $as_echo_n "checking for $ac_word... " >&6; }
41258 if ${ac_cv_path_CPPUNIT_CONFIG+:} false
; then :
41259 $as_echo_n "(cached) " >&6
41261 case $CPPUNIT_CONFIG in
41263 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41267 for as_dir
in $PATH
41270 test -z "$as_dir" && as_dir
=.
41271 for ac_exec_ext
in '' $ac_executable_extensions; do
41272 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41273 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41281 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41285 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41286 if test -n "$CPPUNIT_CONFIG"; then
41287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41288 $as_echo "$CPPUNIT_CONFIG" >&6; }
41290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41291 $as_echo "no" >&6; }
41295 cppunit_version_min
=1.8.0
41297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41298 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41300 if test "$CPPUNIT_CONFIG" = "no" ; then
41301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41302 $as_echo "no" >&6; }
41305 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41306 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41307 cppunit_version
=`$CPPUNIT_CONFIG --version`
41309 cppunit_major_version
=`echo $cppunit_version | \
41310 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41311 cppunit_minor_version
=`echo $cppunit_version | \
41312 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41313 cppunit_micro_version
=`echo $cppunit_version | \
41314 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41316 cppunit_major_min
=`echo $cppunit_version_min | \
41317 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41318 cppunit_minor_min
=`echo $cppunit_version_min | \
41319 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41320 cppunit_micro_min
=`echo $cppunit_version_min | \
41321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41323 cppunit_version_proper
=`expr \
41324 $cppunit_major_version \> $cppunit_major_min \| \
41325 $cppunit_major_version \= $cppunit_major_min \& \
41326 $cppunit_minor_version \> $cppunit_minor_min \| \
41327 $cppunit_major_version \= $cppunit_major_min \& \
41328 $cppunit_minor_version \= $cppunit_minor_min \& \
41329 $cppunit_micro_version \>= $cppunit_micro_min `
41331 if test "$cppunit_version_proper" = "1" ; then
41332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41333 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41336 $as_echo "no" >&6; }
41341 if test "x$no_cppunit" = x
; then
41342 SUBDIRS
="$SUBDIRS tests"
41353 for subdir
in $SUBDIRS; do
41354 if test -d ${srcdir}/${subdir} ; then
41355 if test "$wxUSE_GUI" = "yes"; then
41356 if test ${subdir} = "samples"; then
41357 makefiles
="samples/Makefile.in $makefiles"
41358 for sample
in $SAMPLES_SUBDIRS; do
41359 if test -d $srcdir/samples
/$sample; then
41360 makefiles
="samples/$sample/Makefile.in $makefiles"
41364 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41365 eval "disabled=\$$disabled_var"
41366 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41367 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41370 if test ${subdir} = "samples"; then
41371 makefiles
="samples/Makefile.in $makefiles"
41372 for sample
in `echo $SAMPLES_SUBDIRS`; do
41373 if test -d $srcdir/samples
/$sample; then
41374 makefiles
="samples/$sample/Makefile.in $makefiles"
41377 elif test ${subdir} = "utils"; then
41379 for util
in ifacecheck
; do
41380 if test -d $srcdir/utils
/$util ; then
41381 makefiles
="utils/$util/src/Makefile.in \
41386 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41390 for mkin
in $makefiles ; do
41391 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41392 ac_config_files
="$ac_config_files $mk"
41398 cat >confcache
<<\_ACEOF
41399 # This file is a shell script that caches the results of configure
41400 # tests run on this system so they can be shared between configure
41401 # scripts and configure runs, see configure's option --config-cache.
41402 # It is not useful on other systems. If it contains results you don't
41403 # want to keep, you may remove or edit it.
41405 # config.status only pays attention to the cache file if you give it
41406 # the --recheck option to rerun configure.
41408 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41410 # following values.
41414 # The following way of writing the cache mishandles newlines in values,
41415 # but we know of no workaround that is simple, portable, and efficient.
41416 # So, we kill variables containing newlines.
41417 # Ultrix sh set writes to stderr and can't be redirected directly,
41418 # and sets the high bit in the cache file unless we assign to the vars.
41420 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41421 eval ac_val
=\$
$ac_var
41425 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41426 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41429 _
| IFS
| as_nl
) ;; #(
41430 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41431 *) { eval $ac_var=; unset $ac_var;} ;;
41437 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41438 *${as_nl}ac_space
=\
*)
41439 # `set' does not quote correctly, so add quotes: double-quote
41440 # substitution turns \\\\ into \\, and sed turns \\ into \.
41443 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41446 # `set' quotes correctly as required by POSIX, so do not add quotes.
41447 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41456 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41458 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41460 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41461 if test -w "$cache_file"; then
41462 if test "x$cache_file" != "x/dev/null"; then
41463 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41464 $as_echo "$as_me: updating cache $cache_file" >&6;}
41465 if test ! -f "$cache_file" || test -h "$cache_file"; then
41466 cat confcache
>"$cache_file"
41468 case $cache_file in #(
41470 mv -f confcache
"$cache_file"$$
&&
41471 mv -f "$cache_file"$$
"$cache_file" ;; #(
41473 mv -f confcache
"$cache_file" ;;
41478 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41479 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41484 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41485 # Let make expand exec_prefix.
41486 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41488 DEFS
=-DHAVE_CONFIG_H
41493 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41494 # 1. Remove the extension, and $U if already installed.
41495 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41496 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41497 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41498 # will be set to the directory where LIBOBJS objects are built.
41499 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41500 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41502 LIBOBJS
=$ac_libobjs
41504 LTLIBOBJS
=$ac_ltlibobjs
41508 : "${CONFIG_STATUS=./config.status}"
41510 ac_clean_files_save
=$ac_clean_files
41511 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41512 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41513 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41515 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41517 # Generated by $as_me.
41518 # Run this file to recreate the current configuration.
41519 # Compiler output produced by configure, useful for debugging
41520 # configure, is in config.log if it exists.
41523 ac_cs_recheck=false
41526 SHELL=\${CONFIG_SHELL-$SHELL}
41529 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41530 ## -------------------- ##
41531 ## M4sh Initialization. ##
41532 ## -------------------- ##
41534 # Be more Bourne compatible
41535 DUALCASE
=1; export DUALCASE
# for MKS sh
41536 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41539 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41540 # is contrary to our usage. Disable this feature.
41541 alias -g '${1+"$@"}'='"$@"'
41542 setopt NO_GLOB_SUBST
41544 case `(set -o) 2>/dev/null` in #(
41556 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41557 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41558 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41559 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41560 # Prefer a ksh shell builtin over an external printf program on Solaris,
41561 # but without wasting forks for bash or zsh.
41562 if test -z "$BASH_VERSION$ZSH_VERSION" \
41563 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41564 as_echo='print
-r --'
41565 as_echo_n='print
-rn --'
41566 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41567 as_echo='printf %s
\n'
41568 as_echo_n='printf %s
'
41570 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41571 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41572 as_echo_n='/usr
/ucb
/echo -n'
41574 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41575 as_echo_n_body='eval
41579 expr "X$arg" : "X\\(.*\\)$as_nl";
41580 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41582 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41584 export as_echo_n_body
41585 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41587 export as_echo_body
41588 as_echo='sh
-c $as_echo_body as_echo
'
41591 # The user is always right.
41592 if test "${PATH_SEPARATOR+set}" != set; then
41594 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41595 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41602 # We need space, tab and new line, in precisely that order. Quoting is
41603 # there to prevent editors from complaining about space-tab.
41604 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41605 # splitting by setting IFS to empty value.)
41608 # Find who we are. Look in the path if we contain no directory separator.
41611 *[\\/]* ) as_myself=$0 ;;
41612 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41613 for as_dir in $PATH
41616 test -z "$as_dir" && as_dir=.
41617 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41623 # We did not find ourselves, most probably we were run as `sh COMMAND'
41624 # in which case we are not to be found in the path.
41625 if test "x$as_myself" = x
; then
41628 if test ! -f "$as_myself"; then
41629 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41633 # Unset variables that we do not need and which cause bugs (e.g. in
41634 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41635 # suppresses any "Segmentation fault" message there. '((' could
41636 # trigger a bug in pdksh 5.2.14.
41637 for as_var
in BASH_ENV ENV MAIL MAILPATH
41638 do eval test x\
${$as_var+set} = xset \
41639 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41652 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41655 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41656 # ----------------------------------------
41657 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41658 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41659 # script with STATUS, using 1 if that was 0.
41662 as_status
=$1; test $as_status -eq 0 && as_status
=1
41664 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41665 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41667 $as_echo "$as_me: error: $2" >&2
41668 as_fn_exit
$as_status
41672 # as_fn_set_status STATUS
41673 # -----------------------
41674 # Set $? to STATUS, without forking.
41675 as_fn_set_status
()
41678 } # as_fn_set_status
41680 # as_fn_exit STATUS
41681 # -----------------
41682 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41686 as_fn_set_status
$1
41692 # Portably unset VAR.
41695 { eval $1=; unset $1;}
41697 as_unset
=as_fn_unset
41698 # as_fn_append VAR VALUE
41699 # ----------------------
41700 # Append the text in VALUE to the end of the definition contained in VAR. Take
41701 # advantage of any shell optimizations that allow amortized linear growth over
41702 # repeated appends, instead of the typical quadratic growth present in naive
41704 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41705 eval 'as_fn_append ()
41716 # as_fn_arith ARG...
41717 # ------------------
41718 # Perform arithmetic evaluation on the ARGs, and store the result in the
41719 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41720 # must be portable across $(()) and expr.
41721 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41722 eval 'as_fn_arith ()
41729 as_val
=`expr "$@" || test $? -eq 1`
41734 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41735 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
41741 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41742 as_basename
=basename
41747 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
41753 as_me
=`$as_basename -- "$0" ||
41754 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41755 X"$0" : 'X\(//\)$' \| \
41756 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41758 sed '/^.*\/\([^/][^/]*\)\/*$/{
41772 # Avoid depending upon Character Ranges.
41773 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41774 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41775 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41776 as_cr_digits
='0123456789'
41777 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41779 ECHO_C
= ECHO_N
= ECHO_T
=
41780 case `echo -n x` in #(((((
41782 case `echo 'xy\c'` in
41783 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
41785 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
41792 rm -f conf$$ conf$$.exe conf$$.
file
41793 if test -d conf$$.dir
; then
41794 rm -f conf$$.dir
/conf$$.
file
41797 mkdir conf$$.dir
2>/dev
/null
41799 if (echo >conf$$.
file) 2>/dev
/null
; then
41800 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41802 # ... but there are two gotchas:
41803 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41804 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41805 # In both cases, we have to default to `cp -pR'.
41806 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
41808 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41816 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
41817 rmdir conf$$.dir
2>/dev
/null
41822 # Create "$as_dir" as a directory, including parents if necessary.
41827 -*) as_dir
=.
/$as_dir;;
41829 test -d "$as_dir" || eval $as_mkdir_p || {
41833 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41834 *) as_qdir
=$as_dir;;
41836 as_dirs
="'$as_qdir' $as_dirs"
41837 as_dir
=`$as_dirname -- "$as_dir" ||
41838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41839 X"$as_dir" : 'X\(//\)[^/]' \| \
41840 X"$as_dir" : 'X\(//\)$' \| \
41841 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41842 $as_echo X"$as_dir" |
41843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41847 /^X\(\/\/\)[^/].*/{
41860 test -d "$as_dir" && break
41862 test -z "$as_dirs" || eval "mkdir $as_dirs"
41863 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
41867 if mkdir -p .
2>/dev
/null
; then
41868 as_mkdir_p
='mkdir -p "$as_dir"'
41870 test -d .
/-p && rmdir .
/-p
41875 # as_fn_executable_p FILE
41876 # -----------------------
41877 # Test if FILE is an executable regular file.
41878 as_fn_executable_p
()
41880 test -f "$1" && test -x "$1"
41881 } # as_fn_executable_p
41882 as_test_x
='test -x'
41883 as_executable_p
=as_fn_executable_p
41885 # Sed expression to map a string onto a valid CPP name.
41886 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41888 # Sed expression to map a string onto a valid variable name.
41889 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41893 ## ----------------------------------- ##
41894 ## Main body of $CONFIG_STATUS script. ##
41895 ## ----------------------------------- ##
41897 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
41899 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41900 # Save the log message, to keep $0 and so on meaningful, and to
41901 # report actual input values of CONFIG_FILES etc. instead of their
41902 # values after options handling.
41904 This file was extended by wxWidgets $as_me 2.9.5, which was
41905 generated by GNU Autoconf 2.69. Invocation command line was
41907 CONFIG_FILES = $CONFIG_FILES
41908 CONFIG_HEADERS = $CONFIG_HEADERS
41909 CONFIG_LINKS = $CONFIG_LINKS
41910 CONFIG_COMMANDS = $CONFIG_COMMANDS
41913 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41918 case $ac_config_files in *"
41919 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
41922 case $ac_config_headers in *"
41923 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
41927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41928 # Files that config.status was made for.
41929 config_files="$ac_config_files"
41930 config_headers="$ac_config_headers"
41931 config_commands="$ac_config_commands"
41935 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41937 \`$as_me' instantiates files and other configuration actions
41938 from templates according to the current configuration. Unless the files
41939 and actions are specified as TAGs, all are instantiated by default.
41941 Usage: $0 [OPTION]... [TAG]...
41943 -h, --help print this help, then exit
41944 -V, --version print version number and configuration settings, then exit
41945 --config print configuration, then exit
41946 -q, --quiet, --silent
41947 do not print progress messages
41948 -d, --debug don't remove temporary files
41949 --recheck update $as_me by reconfiguring in the same conditions
41950 --file=FILE[:TEMPLATE]
41951 instantiate the configuration file FILE
41952 --header=FILE[:TEMPLATE]
41953 instantiate the configuration header FILE
41955 Configuration files:
41958 Configuration headers:
41961 Configuration commands:
41964 Report bugs to <wx-dev@lists.wxwidgets.org>."
41967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41968 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41970 wxWidgets config.status 2.9.5
41971 configured by $0, generated by GNU Autoconf 2.69,
41972 with options \\"\$ac_cs_config\\"
41974 Copyright (C) 2012 Free Software Foundation, Inc.
41975 This config.status script is free software; the Free Software Foundation
41976 gives unlimited permission to copy, distribute and modify it."
41981 test -n "\$AWK" || AWK=awk
41984 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41985 # The default lists apply if the user does not specify any file.
41991 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
41992 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
41996 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42008 # Handling of the options.
42009 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42011 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42012 $as_echo "$ac_cs_version"; exit ;;
42013 --config | --confi | --conf | --con | --co | --c )
42014 $as_echo "$ac_cs_config"; exit ;;
42015 --debug | --debu | --deb | --de | --d | -d )
42017 --file | --fil | --fi | --f )
42020 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42021 '') as_fn_error $?
"missing file argument" ;;
42023 as_fn_append CONFIG_FILES
" '$ac_optarg'"
42024 ac_need_defaults
=false
;;
42025 --header | --heade | --head | --hea )
42028 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42030 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
42031 ac_need_defaults
=false
;;
42033 # Conflict between --help and --header
42034 as_fn_error $?
"ambiguous option: \`$1'
42035 Try \`$0 --help' for more information.";;
42036 --help | --hel | -h )
42037 $as_echo "$ac_cs_usage"; exit ;;
42038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42039 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42042 # This is an error.
42043 -*) as_fn_error $?
"unrecognized option: \`$1'
42044 Try \`$0 --help' for more information." ;;
42046 *) as_fn_append ac_config_targets
" $1"
42047 ac_need_defaults
=false
;;
42053 ac_configure_extra_args
=
42055 if $ac_cs_silent; then
42057 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42062 if \$ac_cs_recheck; then
42063 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42065 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42066 CONFIG_SHELL='$SHELL'
42067 export CONFIG_SHELL
42072 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42076 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42077 ## Running $as_me. ##
42083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42089 infile="$srcdir/include/wx/msw/genrcdefs.h"
42090 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42093 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42094 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42095 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42101 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42103 # Handling of arguments.
42104 for ac_config_target
in $ac_config_targets
42106 case $ac_config_target in
42107 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42108 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
42109 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42110 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42111 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42112 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42113 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42114 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42115 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42117 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42122 # If the user did not use the arguments to specify the items to instantiate,
42123 # then the envvar interface is used. Set only those that are not.
42124 # We use the long form for the default assignment because of an extremely
42125 # bizarre bug on SunOS 4.1.3.
42126 if $ac_need_defaults; then
42127 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42128 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42129 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42132 # Have a temporary directory for convenience. Make it in the build tree
42133 # simply because there is no reason against having it here, and in addition,
42134 # creating and moving files from /tmp can sometimes cause problems.
42135 # Hook for its removal unless debugging.
42136 # Note that there is a small window in which the directory will not be cleaned:
42137 # after its creation but before its name has been assigned to `$tmp'.
42141 trap 'exit_status=$?
42142 : "${ac_tmp:=$tmp}"
42143 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42145 trap 'as_fn_exit 1' 1 2 13 15
42147 # Create a (secure) tmp directory for tmp files.
42150 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42154 tmp
=.
/conf$$
-$RANDOM
42155 (umask 077 && mkdir "$tmp")
42156 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
42159 # Set up the scripts for CONFIG_FILES section.
42160 # No need to generate them if there are no CONFIG_FILES.
42161 # This happens for instance with `./config.status config.h'.
42162 if test -n "$CONFIG_FILES"; then
42165 ac_cr
=`echo X | tr X '\015'`
42166 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42167 # But we know of no other shell where ac_cr would be empty at this
42168 # point, so we can use a bashism as a fallback.
42169 if test "x$ac_cr" = x
; then
42170 eval ac_cr
=\$
\'\\r
\'
42172 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42173 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42176 ac_cs_awk_cr
=$ac_cr
42179 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42184 echo "cat >conf$$subs.awk <<_ACEOF" &&
42185 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42187 } >conf$$subs.sh ||
42188 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42189 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42191 for ac_last_try in false false false false false :; do
42192 . ./conf$$subs.sh ||
42193 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42195 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
42196 if test $ac_delim_n = $ac_delim_num; then
42198 elif $ac_last_try; then
42199 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42201 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42204 rm -f conf$$subs.sh
42206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42207 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
42211 s/^/S["/; s
/!.
*/"]=/
42221 s/\(.\{148\}\)..*/\1/
42223 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
42228 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42235 s/\(.\{148\}\)..*/\1/
42237 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
42241 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42246 ' <conf$$subs.awk | sed '
42251 ' >>$CONFIG_STATUS || ac_write_fail=1
42252 rm -f conf$$subs.awk
42253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42255 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
42256 for (key in S) S_is_set[key] = 1
42262 nfields = split(line, field, "@
")
42264 len = length(field[1])
42265 for (i = 2; i < nfields; i++) {
42267 keylen = length(key)
42268 if (S_is_set[key]) {
42270 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42271 len += length(value) + length(field[++i])
42282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42283 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42284 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
42287 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
42288 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
42291 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42292 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
42293 # trailing colons and then remove the whole line if VPATH becomes empty
42294 # (actually we leave an empty line to preserve line numbers).
42295 if test "x
$srcdir" = x.; then
42296 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42315 fi # test -n "$CONFIG_FILES"
42317 # Set up the scripts for CONFIG_HEADERS section.
42318 # No need to generate them if there are no CONFIG_HEADERS.
42319 # This happens for instance with `./config.status Makefile'.
42320 if test -n "$CONFIG_HEADERS"; then
42321 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
42325 # Transform confdefs.h into an awk script `defines.awk', embedded as
42326 # here-document in config.status, that substitutes the proper values into
42327 # config.h.in to produce config.h.
42329 # Create a delimiter string that does not exist in confdefs.h, to ease
42330 # handling of long lines.
42332 for ac_last_try in false false :; do
42333 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
42334 if test -z "$ac_tt"; then
42336 elif $ac_last_try; then
42337 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
42339 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42343 # For the awk script, D is an array of macro values keyed by name,
42344 # likewise P contains macro parameters if any. Preserve backslash
42345 # newline sequences.
42347 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42349 s/.\{148\}/&'"$ac_delim"'/g
42352 s/^[ ]*#[ ]*define[ ][ ]*/ /
42359 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
42361 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
42365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42366 D["\
1"]=" \
3\\\\\\n
"\\/p
42368 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42373 s/.\{148\}/&'"$ac_delim"'/g
42378 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42381 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42383 ' <confdefs.h | sed '
42384 s/'"$ac_delim"'/"\\\
42385 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42388 for (key in D) D_is_set[key] = 1
42391 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42393 split(line, arg, " ")
42394 if (arg[1] == "#") {
42398 defundef
= substr
(arg
[1], 2)
42401 split(mac1
, mac2
, "(") #)
42403 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42404 if (D_is_set
[macro
]) {
42405 # Preserve the white space surrounding the "#".
42406 print prefix
"define", macro P
[macro
] D
[macro
]
42409 # Replace #undef with comments. This is necessary, for example,
42410 # in the case of _POSIX_SOURCE, which is predefined and required
42411 # on some systems where configure will not decide to define it.
42412 if (defundef
== "undef") {
42413 print
"/*", prefix defundef
, macro
, "*/"
42421 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42422 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42423 fi # test -n "$CONFIG_HEADERS"
42426 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42431 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42433 case $ac_mode$ac_tag in
42435 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
42436 :[FH
]-) ac_tag
=-:-;;
42437 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42454 -) ac_f
="$ac_tmp/stdin";;
42455 *) # Look for the file first in the build tree, then in the source tree
42456 # (if the path is not absolute). The absolute path cannot be DOS-style,
42457 # because $ac_f cannot contain `:'.
42461 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42463 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42465 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42466 as_fn_append ac_file_inputs
" '$ac_f'"
42469 # Let's still pretend it is `configure' which instantiates (i.e., don't
42470 # use $as_me), people would be surprised to read:
42471 # /* config.h. Generated by config.status. */
42472 configure_input
='Generated from '`
42473 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42475 if test x
"$ac_file" != x
-; then
42476 configure_input
="$ac_file. $configure_input"
42477 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42478 $as_echo "$as_me: creating $ac_file" >&6;}
42480 # Neutralize special characters interpreted by sed in replacement strings.
42481 case $configure_input in #(
42482 *\
&* | *\
|* | *\\* )
42483 ac_sed_conf_input
=`$as_echo "$configure_input" |
42484 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42485 *) ac_sed_conf_input
=$configure_input;;
42489 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42490 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42495 ac_dir
=`$as_dirname -- "$ac_file" ||
42496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42497 X"$ac_file" : 'X\(//\)[^/]' \| \
42498 X"$ac_file" : 'X\(//\)$' \| \
42499 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42500 $as_echo X"$ac_file" |
42501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42505 /^X\(\/\/\)[^/].*/{
42518 as_dir
="$ac_dir"; as_fn_mkdir_p
42522 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42524 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42525 # A ".." for each directory in $ac_dir_suffix.
42526 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42527 case $ac_top_builddir_sub in
42528 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42529 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42532 ac_abs_top_builddir
=$ac_pwd
42533 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42534 # for backward compatibility:
42535 ac_top_builddir
=$ac_top_build_prefix
42538 .
) # We are building in place.
42540 ac_top_srcdir
=$ac_top_builddir_sub
42541 ac_abs_top_srcdir
=$ac_pwd ;;
42542 [\\/]* | ?
:[\\/]* ) # Absolute name.
42543 ac_srcdir
=$srcdir$ac_dir_suffix;
42544 ac_top_srcdir
=$srcdir
42545 ac_abs_top_srcdir
=$srcdir ;;
42546 *) # Relative name.
42547 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42548 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42549 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42551 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42561 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42562 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42566 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42567 # If the template does not know about datarootdir, expand it.
42568 # FIXME: This hack should be removed a few years after 2.60.
42569 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42580 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42581 *datarootdir
*) ac_datarootdir_seen
=yes;;
42582 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42584 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42587 ac_datarootdir_hack='
42588 s&@datadir@&$datadir&g
42589 s&@docdir@&$docdir&g
42590 s&@infodir@&$infodir&g
42591 s&@localedir@&$localedir&g
42592 s&@mandir@&$mandir&g
42593 s&\\\${datarootdir}&$datarootdir&g' ;;
42597 # Neutralize VPATH when `$srcdir' = `.'.
42598 # Shell code in configure.ac might set extrasub.
42599 # FIXME: do we really want to maintain this feature?
42600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42601 ac_sed_extra="$ac_vpsub
42604 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42606 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42607 s
|@configure_input@
|$ac_sed_conf_input|;t t
42608 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42609 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42610 s
&@srcdir@
&$ac_srcdir&;t t
42611 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42612 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42613 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42614 s
&@builddir@
&$ac_builddir&;t t
42615 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42616 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42617 s
&@INSTALL@
&$ac_INSTALL&;t t
42618 $ac_datarootdir_hack
42620 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
42621 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42623 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42624 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
42625 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42626 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
42627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42628 which seems to be undefined. Please make sure it is defined" >&5
42629 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42630 which seems to be undefined. Please make sure it is defined" >&2;}
42632 rm -f "$ac_tmp/stdin"
42634 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42635 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42637 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42643 if test x"$ac_file" != x-; then
42645 $as_echo "/* $configure_input */" \
42646 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42647 } >"$ac_tmp/config.h" \
42648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42649 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42650 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42651 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42654 mv "$ac_tmp/config.h" "$ac_file" \
42655 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42658 $as_echo "/* $configure_input */" \
42659 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42660 || as_fn_error $? "could not create -" "$LINENO" 5
42664 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42665 $as_echo "$as_me: executing $ac_file commands" >&6;}
42670 case $ac_file$ac_mode in
42672 mkdir -p $outdir &&
42673 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42675 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42676 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42677 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42678 "wx-config":C
) rm -f wx
-config
42679 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42688 ac_clean_files
=$ac_clean_files_save
42690 test $ac_write_fail = 0 ||
42691 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42694 # configure is writing to config.log, and then calls config.status.
42695 # config.status does its own redirection, appending to config.log.
42696 # Unfortunately, on DOS this fails, as config.log is still kept open
42697 # by configure, so config.status won't be able to write to it; its
42698 # output is simply discarded. So we exec the FD to /dev/null,
42699 # effectively closing config.log, so it can be properly (re)opened and
42700 # appended to by config.status. When coming back to configure, we
42701 # need to make the FD available again.
42702 if test "$no_create" != yes; then
42704 ac_config_status_args
=
42705 test "$silent" = yes &&
42706 ac_config_status_args
="$ac_config_status_args --quiet"
42708 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42710 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42711 # would make configure fail if this is the last instruction.
42712 $ac_cs_success || as_fn_exit
1
42716 # CONFIG_SUBDIRS section.
42718 if test "$no_recursion" != yes; then
42720 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42721 # so they do not pile up.
42722 ac_sub_configure_args
=
42724 eval "set x $ac_configure_args"
42728 if test -n "$ac_prev"; then
42733 -cache-file | --cache-file | --cache-fil | --cache-fi \
42734 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42735 ac_prev
=cache_file
;;
42736 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42737 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42740 --config-cache | -C)
42742 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42744 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42746 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42748 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42750 --disable-option-checking)
42754 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42756 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
42760 # Always prepend --prefix to ensure using the same prefix
42761 # in subdir configurations.
42762 ac_arg
="--prefix=$prefix"
42764 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42766 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
42769 if test "$silent" = yes; then
42770 ac_sub_configure_args
="--silent $ac_sub_configure_args"
42773 # Always prepend --disable-option-checking to silence warnings, since
42774 # different subdirs can have different --enable and --with options.
42775 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
42778 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42780 # Do not complain, so a configure script can configure whichever
42781 # parts of a large source tree are present.
42782 test -d "$srcdir/$ac_dir" || continue
42784 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42785 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42786 $as_echo "$ac_msg" >&6
42787 as_dir
="$ac_dir"; as_fn_mkdir_p
42791 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42793 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42794 # A ".." for each directory in $ac_dir_suffix.
42795 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42796 case $ac_top_builddir_sub in
42797 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42798 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42801 ac_abs_top_builddir
=$ac_pwd
42802 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42803 # for backward compatibility:
42804 ac_top_builddir
=$ac_top_build_prefix
42807 .
) # We are building in place.
42809 ac_top_srcdir
=$ac_top_builddir_sub
42810 ac_abs_top_srcdir
=$ac_pwd ;;
42811 [\\/]* | ?
:[\\/]* ) # Absolute name.
42812 ac_srcdir
=$srcdir$ac_dir_suffix;
42813 ac_top_srcdir
=$srcdir
42814 ac_abs_top_srcdir
=$srcdir ;;
42815 *) # Relative name.
42816 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42817 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42818 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42820 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42825 # Check for guested configure; otherwise get Cygnus style configure.
42826 if test -f "$ac_srcdir/configure.gnu"; then
42827 ac_sub_configure
=$ac_srcdir/configure.gnu
42828 elif test -f "$ac_srcdir/configure"; then
42829 ac_sub_configure
=$ac_srcdir/configure
42830 elif test -f "$ac_srcdir/configure.in"; then
42831 # This should be Cygnus configure.
42832 ac_sub_configure
=$ac_aux_dir/configure
42834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42835 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42839 # The recursion is here.
42840 if test -n "$ac_sub_configure"; then
42841 # Make the cache file name correct relative to the subdirectory.
42842 case $cache_file in
42843 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42844 *) # Relative name.
42845 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
42848 { $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
42849 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42850 # The eval makes quoting arguments work.
42851 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42852 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42853 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42859 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
42860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42861 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42866 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42868 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42869 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42870 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42871 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42872 if test "$wxUSE_UNICODE" = "yes"; then
42873 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42874 echo " (using UTF-8)"
42876 echo " (using wchar_t)"
42882 echo " What level of wxWidgets compatibility should be enabled?"
42883 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42884 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42886 echo " Which libraries should wxWidgets use?"
42887 echo " STL ${wxUSE_STL}"
42888 echo " jpeg ${wxUSE_LIBJPEG-none}"
42889 echo " png ${wxUSE_LIBPNG-none}"
42890 echo " regex ${wxUSE_REGEX}"
42891 echo " tiff ${wxUSE_LIBTIFF-none}"
42892 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42893 echo " xpm ${wxUSE_LIBXPM-none}"
42895 echo " zlib ${wxUSE_ZLIB}"
42896 echo " expat ${wxUSE_EXPAT}"
42897 echo " libmspack ${wxUSE_LIBMSPACK}"
42898 echo " sdl ${wxUSE_LIBSDL}"