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
664 WX_LIBRARY_BASENAME_GUI
665 WX_LIBRARY_BASENAME_NOGUI
668 COND_wxUSE_ZLIB_builtin
669 COND_wxUSE_REGEX_builtin
670 COND_wxUSE_LIBTIFF_builtin
671 COND_wxUSE_LIBPNG_builtin
672 COND_wxUSE_LIBJPEG_builtin
673 COND_wxUSE_EXPAT_builtin
676 COND_WITH_PLUGIN_SDL_1
677 COND_WINDOWS_IMPLIB_1
682 COND_USE_SOVERSOLARIS_1
683 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
685 COND_USE_SOVERLINUX_1
686 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
687 COND_USE_SOTWOSYMLINKS_1
693 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
694 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
695 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
696 COND_USE_GUI_1_WXUNIV_1
697 COND_USE_GUI_1_WXUNIV_0
698 COND_USE_GUI_1_USE_OPENGL_1
701 COND_USE_EXCEPTIONS_1
702 COND_USE_EXCEPTIONS_0
705 COND_TOOLKIT_X11_WXUNIV_1
706 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
707 COND_TOOLKIT_X11_USE_GUI_1
709 COND_TOOLKIT_WINCE_WXUNIV_0
710 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
711 COND_TOOLKIT_WINCE_USE_GUI_1
713 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
714 COND_TOOLKIT_PM_USE_GUI_1
716 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
717 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
718 COND_TOOLKIT_OSX_IPHONE
719 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
720 COND_TOOLKIT_OSX_COCOA
721 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
722 COND_TOOLKIT_OSX_CARBON
723 COND_TOOLKIT_MSW_WXUNIV_0
724 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_MSW_USE_GUI_1
727 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_MOTIF_USE_GUI_1
731 COND_TOOLKIT_GTK_USE_GUI_1
732 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
733 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
746 COND_TOOLKIT_DFB_USE_GUI_1
748 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
749 COND_TOOLKIT_COCOA_USE_GUI_1
752 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
754 COND_SHARED_0_wxUSE_ZLIB_builtin
755 COND_SHARED_0_wxUSE_REGEX_builtin
756 COND_SHARED_0_wxUSE_EXPAT_builtin
757 COND_SHARED_0_USE_STC_1
758 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
759 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
760 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
761 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
762 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
763 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
764 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
766 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
767 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
768 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
769 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
770 COND_PLATFORM_WIN32_1_SHARED_0
771 COND_PLATFORM_WIN32_1
772 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
773 COND_PLATFORM_WIN32_0
774 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
775 COND_PLATFORM_UNIX_1_USE_GUI_1
776 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
777 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
778 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
779 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
783 COND_PLATFORM_MSDOS_1
784 COND_PLATFORM_MSDOS_0
787 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
788 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
789 COND_PLATFORM_MACOSX_1_USE_GUI_1
790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
791 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
794 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
796 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
798 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
800 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
801 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
802 COND_PLATFORM_MACOSX_1
803 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
804 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
805 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
806 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
807 COND_MONOLITHIC_1_USE_STC_1
808 COND_MONOLITHIC_1_SHARED_1
809 COND_MONOLITHIC_1_SHARED_0
811 COND_MONOLITHIC_0_USE_XRC_1
812 COND_MONOLITHIC_0_USE_WEBVIEW_1
813 COND_MONOLITHIC_0_USE_STC_1
814 COND_MONOLITHIC_0_USE_RICHTEXT_1
815 COND_MONOLITHIC_0_USE_RIBBON_1
816 COND_MONOLITHIC_0_USE_QA_1
817 COND_MONOLITHIC_0_USE_PROPGRID_1
818 COND_MONOLITHIC_0_USE_MEDIA_1
819 COND_MONOLITHIC_0_USE_HTML_1
820 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
821 COND_MONOLITHIC_0_USE_GUI_1
822 COND_MONOLITHIC_0_USE_AUI_1
823 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
824 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
825 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
826 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
827 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
833 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
839 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0
855 COND_BUILD_release_DEBUG_INFO_default
857 COND_BUILD_debug_DEBUG_INFO_default
861 ICC_PCH_CREATE_SWITCH
969 LIBGNOMEPRINTUI_CFLAGS
1060 program_transform_name
1073 enable_option_checking
1079 enable_official_build
1123 with_macosx_version_min
1132 enable_std_containers
1133 enable_std_iostreams
1135 enable_std_string_conv_in_wxstring
1140 enable_extended_rtti
1145 enable_no_exceptions
1148 enable_vararg_macros
1149 enable_universal_binary
1154 enable_objc_uniquifying
1183 enable_dynamicloader
1200 enable_printfposparam
1215 enable_protocol_http
1217 enable_protocol_file
1268 enable_commandlinkbutton
1296 enable_rearrangectrl
1345 enable_accessibility
1348 enable_webviewwebkit
1368 with_gtk_exec_prefix
1370 with_libiconv_prefix
1372 with_sdl_exec_prefix
1374 enable_dependency_tracking
1375 enable_precomp_headers
1377 with_cppunit_exec_prefix
1379 ac_precious_vars
='build_alias
1416 LIBGNOMEPRINTUI_CFLAGS
1417 LIBGNOMEPRINTUI_LIBS
1432 ac_subdirs_all
='src/tiff
1435 # Initialize some variables set by options.
1437 ac_init_version
=false
1438 ac_unrecognized_opts
=
1439 ac_unrecognized_sep
=
1440 # The variables have the same names as the options, with
1441 # dashes changed to underlines.
1442 cache_file
=/dev
/null
1449 program_transform_name
=s
,x
,x
,
1457 # Installation directory options.
1458 # These are left unexpanded so users can "make install exec_prefix=/foo"
1459 # and all the variables that are supposed to be based on exec_prefix
1460 # by default will actually change.
1461 # Use braces instead of parens because sh, perl, etc. also accept them.
1462 # (The list follows the same order as the GNU Coding Standards.)
1463 bindir
='${exec_prefix}/bin'
1464 sbindir
='${exec_prefix}/sbin'
1465 libexecdir
='${exec_prefix}/libexec'
1466 datarootdir
='${prefix}/share'
1467 datadir
='${datarootdir}'
1468 sysconfdir
='${prefix}/etc'
1469 sharedstatedir
='${prefix}/com'
1470 localstatedir
='${prefix}/var'
1471 includedir
='${prefix}/include'
1472 oldincludedir
='/usr/include'
1473 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1474 infodir
='${datarootdir}/info'
1479 libdir
='${exec_prefix}/lib'
1480 localedir
='${datarootdir}/locale'
1481 mandir
='${datarootdir}/man'
1487 # If the previous option needs an argument, assign it.
1488 if test -n "$ac_prev"; then
1489 eval $ac_prev=\
$ac_option
1495 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1500 # Accept the important Cygnus configure options, so we can diagnose typos.
1502 case $ac_dashdash$ac_option in
1506 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1508 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1509 bindir
=$ac_optarg ;;
1511 -build | --build | --buil | --bui | --bu)
1512 ac_prev
=build_alias
;;
1513 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1514 build_alias
=$ac_optarg ;;
1516 -cache-file | --cache-file | --cache-fil | --cache-fi \
1517 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1518 ac_prev
=cache_file
;;
1519 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1520 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1521 cache_file
=$ac_optarg ;;
1523 --config-cache | -C)
1524 cache_file
=config.cache
;;
1526 -datadir | --datadir | --datadi | --datad)
1528 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1529 datadir
=$ac_optarg ;;
1531 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1532 | --dataroo | --dataro | --datar)
1533 ac_prev
=datarootdir
;;
1534 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1535 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1536 datarootdir
=$ac_optarg ;;
1538 -disable-* | --disable-*)
1539 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1540 # Reject names that are not valid shell variable names.
1541 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1542 as_fn_error $?
"invalid feature name: $ac_useropt"
1543 ac_useropt_orig
=$ac_useropt
1544 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1545 case $ac_user_opts in
1547 "enable_
$ac_useropt"
1549 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1550 ac_unrecognized_sep
=', ';;
1552 eval enable_
$ac_useropt=no
;;
1554 -docdir | --docdir | --docdi | --doc | --do)
1556 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1557 docdir
=$ac_optarg ;;
1559 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1561 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1562 dvidir
=$ac_optarg ;;
1564 -enable-* | --enable-*)
1565 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1566 # Reject names that are not valid shell variable names.
1567 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1568 as_fn_error $?
"invalid feature name: $ac_useropt"
1569 ac_useropt_orig
=$ac_useropt
1570 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1571 case $ac_user_opts in
1573 "enable_
$ac_useropt"
1575 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1576 ac_unrecognized_sep
=', ';;
1578 eval enable_
$ac_useropt=\
$ac_optarg ;;
1580 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1581 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1582 | --exec | --exe | --ex)
1583 ac_prev
=exec_prefix
;;
1584 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1585 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1586 | --exec=* | --exe=* | --ex=*)
1587 exec_prefix
=$ac_optarg ;;
1589 -gas | --gas | --ga | --g)
1590 # Obsolete; use --with-gas.
1593 -help | --help | --hel | --he | -h)
1594 ac_init_help
=long
;;
1595 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1596 ac_init_help
=recursive
;;
1597 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1598 ac_init_help
=short
;;
1600 -host | --host | --hos | --ho)
1601 ac_prev
=host_alias
;;
1602 -host=* | --host=* | --hos=* | --ho=*)
1603 host_alias
=$ac_optarg ;;
1605 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1607 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1609 htmldir
=$ac_optarg ;;
1611 -includedir | --includedir | --includedi | --included | --include \
1612 | --includ | --inclu | --incl | --inc)
1613 ac_prev
=includedir
;;
1614 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1615 | --includ=* | --inclu=* | --incl=* | --inc=*)
1616 includedir
=$ac_optarg ;;
1618 -infodir | --infodir | --infodi | --infod | --info | --inf)
1620 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1621 infodir
=$ac_optarg ;;
1623 -libdir | --libdir | --libdi | --libd)
1625 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1626 libdir
=$ac_optarg ;;
1628 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1629 | --libexe | --libex | --libe)
1630 ac_prev
=libexecdir
;;
1631 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1632 | --libexe=* | --libex=* | --libe=*)
1633 libexecdir
=$ac_optarg ;;
1635 -localedir | --localedir | --localedi | --localed | --locale)
1636 ac_prev
=localedir
;;
1637 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1638 localedir
=$ac_optarg ;;
1640 -localstatedir | --localstatedir | --localstatedi | --localstated \
1641 | --localstate | --localstat | --localsta | --localst | --locals)
1642 ac_prev
=localstatedir
;;
1643 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1644 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1645 localstatedir
=$ac_optarg ;;
1647 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1649 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1650 mandir
=$ac_optarg ;;
1652 -nfp | --nfp | --nf)
1653 # Obsolete; use --without-fp.
1656 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1657 | --no-cr | --no-c | -n)
1660 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1661 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1664 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1665 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1666 | --oldin | --oldi | --old | --ol | --o)
1667 ac_prev
=oldincludedir
;;
1668 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1669 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1670 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1671 oldincludedir
=$ac_optarg ;;
1673 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1675 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1676 prefix
=$ac_optarg ;;
1678 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1679 | --program-pre | --program-pr | --program-p)
1680 ac_prev
=program_prefix
;;
1681 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1682 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1683 program_prefix
=$ac_optarg ;;
1685 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1686 | --program-suf | --program-su | --program-s)
1687 ac_prev
=program_suffix
;;
1688 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1689 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1690 program_suffix
=$ac_optarg ;;
1692 -program-transform-name | --program-transform-name \
1693 | --program-transform-nam | --program-transform-na \
1694 | --program-transform-n | --program-transform- \
1695 | --program-transform | --program-transfor \
1696 | --program-transfo | --program-transf \
1697 | --program-trans | --program-tran \
1698 | --progr-tra | --program-tr | --program-t)
1699 ac_prev
=program_transform_name
;;
1700 -program-transform-name=* | --program-transform-name=* \
1701 | --program-transform-nam=* | --program-transform-na=* \
1702 | --program-transform-n=* | --program-transform-=* \
1703 | --program-transform=* | --program-transfor=* \
1704 | --program-transfo=* | --program-transf=* \
1705 | --program-trans=* | --program-tran=* \
1706 | --progr-tra=* | --program-tr=* | --program-t=*)
1707 program_transform_name
=$ac_optarg ;;
1709 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1711 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1712 pdfdir
=$ac_optarg ;;
1714 -psdir | --psdir | --psdi | --psd | --ps)
1716 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1719 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1720 | -silent | --silent | --silen | --sile | --sil)
1723 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1725 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1727 sbindir
=$ac_optarg ;;
1729 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1730 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1731 | --sharedst | --shareds | --shared | --share | --shar \
1733 ac_prev
=sharedstatedir
;;
1734 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1735 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1736 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1738 sharedstatedir
=$ac_optarg ;;
1740 -site | --site | --sit)
1742 -site=* | --site=* | --sit=*)
1745 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1747 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1748 srcdir
=$ac_optarg ;;
1750 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1751 | --syscon | --sysco | --sysc | --sys | --sy)
1752 ac_prev
=sysconfdir
;;
1753 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1754 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1755 sysconfdir
=$ac_optarg ;;
1757 -target | --target | --targe | --targ | --tar | --ta | --t)
1758 ac_prev
=target_alias
;;
1759 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1760 target_alias
=$ac_optarg ;;
1762 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1765 -version | --version | --versio | --versi | --vers | -V)
1766 ac_init_version
=: ;;
1769 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1770 # Reject names that are not valid shell variable names.
1771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1772 as_fn_error $?
"invalid package name: $ac_useropt"
1773 ac_useropt_orig
=$ac_useropt
1774 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1775 case $ac_user_opts in
1779 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1780 ac_unrecognized_sep
=', ';;
1782 eval with_
$ac_useropt=\
$ac_optarg ;;
1784 -without-* | --without-*)
1785 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1786 # Reject names that are not valid shell variable names.
1787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1788 as_fn_error $?
"invalid package name: $ac_useropt"
1789 ac_useropt_orig
=$ac_useropt
1790 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1791 case $ac_user_opts in
1795 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1796 ac_unrecognized_sep
=', ';;
1798 eval with_
$ac_useropt=no
;;
1801 # Obsolete; use --with-x.
1804 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1805 | --x-incl | --x-inc | --x-in | --x-i)
1806 ac_prev
=x_includes
;;
1807 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1808 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1809 x_includes
=$ac_optarg ;;
1811 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1812 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1813 ac_prev
=x_libraries
;;
1814 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1815 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1816 x_libraries
=$ac_optarg ;;
1818 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1819 Try \`$0 --help' for more information"
1823 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1824 # Reject names that are not valid shell variable names.
1825 case $ac_envvar in #(
1826 '' | [0-9]* | *[!_$as_cr_alnum]* )
1827 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1829 eval $ac_envvar=\
$ac_optarg
1830 export $ac_envvar ;;
1833 # FIXME: should be removed in autoconf 3.0.
1834 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1835 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1836 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1837 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1843 if test -n "$ac_prev"; then
1844 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1845 as_fn_error $?
"missing argument to $ac_option"
1848 if test -n "$ac_unrecognized_opts"; then
1849 case $enable_option_checking in
1851 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1852 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1856 # Check all directory arguments for consistency.
1857 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1858 datadir sysconfdir sharedstatedir localstatedir includedir \
1859 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1860 libdir localedir mandir
1862 eval ac_val
=\$
$ac_var
1863 # Remove trailing slashes.
1866 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1867 eval $ac_var=\
$ac_val;;
1869 # Be sure to have absolute directory names.
1871 [\\/$
]* | ?
:[\\/]* ) continue;;
1872 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1874 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1877 # There might be people who depend on the old broken behavior: `$host'
1878 # used to hold the argument of --host etc.
1879 # FIXME: To remove some day.
1882 target
=$target_alias
1884 # FIXME: To remove some day.
1885 if test "x$host_alias" != x
; then
1886 if test "x$build_alias" = x
; then
1887 cross_compiling
=maybe
1888 elif test "x$build_alias" != "x$host_alias"; then
1894 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1896 test "$silent" = yes && exec 6>/dev
/null
1899 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1900 ac_ls_di
=`ls -di .` &&
1901 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1902 as_fn_error $?
"working directory cannot be determined"
1903 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1904 as_fn_error $?
"pwd does not report name of working directory"
1907 # Find the source files, if location was not specified.
1908 if test -z "$srcdir"; then
1909 ac_srcdir_defaulted
=yes
1910 # Try the directory containing this script, then the parent directory.
1911 ac_confdir
=`$as_dirname -- "$as_myself" ||
1912 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1913 X"$as_myself" : 'X\(//\)[^/]' \| \
1914 X"$as_myself" : 'X\(//\)$' \| \
1915 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1916 $as_echo X"$as_myself" |
1917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1935 if test ! -r "$srcdir/$ac_unique_file"; then
1939 ac_srcdir_defaulted
=no
1941 if test ! -r "$srcdir/$ac_unique_file"; then
1942 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1943 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1945 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1947 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1949 # When building in place, set srcdir=.
1950 if test "$ac_abs_confdir" = "$ac_pwd"; then
1953 # Remove unnecessary trailing slashes from srcdir.
1954 # Double slashes in file names in object file debugging info
1955 # mess up M-x gdb in Emacs.
1957 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1959 for ac_var
in $ac_precious_vars; do
1960 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1961 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1962 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1963 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1967 # Report the --help message.
1969 if test "$ac_init_help" = "long"; then
1970 # Omit some internal or obsolete options to make the list less imposing.
1971 # This message is too long to be a string in the A/UX 3.1 sh.
1973 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1975 Usage: $0 [OPTION]... [VAR=VALUE]...
1977 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1978 VAR=VALUE. See below for descriptions of some of the useful variables.
1980 Defaults for the options are specified in brackets.
1983 -h, --help display this help and exit
1984 --help=short display options specific to this package
1985 --help=recursive display the short help of all the included packages
1986 -V, --version display version information and exit
1987 -q, --quiet, --silent do not print \`checking ...' messages
1988 --cache-file=FILE cache test results in FILE [disabled]
1989 -C, --config-cache alias for \`--cache-file=config.cache'
1990 -n, --no-create do not create output files
1991 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1993 Installation directories:
1994 --prefix=PREFIX install architecture-independent files in PREFIX
1995 [$ac_default_prefix]
1996 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1999 By default, \`make install' will install all the files in
2000 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2001 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2002 for instance \`--prefix=\$HOME'.
2004 For better control, use the options below.
2006 Fine tuning of the installation directories:
2007 --bindir=DIR user executables [EPREFIX/bin]
2008 --sbindir=DIR system admin executables [EPREFIX/sbin]
2009 --libexecdir=DIR program executables [EPREFIX/libexec]
2010 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2011 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2012 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2013 --libdir=DIR object code libraries [EPREFIX/lib]
2014 --includedir=DIR C header files [PREFIX/include]
2015 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2016 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2017 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2018 --infodir=DIR info documentation [DATAROOTDIR/info]
2019 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2020 --mandir=DIR man documentation [DATAROOTDIR/man]
2021 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2022 --htmldir=DIR html documentation [DOCDIR]
2023 --dvidir=DIR dvi documentation [DOCDIR]
2024 --pdfdir=DIR pdf documentation [DOCDIR]
2025 --psdir=DIR ps documentation [DOCDIR]
2031 --x-includes=DIR X include files are
in DIR
2032 --x-libraries=DIR X library files are
in DIR
2035 --build=BUILD configure
for building on BUILD
[guessed
]
2036 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2040 if test -n "$ac_init_help"; then
2041 case $ac_init_help in
2042 short
| recursive
) echo "Configuration of wxWidgets 2.9.5:";;
2047 --disable-option-checking ignore unrecognized
--enable/--with options
2048 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2049 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2050 --disable-gui don
't build GUI parts of the library
2051 --enable-monolithic build wxWidgets as single library
2052 --enable-plugins build parts of wxWidgets as loadable components
2053 --enable-official_build official build of wxWidgets (win32 DLL only)
2054 --enable-vendor=VENDOR vendor name (win32 DLL only)
2055 --disable-all-features disable all optional features to build minimal library
2056 --enable-universal use wxWidgets GUI controls instead of native ones
2057 --enable-nanox use NanoX
2058 --enable-gpe use GNOME PDA Environment features if possible
2059 --enable-debug build library for debugging
2060 --disable-debug_flag disable all debugging support
2061 --enable-debug_info generate debug information
2062 --enable-debug_gdb create code with extra GDB debugging information
2063 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2064 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2065 --disable-shared create static library instead of shared
2066 --enable-stl use standard C++ classes for everything
2067 --enable-std_containers use standard C++ container classes
2068 --enable-std_iostreams use standard C++ stream classes
2069 --enable-std_string use standard C++ string classes
2070 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2071 --disable-unicode compile without Unicode support
2072 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2073 --enable-utf8 use UTF-8 representation for strings (Unix only)
2074 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2075 --enable-extended_rtti use extended RTTI (XTI)
2076 --enable-omf use OMF object format
2077 --disable-optimise compile without optimisations
2078 --enable-profile create code with profiling information
2079 --enable-no_rtti create code without RTTI information
2080 --enable-no_exceptions create code without C++ exceptions handling
2081 --enable-permissive compile code disregarding strict ANSI
2082 --enable-no_deps create code without dependency information
2083 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2084 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2085 --enable-macosx_arch=ARCH build
for just the specified architecture
2086 --enable-compat26 enable wxWidgets
2.6 compatibility
2087 --disable-compat28 disable wxWidgets
2.8 compatibility
2088 --disable-rpath disable use of rpath
for uninstalled builds
2089 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2090 --disable-visibility disable use of ELF symbols visibility even
if supported
2091 --disable-tls disable use of compiler TLS support
2092 --enable-intl use internationalization system
2093 --enable-xlocale use x
-locale support
(requires wxLocale
)
2094 --enable-config use wxConfig
(and derived
) classes
2095 --enable-protocols use wxProtocol and derived classes
2096 --enable-ftp use wxFTP
(requires wxProtocol
2097 --enable-http use wxHTTP
(requires wxProtocol
2098 --enable-fileproto use wxFileProto class
(requires wxProtocol
2099 --enable-sockets use socket
/network classes
2100 --enable-ipv6 enable IPv6 support
in wxSocket
2101 --enable-ole use OLE classes
(Win32 only
)
2102 --enable-dataobj use data object classes
2103 --enable-ipc use interprocess communication
(wxSocket etc.
)
2104 --enable-baseevtloop use event loop
in console programs too
2105 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2106 --enable-selectloop use wxSelectDispatcher class
2107 --enable-any use wxAny class
2108 --enable-apple_ieee use the Apple IEEE codec
2109 --enable-arcstream use wxArchive streams
2110 --enable-base64 use base64 encoding
/decoding functions
2111 --enable-backtrace use wxStackWalker class
for getting backtraces
2112 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2113 --enable-cmdline use wxCmdLineParser class
2114 --enable-datetime use wxDateTime class
2115 --enable-debugreport use wxDebugReport class
2116 --enable-dialupman use dialup network classes
2117 --enable-dynlib use wxLibrary class
for DLL loading
2118 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2119 --enable-exceptions build exception
-safe library
2120 --enable-ffile use wxFFile class
2121 --enable-file use wxFile class
2122 --enable-filehistory use wxFileHistory class
2123 --enable-filesystem use virtual
file systems classes
2124 --enable-fontenum use wxFontEnumerator class
2125 --enable-fontmap use font encodings conversion classes
2126 --enable-fs_archive use virtual archive filesystems
2127 --enable-fs_inet use virtual HTTP
/FTP filesystems
2128 --enable-fs_zip now replaced by fs_archive
2129 --enable-fsvolume use wxFSVolume class
2130 --enable-fswatcher use wxFileSystemWatcher class
2131 --enable-geometry use geometry class
2132 --enable-log use logging system
2133 --enable-longlong use wxLongLong class
2134 --enable-mimetype use wxMimeTypesManager
2135 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2136 --enable-snglinst use wxSingleInstanceChecker class
2137 --enable-sound use wxSound class
2138 --enable-stdpaths use wxStandardPaths class
2139 --enable-stopwatch use wxStopWatch class
2140 --enable-streams use wxStream etc classes
2141 --enable-sysoptions use wxSystemOptions
2142 --enable-tarstream use wxTar streams
2143 --enable-textbuf use wxTextBuffer class
2144 --enable-textfile use wxTextFile class
2145 --enable-timer use wxTimer class
2146 --enable-variant use wxVariant class
2147 --enable-zipstream use wxZip streams
2148 --enable-url use wxURL class
2149 --enable-protocol use wxProtocol class
2150 --enable-protocol-http HTTP support
in wxProtocol
2151 --enable-protocol-ftp FTP support
in wxProtocol
2152 --enable-protocol-file FILE support
in wxProtocol
2153 --enable-threads use threads
2154 --enable-iniconf use wxIniConfig
(Win32 only
)
2155 --enable-regkey use wxRegKey class
(Win32 only
)
2156 --enable-docview use document view architecture
2157 --enable-help use
help subsystem
2158 --enable-mshtmlhelp use MS HTML Help
(win32
)
2159 --enable-html use wxHTML sub
-library
2160 --enable-htmlhelp use wxHTML
-based help
2161 --enable-xrc use XRC resources sub
-library
2162 --enable-aui use AUI docking library
2163 --enable-propgrid use wxPropertyGrid library
2164 --enable-ribbon use wxRibbon library
2165 --enable-stc use wxStyledTextCtrl library
2166 --enable-constraints use layout
-constraints system
2167 --enable-loggui use standard GUI logger
2168 --enable-logwin use wxLogWindow
2169 --enable-logdialog use wxLogDialog
2170 --enable-mdi use multiple document interface architecture
2171 --enable-mdidoc use docview architecture with MDI
2172 --enable-mediactrl use wxMediaCtrl class
2173 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2174 --enable-richtext use wxRichTextCtrl
2175 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2176 --enable-printarch use printing architecture
2177 --enable-svg use wxSVGFileDC device context
2178 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2179 --enable-webview use wxWebView library
2180 --enable-graphics_ctx use graphics context
2D drawing API
2181 --enable-clipboard use wxClipboard class
2182 --enable-dnd use Drag
'n'Drop classes
2183 --disable-controls disable compilation of all standard controls
2184 --enable-markup support wxControl
::SetLabelMarkup
2185 --enable-accel use accelerators
2186 --enable-animatectrl use wxAnimationCtrl class
2187 --enable-bannerwindow use wxBannerWindow class
2188 --enable-artstd use standard XPM icons
in wxArtProvider
2189 --enable-arttango use Tango icons
in wxArtProvider
2190 --enable-bmpbutton use wxBitmapButton class
2191 --enable-bmpcombobox use wxBitmapComboBox class
2192 --enable-button use wxButton class
2193 --enable-calendar use wxCalendarCtrl class
2194 --enable-caret use wxCaret class
2195 --enable-checkbox use wxCheckBox class
2196 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2197 --enable-choice use wxChoice class
2198 --enable-choicebook use wxChoicebook class
2199 --enable-collpane use wxCollapsiblePane class
2200 --enable-colourpicker use wxColourPickerCtrl class
2201 --enable-combobox use wxComboBox class
2202 --enable-comboctrl use wxComboCtrl class
2203 --enable-commandlinkbutton use wxCommmandLinkButton class
2204 --enable-dataviewctrl use wxDataViewCtrl class
2205 --enable-datepick use wxDatePickerCtrl class
2206 --enable-detect_sm use code to detect X11 session manager
2207 --enable-dirpicker use wxDirPickerCtrl class
2208 --enable-display use wxDisplay class
2209 --enable-editablebox use wxEditableListBox class
2210 --enable-filectrl use wxFileCtrl class
2211 --enable-filepicker use wxFilePickerCtrl class
2212 --enable-fontpicker use wxFontPickerCtrl class
2213 --enable-gauge use wxGauge class
2214 --enable-grid use wxGrid class
2215 --enable-headerctrl use wxHeaderCtrl class
2216 --enable-hyperlink use wxHyperlinkCtrl class
2217 --enable-imaglist use wxImageList class
2218 --enable-infobar use wxInfoBar class
2219 --enable-listbook use wxListbook class
2220 --enable-listbox use wxListBox class
2221 --enable-listctrl use wxListCtrl class
2222 --enable-notebook use wxNotebook class
2223 --enable-notifmsg use wxNotificationMessage class
2224 --enable-odcombobox use wxOwnerDrawnComboBox class
2225 --enable-popupwin use wxPopUpWindow class
2226 --enable-prefseditor use wxPreferencesEditor class
2227 --enable-radiobox use wxRadioBox class
2228 --enable-radiobtn use wxRadioButton class
2229 --enable-richmsgdlg use wxRichMessageDialog class
2230 --enable-richtooltip use wxRichToolTip class
2231 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2232 --enable-sash use wxSashWindow class
2233 --enable-scrollbar use wxScrollBar class and scrollable windows
2234 --enable-searchctrl use wxSearchCtrl class
2235 --enable-slider use wxSlider class
2236 --enable-spinbtn use wxSpinButton class
2237 --enable-spinctrl use wxSpinCtrl class
2238 --enable-splitter use wxSplitterWindow class
2239 --enable-statbmp use wxStaticBitmap class
2240 --enable-statbox use wxStaticBox class
2241 --enable-statline use wxStaticLine class
2242 --enable-stattext use wxStaticText class
2243 --enable-statusbar use wxStatusBar class
2244 --enable-taskbaricon use wxTaskBarIcon class
2245 --enable-tbarnative use native wxToolBar class
2246 --enable-textctrl use wxTextCtrl class
2247 --enable-timepick use wxTimePickerCtrl class
2248 --enable-tipwindow use wxTipWindow class
2249 --enable-togglebtn use wxToggleButton class
2250 --enable-toolbar use wxToolBar class
2251 --enable-toolbook use wxToolbook class
2252 --enable-treebook use wxTreebook class
2253 --enable-treectrl use wxTreeCtrl class
2254 --enable-treelist use wxTreeListCtrl class
2255 --enable-commondlg use all common dialogs
2256 --enable-aboutdlg use wxAboutBox
2257 --enable-choicedlg use wxChoiceDialog
2258 --enable-coldlg use wxColourDialog
2259 --enable-filedlg use wxFileDialog
2260 --enable-finddlg use wxFindReplaceDialog
2261 --enable-fontdlg use wxFontDialog
2262 --enable-dirdlg use wxDirDialog
2263 --enable-msgdlg use wxMessageDialog
2264 --enable-numberdlg use wxNumberEntryDialog
2265 --enable-splash use wxSplashScreen
2266 --enable-textdlg use wxTextDialog
2267 --enable-tipdlg use startup tips
2268 --enable-progressdlg use wxProgressDialog
2269 --enable-wizarddlg use wxWizard
2270 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2271 --enable-miniframe use wxMiniFrame class
2272 --enable-tooltips use wxToolTip class
2273 --enable-splines use spline drawing code
2274 --enable-mousewheel use mousewheel
2275 --enable-validators use wxValidator and derived classes
2276 --enable-busyinfo use wxBusyInfo
2277 --enable-hotkey use wxWindow
::RegisterHotKey
()
2278 --enable-joystick use wxJoystick
2279 --enable-metafiles use wxMetaFile
2280 --enable-dragimage use wxDragImage
2281 --enable-accessibility enable accessibility support
2282 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2283 --enable-dctransform use wxDC
::SetTransformMatrix and related
2284 --enable-webviewwebkit use wxWebView WebKit backend
2285 --enable-palette use wxPalette class
2286 --enable-image use wxImage class
2287 --enable-gif use gif images
(GIF
file format
)
2288 --enable-pcx use pcx images
(PCX
file format
)
2289 --enable-tga use tga images
(TGA
file format
)
2290 --enable-iff use iff images
(IFF
file format
)
2291 --enable-pnm use pnm images
(PNM
file format
)
2292 --enable-xpm use xpm images
(XPM
file format
)
2293 --enable-ico_cur use Windows ICO and CUR formats
2294 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2295 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2296 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2297 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2298 --enable-wxdib use wxDIB class
(Win32 only
)
2299 --enable-webviewie use wxWebView IE backend
(Win32 only
)
2300 --enable-autoidman use automatic ids management
2301 --disable-largefile omit support
for large files
2302 --disable-gtktest do not try to compile and run a
test GTK
+ program
2303 --disable-gtktest Do not try to compile and run a
test GTK program
2304 --disable-sdltest Do not try to compile and run a
test SDL program
2305 --enable-omf use OMF object format
(OS
/2)
2306 --disable-dependency-tracking
2307 don
't use dependency tracking even if the compiler
2309 --disable-precomp-headers
2310 don't use precompiled headers even
if compiler can
2313 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2314 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2315 --without-subdirs don
't generate makefiles for samples/demos/...
2316 --with-flavour=NAME specify a name to identify this build
2317 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2318 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2319 --with-motif use Motif/Lesstif
2320 --with-osx_carbon use Mac OS X (Carbon)
2321 --with-osx_cocoa use Mac OS X (Cocoa)
2322 --with-osx_iphone use iPhone OS X port
2323 --with-osx use Mac OS X (default port, currently Carbon)
2324 --with-carbon same as --with-osx_carbon
2325 --with-cocoa same as --with-osx_cocoa
2326 --with-iphone same as --with-osx_iphone
2327 --with-mac same as --with-osx
2328 --with-old_cocoa use old, deprecated, Cocoa port
2329 --with-wine use Wine
2330 --with-msw use MS-Windows
2331 --with-pm use OS/2 Presentation Manager
2332 --with-directfb use DirectFB
2333 --with-microwin use MicroWindows
2335 --with-libpng use libpng (PNG image format)
2336 --with-libjpeg use libjpeg (JPEG file format)
2337 --with-libtiff use libtiff (TIFF file format)
2338 --without-libjbig don't use libjbig
in libtiff even
if available
)
2339 --without-liblzma don
't use liblzma in libtiff even if available)
2340 --with-libxpm use libxpm (XPM file format)
2341 --with-libiconv use libiconv (character conversion)
2342 --with-libmspack use libmspack (CHM help files loading)
2343 --without-gtkprint don't use GTK printing support
2344 --without-gnomeprint don
't use GNOME printing libraries
2345 --with-gnomevfs use GNOME VFS for associating MIME types
2346 --with-libnotify use libnotify for notifications
2347 --with-hildon use Hildon framework for Nokia 770/800/810
2348 --with-opengl use OpenGL (or Mesa)
2349 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2350 --with-sdl use SDL for audio on Unix
2351 --with-regex enable support for wxRegEx class
2352 --with-zlib use zlib for LZW compression
2353 --with-expat enable XML support using expat parser
2354 --with-macosx-sdk=PATH use an OS X SDK at PATH
2355 --with-macosx-version-min=VER build binaries which require at least this OS X version
2356 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2357 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2358 --with-x use the X Window System
2359 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2360 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2361 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2362 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2363 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2365 Some influential environment variables:
2366 CC C compiler command
2367 CFLAGS C compiler flags
2368 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2369 nonstandard directory <lib dir>
2370 LIBS libraries to pass to the linker, e.g. -l<library>
2371 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2372 you have headers in a nonstandard directory <include dir>
2374 CXX C++ compiler command
2375 CXXFLAGS C++ compiler flags
2376 CXXCPP C++ preprocessor
2377 PKG_CONFIG path to pkg-config utility
2379 C compiler flags for DIRECTFB, overriding pkg-config
2381 linker flags for DIRECTFB, overriding pkg-config
2382 XMKMF Path to xmkmf, Makefile generator for X Window System
2384 C compiler flags for PANGOX, overriding pkg-config
2385 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2387 C compiler flags for PANGOFT2, overriding pkg-config
2389 linker flags for PANGOFT2, overriding pkg-config
2391 C compiler flags for PANGOXFT, overriding pkg-config
2393 linker flags for PANGOXFT, overriding pkg-config
2395 C compiler flags for Xinerama, overriding pkg-config
2397 linker flags for Xinerama, overriding pkg-config
2399 C compiler flags for Xxf86vm, overriding pkg-config
2401 linker flags for Xxf86vm, overriding pkg-config
2402 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2403 SM_LIBS linker flags for SM, overriding pkg-config
2404 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2405 GL_LIBS linker flags for GL, overriding pkg-config
2406 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2407 GLU_LIBS linker flags for GLU, overriding pkg-config
2409 C compiler flags for MesaGL, overriding pkg-config
2410 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2412 C compiler flags for GTKPRINT, overriding pkg-config
2414 linker flags for GTKPRINT, overriding pkg-config
2415 LIBGNOMEPRINTUI_CFLAGS
2416 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2417 LIBGNOMEPRINTUI_LIBS
2418 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2420 C compiler flags for GNOMEVFS, overriding pkg-config
2422 linker flags for GNOMEVFS, overriding pkg-config
2424 C compiler flags for LIBNOTIFY, overriding pkg-config
2426 linker flags for LIBNOTIFY, overriding pkg-config
2428 C compiler flags for HILDON, overriding pkg-config
2429 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2431 C compiler flags for HILDON2, overriding pkg-config
2433 linker flags for HILDON2, overriding pkg-config
2435 C compiler flags for WEBKIT, overriding pkg-config
2436 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2438 C compiler flags for CAIRO, overriding pkg-config
2439 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2440 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2441 GST_LIBS linker flags for GST, overriding pkg-config
2443 Use these variables to override the choices made by `configure' or to
help
2444 it to
find libraries and programs with nonstandard names
/locations.
2446 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2451 if test "$ac_init_help" = "recursive"; then
2452 # If there are subdirs, report their specific --help.
2453 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2454 test -d "$ac_dir" ||
2455 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2460 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2462 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2463 # A ".." for each directory in $ac_dir_suffix.
2464 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2465 case $ac_top_builddir_sub in
2466 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2467 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2470 ac_abs_top_builddir
=$ac_pwd
2471 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2472 # for backward compatibility:
2473 ac_top_builddir
=$ac_top_build_prefix
2476 .
) # We are building in place.
2478 ac_top_srcdir
=$ac_top_builddir_sub
2479 ac_abs_top_srcdir
=$ac_pwd ;;
2480 [\\/]* | ?
:[\\/]* ) # Absolute name.
2481 ac_srcdir
=$srcdir$ac_dir_suffix;
2482 ac_top_srcdir
=$srcdir
2483 ac_abs_top_srcdir
=$srcdir ;;
2485 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2486 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2487 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2489 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2491 cd "$ac_dir" || { ac_status
=$?
; continue; }
2492 # Check for guested configure.
2493 if test -f "$ac_srcdir/configure.gnu"; then
2495 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2496 elif test -f "$ac_srcdir/configure"; then
2498 $SHELL "$ac_srcdir/configure" --help=recursive
2500 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2502 cd "$ac_pwd" || { ac_status
=$?
; break; }
2506 test -n "$ac_init_help" && exit $ac_status
2507 if $ac_init_version; then
2509 wxWidgets configure
2.9.5
2510 generated by GNU Autoconf
2.69
2512 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2513 This configure
script is free software
; the Free Software Foundation
2514 gives unlimited permission to copy
, distribute and modify it.
2519 ## ------------------------ ##
2520 ## Autoconf initialization. ##
2521 ## ------------------------ ##
2523 # ac_fn_c_try_compile LINENO
2524 # --------------------------
2525 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2526 ac_fn_c_try_compile
()
2528 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2529 rm -f conftest.
$ac_objext
2530 if { { ac_try
="$ac_compile"
2532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2533 *) ac_try_echo=$ac_try;;
2535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2536 $as_echo "$ac_try_echo"; } >&5
2537 (eval "$ac_compile") 2>conftest.err
2539 if test -s conftest.err; then
2540 grep -v '^ *+' conftest.err >conftest.er1
2541 cat conftest.er1 >&5
2542 mv -f conftest.er1 conftest.err
2544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2545 test $ac_status = 0; } && {
2546 test -z "$ac_c_werror_flag" ||
2547 test ! -s conftest.err
2548 } && test -s conftest.$ac_objext; then :
2551 $as_echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.$ac_ext >&5
2556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2557 as_fn_set_status $ac_retval
2559 } # ac_fn_c_try_compile
2561 # ac_fn_c_try_cpp LINENO
2562 # ----------------------
2563 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2567 if { { ac_try="$ac_cpp conftest.$ac_ext"
2569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2570 *) ac_try_echo
=$ac_try;;
2572 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2576 if test -s conftest.err
; then
2577 grep -v '^ *+' conftest.err
>conftest.er1
2578 cat conftest.er1
>&5
2579 mv -f conftest.er1 conftest.err
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; } > conftest.i
&& {
2583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2584 test ! -s conftest.err
2588 $as_echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.
$ac_ext >&5
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2594 as_fn_set_status
$ac_retval
2598 # ac_fn_cxx_try_compile LINENO
2599 # ----------------------------
2600 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2601 ac_fn_cxx_try_compile
()
2603 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2604 rm -f conftest.
$ac_objext
2605 if { { ac_try
="$ac_compile"
2607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2611 $as_echo "$ac_try_echo"; } >&5
2612 (eval "$ac_compile") 2>conftest.err
2614 if test -s conftest.err; then
2615 grep -v '^ *+' conftest.err >conftest.er1
2616 cat conftest.er1 >&5
2617 mv -f conftest.er1 conftest.err
2619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620 test $ac_status = 0; } && {
2621 test -z "$ac_cxx_werror_flag" ||
2622 test ! -s conftest.err
2623 } && test -s conftest.$ac_objext; then :
2626 $as_echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.$ac_ext >&5
2631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2632 as_fn_set_status $ac_retval
2634 } # ac_fn_cxx_try_compile
2636 # ac_fn_c_try_link LINENO
2637 # -----------------------
2638 # Try to link conftest.$ac_ext, and return whether this succeeded.
2641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2642 rm -f conftest.$ac_objext conftest$ac_exeext
2643 if { { ac_try="$ac_link"
2645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2646 *) ac_try_echo
=$ac_try;;
2648 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2649 $as_echo "$ac_try_echo"; } >&5
2650 (eval "$ac_link") 2>conftest.err
2652 if test -s conftest.err
; then
2653 grep -v '^ *+' conftest.err
>conftest.er1
2654 cat conftest.er1
>&5
2655 mv -f conftest.er1 conftest.err
2657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2658 test $ac_status = 0; } && {
2659 test -z "$ac_c_werror_flag" ||
2660 test ! -s conftest.err
2661 } && test -s conftest
$ac_exeext && {
2662 test "$cross_compiling" = yes ||
2663 test -x conftest
$ac_exeext
2667 $as_echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.
$ac_ext >&5
2672 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2673 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2674 # interfere with the next link command; also delete a directory that is
2675 # left behind by Apple's compiler. We do this before executing the actions.
2676 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678 as_fn_set_status
$ac_retval
2680 } # ac_fn_c_try_link
2682 # ac_fn_cxx_try_link LINENO
2683 # -------------------------
2684 # Try to link conftest.$ac_ext, and return whether this succeeded.
2685 ac_fn_cxx_try_link
()
2687 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2688 rm -f conftest.
$ac_objext conftest
$ac_exeext
2689 if { { ac_try
="$ac_link"
2691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 $as_echo "$ac_try_echo"; } >&5
2696 (eval "$ac_link") 2>conftest.err
2698 if test -s conftest.err; then
2699 grep -v '^ *+' conftest.err >conftest.er1
2700 cat conftest.er1 >&5
2701 mv -f conftest.er1 conftest.err
2703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2704 test $ac_status = 0; } && {
2705 test -z "$ac_cxx_werror_flag" ||
2706 test ! -s conftest.err
2707 } && test -s conftest$ac_exeext && {
2708 test "$cross_compiling" = yes ||
2709 test -x conftest$ac_exeext
2713 $as_echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.$ac_ext >&5
2718 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2719 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2720 # interfere with the next link command; also delete a directory that is
2721 # left behind by Apple's compiler. We do this before executing the actions.
2722 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2724 as_fn_set_status $ac_retval
2726 } # ac_fn_cxx_try_link
2728 # ac_fn_c_try_run LINENO
2729 # ----------------------
2730 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2731 # that executables *can* be run.
2734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2735 if { { ac_try="$ac_link"
2737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2738 *) ac_try_echo
=$ac_try;;
2740 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 $as_echo "$ac_try_echo"; } >&5
2742 (eval "$ac_link") 2>&5
2744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2746 { { case "(($ac_try" in
2747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2748 *) ac_try_echo=$ac_try;;
2750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2751 $as_echo "$ac_try_echo"; } >&5
2752 (eval "$ac_try") 2>&5
2754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755 test $ac_status = 0; }; }; then :
2758 $as_echo "$as_me: program exited with status $ac_status" >&5
2759 $as_echo "$as_me: failed program was:" >&5
2760 sed 's/^/| /' conftest.$ac_ext >&5
2762 ac_retval=$ac_status
2764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 as_fn_set_status $ac_retval
2770 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2771 # -------------------------------------------------------
2772 # Tests whether HEADER exists and can be compiled using the include files in
2773 # INCLUDES, setting the cache variable VAR accordingly.
2774 ac_fn_c_check_header_compile ()
2776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2778 $as_echo_n "checking for $2... " >&6; }
2779 if eval \${$3+:} false; then :
2780 $as_echo_n "(cached) " >&6
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h. */
2787 if ac_fn_c_try_compile "$LINENO"; then :
2792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2796 $as_echo "$ac_res" >&6; }
2797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799 } # ac_fn_c_check_header_compile
2801 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2802 # ---------------------------------------------------------
2803 # Tests whether HEADER exists and can be compiled using the include files in
2804 # INCLUDES, setting the cache variable VAR accordingly.
2805 ac_fn_cxx_check_header_compile ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2809 $as_echo_n "checking for $2... " >&6; }
2810 if eval \${$3+:} false; then :
2811 $as_echo_n "(cached) " >&6
2813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2814 /* end confdefs.h. */
2818 if ac_fn_cxx_try_compile "$LINENO"; then :
2823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2827 $as_echo "$ac_res" >&6; }
2828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830 } # ac_fn_cxx_check_header_compile
2832 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2833 # --------------------------------------------
2834 # Tries to find the compile-time value of EXPR in a program that includes
2835 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2837 ac_fn_c_compute_int ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 if test "$cross_compiling" = yes; then
2841 # Depending upon the size, compute the lo and hi bounds.
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2848 static int test_array [1 - 2 * !(($2) >= 0)];
2850 return test_array [0];
2856 if ac_fn_c_try_compile "$LINENO"; then :
2859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860 /* end confdefs.h. */
2865 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2867 return test_array [0];
2873 if ac_fn_c_try_compile "$LINENO"; then :
2874 ac_hi=$ac_mid; break
2876 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2877 if test $ac_lo -le $ac_mid; then
2881 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2892 static int test_array [1 - 2 * !(($2) < 0)];
2894 return test_array [0];
2900 if ac_fn_c_try_compile "$LINENO"; then :
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2909 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2911 return test_array [0];
2917 if ac_fn_c_try_compile "$LINENO"; then :
2918 ac_lo=$ac_mid; break
2920 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2921 if test $ac_mid -le $ac_hi; then
2925 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2935 # Binary search between lo and hi bounds.
2936 while test "x$ac_lo" != "x$ac_hi"; do
2937 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2944 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2946 return test_array [0];
2952 if ac_fn_c_try_compile "$LINENO"; then :
2955 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2960 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h. */
2967 static long int longval () { return $2; }
2968 static unsigned long int ulongval () { return $2; }
2975 FILE *f = fopen ("conftest.val", "w");
2980 long int i = longval ();
2983 fprintf (f, "%ld", i);
2987 unsigned long int i = ulongval ();
2990 fprintf (f, "%lu", i);
2992 /* Do not output a trailing newline, as this causes \r\n confusion
2993 on some platforms. */
2994 return ferror (f) || fclose (f) != 0;
3000 if ac_fn_c_try_run "$LINENO"; then :
3001 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3006 conftest.$ac_objext conftest.beam conftest.$ac_ext
3010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3011 as_fn_set_status $ac_retval
3013 } # ac_fn_c_compute_int
3015 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3016 # ---------------------------------------------
3017 # Tests whether TYPE exists after having included INCLUDES, setting cache
3018 # variable VAR accordingly.
3019 ac_fn_cxx_check_type ()
3021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3023 $as_echo_n "checking for $2... " >&6; }
3024 if eval \${$3+:} false; then :
3025 $as_echo_n "(cached) " >&6
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3040 if ac_fn_cxx_try_compile "$LINENO"; then :
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3053 if ac_fn_cxx_try_compile "$LINENO"; then :
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3064 $as_echo "$ac_res" >&6; }
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3067 } # ac_fn_cxx_check_type
3069 # ac_fn_cxx_try_cpp LINENO
3070 # ------------------------
3071 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3072 ac_fn_cxx_try_cpp ()
3074 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3075 if { { ac_try="$ac_cpp conftest.$ac_ext"
3077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3078 *) ac_try_echo
=$ac_try;;
3080 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3081 $as_echo "$ac_try_echo"; } >&5
3082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3084 if test -s conftest.err
; then
3085 grep -v '^ *+' conftest.err
>conftest.er1
3086 cat conftest.er1
>&5
3087 mv -f conftest.er1 conftest.err
3089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090 test $ac_status = 0; } > conftest.i
&& {
3091 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3092 test ! -s conftest.err
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.
$ac_ext >&5
3101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3102 as_fn_set_status
$ac_retval
3104 } # ac_fn_cxx_try_cpp
3106 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3107 # ---------------------------------------------------------
3108 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3109 # the include files in INCLUDES and setting the cache variable VAR
3111 ac_fn_cxx_check_header_mongrel
()
3113 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3114 if eval \
${$3+:} false
; then :
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3116 $as_echo_n "checking for $2... " >&6; }
3117 if eval \
${$3+:} false
; then :
3118 $as_echo_n "(cached) " >&6
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3122 $as_echo "$ac_res" >&6; }
3124 # Is the header compilable?
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3126 $as_echo_n "checking $2 usability... " >&6; }
3127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h. */
3132 if ac_fn_cxx_try_compile
"$LINENO"; then :
3133 ac_header_compiler
=yes
3135 ac_header_compiler
=no
3137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3139 $as_echo "$ac_header_compiler" >&6; }
3141 # Is the header present?
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3143 $as_echo_n "checking $2 presence... " >&6; }
3144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3148 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3149 ac_header_preproc
=yes
3151 ac_header_preproc
=no
3153 rm -f conftest.err conftest.i conftest.
$ac_ext
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3155 $as_echo "$ac_header_preproc" >&6; }
3157 # So? What about this header?
3158 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3161 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3163 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3167 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3169 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3171 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3173 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3175 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3176 ( $as_echo "## ----------------------------------------- ##
3177 ## Report this to wx-dev@lists.wxwidgets.org ##
3178 ## ----------------------------------------- ##"
3179 ) | sed "s/^/$as_me: WARNING: /" >&2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3183 $as_echo_n "checking for $2... " >&6; }
3184 if eval \
${$3+:} false
; then :
3185 $as_echo_n "(cached) " >&6
3187 eval "$3=\$ac_header_compiler"
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3191 $as_echo "$ac_res" >&6; }
3193 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3195 } # ac_fn_cxx_check_header_mongrel
3197 # ac_fn_c_check_func LINENO FUNC VAR
3198 # ----------------------------------
3199 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3200 ac_fn_c_check_func
()
3202 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3204 $as_echo_n "checking for $2... " >&6; }
3205 if eval \
${$3+:} false
; then :
3206 $as_echo_n "(cached) " >&6
3208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3210 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3212 #define $2 innocuous_$2
3214 /* System header to define __stub macros and hopefully few prototypes,
3215 which can conflict with char $2 (); below.
3216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3217 <limits.h> exists even on freestanding compilers. */
3220 # include <limits.h>
3222 # include <assert.h>
3227 /* Override any GCC internal prototype to avoid an error.
3228 Use char because int might match the return type of a GCC
3229 builtin and then its argument prototype would still apply. */
3234 /* The GNU C library defines this for functions which it implements
3235 to always fail with ENOSYS. Some functions are actually named
3236 something starting with __ and the normal name is an alias. */
3237 #if defined __stub_$2 || defined __stub___$2
3249 if ac_fn_c_try_link
"$LINENO"; then :
3254 rm -f core conftest.err conftest.
$ac_objext \
3255 conftest
$ac_exeext conftest.
$ac_ext
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3259 $as_echo "$ac_res" >&6; }
3260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3262 } # ac_fn_c_check_func
3264 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3265 # -------------------------------------------
3266 # Tests whether TYPE exists after having included INCLUDES, setting cache
3267 # variable VAR accordingly.
3268 ac_fn_c_check_type
()
3270 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3272 $as_echo_n "checking for $2... " >&6; }
3273 if eval \
${$3+:} false
; then :
3274 $as_echo_n "(cached) " >&6
3277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3289 if ac_fn_c_try_compile
"$LINENO"; then :
3290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3302 if ac_fn_c_try_compile
"$LINENO"; then :
3307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3313 $as_echo "$ac_res" >&6; }
3314 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3316 } # ac_fn_c_check_type
3318 # ac_fn_cxx_try_run LINENO
3319 # ------------------------
3320 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3321 # that executables *can* be run.
3322 ac_fn_cxx_try_run
()
3324 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3325 if { { ac_try
="$ac_link"
3327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_link") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3336 { { case "(($ac_try" in
3337 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3338 *) ac_try_echo
=$ac_try;;
3340 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341 $as_echo "$ac_try_echo"; } >&5
3342 (eval "$ac_try") 2>&5
3344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345 test $ac_status = 0; }; }; then :
3348 $as_echo "$as_me: program exited with status $ac_status" >&5
3349 $as_echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.
$ac_ext >&5
3352 ac_retval
=$ac_status
3354 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3355 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3356 as_fn_set_status
$ac_retval
3358 } # ac_fn_cxx_try_run
3359 cat >config.log
<<_ACEOF
3360 This file contains any messages produced by compilers while
3361 running configure, to aid debugging if configure makes a mistake.
3363 It was created by wxWidgets $as_me 2.9.5, which was
3364 generated by GNU Autoconf 2.69. Invocation command line was
3376 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3377 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3378 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3379 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3380 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3382 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3383 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3385 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3386 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3387 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3388 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3389 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3390 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3391 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3399 test -z "$as_dir" && as_dir
=.
3400 $as_echo "PATH: $as_dir"
3416 # Keep a trace of the command line.
3417 # Strip out --no-create and --no-recursion so they do not pile up.
3418 # Strip out --silent because we don't want to record it for future runs.
3419 # Also quote any args containing shell meta-characters.
3420 # Make two passes to allow for proper duplicate-argument suppression.
3424 ac_must_keep_next
=false
3430 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3431 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3432 | -silent | --silent | --silen | --sile | --sil)
3435 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3438 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3440 as_fn_append ac_configure_args1
" '$ac_arg'"
3441 if test $ac_must_keep_next = true
; then
3442 ac_must_keep_next
=false
# Got value, back to normal.
3445 *=* | --config-cache | -C | -disable-* | --disable-* \
3446 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3447 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3448 | -with-* | --with-* | -without-* | --without-* | --x)
3449 case "$ac_configure_args0 " in
3450 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3453 -* ) ac_must_keep_next
=true
;;
3456 as_fn_append ac_configure_args
" '$ac_arg'"
3461 { ac_configure_args0
=; unset ac_configure_args0
;}
3462 { ac_configure_args1
=; unset ac_configure_args1
;}
3464 # When interrupted or exit'd, cleanup temporary files, and complete
3465 # config.log. We remove comments because anyway the quotes in there
3466 # would cause problems or look ugly.
3467 # WARNING: Use '\'' to represent an apostrophe within the trap.
3468 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3469 trap 'exit_status=$?
3470 # Save into config.log some information that might help in debugging.
3474 $as_echo "## ---------------- ##
3475 ## Cache variables. ##
3476 ## ---------------- ##"
3478 # The following way of writing the cache mishandles newlines in values,
3480 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3481 eval ac_val=\$$ac_var
3485 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3489 _ | IFS | as_nl) ;; #(
3490 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3491 *) { eval $ac_var=; unset $ac_var;} ;;
3496 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3497 *${as_nl}ac_space=\ *)
3499 "s/'\''/'\''\\\\'\'''\''/g;
3500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3510 $as_echo "## ----------------- ##
3511 ## Output variables. ##
3512 ## ----------------- ##"
3514 for ac_var in $ac_subst_vars
3516 eval ac_val=\$$ac_var
3518 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3520 $as_echo "$ac_var='\''$ac_val'\''"
3524 if test -n "$ac_subst_files"; then
3525 $as_echo "## ------------------- ##
3526 ## File substitutions. ##
3527 ## ------------------- ##"
3529 for ac_var
in $ac_subst_files
3531 eval ac_val
=\$
$ac_var
3533 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3535 $as_echo "$ac_var='\''$ac_val'\''"
3540 if test -s confdefs.h; then
3541 $as_echo "## ----------- ##
3548 test "$ac_signal" != 0 &&
3549 $as_echo "$as_me: caught signal $ac_signal"
3550 $as_echo "$as_me: exit $exit_status"
3552 rm -f core *.core core.conftest.* &&
3553 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3556 for ac_signal
in 1 2 13 15; do
3557 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3561 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3562 rm -f -r conftest
* confdefs.h
3564 $as_echo "/* confdefs.h */" > confdefs.h
3566 # Predefined preprocessor variables.
3568 cat >>confdefs.h
<<_ACEOF
3569 #define PACKAGE_NAME "$PACKAGE_NAME"
3572 cat >>confdefs.h
<<_ACEOF
3573 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3576 cat >>confdefs.h
<<_ACEOF
3577 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3580 cat >>confdefs.h
<<_ACEOF
3581 #define PACKAGE_STRING "$PACKAGE_STRING"
3584 cat >>confdefs.h
<<_ACEOF
3585 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3588 cat >>confdefs.h
<<_ACEOF
3589 #define PACKAGE_URL "$PACKAGE_URL"
3593 # Let the site file select an alternate cache file if it wants to.
3594 # Prefer an explicitly selected file to automatically selected ones.
3597 if test -n "$CONFIG_SITE"; then
3598 # We do not want a PATH search for config.site.
3599 case $CONFIG_SITE in #((
3600 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3601 */*) ac_site_file1
=$CONFIG_SITE;;
3602 *) ac_site_file1
=.
/$CONFIG_SITE;;
3604 elif test "x$prefix" != xNONE
; then
3605 ac_site_file1
=$prefix/share
/config.site
3606 ac_site_file2
=$prefix/etc
/config.site
3608 ac_site_file1
=$ac_default_prefix/share
/config.site
3609 ac_site_file2
=$ac_default_prefix/etc
/config.site
3611 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3613 test "x$ac_site_file" = xNONE
&& continue
3614 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3616 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3617 sed 's/^/| /' "$ac_site_file" >&5
3619 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $?
"failed to load site script $ac_site_file
3622 See \`config.log' for more details" "$LINENO" 5; }
3626 if test -r "$cache_file"; then
3627 # Some versions of bash will fail to source /dev/null (special files
3628 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3629 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3631 $as_echo "$as_me: loading cache $cache_file" >&6;}
3633 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3634 *) .
"./$cache_file";;
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3639 $as_echo "$as_me: creating cache $cache_file" >&6;}
3643 # Check that the precious variables saved in the cache have kept the same
3645 ac_cache_corrupted
=false
3646 for ac_var
in $ac_precious_vars; do
3647 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3648 eval ac_new_set
=\
$ac_env_${ac_var}_set
3649 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3650 eval ac_new_val
=\
$ac_env_${ac_var}_value
3651 case $ac_old_set,$ac_new_set in
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3654 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3655 ac_cache_corrupted
=: ;;
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3658 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3659 ac_cache_corrupted
=: ;;
3662 if test "x$ac_old_val" != "x$ac_new_val"; then
3663 # differences in whitespace do not lead to failure.
3664 ac_old_val_w
=`echo x $ac_old_val`
3665 ac_new_val_w
=`echo x $ac_new_val`
3666 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3668 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3669 ac_cache_corrupted
=:
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3672 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3673 eval $ac_var=\
$ac_old_val
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3676 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3678 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3681 # Pass precious variables to config.status.
3682 if test "$ac_new_set" = set; then
3684 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3685 *) ac_arg
=$ac_var=$ac_new_val ;;
3687 case " $ac_configure_args " in
3688 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3689 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3693 if $ac_cache_corrupted; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3697 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3698 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3700 ## -------------------- ##
3701 ## Main body of script. ##
3702 ## -------------------- ##
3705 ac_cpp
='$CPP $CPPFLAGS'
3706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3715 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3716 if test -f "$ac_dir/install-sh"; then
3718 ac_install_sh
="$ac_aux_dir/install-sh -c"
3720 elif test -f "$ac_dir/install.sh"; then
3722 ac_install_sh
="$ac_aux_dir/install.sh -c"
3724 elif test -f "$ac_dir/shtool"; then
3726 ac_install_sh
="$ac_aux_dir/shtool install -c"
3730 if test -z "$ac_aux_dir"; then
3731 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3734 # These three variables are undocumented and unsupported,
3735 # and are intended to be withdrawn in a future Autoconf release.
3736 # They can cause serious problems if a builder's source tree is in a directory
3737 # whose full name contains unusual characters.
3738 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3739 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3740 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3743 # Make sure we can run config.sub.
3744 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3745 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3748 $as_echo_n "checking build system type... " >&6; }
3749 if ${ac_cv_build+:} false
; then :
3750 $as_echo_n "(cached) " >&6
3752 ac_build_alias
=$build_alias
3753 test "x$ac_build_alias" = x
&&
3754 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3755 test "x$ac_build_alias" = x
&&
3756 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3757 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3758 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3762 $as_echo "$ac_cv_build" >&6; }
3763 case $ac_cv_build in
3765 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3768 ac_save_IFS
=$IFS; IFS
='-'
3774 # Remember, the first character of IFS is used to create $*,
3775 # except with old shells:
3778 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3782 $as_echo_n "checking host system type... " >&6; }
3783 if ${ac_cv_host+:} false
; then :
3784 $as_echo_n "(cached) " >&6
3786 if test "x$host_alias" = x
; then
3787 ac_cv_host
=$ac_cv_build
3789 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3790 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3795 $as_echo "$ac_cv_host" >&6; }
3798 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3801 ac_save_IFS
=$IFS; IFS
='-'
3807 # Remember, the first character of IFS is used to create $*,
3808 # except with old shells:
3811 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3815 if test "$cross_compiling" != "no"; then
3816 HOST_PREFIX
="${host_alias}-"
3817 HOST_SUFFIX
="-$host_alias"
3824 wx_major_version_number
=2
3825 wx_minor_version_number
=9
3827 wx_subrelease_number
=0
3829 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3830 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3831 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3833 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3836 wx_top_builddir
="`pwd`"
3849 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3855 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3861 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3863 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3865 DEFAULT_wxUSE_OLD_COCOA
=0
3867 DEFAULT_wxUSE_OSX_CARBON
=0
3868 DEFAULT_wxUSE_OSX_COCOA
=0
3869 DEFAULT_wxUSE_OSX_IPHONE
=0
3870 DEFAULT_wxUSE_MICROWIN
=0
3871 DEFAULT_wxUSE_MOTIF
=0
3877 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3878 DEFAULT_DEFAULT_wxUSE_GTK
=0
3879 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3880 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3881 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3882 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3883 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3884 DEFAULT_DEFAULT_wxUSE_MSW
=0
3885 DEFAULT_DEFAULT_wxUSE_PM
=0
3886 DEFAULT_DEFAULT_wxUSE_X11
=0
3887 DEFAULT_DEFAULT_wxUSE_DFB
=0
3891 DYLIB_RPATH_INSTALL
=
3892 DYLIB_RPATH_POSTLINK
=
3894 DEFAULT_STD_FLAG
=yes
3899 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3900 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3901 $as_echo "#define __HPUX__ 1" >>confdefs.h
3904 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3908 $as_echo "#define __LINUX__ 1" >>confdefs.h
3911 if test "x$TMP" = "xalpha"; then
3913 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3916 DEFAULT_DEFAULT_wxUSE_GTK
=1
3918 *-*-gnu* | *-*-k*bsd
*-gnu )
3921 if test "x$TMP" = "xalpha"; then
3923 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3926 DEFAULT_DEFAULT_wxUSE_GTK
=1
3928 *-*-irix5* | *-*-irix6* )
3931 $as_echo "#define __SGI__ 1" >>confdefs.h
3933 $as_echo "#define __SVR4__ 1" >>confdefs.h
3935 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3939 $as_echo "#define __QNX__ 1" >>confdefs.h
3941 DEFAULT_DEFAULT_wxUSE_X11
=1
3947 $as_echo "#define __SUN__ 1" >>confdefs.h
3949 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3951 $as_echo "#define __SVR4__ 1" >>confdefs.h
3953 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3954 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3960 $as_echo "#define __SUN__ 1" >>confdefs.h
3962 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3964 $as_echo "#define __BSD__ 1" >>confdefs.h
3966 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3971 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3973 $as_echo "#define __BSD__ 1" >>confdefs.h
3975 DEFAULT_DEFAULT_wxUSE_GTK
=1
3977 *-*-openbsd*|*-*-mirbsd*)
3980 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3982 $as_echo "#define __BSD__ 1" >>confdefs.h
3984 DEFAULT_DEFAULT_wxUSE_GTK
=1
3989 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3991 $as_echo "#define __BSD__ 1" >>confdefs.h
3993 DEFAULT_DEFAULT_wxUSE_GTK
=1
3994 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3996 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4001 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4003 $as_echo "#define __OSF__ 1" >>confdefs.h
4005 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4006 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4011 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4013 $as_echo "#define __SVR4__ 1" >>confdefs.h
4015 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4020 $as_echo "#define __SYSV__ 1" >>confdefs.h
4022 $as_echo "#define __SVR4__ 1" >>confdefs.h
4024 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4030 $as_echo "#define __AIX__ 1" >>confdefs.h
4032 $as_echo "#define __SYSV__ 1" >>confdefs.h
4034 $as_echo "#define __SVR4__ 1" >>confdefs.h
4036 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4043 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4047 *-*-cygwin* | *-*-mingw32* )
4049 DEFAULT_DEFAULT_wxUSE_MSW
=1
4055 $as_echo "#define __DOS__ 1" >>confdefs.h
4060 *-pc-os2_emx | *-pc-os2-emx )
4061 $as_echo "#define __EMX__ 1" >>confdefs.h
4064 $as_echo "#define __OS2__ 1" >>confdefs.h
4067 DEFAULT_DEFAULT_wxUSE_PM
=1
4069 LDFLAGS
="$LDFLAGS -Zcrtdll"
4070 ac_executable_extensions
=".exe"
4071 export ac_executable_extensions
4075 for ac_dir
in $PATH; do
4077 if test -z "$ac_TEMP_PATH"; then
4078 ac_TEMP_PATH
="$ac_dir"
4080 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4083 export PATH
="$ac_TEMP_PATH"
4091 $as_echo "#define __BSD__ 1" >>confdefs.h
4093 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4095 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4101 $as_echo "#define __BSD__ 1" >>confdefs.h
4103 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4105 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4107 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=1
4112 $as_echo "#define __BEOS__ 1" >>confdefs.h
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4118 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4120 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4122 DEFAULT_DEFAULT_wxUSE_X11
=1
4123 DEFAULT_wxUSE_SHARED
=no
4128 DEFAULT_wxUSE_ALL_FEATURES
=yes
4130 DEFAULT_wxUSE_STD_CONTAINERS
=no
4131 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4132 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4134 DEFAULT_wxUSE_DMALLOC
=no
4135 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4136 DEFAULT_wxUSE_LIBHILDON
=no
4137 DEFAULT_wxUSE_LIBHILDON2
=no
4138 DEFAULT_wxUSE_LIBMSPACK
=no
4139 DEFAULT_wxUSE_LIBSDL
=no
4141 DEFAULT_wxUSE_ACCESSIBILITY
=no
4142 DEFAULT_wxUSE_IPV6
=no
4143 DEFAULT_wxUSE_GSTREAMER8
=no
4144 DEFAULT_wxUSE_UNICODE_UTF8
=no
4145 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4147 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4148 DEFAULT_wxUSE_OPENGL
=auto
4149 DEFAULT_wxUSE_MEDIACTRL
=auto
4150 DEFAULT_wxUSE_COMPILER_TLS
=auto
4151 DEFAULT_wxUSE_HOTKEY
=auto
4152 DEFAULT_wxUSE_METAFILE
=auto
4154 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4155 DEFAULT_wxUSE_MAC_ARCH
=no
4157 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4159 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4165 enablestring
=disable
4167 if test -z "$defaultval"; then
4168 if test x
"$enablestring" = xdisable
; then
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4176 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4177 # Check whether --enable-gui was given.
4178 if test "${enable_gui+set}" = set; then :
4179 enableval
=$enable_gui;
4180 if test "$enableval" = yes; then
4181 wx_cv_use_gui
='wxUSE_GUI=yes'
4183 wx_cv_use_gui
='wxUSE_GUI=no'
4188 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4193 eval "$wx_cv_use_gui"
4195 if test x"$enablestring" = xdisable; then
4196 if test $wxUSE_GUI = no; then
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4206 $as_echo "$result" >&6; }
4211 if test -z "$defaultval"; then
4212 if test x"$enablestring" = xdisable; then
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4220 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4221 # Check whether --enable-monolithic was given.
4222 if test "${enable_monolithic+set}" = set; then :
4223 enableval=$enable_monolithic;
4224 if test "$enableval" = yes; then
4225 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4227 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4232 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4237 eval "$wx_cv_use_monolithic"
4239 if test x"$enablestring" = xdisable; then
4240 if test $wxUSE_MONOLITHIC = no; then
4246 result=$wxUSE_MONOLITHIC
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4250 $as_echo "$result" >&6; }
4255 if test -z "$defaultval"; then
4256 if test x"$enablestring" = xdisable; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4264 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4265 # Check whether --enable-plugins was given.
4266 if test "${enable_plugins+set}" = set; then :
4267 enableval=$enable_plugins;
4268 if test "$enableval" = yes; then
4269 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4271 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4276 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4281 eval "$wx_cv_use_plugins"
4283 if test x
"$enablestring" = xdisable
; then
4284 if test $wxUSE_PLUGINS = no
; then
4290 result
=$wxUSE_PLUGINS
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4294 $as_echo "$result" >&6; }
4298 defaultval
=$wxUSE_ALL_FEATURES
4299 if test -z "$defaultval"; then
4300 if test x
"$withstring" = xwithout
; then
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4307 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4309 # Check whether --with-subdirs was given.
4310 if test "${with_subdirs+set}" = set; then :
4311 withval
=$with_subdirs;
4312 if test "$withval" = yes; then
4313 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4315 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4320 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4325 eval "$wx_cv_use_subdirs"
4327 if test x"$withstring" = xwithout; then
4328 if test $wxWITH_SUBDIRS = yes; then
4334 result=$wxWITH_SUBDIRS
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4338 $as_echo "$result" >&6; }
4341 # Check whether --with-flavour was given.
4342 if test "${with_flavour+set}" = set; then :
4343 withval=$with_flavour; WX_FLAVOUR="$withval"
4349 if test -z "$defaultval"; then
4350 if test x"$enablestring" = xdisable; then
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4358 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4359 # Check whether --enable-official_build was given.
4360 if test "${enable_official_build+set}" = set; then :
4361 enableval=$enable_official_build;
4362 if test "$enableval" = yes; then
4363 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4365 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4370 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4375 eval "$wx_cv_use_official_build"
4377 if test x"$enablestring" = xdisable; then
4378 if test $wxUSE_OFFICIAL_BUILD = no; then
4384 result=$wxUSE_OFFICIAL_BUILD
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4388 $as_echo "$result" >&6; }
4390 # Check whether --enable-vendor was given.
4391 if test "${enable_vendor+set}" = set; then :
4392 enableval=$enable_vendor; VENDOR="$enableval"
4395 if test "x
$VENDOR" = "x
"; then
4400 enablestring=disable
4402 if test -z "$defaultval"; then
4403 if test x"$enablestring" = xdisable; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4411 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4412 # Check whether --enable-all-features was given.
4413 if test "${enable_all_features+set}" = set; then :
4414 enableval=$enable_all_features;
4415 if test "$enableval" = yes; then
4416 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4418 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4423 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4428 eval "$wx_cv_use_all_features"
4430 if test x
"$enablestring" = xdisable
; then
4431 if test $wxUSE_ALL_FEATURES = no
; then
4437 result
=$wxUSE_ALL_FEATURES
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4441 $as_echo "$result" >&6; }
4444 if test "$wxUSE_ALL_FEATURES" = "no"; then
4445 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4446 DEFAULT_wxUSE_MEDIACTRL
=no
4450 if test "$wxUSE_GUI" = "yes"; then
4455 if test -z "$defaultval"; then
4456 if test x
"$enablestring" = xdisable
; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4464 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4465 # Check whether --enable-universal was given.
4466 if test "${enable_universal+set}" = set; then :
4467 enableval
=$enable_universal;
4468 if test "$enableval" = yes; then
4469 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4471 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4476 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4481 eval "$wx_cv_use_universal"
4483 if test x"$enablestring" = xdisable; then
4484 if test $wxUSE_UNIVERSAL = no; then
4490 result=$wxUSE_UNIVERSAL
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4494 $as_echo "$result" >&6; }
4496 if test "$wxUSE_UNIVERSAL" = "yes"; then
4498 # Check whether --with-themes was given.
4499 if test "${with_themes+set}" = set; then :
4500 withval=$with_themes; wxUNIV_THEMES="$withval"
4506 # Check whether --with-gtk was given.
4507 if test "${with_gtk+set}" = set; then :
4508 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4512 # Check whether --with-motif was given.
4513 if test "${with_motif+set}" = set; then :
4514 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4518 # Check whether --with-osx_carbon was given.
4519 if test "${with_osx_carbon+set}" = set; then :
4520 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4524 # Check whether --with-osx_cocoa was given.
4525 if test "${with_osx_cocoa+set}" = set; then :
4526 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4530 # Check whether --with-osx_iphone was given.
4531 if test "${with_osx_iphone+set}" = set; then :
4532 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4536 # Check whether --with-osx was given.
4537 if test "${with_osx+set}" = set; then :
4538 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4542 # Check whether --with-carbon was given.
4543 if test "${with_carbon+set}" = set; then :
4544 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4548 # Check whether --with-cocoa was given.
4549 if test "${with_cocoa+set}" = set; then :
4550 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4554 # Check whether --with-iphone was given.
4555 if test "${with_iphone+set}" = set; then :
4556 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4560 # Check whether --with-mac was given.
4561 if test "${with_mac+set}" = set; then :
4562 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4566 # Check whether --with-old_cocoa was given.
4567 if test "${with_old_cocoa+set}" = set; then :
4568 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4572 # Check whether --with-wine was given.
4573 if test "${with_wine+set}" = set; then :
4574 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4578 # Check whether --with-msw was given.
4579 if test "${with_msw+set}" = set; then :
4580 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4584 # Check whether --with-pm was given.
4585 if test "${with_pm+set}" = set; then :
4586 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4590 # Check whether --with-directfb was given.
4591 if test "${with_directfb+set}" = set; then :
4592 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4596 # Check whether --with-microwin was given.
4597 if test "${with_microwin+set}" = set; then :
4598 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4602 # Check whether --with-x11 was given.
4603 if test "${with_x11+set}" = set; then :
4604 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4610 if test -z "$defaultval"; then
4611 if test x"$enablestring" = xdisable; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4619 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4620 # Check whether --enable-nanox was given.
4621 if test "${enable_nanox+set}" = set; then :
4622 enableval=$enable_nanox;
4623 if test "$enableval" = yes; then
4624 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4626 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4631 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4636 eval "$wx_cv_use_nanox"
4638 if test x"$enablestring" = xdisable; then
4639 if test $wxUSE_NANOX = no; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4649 $as_echo "$result" >&6; }
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4663 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4664 # Check whether --enable-gpe was given.
4665 if test "${enable_gpe+set}" = set; then :
4666 enableval=$enable_gpe;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_gpe='wxUSE_GPE=yes'
4670 wx_cv_use_gpe='wxUSE_GPE=no'
4675 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4680 eval "$wx_cv_use_gpe"
4682 if test x
"$enablestring" = xdisable
; then
4683 if test $wxUSE_GPE = no
; then
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4693 $as_echo "$result" >&6; }
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4698 $as_echo_n "checking for toolkit... " >&6; }
4702 # In Wine, we need to default to MSW, not GTK or MOTIF
4703 if test "$wxUSE_WINE" = "yes"; then
4704 DEFAULT_DEFAULT_wxUSE_GTK
=0
4705 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4706 DEFAULT_DEFAULT_wxUSE_MSW
=1
4713 if test "$wxUSE_GUI" = "yes"; then
4715 if test "$USE_BEOS" = 1; then
4716 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4719 if test "$TOOLKIT_GIVEN" = 1; then
4720 for toolkit
in $ALL_TOOLKITS; do
4722 eval "value=\$${var}"
4723 if test "x$value" = "xno"; then
4725 elif test "x$value" != "x"; then
4729 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4730 eval "wx${toolkit}_VERSION=$value"
4734 for toolkit
in $ALL_TOOLKITS; do
4735 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4736 eval "wxUSE_$toolkit=\$${var}"
4740 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4741 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4742 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4745 *-pc-os2_emx | *-pc-os2-emx )
4746 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4749 case "$NUM_TOOLKITS" in
4753 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4756 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4759 for toolkit
in $ALL_TOOLKITS; do
4761 eval "value=\$${var}"
4762 if test "$value" = 1; then
4763 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4765 $as_echo "$toolkit_echo" >&6; }
4769 if test "x$host_alias" != "x"; then
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4771 $as_echo "base ($host_alias hosted) only" >&6; }
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4774 $as_echo "base only" >&6; }
4779 if test "$wxUSE_OSX_CARBON" = 1 \
4780 -o "$wxUSE_OSX_COCOA" = 1 \
4781 -o "$wxUSE_OSX_IPHONE" = 1; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4788 $as_echo_n "checking for --with-libpng... " >&6; }
4790 # Check whether --with-libpng was given.
4791 if test "${with_libpng+set}" = set; then :
4792 withval
=$with_libpng;
4793 if test "$withval" = yes; then
4794 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4795 elif test "$withval" = no
; then
4796 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4797 elif test "$withval" = sys
; then
4798 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4799 elif test "$withval" = builtin; then
4800 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4802 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4807 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4812 eval "$wx_cv_use_libpng"
4814 if test "$wxUSE_LIBPNG" = yes; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4816 $as_echo "yes" >&6; }
4817 elif test "$wxUSE_LIBPNG" = no; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4820 elif test "$wxUSE_LIBPNG" = sys; then
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4822 $as_echo "system version" >&6; }
4823 elif test "$wxUSE_LIBPNG" = builtin; then
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4825 $as_echo "builtin version" >&6; }
4827 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4832 $as_echo_n "checking for --with-libjpeg... " >&6; }
4834 # Check whether --with-libjpeg was given.
4835 if test "${with_libjpeg+set}" = set; then :
4836 withval=$with_libjpeg;
4837 if test "$withval" = yes; then
4838 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4839 elif test "$withval" = no; then
4840 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4841 elif test "$withval" = sys; then
4842 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4843 elif test "$withval" = builtin; then
4844 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4846 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4851 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4856 eval "$wx_cv_use_libjpeg"
4858 if test "$wxUSE_LIBJPEG" = yes; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4860 $as_echo "yes" >&6; }
4861 elif test "$wxUSE_LIBJPEG" = no; then
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4863 $as_echo "no
" >&6; }
4864 elif test "$wxUSE_LIBJPEG" = sys; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4866 $as_echo "system version
" >&6; }
4867 elif test "$wxUSE_LIBJPEG" = builtin; then
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4869 $as_echo "builtin version
" >&6; }
4871 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4876 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4878 # Check whether --with-libtiff was given.
4879 if test "${with_libtiff+set}" = set; then :
4880 withval=$with_libtiff;
4881 if test "$withval" = yes; then
4882 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4883 elif test "$withval" = no; then
4884 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4885 elif test "$withval" = sys; then
4886 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4887 elif test "$withval" = builtin; then
4888 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4890 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4895 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4900 eval "$wx_cv_use_libtiff"
4902 if test "$wxUSE_LIBTIFF" = yes; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4904 $as_echo "yes" >&6; }
4905 elif test "$wxUSE_LIBTIFF" = no
; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4908 elif test "$wxUSE_LIBTIFF" = sys
; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4910 $as_echo "system version" >&6; }
4911 elif test "$wxUSE_LIBTIFF" = builtin; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4913 $as_echo "builtin version" >&6; }
4915 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4920 defaultval
=$wxUSE_ALL_FEATURES
4921 if test -z "$defaultval"; then
4922 if test x
"$withstring" = xwithout
; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
4929 $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
4931 # Check whether --with-libjbig was given.
4932 if test "${with_libjbig+set}" = set; then :
4933 withval
=$with_libjbig;
4934 if test "$withval" = yes; then
4935 wx_cv_use_libjbig
='wxUSE_LIBJBIG=yes'
4937 wx_cv_use_libjbig
='wxUSE_LIBJBIG=no'
4942 wx_cv_use_libjbig
='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
4947 eval "$wx_cv_use_libjbig"
4949 if test x"$withstring" = xwithout; then
4950 if test $wxUSE_LIBJBIG = yes; then
4956 result=$wxUSE_LIBJBIG
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4960 $as_echo "$result" >&6; }
4964 defaultval=$wxUSE_ALL_FEATURES
4965 if test -z "$defaultval"; then
4966 if test x"$withstring" = xwithout; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
4973 $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
4975 # Check whether --with-liblzma was given.
4976 if test "${with_liblzma+set}" = set; then :
4977 withval=$with_liblzma;
4978 if test "$withval" = yes; then
4979 wx_cv_use_liblzma='wxUSE_LIBLZMA
=yes'
4981 wx_cv_use_liblzma='wxUSE_LIBLZMA
=no
'
4986 wx_cv_use_liblzma='wxUSE_LIBLZMA
=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
4991 eval "$wx_cv_use_liblzma"
4993 if test x"$withstring" = xwithout; then
4994 if test $wxUSE_LIBLZMA = yes; then
5000 result=$wxUSE_LIBLZMA
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5004 $as_echo "$result" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libxpm" >&5
5008 $as_echo_n "checking
for --with-libxpm...
" >&6; }
5010 # Check whether --with-libxpm was given.
5011 if test "${with_libxpm+set}" = set; then :
5012 withval=$with_libxpm;
5013 if test "$withval" = yes; then
5014 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
5015 elif test "$withval" = no; then
5016 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
5017 elif test "$withval" = sys; then
5018 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
5019 elif test "$withval" = builtin; then
5020 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
5022 as_fn_error $? "Invalid value
for --with-libxpm: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5027 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
5032 eval "$wx_cv_use_libxpm"
5034 if test "$wxUSE_LIBXPM" = yes; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5036 $as_echo "yes" >&6; }
5037 elif test "$wxUSE_LIBXPM" = no
; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5040 elif test "$wxUSE_LIBXPM" = sys
; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5042 $as_echo "system version" >&6; }
5043 elif test "$wxUSE_LIBXPM" = builtin; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5045 $as_echo "builtin version" >&6; }
5047 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5052 defaultval
=$wxUSE_ALL_FEATURES
5053 if test -z "$defaultval"; then
5054 if test x
"$withstring" = xwithout
; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
5061 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
5063 # Check whether --with-libiconv was given.
5064 if test "${with_libiconv+set}" = set; then :
5065 withval
=$with_libiconv;
5066 if test "$withval" = yes; then
5067 wx_cv_use_libiconv
='wxUSE_LIBICONV=yes'
5069 wx_cv_use_libiconv
='wxUSE_LIBICONV=no'
5074 wx_cv_use_libiconv
='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5079 eval "$wx_cv_use_libiconv"
5081 if test x"$withstring" = xwithout; then
5082 if test $wxUSE_LIBICONV = yes; then
5088 result=$wxUSE_LIBICONV
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5092 $as_echo "$result" >&6; }
5096 defaultval=$wxUSE_ALL_FEATURES
5097 if test -z "$defaultval"; then
5098 if test x"$withstring" = xwithout; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5105 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5107 # Check whether --with-libmspack was given.
5108 if test "${with_libmspack+set}" = set; then :
5109 withval=$with_libmspack;
5110 if test "$withval" = yes; then
5111 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
5113 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
5118 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5123 eval "$wx_cv_use_libmspack"
5125 if test x"$withstring" = xwithout; then
5126 if test $wxUSE_LIBMSPACK = yes; then
5132 result=$wxUSE_LIBMSPACK
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5136 $as_echo "$result" >&6; }
5140 defaultval=$wxUSE_ALL_FEATURES
5141 if test -z "$defaultval"; then
5142 if test x"$withstring" = xwithout; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gtkprint" >&5
5149 $as_echo_n "checking
for --${withstring:-with}-gtkprint...
" >&6; }
5151 # Check whether --with-gtkprint was given.
5152 if test "${with_gtkprint+set}" = set; then :
5153 withval=$with_gtkprint;
5154 if test "$withval" = yes; then
5155 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5157 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5162 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5167 eval "$wx_cv_use_gtkprint"
5169 if test x
"$withstring" = xwithout
; then
5170 if test $wxUSE_GTKPRINT = yes; then
5176 result
=$wxUSE_GTKPRINT
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5180 $as_echo "$result" >&6; }
5184 defaultval
=$wxUSE_ALL_FEATURES
5185 if test -z "$defaultval"; then
5186 if test x
"$withstring" = xwithout
; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5193 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5195 # Check whether --with-gnomeprint was given.
5196 if test "${with_gnomeprint+set}" = set; then :
5197 withval
=$with_gnomeprint;
5198 if test "$withval" = yes; then
5199 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
5201 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
5206 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5211 eval "$wx_cv_use_gnomeprint"
5213 if test x"$withstring" = xwithout; then
5214 if test $wxUSE_LIBGNOMEPRINT = yes; then
5220 result=$wxUSE_LIBGNOMEPRINT
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5224 $as_echo "$result" >&6; }
5228 defaultval=$wxUSE_ALL_FEATURES
5229 if test -z "$defaultval"; then
5230 if test x"$withstring" = xwithout; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5237 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5239 # Check whether --with-gnomevfs was given.
5240 if test "${with_gnomevfs+set}" = set; then :
5241 withval=$with_gnomevfs;
5242 if test "$withval" = yes; then
5243 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
5245 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
5250 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5255 eval "$wx_cv_use_gnomevfs"
5257 if test x"$withstring" = xwithout; then
5258 if test $wxUSE_LIBGNOMEVFS = yes; then
5264 result=$wxUSE_LIBGNOMEVFS
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5268 $as_echo "$result" >&6; }
5272 defaultval=$wxUSE_ALL_FEATURES
5273 if test -z "$defaultval"; then
5274 if test x"$withstring" = xwithout; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libnotify" >&5
5281 $as_echo_n "checking
for --${withstring:-with}-libnotify...
" >&6; }
5283 # Check whether --with-libnotify was given.
5284 if test "${with_libnotify+set}" = set; then :
5285 withval=$with_libnotify;
5286 if test "$withval" = yes; then
5287 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5289 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5294 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5299 eval "$wx_cv_use_libnotify"
5301 if test x
"$withstring" = xwithout
; then
5302 if test $wxUSE_LIBNOTIFY = yes; then
5308 result
=$wxUSE_LIBNOTIFY
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5312 $as_echo "$result" >&6; }
5316 defaultval
=$wxUSE_ALL_FEATURES
5317 if test -z "$defaultval"; then
5318 if test x
"$withstring" = xwithout
; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5325 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5327 # Check whether --with-hildon was given.
5328 if test "${with_hildon+set}" = set; then :
5329 withval
=$with_hildon;
5330 if test "$withval" = yes; then
5331 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
5333 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
5338 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5343 eval "$wx_cv_use_hildon"
5345 if test x"$withstring" = xwithout; then
5346 if test $wxUSE_LIBHILDON = yes; then
5352 result=$wxUSE_LIBHILDON
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5356 $as_echo "$result" >&6; }
5360 defaultval=$wxUSE_ALL_FEATURES
5361 if test -z "$defaultval"; then
5362 if test x"$withstring" = xwithout; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5369 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5371 # Check whether --with-opengl was given.
5372 if test "${with_opengl+set}" = set; then :
5373 withval=$with_opengl;
5374 if test "$withval" = yes; then
5375 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
5377 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
5382 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5387 eval "$wx_cv_use_opengl"
5389 if test x"$withstring" = xwithout; then
5390 if test $wxUSE_OPENGL = yes; then
5396 result=$wxUSE_OPENGL
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5400 $as_echo "$result" >&6; }
5407 defaultval=$wxUSE_ALL_FEATURES
5408 if test -z "$defaultval"; then
5409 if test x"$withstring" = xwithout; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-dmalloc" >&5
5416 $as_echo_n "checking
for --${withstring:-with}-dmalloc...
" >&6; }
5418 # Check whether --with-dmalloc was given.
5419 if test "${with_dmalloc+set}" = set; then :
5420 withval=$with_dmalloc;
5421 if test "$withval" = yes; then
5422 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5424 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5429 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5434 eval "$wx_cv_use_dmalloc"
5436 if test x
"$withstring" = xwithout
; then
5437 if test $wxUSE_DMALLOC = yes; then
5443 result
=$wxUSE_DMALLOC
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5447 $as_echo "$result" >&6; }
5451 defaultval
=$wxUSE_ALL_FEATURES
5452 if test -z "$defaultval"; then
5453 if test x
"$withstring" = xwithout
; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5460 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5462 # Check whether --with-sdl was given.
5463 if test "${with_sdl+set}" = set; then :
5465 if test "$withval" = yes; then
5466 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
5468 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
5473 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5478 eval "$wx_cv_use_sdl"
5480 if test x"$withstring" = xwithout; then
5481 if test $wxUSE_LIBSDL = yes; then
5487 result=$wxUSE_LIBSDL
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5491 $as_echo "$result" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5495 $as_echo_n "checking for --with-regex... " >&6; }
5497 # Check whether --with-regex was given.
5498 if test "${with_regex+set}" = set; then :
5499 withval=$with_regex;
5500 if test "$withval" = yes; then
5501 wx_cv_use_regex='wxUSE_REGEX
=yes'
5502 elif test "$withval" = no; then
5503 wx_cv_use_regex='wxUSE_REGEX
=no
'
5504 elif test "$withval" = sys; then
5505 wx_cv_use_regex='wxUSE_REGEX
=sys
'
5506 elif test "$withval" = builtin; then
5507 wx_cv_use_regex='wxUSE_REGEX
=builtin'
5509 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5514 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5519 eval "$wx_cv_use_regex"
5521 if test "$wxUSE_REGEX" = yes; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5523 $as_echo "yes" >&6; }
5524 elif test "$wxUSE_REGEX" = no; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5526 $as_echo "no
" >&6; }
5527 elif test "$wxUSE_REGEX" = sys; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5529 $as_echo "system version
" >&6; }
5530 elif test "$wxUSE_REGEX" = builtin; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5532 $as_echo "builtin version
" >&6; }
5534 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-zlib" >&5
5539 $as_echo_n "checking
for --with-zlib...
" >&6; }
5541 # Check whether --with-zlib was given.
5542 if test "${with_zlib+set}" = set; then :
5544 if test "$withval" = yes; then
5545 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5546 elif test "$withval" = no; then
5547 wx_cv_use_zlib='wxUSE_ZLIB=no'
5548 elif test "$withval" = sys; then
5549 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5550 elif test "$withval" = builtin; then
5551 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5553 as_fn_error $? "Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5558 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5563 eval "$wx_cv_use_zlib"
5565 if test "$wxUSE_ZLIB" = yes; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5567 $as_echo "yes" >&6; }
5568 elif test "$wxUSE_ZLIB" = no
; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5571 elif test "$wxUSE_ZLIB" = sys
; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5573 $as_echo "system version" >&6; }
5574 elif test "$wxUSE_ZLIB" = builtin; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5576 $as_echo "builtin version" >&6; }
5578 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5583 $as_echo_n "checking for --with-expat... " >&6; }
5585 # Check whether --with-expat was given.
5586 if test "${with_expat+set}" = set; then :
5587 withval
=$with_expat;
5588 if test "$withval" = yes; then
5589 wx_cv_use_expat
='wxUSE_EXPAT=yes'
5590 elif test "$withval" = no
; then
5591 wx_cv_use_expat
='wxUSE_EXPAT=no'
5592 elif test "$withval" = sys
; then
5593 wx_cv_use_expat
='wxUSE_EXPAT=sys'
5594 elif test "$withval" = builtin; then
5595 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
5597 as_fn_error $?
"Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5602 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5607 eval "$wx_cv_use_expat"
5609 if test "$wxUSE_EXPAT" = yes; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5611 $as_echo "yes" >&6; }
5612 elif test "$wxUSE_EXPAT" = no; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5615 elif test "$wxUSE_EXPAT" = sys; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5617 $as_echo "system version" >&6; }
5618 elif test "$wxUSE_EXPAT" = builtin; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5620 $as_echo "builtin version" >&6; }
5622 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5627 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5629 # Check whether --with-macosx-sdk was given.
5630 if test "${with_macosx_sdk+set}" = set; then :
5631 withval=$with_macosx_sdk;
5632 wxUSE_MACOSX_SDK=$withval
5633 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5638 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5641 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5643 # Check whether --with-macosx-version-min was given.
5644 if test "${with_macosx_version_min+set}" = set; then :
5645 withval=$with_macosx_version_min;
5646 wxUSE_MACOSX_VERSION_MIN=$withval
5647 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5652 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5656 $as_echo_n "checking for --enable-debug... " >&6; }
5657 # Check whether --enable-debug was given.
5658 if test "${enable_debug+set}" = set; then :
5659 enableval=$enable_debug;
5660 if test "$enableval" = yes; then
5662 elif test "$enableval" = no; then
5664 elif test "$enableval" = max; then
5666 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5668 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5677 $as_echo "${enable_debug-default}" >&6; }
5679 case "$wxUSE_DEBUG" in
5681 DEFAULT_wxUSE_DEBUG_FLAG=yes
5682 DEFAULT_wxUSE_DEBUG_INFO=yes
5684 DEFAULT_wxUSE_OPTIMISE=no
5688 DEFAULT_wxUSE_DEBUG_FLAG=no
5689 DEFAULT_wxUSE_DEBUG_INFO=no
5693 DEFAULT_wxUSE_DEBUG_FLAG=yes
5694 DEFAULT_wxUSE_DEBUG_INFO=no
5699 enablestring=disable
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5710 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5711 # Check whether --enable-debug_flag was given.
5712 if test "${enable_debug_flag+set}" = set; then :
5713 enableval=$enable_debug_flag;
5714 if test "$enableval" = yes; then
5715 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
5717 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
5722 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5727 eval "$wx_cv_use_debug_flag"
5729 if test x"$enablestring" = xdisable; then
5730 if test $wxUSE_DEBUG_FLAG = no; then
5736 result=$wxUSE_DEBUG_FLAG
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5740 $as_echo "$result" >&6; }
5745 if test -z "$defaultval"; then
5746 if test x"$enablestring" = xdisable; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_info" >&5
5754 $as_echo_n "checking
for --${enablestring:-enable}-debug_info...
" >&6; }
5755 # Check whether --enable-debug_info was given.
5756 if test "${enable_debug_info+set}" = set; then :
5757 enableval=$enable_debug_info;
5758 if test "$enableval" = yes; then
5759 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5761 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5766 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5771 eval "$wx_cv_use_debug_info"
5773 if test x
"$enablestring" = xdisable
; then
5774 if test $wxUSE_DEBUG_INFO = no
; then
5780 result
=$wxUSE_DEBUG_INFO
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5784 $as_echo "$result" >&6; }
5791 if test -z "$defaultval"; then
5792 if test x
"$enablestring" = xdisable
; then
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5800 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5801 # Check whether --enable-debug_gdb was given.
5802 if test "${enable_debug_gdb+set}" = set; then :
5803 enableval
=$enable_debug_gdb;
5804 if test "$enableval" = yes; then
5805 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
5807 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
5812 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5817 eval "$wx_cv_use_debug_gdb"
5819 if test x"$enablestring" = xdisable; then
5820 if test $wxUSE_DEBUG_GDB = no; then
5826 result=$wxUSE_DEBUG_GDB
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5830 $as_echo "$result" >&6; }
5835 if test -z "$defaultval"; then
5836 if test x"$enablestring" = xdisable; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5844 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5845 # Check whether --enable-debug_cntxt was given.
5846 if test "${enable_debug_cntxt+set}" = set; then :
5847 enableval=$enable_debug_cntxt;
5848 if test "$enableval" = yes; then
5849 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
5851 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
5856 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5861 eval "$wx_cv_use_debug_cntxt"
5863 if test x"$enablestring" = xdisable; then
5864 if test $wxUSE_DEBUG_CONTEXT = no; then
5870 result=$wxUSE_DEBUG_CONTEXT
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5874 $as_echo "$result" >&6; }
5879 if test -z "$defaultval"; then
5880 if test x"$enablestring" = xdisable; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mem_tracing" >&5
5888 $as_echo_n "checking
for --${enablestring:-enable}-mem_tracing...
" >&6; }
5889 # Check whether --enable-mem_tracing was given.
5890 if test "${enable_mem_tracing+set}" = set; then :
5891 enableval=$enable_mem_tracing;
5892 if test "$enableval" = yes; then
5893 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5895 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5900 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5905 eval "$wx_cv_use_mem_tracing"
5907 if test x
"$enablestring" = xdisable
; then
5908 if test $wxUSE_MEM_TRACING = no
; then
5914 result
=$wxUSE_MEM_TRACING
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5918 $as_echo "$result" >&6; }
5923 enablestring
=disable
5925 if test -z "$defaultval"; then
5926 if test x
"$enablestring" = xdisable
; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5934 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5935 # Check whether --enable-shared was given.
5936 if test "${enable_shared+set}" = set; then :
5937 enableval
=$enable_shared;
5938 if test "$enableval" = yes; then
5939 wx_cv_use_shared
='wxUSE_SHARED=yes'
5941 wx_cv_use_shared
='wxUSE_SHARED=no'
5946 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5951 eval "$wx_cv_use_shared"
5953 if test x"$enablestring" = xdisable; then
5954 if test $wxUSE_SHARED = no; then
5960 result=$wxUSE_SHARED
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5964 $as_echo "$result" >&6; }
5969 if test -z "$defaultval"; then
5970 if test x"$enablestring" = xdisable; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5978 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5979 # Check whether --enable-stl was given.
5980 if test "${enable_stl+set}" = set; then :
5981 enableval=$enable_stl;
5982 if test "$enableval" = yes; then
5983 wx_cv_use_stl='wxUSE_STL
=yes'
5985 wx_cv_use_stl='wxUSE_STL
=no
'
5990 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
5995 eval "$wx_cv_use_stl"
5997 if test x"$enablestring" = xdisable; then
5998 if test $wxUSE_STL = no; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6008 $as_echo "$result" >&6; }
6010 if test "$wxUSE_STL" = "yes"; then
6011 DEFAULT_wxUSE_STD_CONTAINERS=yes
6012 DEFAULT_wxUSE_STD_IOSTREAM=yes
6013 DEFAULT_wxUSE_STD_STRING=yes
6018 if test -z "$defaultval"; then
6019 if test x"$enablestring" = xdisable; then
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_containers" >&5
6027 $as_echo_n "checking
for --${enablestring:-enable}-std_containers...
" >&6; }
6028 # Check whether --enable-std_containers was given.
6029 if test "${enable_std_containers+set}" = set; then :
6030 enableval=$enable_std_containers;
6031 if test "$enableval" = yes; then
6032 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
6034 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
6039 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
6044 eval "$wx_cv_use_std_containers"
6046 if test x
"$enablestring" = xdisable
; then
6047 if test $wxUSE_STD_CONTAINERS = no
; then
6053 result
=$wxUSE_STD_CONTAINERS
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6057 $as_echo "$result" >&6; }
6062 if test -z "$defaultval"; then
6063 if test x
"$enablestring" = xdisable
; then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6071 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6072 # Check whether --enable-std_iostreams was given.
6073 if test "${enable_std_iostreams+set}" = set; then :
6074 enableval
=$enable_std_iostreams;
6075 if test "$enableval" = yes; then
6076 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
6078 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
6083 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6088 eval "$wx_cv_use_std_iostreams"
6090 if test x"$enablestring" = xdisable; then
6091 if test $wxUSE_STD_IOSTREAM = no; then
6097 result=$wxUSE_STD_IOSTREAM
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6101 $as_echo "$result" >&6; }
6106 if test -z "$defaultval"; then
6107 if test x"$enablestring" = xdisable; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6115 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6116 # Check whether --enable-std_string was given.
6117 if test "${enable_std_string+set}" = set; then :
6118 enableval=$enable_std_string;
6119 if test "$enableval" = yes; then
6120 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
6122 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
6127 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6132 eval "$wx_cv_use_std_string"
6134 if test x"$enablestring" = xdisable; then
6135 if test $wxUSE_STD_STRING = no; then
6141 result=$wxUSE_STD_STRING
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6145 $as_echo "$result" >&6; }
6150 if test -z "$defaultval"; then
6151 if test x"$enablestring" = xdisable; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6159 $as_echo_n "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
" >&6; }
6160 # Check whether --enable-std_string_conv_in_wxstring was given.
6161 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6162 enableval=$enable_std_string_conv_in_wxstring;
6163 if test "$enableval" = yes; then
6164 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6166 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6171 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6176 eval "$wx_cv_use_std_string_conv_in_wxstring"
6178 if test x
"$enablestring" = xdisable
; then
6179 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
6185 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6189 $as_echo "$result" >&6; }
6192 enablestring
=disable
6194 if test -z "$defaultval"; then
6195 if test x
"$enablestring" = xdisable
; then
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6203 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6204 # Check whether --enable-unicode was given.
6205 if test "${enable_unicode+set}" = set; then :
6206 enableval
=$enable_unicode;
6207 if test "$enableval" = yes; then
6208 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
6210 wx_cv_use_unicode
='wxUSE_UNICODE=no'
6215 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6220 eval "$wx_cv_use_unicode"
6222 if test x"$enablestring" = xdisable; then
6223 if test $wxUSE_UNICODE = no; then
6229 result=$wxUSE_UNICODE
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6233 $as_echo "$result" >&6; }
6238 if test -z "$defaultval"; then
6239 if test x"$enablestring" = xdisable; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6247 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6248 # Check whether --enable-mslu was given.
6249 if test "${enable_mslu+set}" = set; then :
6250 enableval=$enable_mslu;
6251 if test "$enableval" = yes; then
6252 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
6254 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
6259 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6264 eval "$wx_cv_use_mslu"
6266 if test x"$enablestring" = xdisable; then
6267 if test $wxUSE_UNICODE_MSLU = no; then
6273 result=$wxUSE_UNICODE_MSLU
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6277 $as_echo "$result" >&6; }
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8" >&5
6282 $as_echo_n "checking
for --${enablestring:-enable}-utf8...
" >&6; }
6283 # Check whether --enable-utf8 was given.
6284 if test "${enable_utf8+set}" = set; then :
6285 enableval=$enable_utf8;
6286 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
6290 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6295 eval "$wx_cv_use_utf8"
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_UNICODE_UTF8" >&5
6298 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6303 if test -z "$defaultval"; then
6304 if test x"$enablestring" = xdisable; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8only" >&5
6312 $as_echo_n "checking
for --${enablestring:-enable}-utf8only...
" >&6; }
6313 # Check whether --enable-utf8only was given.
6314 if test "${enable_utf8only+set}" = set; then :
6315 enableval=$enable_utf8only;
6316 if test "$enableval" = yes; then
6317 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6319 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6324 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6329 eval "$wx_cv_use_utf8only"
6331 if test x
"$enablestring" = xdisable
; then
6332 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
6338 result
=$wxUSE_UNICODE_UTF8_LOCALE
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6342 $as_echo "$result" >&6; }
6347 if test -z "$defaultval"; then
6348 if test x
"$enablestring" = xdisable
; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6356 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6357 # Check whether --enable-extended_rtti was given.
6358 if test "${enable_extended_rtti+set}" = set; then :
6359 enableval
=$enable_extended_rtti;
6360 if test "$enableval" = yes; then
6361 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
6363 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
6368 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6373 eval "$wx_cv_use_extended_rtti"
6375 if test x"$enablestring" = xdisable; then
6376 if test $wxUSE_EXTENDED_RTTI = no; then
6382 result=$wxUSE_EXTENDED_RTTI
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6386 $as_echo "$result" >&6; }
6388 if test "$USE_OS2" = 1; then
6389 DEFAULT_wxUSE_OMF=no
6393 if test -z "$defaultval"; then
6394 if test x"$enablestring" = xdisable; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6402 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6403 # Check whether --enable-omf was given.
6404 if test "${enable_omf+set}" = set; then :
6405 enableval=$enable_omf;
6406 if test "$enableval" = yes; then
6407 wx_cv_use_omf='wxUSE_OMF
=yes'
6409 wx_cv_use_omf='wxUSE_OMF
=no
'
6414 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6419 eval "$wx_cv_use_omf"
6421 if test x"$enablestring" = xdisable; then
6422 if test $wxUSE_OMF = no; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6432 $as_echo "$result" >&6; }
6437 enablestring=disable
6439 if test -z "$defaultval"; then
6440 if test x"$enablestring" = xdisable; then
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-optimise" >&5
6448 $as_echo_n "checking
for --${enablestring:-enable}-optimise...
" >&6; }
6449 # Check whether --enable-optimise was given.
6450 if test "${enable_optimise+set}" = set; then :
6451 enableval=$enable_optimise;
6452 if test "$enableval" = yes; then
6453 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6455 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6460 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6465 eval "$wx_cv_use_optimise"
6467 if test x
"$enablestring" = xdisable
; then
6468 if test $wxUSE_OPTIMISE = no
; then
6474 result
=$wxUSE_OPTIMISE
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6478 $as_echo "$result" >&6; }
6484 if test -z "$defaultval"; then
6485 if test x
"$enablestring" = xdisable
; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6493 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6494 # Check whether --enable-profile was given.
6495 if test "${enable_profile+set}" = set; then :
6496 enableval
=$enable_profile;
6497 if test "$enableval" = yes; then
6498 wx_cv_use_profile
='wxUSE_PROFILE=yes'
6500 wx_cv_use_profile
='wxUSE_PROFILE=no'
6505 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6510 eval "$wx_cv_use_profile"
6512 if test x"$enablestring" = xdisable; then
6513 if test $wxUSE_PROFILE = no; then
6519 result=$wxUSE_PROFILE
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6523 $as_echo "$result" >&6; }
6528 if test -z "$defaultval"; then
6529 if test x"$enablestring" = xdisable; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6537 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6538 # Check whether --enable-no_rtti was given.
6539 if test "${enable_no_rtti+set}" = set; then :
6540 enableval=$enable_no_rtti;
6541 if test "$enableval" = yes; then
6542 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
6544 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
6549 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6554 eval "$wx_cv_use_no_rtti"
6556 if test x"$enablestring" = xdisable; then
6557 if test $wxUSE_NO_RTTI = no; then
6563 result=$wxUSE_NO_RTTI
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6567 $as_echo "$result" >&6; }
6572 if test -z "$defaultval"; then
6573 if test x"$enablestring" = xdisable; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_exceptions" >&5
6581 $as_echo_n "checking
for --${enablestring:-enable}-no_exceptions...
" >&6; }
6582 # Check whether --enable-no_exceptions was given.
6583 if test "${enable_no_exceptions+set}" = set; then :
6584 enableval=$enable_no_exceptions;
6585 if test "$enableval" = yes; then
6586 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6588 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6593 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6598 eval "$wx_cv_use_no_exceptions"
6600 if test x
"$enablestring" = xdisable
; then
6601 if test $wxUSE_NO_EXCEPTIONS = no
; then
6607 result
=$wxUSE_NO_EXCEPTIONS
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6611 $as_echo "$result" >&6; }
6616 if test -z "$defaultval"; then
6617 if test x
"$enablestring" = xdisable
; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6625 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6626 # Check whether --enable-permissive was given.
6627 if test "${enable_permissive+set}" = set; then :
6628 enableval
=$enable_permissive;
6629 if test "$enableval" = yes; then
6630 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
6632 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
6637 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6642 eval "$wx_cv_use_permissive"
6644 if test x"$enablestring" = xdisable; then
6645 if test $wxUSE_PERMISSIVE = no; then
6651 result=$wxUSE_PERMISSIVE
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6655 $as_echo "$result" >&6; }
6660 if test -z "$defaultval"; then
6661 if test x"$enablestring" = xdisable; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6669 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6670 # Check whether --enable-no_deps was given.
6671 if test "${enable_no_deps+set}" = set; then :
6672 enableval=$enable_no_deps;
6673 if test "$enableval" = yes; then
6674 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
6676 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
6681 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6686 eval "$wx_cv_use_no_deps"
6688 if test x"$enablestring" = xdisable; then
6689 if test $wxUSE_NO_DEPS = no; then
6695 result=$wxUSE_NO_DEPS
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6699 $as_echo "$result" >&6; }
6702 enablestring=disable
6704 if test -z "$defaultval"; then
6705 if test x"$enablestring" = xdisable; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-vararg_macros" >&5
6713 $as_echo_n "checking
for --${enablestring:-enable}-vararg_macros...
" >&6; }
6714 # Check whether --enable-vararg_macros was given.
6715 if test "${enable_vararg_macros+set}" = set; then :
6716 enableval=$enable_vararg_macros;
6717 if test "$enableval" = yes; then
6718 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6720 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6725 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6730 eval "$wx_cv_use_vararg_macros"
6732 if test x
"$enablestring" = xdisable
; then
6733 if test $wxUSE_VARARG_MACROS = no
; then
6739 result
=$wxUSE_VARARG_MACROS
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6743 $as_echo "$result" >&6; }
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6749 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6750 # Check whether --enable-universal_binary was given.
6751 if test "${enable_universal_binary+set}" = set; then :
6752 enableval
=$enable_universal_binary;
6753 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
6757 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6762 eval "$wx_cv_use_universal_binary"
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6765 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6770 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6771 # Check whether --enable-macosx_arch was given.
6772 if test "${enable_macosx_arch+set}" = set; then :
6773 enableval
=$enable_macosx_arch;
6774 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
6778 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6783 eval "$wx_cv_use_macosx_arch"
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6786 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6792 if test -z "$defaultval"; then
6793 if test x
"$enablestring" = xdisable
; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6801 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6802 # Check whether --enable-compat26 was given.
6803 if test "${enable_compat26+set}" = set; then :
6804 enableval
=$enable_compat26;
6805 if test "$enableval" = yes; then
6806 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
6808 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
6813 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6818 eval "$wx_cv_use_compat26"
6820 if test x"$enablestring" = xdisable; then
6821 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6827 result=$WXWIN_COMPATIBILITY_2_6
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6831 $as_echo "$result" >&6; }
6834 enablestring=disable
6836 if test -z "$defaultval"; then
6837 if test x"$enablestring" = xdisable; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6845 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6846 # Check whether --enable-compat28 was given.
6847 if test "${enable_compat28+set}" = set; then :
6848 enableval=$enable_compat28;
6849 if test "$enableval" = yes; then
6850 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
6852 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
6857 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6862 eval "$wx_cv_use_compat28"
6864 if test x"$enablestring" = xdisable; then
6865 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6871 result=$WXWIN_COMPATIBILITY_2_8
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6875 $as_echo "$result" >&6; }
6879 enablestring=disable
6881 if test -z "$defaultval"; then
6882 if test x"$enablestring" = xdisable; then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rpath" >&5
6890 $as_echo_n "checking
for --${enablestring:-enable}-rpath...
" >&6; }
6891 # Check whether --enable-rpath was given.
6892 if test "${enable_rpath+set}" = set; then :
6893 enableval=$enable_rpath;
6894 if test "$enableval" = yes; then
6895 wx_cv_use_rpath='wxUSE_RPATH=yes'
6897 wx_cv_use_rpath='wxUSE_RPATH=no'
6902 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6907 eval "$wx_cv_use_rpath"
6909 if test x
"$enablestring" = xdisable
; then
6910 if test $wxUSE_RPATH = no
; then
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6920 $as_echo "$result" >&6; }
6926 if test -z "$defaultval"; then
6927 if test x
"$enablestring" = xdisable
; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6935 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6936 # Check whether --enable-objc_uniquifying was given.
6937 if test "${enable_objc_uniquifying+set}" = set; then :
6938 enableval
=$enable_objc_uniquifying;
6939 if test "$enableval" = yes; then
6940 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
6942 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
6947 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6952 eval "$wx_cv_use_objc_uniquifying"
6954 if test x"$enablestring" = xdisable; then
6955 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6961 result=$wxUSE_OBJC_UNIQUIFYING
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6965 $as_echo "$result" >&6; }
6969 enablestring=disable
6971 if test -z "$defaultval"; then
6972 if test x"$enablestring" = xdisable; then
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6980 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6981 # Check whether --enable-visibility was given.
6982 if test "${enable_visibility+set}" = set; then :
6983 enableval=$enable_visibility;
6984 if test "$enableval" = yes; then
6985 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
6987 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
6992 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6997 eval "$wx_cv_use_visibility"
6999 if test x"$enablestring" = xdisable; then
7000 if test $wxUSE_VISIBILITY = no; then
7006 result=$wxUSE_VISIBILITY
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7010 $as_echo "$result" >&6; }
7013 enablestring=disable
7015 if test -z "$defaultval"; then
7016 if test x"$enablestring" = xdisable; then
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tls" >&5
7024 $as_echo_n "checking
for --${enablestring:-enable}-tls...
" >&6; }
7025 # Check whether --enable-tls was given.
7026 if test "${enable_tls+set}" = set; then :
7027 enableval=$enable_tls;
7028 if test "$enableval" = yes; then
7029 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
7031 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
7036 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
7041 eval "$wx_cv_use_tls"
7043 if test x
"$enablestring" = xdisable
; then
7044 if test $wxUSE_COMPILER_TLS = no
; then
7050 result
=$wxUSE_COMPILER_TLS
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7054 $as_echo "$result" >&6; }
7060 defaultval
=$wxUSE_ALL_FEATURES
7061 if test -z "$defaultval"; then
7062 if test x
"$enablestring" = xdisable
; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7070 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7071 # Check whether --enable-intl was given.
7072 if test "${enable_intl+set}" = set; then :
7073 enableval
=$enable_intl;
7074 if test "$enableval" = yes; then
7075 wx_cv_use_intl
='wxUSE_INTL=yes'
7077 wx_cv_use_intl
='wxUSE_INTL=no'
7082 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7087 eval "$wx_cv_use_intl"
7089 if test x"$enablestring" = xdisable; then
7090 if test $wxUSE_INTL = no; then
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7100 $as_echo "$result" >&6; }
7104 defaultval=$wxUSE_ALL_FEATURES
7105 if test -z "$defaultval"; then
7106 if test x"$enablestring" = xdisable; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7114 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7115 # Check whether --enable-xlocale was given.
7116 if test "${enable_xlocale+set}" = set; then :
7117 enableval=$enable_xlocale;
7118 if test "$enableval" = yes; then
7119 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
7121 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
7126 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7131 eval "$wx_cv_use_xlocale"
7133 if test x"$enablestring" = xdisable; then
7134 if test $wxUSE_XLOCALE = no; then
7140 result=$wxUSE_XLOCALE
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7144 $as_echo "$result" >&6; }
7148 defaultval=$wxUSE_ALL_FEATURES
7149 if test -z "$defaultval"; then
7150 if test x"$enablestring" = xdisable; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-config" >&5
7158 $as_echo_n "checking
for --${enablestring:-enable}-config...
" >&6; }
7159 # Check whether --enable-config was given.
7160 if test "${enable_config+set}" = set; then :
7161 enableval=$enable_config;
7162 if test "$enableval" = yes; then
7163 wx_cv_use_config='wxUSE_CONFIG=yes'
7165 wx_cv_use_config='wxUSE_CONFIG=no'
7170 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7175 eval "$wx_cv_use_config"
7177 if test x
"$enablestring" = xdisable
; then
7178 if test $wxUSE_CONFIG = no
; then
7184 result
=$wxUSE_CONFIG
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7188 $as_echo "$result" >&6; }
7193 defaultval
=$wxUSE_ALL_FEATURES
7194 if test -z "$defaultval"; then
7195 if test x
"$enablestring" = xdisable
; then
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7203 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7204 # Check whether --enable-protocols was given.
7205 if test "${enable_protocols+set}" = set; then :
7206 enableval
=$enable_protocols;
7207 if test "$enableval" = yes; then
7208 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
7210 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
7215 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7220 eval "$wx_cv_use_protocols"
7222 if test x"$enablestring" = xdisable; then
7223 if test $wxUSE_PROTOCOL = no; then
7229 result=$wxUSE_PROTOCOL
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7233 $as_echo "$result" >&6; }
7237 defaultval=$wxUSE_ALL_FEATURES
7238 if test -z "$defaultval"; then
7239 if test x"$enablestring" = xdisable; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7247 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7248 # Check whether --enable-ftp was given.
7249 if test "${enable_ftp+set}" = set; then :
7250 enableval=$enable_ftp;
7251 if test "$enableval" = yes; then
7252 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
7254 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
7259 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7264 eval "$wx_cv_use_ftp"
7266 if test x"$enablestring" = xdisable; then
7267 if test $wxUSE_PROTOCOL_FTP = no; then
7273 result=$wxUSE_PROTOCOL_FTP
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7277 $as_echo "$result" >&6; }
7281 defaultval=$wxUSE_ALL_FEATURES
7282 if test -z "$defaultval"; then
7283 if test x"$enablestring" = xdisable; then
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-http" >&5
7291 $as_echo_n "checking
for --${enablestring:-enable}-http...
" >&6; }
7292 # Check whether --enable-http was given.
7293 if test "${enable_http+set}" = set; then :
7294 enableval=$enable_http;
7295 if test "$enableval" = yes; then
7296 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7298 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7303 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7308 eval "$wx_cv_use_http"
7310 if test x
"$enablestring" = xdisable
; then
7311 if test $wxUSE_PROTOCOL_HTTP = no
; then
7317 result
=$wxUSE_PROTOCOL_HTTP
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7321 $as_echo "$result" >&6; }
7325 defaultval
=$wxUSE_ALL_FEATURES
7326 if test -z "$defaultval"; then
7327 if test x
"$enablestring" = xdisable
; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7335 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7336 # Check whether --enable-fileproto was given.
7337 if test "${enable_fileproto+set}" = set; then :
7338 enableval
=$enable_fileproto;
7339 if test "$enableval" = yes; then
7340 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
7342 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
7347 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7352 eval "$wx_cv_use_fileproto"
7354 if test x"$enablestring" = xdisable; then
7355 if test $wxUSE_PROTOCOL_FILE = no; then
7361 result=$wxUSE_PROTOCOL_FILE
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7365 $as_echo "$result" >&6; }
7369 defaultval=$wxUSE_ALL_FEATURES
7370 if test -z "$defaultval"; then
7371 if test x"$enablestring" = xdisable; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7379 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7380 # Check whether --enable-sockets was given.
7381 if test "${enable_sockets+set}" = set; then :
7382 enableval=$enable_sockets;
7383 if test "$enableval" = yes; then
7384 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
7386 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
7391 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7396 eval "$wx_cv_use_sockets"
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_SOCKETS = no; then
7405 result=$wxUSE_SOCKETS
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7409 $as_echo "$result" >&6; }
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipv6" >&5
7423 $as_echo_n "checking
for --${enablestring:-enable}-ipv6...
" >&6; }
7424 # Check whether --enable-ipv6 was given.
7425 if test "${enable_ipv6+set}" = set; then :
7426 enableval=$enable_ipv6;
7427 if test "$enableval" = yes; then
7428 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7430 wx_cv_use_ipv6='wxUSE_IPV6=no'
7435 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7440 eval "$wx_cv_use_ipv6"
7442 if test x
"$enablestring" = xdisable
; then
7443 if test $wxUSE_IPV6 = no
; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7453 $as_echo "$result" >&6; }
7457 defaultval
=$wxUSE_ALL_FEATURES
7458 if test -z "$defaultval"; then
7459 if test x
"$enablestring" = xdisable
; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7467 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7468 # Check whether --enable-ole was given.
7469 if test "${enable_ole+set}" = set; then :
7470 enableval
=$enable_ole;
7471 if test "$enableval" = yes; then
7472 wx_cv_use_ole
='wxUSE_OLE=yes'
7474 wx_cv_use_ole
='wxUSE_OLE=no'
7479 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7484 eval "$wx_cv_use_ole"
7486 if test x"$enablestring" = xdisable; then
7487 if test $wxUSE_OLE = no; then
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7497 $as_echo "$result" >&6; }
7501 defaultval=$wxUSE_ALL_FEATURES
7502 if test -z "$defaultval"; then
7503 if test x"$enablestring" = xdisable; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7511 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7512 # Check whether --enable-dataobj was given.
7513 if test "${enable_dataobj+set}" = set; then :
7514 enableval=$enable_dataobj;
7515 if test "$enableval" = yes; then
7516 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
7518 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
7523 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7528 eval "$wx_cv_use_dataobj"
7530 if test x"$enablestring" = xdisable; then
7531 if test $wxUSE_DATAOBJ = no; then
7537 result=$wxUSE_DATAOBJ
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7541 $as_echo "$result" >&6; }
7546 defaultval=$wxUSE_ALL_FEATURES
7547 if test -z "$defaultval"; then
7548 if test x"$enablestring" = xdisable; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipc" >&5
7556 $as_echo_n "checking
for --${enablestring:-enable}-ipc...
" >&6; }
7557 # Check whether --enable-ipc was given.
7558 if test "${enable_ipc+set}" = set; then :
7559 enableval=$enable_ipc;
7560 if test "$enableval" = yes; then
7561 wx_cv_use_ipc='wxUSE_IPC=yes'
7563 wx_cv_use_ipc='wxUSE_IPC=no'
7568 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7573 eval "$wx_cv_use_ipc"
7575 if test x
"$enablestring" = xdisable
; then
7576 if test $wxUSE_IPC = no
; then
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7586 $as_echo "$result" >&6; }
7591 defaultval
=$wxUSE_ALL_FEATURES
7592 if test -z "$defaultval"; then
7593 if test x
"$enablestring" = xdisable
; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7601 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7602 # Check whether --enable-baseevtloop was given.
7603 if test "${enable_baseevtloop+set}" = set; then :
7604 enableval
=$enable_baseevtloop;
7605 if test "$enableval" = yes; then
7606 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
7608 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
7613 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7618 eval "$wx_cv_use_baseevtloop"
7620 if test x"$enablestring" = xdisable; then
7621 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7627 result=$wxUSE_CONSOLE_EVENTLOOP
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7631 $as_echo "$result" >&6; }
7635 defaultval=$wxUSE_ALL_FEATURES
7636 if test -z "$defaultval"; then
7637 if test x"$enablestring" = xdisable; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7645 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7646 # Check whether --enable-epollloop was given.
7647 if test "${enable_epollloop+set}" = set; then :
7648 enableval=$enable_epollloop;
7649 if test "$enableval" = yes; then
7650 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
7652 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
7657 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7662 eval "$wx_cv_use_epollloop"
7664 if test x"$enablestring" = xdisable; then
7665 if test $wxUSE_EPOLL_DISPATCHER = no; then
7671 result=$wxUSE_EPOLL_DISPATCHER
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7675 $as_echo "$result" >&6; }
7679 defaultval=$wxUSE_ALL_FEATURES
7680 if test -z "$defaultval"; then
7681 if test x"$enablestring" = xdisable; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-selectloop" >&5
7689 $as_echo_n "checking
for --${enablestring:-enable}-selectloop...
" >&6; }
7690 # Check whether --enable-selectloop was given.
7691 if test "${enable_selectloop+set}" = set; then :
7692 enableval=$enable_selectloop;
7693 if test "$enableval" = yes; then
7694 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7696 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7701 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7706 eval "$wx_cv_use_selectloop"
7708 if test x
"$enablestring" = xdisable
; then
7709 if test $wxUSE_SELECT_DISPATCHER = no
; then
7715 result
=$wxUSE_SELECT_DISPATCHER
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7719 $as_echo "$result" >&6; }
7724 defaultval
=$wxUSE_ALL_FEATURES
7725 if test -z "$defaultval"; then
7726 if test x
"$enablestring" = xdisable
; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7734 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7735 # Check whether --enable-any was given.
7736 if test "${enable_any+set}" = set; then :
7737 enableval
=$enable_any;
7738 if test "$enableval" = yes; then
7739 wx_cv_use_any
='wxUSE_ANY=yes'
7741 wx_cv_use_any
='wxUSE_ANY=no'
7746 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7751 eval "$wx_cv_use_any"
7753 if test x"$enablestring" = xdisable; then
7754 if test $wxUSE_ANY = no; then
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7764 $as_echo "$result" >&6; }
7768 defaultval=$wxUSE_ALL_FEATURES
7769 if test -z "$defaultval"; then
7770 if test x"$enablestring" = xdisable; then
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7778 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7779 # Check whether --enable-apple_ieee was given.
7780 if test "${enable_apple_ieee+set}" = set; then :
7781 enableval=$enable_apple_ieee;
7782 if test "$enableval" = yes; then
7783 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
7785 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
7790 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7795 eval "$wx_cv_use_apple_ieee"
7797 if test x"$enablestring" = xdisable; then
7798 if test $wxUSE_APPLE_IEEE = no; then
7804 result=$wxUSE_APPLE_IEEE
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7808 $as_echo "$result" >&6; }
7812 defaultval=$wxUSE_ALL_FEATURES
7813 if test -z "$defaultval"; then
7814 if test x"$enablestring" = xdisable; then
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-arcstream" >&5
7822 $as_echo_n "checking
for --${enablestring:-enable}-arcstream...
" >&6; }
7823 # Check whether --enable-arcstream was given.
7824 if test "${enable_arcstream+set}" = set; then :
7825 enableval=$enable_arcstream;
7826 if test "$enableval" = yes; then
7827 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7829 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7834 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7839 eval "$wx_cv_use_arcstream"
7841 if test x
"$enablestring" = xdisable
; then
7842 if test $wxUSE_ARCHIVE_STREAMS = no
; then
7848 result
=$wxUSE_ARCHIVE_STREAMS
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7852 $as_echo "$result" >&6; }
7856 defaultval
=$wxUSE_ALL_FEATURES
7857 if test -z "$defaultval"; then
7858 if test x
"$enablestring" = xdisable
; then
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7866 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7867 # Check whether --enable-base64 was given.
7868 if test "${enable_base64+set}" = set; then :
7869 enableval
=$enable_base64;
7870 if test "$enableval" = yes; then
7871 wx_cv_use_base64
='wxUSE_BASE64=yes'
7873 wx_cv_use_base64
='wxUSE_BASE64=no'
7878 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7883 eval "$wx_cv_use_base64"
7885 if test x"$enablestring" = xdisable; then
7886 if test $wxUSE_BASE64 = no; then
7892 result=$wxUSE_BASE64
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7896 $as_echo "$result" >&6; }
7900 defaultval=$wxUSE_ALL_FEATURES
7901 if test -z "$defaultval"; then
7902 if test x"$enablestring" = xdisable; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7910 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7911 # Check whether --enable-backtrace was given.
7912 if test "${enable_backtrace+set}" = set; then :
7913 enableval=$enable_backtrace;
7914 if test "$enableval" = yes; then
7915 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7917 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7922 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7927 eval "$wx_cv_use_backtrace"
7929 if test x"$enablestring" = xdisable; then
7930 if test $wxUSE_STACKWALKER = no; then
7936 result=$wxUSE_STACKWALKER
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7940 $as_echo "$result" >&6; }
7944 defaultval=$wxUSE_ALL_FEATURES
7945 if test -z "$defaultval"; then
7946 if test x"$enablestring" = xdisable; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-catch_segvs" >&5
7954 $as_echo_n "checking
for --${enablestring:-enable}-catch_segvs...
" >&6; }
7955 # Check whether --enable-catch_segvs was given.
7956 if test "${enable_catch_segvs+set}" = set; then :
7957 enableval=$enable_catch_segvs;
7958 if test "$enableval" = yes; then
7959 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7961 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7966 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7971 eval "$wx_cv_use_catch_segvs"
7973 if test x
"$enablestring" = xdisable
; then
7974 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
7980 result
=$wxUSE_ON_FATAL_EXCEPTION
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7984 $as_echo "$result" >&6; }
7988 defaultval
=$wxUSE_ALL_FEATURES
7989 if test -z "$defaultval"; then
7990 if test x
"$enablestring" = xdisable
; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7998 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7999 # Check whether --enable-cmdline was given.
8000 if test "${enable_cmdline+set}" = set; then :
8001 enableval
=$enable_cmdline;
8002 if test "$enableval" = yes; then
8003 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
8005 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
8010 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
8015 eval "$wx_cv_use_cmdline"
8017 if test x"$enablestring" = xdisable; then
8018 if test $wxUSE_CMDLINE_PARSER = no; then
8024 result=$wxUSE_CMDLINE_PARSER
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8028 $as_echo "$result" >&6; }
8032 defaultval=$wxUSE_ALL_FEATURES
8033 if test -z "$defaultval"; then
8034 if test x"$enablestring" = xdisable; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
8042 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
8043 # Check whether --enable-datetime was given.
8044 if test "${enable_datetime+set}" = set; then :
8045 enableval=$enable_datetime;
8046 if test "$enableval" = yes; then
8047 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
8049 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
8054 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
8059 eval "$wx_cv_use_datetime"
8061 if test x"$enablestring" = xdisable; then
8062 if test $wxUSE_DATETIME = no; then
8068 result=$wxUSE_DATETIME
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8072 $as_echo "$result" >&6; }
8076 defaultval=$wxUSE_ALL_FEATURES
8077 if test -z "$defaultval"; then
8078 if test x"$enablestring" = xdisable; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debugreport" >&5
8086 $as_echo_n "checking
for --${enablestring:-enable}-debugreport...
" >&6; }
8087 # Check whether --enable-debugreport was given.
8088 if test "${enable_debugreport+set}" = set; then :
8089 enableval=$enable_debugreport;
8090 if test "$enableval" = yes; then
8091 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8093 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8098 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8103 eval "$wx_cv_use_debugreport"
8105 if test x
"$enablestring" = xdisable
; then
8106 if test $wxUSE_DEBUGREPORT = no
; then
8112 result
=$wxUSE_DEBUGREPORT
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8116 $as_echo "$result" >&6; }
8120 defaultval
=$wxUSE_ALL_FEATURES
8121 if test -z "$defaultval"; then
8122 if test x
"$enablestring" = xdisable
; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8130 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8131 # Check whether --enable-dialupman was given.
8132 if test "${enable_dialupman+set}" = set; then :
8133 enableval
=$enable_dialupman;
8134 if test "$enableval" = yes; then
8135 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
8137 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
8142 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8147 eval "$wx_cv_use_dialupman"
8149 if test x"$enablestring" = xdisable; then
8150 if test $wxUSE_DIALUP_MANAGER = no; then
8156 result=$wxUSE_DIALUP_MANAGER
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8160 $as_echo "$result" >&6; }
8164 defaultval=$wxUSE_ALL_FEATURES
8165 if test -z "$defaultval"; then
8166 if test x"$enablestring" = xdisable; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8174 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8175 # Check whether --enable-dynlib was given.
8176 if test "${enable_dynlib+set}" = set; then :
8177 enableval=$enable_dynlib;
8178 if test "$enableval" = yes; then
8179 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
8181 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
8186 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8191 eval "$wx_cv_use_dynlib"
8193 if test x"$enablestring" = xdisable; then
8194 if test $wxUSE_DYNLIB_CLASS = no; then
8200 result=$wxUSE_DYNLIB_CLASS
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8204 $as_echo "$result" >&6; }
8208 defaultval=$wxUSE_ALL_FEATURES
8209 if test -z "$defaultval"; then
8210 if test x"$enablestring" = xdisable; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynamicloader" >&5
8218 $as_echo_n "checking
for --${enablestring:-enable}-dynamicloader...
" >&6; }
8219 # Check whether --enable-dynamicloader was given.
8220 if test "${enable_dynamicloader+set}" = set; then :
8221 enableval=$enable_dynamicloader;
8222 if test "$enableval" = yes; then
8223 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8225 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8230 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8235 eval "$wx_cv_use_dynamicloader"
8237 if test x
"$enablestring" = xdisable
; then
8238 if test $wxUSE_DYNAMIC_LOADER = no
; then
8244 result
=$wxUSE_DYNAMIC_LOADER
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8248 $as_echo "$result" >&6; }
8252 defaultval
=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x
"$enablestring" = xdisable
; then
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8262 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8263 # Check whether --enable-exceptions was given.
8264 if test "${enable_exceptions+set}" = set; then :
8265 enableval
=$enable_exceptions;
8266 if test "$enableval" = yes; then
8267 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
8269 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
8274 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8279 eval "$wx_cv_use_exceptions"
8281 if test x"$enablestring" = xdisable; then
8282 if test $wxUSE_EXCEPTIONS = no; then
8288 result=$wxUSE_EXCEPTIONS
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8292 $as_echo "$result" >&6; }
8296 defaultval=$wxUSE_ALL_FEATURES
8297 if test -z "$defaultval"; then
8298 if test x"$enablestring" = xdisable; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8306 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8307 # Check whether --enable-ffile was given.
8308 if test "${enable_ffile+set}" = set; then :
8309 enableval=$enable_ffile;
8310 if test "$enableval" = yes; then
8311 wx_cv_use_ffile='wxUSE_FFILE
=yes'
8313 wx_cv_use_ffile='wxUSE_FFILE
=no
'
8318 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8323 eval "$wx_cv_use_ffile"
8325 if test x"$enablestring" = xdisable; then
8326 if test $wxUSE_FFILE = no; then
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8336 $as_echo "$result" >&6; }
8340 defaultval=$wxUSE_ALL_FEATURES
8341 if test -z "$defaultval"; then
8342 if test x"$enablestring" = xdisable; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-file" >&5
8350 $as_echo_n "checking
for --${enablestring:-enable}-file...
" >&6; }
8351 # Check whether --enable-file was given.
8352 if test "${enable_file+set}" = set; then :
8353 enableval=$enable_file;
8354 if test "$enableval" = yes; then
8355 wx_cv_use_file='wxUSE_FILE=yes'
8357 wx_cv_use_file='wxUSE_FILE=no'
8362 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8367 eval "$wx_cv_use_file"
8369 if test x
"$enablestring" = xdisable
; then
8370 if test $wxUSE_FILE = no
; then
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8380 $as_echo "$result" >&6; }
8384 defaultval
=$wxUSE_ALL_FEATURES
8385 if test -z "$defaultval"; then
8386 if test x
"$enablestring" = xdisable
; then
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8394 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8395 # Check whether --enable-filehistory was given.
8396 if test "${enable_filehistory+set}" = set; then :
8397 enableval
=$enable_filehistory;
8398 if test "$enableval" = yes; then
8399 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
8401 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
8406 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8411 eval "$wx_cv_use_filehistory"
8413 if test x"$enablestring" = xdisable; then
8414 if test $wxUSE_FILE_HISTORY = no; then
8420 result=$wxUSE_FILE_HISTORY
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8424 $as_echo "$result" >&6; }
8428 defaultval=$wxUSE_ALL_FEATURES
8429 if test -z "$defaultval"; then
8430 if test x"$enablestring" = xdisable; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8438 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8439 # Check whether --enable-filesystem was given.
8440 if test "${enable_filesystem+set}" = set; then :
8441 enableval=$enable_filesystem;
8442 if test "$enableval" = yes; then
8443 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
8445 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
8450 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8455 eval "$wx_cv_use_filesystem"
8457 if test x"$enablestring" = xdisable; then
8458 if test $wxUSE_FILESYSTEM = no; then
8464 result=$wxUSE_FILESYSTEM
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8468 $as_echo "$result" >&6; }
8472 defaultval=$wxUSE_ALL_FEATURES
8473 if test -z "$defaultval"; then
8474 if test x"$enablestring" = xdisable; then
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontenum" >&5
8482 $as_echo_n "checking
for --${enablestring:-enable}-fontenum...
" >&6; }
8483 # Check whether --enable-fontenum was given.
8484 if test "${enable_fontenum+set}" = set; then :
8485 enableval=$enable_fontenum;
8486 if test "$enableval" = yes; then
8487 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8489 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8494 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8499 eval "$wx_cv_use_fontenum"
8501 if test x
"$enablestring" = xdisable
; then
8502 if test $wxUSE_FONTENUM = no
; then
8508 result
=$wxUSE_FONTENUM
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8512 $as_echo "$result" >&6; }
8516 defaultval
=$wxUSE_ALL_FEATURES
8517 if test -z "$defaultval"; then
8518 if test x
"$enablestring" = xdisable
; then
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8526 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8527 # Check whether --enable-fontmap was given.
8528 if test "${enable_fontmap+set}" = set; then :
8529 enableval
=$enable_fontmap;
8530 if test "$enableval" = yes; then
8531 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
8533 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
8538 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8543 eval "$wx_cv_use_fontmap"
8545 if test x"$enablestring" = xdisable; then
8546 if test $wxUSE_FONTMAP = no; then
8552 result=$wxUSE_FONTMAP
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8556 $as_echo "$result" >&6; }
8560 defaultval=$wxUSE_ALL_FEATURES
8561 if test -z "$defaultval"; then
8562 if test x"$enablestring" = xdisable; then
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8570 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8571 # Check whether --enable-fs_archive was given.
8572 if test "${enable_fs_archive+set}" = set; then :
8573 enableval=$enable_fs_archive;
8574 if test "$enableval" = yes; then
8575 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
8577 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
8582 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8587 eval "$wx_cv_use_fs_archive"
8589 if test x"$enablestring" = xdisable; then
8590 if test $wxUSE_FS_ARCHIVE = no; then
8596 result=$wxUSE_FS_ARCHIVE
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8600 $as_echo "$result" >&6; }
8604 defaultval=$wxUSE_ALL_FEATURES
8605 if test -z "$defaultval"; then
8606 if test x"$enablestring" = xdisable; then
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_inet" >&5
8614 $as_echo_n "checking
for --${enablestring:-enable}-fs_inet...
" >&6; }
8615 # Check whether --enable-fs_inet was given.
8616 if test "${enable_fs_inet+set}" = set; then :
8617 enableval=$enable_fs_inet;
8618 if test "$enableval" = yes; then
8619 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8621 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8626 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8631 eval "$wx_cv_use_fs_inet"
8633 if test x
"$enablestring" = xdisable
; then
8634 if test $wxUSE_FS_INET = no
; then
8640 result
=$wxUSE_FS_INET
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8644 $as_echo "$result" >&6; }
8648 defaultval
=$wxUSE_ALL_FEATURES
8649 if test -z "$defaultval"; then
8650 if test x
"$enablestring" = xdisable
; then
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8658 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8659 # Check whether --enable-fs_zip was given.
8660 if test "${enable_fs_zip+set}" = set; then :
8661 enableval
=$enable_fs_zip;
8662 if test "$enableval" = yes; then
8663 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
8665 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
8670 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8675 eval "$wx_cv_use_fs_zip"
8677 if test x"$enablestring" = xdisable; then
8678 if test $wxUSE_FS_ZIP = no; then
8684 result=$wxUSE_FS_ZIP
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8688 $as_echo "$result" >&6; }
8692 defaultval=$wxUSE_ALL_FEATURES
8693 if test -z "$defaultval"; then
8694 if test x"$enablestring" = xdisable; then
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8702 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8703 # Check whether --enable-fsvolume was given.
8704 if test "${enable_fsvolume+set}" = set; then :
8705 enableval=$enable_fsvolume;
8706 if test "$enableval" = yes; then
8707 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=yes'
8709 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=no
'
8714 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8719 eval "$wx_cv_use_fsvolume"
8721 if test x"$enablestring" = xdisable; then
8722 if test $wxUSE_FSVOLUME = no; then
8728 result=$wxUSE_FSVOLUME
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8732 $as_echo "$result" >&6; }
8736 defaultval=$wxUSE_ALL_FEATURES
8737 if test -z "$defaultval"; then
8738 if test x"$enablestring" = xdisable; then
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fswatcher" >&5
8746 $as_echo_n "checking
for --${enablestring:-enable}-fswatcher...
" >&6; }
8747 # Check whether --enable-fswatcher was given.
8748 if test "${enable_fswatcher+set}" = set; then :
8749 enableval=$enable_fswatcher;
8750 if test "$enableval" = yes; then
8751 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8753 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8758 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8763 eval "$wx_cv_use_fswatcher"
8765 if test x
"$enablestring" = xdisable
; then
8766 if test $wxUSE_FSWATCHER = no
; then
8772 result
=$wxUSE_FSWATCHER
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8776 $as_echo "$result" >&6; }
8780 defaultval
=$wxUSE_ALL_FEATURES
8781 if test -z "$defaultval"; then
8782 if test x
"$enablestring" = xdisable
; then
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8790 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8791 # Check whether --enable-geometry was given.
8792 if test "${enable_geometry+set}" = set; then :
8793 enableval
=$enable_geometry;
8794 if test "$enableval" = yes; then
8795 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
8797 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
8802 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8807 eval "$wx_cv_use_geometry"
8809 if test x"$enablestring" = xdisable; then
8810 if test $wxUSE_GEOMETRY = no; then
8816 result=$wxUSE_GEOMETRY
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8820 $as_echo "$result" >&6; }
8824 defaultval=$wxUSE_ALL_FEATURES
8825 if test -z "$defaultval"; then
8826 if test x"$enablestring" = xdisable; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8834 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8835 # Check whether --enable-log was given.
8836 if test "${enable_log+set}" = set; then :
8837 enableval=$enable_log;
8838 if test "$enableval" = yes; then
8839 wx_cv_use_log='wxUSE_LOG
=yes'
8841 wx_cv_use_log='wxUSE_LOG
=no
'
8846 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8851 eval "$wx_cv_use_log"
8853 if test x"$enablestring" = xdisable; then
8854 if test $wxUSE_LOG = no; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8864 $as_echo "$result" >&6; }
8868 defaultval=$wxUSE_ALL_FEATURES
8869 if test -z "$defaultval"; then
8870 if test x"$enablestring" = xdisable; then
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-longlong" >&5
8878 $as_echo_n "checking
for --${enablestring:-enable}-longlong...
" >&6; }
8879 # Check whether --enable-longlong was given.
8880 if test "${enable_longlong+set}" = set; then :
8881 enableval=$enable_longlong;
8882 if test "$enableval" = yes; then
8883 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8885 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8890 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8895 eval "$wx_cv_use_longlong"
8897 if test x
"$enablestring" = xdisable
; then
8898 if test $wxUSE_LONGLONG = no
; then
8904 result
=$wxUSE_LONGLONG
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8908 $as_echo "$result" >&6; }
8912 defaultval
=$wxUSE_ALL_FEATURES
8913 if test -z "$defaultval"; then
8914 if test x
"$enablestring" = xdisable
; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8922 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8923 # Check whether --enable-mimetype was given.
8924 if test "${enable_mimetype+set}" = set; then :
8925 enableval
=$enable_mimetype;
8926 if test "$enableval" = yes; then
8927 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8929 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8934 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8939 eval "$wx_cv_use_mimetype"
8941 if test x"$enablestring" = xdisable; then
8942 if test $wxUSE_MIMETYPE = no; then
8948 result=$wxUSE_MIMETYPE
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8952 $as_echo "$result" >&6; }
8956 defaultval=$wxUSE_ALL_FEATURES
8957 if test -z "$defaultval"; then
8958 if test x"$enablestring" = xdisable; then
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8966 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8967 # Check whether --enable-printfposparam was given.
8968 if test "${enable_printfposparam+set}" = set; then :
8969 enableval=$enable_printfposparam;
8970 if test "$enableval" = yes; then
8971 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8973 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8978 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8983 eval "$wx_cv_use_printfposparam"
8985 if test x"$enablestring" = xdisable; then
8986 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8992 result=$wxUSE_PRINTF_POS_PARAMS
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8996 $as_echo "$result" >&6; }
9000 defaultval=$wxUSE_ALL_FEATURES
9001 if test -z "$defaultval"; then
9002 if test x"$enablestring" = xdisable; then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-snglinst" >&5
9010 $as_echo_n "checking
for --${enablestring:-enable}-snglinst...
" >&6; }
9011 # Check whether --enable-snglinst was given.
9012 if test "${enable_snglinst+set}" = set; then :
9013 enableval=$enable_snglinst;
9014 if test "$enableval" = yes; then
9015 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
9017 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
9022 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
9027 eval "$wx_cv_use_snglinst"
9029 if test x
"$enablestring" = xdisable
; then
9030 if test $wxUSE_SNGLINST_CHECKER = no
; then
9036 result
=$wxUSE_SNGLINST_CHECKER
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9040 $as_echo "$result" >&6; }
9044 defaultval
=$wxUSE_ALL_FEATURES
9045 if test -z "$defaultval"; then
9046 if test x
"$enablestring" = xdisable
; then
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
9054 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
9055 # Check whether --enable-sound was given.
9056 if test "${enable_sound+set}" = set; then :
9057 enableval
=$enable_sound;
9058 if test "$enableval" = yes; then
9059 wx_cv_use_sound
='wxUSE_SOUND=yes'
9061 wx_cv_use_sound
='wxUSE_SOUND=no'
9066 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9071 eval "$wx_cv_use_sound"
9073 if test x"$enablestring" = xdisable; then
9074 if test $wxUSE_SOUND = no; then
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9084 $as_echo "$result" >&6; }
9088 defaultval=$wxUSE_ALL_FEATURES
9089 if test -z "$defaultval"; then
9090 if test x"$enablestring" = xdisable; then
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9098 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9099 # Check whether --enable-stdpaths was given.
9100 if test "${enable_stdpaths+set}" = set; then :
9101 enableval=$enable_stdpaths;
9102 if test "$enableval" = yes; then
9103 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
9105 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
9110 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9115 eval "$wx_cv_use_stdpaths"
9117 if test x"$enablestring" = xdisable; then
9118 if test $wxUSE_STDPATHS = no; then
9124 result=$wxUSE_STDPATHS
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9128 $as_echo "$result" >&6; }
9132 defaultval=$wxUSE_ALL_FEATURES
9133 if test -z "$defaultval"; then
9134 if test x"$enablestring" = xdisable; then
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stopwatch" >&5
9142 $as_echo_n "checking
for --${enablestring:-enable}-stopwatch...
" >&6; }
9143 # Check whether --enable-stopwatch was given.
9144 if test "${enable_stopwatch+set}" = set; then :
9145 enableval=$enable_stopwatch;
9146 if test "$enableval" = yes; then
9147 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9149 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9154 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9159 eval "$wx_cv_use_stopwatch"
9161 if test x
"$enablestring" = xdisable
; then
9162 if test $wxUSE_STOPWATCH = no
; then
9168 result
=$wxUSE_STOPWATCH
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9172 $as_echo "$result" >&6; }
9176 defaultval
=$wxUSE_ALL_FEATURES
9177 if test -z "$defaultval"; then
9178 if test x
"$enablestring" = xdisable
; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9186 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9187 # Check whether --enable-streams was given.
9188 if test "${enable_streams+set}" = set; then :
9189 enableval
=$enable_streams;
9190 if test "$enableval" = yes; then
9191 wx_cv_use_streams
='wxUSE_STREAMS=yes'
9193 wx_cv_use_streams
='wxUSE_STREAMS=no'
9198 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9203 eval "$wx_cv_use_streams"
9205 if test x"$enablestring" = xdisable; then
9206 if test $wxUSE_STREAMS = no; then
9212 result=$wxUSE_STREAMS
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9216 $as_echo "$result" >&6; }
9220 defaultval=$wxUSE_ALL_FEATURES
9221 if test -z "$defaultval"; then
9222 if test x"$enablestring" = xdisable; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9230 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9231 # Check whether --enable-sysoptions was given.
9232 if test "${enable_sysoptions+set}" = set; then :
9233 enableval=$enable_sysoptions;
9234 if test "$enableval" = yes; then
9235 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
9237 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
9242 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9247 eval "$wx_cv_use_sysoptions"
9249 if test x"$enablestring" = xdisable; then
9250 if test $wxUSE_SYSTEM_OPTIONS = no; then
9256 result=$wxUSE_SYSTEM_OPTIONS
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9260 $as_echo "$result" >&6; }
9264 defaultval=$wxUSE_ALL_FEATURES
9265 if test -z "$defaultval"; then
9266 if test x"$enablestring" = xdisable; then
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tarstream" >&5
9274 $as_echo_n "checking
for --${enablestring:-enable}-tarstream...
" >&6; }
9275 # Check whether --enable-tarstream was given.
9276 if test "${enable_tarstream+set}" = set; then :
9277 enableval=$enable_tarstream;
9278 if test "$enableval" = yes; then
9279 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9281 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9286 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9291 eval "$wx_cv_use_tarstream"
9293 if test x
"$enablestring" = xdisable
; then
9294 if test $wxUSE_TARSTREAM = no
; then
9300 result
=$wxUSE_TARSTREAM
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9304 $as_echo "$result" >&6; }
9308 defaultval
=$wxUSE_ALL_FEATURES
9309 if test -z "$defaultval"; then
9310 if test x
"$enablestring" = xdisable
; then
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9318 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9319 # Check whether --enable-textbuf was given.
9320 if test "${enable_textbuf+set}" = set; then :
9321 enableval
=$enable_textbuf;
9322 if test "$enableval" = yes; then
9323 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
9325 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
9330 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9335 eval "$wx_cv_use_textbuf"
9337 if test x"$enablestring" = xdisable; then
9338 if test $wxUSE_TEXTBUFFER = no; then
9344 result=$wxUSE_TEXTBUFFER
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9348 $as_echo "$result" >&6; }
9352 defaultval=$wxUSE_ALL_FEATURES
9353 if test -z "$defaultval"; then
9354 if test x"$enablestring" = xdisable; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9362 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9363 # Check whether --enable-textfile was given.
9364 if test "${enable_textfile+set}" = set; then :
9365 enableval=$enable_textfile;
9366 if test "$enableval" = yes; then
9367 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
9369 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
9374 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9379 eval "$wx_cv_use_textfile"
9381 if test x"$enablestring" = xdisable; then
9382 if test $wxUSE_TEXTFILE = no; then
9388 result=$wxUSE_TEXTFILE
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9392 $as_echo "$result" >&6; }
9396 defaultval=$wxUSE_ALL_FEATURES
9397 if test -z "$defaultval"; then
9398 if test x"$enablestring" = xdisable; then
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-timer" >&5
9406 $as_echo_n "checking
for --${enablestring:-enable}-timer...
" >&6; }
9407 # Check whether --enable-timer was given.
9408 if test "${enable_timer+set}" = set; then :
9409 enableval=$enable_timer;
9410 if test "$enableval" = yes; then
9411 wx_cv_use_timer='wxUSE_TIMER=yes'
9413 wx_cv_use_timer='wxUSE_TIMER=no'
9418 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9423 eval "$wx_cv_use_timer"
9425 if test x
"$enablestring" = xdisable
; then
9426 if test $wxUSE_TIMER = no
; then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9436 $as_echo "$result" >&6; }
9440 defaultval
=$wxUSE_ALL_FEATURES
9441 if test -z "$defaultval"; then
9442 if test x
"$enablestring" = xdisable
; then
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9450 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9451 # Check whether --enable-variant was given.
9452 if test "${enable_variant+set}" = set; then :
9453 enableval
=$enable_variant;
9454 if test "$enableval" = yes; then
9455 wx_cv_use_variant
='wxUSE_VARIANT=yes'
9457 wx_cv_use_variant
='wxUSE_VARIANT=no'
9462 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9467 eval "$wx_cv_use_variant"
9469 if test x"$enablestring" = xdisable; then
9470 if test $wxUSE_VARIANT = no; then
9476 result=$wxUSE_VARIANT
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9480 $as_echo "$result" >&6; }
9484 defaultval=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x"$enablestring" = xdisable; then
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9494 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9495 # Check whether --enable-zipstream was given.
9496 if test "${enable_zipstream+set}" = set; then :
9497 enableval=$enable_zipstream;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
9501 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
9506 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9511 eval "$wx_cv_use_zipstream"
9513 if test x"$enablestring" = xdisable; then
9514 if test $wxUSE_ZIPSTREAM = no; then
9520 result=$wxUSE_ZIPSTREAM
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9524 $as_echo "$result" >&6; }
9529 defaultval=$wxUSE_ALL_FEATURES
9530 if test -z "$defaultval"; then
9531 if test x"$enablestring" = xdisable; then
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-url" >&5
9539 $as_echo_n "checking
for --${enablestring:-enable}-url...
" >&6; }
9540 # Check whether --enable-url was given.
9541 if test "${enable_url+set}" = set; then :
9542 enableval=$enable_url;
9543 if test "$enableval" = yes; then
9544 wx_cv_use_url='wxUSE_URL=yes'
9546 wx_cv_use_url='wxUSE_URL=no'
9551 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9556 eval "$wx_cv_use_url"
9558 if test x
"$enablestring" = xdisable
; then
9559 if test $wxUSE_URL = no
; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9569 $as_echo "$result" >&6; }
9573 defaultval
=$wxUSE_ALL_FEATURES
9574 if test -z "$defaultval"; then
9575 if test x
"$enablestring" = xdisable
; then
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9583 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9584 # Check whether --enable-protocol was given.
9585 if test "${enable_protocol+set}" = set; then :
9586 enableval
=$enable_protocol;
9587 if test "$enableval" = yes; then
9588 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
9590 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
9595 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9600 eval "$wx_cv_use_protocol"
9602 if test x"$enablestring" = xdisable; then
9603 if test $wxUSE_PROTOCOL = no; then
9609 result=$wxUSE_PROTOCOL
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9613 $as_echo "$result" >&6; }
9617 defaultval=$wxUSE_ALL_FEATURES
9618 if test -z "$defaultval"; then
9619 if test x"$enablestring" = xdisable; then
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9627 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9628 # Check whether --enable-protocol_http was given.
9629 if test "${enable_protocol_http+set}" = set; then :
9630 enableval=$enable_protocol_http;
9631 if test "$enableval" = yes; then
9632 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
9634 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
9639 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9644 eval "$wx_cv_use_protocol_http"
9646 if test x"$enablestring" = xdisable; then
9647 if test $wxUSE_PROTOCOL_HTTP = no; then
9653 result=$wxUSE_PROTOCOL_HTTP
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9657 $as_echo "$result" >&6; }
9661 defaultval=$wxUSE_ALL_FEATURES
9662 if test -z "$defaultval"; then
9663 if test x"$enablestring" = xdisable; then
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_ftp" >&5
9671 $as_echo_n "checking
for --${enablestring:-enable}-protocol_ftp...
" >&6; }
9672 # Check whether --enable-protocol_ftp was given.
9673 if test "${enable_protocol_ftp+set}" = set; then :
9674 enableval=$enable_protocol_ftp;
9675 if test "$enableval" = yes; then
9676 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9678 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9683 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9688 eval "$wx_cv_use_protocol_ftp"
9690 if test x
"$enablestring" = xdisable
; then
9691 if test $wxUSE_PROTOCOL_FTP = no
; then
9697 result
=$wxUSE_PROTOCOL_FTP
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9701 $as_echo "$result" >&6; }
9705 defaultval
=$wxUSE_ALL_FEATURES
9706 if test -z "$defaultval"; then
9707 if test x
"$enablestring" = xdisable
; then
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9715 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9716 # Check whether --enable-protocol_file was given.
9717 if test "${enable_protocol_file+set}" = set; then :
9718 enableval
=$enable_protocol_file;
9719 if test "$enableval" = yes; then
9720 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
9722 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
9727 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9732 eval "$wx_cv_use_protocol_file"
9734 if test x"$enablestring" = xdisable; then
9735 if test $wxUSE_PROTOCOL_FILE = no; then
9741 result=$wxUSE_PROTOCOL_FILE
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9745 $as_echo "$result" >&6; }
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9760 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9761 # Check whether --enable-threads was given.
9762 if test "${enable_threads+set}" = set; then :
9763 enableval=$enable_threads;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_threads='wxUSE_THREADS
=yes'
9767 wx_cv_use_threads='wxUSE_THREADS
=no
'
9772 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9777 eval "$wx_cv_use_threads"
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_THREADS = no; then
9786 result=$wxUSE_THREADS
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9790 $as_echo "$result" >&6; }
9796 if test -z "$defaultval"; then
9797 if test x"$enablestring" = xdisable; then
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-iniconf" >&5
9805 $as_echo_n "checking
for --${enablestring:-enable}-iniconf...
" >&6; }
9806 # Check whether --enable-iniconf was given.
9807 if test "${enable_iniconf+set}" = set; then :
9808 enableval=$enable_iniconf;
9809 if test "$enableval" = yes; then
9810 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9812 wx_cv_use_iniconf='wxUSE_INICONF=no'
9817 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9822 eval "$wx_cv_use_iniconf"
9824 if test x
"$enablestring" = xdisable
; then
9825 if test $wxUSE_INICONF = no
; then
9831 result
=$wxUSE_INICONF
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9835 $as_echo "$result" >&6; }
9839 defaultval
=$wxUSE_ALL_FEATURES
9840 if test -z "$defaultval"; then
9841 if test x
"$enablestring" = xdisable
; then
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9849 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9850 # Check whether --enable-regkey was given.
9851 if test "${enable_regkey+set}" = set; then :
9852 enableval
=$enable_regkey;
9853 if test "$enableval" = yes; then
9854 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
9856 wx_cv_use_regkey
='wxUSE_REGKEY=no'
9861 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9866 eval "$wx_cv_use_regkey"
9868 if test x"$enablestring" = xdisable; then
9869 if test $wxUSE_REGKEY = no; then
9875 result=$wxUSE_REGKEY
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9879 $as_echo "$result" >&6; }
9882 if test "$wxUSE_GUI" = "yes"; then
9887 defaultval=$wxUSE_ALL_FEATURES
9888 if test -z "$defaultval"; then
9889 if test x"$enablestring" = xdisable; then
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9897 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9898 # Check whether --enable-docview was given.
9899 if test "${enable_docview+set}" = set; then :
9900 enableval=$enable_docview;
9901 if test "$enableval" = yes; then
9902 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
9904 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
9909 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9914 eval "$wx_cv_use_docview"
9916 if test x"$enablestring" = xdisable; then
9917 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9923 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9927 $as_echo "$result" >&6; }
9931 defaultval=$wxUSE_ALL_FEATURES
9932 if test -z "$defaultval"; then
9933 if test x"$enablestring" = xdisable; then
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-help" >&5
9941 $as_echo_n "checking
for --${enablestring:-enable}-help...
" >&6; }
9942 # Check whether --enable-help was given.
9943 if test "${enable_help+set}" = set; then :
9944 enableval=$enable_help;
9945 if test "$enableval" = yes; then
9946 wx_cv_use_help='wxUSE_HELP=yes'
9948 wx_cv_use_help='wxUSE_HELP=no'
9953 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9958 eval "$wx_cv_use_help"
9960 if test x
"$enablestring" = xdisable
; then
9961 if test $wxUSE_HELP = no
; then
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9971 $as_echo "$result" >&6; }
9975 defaultval
=$wxUSE_ALL_FEATURES
9976 if test -z "$defaultval"; then
9977 if test x
"$enablestring" = xdisable
; then
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9985 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9986 # Check whether --enable-mshtmlhelp was given.
9987 if test "${enable_mshtmlhelp+set}" = set; then :
9988 enableval
=$enable_mshtmlhelp;
9989 if test "$enableval" = yes; then
9990 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
9992 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
9997 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
10002 eval "$wx_cv_use_mshtmlhelp"
10004 if test x"$enablestring" = xdisable; then
10005 if test $wxUSE_MS_HTML_HELP = no; then
10011 result=$wxUSE_MS_HTML_HELP
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10015 $as_echo "$result" >&6; }
10019 defaultval=$wxUSE_ALL_FEATURES
10020 if test -z "$defaultval"; then
10021 if test x"$enablestring" = xdisable; then
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
10029 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
10030 # Check whether --enable-html was given.
10031 if test "${enable_html+set}" = set; then :
10032 enableval=$enable_html;
10033 if test "$enableval" = yes; then
10034 wx_cv_use_html='wxUSE_HTML
=yes'
10036 wx_cv_use_html='wxUSE_HTML
=no
'
10041 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
10046 eval "$wx_cv_use_html"
10048 if test x"$enablestring" = xdisable; then
10049 if test $wxUSE_HTML = no; then
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10059 $as_echo "$result" >&6; }
10063 defaultval=$wxUSE_ALL_FEATURES
10064 if test -z "$defaultval"; then
10065 if test x"$enablestring" = xdisable; then
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-htmlhelp" >&5
10073 $as_echo_n "checking
for --${enablestring:-enable}-htmlhelp...
" >&6; }
10074 # Check whether --enable-htmlhelp was given.
10075 if test "${enable_htmlhelp+set}" = set; then :
10076 enableval=$enable_htmlhelp;
10077 if test "$enableval" = yes; then
10078 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10080 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10085 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10090 eval "$wx_cv_use_htmlhelp"
10092 if test x
"$enablestring" = xdisable
; then
10093 if test $wxUSE_WXHTML_HELP = no
; then
10099 result
=$wxUSE_WXHTML_HELP
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10103 $as_echo "$result" >&6; }
10107 defaultval
=$wxUSE_ALL_FEATURES
10108 if test -z "$defaultval"; then
10109 if test x
"$enablestring" = xdisable
; then
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10117 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10118 # Check whether --enable-xrc was given.
10119 if test "${enable_xrc+set}" = set; then :
10120 enableval
=$enable_xrc;
10121 if test "$enableval" = yes; then
10122 wx_cv_use_xrc
='wxUSE_XRC=yes'
10124 wx_cv_use_xrc
='wxUSE_XRC=no'
10129 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10134 eval "$wx_cv_use_xrc"
10136 if test x"$enablestring" = xdisable; then
10137 if test $wxUSE_XRC = no; then
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10147 $as_echo "$result" >&6; }
10151 defaultval=$wxUSE_ALL_FEATURES
10152 if test -z "$defaultval"; then
10153 if test x"$enablestring" = xdisable; then
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10161 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10162 # Check whether --enable-aui was given.
10163 if test "${enable_aui+set}" = set; then :
10164 enableval=$enable_aui;
10165 if test "$enableval" = yes; then
10166 wx_cv_use_aui='wxUSE_AUI
=yes'
10168 wx_cv_use_aui='wxUSE_AUI
=no
'
10173 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10178 eval "$wx_cv_use_aui"
10180 if test x"$enablestring" = xdisable; then
10181 if test $wxUSE_AUI = no; then
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10191 $as_echo "$result" >&6; }
10195 defaultval=$wxUSE_ALL_FEATURES
10196 if test -z "$defaultval"; then
10197 if test x"$enablestring" = xdisable; then
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-propgrid" >&5
10205 $as_echo_n "checking
for --${enablestring:-enable}-propgrid...
" >&6; }
10206 # Check whether --enable-propgrid was given.
10207 if test "${enable_propgrid+set}" = set; then :
10208 enableval=$enable_propgrid;
10209 if test "$enableval" = yes; then
10210 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10212 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10217 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10222 eval "$wx_cv_use_propgrid"
10224 if test x
"$enablestring" = xdisable
; then
10225 if test $wxUSE_PROPGRID = no
; then
10231 result
=$wxUSE_PROPGRID
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10235 $as_echo "$result" >&6; }
10239 defaultval
=$wxUSE_ALL_FEATURES
10240 if test -z "$defaultval"; then
10241 if test x
"$enablestring" = xdisable
; then
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10249 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10250 # Check whether --enable-ribbon was given.
10251 if test "${enable_ribbon+set}" = set; then :
10252 enableval
=$enable_ribbon;
10253 if test "$enableval" = yes; then
10254 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
10256 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
10261 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10266 eval "$wx_cv_use_ribbon"
10268 if test x"$enablestring" = xdisable; then
10269 if test $wxUSE_RIBBON = no; then
10275 result=$wxUSE_RIBBON
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10279 $as_echo "$result" >&6; }
10283 defaultval=$wxUSE_ALL_FEATURES
10284 if test -z "$defaultval"; then
10285 if test x"$enablestring" = xdisable; then
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10293 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10294 # Check whether --enable-stc was given.
10295 if test "${enable_stc+set}" = set; then :
10296 enableval=$enable_stc;
10297 if test "$enableval" = yes; then
10298 wx_cv_use_stc='wxUSE_STC
=yes'
10300 wx_cv_use_stc='wxUSE_STC
=no
'
10305 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
10310 eval "$wx_cv_use_stc"
10312 if test x"$enablestring" = xdisable; then
10313 if test $wxUSE_STC = no; then
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10323 $as_echo "$result" >&6; }
10327 defaultval=$wxUSE_ALL_FEATURES
10328 if test -z "$defaultval"; then
10329 if test x"$enablestring" = xdisable; then
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-constraints" >&5
10337 $as_echo_n "checking
for --${enablestring:-enable}-constraints...
" >&6; }
10338 # Check whether --enable-constraints was given.
10339 if test "${enable_constraints+set}" = set; then :
10340 enableval=$enable_constraints;
10341 if test "$enableval" = yes; then
10342 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10344 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10349 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10354 eval "$wx_cv_use_constraints"
10356 if test x
"$enablestring" = xdisable
; then
10357 if test $wxUSE_CONSTRAINTS = no
; then
10363 result
=$wxUSE_CONSTRAINTS
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10367 $as_echo "$result" >&6; }
10371 defaultval
=$wxUSE_ALL_FEATURES
10372 if test -z "$defaultval"; then
10373 if test x
"$enablestring" = xdisable
; then
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10381 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10382 # Check whether --enable-loggui was given.
10383 if test "${enable_loggui+set}" = set; then :
10384 enableval
=$enable_loggui;
10385 if test "$enableval" = yes; then
10386 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10388 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10393 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10398 eval "$wx_cv_use_loggui"
10400 if test x"$enablestring" = xdisable; then
10401 if test $wxUSE_LOGGUI = no; then
10407 result=$wxUSE_LOGGUI
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10411 $as_echo "$result" >&6; }
10415 defaultval=$wxUSE_ALL_FEATURES
10416 if test -z "$defaultval"; then
10417 if test x"$enablestring" = xdisable; then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10425 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10426 # Check whether --enable-logwin was given.
10427 if test "${enable_logwin+set}" = set; then :
10428 enableval=$enable_logwin;
10429 if test "$enableval" = yes; then
10430 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10432 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10437 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10442 eval "$wx_cv_use_logwin"
10444 if test x"$enablestring" = xdisable; then
10445 if test $wxUSE_LOGWINDOW = no; then
10451 result=$wxUSE_LOGWINDOW
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10455 $as_echo "$result" >&6; }
10459 defaultval=$wxUSE_ALL_FEATURES
10460 if test -z "$defaultval"; then
10461 if test x"$enablestring" = xdisable; then
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-logdialog" >&5
10469 $as_echo_n "checking
for --${enablestring:-enable}-logdialog...
" >&6; }
10470 # Check whether --enable-logdialog was given.
10471 if test "${enable_logdialog+set}" = set; then :
10472 enableval=$enable_logdialog;
10473 if test "$enableval" = yes; then
10474 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10476 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10481 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10486 eval "$wx_cv_use_logdialog"
10488 if test x
"$enablestring" = xdisable
; then
10489 if test $wxUSE_LOGDIALOG = no
; then
10495 result
=$wxUSE_LOGDIALOG
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10499 $as_echo "$result" >&6; }
10503 defaultval
=$wxUSE_ALL_FEATURES
10504 if test -z "$defaultval"; then
10505 if test x
"$enablestring" = xdisable
; then
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10513 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10514 # Check whether --enable-mdi was given.
10515 if test "${enable_mdi+set}" = set; then :
10516 enableval
=$enable_mdi;
10517 if test "$enableval" = yes; then
10518 wx_cv_use_mdi
='wxUSE_MDI=yes'
10520 wx_cv_use_mdi
='wxUSE_MDI=no'
10525 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10530 eval "$wx_cv_use_mdi"
10532 if test x"$enablestring" = xdisable; then
10533 if test $wxUSE_MDI = no; then
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10543 $as_echo "$result" >&6; }
10547 defaultval=$wxUSE_ALL_FEATURES
10548 if test -z "$defaultval"; then
10549 if test x"$enablestring" = xdisable; then
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10557 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10558 # Check whether --enable-mdidoc was given.
10559 if test "${enable_mdidoc+set}" = set; then :
10560 enableval=$enable_mdidoc;
10561 if test "$enableval" = yes; then
10562 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
10564 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
10569 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10574 eval "$wx_cv_use_mdidoc"
10576 if test x"$enablestring" = xdisable; then
10577 if test $wxUSE_MDI_ARCHITECTURE = no; then
10583 result=$wxUSE_MDI_ARCHITECTURE
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10587 $as_echo "$result" >&6; }
10591 defaultval=$wxUSE_ALL_FEATURES
10592 if test -z "$defaultval"; then
10593 if test x"$enablestring" = xdisable; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mediactrl" >&5
10601 $as_echo_n "checking
for --${enablestring:-enable}-mediactrl...
" >&6; }
10602 # Check whether --enable-mediactrl was given.
10603 if test "${enable_mediactrl+set}" = set; then :
10604 enableval=$enable_mediactrl;
10605 if test "$enableval" = yes; then
10606 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10608 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10613 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10618 eval "$wx_cv_use_mediactrl"
10620 if test x
"$enablestring" = xdisable
; then
10621 if test $wxUSE_MEDIACTRL = no
; then
10627 result
=$wxUSE_MEDIACTRL
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10631 $as_echo "$result" >&6; }
10635 defaultval
=$wxUSE_ALL_FEATURES
10636 if test -z "$defaultval"; then
10637 if test x
"$enablestring" = xdisable
; then
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10645 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10646 # Check whether --enable-gstreamer8 was given.
10647 if test "${enable_gstreamer8+set}" = set; then :
10648 enableval
=$enable_gstreamer8;
10649 if test "$enableval" = yes; then
10650 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
10652 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
10657 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10662 eval "$wx_cv_use_gstreamer8"
10664 if test x"$enablestring" = xdisable; then
10665 if test $wxUSE_GSTREAMER8 = no; then
10671 result=$wxUSE_GSTREAMER8
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10675 $as_echo "$result" >&6; }
10679 defaultval=$wxUSE_ALL_FEATURES
10680 if test -z "$defaultval"; then
10681 if test x"$enablestring" = xdisable; then
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10689 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10690 # Check whether --enable-richtext was given.
10691 if test "${enable_richtext+set}" = set; then :
10692 enableval=$enable_richtext;
10693 if test "$enableval" = yes; then
10694 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10696 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10701 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10706 eval "$wx_cv_use_richtext"
10708 if test x"$enablestring" = xdisable; then
10709 if test $wxUSE_RICHTEXT = no; then
10715 result=$wxUSE_RICHTEXT
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10719 $as_echo "$result" >&6; }
10723 defaultval=$wxUSE_ALL_FEATURES
10724 if test -z "$defaultval"; then
10725 if test x"$enablestring" = xdisable; then
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-postscript" >&5
10733 $as_echo_n "checking
for --${enablestring:-enable}-postscript...
" >&6; }
10734 # Check whether --enable-postscript was given.
10735 if test "${enable_postscript+set}" = set; then :
10736 enableval=$enable_postscript;
10737 if test "$enableval" = yes; then
10738 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10740 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10745 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10750 eval "$wx_cv_use_postscript"
10752 if test x
"$enablestring" = xdisable
; then
10753 if test $wxUSE_POSTSCRIPT = no
; then
10759 result
=$wxUSE_POSTSCRIPT
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10763 $as_echo "$result" >&6; }
10767 defaultval
=$wxUSE_ALL_FEATURES
10768 if test -z "$defaultval"; then
10769 if test x
"$enablestring" = xdisable
; then
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10777 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10778 # Check whether --enable-printarch was given.
10779 if test "${enable_printarch+set}" = set; then :
10780 enableval
=$enable_printarch;
10781 if test "$enableval" = yes; then
10782 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
10784 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
10789 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10794 eval "$wx_cv_use_printarch"
10796 if test x"$enablestring" = xdisable; then
10797 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10803 result=$wxUSE_PRINTING_ARCHITECTURE
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10807 $as_echo "$result" >&6; }
10811 defaultval=$wxUSE_ALL_FEATURES
10812 if test -z "$defaultval"; then
10813 if test x"$enablestring" = xdisable; then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10821 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10822 # Check whether --enable-svg was given.
10823 if test "${enable_svg+set}" = set; then :
10824 enableval=$enable_svg;
10825 if test "$enableval" = yes; then
10826 wx_cv_use_svg='wxUSE_SVG
=yes'
10828 wx_cv_use_svg='wxUSE_SVG
=no
'
10833 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10838 eval "$wx_cv_use_svg"
10840 if test x"$enablestring" = xdisable; then
10841 if test $wxUSE_SVG = no; then
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10851 $as_echo "$result" >&6; }
10855 defaultval=$wxUSE_ALL_FEATURES
10856 if test -z "$defaultval"; then
10857 if test x"$enablestring" = xdisable; then
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webkit" >&5
10865 $as_echo_n "checking
for --${enablestring:-enable}-webkit...
" >&6; }
10866 # Check whether --enable-webkit was given.
10867 if test "${enable_webkit+set}" = set; then :
10868 enableval=$enable_webkit;
10869 if test "$enableval" = yes; then
10870 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10872 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10877 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10882 eval "$wx_cv_use_webkit"
10884 if test x
"$enablestring" = xdisable
; then
10885 if test $wxUSE_WEBKIT = no
; then
10891 result
=$wxUSE_WEBKIT
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10895 $as_echo "$result" >&6; }
10899 defaultval
=$wxUSE_ALL_FEATURES
10900 if test -z "$defaultval"; then
10901 if test x
"$enablestring" = xdisable
; then
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10909 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10910 # Check whether --enable-webview was given.
10911 if test "${enable_webview+set}" = set; then :
10912 enableval
=$enable_webview;
10913 if test "$enableval" = yes; then
10914 wx_cv_use_webview
='wxUSE_WEBVIEW=yes'
10916 wx_cv_use_webview
='wxUSE_WEBVIEW=no'
10921 wx_cv_use_webview
='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10926 eval "$wx_cv_use_webview"
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_WEBVIEW = no; then
10935 result=$wxUSE_WEBVIEW
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10939 $as_echo "$result" >&6; }
10942 if test "$wxUSE_MAC" != 1; then
10945 defaultval=$wxUSE_ALL_FEATURES
10946 if test -z "$defaultval"; then
10947 if test x"$enablestring" = xdisable; then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10955 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10956 # Check whether --enable-graphics_ctx was given.
10957 if test "${enable_graphics_ctx+set}" = set; then :
10958 enableval=$enable_graphics_ctx;
10959 if test "$enableval" = yes; then
10960 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
10962 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
10967 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10972 eval "$wx_cv_use_graphics_ctx"
10974 if test x"$enablestring" = xdisable; then
10975 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10981 result=$wxUSE_GRAPHICS_CONTEXT
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10985 $as_echo "$result" >&6; }
10992 defaultval=$wxUSE_ALL_FEATURES
10993 if test -z "$defaultval"; then
10994 if test x"$enablestring" = xdisable; then
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-clipboard" >&5
11002 $as_echo_n "checking
for --${enablestring:-enable}-clipboard...
" >&6; }
11003 # Check whether --enable-clipboard was given.
11004 if test "${enable_clipboard+set}" = set; then :
11005 enableval=$enable_clipboard;
11006 if test "$enableval" = yes; then
11007 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
11009 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
11014 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
11019 eval "$wx_cv_use_clipboard"
11021 if test x
"$enablestring" = xdisable
; then
11022 if test $wxUSE_CLIPBOARD = no
; then
11028 result
=$wxUSE_CLIPBOARD
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11032 $as_echo "$result" >&6; }
11036 defaultval
=$wxUSE_ALL_FEATURES
11037 if test -z "$defaultval"; then
11038 if test x
"$enablestring" = xdisable
; then
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
11046 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
11047 # Check whether --enable-dnd was given.
11048 if test "${enable_dnd+set}" = set; then :
11049 enableval
=$enable_dnd;
11050 if test "$enableval" = yes; then
11051 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
11053 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
11058 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
11063 eval "$wx_cv_use_dnd"
11065 if test x"$enablestring" = xdisable; then
11066 if test $wxUSE_DRAG_AND_DROP = no; then
11072 result=$wxUSE_DRAG_AND_DROP
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11076 $as_echo "$result" >&6; }
11080 DEFAULT_wxUSE_CONTROLS=none
11082 enablestring=disable
11084 if test -z "$defaultval"; then
11085 if test x"$enablestring" = xdisable; then
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11093 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11094 # Check whether --enable-controls was given.
11095 if test "${enable_controls+set}" = set; then :
11096 enableval=$enable_controls;
11097 if test "$enableval" = yes; then
11098 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
11100 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
11105 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11110 eval "$wx_cv_use_controls"
11112 if test x"$enablestring" = xdisable; then
11113 if test $wxUSE_CONTROLS = no; then
11119 result=$wxUSE_CONTROLS
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11123 $as_echo "$result" >&6; }
11126 if test "$wxUSE_CONTROLS" = "no
"; then
11127 DEFAULT_wxUSE_ACCEL=no
11128 DEFAULT_wxUSE_ANIMATIONCTRL=no
11129 DEFAULT_wxUSE_BANNERWINDOW=no
11130 DEFAULT_wxUSE_BMPBUTTON=no
11131 DEFAULT_wxUSE_BUTTON=no
11132 DEFAULT_wxUSE_CALCTRL=no
11133 DEFAULT_wxUSE_CARET=no
11134 DEFAULT_wxUSE_CHECKBOX=no
11135 DEFAULT_wxUSE_CHECKLISTBOX=no
11136 DEFAULT_wxUSE_CHOICE=no
11137 DEFAULT_wxUSE_CHOICEBOOK=no
11138 DEFAULT_wxUSE_COLLPANE=no
11139 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11140 DEFAULT_wxUSE_COMBOBOX=no
11141 DEFAULT_wxUSE_COMBOBOX=no
11142 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11143 DEFAULT_wxUSE_DATAVIEWCTRL=no
11144 DEFAULT_wxUSE_DATEPICKCTRL=no
11145 DEFAULT_wxUSE_DETECT_SM=no
11146 DEFAULT_wxUSE_DIRPICKERCTRL=no
11147 DEFAULT_wxUSE_DISPLAY=no
11148 DEFAULT_wxUSE_FILECTRL=no
11149 DEFAULT_wxUSE_FILEPICKERCTRL=no
11150 DEFAULT_wxUSE_FONTPICKERCTRL=no
11151 DEFAULT_wxUSE_GAUGE=no
11152 DEFAULT_wxUSE_GRID=no
11153 DEFAULT_wxUSE_HEADERCTRL=no
11154 DEFAULT_wxUSE_HYPERLINKCTRL=no
11155 DEFAULT_wxUSE_IMAGLIST=no
11156 DEFAULT_wxUSE_LISTBOOK=no
11157 DEFAULT_wxUSE_LISTBOX=no
11158 DEFAULT_wxUSE_LISTCTRL=no
11159 DEFAULT_wxUSE_MARKUP=no
11160 DEFAULT_wxUSE_NOTEBOOK=no
11161 DEFAULT_wxUSE_POPUPWIN=no
11162 DEFAULT_wxUSE_RADIOBOX=no
11163 DEFAULT_wxUSE_RADIOBTN=no
11164 DEFAULT_wxUSE_RICHMSGDLG=no
11165 DEFAULT_wxUSE_RICHTOOLTIP=no
11166 DEFAULT_wxUSE_REARRANGECTRL=no
11167 DEFAULT_wxUSE_SASH=no
11168 DEFAULT_wxUSE_SCROLLBAR=no
11169 DEFAULT_wxUSE_SEARCHCTRL=no
11170 DEFAULT_wxUSE_SLIDER=no
11171 DEFAULT_wxUSE_SPINBTN=no
11172 DEFAULT_wxUSE_SPINCTRL=no
11173 DEFAULT_wxUSE_SPLITTER=no
11174 DEFAULT_wxUSE_STATBMP=no
11175 DEFAULT_wxUSE_STATBOX=no
11176 DEFAULT_wxUSE_STATLINE=no
11177 DEFAULT_wxUSE_STATUSBAR=no
11178 DEFAULT_wxUSE_TIMEPICKCTRL=no
11179 DEFAULT_wxUSE_TIPWINDOW=no
11180 DEFAULT_wxUSE_TOGGLEBTN=no
11181 DEFAULT_wxUSE_TOOLBAR=no
11182 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11183 DEFAULT_wxUSE_TOOLBOOK=no
11184 DEFAULT_wxUSE_TOOLTIPS=no
11185 DEFAULT_wxUSE_TREEBOOK=no
11186 DEFAULT_wxUSE_TREECTRL=no
11187 DEFAULT_wxUSE_TREELISTCTRL=no
11192 defaultval=$wxUSE_ALL_FEATURES
11193 if test -z "$defaultval"; then
11194 if test x"$enablestring" = xdisable; then
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-markup" >&5
11202 $as_echo_n "checking
for --${enablestring:-enable}-markup...
" >&6; }
11203 # Check whether --enable-markup was given.
11204 if test "${enable_markup+set}" = set; then :
11205 enableval=$enable_markup;
11206 if test "$enableval" = yes; then
11207 wx_cv_use_markup='wxUSE_MARKUP=yes'
11209 wx_cv_use_markup='wxUSE_MARKUP=no'
11214 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11219 eval "$wx_cv_use_markup"
11221 if test x
"$enablestring" = xdisable
; then
11222 if test $wxUSE_MARKUP = no
; then
11228 result
=$wxUSE_MARKUP
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11232 $as_echo "$result" >&6; }
11237 defaultval
=$wxUSE_ALL_FEATURES
11238 if test -z "$defaultval"; then
11239 if test x
"$enablestring" = xdisable
; then
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11247 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11248 # Check whether --enable-accel was given.
11249 if test "${enable_accel+set}" = set; then :
11250 enableval
=$enable_accel;
11251 if test "$enableval" = yes; then
11252 wx_cv_use_accel
='wxUSE_ACCEL=yes'
11254 wx_cv_use_accel
='wxUSE_ACCEL=no'
11259 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11264 eval "$wx_cv_use_accel"
11266 if test x"$enablestring" = xdisable; then
11267 if test $wxUSE_ACCEL = no; then
11273 result=$wxUSE_ACCEL
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11277 $as_echo "$result" >&6; }
11281 defaultval=$wxUSE_ALL_FEATURES
11282 if test -z "$defaultval"; then
11283 if test x"$enablestring" = xdisable; then
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11291 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11292 # Check whether --enable-animatectrl was given.
11293 if test "${enable_animatectrl+set}" = set; then :
11294 enableval=$enable_animatectrl;
11295 if test "$enableval" = yes; then
11296 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11298 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11303 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11308 eval "$wx_cv_use_animatectrl"
11310 if test x"$enablestring" = xdisable; then
11311 if test $wxUSE_ANIMATIONCTRL = no; then
11317 result=$wxUSE_ANIMATIONCTRL
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11321 $as_echo "$result" >&6; }
11325 defaultval=$wxUSE_ALL_FEATURES
11326 if test -z "$defaultval"; then
11327 if test x"$enablestring" = xdisable; then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bannerwindow" >&5
11335 $as_echo_n "checking
for --${enablestring:-enable}-bannerwindow...
" >&6; }
11336 # Check whether --enable-bannerwindow was given.
11337 if test "${enable_bannerwindow+set}" = set; then :
11338 enableval=$enable_bannerwindow;
11339 if test "$enableval" = yes; then
11340 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11342 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11347 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11352 eval "$wx_cv_use_bannerwindow"
11354 if test x
"$enablestring" = xdisable
; then
11355 if test $wxUSE_BANNERWINDOW = no
; then
11361 result
=$wxUSE_BANNERWINDOW
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11365 $as_echo "$result" >&6; }
11369 defaultval
=$wxUSE_ALL_FEATURES
11370 if test -z "$defaultval"; then
11371 if test x
"$enablestring" = xdisable
; then
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11379 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11380 # Check whether --enable-artstd was given.
11381 if test "${enable_artstd+set}" = set; then :
11382 enableval
=$enable_artstd;
11383 if test "$enableval" = yes; then
11384 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=yes'
11386 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=no'
11391 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11396 eval "$wx_cv_use_artstd"
11398 if test x"$enablestring" = xdisable; then
11399 if test $wxUSE_ARTPROVIDER_STD = no; then
11405 result=$wxUSE_ARTPROVIDER_STD
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11409 $as_echo "$result" >&6; }
11413 defaultval=$wxUSE_ALL_FEATURES
11414 if test -z "$defaultval"; then
11415 if test x"$enablestring" = xdisable; then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11423 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11424 # Check whether --enable-arttango was given.
11425 if test "${enable_arttango+set}" = set; then :
11426 enableval=$enable_arttango;
11427 if test "$enableval" = yes; then
11428 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=yes'
11430 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=no
'
11435 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11440 eval "$wx_cv_use_arttango"
11442 if test x"$enablestring" = xdisable; then
11443 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11449 result=$wxUSE_ARTPROVIDER_TANGO
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11453 $as_echo "$result" >&6; }
11457 defaultval=$wxUSE_ALL_FEATURES
11458 if test -z "$defaultval"; then
11459 if test x"$enablestring" = xdisable; then
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bmpbutton" >&5
11467 $as_echo_n "checking
for --${enablestring:-enable}-bmpbutton...
" >&6; }
11468 # Check whether --enable-bmpbutton was given.
11469 if test "${enable_bmpbutton+set}" = set; then :
11470 enableval=$enable_bmpbutton;
11471 if test "$enableval" = yes; then
11472 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11474 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11479 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11484 eval "$wx_cv_use_bmpbutton"
11486 if test x
"$enablestring" = xdisable
; then
11487 if test $wxUSE_BMPBUTTON = no
; then
11493 result
=$wxUSE_BMPBUTTON
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11497 $as_echo "$result" >&6; }
11501 defaultval
=$wxUSE_ALL_FEATURES
11502 if test -z "$defaultval"; then
11503 if test x
"$enablestring" = xdisable
; then
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11511 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11512 # Check whether --enable-bmpcombobox was given.
11513 if test "${enable_bmpcombobox+set}" = set; then :
11514 enableval
=$enable_bmpcombobox;
11515 if test "$enableval" = yes; then
11516 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
11518 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
11523 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11528 eval "$wx_cv_use_bmpcombobox"
11530 if test x"$enablestring" = xdisable; then
11531 if test $wxUSE_BITMAPCOMBOBOX = no; then
11537 result=$wxUSE_BITMAPCOMBOBOX
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11541 $as_echo "$result" >&6; }
11545 defaultval=$wxUSE_ALL_FEATURES
11546 if test -z "$defaultval"; then
11547 if test x"$enablestring" = xdisable; then
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11555 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11556 # Check whether --enable-button was given.
11557 if test "${enable_button+set}" = set; then :
11558 enableval=$enable_button;
11559 if test "$enableval" = yes; then
11560 wx_cv_use_button='wxUSE_BUTTON
=yes'
11562 wx_cv_use_button='wxUSE_BUTTON
=no
'
11567 wx_cv_use_button='wxUSE_BUTTON
=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11572 eval "$wx_cv_use_button"
11574 if test x"$enablestring" = xdisable; then
11575 if test $wxUSE_BUTTON = no; then
11581 result=$wxUSE_BUTTON
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11585 $as_echo "$result" >&6; }
11589 defaultval=$wxUSE_ALL_FEATURES
11590 if test -z "$defaultval"; then
11591 if test x"$enablestring" = xdisable; then
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-calendar" >&5
11599 $as_echo_n "checking
for --${enablestring:-enable}-calendar...
" >&6; }
11600 # Check whether --enable-calendar was given.
11601 if test "${enable_calendar+set}" = set; then :
11602 enableval=$enable_calendar;
11603 if test "$enableval" = yes; then
11604 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11606 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11611 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11616 eval "$wx_cv_use_calendar"
11618 if test x
"$enablestring" = xdisable
; then
11619 if test $wxUSE_CALCTRL = no
; then
11625 result
=$wxUSE_CALCTRL
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11629 $as_echo "$result" >&6; }
11633 defaultval
=$wxUSE_ALL_FEATURES
11634 if test -z "$defaultval"; then
11635 if test x
"$enablestring" = xdisable
; then
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11643 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11644 # Check whether --enable-caret was given.
11645 if test "${enable_caret+set}" = set; then :
11646 enableval
=$enable_caret;
11647 if test "$enableval" = yes; then
11648 wx_cv_use_caret
='wxUSE_CARET=yes'
11650 wx_cv_use_caret
='wxUSE_CARET=no'
11655 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11660 eval "$wx_cv_use_caret"
11662 if test x"$enablestring" = xdisable; then
11663 if test $wxUSE_CARET = no; then
11669 result=$wxUSE_CARET
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11673 $as_echo "$result" >&6; }
11677 defaultval=$wxUSE_ALL_FEATURES
11678 if test -z "$defaultval"; then
11679 if test x"$enablestring" = xdisable; then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11687 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11688 # Check whether --enable-checkbox was given.
11689 if test "${enable_checkbox+set}" = set; then :
11690 enableval=$enable_checkbox;
11691 if test "$enableval" = yes; then
11692 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11694 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11699 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11704 eval "$wx_cv_use_checkbox"
11706 if test x"$enablestring" = xdisable; then
11707 if test $wxUSE_CHECKBOX = no; then
11713 result=$wxUSE_CHECKBOX
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11717 $as_echo "$result" >&6; }
11721 defaultval=$wxUSE_ALL_FEATURES
11722 if test -z "$defaultval"; then
11723 if test x"$enablestring" = xdisable; then
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-checklst" >&5
11731 $as_echo_n "checking
for --${enablestring:-enable}-checklst...
" >&6; }
11732 # Check whether --enable-checklst was given.
11733 if test "${enable_checklst+set}" = set; then :
11734 enableval=$enable_checklst;
11735 if test "$enableval" = yes; then
11736 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11738 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11743 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11748 eval "$wx_cv_use_checklst"
11750 if test x
"$enablestring" = xdisable
; then
11751 if test $wxUSE_CHECKLST = no
; then
11757 result
=$wxUSE_CHECKLST
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11761 $as_echo "$result" >&6; }
11765 defaultval
=$wxUSE_ALL_FEATURES
11766 if test -z "$defaultval"; then
11767 if test x
"$enablestring" = xdisable
; then
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11775 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11776 # Check whether --enable-choice was given.
11777 if test "${enable_choice+set}" = set; then :
11778 enableval
=$enable_choice;
11779 if test "$enableval" = yes; then
11780 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11782 wx_cv_use_choice
='wxUSE_CHOICE=no'
11787 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11792 eval "$wx_cv_use_choice"
11794 if test x"$enablestring" = xdisable; then
11795 if test $wxUSE_CHOICE = no; then
11801 result=$wxUSE_CHOICE
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11805 $as_echo "$result" >&6; }
11809 defaultval=$wxUSE_ALL_FEATURES
11810 if test -z "$defaultval"; then
11811 if test x"$enablestring" = xdisable; then
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11819 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11820 # Check whether --enable-choicebook was given.
11821 if test "${enable_choicebook+set}" = set; then :
11822 enableval=$enable_choicebook;
11823 if test "$enableval" = yes; then
11824 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11826 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11831 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11836 eval "$wx_cv_use_choicebook"
11838 if test x"$enablestring" = xdisable; then
11839 if test $wxUSE_CHOICEBOOK = no; then
11845 result=$wxUSE_CHOICEBOOK
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11849 $as_echo "$result" >&6; }
11853 defaultval=$wxUSE_ALL_FEATURES
11854 if test -z "$defaultval"; then
11855 if test x"$enablestring" = xdisable; then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-collpane" >&5
11863 $as_echo_n "checking
for --${enablestring:-enable}-collpane...
" >&6; }
11864 # Check whether --enable-collpane was given.
11865 if test "${enable_collpane+set}" = set; then :
11866 enableval=$enable_collpane;
11867 if test "$enableval" = yes; then
11868 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11870 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11875 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11880 eval "$wx_cv_use_collpane"
11882 if test x
"$enablestring" = xdisable
; then
11883 if test $wxUSE_COLLPANE = no
; then
11889 result
=$wxUSE_COLLPANE
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11893 $as_echo "$result" >&6; }
11897 defaultval
=$wxUSE_ALL_FEATURES
11898 if test -z "$defaultval"; then
11899 if test x
"$enablestring" = xdisable
; then
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11907 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11908 # Check whether --enable-colourpicker was given.
11909 if test "${enable_colourpicker+set}" = set; then :
11910 enableval
=$enable_colourpicker;
11911 if test "$enableval" = yes; then
11912 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11914 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11919 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11924 eval "$wx_cv_use_colourpicker"
11926 if test x"$enablestring" = xdisable; then
11927 if test $wxUSE_COLOURPICKERCTRL = no; then
11933 result=$wxUSE_COLOURPICKERCTRL
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11937 $as_echo "$result" >&6; }
11941 defaultval=$wxUSE_ALL_FEATURES
11942 if test -z "$defaultval"; then
11943 if test x"$enablestring" = xdisable; then
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11951 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11952 # Check whether --enable-combobox was given.
11953 if test "${enable_combobox+set}" = set; then :
11954 enableval=$enable_combobox;
11955 if test "$enableval" = yes; then
11956 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11958 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11963 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11968 eval "$wx_cv_use_combobox"
11970 if test x"$enablestring" = xdisable; then
11971 if test $wxUSE_COMBOBOX = no; then
11977 result=$wxUSE_COMBOBOX
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11981 $as_echo "$result" >&6; }
11985 defaultval=$wxUSE_ALL_FEATURES
11986 if test -z "$defaultval"; then
11987 if test x"$enablestring" = xdisable; then
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-comboctrl" >&5
11995 $as_echo_n "checking
for --${enablestring:-enable}-comboctrl...
" >&6; }
11996 # Check whether --enable-comboctrl was given.
11997 if test "${enable_comboctrl+set}" = set; then :
11998 enableval=$enable_comboctrl;
11999 if test "$enableval" = yes; then
12000 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
12002 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
12007 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
12012 eval "$wx_cv_use_comboctrl"
12014 if test x
"$enablestring" = xdisable
; then
12015 if test $wxUSE_COMBOCTRL = no
; then
12021 result
=$wxUSE_COMBOCTRL
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12025 $as_echo "$result" >&6; }
12029 defaultval
=$wxUSE_ALL_FEATURES
12030 if test -z "$defaultval"; then
12031 if test x
"$enablestring" = xdisable
; then
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
12039 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
12040 # Check whether --enable-commandlinkbutton was given.
12041 if test "${enable_commandlinkbutton+set}" = set; then :
12042 enableval
=$enable_commandlinkbutton;
12043 if test "$enableval" = yes; then
12044 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=yes'
12046 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=no'
12051 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
12056 eval "$wx_cv_use_commandlinkbutton"
12058 if test x"$enablestring" = xdisable; then
12059 if test $wxUSE_COMMANDLINKBUTTON = no; then
12065 result=$wxUSE_COMMANDLINKBUTTON
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12069 $as_echo "$result" >&6; }
12073 defaultval=$wxUSE_ALL_FEATURES
12074 if test -z "$defaultval"; then
12075 if test x"$enablestring" = xdisable; then
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12083 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12084 # Check whether --enable-dataviewctrl was given.
12085 if test "${enable_dataviewctrl+set}" = set; then :
12086 enableval=$enable_dataviewctrl;
12087 if test "$enableval" = yes; then
12088 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
12090 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
12095 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12100 eval "$wx_cv_use_dataviewctrl"
12102 if test x"$enablestring" = xdisable; then
12103 if test $wxUSE_DATAVIEWCTRL = no; then
12109 result=$wxUSE_DATAVIEWCTRL
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12113 $as_echo "$result" >&6; }
12117 defaultval=$wxUSE_ALL_FEATURES
12118 if test -z "$defaultval"; then
12119 if test x"$enablestring" = xdisable; then
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datepick" >&5
12127 $as_echo_n "checking
for --${enablestring:-enable}-datepick...
" >&6; }
12128 # Check whether --enable-datepick was given.
12129 if test "${enable_datepick+set}" = set; then :
12130 enableval=$enable_datepick;
12131 if test "$enableval" = yes; then
12132 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12134 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12139 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12144 eval "$wx_cv_use_datepick"
12146 if test x
"$enablestring" = xdisable
; then
12147 if test $wxUSE_DATEPICKCTRL = no
; then
12153 result
=$wxUSE_DATEPICKCTRL
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12157 $as_echo "$result" >&6; }
12161 defaultval
=$wxUSE_ALL_FEATURES
12162 if test -z "$defaultval"; then
12163 if test x
"$enablestring" = xdisable
; then
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12171 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12172 # Check whether --enable-detect_sm was given.
12173 if test "${enable_detect_sm+set}" = set; then :
12174 enableval
=$enable_detect_sm;
12175 if test "$enableval" = yes; then
12176 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
12178 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
12183 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12188 eval "$wx_cv_use_detect_sm"
12190 if test x"$enablestring" = xdisable; then
12191 if test $wxUSE_DETECT_SM = no; then
12197 result=$wxUSE_DETECT_SM
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12201 $as_echo "$result" >&6; }
12205 defaultval=$wxUSE_ALL_FEATURES
12206 if test -z "$defaultval"; then
12207 if test x"$enablestring" = xdisable; then
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12215 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12216 # Check whether --enable-dirpicker was given.
12217 if test "${enable_dirpicker+set}" = set; then :
12218 enableval=$enable_dirpicker;
12219 if test "$enableval" = yes; then
12220 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
12222 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
12227 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12232 eval "$wx_cv_use_dirpicker"
12234 if test x"$enablestring" = xdisable; then
12235 if test $wxUSE_DIRPICKERCTRL = no; then
12241 result=$wxUSE_DIRPICKERCTRL
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12245 $as_echo "$result" >&6; }
12249 defaultval=$wxUSE_ALL_FEATURES
12250 if test -z "$defaultval"; then
12251 if test x"$enablestring" = xdisable; then
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-display" >&5
12259 $as_echo_n "checking
for --${enablestring:-enable}-display...
" >&6; }
12260 # Check whether --enable-display was given.
12261 if test "${enable_display+set}" = set; then :
12262 enableval=$enable_display;
12263 if test "$enableval" = yes; then
12264 wx_cv_use_display='wxUSE_DISPLAY=yes'
12266 wx_cv_use_display='wxUSE_DISPLAY=no'
12271 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12276 eval "$wx_cv_use_display"
12278 if test x
"$enablestring" = xdisable
; then
12279 if test $wxUSE_DISPLAY = no
; then
12285 result
=$wxUSE_DISPLAY
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12289 $as_echo "$result" >&6; }
12293 defaultval
=$wxUSE_ALL_FEATURES
12294 if test -z "$defaultval"; then
12295 if test x
"$enablestring" = xdisable
; then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12303 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12304 # Check whether --enable-editablebox was given.
12305 if test "${enable_editablebox+set}" = set; then :
12306 enableval
=$enable_editablebox;
12307 if test "$enableval" = yes; then
12308 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
12310 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
12315 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12320 eval "$wx_cv_use_editablebox"
12322 if test x"$enablestring" = xdisable; then
12323 if test $wxUSE_EDITABLELISTBOX = no; then
12329 result=$wxUSE_EDITABLELISTBOX
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12333 $as_echo "$result" >&6; }
12337 defaultval=$wxUSE_ALL_FEATURES
12338 if test -z "$defaultval"; then
12339 if test x"$enablestring" = xdisable; then
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12347 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12348 # Check whether --enable-filectrl was given.
12349 if test "${enable_filectrl+set}" = set; then :
12350 enableval=$enable_filectrl;
12351 if test "$enableval" = yes; then
12352 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
12354 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
12359 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12364 eval "$wx_cv_use_filectrl"
12366 if test x"$enablestring" = xdisable; then
12367 if test $wxUSE_FILECTRL = no; then
12373 result=$wxUSE_FILECTRL
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12377 $as_echo "$result" >&6; }
12381 defaultval=$wxUSE_ALL_FEATURES
12382 if test -z "$defaultval"; then
12383 if test x"$enablestring" = xdisable; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filepicker" >&5
12391 $as_echo_n "checking
for --${enablestring:-enable}-filepicker...
" >&6; }
12392 # Check whether --enable-filepicker was given.
12393 if test "${enable_filepicker+set}" = set; then :
12394 enableval=$enable_filepicker;
12395 if test "$enableval" = yes; then
12396 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12398 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12403 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12408 eval "$wx_cv_use_filepicker"
12410 if test x
"$enablestring" = xdisable
; then
12411 if test $wxUSE_FILEPICKERCTRL = no
; then
12417 result
=$wxUSE_FILEPICKERCTRL
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12421 $as_echo "$result" >&6; }
12425 defaultval
=$wxUSE_ALL_FEATURES
12426 if test -z "$defaultval"; then
12427 if test x
"$enablestring" = xdisable
; then
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12435 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12436 # Check whether --enable-fontpicker was given.
12437 if test "${enable_fontpicker+set}" = set; then :
12438 enableval
=$enable_fontpicker;
12439 if test "$enableval" = yes; then
12440 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
12442 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
12447 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12452 eval "$wx_cv_use_fontpicker"
12454 if test x"$enablestring" = xdisable; then
12455 if test $wxUSE_FONTPICKERCTRL = no; then
12461 result=$wxUSE_FONTPICKERCTRL
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12465 $as_echo "$result" >&6; }
12469 defaultval=$wxUSE_ALL_FEATURES
12470 if test -z "$defaultval"; then
12471 if test x"$enablestring" = xdisable; then
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12479 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12480 # Check whether --enable-gauge was given.
12481 if test "${enable_gauge+set}" = set; then :
12482 enableval=$enable_gauge;
12483 if test "$enableval" = yes; then
12484 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
12486 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
12491 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12496 eval "$wx_cv_use_gauge"
12498 if test x"$enablestring" = xdisable; then
12499 if test $wxUSE_GAUGE = no; then
12505 result=$wxUSE_GAUGE
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12509 $as_echo "$result" >&6; }
12513 defaultval=$wxUSE_ALL_FEATURES
12514 if test -z "$defaultval"; then
12515 if test x"$enablestring" = xdisable; then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-grid" >&5
12523 $as_echo_n "checking
for --${enablestring:-enable}-grid...
" >&6; }
12524 # Check whether --enable-grid was given.
12525 if test "${enable_grid+set}" = set; then :
12526 enableval=$enable_grid;
12527 if test "$enableval" = yes; then
12528 wx_cv_use_grid='wxUSE_GRID=yes'
12530 wx_cv_use_grid='wxUSE_GRID=no'
12535 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12540 eval "$wx_cv_use_grid"
12542 if test x
"$enablestring" = xdisable
; then
12543 if test $wxUSE_GRID = no
; then
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12553 $as_echo "$result" >&6; }
12557 defaultval
=$wxUSE_ALL_FEATURES
12558 if test -z "$defaultval"; then
12559 if test x
"$enablestring" = xdisable
; then
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12567 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12568 # Check whether --enable-headerctrl was given.
12569 if test "${enable_headerctrl+set}" = set; then :
12570 enableval
=$enable_headerctrl;
12571 if test "$enableval" = yes; then
12572 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
12574 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
12579 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12584 eval "$wx_cv_use_headerctrl"
12586 if test x"$enablestring" = xdisable; then
12587 if test $wxUSE_HEADERCTRL = no; then
12593 result=$wxUSE_HEADERCTRL
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12597 $as_echo "$result" >&6; }
12601 defaultval=$wxUSE_ALL_FEATURES
12602 if test -z "$defaultval"; then
12603 if test x"$enablestring" = xdisable; then
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12611 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12612 # Check whether --enable-hyperlink was given.
12613 if test "${enable_hyperlink+set}" = set; then :
12614 enableval=$enable_hyperlink;
12615 if test "$enableval" = yes; then
12616 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
12618 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
12623 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12628 eval "$wx_cv_use_hyperlink"
12630 if test x"$enablestring" = xdisable; then
12631 if test $wxUSE_HYPERLINKCTRL = no; then
12637 result=$wxUSE_HYPERLINKCTRL
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12641 $as_echo "$result" >&6; }
12645 defaultval=$wxUSE_ALL_FEATURES
12646 if test -z "$defaultval"; then
12647 if test x"$enablestring" = xdisable; then
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-imaglist" >&5
12655 $as_echo_n "checking
for --${enablestring:-enable}-imaglist...
" >&6; }
12656 # Check whether --enable-imaglist was given.
12657 if test "${enable_imaglist+set}" = set; then :
12658 enableval=$enable_imaglist;
12659 if test "$enableval" = yes; then
12660 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12662 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12667 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12672 eval "$wx_cv_use_imaglist"
12674 if test x
"$enablestring" = xdisable
; then
12675 if test $wxUSE_IMAGLIST = no
; then
12681 result
=$wxUSE_IMAGLIST
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12685 $as_echo "$result" >&6; }
12689 defaultval
=$wxUSE_ALL_FEATURES
12690 if test -z "$defaultval"; then
12691 if test x
"$enablestring" = xdisable
; then
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12699 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12700 # Check whether --enable-infobar was given.
12701 if test "${enable_infobar+set}" = set; then :
12702 enableval
=$enable_infobar;
12703 if test "$enableval" = yes; then
12704 wx_cv_use_infobar
='wxUSE_INFOBAR=yes'
12706 wx_cv_use_infobar
='wxUSE_INFOBAR=no'
12711 wx_cv_use_infobar
='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12716 eval "$wx_cv_use_infobar"
12718 if test x"$enablestring" = xdisable; then
12719 if test $wxUSE_INFOBAR = no; then
12725 result=$wxUSE_INFOBAR
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12729 $as_echo "$result" >&6; }
12733 defaultval=$wxUSE_ALL_FEATURES
12734 if test -z "$defaultval"; then
12735 if test x"$enablestring" = xdisable; then
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12743 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12744 # Check whether --enable-listbook was given.
12745 if test "${enable_listbook+set}" = set; then :
12746 enableval=$enable_listbook;
12747 if test "$enableval" = yes; then
12748 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
12750 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
12755 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12760 eval "$wx_cv_use_listbook"
12762 if test x"$enablestring" = xdisable; then
12763 if test $wxUSE_LISTBOOK = no; then
12769 result=$wxUSE_LISTBOOK
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12773 $as_echo "$result" >&6; }
12777 defaultval=$wxUSE_ALL_FEATURES
12778 if test -z "$defaultval"; then
12779 if test x"$enablestring" = xdisable; then
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listbox" >&5
12787 $as_echo_n "checking
for --${enablestring:-enable}-listbox...
" >&6; }
12788 # Check whether --enable-listbox was given.
12789 if test "${enable_listbox+set}" = set; then :
12790 enableval=$enable_listbox;
12791 if test "$enableval" = yes; then
12792 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12794 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12799 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12804 eval "$wx_cv_use_listbox"
12806 if test x
"$enablestring" = xdisable
; then
12807 if test $wxUSE_LISTBOX = no
; then
12813 result
=$wxUSE_LISTBOX
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12817 $as_echo "$result" >&6; }
12821 defaultval
=$wxUSE_ALL_FEATURES
12822 if test -z "$defaultval"; then
12823 if test x
"$enablestring" = xdisable
; then
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12831 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12832 # Check whether --enable-listctrl was given.
12833 if test "${enable_listctrl+set}" = set; then :
12834 enableval
=$enable_listctrl;
12835 if test "$enableval" = yes; then
12836 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
12838 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
12843 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12848 eval "$wx_cv_use_listctrl"
12850 if test x"$enablestring" = xdisable; then
12851 if test $wxUSE_LISTCTRL = no; then
12857 result=$wxUSE_LISTCTRL
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12861 $as_echo "$result" >&6; }
12865 defaultval=$wxUSE_ALL_FEATURES
12866 if test -z "$defaultval"; then
12867 if test x"$enablestring" = xdisable; then
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12875 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12876 # Check whether --enable-notebook was given.
12877 if test "${enable_notebook+set}" = set; then :
12878 enableval=$enable_notebook;
12879 if test "$enableval" = yes; then
12880 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
12882 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
12887 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12892 eval "$wx_cv_use_notebook"
12894 if test x"$enablestring" = xdisable; then
12895 if test $wxUSE_NOTEBOOK = no; then
12901 result=$wxUSE_NOTEBOOK
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12905 $as_echo "$result" >&6; }
12909 defaultval=$wxUSE_ALL_FEATURES
12910 if test -z "$defaultval"; then
12911 if test x"$enablestring" = xdisable; then
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-notifmsg" >&5
12919 $as_echo_n "checking
for --${enablestring:-enable}-notifmsg...
" >&6; }
12920 # Check whether --enable-notifmsg was given.
12921 if test "${enable_notifmsg+set}" = set; then :
12922 enableval=$enable_notifmsg;
12923 if test "$enableval" = yes; then
12924 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12926 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12931 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12936 eval "$wx_cv_use_notifmsg"
12938 if test x
"$enablestring" = xdisable
; then
12939 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
12945 result
=$wxUSE_NOTIFICATION_MESSAGE
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12949 $as_echo "$result" >&6; }
12953 defaultval
=$wxUSE_ALL_FEATURES
12954 if test -z "$defaultval"; then
12955 if test x
"$enablestring" = xdisable
; then
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12963 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12964 # Check whether --enable-odcombobox was given.
12965 if test "${enable_odcombobox+set}" = set; then :
12966 enableval
=$enable_odcombobox;
12967 if test "$enableval" = yes; then
12968 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
12970 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
12975 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12980 eval "$wx_cv_use_odcombobox"
12982 if test x"$enablestring" = xdisable; then
12983 if test $wxUSE_ODCOMBOBOX = no; then
12989 result=$wxUSE_ODCOMBOBOX
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12993 $as_echo "$result" >&6; }
12997 defaultval=$wxUSE_ALL_FEATURES
12998 if test -z "$defaultval"; then
12999 if test x"$enablestring" = xdisable; then
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
13007 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
13008 # Check whether --enable-popupwin was given.
13009 if test "${enable_popupwin+set}" = set; then :
13010 enableval=$enable_popupwin;
13011 if test "$enableval" = yes; then
13012 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
13014 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
13019 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13024 eval "$wx_cv_use_popupwin"
13026 if test x"$enablestring" = xdisable; then
13027 if test $wxUSE_POPUPWIN = no; then
13033 result=$wxUSE_POPUPWIN
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13037 $as_echo "$result" >&6; }
13041 defaultval=$wxUSE_ALL_FEATURES
13042 if test -z "$defaultval"; then
13043 if test x"$enablestring" = xdisable; then
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-prefseditor" >&5
13051 $as_echo_n "checking
for --${enablestring:-enable}-prefseditor...
" >&6; }
13052 # Check whether --enable-prefseditor was given.
13053 if test "${enable_prefseditor+set}" = set; then :
13054 enableval=$enable_prefseditor;
13055 if test "$enableval" = yes; then
13056 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=yes'
13058 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=no'
13063 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=${'DEFAULT_wxUSE_PREFERENCES_EDITOR":-$defaultval}"
13068 eval "$wx_cv_use_prefseditor"
13070 if test x
"$enablestring" = xdisable
; then
13071 if test $wxUSE_PREFERENCES_EDITOR = no
; then
13077 result
=$wxUSE_PREFERENCES_EDITOR
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13081 $as_echo "$result" >&6; }
13085 defaultval
=$wxUSE_ALL_FEATURES
13086 if test -z "$defaultval"; then
13087 if test x
"$enablestring" = xdisable
; then
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
13095 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
13096 # Check whether --enable-radiobox was given.
13097 if test "${enable_radiobox+set}" = set; then :
13098 enableval
=$enable_radiobox;
13099 if test "$enableval" = yes; then
13100 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
13102 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
13107 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13112 eval "$wx_cv_use_radiobox"
13114 if test x"$enablestring" = xdisable; then
13115 if test $wxUSE_RADIOBOX = no; then
13121 result=$wxUSE_RADIOBOX
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13125 $as_echo "$result" >&6; }
13129 defaultval=$wxUSE_ALL_FEATURES
13130 if test -z "$defaultval"; then
13131 if test x"$enablestring" = xdisable; then
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13139 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13140 # Check whether --enable-radiobtn was given.
13141 if test "${enable_radiobtn+set}" = set; then :
13142 enableval=$enable_radiobtn;
13143 if test "$enableval" = yes; then
13144 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
13146 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
13151 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13156 eval "$wx_cv_use_radiobtn"
13158 if test x"$enablestring" = xdisable; then
13159 if test $wxUSE_RADIOBTN = no; then
13165 result=$wxUSE_RADIOBTN
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13169 $as_echo "$result" >&6; }
13173 defaultval=$wxUSE_ALL_FEATURES
13174 if test -z "$defaultval"; then
13175 if test x"$enablestring" = xdisable; then
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-richmsgdlg" >&5
13183 $as_echo_n "checking
for --${enablestring:-enable}-richmsgdlg...
" >&6; }
13184 # Check whether --enable-richmsgdlg was given.
13185 if test "${enable_richmsgdlg+set}" = set; then :
13186 enableval=$enable_richmsgdlg;
13187 if test "$enableval" = yes; then
13188 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13190 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13195 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13200 eval "$wx_cv_use_richmsgdlg"
13202 if test x
"$enablestring" = xdisable
; then
13203 if test $wxUSE_RICHMSGDLG = no
; then
13209 result
=$wxUSE_RICHMSGDLG
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13213 $as_echo "$result" >&6; }
13217 defaultval
=$wxUSE_ALL_FEATURES
13218 if test -z "$defaultval"; then
13219 if test x
"$enablestring" = xdisable
; then
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13227 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13228 # Check whether --enable-richtooltip was given.
13229 if test "${enable_richtooltip+set}" = set; then :
13230 enableval
=$enable_richtooltip;
13231 if test "$enableval" = yes; then
13232 wx_cv_use_richtooltip
='wxUSE_RICHTOOLTIP=yes'
13234 wx_cv_use_richtooltip
='wxUSE_RICHTOOLTIP=no'
13239 wx_cv_use_richtooltip
='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13244 eval "$wx_cv_use_richtooltip"
13246 if test x"$enablestring" = xdisable; then
13247 if test $wxUSE_RICHTOOLTIP = no; then
13253 result=$wxUSE_RICHTOOLTIP
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13257 $as_echo "$result" >&6; }
13261 defaultval=$wxUSE_ALL_FEATURES
13262 if test -z "$defaultval"; then
13263 if test x"$enablestring" = xdisable; then
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13271 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13272 # Check whether --enable-rearrangectrl was given.
13273 if test "${enable_rearrangectrl+set}" = set; then :
13274 enableval=$enable_rearrangectrl;
13275 if test "$enableval" = yes; then
13276 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
13278 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
13283 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13288 eval "$wx_cv_use_rearrangectrl"
13290 if test x"$enablestring" = xdisable; then
13291 if test $wxUSE_REARRANGECTRL = no; then
13297 result=$wxUSE_REARRANGECTRL
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13301 $as_echo "$result" >&6; }
13305 defaultval=$wxUSE_ALL_FEATURES
13306 if test -z "$defaultval"; then
13307 if test x"$enablestring" = xdisable; then
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sash" >&5
13315 $as_echo_n "checking
for --${enablestring:-enable}-sash...
" >&6; }
13316 # Check whether --enable-sash was given.
13317 if test "${enable_sash+set}" = set; then :
13318 enableval=$enable_sash;
13319 if test "$enableval" = yes; then
13320 wx_cv_use_sash='wxUSE_SASH=yes'
13322 wx_cv_use_sash='wxUSE_SASH=no'
13327 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13332 eval "$wx_cv_use_sash"
13334 if test x
"$enablestring" = xdisable
; then
13335 if test $wxUSE_SASH = no
; then
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13345 $as_echo "$result" >&6; }
13349 defaultval
=$wxUSE_ALL_FEATURES
13350 if test -z "$defaultval"; then
13351 if test x
"$enablestring" = xdisable
; then
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13359 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13360 # Check whether --enable-scrollbar was given.
13361 if test "${enable_scrollbar+set}" = set; then :
13362 enableval
=$enable_scrollbar;
13363 if test "$enableval" = yes; then
13364 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
13366 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
13371 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13376 eval "$wx_cv_use_scrollbar"
13378 if test x"$enablestring" = xdisable; then
13379 if test $wxUSE_SCROLLBAR = no; then
13385 result=$wxUSE_SCROLLBAR
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13389 $as_echo "$result" >&6; }
13393 defaultval=$wxUSE_ALL_FEATURES
13394 if test -z "$defaultval"; then
13395 if test x"$enablestring" = xdisable; then
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13403 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13404 # Check whether --enable-searchctrl was given.
13405 if test "${enable_searchctrl+set}" = set; then :
13406 enableval=$enable_searchctrl;
13407 if test "$enableval" = yes; then
13408 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
13410 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
13415 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13420 eval "$wx_cv_use_searchctrl"
13422 if test x"$enablestring" = xdisable; then
13423 if test $wxUSE_SEARCHCTRL = no; then
13429 result=$wxUSE_SEARCHCTRL
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13433 $as_echo "$result" >&6; }
13437 defaultval=$wxUSE_ALL_FEATURES
13438 if test -z "$defaultval"; then
13439 if test x"$enablestring" = xdisable; then
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-slider" >&5
13447 $as_echo_n "checking
for --${enablestring:-enable}-slider...
" >&6; }
13448 # Check whether --enable-slider was given.
13449 if test "${enable_slider+set}" = set; then :
13450 enableval=$enable_slider;
13451 if test "$enableval" = yes; then
13452 wx_cv_use_slider='wxUSE_SLIDER=yes'
13454 wx_cv_use_slider='wxUSE_SLIDER=no'
13459 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13464 eval "$wx_cv_use_slider"
13466 if test x
"$enablestring" = xdisable
; then
13467 if test $wxUSE_SLIDER = no
; then
13473 result
=$wxUSE_SLIDER
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13477 $as_echo "$result" >&6; }
13481 defaultval
=$wxUSE_ALL_FEATURES
13482 if test -z "$defaultval"; then
13483 if test x
"$enablestring" = xdisable
; then
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13491 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13492 # Check whether --enable-spinbtn was given.
13493 if test "${enable_spinbtn+set}" = set; then :
13494 enableval
=$enable_spinbtn;
13495 if test "$enableval" = yes; then
13496 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
13498 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
13503 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13508 eval "$wx_cv_use_spinbtn"
13510 if test x"$enablestring" = xdisable; then
13511 if test $wxUSE_SPINBTN = no; then
13517 result=$wxUSE_SPINBTN
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13521 $as_echo "$result" >&6; }
13525 defaultval=$wxUSE_ALL_FEATURES
13526 if test -z "$defaultval"; then
13527 if test x"$enablestring" = xdisable; then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13535 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13536 # Check whether --enable-spinctrl was given.
13537 if test "${enable_spinctrl+set}" = set; then :
13538 enableval=$enable_spinctrl;
13539 if test "$enableval" = yes; then
13540 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
13542 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
13547 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13552 eval "$wx_cv_use_spinctrl"
13554 if test x"$enablestring" = xdisable; then
13555 if test $wxUSE_SPINCTRL = no; then
13561 result=$wxUSE_SPINCTRL
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13565 $as_echo "$result" >&6; }
13569 defaultval=$wxUSE_ALL_FEATURES
13570 if test -z "$defaultval"; then
13571 if test x"$enablestring" = xdisable; then
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-splitter" >&5
13579 $as_echo_n "checking
for --${enablestring:-enable}-splitter...
" >&6; }
13580 # Check whether --enable-splitter was given.
13581 if test "${enable_splitter+set}" = set; then :
13582 enableval=$enable_splitter;
13583 if test "$enableval" = yes; then
13584 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13586 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13591 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13596 eval "$wx_cv_use_splitter"
13598 if test x
"$enablestring" = xdisable
; then
13599 if test $wxUSE_SPLITTER = no
; then
13605 result
=$wxUSE_SPLITTER
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13609 $as_echo "$result" >&6; }
13613 defaultval
=$wxUSE_ALL_FEATURES
13614 if test -z "$defaultval"; then
13615 if test x
"$enablestring" = xdisable
; then
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13623 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13624 # Check whether --enable-statbmp was given.
13625 if test "${enable_statbmp+set}" = set; then :
13626 enableval
=$enable_statbmp;
13627 if test "$enableval" = yes; then
13628 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
13630 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
13635 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13640 eval "$wx_cv_use_statbmp"
13642 if test x"$enablestring" = xdisable; then
13643 if test $wxUSE_STATBMP = no; then
13649 result=$wxUSE_STATBMP
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13653 $as_echo "$result" >&6; }
13657 defaultval=$wxUSE_ALL_FEATURES
13658 if test -z "$defaultval"; then
13659 if test x"$enablestring" = xdisable; then
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13667 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13668 # Check whether --enable-statbox was given.
13669 if test "${enable_statbox+set}" = set; then :
13670 enableval=$enable_statbox;
13671 if test "$enableval" = yes; then
13672 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
13674 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
13679 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13684 eval "$wx_cv_use_statbox"
13686 if test x"$enablestring" = xdisable; then
13687 if test $wxUSE_STATBOX = no; then
13693 result=$wxUSE_STATBOX
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13697 $as_echo "$result" >&6; }
13701 defaultval=$wxUSE_ALL_FEATURES
13702 if test -z "$defaultval"; then
13703 if test x"$enablestring" = xdisable; then
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statline" >&5
13711 $as_echo_n "checking
for --${enablestring:-enable}-statline...
" >&6; }
13712 # Check whether --enable-statline was given.
13713 if test "${enable_statline+set}" = set; then :
13714 enableval=$enable_statline;
13715 if test "$enableval" = yes; then
13716 wx_cv_use_statline='wxUSE_STATLINE=yes'
13718 wx_cv_use_statline='wxUSE_STATLINE=no'
13723 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13728 eval "$wx_cv_use_statline"
13730 if test x
"$enablestring" = xdisable
; then
13731 if test $wxUSE_STATLINE = no
; then
13737 result
=$wxUSE_STATLINE
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13741 $as_echo "$result" >&6; }
13745 defaultval
=$wxUSE_ALL_FEATURES
13746 if test -z "$defaultval"; then
13747 if test x
"$enablestring" = xdisable
; then
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13755 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13756 # Check whether --enable-stattext was given.
13757 if test "${enable_stattext+set}" = set; then :
13758 enableval
=$enable_stattext;
13759 if test "$enableval" = yes; then
13760 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
13762 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
13767 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13772 eval "$wx_cv_use_stattext"
13774 if test x"$enablestring" = xdisable; then
13775 if test $wxUSE_STATTEXT = no; then
13781 result=$wxUSE_STATTEXT
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13785 $as_echo "$result" >&6; }
13789 defaultval=$wxUSE_ALL_FEATURES
13790 if test -z "$defaultval"; then
13791 if test x"$enablestring" = xdisable; then
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13799 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13800 # Check whether --enable-statusbar was given.
13801 if test "${enable_statusbar+set}" = set; then :
13802 enableval=$enable_statusbar;
13803 if test "$enableval" = yes; then
13804 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
13806 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
13811 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13816 eval "$wx_cv_use_statusbar"
13818 if test x"$enablestring" = xdisable; then
13819 if test $wxUSE_STATUSBAR = no; then
13825 result=$wxUSE_STATUSBAR
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13829 $as_echo "$result" >&6; }
13833 defaultval=$wxUSE_ALL_FEATURES
13834 if test -z "$defaultval"; then
13835 if test x"$enablestring" = xdisable; then
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-taskbaricon" >&5
13843 $as_echo_n "checking
for --${enablestring:-enable}-taskbaricon...
" >&6; }
13844 # Check whether --enable-taskbaricon was given.
13845 if test "${enable_taskbaricon+set}" = set; then :
13846 enableval=$enable_taskbaricon;
13847 if test "$enableval" = yes; then
13848 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13850 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13855 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13860 eval "$wx_cv_use_taskbaricon"
13862 if test x
"$enablestring" = xdisable
; then
13863 if test $wxUSE_TASKBARICON = no
; then
13869 result
=$wxUSE_TASKBARICON
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13873 $as_echo "$result" >&6; }
13877 defaultval
=$wxUSE_ALL_FEATURES
13878 if test -z "$defaultval"; then
13879 if test x
"$enablestring" = xdisable
; then
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13887 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13888 # Check whether --enable-tbarnative was given.
13889 if test "${enable_tbarnative+set}" = set; then :
13890 enableval
=$enable_tbarnative;
13891 if test "$enableval" = yes; then
13892 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
13894 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
13899 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13904 eval "$wx_cv_use_tbarnative"
13906 if test x"$enablestring" = xdisable; then
13907 if test $wxUSE_TOOLBAR_NATIVE = no; then
13913 result=$wxUSE_TOOLBAR_NATIVE
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13917 $as_echo "$result" >&6; }
13921 defaultval=$wxUSE_ALL_FEATURES
13922 if test -z "$defaultval"; then
13923 if test x"$enablestring" = xdisable; then
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13931 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13932 # Check whether --enable-textctrl was given.
13933 if test "${enable_textctrl+set}" = set; then :
13934 enableval=$enable_textctrl;
13935 if test "$enableval" = yes; then
13936 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
13938 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
13943 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13948 eval "$wx_cv_use_textctrl"
13950 if test x"$enablestring" = xdisable; then
13951 if test $wxUSE_TEXTCTRL = no; then
13957 result=$wxUSE_TEXTCTRL
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13961 $as_echo "$result" >&6; }
13965 defaultval=$wxUSE_ALL_FEATURES
13966 if test -z "$defaultval"; then
13967 if test x"$enablestring" = xdisable; then
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datepick" >&5
13975 $as_echo_n "checking
for --${enablestring:-enable}-datepick...
" >&6; }
13976 # Check whether --enable-datepick was given.
13977 if test "${enable_datepick+set}" = set; then :
13978 enableval=$enable_datepick;
13979 if test "$enableval" = yes; then
13980 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13982 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13987 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13992 eval "$wx_cv_use_datepick"
13994 if test x
"$enablestring" = xdisable
; then
13995 if test $wxUSE_TIMEPICKCTRL = no
; then
14001 result
=$wxUSE_TIMEPICKCTRL
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14005 $as_echo "$result" >&6; }
14009 defaultval
=$wxUSE_ALL_FEATURES
14010 if test -z "$defaultval"; then
14011 if test x
"$enablestring" = xdisable
; then
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
14019 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
14020 # Check whether --enable-tipwindow was given.
14021 if test "${enable_tipwindow+set}" = set; then :
14022 enableval
=$enable_tipwindow;
14023 if test "$enableval" = yes; then
14024 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
14026 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
14031 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14036 eval "$wx_cv_use_tipwindow"
14038 if test x"$enablestring" = xdisable; then
14039 if test $wxUSE_TIPWINDOW = no; then
14045 result=$wxUSE_TIPWINDOW
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14049 $as_echo "$result" >&6; }
14053 defaultval=$wxUSE_ALL_FEATURES
14054 if test -z "$defaultval"; then
14055 if test x"$enablestring" = xdisable; then
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
14063 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14064 # Check whether --enable-togglebtn was given.
14065 if test "${enable_togglebtn+set}" = set; then :
14066 enableval=$enable_togglebtn;
14067 if test "$enableval" = yes; then
14068 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
14070 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
14075 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14080 eval "$wx_cv_use_togglebtn"
14082 if test x"$enablestring" = xdisable; then
14083 if test $wxUSE_TOGGLEBTN = no; then
14089 result=$wxUSE_TOGGLEBTN
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14093 $as_echo "$result" >&6; }
14097 defaultval=$wxUSE_ALL_FEATURES
14098 if test -z "$defaultval"; then
14099 if test x"$enablestring" = xdisable; then
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-toolbar" >&5
14107 $as_echo_n "checking
for --${enablestring:-enable}-toolbar...
" >&6; }
14108 # Check whether --enable-toolbar was given.
14109 if test "${enable_toolbar+set}" = set; then :
14110 enableval=$enable_toolbar;
14111 if test "$enableval" = yes; then
14112 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
14114 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
14119 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14124 eval "$wx_cv_use_toolbar"
14126 if test x
"$enablestring" = xdisable
; then
14127 if test $wxUSE_TOOLBAR = no
; then
14133 result
=$wxUSE_TOOLBAR
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14137 $as_echo "$result" >&6; }
14141 defaultval
=$wxUSE_ALL_FEATURES
14142 if test -z "$defaultval"; then
14143 if test x
"$enablestring" = xdisable
; then
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14151 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14152 # Check whether --enable-toolbook was given.
14153 if test "${enable_toolbook+set}" = set; then :
14154 enableval
=$enable_toolbook;
14155 if test "$enableval" = yes; then
14156 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
14158 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
14163 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14168 eval "$wx_cv_use_toolbook"
14170 if test x"$enablestring" = xdisable; then
14171 if test $wxUSE_TOOLBOOK = no; then
14177 result=$wxUSE_TOOLBOOK
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14181 $as_echo "$result" >&6; }
14185 defaultval=$wxUSE_ALL_FEATURES
14186 if test -z "$defaultval"; then
14187 if test x"$enablestring" = xdisable; then
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14195 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14196 # Check whether --enable-treebook was given.
14197 if test "${enable_treebook+set}" = set; then :
14198 enableval=$enable_treebook;
14199 if test "$enableval" = yes; then
14200 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
14202 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
14207 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14212 eval "$wx_cv_use_treebook"
14214 if test x"$enablestring" = xdisable; then
14215 if test $wxUSE_TREEBOOK = no; then
14221 result=$wxUSE_TREEBOOK
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14225 $as_echo "$result" >&6; }
14229 defaultval=$wxUSE_ALL_FEATURES
14230 if test -z "$defaultval"; then
14231 if test x"$enablestring" = xdisable; then
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treectrl" >&5
14239 $as_echo_n "checking
for --${enablestring:-enable}-treectrl...
" >&6; }
14240 # Check whether --enable-treectrl was given.
14241 if test "${enable_treectrl+set}" = set; then :
14242 enableval=$enable_treectrl;
14243 if test "$enableval" = yes; then
14244 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14246 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14251 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14256 eval "$wx_cv_use_treectrl"
14258 if test x
"$enablestring" = xdisable
; then
14259 if test $wxUSE_TREECTRL = no
; then
14265 result
=$wxUSE_TREECTRL
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14269 $as_echo "$result" >&6; }
14273 defaultval
=$wxUSE_ALL_FEATURES
14274 if test -z "$defaultval"; then
14275 if test x
"$enablestring" = xdisable
; then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14283 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14284 # Check whether --enable-treelist was given.
14285 if test "${enable_treelist+set}" = set; then :
14286 enableval
=$enable_treelist;
14287 if test "$enableval" = yes; then
14288 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=yes'
14290 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=no'
14295 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14300 eval "$wx_cv_use_treelist"
14302 if test x"$enablestring" = xdisable; then
14303 if test $wxUSE_TREELISTCTRL = no; then
14309 result=$wxUSE_TREELISTCTRL
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14313 $as_echo "$result" >&6; }
14319 defaultval=$wxUSE_ALL_FEATURES
14320 if test -z "$defaultval"; then
14321 if test x"$enablestring" = xdisable; then
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14329 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14330 # Check whether --enable-commondlg was given.
14331 if test "${enable_commondlg+set}" = set; then :
14332 enableval=$enable_commondlg;
14333 if test "$enableval" = yes; then
14334 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
14336 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
14341 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14346 eval "$wx_cv_use_commondlg"
14348 if test x"$enablestring" = xdisable; then
14349 if test $wxUSE_COMMONDLGS = no; then
14355 result=$wxUSE_COMMONDLGS
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14359 $as_echo "$result" >&6; }
14363 defaultval=$wxUSE_ALL_FEATURES
14364 if test -z "$defaultval"; then
14365 if test x"$enablestring" = xdisable; then
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-aboutdlg" >&5
14373 $as_echo_n "checking
for --${enablestring:-enable}-aboutdlg...
" >&6; }
14374 # Check whether --enable-aboutdlg was given.
14375 if test "${enable_aboutdlg+set}" = set; then :
14376 enableval=$enable_aboutdlg;
14377 if test "$enableval" = yes; then
14378 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14380 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14385 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14390 eval "$wx_cv_use_aboutdlg"
14392 if test x
"$enablestring" = xdisable
; then
14393 if test $wxUSE_ABOUTDLG = no
; then
14399 result
=$wxUSE_ABOUTDLG
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14403 $as_echo "$result" >&6; }
14407 defaultval
=$wxUSE_ALL_FEATURES
14408 if test -z "$defaultval"; then
14409 if test x
"$enablestring" = xdisable
; then
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14417 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14418 # Check whether --enable-choicedlg was given.
14419 if test "${enable_choicedlg+set}" = set; then :
14420 enableval
=$enable_choicedlg;
14421 if test "$enableval" = yes; then
14422 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
14424 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
14429 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14434 eval "$wx_cv_use_choicedlg"
14436 if test x"$enablestring" = xdisable; then
14437 if test $wxUSE_CHOICEDLG = no; then
14443 result=$wxUSE_CHOICEDLG
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14447 $as_echo "$result" >&6; }
14451 defaultval=$wxUSE_ALL_FEATURES
14452 if test -z "$defaultval"; then
14453 if test x"$enablestring" = xdisable; then
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14461 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14462 # Check whether --enable-coldlg was given.
14463 if test "${enable_coldlg+set}" = set; then :
14464 enableval=$enable_coldlg;
14465 if test "$enableval" = yes; then
14466 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
14468 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
14473 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14478 eval "$wx_cv_use_coldlg"
14480 if test x"$enablestring" = xdisable; then
14481 if test $wxUSE_COLOURDLG = no; then
14487 result=$wxUSE_COLOURDLG
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14491 $as_echo "$result" >&6; }
14495 defaultval=$wxUSE_ALL_FEATURES
14496 if test -z "$defaultval"; then
14497 if test x"$enablestring" = xdisable; then
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filedlg" >&5
14505 $as_echo_n "checking
for --${enablestring:-enable}-filedlg...
" >&6; }
14506 # Check whether --enable-filedlg was given.
14507 if test "${enable_filedlg+set}" = set; then :
14508 enableval=$enable_filedlg;
14509 if test "$enableval" = yes; then
14510 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14512 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14517 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14522 eval "$wx_cv_use_filedlg"
14524 if test x
"$enablestring" = xdisable
; then
14525 if test $wxUSE_FILEDLG = no
; then
14531 result
=$wxUSE_FILEDLG
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14535 $as_echo "$result" >&6; }
14539 defaultval
=$wxUSE_ALL_FEATURES
14540 if test -z "$defaultval"; then
14541 if test x
"$enablestring" = xdisable
; then
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14549 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14550 # Check whether --enable-finddlg was given.
14551 if test "${enable_finddlg+set}" = set; then :
14552 enableval
=$enable_finddlg;
14553 if test "$enableval" = yes; then
14554 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
14556 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
14561 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14566 eval "$wx_cv_use_finddlg"
14568 if test x"$enablestring" = xdisable; then
14569 if test $wxUSE_FINDREPLDLG = no; then
14575 result=$wxUSE_FINDREPLDLG
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14579 $as_echo "$result" >&6; }
14583 defaultval=$wxUSE_ALL_FEATURES
14584 if test -z "$defaultval"; then
14585 if test x"$enablestring" = xdisable; then
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14593 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14594 # Check whether --enable-fontdlg was given.
14595 if test "${enable_fontdlg+set}" = set; then :
14596 enableval=$enable_fontdlg;
14597 if test "$enableval" = yes; then
14598 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
14600 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
14605 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14610 eval "$wx_cv_use_fontdlg"
14612 if test x"$enablestring" = xdisable; then
14613 if test $wxUSE_FONTDLG = no; then
14619 result=$wxUSE_FONTDLG
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14623 $as_echo "$result" >&6; }
14627 defaultval=$wxUSE_ALL_FEATURES
14628 if test -z "$defaultval"; then
14629 if test x"$enablestring" = xdisable; then
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dirdlg" >&5
14637 $as_echo_n "checking
for --${enablestring:-enable}-dirdlg...
" >&6; }
14638 # Check whether --enable-dirdlg was given.
14639 if test "${enable_dirdlg+set}" = set; then :
14640 enableval=$enable_dirdlg;
14641 if test "$enableval" = yes; then
14642 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14644 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14649 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14654 eval "$wx_cv_use_dirdlg"
14656 if test x
"$enablestring" = xdisable
; then
14657 if test $wxUSE_DIRDLG = no
; then
14663 result
=$wxUSE_DIRDLG
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14667 $as_echo "$result" >&6; }
14671 defaultval
=$wxUSE_ALL_FEATURES
14672 if test -z "$defaultval"; then
14673 if test x
"$enablestring" = xdisable
; then
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14681 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14682 # Check whether --enable-msgdlg was given.
14683 if test "${enable_msgdlg+set}" = set; then :
14684 enableval
=$enable_msgdlg;
14685 if test "$enableval" = yes; then
14686 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
14688 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
14693 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14698 eval "$wx_cv_use_msgdlg"
14700 if test x"$enablestring" = xdisable; then
14701 if test $wxUSE_MSGDLG = no; then
14707 result=$wxUSE_MSGDLG
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14711 $as_echo "$result" >&6; }
14715 defaultval=$wxUSE_ALL_FEATURES
14716 if test -z "$defaultval"; then
14717 if test x"$enablestring" = xdisable; then
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14725 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14726 # Check whether --enable-numberdlg was given.
14727 if test "${enable_numberdlg+set}" = set; then :
14728 enableval=$enable_numberdlg;
14729 if test "$enableval" = yes; then
14730 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
14732 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
14737 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14742 eval "$wx_cv_use_numberdlg"
14744 if test x"$enablestring" = xdisable; then
14745 if test $wxUSE_NUMBERDLG = no; then
14751 result=$wxUSE_NUMBERDLG
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14755 $as_echo "$result" >&6; }
14759 defaultval=$wxUSE_ALL_FEATURES
14760 if test -z "$defaultval"; then
14761 if test x"$enablestring" = xdisable; then
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-splash" >&5
14769 $as_echo_n "checking
for --${enablestring:-enable}-splash...
" >&6; }
14770 # Check whether --enable-splash was given.
14771 if test "${enable_splash+set}" = set; then :
14772 enableval=$enable_splash;
14773 if test "$enableval" = yes; then
14774 wx_cv_use_splash='wxUSE_SPLASH=yes'
14776 wx_cv_use_splash='wxUSE_SPLASH=no'
14781 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14786 eval "$wx_cv_use_splash"
14788 if test x
"$enablestring" = xdisable
; then
14789 if test $wxUSE_SPLASH = no
; then
14795 result
=$wxUSE_SPLASH
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14799 $as_echo "$result" >&6; }
14803 defaultval
=$wxUSE_ALL_FEATURES
14804 if test -z "$defaultval"; then
14805 if test x
"$enablestring" = xdisable
; then
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14813 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14814 # Check whether --enable-textdlg was given.
14815 if test "${enable_textdlg+set}" = set; then :
14816 enableval
=$enable_textdlg;
14817 if test "$enableval" = yes; then
14818 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
14820 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
14825 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14830 eval "$wx_cv_use_textdlg"
14832 if test x"$enablestring" = xdisable; then
14833 if test $wxUSE_TEXTDLG = no; then
14839 result=$wxUSE_TEXTDLG
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14843 $as_echo "$result" >&6; }
14847 defaultval=$wxUSE_ALL_FEATURES
14848 if test -z "$defaultval"; then
14849 if test x"$enablestring" = xdisable; then
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14857 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14858 # Check whether --enable-tipdlg was given.
14859 if test "${enable_tipdlg+set}" = set; then :
14860 enableval=$enable_tipdlg;
14861 if test "$enableval" = yes; then
14862 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
14864 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
14869 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14874 eval "$wx_cv_use_tipdlg"
14876 if test x"$enablestring" = xdisable; then
14877 if test $wxUSE_STARTUP_TIPS = no; then
14883 result=$wxUSE_STARTUP_TIPS
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14887 $as_echo "$result" >&6; }
14891 defaultval=$wxUSE_ALL_FEATURES
14892 if test -z "$defaultval"; then
14893 if test x"$enablestring" = xdisable; then
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-progressdlg" >&5
14901 $as_echo_n "checking
for --${enablestring:-enable}-progressdlg...
" >&6; }
14902 # Check whether --enable-progressdlg was given.
14903 if test "${enable_progressdlg+set}" = set; then :
14904 enableval=$enable_progressdlg;
14905 if test "$enableval" = yes; then
14906 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14908 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14913 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14918 eval "$wx_cv_use_progressdlg"
14920 if test x
"$enablestring" = xdisable
; then
14921 if test $wxUSE_PROGRESSDLG = no
; then
14927 result
=$wxUSE_PROGRESSDLG
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14931 $as_echo "$result" >&6; }
14935 defaultval
=$wxUSE_ALL_FEATURES
14936 if test -z "$defaultval"; then
14937 if test x
"$enablestring" = xdisable
; then
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14945 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14946 # Check whether --enable-wizarddlg was given.
14947 if test "${enable_wizarddlg+set}" = set; then :
14948 enableval
=$enable_wizarddlg;
14949 if test "$enableval" = yes; then
14950 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
14952 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
14957 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14962 eval "$wx_cv_use_wizarddlg"
14964 if test x"$enablestring" = xdisable; then
14965 if test $wxUSE_WIZARDDLG = no; then
14971 result=$wxUSE_WIZARDDLG
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14975 $as_echo "$result" >&6; }
14981 defaultval=$wxUSE_ALL_FEATURES
14982 if test -z "$defaultval"; then
14983 if test x"$enablestring" = xdisable; then
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14991 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14992 # Check whether --enable-menus was given.
14993 if test "${enable_menus+set}" = set; then :
14994 enableval=$enable_menus;
14995 if test "$enableval" = yes; then
14996 wx_cv_use_menus='wxUSE_MENUS
=yes'
14998 wx_cv_use_menus='wxUSE_MENUS
=no
'
15003 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15008 eval "$wx_cv_use_menus"
15010 if test x"$enablestring" = xdisable; then
15011 if test $wxUSE_MENUS = no; then
15017 result=$wxUSE_MENUS
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15021 $as_echo "$result" >&6; }
15025 defaultval=$wxUSE_ALL_FEATURES
15026 if test -z "$defaultval"; then
15027 if test x"$enablestring" = xdisable; then
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-miniframe" >&5
15035 $as_echo_n "checking
for --${enablestring:-enable}-miniframe...
" >&6; }
15036 # Check whether --enable-miniframe was given.
15037 if test "${enable_miniframe+set}" = set; then :
15038 enableval=$enable_miniframe;
15039 if test "$enableval" = yes; then
15040 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15042 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15047 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15052 eval "$wx_cv_use_miniframe"
15054 if test x
"$enablestring" = xdisable
; then
15055 if test $wxUSE_MINIFRAME = no
; then
15061 result
=$wxUSE_MINIFRAME
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15065 $as_echo "$result" >&6; }
15069 defaultval
=$wxUSE_ALL_FEATURES
15070 if test -z "$defaultval"; then
15071 if test x
"$enablestring" = xdisable
; then
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
15079 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
15080 # Check whether --enable-tooltips was given.
15081 if test "${enable_tooltips+set}" = set; then :
15082 enableval
=$enable_tooltips;
15083 if test "$enableval" = yes; then
15084 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
15086 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
15091 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15096 eval "$wx_cv_use_tooltips"
15098 if test x"$enablestring" = xdisable; then
15099 if test $wxUSE_TOOLTIPS = no; then
15105 result=$wxUSE_TOOLTIPS
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15109 $as_echo "$result" >&6; }
15113 defaultval=$wxUSE_ALL_FEATURES
15114 if test -z "$defaultval"; then
15115 if test x"$enablestring" = xdisable; then
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15123 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15124 # Check whether --enable-splines was given.
15125 if test "${enable_splines+set}" = set; then :
15126 enableval=$enable_splines;
15127 if test "$enableval" = yes; then
15128 wx_cv_use_splines='wxUSE_SPLINES
=yes'
15130 wx_cv_use_splines='wxUSE_SPLINES
=no
'
15135 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15140 eval "$wx_cv_use_splines"
15142 if test x"$enablestring" = xdisable; then
15143 if test $wxUSE_SPLINES = no; then
15149 result=$wxUSE_SPLINES
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15153 $as_echo "$result" >&6; }
15157 defaultval=$wxUSE_ALL_FEATURES
15158 if test -z "$defaultval"; then
15159 if test x"$enablestring" = xdisable; then
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mousewheel" >&5
15167 $as_echo_n "checking
for --${enablestring:-enable}-mousewheel...
" >&6; }
15168 # Check whether --enable-mousewheel was given.
15169 if test "${enable_mousewheel+set}" = set; then :
15170 enableval=$enable_mousewheel;
15171 if test "$enableval" = yes; then
15172 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15174 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15179 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15184 eval "$wx_cv_use_mousewheel"
15186 if test x
"$enablestring" = xdisable
; then
15187 if test $wxUSE_MOUSEWHEEL = no
; then
15193 result
=$wxUSE_MOUSEWHEEL
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15197 $as_echo "$result" >&6; }
15201 defaultval
=$wxUSE_ALL_FEATURES
15202 if test -z "$defaultval"; then
15203 if test x
"$enablestring" = xdisable
; then
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15211 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15212 # Check whether --enable-validators was given.
15213 if test "${enable_validators+set}" = set; then :
15214 enableval
=$enable_validators;
15215 if test "$enableval" = yes; then
15216 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
15218 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
15223 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15228 eval "$wx_cv_use_validators"
15230 if test x"$enablestring" = xdisable; then
15231 if test $wxUSE_VALIDATORS = no; then
15237 result=$wxUSE_VALIDATORS
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15241 $as_echo "$result" >&6; }
15245 defaultval=$wxUSE_ALL_FEATURES
15246 if test -z "$defaultval"; then
15247 if test x"$enablestring" = xdisable; then
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15255 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15256 # Check whether --enable-busyinfo was given.
15257 if test "${enable_busyinfo+set}" = set; then :
15258 enableval=$enable_busyinfo;
15259 if test "$enableval" = yes; then
15260 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
15262 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
15267 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15272 eval "$wx_cv_use_busyinfo"
15274 if test x"$enablestring" = xdisable; then
15275 if test $wxUSE_BUSYINFO = no; then
15281 result=$wxUSE_BUSYINFO
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15285 $as_echo "$result" >&6; }
15289 defaultval=$wxUSE_ALL_FEATURES
15290 if test -z "$defaultval"; then
15291 if test x"$enablestring" = xdisable; then
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-hotkey" >&5
15299 $as_echo_n "checking
for --${enablestring:-enable}-hotkey...
" >&6; }
15300 # Check whether --enable-hotkey was given.
15301 if test "${enable_hotkey+set}" = set; then :
15302 enableval=$enable_hotkey;
15303 if test "$enableval" = yes; then
15304 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15306 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15311 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15316 eval "$wx_cv_use_hotkey"
15318 if test x
"$enablestring" = xdisable
; then
15319 if test $wxUSE_HOTKEY = no
; then
15325 result
=$wxUSE_HOTKEY
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15329 $as_echo "$result" >&6; }
15333 defaultval
=$wxUSE_ALL_FEATURES
15334 if test -z "$defaultval"; then
15335 if test x
"$enablestring" = xdisable
; then
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15343 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15344 # Check whether --enable-joystick was given.
15345 if test "${enable_joystick+set}" = set; then :
15346 enableval
=$enable_joystick;
15347 if test "$enableval" = yes; then
15348 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
15350 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
15355 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15360 eval "$wx_cv_use_joystick"
15362 if test x"$enablestring" = xdisable; then
15363 if test $wxUSE_JOYSTICK = no; then
15369 result=$wxUSE_JOYSTICK
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15373 $as_echo "$result" >&6; }
15377 defaultval=$wxUSE_ALL_FEATURES
15378 if test -z "$defaultval"; then
15379 if test x"$enablestring" = xdisable; then
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15387 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15388 # Check whether --enable-metafile was given.
15389 if test "${enable_metafile+set}" = set; then :
15390 enableval=$enable_metafile;
15391 if test "$enableval" = yes; then
15392 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
15394 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
15399 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15404 eval "$wx_cv_use_metafile"
15406 if test x"$enablestring" = xdisable; then
15407 if test $wxUSE_METAFILE = no; then
15413 result=$wxUSE_METAFILE
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15417 $as_echo "$result" >&6; }
15421 defaultval=$wxUSE_ALL_FEATURES
15422 if test -z "$defaultval"; then
15423 if test x"$enablestring" = xdisable; then
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dragimage" >&5
15431 $as_echo_n "checking
for --${enablestring:-enable}-dragimage...
" >&6; }
15432 # Check whether --enable-dragimage was given.
15433 if test "${enable_dragimage+set}" = set; then :
15434 enableval=$enable_dragimage;
15435 if test "$enableval" = yes; then
15436 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15438 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15443 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15448 eval "$wx_cv_use_dragimage"
15450 if test x
"$enablestring" = xdisable
; then
15451 if test $wxUSE_DRAGIMAGE = no
; then
15457 result
=$wxUSE_DRAGIMAGE
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15461 $as_echo "$result" >&6; }
15465 defaultval
=$wxUSE_ALL_FEATURES
15466 if test -z "$defaultval"; then
15467 if test x
"$enablestring" = xdisable
; then
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15475 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15476 # Check whether --enable-accessibility was given.
15477 if test "${enable_accessibility+set}" = set; then :
15478 enableval
=$enable_accessibility;
15479 if test "$enableval" = yes; then
15480 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
15482 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
15487 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15492 eval "$wx_cv_use_accessibility"
15494 if test x"$enablestring" = xdisable; then
15495 if test $wxUSE_ACCESSIBILITY = no; then
15501 result=$wxUSE_ACCESSIBILITY
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15505 $as_echo "$result" >&6; }
15509 defaultval=$wxUSE_ALL_FEATURES
15510 if test -z "$defaultval"; then
15511 if test x"$enablestring" = xdisable; then
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15519 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15520 # Check whether --enable-uiactionsim was given.
15521 if test "${enable_uiactionsim+set}" = set; then :
15522 enableval=$enable_uiactionsim;
15523 if test "$enableval" = yes; then
15524 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=yes'
15526 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=no
'
15531 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15536 eval "$wx_cv_use_uiactionsim"
15538 if test x"$enablestring" = xdisable; then
15539 if test $wxUSE_UIACTIONSIMULATOR = no; then
15545 result=$wxUSE_UIACTIONSIMULATOR
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15549 $as_echo "$result" >&6; }
15553 defaultval=$wxUSE_ALL_FEATURES
15554 if test -z "$defaultval"; then
15555 if test x"$enablestring" = xdisable; then
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dctransform" >&5
15563 $as_echo_n "checking
for --${enablestring:-enable}-dctransform...
" >&6; }
15564 # Check whether --enable-dctransform was given.
15565 if test "${enable_dctransform+set}" = set; then :
15566 enableval=$enable_dctransform;
15567 if test "$enableval" = yes; then
15568 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15570 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15575 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15580 eval "$wx_cv_use_dctransform"
15582 if test x
"$enablestring" = xdisable
; then
15583 if test $wxUSE_DC_TRANSFORM_MATRIX = no
; then
15589 result
=$wxUSE_DC_TRANSFORM_MATRIX
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15593 $as_echo "$result" >&6; }
15597 defaultval
=$wxUSE_ALL_FEATURES
15598 if test -z "$defaultval"; then
15599 if test x
"$enablestring" = xdisable
; then
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15607 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15608 # Check whether --enable-webviewwebkit was given.
15609 if test "${enable_webviewwebkit+set}" = set; then :
15610 enableval
=$enable_webviewwebkit;
15611 if test "$enableval" = yes; then
15612 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=yes'
15614 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=no'
15619 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15624 eval "$wx_cv_use_webviewwebkit"
15626 if test x"$enablestring" = xdisable; then
15627 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15633 result=$wxUSE_WEBVIEW_WEBKIT
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15637 $as_echo "$result" >&6; }
15643 defaultval=$wxUSE_ALL_FEATURES
15644 if test -z "$defaultval"; then
15645 if test x"$enablestring" = xdisable; then
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15653 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15654 # Check whether --enable-palette was given.
15655 if test "${enable_palette+set}" = set; then :
15656 enableval=$enable_palette;
15657 if test "$enableval" = yes; then
15658 wx_cv_use_palette='wxUSE_PALETTE
=yes'
15660 wx_cv_use_palette='wxUSE_PALETTE
=no
'
15665 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15670 eval "$wx_cv_use_palette"
15672 if test x"$enablestring" = xdisable; then
15673 if test $wxUSE_PALETTE = no; then
15679 result=$wxUSE_PALETTE
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15683 $as_echo "$result" >&6; }
15687 defaultval=$wxUSE_ALL_FEATURES
15688 if test -z "$defaultval"; then
15689 if test x"$enablestring" = xdisable; then
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-image" >&5
15697 $as_echo_n "checking
for --${enablestring:-enable}-image...
" >&6; }
15698 # Check whether --enable-image was given.
15699 if test "${enable_image+set}" = set; then :
15700 enableval=$enable_image;
15701 if test "$enableval" = yes; then
15702 wx_cv_use_image='wxUSE_IMAGE=yes'
15704 wx_cv_use_image='wxUSE_IMAGE=no'
15709 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15714 eval "$wx_cv_use_image"
15716 if test x
"$enablestring" = xdisable
; then
15717 if test $wxUSE_IMAGE = no
; then
15723 result
=$wxUSE_IMAGE
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15727 $as_echo "$result" >&6; }
15731 defaultval
=$wxUSE_ALL_FEATURES
15732 if test -z "$defaultval"; then
15733 if test x
"$enablestring" = xdisable
; then
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15741 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15742 # Check whether --enable-gif was given.
15743 if test "${enable_gif+set}" = set; then :
15744 enableval
=$enable_gif;
15745 if test "$enableval" = yes; then
15746 wx_cv_use_gif
='wxUSE_GIF=yes'
15748 wx_cv_use_gif
='wxUSE_GIF=no'
15753 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15758 eval "$wx_cv_use_gif"
15760 if test x"$enablestring" = xdisable; then
15761 if test $wxUSE_GIF = no; then
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15771 $as_echo "$result" >&6; }
15775 defaultval=$wxUSE_ALL_FEATURES
15776 if test -z "$defaultval"; then
15777 if test x"$enablestring" = xdisable; then
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15785 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15786 # Check whether --enable-pcx was given.
15787 if test "${enable_pcx+set}" = set; then :
15788 enableval=$enable_pcx;
15789 if test "$enableval" = yes; then
15790 wx_cv_use_pcx='wxUSE_PCX
=yes'
15792 wx_cv_use_pcx='wxUSE_PCX
=no
'
15797 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15802 eval "$wx_cv_use_pcx"
15804 if test x"$enablestring" = xdisable; then
15805 if test $wxUSE_PCX = no; then
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15815 $as_echo "$result" >&6; }
15819 defaultval=$wxUSE_ALL_FEATURES
15820 if test -z "$defaultval"; then
15821 if test x"$enablestring" = xdisable; then
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tga" >&5
15829 $as_echo_n "checking
for --${enablestring:-enable}-tga...
" >&6; }
15830 # Check whether --enable-tga was given.
15831 if test "${enable_tga+set}" = set; then :
15832 enableval=$enable_tga;
15833 if test "$enableval" = yes; then
15834 wx_cv_use_tga='wxUSE_TGA=yes'
15836 wx_cv_use_tga='wxUSE_TGA=no'
15841 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15846 eval "$wx_cv_use_tga"
15848 if test x
"$enablestring" = xdisable
; then
15849 if test $wxUSE_TGA = no
; then
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15859 $as_echo "$result" >&6; }
15863 defaultval
=$wxUSE_ALL_FEATURES
15864 if test -z "$defaultval"; then
15865 if test x
"$enablestring" = xdisable
; then
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15873 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15874 # Check whether --enable-iff was given.
15875 if test "${enable_iff+set}" = set; then :
15876 enableval
=$enable_iff;
15877 if test "$enableval" = yes; then
15878 wx_cv_use_iff
='wxUSE_IFF=yes'
15880 wx_cv_use_iff
='wxUSE_IFF=no'
15885 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15890 eval "$wx_cv_use_iff"
15892 if test x"$enablestring" = xdisable; then
15893 if test $wxUSE_IFF = no; then
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15903 $as_echo "$result" >&6; }
15907 defaultval=$wxUSE_ALL_FEATURES
15908 if test -z "$defaultval"; then
15909 if test x"$enablestring" = xdisable; then
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15917 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15918 # Check whether --enable-pnm was given.
15919 if test "${enable_pnm+set}" = set; then :
15920 enableval=$enable_pnm;
15921 if test "$enableval" = yes; then
15922 wx_cv_use_pnm='wxUSE_PNM
=yes'
15924 wx_cv_use_pnm='wxUSE_PNM
=no
'
15929 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15934 eval "$wx_cv_use_pnm"
15936 if test x"$enablestring" = xdisable; then
15937 if test $wxUSE_PNM = no; then
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15947 $as_echo "$result" >&6; }
15951 defaultval=$wxUSE_ALL_FEATURES
15952 if test -z "$defaultval"; then
15953 if test x"$enablestring" = xdisable; then
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-xpm" >&5
15961 $as_echo_n "checking
for --${enablestring:-enable}-xpm...
" >&6; }
15962 # Check whether --enable-xpm was given.
15963 if test "${enable_xpm+set}" = set; then :
15964 enableval=$enable_xpm;
15965 if test "$enableval" = yes; then
15966 wx_cv_use_xpm='wxUSE_XPM=yes'
15968 wx_cv_use_xpm='wxUSE_XPM=no'
15973 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15978 eval "$wx_cv_use_xpm"
15980 if test x
"$enablestring" = xdisable
; then
15981 if test $wxUSE_XPM = no
; then
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15991 $as_echo "$result" >&6; }
15995 defaultval
=$wxUSE_ALL_FEATURES
15996 if test -z "$defaultval"; then
15997 if test x
"$enablestring" = xdisable
; then
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
16005 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
16006 # Check whether --enable-ico_cur was given.
16007 if test "${enable_ico_cur+set}" = set; then :
16008 enableval
=$enable_ico_cur;
16009 if test "$enableval" = yes; then
16010 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
16012 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
16017 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16022 eval "$wx_cv_use_ico_cur"
16024 if test x"$enablestring" = xdisable; then
16025 if test $wxUSE_ICO_CUR = no; then
16031 result=$wxUSE_ICO_CUR
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16035 $as_echo "$result" >&6; }
16041 defaultval=$wxUSE_ALL_FEATURES
16042 if test -z "$defaultval"; then
16043 if test x"$enablestring" = xdisable; then
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
16051 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
16052 # Check whether --enable-dccache was given.
16053 if test "${enable_dccache+set}" = set; then :
16054 enableval=$enable_dccache;
16055 if test "$enableval" = yes; then
16056 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
16058 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
16063 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16068 eval "$wx_cv_use_dccache"
16070 if test x"$enablestring" = xdisable; then
16071 if test $wxUSE_DC_CACHEING = no; then
16077 result=$wxUSE_DC_CACHEING
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16081 $as_echo "$result" >&6; }
16085 defaultval=$wxUSE_ALL_FEATURES
16086 if test -z "$defaultval"; then
16087 if test x"$enablestring" = xdisable; then
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ps-in-msw" >&5
16095 $as_echo_n "checking
for --${enablestring:-enable}-ps-in-msw...
" >&6; }
16096 # Check whether --enable-ps-in-msw was given.
16097 if test "${enable_ps_in_msw+set}" = set; then :
16098 enableval=$enable_ps_in_msw;
16099 if test "$enableval" = yes; then
16100 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16102 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16107 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16112 eval "$wx_cv_use_ps_in_msw"
16114 if test x
"$enablestring" = xdisable
; then
16115 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
16121 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16125 $as_echo "$result" >&6; }
16129 defaultval
=$wxUSE_ALL_FEATURES
16130 if test -z "$defaultval"; then
16131 if test x
"$enablestring" = xdisable
; then
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16139 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16140 # Check whether --enable-ownerdrawn was given.
16141 if test "${enable_ownerdrawn+set}" = set; then :
16142 enableval
=$enable_ownerdrawn;
16143 if test "$enableval" = yes; then
16144 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
16146 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
16151 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16156 eval "$wx_cv_use_ownerdrawn"
16158 if test x"$enablestring" = xdisable; then
16159 if test $wxUSE_OWNER_DRAWN = no; then
16165 result=$wxUSE_OWNER_DRAWN
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16169 $as_echo "$result" >&6; }
16173 defaultval=$wxUSE_ALL_FEATURES
16174 if test -z "$defaultval"; then
16175 if test x"$enablestring" = xdisable; then
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16183 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16184 # Check whether --enable-uxtheme was given.
16185 if test "${enable_uxtheme+set}" = set; then :
16186 enableval=$enable_uxtheme;
16187 if test "$enableval" = yes; then
16188 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
16190 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
16195 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16200 eval "$wx_cv_use_uxtheme"
16202 if test x"$enablestring" = xdisable; then
16203 if test $wxUSE_UXTHEME = no; then
16209 result=$wxUSE_UXTHEME
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16213 $as_echo "$result" >&6; }
16217 defaultval=$wxUSE_ALL_FEATURES
16218 if test -z "$defaultval"; then
16219 if test x"$enablestring" = xdisable; then
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-wxdib" >&5
16227 $as_echo_n "checking
for --${enablestring:-enable}-wxdib...
" >&6; }
16228 # Check whether --enable-wxdib was given.
16229 if test "${enable_wxdib+set}" = set; then :
16230 enableval=$enable_wxdib;
16231 if test "$enableval" = yes; then
16232 wx_cv_use_wxdib='wxUSE_DIB=yes'
16234 wx_cv_use_wxdib='wxUSE_DIB=no'
16239 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16244 eval "$wx_cv_use_wxdib"
16246 if test x
"$enablestring" = xdisable
; then
16247 if test $wxUSE_DIB = no
; then
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16257 $as_echo "$result" >&6; }
16261 defaultval
=$wxUSE_ALL_FEATURES
16262 if test -z "$defaultval"; then
16263 if test x
"$enablestring" = xdisable
; then
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16271 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16272 # Check whether --enable-webviewie was given.
16273 if test "${enable_webviewie+set}" = set; then :
16274 enableval
=$enable_webviewie;
16275 if test "$enableval" = yes; then
16276 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=yes'
16278 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=no'
16283 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16288 eval "$wx_cv_use_webviewie"
16290 if test x"$enablestring" = xdisable; then
16291 if test $wxUSE_WEBVIEW_IE = no; then
16297 result=$wxUSE_WEBVIEW_IE
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16301 $as_echo "$result" >&6; }
16304 if test "$wxUSE_MSW" != 1; then
16305 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16310 defaultval=$wxUSE_ALL_FEATURES
16311 if test -z "$defaultval"; then
16312 if test x"$enablestring" = xdisable; then
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16320 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16321 # Check whether --enable-autoidman was given.
16322 if test "${enable_autoidman+set}" = set; then :
16323 enableval=$enable_autoidman;
16324 if test "$enableval" = yes; then
16325 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
16327 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
16332 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16337 eval "$wx_cv_use_autoidman"
16339 if test x"$enablestring" = xdisable; then
16340 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16346 result=$wxUSE_AUTOID_MANAGEMENT
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16350 $as_echo "$result" >&6; }
16356 cat >confcache <<\_ACEOF
16357 # This file is a shell script that caches the results of configure
16358 # tests run on this system so they can be shared between configure
16359 # scripts and configure runs, see configure's option --config-cache.
16360 # It is not useful on other systems. If it contains results you don't
16361 # want to keep, you may remove or edit it.
16363 # config.status only pays attention to the cache file if you give it
16364 # the --recheck option to rerun configure.
16366 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16367 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16368 # following values.
16372 # The following way of writing the cache mishandles newlines in values,
16373 # but we know of no workaround that is simple, portable, and efficient.
16374 # So, we kill variables containing newlines.
16375 # Ultrix sh set writes to stderr and can't be redirected directly,
16376 # and sets the high bit in the cache file unless we assign to the vars.
16378 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16379 eval ac_val=\$$ac_var
16383 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
16384 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
16387 _ | IFS | as_nl) ;; #(
16388 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16389 *) { eval $ac_var=; unset $ac_var;} ;;
16395 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16396 *${as_nl}ac_space=\ *)
16397 # `set' does not quote correctly, so add quotes: double-quote
16398 # substitution turns \\\\ into \\, and sed turns \\ into \.
16401 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
16404 # `set' quotes correctly as required by POSIX, so do not add quotes.
16405 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
16414 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16416 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16418 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16419 if test -w "$cache_file"; then
16420 if test "x
$cache_file" != "x
/dev
/null
"; then
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
16422 $as_echo "$as_me: updating cache
$cache_file" >&6;}
16423 if test ! -f "$cache_file" || test -h "$cache_file"; then
16424 cat confcache >"$cache_file"
16426 case $cache_file in #(
16428 mv -f confcache "$cache_file"$$ &&
16429 mv -f "$cache_file"$$ "$cache_file" ;; #(
16431 mv -f confcache "$cache_file" ;;
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
16437 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
16444 ac_cpp='$CPP $CPPFLAGS'
16445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16448 if test -n "$ac_tool_prefix"; then
16449 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
16450 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16452 $as_echo_n "checking
for $ac_word...
" >&6; }
16453 if ${ac_cv_prog_CC+:} false; then :
16454 $as_echo_n "(cached
) " >&6
16456 if test -n "$CC"; then
16457 ac_cv_prog_CC="$CC" # Let the user override the test.
16459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16460 for as_dir in $PATH
16463 test -z "$as_dir" && as_dir=.
16464 for ac_exec_ext in '' $ac_executable_extensions; do
16465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16466 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
16467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16477 if test -n "$CC"; then
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16479 $as_echo "$CC" >&6; }
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16482 $as_echo "no
" >&6; }
16487 if test -z "$ac_cv_prog_CC"; then
16489 # Extract the first word of "gcc
", so it can be a program name with args.
16490 set dummy gcc; ac_word=$2
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16492 $as_echo_n "checking
for $ac_word...
" >&6; }
16493 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16494 $as_echo_n "(cached
) " >&6
16496 if test -n "$ac_ct_CC"; then
16497 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16500 for as_dir in $PATH
16503 test -z "$as_dir" && as_dir=.
16504 for ac_exec_ext in '' $ac_executable_extensions; do
16505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16506 ac_cv_prog_ac_ct_CC="gcc
"
16507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16516 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16517 if test -n "$ac_ct_CC"; then
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
16519 $as_echo "$ac_ct_CC" >&6; }
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16522 $as_echo "no
" >&6; }
16525 if test "x
$ac_ct_CC" = x; then
16528 case $cross_compiling:$ac_tool_warned in
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
16531 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
16532 ac_tool_warned=yes ;;
16537 CC="$ac_cv_prog_CC"
16540 if test -z "$CC"; then
16541 if test -n "$ac_tool_prefix"; then
16542 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
16543 set dummy ${ac_tool_prefix}cc; ac_word=$2
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16545 $as_echo_n "checking
for $ac_word...
" >&6; }
16546 if ${ac_cv_prog_CC+:} false; then :
16547 $as_echo_n "(cached
) " >&6
16549 if test -n "$CC"; then
16550 ac_cv_prog_CC="$CC" # Let the user override the test.
16552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16553 for as_dir in $PATH
16556 test -z "$as_dir" && as_dir=.
16557 for ac_exec_ext in '' $ac_executable_extensions; do
16558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16559 ac_cv_prog_CC="${ac_tool_prefix}cc
"
16560 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16570 if test -n "$CC"; then
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16572 $as_echo "$CC" >&6; }
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16575 $as_echo "no
" >&6; }
16581 if test -z "$CC"; then
16582 # Extract the first word of "cc
", so it can be a program name with args.
16583 set dummy cc; ac_word=$2
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16585 $as_echo_n "checking
for $ac_word...
" >&6; }
16586 if ${ac_cv_prog_CC+:} false; then :
16587 $as_echo_n "(cached
) " >&6
16589 if test -n "$CC"; then
16590 ac_cv_prog_CC="$CC" # Let the user override the test.
16592 ac_prog_rejected=no
16593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16594 for as_dir in $PATH
16597 test -z "$as_dir" && as_dir=.
16598 for ac_exec_ext in '' $ac_executable_extensions; do
16599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16600 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
16601 ac_prog_rejected=yes
16605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16612 if test $ac_prog_rejected = yes; then
16613 # We found a bogon in the path, so make sure we never use it.
16614 set dummy $ac_cv_prog_CC
16616 if test $# != 0; then
16617 # We chose a different compiler from the bogus one.
16618 # However, it has the same basename, so the bogon will be chosen
16619 # first if we set CC to just the basename; use the full file name.
16621 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
16627 if test -n "$CC"; then
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16629 $as_echo "$CC" >&6; }
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16632 $as_echo "no
" >&6; }
16637 if test -z "$CC"; then
16638 if test -n "$ac_tool_prefix"; then
16639 for ac_prog in cl.exe
16641 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16642 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16644 $as_echo_n "checking
for $ac_word...
" >&6; }
16645 if ${ac_cv_prog_CC+:} false; then :
16646 $as_echo_n "(cached
) " >&6
16648 if test -n "$CC"; then
16649 ac_cv_prog_CC="$CC" # Let the user override the test.
16651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16652 for as_dir in $PATH
16655 test -z "$as_dir" && as_dir=.
16656 for ac_exec_ext in '' $ac_executable_extensions; do
16657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16658 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16659 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16669 if test -n "$CC"; then
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16671 $as_echo "$CC" >&6; }
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16674 $as_echo "no
" >&6; }
16678 test -n "$CC" && break
16681 if test -z "$CC"; then
16683 for ac_prog in cl.exe
16685 # Extract the first word of "$ac_prog", so it can be a program name with args.
16686 set dummy $ac_prog; ac_word=$2
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16688 $as_echo_n "checking
for $ac_word...
" >&6; }
16689 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16690 $as_echo_n "(cached
) " >&6
16692 if test -n "$ac_ct_CC"; then
16693 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16696 for as_dir in $PATH
16699 test -z "$as_dir" && as_dir=.
16700 for ac_exec_ext in '' $ac_executable_extensions; do
16701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16702 ac_cv_prog_ac_ct_CC="$ac_prog"
16703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16713 if test -n "$ac_ct_CC"; then
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
16715 $as_echo "$ac_ct_CC" >&6; }
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16718 $as_echo "no
" >&6; }
16722 test -n "$ac_ct_CC" && break
16725 if test "x
$ac_ct_CC" = x; then
16728 case $cross_compiling:$ac_tool_warned in
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
16731 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
16732 ac_tool_warned=yes ;;
16741 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16743 as_fn_error $? "no acceptable C compiler found in \$PATH
16744 See \`config.log' for more details
" "$LINENO" 5; }
16746 # Provide some information about the compiler.
16747 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
16750 for ac_option in --version -v -V -qversion; do
16751 { { ac_try="$ac_compiler $ac_option >&5"
16752 case "(($ac_try" in
16753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16754 *) ac_try_echo=$ac_try;;
16756 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16757 $as_echo "$ac_try_echo"; } >&5
16758 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16760 if test -s conftest.err; then
16762 ... rest of stderr output deleted ...
16763 10q' conftest.err >conftest.er1
16764 cat conftest.er1 >&5
16766 rm -f conftest.er1 conftest.err
16767 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16768 test $ac_status = 0; }
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16782 ac_clean_files_save=$ac_clean_files
16783 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
16784 # Try to create an executable without -o first, disregard a.out.
16785 # It will help us diagnose broken compilers, and finding out an intuition
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
16788 $as_echo_n "checking whether the C compiler works...
" >&6; }
16789 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16791 # The possible output files:
16792 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
16795 for ac_file in $ac_files
16798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16799 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16804 if { { ac_try="$ac_link_default"
16805 case "(($ac_try" in
16806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16807 *) ac_try_echo=$ac_try;;
16809 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16810 $as_echo "$ac_try_echo"; } >&5
16811 (eval "$ac_link_default") 2>&5
16813 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16814 test $ac_status = 0; }; then :
16815 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16817 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16818 # so that the user can short-circuit this test for compilers unknown to
16820 for ac_file in $ac_files ''
16822 test -f "$ac_file" || continue
16824 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16827 # We found the default executable, but exeext='' is most
16831 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16833 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16835 # We set ac_cv_exeext here because the later test for it is not
16836 # safe: cross compilers may not add the suffix if given an `-o'
16837 # argument, so we may need to know it at that point already.
16838 # Even if this section looks crufty: it has the advantage of
16839 # actually working.
16845 test "$ac_cv_exeext" = no && ac_cv_exeext=
16850 if test -z "$ac_file"; then :
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16852 $as_echo "no
" >&6; }
16853 $as_echo "$as_me: failed program was
:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16858 as_fn_error 77 "C compiler cannot create executables
16859 See \`config.log' for more details
" "$LINENO" 5; }
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16862 $as_echo "yes" >&6; }
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
16865 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
16867 $as_echo "$ac_file" >&6; }
16868 ac_exeext=$ac_cv_exeext
16870 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16871 ac_clean_files=$ac_clean_files_save
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
16873 $as_echo_n "checking
for suffix of executables...
" >&6; }
16874 if { { ac_try="$ac_link"
16875 case "(($ac_try" in
16876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16877 *) ac_try_echo=$ac_try;;
16879 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16880 $as_echo "$ac_try_echo"; } >&5
16881 (eval "$ac_link") 2>&5
16883 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16884 test $ac_status = 0; }; then :
16885 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16886 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16887 # work properly (i.e., refer to `conftest.exe'), while it won't with
16889 for ac_file in conftest.exe conftest conftest.*; do
16890 test -f "$ac_file" || continue
16892 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16893 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16901 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16902 See \`config.log' for more details
" "$LINENO" 5; }
16904 rm -f conftest conftest$ac_cv_exeext
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
16906 $as_echo "$ac_cv_exeext" >&6; }
16908 rm -f conftest.$ac_ext
16909 EXEEXT=$ac_cv_exeext
16911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16912 /* end confdefs.h. */
16917 FILE *f = fopen ("conftest.out
", "w
");
16918 return ferror (f) || fclose (f) != 0;
16924 ac_clean_files="$ac_clean_files conftest.out
"
16925 # Check that the compiler produces executables we can run. If not, either
16926 # the compiler is broken, or we cross compile.
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
16928 $as_echo_n "checking whether we are cross compiling...
" >&6; }
16929 if test "$cross_compiling" != yes; then
16930 { { ac_try="$ac_link"
16931 case "(($ac_try" in
16932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16933 *) ac_try_echo=$ac_try;;
16935 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16936 $as_echo "$ac_try_echo"; } >&5
16937 (eval "$ac_link") 2>&5
16939 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16940 test $ac_status = 0; }
16941 if { ac_try='./conftest$ac_cv_exeext'
16942 { { case "(($ac_try" in
16943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16944 *) ac_try_echo=$ac_try;;
16946 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16947 $as_echo "$ac_try_echo"; } >&5
16948 (eval "$ac_try") 2>&5
16950 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16951 test $ac_status = 0; }; }; then
16954 if test "$cross_compiling" = maybe; then
16955 cross_compiling=yes
16957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16959 as_fn_error $? "cannot run C compiled programs.
16960 If you meant to cross compile, use \`--host'.
16961 See \
`config.log' for more details" "$LINENO" 5; }
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16966 $as_echo "$cross_compiling" >&6; }
16968 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16969 ac_clean_files=$ac_clean_files_save
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16971 $as_echo_n "checking for suffix of object files... " >&6; }
16972 if ${ac_cv_objext+:} false; then :
16973 $as_echo_n "(cached) " >&6
16975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16986 rm -f conftest.o conftest.obj
16987 if { { ac_try="$ac_compile"
16988 case "(($ac_try" in
16989 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16990 *) ac_try_echo
=$ac_try;;
16992 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16993 $as_echo "$ac_try_echo"; } >&5
16994 (eval "$ac_compile") 2>&5
16996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16997 test $ac_status = 0; }; then :
16998 for ac_file
in conftest.o conftest.obj conftest.
*; do
16999 test -f "$ac_file" || continue;
17001 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
) ;;
17002 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
17007 $as_echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.
$ac_ext >&5
17010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17012 as_fn_error $?
"cannot compute suffix of object files: cannot compile
17013 See \`config.log' for more details" "$LINENO" 5; }
17015 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
17018 $as_echo "$ac_cv_objext" >&6; }
17019 OBJEXT
=$ac_cv_objext
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17022 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17023 if ${ac_cv_c_compiler_gnu+:} false
; then :
17024 $as_echo_n "(cached) " >&6
17026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17040 if ac_fn_c_try_compile
"$LINENO"; then :
17041 ac_compiler_gnu
=yes
17045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17046 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17050 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17051 if test $ac_compiler_gnu = yes; then
17056 ac_test_CFLAGS
=${CFLAGS+set}
17057 ac_save_CFLAGS
=$CFLAGS
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17059 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17060 if ${ac_cv_prog_cc_g+:} false
; then :
17061 $as_echo_n "(cached) " >&6
17063 ac_save_c_werror_flag
=$ac_c_werror_flag
17064 ac_c_werror_flag
=yes
17067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17078 if ac_fn_c_try_compile
"$LINENO"; then :
17079 ac_cv_prog_cc_g
=yes
17082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17093 if ac_fn_c_try_compile
"$LINENO"; then :
17096 ac_c_werror_flag
=$ac_save_c_werror_flag
17098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17109 if ac_fn_c_try_compile
"$LINENO"; then :
17110 ac_cv_prog_cc_g
=yes
17112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17117 ac_c_werror_flag
=$ac_save_c_werror_flag
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17120 $as_echo "$ac_cv_prog_cc_g" >&6; }
17121 if test "$ac_test_CFLAGS" = set; then
17122 CFLAGS
=$ac_save_CFLAGS
17123 elif test $ac_cv_prog_cc_g = yes; then
17124 if test "$GCC" = yes; then
17130 if test "$GCC" = yes; then
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17137 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17138 if ${ac_cv_prog_cc_c89+:} false
; then :
17139 $as_echo_n "(cached) " >&6
17141 ac_cv_prog_cc_c89
=no
17143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17145 #include <stdarg.h>
17148 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17149 struct buf { int x; };
17150 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17151 static char *e (p, i)
17157 static char *f (char * (*g) (char **, int), char **p, ...)
17162 s = g (p, va_arg (v,int));
17167 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17168 function prototypes and stuff, but not '\xHH' hex character constants.
17169 These don't provoke an error unfortunately, instead are silently treated
17170 as 'x'. The following induces an error, until -std is added to get
17171 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17172 array size at least. It's necessary to write '\x00'==0 to get something
17173 that's true only with -std. */
17174 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17176 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17177 inside strings and character constants. */
17179 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17181 int test (int i, double x);
17182 struct s1 {int (*f) (int a);};
17183 struct s2 {int (*f) (double a);};
17184 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17190 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17195 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
17196 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17198 CC
="$ac_save_CC $ac_arg"
17199 if ac_fn_c_try_compile
"$LINENO"; then :
17200 ac_cv_prog_cc_c89
=$ac_arg
17202 rm -f core conftest.err conftest.
$ac_objext
17203 test "x$ac_cv_prog_cc_c89" != "xno" && break
17205 rm -f conftest.
$ac_ext
17210 case "x$ac_cv_prog_cc_c89" in
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17213 $as_echo "none needed" >&6; } ;;
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17216 $as_echo "unsupported" >&6; } ;;
17218 CC
="$CC $ac_cv_prog_cc_c89"
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17220 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17222 if test "x$ac_cv_prog_cc_c89" != xno
; then :
17227 ac_cpp
='$CPP $CPPFLAGS'
17228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17240 ac_cpp
='$CPP $CPPFLAGS'
17241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17246 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17247 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false
; then :
17248 $as_echo_n "(cached) " >&6
17250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17257 #ifndef __INTEL_COMPILER
17265 if ac_fn_c_try_compile
"$LINENO"; then :
17266 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
17268 bakefile_cv_c_compiler___INTEL_COMPILER
=no
17271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17276 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17277 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17283 ac_cpp
='$CPP $CPPFLAGS'
17284 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17291 if test "$INTELCC" = "yes"; then
17295 ac_cpp
='$CPP $CPPFLAGS'
17296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17301 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17302 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false
; then :
17303 $as_echo_n "(cached) " >&6
17305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17312 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17320 if ac_fn_c_try_compile
"$LINENO"; then :
17321 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800
=yes
17323 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800
=no
17326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17331 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17332 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17338 ac_cpp
='$CPP $CPPFLAGS'
17339 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17340 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17341 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17348 ac_cpp
='$CPP $CPPFLAGS'
17349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17354 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17355 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false
; then :
17356 $as_echo_n "(cached) " >&6
17358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17365 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17373 if ac_fn_c_try_compile
"$LINENO"; then :
17374 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000
=yes
17376 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000
=no
17379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17384 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17385 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17391 ac_cpp
='$CPP $CPPFLAGS'
17392 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17393 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17394 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17400 if test "x$GCC" != "xyes"; then
17401 if test "xCC" = "xC"; then
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17403 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17404 if ${bakefile_cv_c_exto+:} false
; then :
17405 $as_echo_n "(cached) " >&6
17407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17418 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17420 (eval $ac_compile) 2>&5
17422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17423 test $ac_status = 0; }; then :
17424 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17426 conftest.
$ac_ext.o
)
17427 bakefile_cv_c_exto
="-ext o"
17434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17436 as_fn_error $?
"cannot figure out if compiler needs -ext o: cannot compile
17437 See \`config.log' for more details" "$LINENO" 5; }
17440 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17444 $as_echo "$bakefile_cv_c_exto" >&6; }
17445 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17446 if test "c" = "c"; then
17447 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17449 if test "c" = "cxx"; then
17450 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17454 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17455 unset ac_cv_prog_cc_g
17456 ac_test_CFLAGS
=${CFLAGS+set}
17457 ac_save_CFLAGS
=$CFLAGS
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17459 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17460 if ${ac_cv_prog_cc_g+:} false
; then :
17461 $as_echo_n "(cached) " >&6
17463 ac_save_c_werror_flag
=$ac_c_werror_flag
17464 ac_c_werror_flag
=yes
17467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17468 /* end confdefs.h. */
17478 if ac_fn_c_try_compile
"$LINENO"; then :
17479 ac_cv_prog_cc_g
=yes
17482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17483 /* end confdefs.h. */
17493 if ac_fn_c_try_compile
"$LINENO"; then :
17496 ac_c_werror_flag
=$ac_save_c_werror_flag
17498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17509 if ac_fn_c_try_compile
"$LINENO"; then :
17510 ac_cv_prog_cc_g
=yes
17512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17517 ac_c_werror_flag
=$ac_save_c_werror_flag
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17520 $as_echo "$ac_cv_prog_cc_g" >&6; }
17521 if test "$ac_test_CFLAGS" = set; then
17522 CFLAGS
=$ac_save_CFLAGS
17523 elif test $ac_cv_prog_cc_g = yes; then
17524 if test "$GCC" = yes; then
17530 if test "$GCC" = yes; then
17544 ac_cpp
='$CPP $CPPFLAGS'
17545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17550 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17551 if ${bakefile_cv_c_compiler___xlC__+:} false
; then :
17552 $as_echo_n "(cached) " >&6
17554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17569 if ac_fn_c_try_compile
"$LINENO"; then :
17570 bakefile_cv_c_compiler___xlC__
=yes
17572 bakefile_cv_c_compiler___xlC__
=no
17575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17580 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17581 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17587 ac_cpp
='$CPP $CPPFLAGS'
17588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17600 ac_cpp
='$CPP $CPPFLAGS'
17601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17606 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17607 if ${bakefile_cv_c_compiler___MWERKS__+:} false
; then :
17608 $as_echo_n "(cached) " >&6
17610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h. */
17625 if ac_fn_c_try_compile
"$LINENO"; then :
17626 bakefile_cv_c_compiler___MWERKS__
=yes
17628 bakefile_cv_c_compiler___MWERKS__
=no
17631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17636 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17637 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17643 ac_cpp
='$CPP $CPPFLAGS'
17644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17650 if test "$MWCC" != "yes"; then
17654 ac_cpp
='$CPP $CPPFLAGS'
17655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17660 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17661 if ${bakefile_cv_c_compiler___xlC__+:} false
; then :
17662 $as_echo_n "(cached) " >&6
17664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17679 if ac_fn_c_try_compile
"$LINENO"; then :
17680 bakefile_cv_c_compiler___xlC__
=yes
17682 bakefile_cv_c_compiler___xlC__
=no
17685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17690 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17691 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17697 ac_cpp
='$CPP $CPPFLAGS'
17698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17711 ac_cpp
='$CPP $CPPFLAGS'
17712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17717 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17718 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false
; then :
17719 $as_echo_n "(cached) " >&6
17721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17728 #ifndef _SGI_COMPILER_VERSION
17736 if ac_fn_c_try_compile
"$LINENO"; then :
17737 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
17739 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
17742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17747 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17748 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17754 ac_cpp
='$CPP $CPPFLAGS'
17755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17764 if test "$INTELCC" != "yes"; then
17768 ac_cpp
='$CPP $CPPFLAGS'
17769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17774 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17775 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false
; then :
17776 $as_echo_n "(cached) " >&6
17778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17779 /* end confdefs.h. */
17793 if ac_fn_c_try_compile
"$LINENO"; then :
17794 bakefile_cv_c_compiler___SUNPRO_C
=yes
17796 bakefile_cv_c_compiler___SUNPRO_C
=no
17799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17804 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17805 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17811 ac_cpp
='$CPP $CPPFLAGS'
17812 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17813 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17814 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17825 ac_cpp
='$CPP $CPPFLAGS'
17826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17831 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17832 if ${bakefile_cv_c_compiler___HP_cc+:} false
; then :
17833 $as_echo_n "(cached) " >&6
17835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17850 if ac_fn_c_try_compile
"$LINENO"; then :
17851 bakefile_cv_c_compiler___HP_cc
=yes
17853 bakefile_cv_c_compiler___HP_cc
=no
17856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17861 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17862 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17868 ac_cpp
='$CPP $CPPFLAGS'
17869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17881 ac_cpp
='$CPP $CPPFLAGS'
17882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17887 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17888 if ${bakefile_cv_c_compiler___DECC+:} false
; then :
17889 $as_echo_n "(cached) " >&6
17891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17906 if ac_fn_c_try_compile
"$LINENO"; then :
17907 bakefile_cv_c_compiler___DECC
=yes
17909 bakefile_cv_c_compiler___DECC
=no
17912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17917 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17918 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17924 ac_cpp
='$CPP $CPPFLAGS'
17925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17937 ac_cpp
='$CPP $CPPFLAGS'
17938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17943 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17944 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false
; then :
17945 $as_echo_n "(cached) " >&6
17947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17948 /* end confdefs.h. */
17962 if ac_fn_c_try_compile
"$LINENO"; then :
17963 bakefile_cv_c_compiler___SUNPRO_C
=yes
17965 bakefile_cv_c_compiler___SUNPRO_C
=no
17968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17973 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17974 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17980 ac_cpp
='$CPP $CPPFLAGS'
17981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17994 ac_cpp
='$CPP $CPPFLAGS'
17995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17999 $as_echo_n "checking how to run the C preprocessor... " >&6; }
18000 # On Suns, sometimes $CPP names a directory.
18001 if test -n "$CPP" && test -d "$CPP"; then
18004 if test -z "$CPP"; then
18005 if ${ac_cv_prog_CPP+:} false
; then :
18006 $as_echo_n "(cached) " >&6
18008 # Double quotes because CPP needs to be expanded
18009 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18011 ac_preproc_ok
=false
18012 for ac_c_preproc_warn_flag
in '' yes
18014 # Use a header file that comes with gcc, so configuring glibc
18015 # with a fresh cross-compiler works.
18016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18017 # <limits.h> exists even on freestanding compilers.
18018 # On the NeXT, cc -E runs the code through the compiler's parser,
18019 # not just through cpp. "Syntax error" is here to catch this case.
18020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18023 # include <limits.h>
18025 # include <assert.h>
18029 if ac_fn_c_try_cpp
"$LINENO"; then :
18032 # Broken: fails on valid input.
18035 rm -f conftest.err conftest.i conftest.
$ac_ext
18037 # OK, works on sane cases. Now check whether nonexistent headers
18038 # can be detected and how.
18039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18041 #include <ac_nonexistent.h>
18043 if ac_fn_c_try_cpp
"$LINENO"; then :
18044 # Broken: success on invalid input.
18047 # Passes both tests.
18051 rm -f conftest.err conftest.i conftest.
$ac_ext
18054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18055 rm -f conftest.i conftest.err conftest.
$ac_ext
18056 if $ac_preproc_ok; then :
18061 ac_cv_prog_CPP
=$CPP
18064 CPP
=$ac_cv_prog_CPP
18066 ac_cv_prog_CPP
=$CPP
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18069 $as_echo "$CPP" >&6; }
18070 ac_preproc_ok
=false
18071 for ac_c_preproc_warn_flag
in '' yes
18073 # Use a header file that comes with gcc, so configuring glibc
18074 # with a fresh cross-compiler works.
18075 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18076 # <limits.h> exists even on freestanding compilers.
18077 # On the NeXT, cc -E runs the code through the compiler's parser,
18078 # not just through cpp. "Syntax error" is here to catch this case.
18079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18080 /* end confdefs.h. */
18082 # include <limits.h>
18084 # include <assert.h>
18088 if ac_fn_c_try_cpp
"$LINENO"; then :
18091 # Broken: fails on valid input.
18094 rm -f conftest.err conftest.i conftest.
$ac_ext
18096 # OK, works on sane cases. Now check whether nonexistent headers
18097 # can be detected and how.
18098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h. */
18100 #include <ac_nonexistent.h>
18102 if ac_fn_c_try_cpp
"$LINENO"; then :
18103 # Broken: success on invalid input.
18106 # Passes both tests.
18110 rm -f conftest.err conftest.i conftest.
$ac_ext
18113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18114 rm -f conftest.i conftest.err conftest.
$ac_ext
18115 if $ac_preproc_ok; then :
18118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18120 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
18121 See \`config.log' for more details" "$LINENO" 5; }
18125 ac_cpp
='$CPP $CPPFLAGS'
18126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18132 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18133 if ${ac_cv_path_GREP+:} false
; then :
18134 $as_echo_n "(cached) " >&6
18136 if test -z "$GREP"; then
18137 ac_path_GREP_found
=false
18138 # Loop through the user's path and test for each of PROGNAME-LIST
18139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18140 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18143 test -z "$as_dir" && as_dir
=.
18144 for ac_prog
in grep ggrep
; do
18145 for ac_exec_ext
in '' $ac_executable_extensions; do
18146 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18147 as_fn_executable_p
"$ac_path_GREP" || continue
18148 # Check for GNU ac_path_GREP and select it if it is found.
18149 # Check for GNU $ac_path_GREP
18150 case `"$ac_path_GREP" --version 2>&1` in
18152 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18155 $as_echo_n 0123456789 >"conftest.in"
18158 cat "conftest.in" "conftest.in" >"conftest.tmp"
18159 mv "conftest.tmp" "conftest.in"
18160 cp "conftest.in" "conftest.nl"
18161 $as_echo 'GREP' >> "conftest.nl"
18162 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18163 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18164 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18165 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18166 # Best one so far, save it but keep looking for a better one
18167 ac_cv_path_GREP
="$ac_path_GREP"
18168 ac_path_GREP_max
=$ac_count
18170 # 10*(2^10) chars as input seems more than enough
18171 test $ac_count -gt 10 && break
18173 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18176 $ac_path_GREP_found && break 3
18181 if test -z "$ac_cv_path_GREP"; then
18182 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18185 ac_cv_path_GREP
=$GREP
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18190 $as_echo "$ac_cv_path_GREP" >&6; }
18191 GREP
="$ac_cv_path_GREP"
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18195 $as_echo_n "checking for egrep... " >&6; }
18196 if ${ac_cv_path_EGREP+:} false
; then :
18197 $as_echo_n "(cached) " >&6
18199 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18200 then ac_cv_path_EGREP
="$GREP -E"
18202 if test -z "$EGREP"; then
18203 ac_path_EGREP_found
=false
18204 # Loop through the user's path and test for each of PROGNAME-LIST
18205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18206 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18209 test -z "$as_dir" && as_dir
=.
18210 for ac_prog
in egrep; do
18211 for ac_exec_ext
in '' $ac_executable_extensions; do
18212 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18213 as_fn_executable_p
"$ac_path_EGREP" || continue
18214 # Check for GNU ac_path_EGREP and select it if it is found.
18215 # Check for GNU $ac_path_EGREP
18216 case `"$ac_path_EGREP" --version 2>&1` in
18218 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18221 $as_echo_n 0123456789 >"conftest.in"
18224 cat "conftest.in" "conftest.in" >"conftest.tmp"
18225 mv "conftest.tmp" "conftest.in"
18226 cp "conftest.in" "conftest.nl"
18227 $as_echo 'EGREP' >> "conftest.nl"
18228 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18229 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18230 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18231 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18232 # Best one so far, save it but keep looking for a better one
18233 ac_cv_path_EGREP
="$ac_path_EGREP"
18234 ac_path_EGREP_max
=$ac_count
18236 # 10*(2^10) chars as input seems more than enough
18237 test $ac_count -gt 10 && break
18239 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18242 $ac_path_EGREP_found && break 3
18247 if test -z "$ac_cv_path_EGREP"; then
18248 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18251 ac_cv_path_EGREP
=$EGREP
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18257 $as_echo "$ac_cv_path_EGREP" >&6; }
18258 EGREP
="$ac_cv_path_EGREP"
18261 if test $ac_cv_c_compiler_gnu = yes; then
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18263 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18264 if ${ac_cv_prog_gcc_traditional+:} false
; then :
18265 $as_echo_n "(cached) " >&6
18267 ac_pattern
="Autoconf.*'x'"
18268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18274 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18275 ac_cv_prog_gcc_traditional
=yes
18277 ac_cv_prog_gcc_traditional
=no
18282 if test $ac_cv_prog_gcc_traditional = no
; then
18283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h. */
18285 #include <termio.h>
18288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18289 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18290 ac_cv_prog_gcc_traditional
=yes
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18297 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18298 if test $ac_cv_prog_gcc_traditional = yes; then
18299 CC
="$CC -traditional"
18304 CXXFLAGS
=${CXXFLAGS:=}
18306 ac_cpp
='$CXXCPP $CPPFLAGS'
18307 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18308 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18309 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18310 if test -z "$CXX"; then
18311 if test -n "$CCC"; then
18314 if test -n "$ac_tool_prefix"; then
18315 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18318 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18320 $as_echo_n "checking for $ac_word... " >&6; }
18321 if ${ac_cv_prog_CXX+:} false
; then :
18322 $as_echo_n "(cached) " >&6
18324 if test -n "$CXX"; then
18325 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18328 for as_dir
in $PATH
18331 test -z "$as_dir" && as_dir
=.
18332 for ac_exec_ext
in '' $ac_executable_extensions; do
18333 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18334 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18344 CXX
=$ac_cv_prog_CXX
18345 if test -n "$CXX"; then
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18347 $as_echo "$CXX" >&6; }
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18350 $as_echo "no" >&6; }
18354 test -n "$CXX" && break
18357 if test -z "$CXX"; then
18359 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18361 # Extract the first word of "$ac_prog", so it can be a program name with args.
18362 set dummy
$ac_prog; ac_word
=$2
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18364 $as_echo_n "checking for $ac_word... " >&6; }
18365 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
18366 $as_echo_n "(cached) " >&6
18368 if test -n "$ac_ct_CXX"; then
18369 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18372 for as_dir
in $PATH
18375 test -z "$as_dir" && as_dir
=.
18376 for ac_exec_ext
in '' $ac_executable_extensions; do
18377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18378 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18388 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18389 if test -n "$ac_ct_CXX"; then
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18391 $as_echo "$ac_ct_CXX" >&6; }
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18394 $as_echo "no" >&6; }
18398 test -n "$ac_ct_CXX" && break
18401 if test "x$ac_ct_CXX" = x
; then
18404 case $cross_compiling:$ac_tool_warned in
18406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18408 ac_tool_warned
=yes ;;
18416 # Provide some information about the compiler.
18417 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18420 for ac_option
in --version -v -V -qversion; do
18421 { { ac_try
="$ac_compiler $ac_option >&5"
18422 case "(($ac_try" in
18423 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18424 *) ac_try_echo=$ac_try;;
18426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18427 $as_echo "$ac_try_echo"; } >&5
18428 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18430 if test -s conftest.err; then
18432 ... rest of stderr output deleted ...
18433 10q' conftest.err >conftest.er1
18434 cat conftest.er1 >&5
18436 rm -f conftest.er1 conftest.err
18437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18438 test $ac_status = 0; }
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18442 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18443 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18444 $as_echo_n "(cached) " >&6
18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18460 if ac_fn_cxx_try_compile "$LINENO"; then :
18461 ac_compiler_gnu=yes
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18466 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18470 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18471 if test $ac_compiler_gnu = yes; then
18476 ac_test_CXXFLAGS=${CXXFLAGS+set}
18477 ac_save_CXXFLAGS=$CXXFLAGS
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18479 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18480 if ${ac_cv_prog_cxx_g+:} false; then :
18481 $as_echo_n "(cached) " >&6
18483 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18484 ac_cxx_werror_flag=yes
18485 ac_cv_prog_cxx_g=no
18487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h. */
18498 if ac_fn_cxx_try_compile "$LINENO"; then :
18499 ac_cv_prog_cxx_g=yes
18502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18503 /* end confdefs.h. */
18513 if ac_fn_cxx_try_compile "$LINENO"; then :
18516 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18529 if ac_fn_cxx_try_compile "$LINENO"; then :
18530 ac_cv_prog_cxx_g=yes
18532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18540 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18541 if test "$ac_test_CXXFLAGS" = set; then
18542 CXXFLAGS=$ac_save_CXXFLAGS
18543 elif test $ac_cv_prog_cxx_g = yes; then
18544 if test "$GXX" = yes; then
18550 if test "$GXX" = yes; then
18557 ac_cpp='$CPP $CPPFLAGS'
18558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18570 ac_cpp='$CXXCPP $CPPFLAGS'
18571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18576 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18577 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18578 $as_echo_n "(cached) " >&6
18580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18581 /* end confdefs.h. */
18587 #ifndef __INTEL_COMPILER
18595 if ac_fn_cxx_try_compile "$LINENO"; then :
18596 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18598 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18606 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18607 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18613 ac_cpp='$CPP $CPPFLAGS'
18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18621 if test "$INTELCXX" = "yes"; then
18625 ac_cpp='$CXXCPP $CPPFLAGS'
18626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18631 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18632 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18633 $as_echo_n "(cached) " >&6
18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18642 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18650 if ac_fn_cxx_try_compile "$LINENO"; then :
18651 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18653 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18661 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18662 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18668 ac_cpp='$CPP $CPPFLAGS'
18669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18678 ac_cpp='$CXXCPP $CPPFLAGS'
18679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18684 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18685 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18686 $as_echo_n "(cached) " >&6
18688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h. */
18695 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18703 if ac_fn_cxx_try_compile "$LINENO"; then :
18704 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18706 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18714 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18715 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18721 ac_cpp='$CPP $CPPFLAGS'
18722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18730 if test "x$GCXX" != "xyes"; then
18731 if test "xCXX" = "xC"; then
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18733 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18734 if ${bakefile_cv_c_exto+:} false; then :
18735 $as_echo_n "(cached) " >&6
18737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18738 /* end confdefs.h. */
18748 rm -f conftest.$ac_objext conftest.$ac_ext.o
18749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18750 (eval $ac_compile) 2>&5
18752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18753 test $ac_status = 0; }; then :
18754 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18756 conftest.$ac_ext.o)
18757 bakefile_cv_c_exto="-ext o"
18764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18766 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18767 See \
`config.log' for more details" "$LINENO" 5; }
18770 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18774 $as_echo "$bakefile_cv_c_exto" >&6; }
18775 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18776 if test "c" = "c"; then
18777 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18779 if test "c" = "cxx"; then
18780 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18784 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18785 unset ac_cv_prog_cc_g
18786 ac_test_CFLAGS=${CFLAGS+set}
18787 ac_save_CFLAGS=$CFLAGS
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18789 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18790 if ${ac_cv_prog_cc_g+:} false; then :
18791 $as_echo_n "(cached) " >&6
18793 ac_save_c_werror_flag=$ac_c_werror_flag
18794 ac_c_werror_flag=yes
18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18808 if ac_fn_c_try_compile "$LINENO"; then :
18809 ac_cv_prog_cc_g=yes
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18823 if ac_fn_c_try_compile "$LINENO"; then :
18826 ac_c_werror_flag=$ac_save_c_werror_flag
18828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18829 /* end confdefs.h. */
18839 if ac_fn_c_try_compile "$LINENO"; then :
18840 ac_cv_prog_cc_g=yes
18842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18847 ac_c_werror_flag=$ac_save_c_werror_flag
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18850 $as_echo "$ac_cv_prog_cc_g" >&6; }
18851 if test "$ac_test_CFLAGS" = set; then
18852 CFLAGS=$ac_save_CFLAGS
18853 elif test $ac_cv_prog_cc_g = yes; then
18854 if test "$GCC" = yes; then
18860 if test "$GCC" = yes; then
18874 ac_cpp='$CXXCPP $CPPFLAGS'
18875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18880 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18881 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18882 $as_echo_n "(cached) " >&6
18884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18899 if ac_fn_cxx_try_compile "$LINENO"; then :
18900 bakefile_cv_cxx_compiler___xlC__=yes
18902 bakefile_cv_cxx_compiler___xlC__=no
18905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18910 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18911 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18917 ac_cpp='$CPP $CPPFLAGS'
18918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18930 ac_cpp='$CXXCPP $CPPFLAGS'
18931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18936 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18937 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18938 $as_echo_n "(cached) " >&6
18940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18955 if ac_fn_cxx_try_compile "$LINENO"; then :
18956 bakefile_cv_cxx_compiler___MWERKS__=yes
18958 bakefile_cv_cxx_compiler___MWERKS__=no
18961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18966 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18967 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18973 ac_cpp='$CPP $CPPFLAGS'
18974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18980 if test "$MWCXX" != "yes"; then
18984 ac_cpp='$CXXCPP $CPPFLAGS'
18985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18990 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18991 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18992 $as_echo_n "(cached) " >&6
18994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
19009 if ac_fn_cxx_try_compile "$LINENO"; then :
19010 bakefile_cv_cxx_compiler___xlC__=yes
19012 bakefile_cv_cxx_compiler___xlC__=no
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19020 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
19021 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19027 ac_cpp='$CPP $CPPFLAGS'
19028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19041 ac_cpp='$CXXCPP $CPPFLAGS'
19042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
19047 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
19048 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
19049 $as_echo_n "(cached) " >&6
19051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19052 /* end confdefs.h. */
19058 #ifndef _SGI_COMPILER_VERSION
19066 if ac_fn_cxx_try_compile "$LINENO"; then :
19067 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19069 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19077 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19078 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19084 ac_cpp='$CPP $CPPFLAGS'
19085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19094 if test "$INTELCXX" != "yes"; then
19098 ac_cpp='$CXXCPP $CPPFLAGS'
19099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19104 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19105 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19106 $as_echo_n "(cached) " >&6
19108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19115 #ifndef __SUNPRO_CC
19123 if ac_fn_cxx_try_compile "$LINENO"; then :
19124 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19126 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19134 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19135 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19141 ac_cpp='$CPP $CPPFLAGS'
19142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19155 ac_cpp='$CXXCPP $CPPFLAGS'
19156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19161 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19162 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19163 $as_echo_n "(cached) " >&6
19165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19166 /* end confdefs.h. */
19180 if ac_fn_cxx_try_compile "$LINENO"; then :
19181 bakefile_cv_cxx_compiler___HP_aCC=yes
19183 bakefile_cv_cxx_compiler___HP_aCC=no
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19191 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19192 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19198 ac_cpp='$CPP $CPPFLAGS'
19199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19211 ac_cpp='$CXXCPP $CPPFLAGS'
19212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19217 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19218 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19219 $as_echo_n "(cached) " >&6
19221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h. */
19236 if ac_fn_cxx_try_compile "$LINENO"; then :
19237 bakefile_cv_cxx_compiler___DECCXX=yes
19239 bakefile_cv_cxx_compiler___DECCXX=no
19242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19247 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19248 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19254 ac_cpp='$CPP $CPPFLAGS'
19255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19267 ac_cpp='$CXXCPP $CPPFLAGS'
19268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19273 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19274 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19275 $as_echo_n "(cached) " >&6
19277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19284 #ifndef __SUNPRO_CC
19292 if ac_fn_cxx_try_compile "$LINENO"; then :
19293 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19295 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19303 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19304 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19310 ac_cpp='$CPP $CPPFLAGS'
19311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19323 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19324 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19327 if test "x$SUNCXX" != xyes; then
19328 if test -n "$ac_tool_prefix"; then
19329 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19330 set dummy ${ac_tool_prefix}ar; ac_word=$2
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19332 $as_echo_n "checking for $ac_word... " >&6; }
19333 if ${ac_cv_prog_AR+:} false; then :
19334 $as_echo_n "(cached) " >&6
19336 if test -n "$AR"; then
19337 ac_cv_prog_AR="$AR" # Let the user override the test.
19339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19340 for as_dir in $PATH
19343 test -z "$as_dir" && as_dir=.
19344 for ac_exec_ext in '' $ac_executable_extensions; do
19345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19346 ac_cv_prog_AR="${ac_tool_prefix}ar"
19347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19357 if test -n "$AR"; then
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19359 $as_echo "$AR" >&6; }
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19362 $as_echo "no" >&6; }
19367 if test -z "$ac_cv_prog_AR"; then
19369 # Extract the first word of "ar", so it can be a program name with args.
19370 set dummy ar; ac_word=$2
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19372 $as_echo_n "checking for $ac_word... " >&6; }
19373 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19374 $as_echo_n "(cached) " >&6
19376 if test -n "$ac_ct_AR"; then
19377 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19380 for as_dir in $PATH
19383 test -z "$as_dir" && as_dir=.
19384 for ac_exec_ext in '' $ac_executable_extensions; do
19385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19386 ac_cv_prog_ac_ct_AR="ar"
19387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19396 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19397 if test -n "$ac_ct_AR"; then
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19399 $as_echo "$ac_ct_AR" >&6; }
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19402 $as_echo "no" >&6; }
19405 if test "x$ac_ct_AR" = x; then
19408 case $cross_compiling:$ac_tool_warned in
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19412 ac_tool_warned=yes ;;
19417 AR="$ac_cv_prog_AR"
19420 if test "x$AR" = "x" ; then
19421 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19426 if test "$wxUSE_MAC" = 1; then
19428 retest_macosx_linking=no
19432 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19433 if test "x$wxUSE_MAC_ARCH" != xno; then
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19435 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19438 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19439 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19440 else OSX_ARCH_OPTS="ppc,i386"
19441 if test "$wxUSE_OSX_COCOA" = 1; then
19442 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19447 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19449 $as_echo "$OSX_ARCH_OPTS" >&6; }
19451 retest_macosx_linking=yes
19453 if test "x$wxUSE_MAC_ARCH" != xno; then
19454 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19458 if test "x$OSX_ARCH_OPTS" != "x"; then
19459 if echo $OSX_ARCH_OPTS | grep -q ","; then
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19461 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19462 disable_macosx_deps=yes
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19465 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19469 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19471 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19472 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19473 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19474 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19475 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19478 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19480 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19481 # TODO: Search for most recent SDK and use it.
19482 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19486 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19488 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19489 if ! test -d "$wxUSE_MACOSX_SDK"; then
19490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19492 as_fn_error $? "not found
19493 See \
`config.log' for more details" "$LINENO" 5; }
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19496 $as_echo "exists" >&6; }
19498 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19499 retest_macosx_linking=yes
19502 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19503 wxUSE_MACOSX_VERSION_MIN=
19504 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19505 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19507 $as_echo_n "checking SDK deployment version... " >&6; }
19509 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/'`
19511 # If that failed, try again with the new key
19512 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19514 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/'`
19518 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19519 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19521 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19524 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19525 wxUSE_MACOSX_VERSION_MIN=
19528 wxUSE_MACOSX_VERSION_MIN=
19530 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19531 wxUSE_MACOSX_VERSION_MIN=10.5
19534 if test "x$MACOSX_SDK_OPTS" != "x"; then
19535 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19536 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19537 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19538 retest_macosx_linking=yes
19541 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19542 if test "$wxUSE_OSX_IPHONE" = 1; then
19543 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19545 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19547 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19548 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19549 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19550 retest_macosx_linking=yes
19553 if test "x$retest_macosx_linking" = "xyes"; then
19555 ac_cpp='$CPP $CPPFLAGS'
19556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19561 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19563 /* end confdefs.h. */
19573 if ac_fn_c_try_link "$LINENO"; then :
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19575 $as_echo "yes" >&6; }
19577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19579 as_fn_error $? "no. Try a different SDK
19580 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19582 rm -f core conftest.err conftest.$ac_objext \
19583 conftest$ac_exeext conftest.$ac_ext
19585 ac_cpp='$CPP $CPPFLAGS'
19586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19592 ac_cpp='$CXXCPP $CPPFLAGS'
19593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19598 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19610 if ac_fn_cxx_try_link "$LINENO"; then :
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19612 $as_echo "yes" >&6; }
19614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19616 as_fn_error $? "no. Try a different SDK
19617 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19619 rm -f core conftest.err conftest.$ac_objext \
19620 conftest$ac_exeext conftest.$ac_ext
19622 ac_cpp='$CPP $CPPFLAGS'
19623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19633 INSTALL_PROGRAM="cp -fp"
19634 INSTALL_DATA="cp -fp"
19641 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19642 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19645 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19646 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19649 if test "x$USE_AIX" = "x1"; then
19650 if test "x$XLCXX" = "xyes"; then
19651 CXXFLAGS="-qunique $CXXFLAGS"
19654 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19658 powerpc-*-darwin* )
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19660 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19662 /* end confdefs.h. */
19667 #ifndef __POWERPC__
19668 choke me for lack of PowerPC
19675 if ac_fn_c_try_compile "$LINENO"; then :
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19677 $as_echo "yes" >&6; }
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19680 $as_echo "no" >&6; }
19681 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19692 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19694 /* end confdefs.h. */
19695 #include <CoreFoundation/CFBase.h>
19705 if ac_fn_c_try_compile "$LINENO"; then :
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19707 $as_echo "yes" >&6; }
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19710 $as_echo "no" >&6; }
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19712 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19715 #define __CF_USE_FRAMEWORK_INCLUDES__
19716 #include <CoreFoundation/CFBase.h>
19726 if ac_fn_c_try_compile "$LINENO"; then :
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19728 $as_echo "yes" >&6; }
19729 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19733 as_fn_error $? "no. CoreFoundation not available.
19734 See \
`config.log' for more details" "$LINENO" 5; }
19737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19746 doesnt_want_win32=0
19749 if test "$wxUSE_MSW" = 1 ; then
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19753 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19754 if ${wx_cv_nocygwin+:} false; then :
19755 $as_echo_n "(cached) " >&6
19758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19773 if ac_fn_c_try_compile "$LINENO"; then :
19779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19784 $as_echo "$wx_cv_nocygwin" >&6; }
19786 if test "$wx_cv_nocygwin" = "yes"; then
19789 doesnt_want_win32=1
19792 if test "$wants_win32" = 1 ; then
19793 BAKEFILE_FORCE_PLATFORM=win32
19801 if test "$wxUSE_WINE" = "yes"; then
19803 LDFLAGS_GUI="-mwindows"
19806 if test "$wants_win32" = 1 ; then
19809 $as_echo "#define __WIN32__ 1" >>confdefs.h
19811 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19813 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19815 $as_echo "#define STRICT 1" >>confdefs.h
19818 if test "$doesnt_want_win32" = 1 ; then
19823 if test "$USE_UNIX" = 1 ; then
19825 $as_echo "#define __UNIX__ 1" >>confdefs.h
19830 *-pc-os2_emx | *-pc-os2-emx )
19831 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19833 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19834 if ${ac_cv_lib_cExt_drand48+:} false; then :
19835 $as_echo_n "(cached) " >&6
19837 ac_check_lib_save_LIBS=$LIBS
19838 LIBS="-lcExt $LIBS"
19839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19842 /* Override any GCC internal prototype to avoid an error.
19843 Use char because int might match the return type of a GCC
19844 builtin and then its argument prototype would still apply. */
19857 if ac_fn_c_try_link "$LINENO"; then :
19858 ac_cv_lib_cExt_drand48=yes
19860 ac_cv_lib_cExt_drand48=no
19862 rm -f core conftest.err conftest.$ac_objext \
19863 conftest$ac_exeext conftest.$ac_ext
19864 LIBS=$ac_check_lib_save_LIBS
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19867 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19868 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19869 LIBS="$LIBS -lcExt"
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19874 $as_echo_n "checking for gcc/libc version... " >&6; }
19875 if ${wx_cv_gccversion+:} false; then :
19876 $as_echo_n "(cached) " >&6
19879 if test "$cross_compiling" = yes; then :
19880 wx_cv_gccversion="EMX2"
19883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19884 /* end confdefs.h. */
19890 FILE *f=fopen("conftestval", "w");
19895 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19897 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19907 if ac_fn_c_try_run "$LINENO"; then :
19908 wx_cv_gccversion=`cat conftestval
`
19910 wx_cv_gccversion="EMX2"
19912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19913 conftest.$ac_objext conftest.beam conftest.$ac_ext
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19919 $as_echo "$wx_cv_gccversion" >&6; }
19920 if test "$wx_cv_gccversion" = "EMX2"; then
19921 LIBS="$LIBS -lstdcpp"
19922 LDFLAGS="$LDFLAGS -Zsysv-signals"
19924 if test "$wx_cv_gccversion" = "EMX3"; then
19925 LIBS="$LIBS -lstdcxx -lgcc"
19926 LDFLAGS="$LDFLAGS -Zsysv-signals"
19928 LIBS="$LIBS -lstdc++"
19931 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19933 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19941 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19942 if ${ac_cv_string_strcasecmp+:} false; then :
19943 $as_echo_n "(cached) " >&6
19946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19949 #include <string.h>
19955 strcasecmp("foo", "bar");
19961 if ac_fn_c_try_link "$LINENO"; then :
19962 ac_cv_string_strcasecmp=yes
19964 ac_cv_string_strcasecmp=no
19967 rm -f core conftest.err conftest.$ac_objext \
19968 conftest$ac_exeext conftest.$ac_ext
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19972 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19974 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19975 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19979 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19980 if ${ac_cv_strings_strcasecmp+:} false; then :
19981 $as_echo_n "(cached) " >&6
19984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19985 /* end confdefs.h. */
19987 #include <strings.h>
19993 strcasecmp("foo", "bar");
19999 if ac_fn_c_try_link "$LINENO"; then :
20000 ac_cv_strings_strcasecmp=yes
20002 ac_cv_strings_strcasecmp=no
20005 rm -f core conftest.err conftest.$ac_objext \
20006 conftest$ac_exeext conftest.$ac_ext
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
20010 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
20012 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20013 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
20016 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
20025 $as_echo_n "checking for ANSI C header files... " >&6; }
20026 if ${ac_cv_header_stdc+:} false; then :
20027 $as_echo_n "(cached) " >&6
20029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20030 /* end confdefs.h. */
20031 #include <stdlib.h>
20032 #include <stdarg.h>
20033 #include <string.h>
20044 if ac_fn_c_try_compile "$LINENO"; then :
20045 ac_cv_header_stdc=yes
20047 ac_cv_header_stdc=no
20049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20051 if test $ac_cv_header_stdc = yes; then
20052 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20054 /* end confdefs.h. */
20055 #include <string.h>
20058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20059 $EGREP "memchr" >/dev/null 2>&1; then :
20062 ac_cv_header_stdc=no
20068 if test $ac_cv_header_stdc = yes; then
20069 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20071 /* end confdefs.h. */
20072 #include <stdlib.h>
20075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20076 $EGREP "free" >/dev/null 2>&1; then :
20079 ac_cv_header_stdc=no
20085 if test $ac_cv_header_stdc = yes; then
20086 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20087 if test "$cross_compiling" = yes; then :
20090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20091 /* end confdefs.h. */
20093 #include <stdlib.h>
20094 #if ((' ' & 0x0FF) == 0x020)
20095 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20096 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20098 # define ISLOWER(c) \
20099 (('a' <= (c) && (c) <= 'i') \
20100 || ('j' <= (c) && (c) <= 'r') \
20101 || ('s' <= (c) && (c) <= 'z'))
20102 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20105 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20110 for (i = 0; i < 256; i++)
20111 if (XOR (islower (i), ISLOWER (i))
20112 || toupper (i) != TOUPPER (i))
20117 if ac_fn_c_try_run "$LINENO"; then :
20120 ac_cv_header_stdc=no
20122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20123 conftest.$ac_objext conftest.beam conftest.$ac_ext
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20129 $as_echo "$ac_cv_header_stdc" >&6; }
20130 if test $ac_cv_header_stdc = yes; then
20132 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20136 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20137 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20138 inttypes.h stdint.h unistd.h
20140 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20141 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20143 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20144 cat >>confdefs.h <<_ACEOF
20145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20153 for ac_header in langinfo.h wchar.h
20155 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20156 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20158 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20159 cat >>confdefs.h <<_ACEOF
20160 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20168 if test "$ac_cv_header_wchar_h" != "yes"; then
20169 for ac_header in wcstr.h
20171 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20173 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20174 cat >>confdefs.h <<_ACEOF
20175 #define HAVE_WCSTR_H 1
20185 *-pc-os2_emx | *-pc-os2-emx )
20186 if test $ac_cv_header_langinfo_h = "yes" \
20187 -a \( "$wx_cv_gccversion" = "EMX2" \
20188 -o "$wx_cv_gccversion" = "EMX3" \
20189 -o "$wx_cv_gccversion" = "Innotek5" \); then
20190 LIBS="$LIBS -lintl"
20195 if test "$USE_UNIX" = 1 ; then
20196 for ac_header in sys/select.h
20198 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20200 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20201 cat >>confdefs.h <<_ACEOF
20202 #define HAVE_SYS_SELECT_H 1
20211 ac_cpp='$CXXCPP $CPPFLAGS'
20212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20216 for ac_header in cxxabi.h
20218 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20220 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20221 cat >>confdefs.h <<_ACEOF
20222 #define HAVE_CXXABI_H 1
20230 ac_cpp='$CPP $CPPFLAGS'
20231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20239 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20240 if ${ac_cv_c_const+:} false; then :
20241 $as_echo_n "(cached) " >&6
20243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20244 /* end confdefs.h. */
20250 #ifndef __cplusplus
20251 /* Ultrix mips cc rejects this sort of thing. */
20252 typedef int charset[2];
20253 const charset cs = { 0, 0 };
20254 /* SunOS 4.1.1 cc rejects this. */
20255 char const *const *pcpcc;
20257 /* NEC SVR4.0.2 mips cc rejects this. */
20258 struct point {int x, y;};
20259 static struct point const zero = {0,0};
20260 /* AIX XL C 1.02.0.0 rejects this.
20261 It does not let you subtract one const X* pointer from another in
20262 an arm of an if-expression whose if-part is not a constant
20264 const char *g = "string";
20265 pcpcc = &g + (g ? g-g : 0);
20266 /* HPUX 7.0 cc rejects these. */
20268 ppc = (char**) pcpcc;
20269 pcpcc = (char const *const *) ppc;
20270 { /* SCO 3.2v4 cc rejects this sort of thing. */
20273 char const *s = 0 ? (char *) 0 : (char const *) 0;
20278 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20279 int x[] = {25, 17};
20280 const int *foo = &x[0];
20283 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20284 typedef const int *iptr;
20288 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20289 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20290 struct s { int j; const int *ap[3]; } bx;
20291 struct s *b = &bx; b->j = 5;
20293 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20294 const int foo = 10;
20295 if (!foo) return 0;
20297 return !cs[0] && !zero.x;
20304 if ac_fn_c_try_compile "$LINENO"; then :
20309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20312 $as_echo "$ac_cv_c_const" >&6; }
20313 if test $ac_cv_c_const = no; then
20315 $as_echo "#define const /**/" >>confdefs.h
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20320 $as_echo_n "checking for inline... " >&6; }
20321 if ${ac_cv_c_inline+:} false; then :
20322 $as_echo_n "(cached) " >&6
20325 for ac_kw in inline __inline__ __inline; do
20326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h. */
20328 #ifndef __cplusplus
20330 static $ac_kw foo_t static_foo () {return 0; }
20331 $ac_kw foo_t foo () {return 0; }
20335 if ac_fn_c_try_compile "$LINENO"; then :
20336 ac_cv_c_inline=$ac_kw
20338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20339 test "$ac_cv_c_inline" != no && break
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20344 $as_echo "$ac_cv_c_inline" >&6; }
20346 case $ac_cv_c_inline in
20349 case $ac_cv_c_inline in
20351 *) ac_val=$ac_cv_c_inline;;
20353 cat >>confdefs.h <<_ACEOF
20354 #ifndef __cplusplus
20355 #define inline $ac_val
20362 # The cast to long int works around a bug in the HP C Compiler
20363 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20364 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20365 # This bug is HP SR number 8606223364.
20366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20367 $as_echo_n "checking size of short... " >&6; }
20368 if ${ac_cv_sizeof_short+:} false; then :
20369 $as_echo_n "(cached) " >&6
20371 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20374 if test "$ac_cv_type_short" = yes; then
20375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20376 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20377 as_fn_error 77 "cannot compute sizeof (short)
20378 See \`config.log
' for more details" "$LINENO" 5; }
20380 ac_cv_sizeof_short=0
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20386 $as_echo "$ac_cv_sizeof_short" >&6; }
20390 cat >>confdefs.h <<_ACEOF
20391 #define SIZEOF_SHORT $ac_cv_sizeof_short
20395 # The cast to long int works around a bug in the HP C Compiler
20396 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20397 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20398 # This bug is HP SR number 8606223364.
20399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20400 $as_echo_n "checking size of void *... " >&6; }
20401 if ${ac_cv_sizeof_void_p+:} false
; then :
20402 $as_echo_n "(cached) " >&6
20404 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20407 if test "$ac_cv_type_void_p" = yes; then
20408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20410 as_fn_error
77 "cannot compute sizeof (void *)
20411 See \`config.log' for more details" "$LINENO" 5; }
20413 ac_cv_sizeof_void_p
=0
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20419 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20423 cat >>confdefs.h
<<_ACEOF
20424 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20428 # The cast to long int works around a bug in the HP C Compiler
20429 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20430 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20431 # This bug is HP SR number 8606223364.
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20433 $as_echo_n "checking size of int... " >&6; }
20434 if ${ac_cv_sizeof_int+:} false
; then :
20435 $as_echo_n "(cached) " >&6
20437 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20440 if test "$ac_cv_type_int" = yes; then
20441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20443 as_fn_error
77 "cannot compute sizeof (int)
20444 See \`config.log' for more details" "$LINENO" 5; }
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20452 $as_echo "$ac_cv_sizeof_int" >&6; }
20456 cat >>confdefs.h
<<_ACEOF
20457 #define SIZEOF_INT $ac_cv_sizeof_int
20461 # The cast to long int works around a bug in the HP C Compiler
20462 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20463 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20464 # This bug is HP SR number 8606223364.
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20466 $as_echo_n "checking size of long... " >&6; }
20467 if ${ac_cv_sizeof_long+:} false
; then :
20468 $as_echo_n "(cached) " >&6
20470 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20473 if test "$ac_cv_type_long" = yes; then
20474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20476 as_fn_error
77 "cannot compute sizeof (long)
20477 See \`config.log' for more details" "$LINENO" 5; }
20479 ac_cv_sizeof_long
=0
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20485 $as_echo "$ac_cv_sizeof_long" >&6; }
20489 cat >>confdefs.h
<<_ACEOF
20490 #define SIZEOF_LONG $ac_cv_sizeof_long
20494 # The cast to long int works around a bug in the HP C Compiler
20495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20497 # This bug is HP SR number 8606223364.
20498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20499 $as_echo_n "checking size of size_t... " >&6; }
20500 if ${ac_cv_sizeof_size_t+:} false
; then :
20501 $as_echo_n "(cached) " >&6
20503 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20506 if test "$ac_cv_type_size_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 (size_t)
20510 See \`config.log' for more details" "$LINENO" 5; }
20512 ac_cv_sizeof_size_t
=0
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20518 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20522 cat >>confdefs.h
<<_ACEOF
20523 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20530 # The cast to long int works around a bug in the HP C Compiler
20531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20533 # This bug is HP SR number 8606223364.
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20535 $as_echo_n "checking size of long long... " >&6; }
20536 if ${ac_cv_sizeof_long_long+:} false
; then :
20537 $as_echo_n "(cached) " >&6
20539 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20542 if test "$ac_cv_type_long_long" = yes; then
20543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20545 as_fn_error
77 "cannot compute sizeof (long long)
20546 See \`config.log' for more details" "$LINENO" 5; }
20548 ac_cv_sizeof_long_long
=0
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20554 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20558 cat >>confdefs.h
<<_ACEOF
20559 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20565 # The cast to long int works around a bug in the HP C Compiler
20566 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20567 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20568 # This bug is HP SR number 8606223364.
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20570 $as_echo_n "checking size of long long... " >&6; }
20571 if ${ac_cv_sizeof_long_long+:} false
; then :
20572 $as_echo_n "(cached) " >&6
20574 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20577 if test "$ac_cv_type_long_long" = yes; then
20578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20580 as_fn_error
77 "cannot compute sizeof (long long)
20581 See \`config.log' for more details" "$LINENO" 5; }
20583 ac_cv_sizeof_long_long
=0
20588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20589 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20593 cat >>confdefs.h
<<_ACEOF
20594 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20598 if test "$ac_cv_sizeof_long_long" != 0; then
20599 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20603 # The cast to long int works around a bug in the HP C Compiler
20604 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20605 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20606 # This bug is HP SR number 8606223364.
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20608 $as_echo_n "checking size of long long... " >&6; }
20609 if ${ac_cv_sizeof_long_long+:} false
; then :
20610 $as_echo_n "(cached) " >&6
20612 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20615 if test "$ac_cv_type_long_long" = yes; then
20616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20618 as_fn_error
77 "cannot compute sizeof (long long)
20619 See \`config.log' for more details" "$LINENO" 5; }
20621 ac_cv_sizeof_long_long
=0
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20627 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20631 cat >>confdefs.h
<<_ACEOF
20632 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20638 # The cast to long int works around a bug in the HP C Compiler
20639 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20640 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20641 # This bug is HP SR number 8606223364.
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20643 $as_echo_n "checking size of wchar_t... " >&6; }
20644 if ${ac_cv_sizeof_wchar_t+:} false
; then :
20645 $as_echo_n "(cached) " >&6
20647 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20648 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20649 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20650 # error \"fake wchar_t\"
20652 #ifdef HAVE_WCHAR_H
20654 # include <stddef.h>
20656 # include <wchar.h>
20658 #ifdef HAVE_STDLIB_H
20659 # include <stdlib.h>
20667 if test "$ac_cv_type_wchar_t" = yes; then
20668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20670 as_fn_error
77 "cannot compute sizeof (wchar_t)
20671 See \`config.log' for more details" "$LINENO" 5; }
20673 ac_cv_sizeof_wchar_t
=0
20678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20679 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20683 cat >>confdefs.h
<<_ACEOF
20684 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20688 if test "$ac_cv_sizeof_wchar_t" = 0; then
20689 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20691 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20695 $as_echo_n "checking for va_copy... " >&6; }
20696 if ${wx_cv_func_va_copy+:} false
; then :
20697 $as_echo_n "(cached) " >&6
20701 ac_cpp
='$CXXCPP $CPPFLAGS'
20702 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20703 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20704 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20707 /* end confdefs.h. */
20710 #include <stdarg.h>
20711 void foo(char *f, ...)
20726 if ac_fn_cxx_try_link
"$LINENO"; then :
20727 wx_cv_func_va_copy
=yes
20729 wx_cv_func_va_copy
=no
20732 rm -f core conftest.err conftest.
$ac_objext \
20733 conftest
$ac_exeext conftest.
$ac_ext
20735 ac_cpp
='$CPP $CPPFLAGS'
20736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20744 $as_echo "$wx_cv_func_va_copy" >&6; }
20746 if test $wx_cv_func_va_copy = "yes"; then
20747 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20751 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20752 if ${wx_cv_type_va_list_lvalue+:} false
; then :
20753 $as_echo_n "(cached) " >&6
20756 if test "$cross_compiling" = yes; then :
20757 wx_cv_type_va_list_lvalue
=yes
20760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20761 /* end confdefs.h. */
20764 #include <stdarg.h>
20765 int foo(char *f, ...)
20770 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20778 return foo("hi", 17);
20782 if ac_fn_c_try_run
"$LINENO"; then :
20783 wx_cv_type_va_list_lvalue
=yes
20785 wx_cv_type_va_list_lvalue
=no
20787 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20788 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20795 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20797 if test $wx_cv_type_va_list_lvalue != "yes"; then
20798 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20803 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20806 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20807 if ${wx_cv_have_variadic_macros+:} false
; then :
20808 $as_echo_n "(cached) " >&6
20812 ac_cpp
='$CXXCPP $CPPFLAGS'
20813 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20814 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20815 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20818 /* end confdefs.h. */
20822 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20828 test("%s %d %p", "test", 1, 0);
20835 if ac_fn_cxx_try_compile
"$LINENO"; then :
20836 wx_cv_have_variadic_macros
=yes
20838 wx_cv_have_variadic_macros
=no
20841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20843 ac_cpp
='$CPP $CPPFLAGS'
20844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20852 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20854 if test $wx_cv_have_variadic_macros = "yes"; then
20855 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20860 $as_echo "#define wxNO_VARIADIC_MACROS 1" >>confdefs.h
20864 LARGEFILE_CPPFLAGS
=
20865 # Check whether --enable-largefile was given.
20866 if test "${enable_largefile+set}" = set; then :
20867 enableval
=$enable_largefile;
20870 if test "$enable_largefile" != no
; then
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20874 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20875 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20876 $as_echo_n "(cached) " >&6
20879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20880 /* end confdefs.h. */
20881 #define _FILE_OFFSET_BITS 64
20882 #include <sys/types.h>
20887 unsigned int field: sizeof(off_t) == 8;
20894 if ac_fn_c_try_compile
"$LINENO"; then :
20895 ac_cv_sys_file_offset_bits
=64
20897 ac_cv_sys_file_offset_bits
=no
20899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20904 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20906 if test "$ac_cv_sys_file_offset_bits" != no
; then
20908 cat >>confdefs.h
<<_ACEOF
20909 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20914 if test "x$wx_largefile" != "xyes"; then
20916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20917 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20918 if ${ac_cv_sys_large_files+:} false
; then :
20919 $as_echo_n "(cached) " >&6
20922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h. */
20924 #define _LARGE_FILES 1
20925 #include <sys/types.h>
20930 unsigned int field: sizeof(off_t) == 8;
20937 if ac_fn_c_try_compile
"$LINENO"; then :
20938 ac_cv_sys_large_files
=1
20940 ac_cv_sys_large_files
=no
20942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20947 $as_echo "$ac_cv_sys_large_files" >&6; }
20949 if test "$ac_cv_sys_large_files" != no
; then
20951 cat >>confdefs.h
<<_ACEOF
20952 #define _LARGE_FILES $ac_cv_sys_large_files
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20960 $as_echo_n "checking if large file support is available... " >&6; }
20961 if test "x$wx_largefile" = "xyes"; then
20962 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20966 $as_echo "$wx_largefile" >&6; }
20969 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20970 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20971 elif test "$ac_cv_sys_large_files" = 1; then
20972 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20975 if test -n "$LARGEFILE_CPPFLAGS"; then
20976 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20978 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20980 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20981 if ${wx_cv_STDC_EXT_required+:} false
; then :
20982 $as_echo_n "(cached) " >&6
20986 ac_cpp
='$CXXCPP $CPPFLAGS'
20987 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20988 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20989 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20992 /* end confdefs.h. */
20998 #ifndef __STDC_EXT__
21006 if ac_fn_cxx_try_compile
"$LINENO"; then :
21007 wx_cv_STDC_EXT_required
=no
21009 wx_cv_STDC_EXT_required
=yes
21012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21014 ac_cpp
='$CPP $CPPFLAGS'
21015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
21023 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
21024 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21025 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21031 ac_cpp
='$CXXCPP $CPPFLAGS'
21032 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21033 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21034 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21036 old_CPPFLAGS
="$CPPFLAGS"
21037 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
21038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21039 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
21040 if ${ac_cv_sys_largefile_source+:} false
; then :
21041 $as_echo_n "(cached) " >&6
21044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21046 #include <sys/types.h> /* for off_t */
21051 int (*fp) (FILE *, off_t, int) = fseeko;
21052 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21057 if ac_fn_cxx_try_link
"$LINENO"; then :
21058 ac_cv_sys_largefile_source
=no
; break
21060 rm -f core conftest.err conftest.
$ac_objext \
21061 conftest
$ac_exeext conftest.
$ac_ext
21062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21063 /* end confdefs.h. */
21064 #define _LARGEFILE_SOURCE 1
21065 #include <sys/types.h> /* for off_t */
21070 int (*fp) (FILE *, off_t, int) = fseeko;
21071 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21076 if ac_fn_cxx_try_link
"$LINENO"; then :
21077 ac_cv_sys_largefile_source
=1; break
21079 rm -f core conftest.err conftest.
$ac_objext \
21080 conftest
$ac_exeext conftest.
$ac_ext
21081 ac_cv_sys_largefile_source
=unknown
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21086 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21087 case $ac_cv_sys_largefile_source in #(
21090 cat >>confdefs.h
<<_ACEOF
21091 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21097 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21098 # in glibc 2.1.3, but that breaks too many other things.
21099 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21100 if test $ac_cv_sys_largefile_source != unknown
; then
21102 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21106 CPPFLAGS
="$old_CPPFLAGS"
21108 ac_cpp
='$CPP $CPPFLAGS'
21109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21113 if test "$ac_cv_sys_largefile_source" != no
; then
21114 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21118 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21119 if ${ac_cv_c_bigendian+:} false
; then :
21120 $as_echo_n "(cached) " >&6
21122 ac_cv_c_bigendian
=unknown
21123 # See if sys/param.h defines the BYTE_ORDER macro.
21124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21125 /* end confdefs.h. */
21126 #include <sys/types.h>
21127 #include <sys/param.h>
21132 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21133 bogus endian macros
21139 if ac_fn_c_try_compile
"$LINENO"; then :
21140 # It does; now see whether it defined to BIG_ENDIAN or not.
21141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21142 /* end confdefs.h. */
21143 #include <sys/types.h>
21144 #include <sys/param.h>
21149 #if BYTE_ORDER != BIG_ENDIAN
21156 if ac_fn_c_try_compile
"$LINENO"; then :
21157 ac_cv_c_bigendian
=yes
21159 ac_cv_c_bigendian
=no
21161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21164 if test $ac_cv_c_bigendian = unknown
; then
21165 if test "$cross_compiling" = yes; then :
21166 ac_cv_c_bigendian
=unknown
21168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21169 /* end confdefs.h. */
21171 /* Are we little or big endian? From Harbison&Steele. */
21175 char c[sizeof (long)];
21178 exit (u.c[sizeof (long) - 1] == 1);
21181 if ac_fn_c_try_run
"$LINENO"; then :
21182 ac_cv_c_bigendian
=no
21184 ac_cv_c_bigendian
=yes
21186 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21187 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21193 $as_echo "$ac_cv_c_bigendian" >&6; }
21194 if test $ac_cv_c_bigendian = unknown
; then
21195 { $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
21196 $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;}
21198 if test $ac_cv_c_bigendian = yes; then
21199 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21207 ac_cpp
='$CXXCPP $CPPFLAGS'
21208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21213 for ac_header
in iostream
21215 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
21217 if test "x$ac_cv_header_iostream" = xyes
; then :
21218 cat >>confdefs.h
<<_ACEOF
21219 #define HAVE_IOSTREAM 1
21227 if test "$ac_cv_header_iostream" = "yes" ; then
21230 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21235 ac_cpp
='$CPP $CPPFLAGS'
21236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21244 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21245 if ${wx_cv_explicit+:} false
; then :
21246 $as_echo_n "(cached) " >&6
21251 ac_cpp
='$CXXCPP $CPPFLAGS'
21252 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21258 /* end confdefs.h. */
21260 class Foo { public: explicit Foo(int) {} };
21272 if ac_fn_cxx_try_compile
"$LINENO"; then :
21274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21275 /* end confdefs.h. */
21277 class Foo { public: explicit Foo(int) {} };
21278 static void TakeFoo(const Foo& foo) { }
21291 if ac_fn_cxx_try_compile
"$LINENO"; then :
21297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21306 ac_cpp
='$CPP $CPPFLAGS'
21307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21314 $as_echo "$wx_cv_explicit" >&6; }
21316 if test "$wx_cv_explicit" = "yes"; then
21317 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21322 if test "x$SUNCXX" = xyes
; then
21323 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21326 if test "x$SUNCC" = xyes
; then
21327 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21330 if test "x$SGICC" = "xyes"; then
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21332 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21333 if ${wx_cv_prog_sgicc744+:} false
; then :
21334 $as_echo_n "(cached) " >&6
21337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21338 /* end confdefs.h. */
21344 #if _SGI_COMPILER_VERSION >= 744
21345 chock me: mipsPro is 7.4.4 or later
21352 if ac_fn_c_try_compile
"$LINENO"; then :
21353 wx_cv_prog_sgicc744
=no
21355 wx_cv_prog_sgicc744
=yes
21358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21363 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21365 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21366 CFLAGS
="-woff 3970 $CFLAGS"
21369 if test "x$SGICXX" = "xyes"; then
21370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21371 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21372 if ${wx_cv_prog_sgicxx744+:} false
; then :
21373 $as_echo_n "(cached) " >&6
21377 ac_cpp
='$CXXCPP $CPPFLAGS'
21378 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21379 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21380 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21383 /* end confdefs.h. */
21389 #if _SGI_COMPILER_VERSION >= 744
21390 chock me: mipsPro is 7.4.4 or later
21397 if ac_fn_cxx_try_compile
"$LINENO"; then :
21398 wx_cv_prog_sgicxx744
=no
21400 wx_cv_prog_sgicxx744
=yes
21403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21405 ac_cpp
='$CPP $CPPFLAGS'
21406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21414 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21416 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21417 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21421 if test "x$HPCC" = "xyes"; then
21422 CFLAGS
="+W 2011,2450 $CFLAGS"
21424 if test "x$HPCXX" = "xyes"; then
21425 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21428 if test "x$COMPAQCXX" = "xyes"; then
21429 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21433 ac_cpp
='$CXXCPP $CPPFLAGS'
21434 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21435 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21436 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21439 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21440 if test "$wxUSE_UNICODE" = "yes"; then
21441 std_string
="std::wstring"
21442 char_type
="wchar_t"
21444 std_string
="std::string"
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21449 $as_echo_n "checking for $std_string in <string>... " >&6; }
21450 if ${wx_cv_class_stdstring+:} false
; then :
21451 $as_echo_n "(cached) " >&6
21454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21455 /* end confdefs.h. */
21465 if ac_fn_cxx_try_compile
"$LINENO"; then :
21466 wx_cv_class_stdstring
=yes
21468 wx_cv_class_stdstring
=no
21471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21476 $as_echo "$wx_cv_class_stdstring" >&6; }
21478 if test "$wx_cv_class_stdstring" = yes; then
21479 if test "$wxUSE_UNICODE" = "yes"; then
21480 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21485 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21486 if ${wx_cv_class_stdbasicstring+:} false
; then :
21487 $as_echo_n "(cached) " >&6
21490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21491 /* end confdefs.h. */
21493 #ifdef HAVE_WCHAR_H
21495 # include <stddef.h>
21497 # include <wchar.h>
21499 #ifdef HAVE_STDLIB_H
21500 # include <stdlib.h>
21508 std::basic_string<$char_type> foo;
21509 const $char_type* dummy = foo.c_str();
21514 if ac_fn_cxx_try_compile
"$LINENO"; then :
21515 wx_cv_class_stdbasicstring
=yes
21517 wx_cv_class_stdbasicstring
=no
21520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21525 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21527 if test "$wx_cv_class_stdbasicstring" != yes; then
21528 if test "$wxUSE_STL" = "yes"; then
21529 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21530 elif test "$wxUSE_STD_STRING" = "yes"; then
21531 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21534 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21535 wxUSE_STD_STRING
=no
21541 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21542 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21544 if test "x$ac_cv_type_std__istream" = xyes
; then :
21546 cat >>confdefs.h
<<_ACEOF
21547 #define HAVE_STD__ISTREAM 1
21552 wxUSE_STD_IOSTREAM
=no
21554 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21556 if test "x$ac_cv_type_std__ostream" = xyes
; then :
21558 cat >>confdefs.h
<<_ACEOF
21559 #define HAVE_STD__OSTREAM 1
21564 wxUSE_STD_IOSTREAM
=no
21568 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21569 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21570 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21573 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21578 if test "$wxUSE_STL" = "yes"; then
21579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21580 $as_echo_n "checking for basic STL functionality... " >&6; }
21581 if ${wx_cv_lib_stl+:} false
; then :
21582 $as_echo_n "(cached) " >&6
21584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21585 /* end confdefs.h. */
21587 #include <functional>
21588 #include <algorithm>
21594 std::vector<int> moo;
21595 std::list<int> foo;
21596 std::vector<int>::iterator it =
21597 std::find_if(moo.begin(), moo.end(),
21598 std::bind2nd(std::less<int>(), 3));
21603 if ac_fn_cxx_try_compile
"$LINENO"; then :
21609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21613 $as_echo "$wx_cv_lib_stl" >&6; }
21615 if test "$wx_cv_lib_stl" != yes; then
21616 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21620 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21621 if ${wx_cv_func_stdstring_compare+:} false
; then :
21622 $as_echo_n "(cached) " >&6
21624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21625 /* end confdefs.h. */
21630 std::string foo, bar;
21632 foo.compare(1, 1, bar);
21633 foo.compare(1, 1, bar, 1, 1);
21635 foo.compare(1, 1, "");
21636 foo.compare(1, 1, "", 2);
21641 if ac_fn_cxx_try_compile
"$LINENO"; then :
21642 wx_cv_func_stdstring_compare
=yes
21644 wx_cv_func_stdstring_compare
=no
21647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21651 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21653 if test "$wx_cv_func_stdstring_compare" = yes; then
21654 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21658 if test "$wx_cv_class_gnuhashmapset" = yes; then
21659 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21661 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21665 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21668 if test "x$ac_cv_header_unordered_map" = xyes
; then :
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21670 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21671 if ${wx_cv_class_stdunorderedmapset+:} false
; then :
21672 $as_echo_n "(cached) " >&6
21674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21675 /* end confdefs.h. */
21676 #include <unordered_map>
21677 #include <unordered_set>
21681 std::unordered_map<double*, char*> test1;
21682 std::unordered_set<char*> test2;
21687 if ac_fn_cxx_try_compile
"$LINENO"; then :
21688 wx_cv_class_stdunorderedmapset
=yes
21690 wx_cv_class_stdunorderedmapset
=no
21692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21697 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21702 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21703 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21705 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21708 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21711 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21713 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21714 if ${wx_cv_class_tr1unorderedmapset+:} false
; then :
21715 $as_echo_n "(cached) " >&6
21717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h. */
21719 #include <tr1/unordered_map>
21720 #include <tr1/unordered_set>
21724 std::tr1::unordered_map<double*, char*> test1;
21725 std::tr1::unordered_set<char*> test2;
21726 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21727 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21733 if ac_fn_cxx_try_compile
"$LINENO"; then :
21734 wx_cv_class_tr1unorderedmapset
=yes
21736 wx_cv_class_tr1unorderedmapset
=no
21738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21743 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21748 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21749 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21751 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21754 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21757 if test "x$ac_cv_header_hash_map" = xyes
; then :
21758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21759 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21760 if ${wx_cv_class_stdhashmapset+:} false
; then :
21761 $as_echo_n "(cached) " >&6
21763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21764 /* end confdefs.h. */
21765 #include <hash_map>
21766 #include <hash_set>
21770 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21771 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21776 if ac_fn_cxx_try_compile
"$LINENO"; then :
21777 wx_cv_class_stdhashmapset
=yes
21779 wx_cv_class_stdhashmapset
=no
21781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21786 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21791 if test "$wx_cv_class_stdhashmapset" = yes; then
21792 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21794 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21798 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21801 if test "x$ac_cv_header_ext_hash_map" = xyes
; then :
21802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21803 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21804 if ${wx_cv_class_gnuhashmapset+:} false
; then :
21805 $as_echo_n "(cached) " >&6
21807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21808 /* end confdefs.h. */
21809 #include <ext/hash_map>
21810 #include <ext/hash_set>
21814 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21815 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21820 if ac_fn_cxx_try_compile
"$LINENO"; then :
21821 wx_cv_class_gnuhashmapset
=yes
21823 wx_cv_class_gnuhashmapset
=no
21825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21830 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21840 ac_cpp
='$CXXCPP $CPPFLAGS'
21841 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21842 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21843 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21845 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21846 if test -z "$CXXCPP"; then
21847 if ${ac_cv_prog_CXXCPP+:} false
; then :
21848 $as_echo_n "(cached) " >&6
21850 # Double quotes because CXXCPP needs to be expanded
21851 for CXXCPP
in "$CXX -E" "/lib/cpp"
21853 ac_preproc_ok
=false
21854 for ac_cxx_preproc_warn_flag
in '' yes
21856 # Use a header file that comes with gcc, so configuring glibc
21857 # with a fresh cross-compiler works.
21858 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21859 # <limits.h> exists even on freestanding compilers.
21860 # On the NeXT, cc -E runs the code through the compiler's parser,
21861 # not just through cpp. "Syntax error" is here to catch this case.
21862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21863 /* end confdefs.h. */
21865 # include <limits.h>
21867 # include <assert.h>
21871 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21874 # Broken: fails on valid input.
21877 rm -f conftest.err conftest.i conftest.
$ac_ext
21879 # OK, works on sane cases. Now check whether nonexistent headers
21880 # can be detected and how.
21881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21882 /* end confdefs.h. */
21883 #include <ac_nonexistent.h>
21885 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21886 # Broken: success on invalid input.
21889 # Passes both tests.
21893 rm -f conftest.err conftest.i conftest.
$ac_ext
21896 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21897 rm -f conftest.i conftest.err conftest.
$ac_ext
21898 if $ac_preproc_ok; then :
21903 ac_cv_prog_CXXCPP
=$CXXCPP
21906 CXXCPP
=$ac_cv_prog_CXXCPP
21908 ac_cv_prog_CXXCPP
=$CXXCPP
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21911 $as_echo "$CXXCPP" >&6; }
21912 ac_preproc_ok
=false
21913 for ac_cxx_preproc_warn_flag
in '' yes
21915 # Use a header file that comes with gcc, so configuring glibc
21916 # with a fresh cross-compiler works.
21917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21918 # <limits.h> exists even on freestanding compilers.
21919 # On the NeXT, cc -E runs the code through the compiler's parser,
21920 # not just through cpp. "Syntax error" is here to catch this case.
21921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21922 /* end confdefs.h. */
21924 # include <limits.h>
21926 # include <assert.h>
21930 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21933 # Broken: fails on valid input.
21936 rm -f conftest.err conftest.i conftest.
$ac_ext
21938 # OK, works on sane cases. Now check whether nonexistent headers
21939 # can be detected and how.
21940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21941 /* end confdefs.h. */
21942 #include <ac_nonexistent.h>
21944 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21945 # Broken: success on invalid input.
21948 # Passes both tests.
21952 rm -f conftest.err conftest.i conftest.
$ac_ext
21955 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21956 rm -f conftest.i conftest.err conftest.
$ac_ext
21957 if $ac_preproc_ok; then :
21960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21962 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21963 See \`config.log' for more details" "$LINENO" 5; }
21967 ac_cpp
='$CXXCPP $CPPFLAGS'
21968 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21969 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21970 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21973 for ac_header
in type_traits tr
1/type_traits
21975 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21976 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21977 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21978 cat >>confdefs.h
<<_ACEOF
21979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21989 if test -n "$GCC"; then
21990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21991 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21992 if ${wx_cv_cc_gcc_atomic_builtins+:} false
; then :
21993 $as_echo_n "(cached) " >&6
21996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21997 /* end confdefs.h. */
22003 unsigned int value=0;
22004 /* wxAtomicInc doesn't use return value here */
22005 __sync_fetch_and_add(&value, 2);
22006 __sync_sub_and_fetch(&value, 1);
22007 /* but wxAtomicDec does, so mimic that: */
22008 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
22014 if ac_fn_cxx_try_link
"$LINENO"; then :
22015 wx_cv_cc_gcc_atomic_builtins
=yes
22017 wx_cv_cc_gcc_atomic_builtins
=no
22019 rm -f core conftest.err conftest.
$ac_objext \
22020 conftest
$ac_exeext conftest.
$ac_ext
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
22025 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
22026 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
22027 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
22034 ac_cpp
='$CPP $CPPFLAGS'
22035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22042 /usr/local/include \
22043 /usr/local/X11/include \
22044 /usr/local/include/X11 \
22045 /usr/local/X11R7/include \
22046 /usr/local/X11R6/include \
22047 /usr/local/include/X11R7 \
22048 /usr/local/include/X11R6 \
22050 /usr/Motif-2.1/include \
22051 /usr/Motif-1.2/include \
22052 /usr/include/Motif1.2 \
22055 /usr/openwin/include \
22059 /usr/X11R7/include \
22060 /usr/X11R6/include \
22061 /usr/X11R6.4/include \
22063 /usr/include/X11R7 \
22064 /usr/include/X11R6 \
22069 /usr/XFree86/include/X11 \
22072 /usr/local/X1R5/include \
22073 /usr/local/include/X11R5 \
22074 /usr/X11R5/include \
22075 /usr/include/X11R5 \
22077 /usr/local/X11R4/include \
22078 /usr/local/include/X11R4 \
22079 /usr/X11R4/include \
22080 /usr/include/X11R4 \
22082 /usr/openwin/share/include"
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
22085 $as_echo_n "checking for libraries directories... " >&6; }
22089 if ${wx_cv_std_libpath+:} false
; then :
22090 $as_echo_n "(cached) " >&6
22093 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
22094 for e
in a so sl dylib dll.a
; do
22096 if test -f $libc; then
22099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22100 /* end confdefs.h. */
22102 int main() { return 0; }
22105 if ac_fn_c_try_link
"$LINENO"; then :
22106 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
22108 rm -f core conftest.err conftest.
$ac_objext \
22109 conftest
$ac_exeext conftest.
$ac_ext
22111 if test "x$wx_cv_std_libpath" != "x"; then
22124 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22125 wx_cv_std_libpath
="lib/64"
22130 if test "$ac_cv_sizeof_void_p" = 8; then
22131 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22132 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
22133 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22134 wx_cv_std_libpath
="lib64"
22139 if test -d '/usr/lib/i386-linux-gnu'; then
22140 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
22145 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22146 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
22151 if test -z "$wx_cv_std_libpath"; then
22152 wx_cv_std_libpath
="lib"
22155 if test -z "$wx_cv_std_libfullpath"; then
22156 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22161 $as_echo "$wx_cv_std_libfullpath" >&6; }
22163 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22165 if test "$build" != "$host" -a "$GCC" = yes; then
22166 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22167 cross_root
=`dirname $cross_root`
22168 cross_root
=`dirname $cross_root`
22170 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22171 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22172 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
22174 if test -z "$PKG_CONFIG_PATH"; then
22175 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22176 export PKG_CONFIG_PATH
22179 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22182 for ac_dir
in $SEARCH_INCLUDE /usr
/include
22184 if test -f "$ac_dir/X11/Intrinsic.h"; then
22185 ac_find_includes
=$ac_dir
22190 x_includes
=$ac_find_includes
22192 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22195 for ac_dir
in $SEARCH_LIB
22197 for ac_extension
in a so sl dylib dll.a
; do
22198 if test -f "$ac_dir/libXt.$ac_extension"; then
22199 ac_find_libraries
=$ac_dir
22205 x_libraries
=$ac_find_libraries
22211 cat >confcache
<<\_ACEOF
22212 # This file is a shell script that caches the results of configure
22213 # tests run on this system so they can be shared between configure
22214 # scripts and configure runs, see configure's option --config-cache.
22215 # It is not useful on other systems. If it contains results you don't
22216 # want to keep, you may remove or edit it.
22218 # config.status only pays attention to the cache file if you give it
22219 # the --recheck option to rerun configure.
22221 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22222 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22223 # following values.
22227 # The following way of writing the cache mishandles newlines in values,
22228 # but we know of no workaround that is simple, portable, and efficient.
22229 # So, we kill variables containing newlines.
22230 # Ultrix sh set writes to stderr and can't be redirected directly,
22231 # and sets the high bit in the cache file unless we assign to the vars.
22233 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22234 eval ac_val
=\$
$ac_var
22238 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22239 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22242 _
| IFS
| as_nl
) ;; #(
22243 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22244 *) { eval $ac_var=; unset $ac_var;} ;;
22250 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22251 *${as_nl}ac_space
=\
*)
22252 # `set' does not quote correctly, so add quotes: double-quote
22253 # substitution turns \\\\ into \\, and sed turns \\ into \.
22256 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22259 # `set' quotes correctly as required by POSIX, so do not add quotes.
22260 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22269 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22271 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22273 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22274 if test -w "$cache_file"; then
22275 if test "x$cache_file" != "x/dev/null"; then
22276 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22277 $as_echo "$as_me: updating cache $cache_file" >&6;}
22278 if test ! -f "$cache_file" || test -h "$cache_file"; then
22279 cat confcache
>"$cache_file"
22281 case $cache_file in #(
22283 mv -f confcache
"$cache_file"$$
&&
22284 mv -f "$cache_file"$$
"$cache_file" ;; #(
22286 mv -f confcache
"$cache_file" ;;
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22292 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22301 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22302 if test "x$ac_cv_func_cos" = xyes
; then :
22303 cat >>confdefs.h
<<_ACEOF
22310 for ac_func
in floor
22312 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22313 if test "x$ac_cv_func_floor" = xyes
; then :
22314 cat >>confdefs.h
<<_ACEOF
22315 #define HAVE_FLOOR 1
22321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22322 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22323 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22325 $as_echo "yes" >&6; }
22327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22328 $as_echo "no" >&6; }
22330 # use different functions to avoid configure caching
22335 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22336 if test "x$ac_cv_func_sin" = xyes
; then :
22337 cat >>confdefs.h
<<_ACEOF
22344 for ac_func
in ceil
22346 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22347 if test "x$ac_cv_func_ceil" = xyes
; then :
22348 cat >>confdefs.h
<<_ACEOF
22349 #define HAVE_CEIL 1
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22356 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22357 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22359 $as_echo "yes" >&6; }
22361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22362 $as_echo "no" >&6; }
22363 # not sure we should warn the user, crash, etc.
22368 ac_cpp
='$CXXCPP $CPPFLAGS'
22369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22373 if test "wxUSE_UNICODE" = "yes"; then
22375 for wx_func
in wcstoull
22377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22378 $as_echo_n "checking for $wx_func... " >&6; }
22379 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22380 $as_echo_n "(cached) " >&6
22383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22384 /* end confdefs.h. */
22388 $ac_includes_default
22404 if ac_fn_cxx_try_link
"$LINENO"; then :
22405 eval wx_cv_func_
$wx_func=yes
22407 eval wx_cv_func_
$wx_func=no
22409 rm -f core conftest.err conftest.
$ac_objext \
22410 conftest
$ac_exeext conftest.
$ac_ext
22413 eval ac_res
=\
$wx_cv_func_$wx_func
22414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22415 $as_echo "$ac_res" >&6; }
22417 if eval test \
$wx_cv_func_$wx_func = yes
22419 cat >>confdefs.h
<<_ACEOF
22420 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22432 for wx_func
in strtoull
22434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22435 $as_echo_n "checking for $wx_func... " >&6; }
22436 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22437 $as_echo_n "(cached) " >&6
22440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22441 /* end confdefs.h. */
22445 $ac_includes_default
22461 if ac_fn_cxx_try_link
"$LINENO"; then :
22462 eval wx_cv_func_
$wx_func=yes
22464 eval wx_cv_func_
$wx_func=no
22466 rm -f core conftest.err conftest.
$ac_objext \
22467 conftest
$ac_exeext conftest.
$ac_ext
22470 eval ac_res
=\
$wx_cv_func_$wx_func
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22472 $as_echo "$ac_res" >&6; }
22474 if eval test \
$wx_cv_func_$wx_func = yes
22476 cat >>confdefs.h
<<_ACEOF
22477 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22489 ac_cpp
='$CPP $CPPFLAGS'
22490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22497 if test "$wxUSE_REGEX" != "no"; then
22498 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22501 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22503 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22504 wxUSE_REGEX
=builtin
22507 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22508 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22510 if test "x$ac_cv_header_regex_h" = xyes
; then :
22511 for ac_func
in regcomp re_search
22513 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22514 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22515 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22516 cat >>confdefs.h
<<_ACEOF
22517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22527 if test "x$ac_cv_func_regcomp" != "xyes"; then
22528 if test "$wxUSE_REGEX" = "sys" ; then
22529 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22532 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22533 wxUSE_REGEX
=builtin
22537 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22545 if test "$wxUSE_ZLIB" != "no" ; then
22546 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22549 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22550 if test "$USE_DARWIN" = 1; then
22551 system_zlib_h_ok
="yes"
22553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22554 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22555 if ${ac_cv_header_zlib_h+:} false
; then :
22556 $as_echo_n "(cached) " >&6
22558 if test "$cross_compiling" = yes; then :
22559 unset ac_cv_header_zlib_h
22562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22563 /* end confdefs.h. */
22570 FILE *f=fopen("conftestval", "w");
22573 ZLIB_VERSION[0] == '1' &&
22574 (ZLIB_VERSION[2] > '1' ||
22575 (ZLIB_VERSION[2] == '1' &&
22576 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22581 if ac_fn_c_try_run
"$LINENO"; then :
22582 ac_cv_header_zlib_h
=`cat conftestval`
22584 ac_cv_header_zlib_h
=no
22586 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22587 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22593 $as_echo "$ac_cv_header_zlib_h" >&6; }
22594 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22596 if test "x$ac_cv_header_zlib_h" = xyes
; then :
22602 system_zlib_h_ok
=$ac_cv_header_zlib_h
22605 if test "$system_zlib_h_ok" = "yes"; then
22606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22607 $as_echo_n "checking for deflate in -lz... " >&6; }
22608 if ${ac_cv_lib_z_deflate+:} false
; then :
22609 $as_echo_n "(cached) " >&6
22611 ac_check_lib_save_LIBS
=$LIBS
22613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22614 /* end confdefs.h. */
22616 /* Override any GCC internal prototype to avoid an error.
22617 Use char because int might match the return type of a GCC
22618 builtin and then its argument prototype would still apply. */
22631 if ac_fn_c_try_link
"$LINENO"; then :
22632 ac_cv_lib_z_deflate
=yes
22634 ac_cv_lib_z_deflate
=no
22636 rm -f core conftest.err conftest.
$ac_objext \
22637 conftest
$ac_exeext conftest.
$ac_ext
22638 LIBS
=$ac_check_lib_save_LIBS
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22641 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22642 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
22648 if test "x$ZLIB_LINK" = "x" ; then
22649 if test "$wxUSE_ZLIB" = "sys" ; then
22650 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22653 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22664 if test "$wxUSE_LIBPNG" != "no" ; then
22665 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22668 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22670 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22671 wxUSE_LIBPNG
=builtin
22674 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22676 $as_echo_n "checking for png.h > 0.90... " >&6; }
22677 if ${ac_cv_header_png_h+:} false
; then :
22678 $as_echo_n "(cached) " >&6
22680 if test "$cross_compiling" = yes; then :
22681 unset ac_cv_header_png_h
22684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22685 /* end confdefs.h. */
22692 FILE *f=fopen("conftestval", "w");
22695 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22700 if ac_fn_c_try_run
"$LINENO"; then :
22701 ac_cv_header_png_h
=`cat conftestval`
22703 ac_cv_header_png_h
=no
22705 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22706 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22712 $as_echo "$ac_cv_header_png_h" >&6; }
22713 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22715 if test "x$ac_cv_header_png_h" = xyes
; then :
22721 if test "$ac_cv_header_png_h" = "yes"; then
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22723 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22724 if ${ac_cv_lib_png_png_sig_cmp+:} false
; then :
22725 $as_echo_n "(cached) " >&6
22727 ac_check_lib_save_LIBS
=$LIBS
22728 LIBS
="-lpng -lz -lm $LIBS"
22729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22730 /* end confdefs.h. */
22732 /* Override any GCC internal prototype to avoid an error.
22733 Use char because int might match the return type of a GCC
22734 builtin and then its argument prototype would still apply. */
22738 char png_sig_cmp ();
22742 return png_sig_cmp ();
22747 if ac_fn_c_try_link
"$LINENO"; then :
22748 ac_cv_lib_png_png_sig_cmp
=yes
22750 ac_cv_lib_png_png_sig_cmp
=no
22752 rm -f core conftest.err conftest.
$ac_objext \
22753 conftest
$ac_exeext conftest.
$ac_ext
22754 LIBS
=$ac_check_lib_save_LIBS
22756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22757 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22758 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes
; then :
22759 PNG_LINK
=" -lpng -lz"
22764 if test "x$PNG_LINK" = "x" ; then
22765 if test "$wxUSE_LIBPNG" = "sys" ; then
22766 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22769 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22770 wxUSE_LIBPNG
=builtin
22780 if test "$wxUSE_LIBJPEG" != "no" ; then
22781 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22784 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22786 $as_echo_n "checking for jpeglib.h... " >&6; }
22787 if ${ac_cv_header_jpeglib_h+:} false
; then :
22788 $as_echo_n "(cached) " >&6
22790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22791 /* end confdefs.h. */
22793 #undef HAVE_STDLIB_H
22795 #include <jpeglib.h>
22806 if ac_fn_c_try_compile
"$LINENO"; then :
22807 ac_cv_header_jpeglib_h
=yes
22809 ac_cv_header_jpeglib_h
=no
22812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22817 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22819 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22821 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22822 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false
; then :
22823 $as_echo_n "(cached) " >&6
22825 ac_check_lib_save_LIBS
=$LIBS
22826 LIBS
="-ljpeg $LIBS"
22827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22828 /* end confdefs.h. */
22830 /* Override any GCC internal prototype to avoid an error.
22831 Use char because int might match the return type of a GCC
22832 builtin and then its argument prototype would still apply. */
22836 char jpeg_read_header ();
22840 return jpeg_read_header ();
22845 if ac_fn_c_try_link
"$LINENO"; then :
22846 ac_cv_lib_jpeg_jpeg_read_header
=yes
22848 ac_cv_lib_jpeg_jpeg_read_header
=no
22850 rm -f core conftest.err conftest.
$ac_objext \
22851 conftest
$ac_exeext conftest.
$ac_ext
22852 LIBS
=$ac_check_lib_save_LIBS
22854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22855 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22856 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes
; then :
22857 JPEG_LINK
=" -ljpeg"
22862 if test "x$JPEG_LINK" = "x" ; then
22863 if test "$wxUSE_LIBJPEG" = "sys" ; then
22864 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22867 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22868 wxUSE_LIBJPEG
=builtin
22873 if test "$wxUSE_MSW" = 1; then
22874 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22876 if test "x$ac_cv_type_boolean" = xyes
; then :
22878 cat >>confdefs.h
<<_ACEOF
22879 #define HAVE_BOOLEAN 1
22883 # The cast to long int works around a bug in the HP C Compiler
22884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22886 # This bug is HP SR number 8606223364.
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22888 $as_echo_n "checking size of boolean... " >&6; }
22889 if ${ac_cv_sizeof_boolean+:} false
; then :
22890 $as_echo_n "(cached) " >&6
22892 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22893 #undef HAVE_BOOLEAN
22895 #include <jpeglib.h>
22900 if test "$ac_cv_type_boolean" = yes; then
22901 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22903 as_fn_error
77 "cannot compute sizeof (boolean)
22904 See \`config.log' for more details" "$LINENO" 5; }
22906 ac_cv_sizeof_boolean
=0
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22912 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22916 cat >>confdefs.h
<<_ACEOF
22917 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22921 cat >>confdefs.h
<<_ACEOF
22922 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22935 TIFF_PREREQ_LINKS
=-lm
22936 if test "$wxUSE_LIBTIFF" != "no" ; then
22937 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22940 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22941 if test "$wxUSE_LIBJPEG" = "sys"; then
22942 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22944 if test "$wxUSE_ZLIB" = "sys"; then
22945 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22947 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22950 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
22952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22953 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22954 if ${ac_cv_lib_tiff_TIFFError+:} false
; then :
22955 $as_echo_n "(cached) " >&6
22957 ac_check_lib_save_LIBS
=$LIBS
22958 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22960 /* end confdefs.h. */
22962 /* Override any GCC internal prototype to avoid an error.
22963 Use char because int might match the return type of a GCC
22964 builtin and then its argument prototype would still apply. */
22972 return TIFFError ();
22977 if ac_fn_c_try_link
"$LINENO"; then :
22978 ac_cv_lib_tiff_TIFFError
=yes
22980 ac_cv_lib_tiff_TIFFError
=no
22982 rm -f core conftest.err conftest.
$ac_objext \
22983 conftest
$ac_exeext conftest.
$ac_ext
22984 LIBS
=$ac_check_lib_save_LIBS
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22987 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22988 if test "x$ac_cv_lib_tiff_TIFFError" = xyes
; then :
22989 TIFF_LINK
=" -ltiff"
22997 if test "x$TIFF_LINK" = "x" ; then
22998 if test "$wxUSE_LIBTIFF" = "sys" ; then
22999 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
23001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
23002 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23003 wxUSE_LIBTIFF
=builtin
23009 if test "$wxUSE_LIBTIFF" = "builtin" ; then
23010 if test "$wxUSE_LIBJPEG" = "no"; then
23011 ac_configure_args
="$ac_configure_args --disable-jpeg"
23014 if test "$wxUSE_LIBLZMA" = "yes"; then
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
23016 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
23017 if ${ac_cv_lib_lzma_lzma_code+:} false
; then :
23018 $as_echo_n "(cached) " >&6
23020 ac_check_lib_save_LIBS
=$LIBS
23021 LIBS
="-llzma $LIBS"
23022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23023 /* end confdefs.h. */
23025 /* Override any GCC internal prototype to avoid an error.
23026 Use char because int might match the return type of a GCC
23027 builtin and then its argument prototype would still apply. */
23035 return lzma_code ();
23040 if ac_fn_c_try_link
"$LINENO"; then :
23041 ac_cv_lib_lzma_lzma_code
=yes
23043 ac_cv_lib_lzma_lzma_code
=no
23045 rm -f core conftest.err conftest.
$ac_objext \
23046 conftest
$ac_exeext conftest.
$ac_ext
23047 LIBS
=$ac_check_lib_save_LIBS
23049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
23050 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
23051 if test "x$ac_cv_lib_lzma_lzma_code" = xyes
; then :
23052 LIBS
="$LIBS -llzma"
23056 ac_configure_args
="$ac_configure_args --disable-lzma"
23059 if test "$wxUSE_LIBJBIG" = "yes"; then
23060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
23061 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
23062 if ${ac_cv_lib_jbig_jbg_dec_init+:} false
; then :
23063 $as_echo_n "(cached) " >&6
23065 ac_check_lib_save_LIBS
=$LIBS
23066 LIBS
="-ljbig $LIBS"
23067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23068 /* end confdefs.h. */
23070 /* Override any GCC internal prototype to avoid an error.
23071 Use char because int might match the return type of a GCC
23072 builtin and then its argument prototype would still apply. */
23076 char jbg_dec_init ();
23080 return jbg_dec_init ();
23085 if ac_fn_c_try_link
"$LINENO"; then :
23086 ac_cv_lib_jbig_jbg_dec_init
=yes
23088 ac_cv_lib_jbig_jbg_dec_init
=no
23090 rm -f core conftest.err conftest.
$ac_objext \
23091 conftest
$ac_exeext conftest.
$ac_ext
23092 LIBS
=$ac_check_lib_save_LIBS
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
23095 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
23096 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes
; then :
23097 LIBS
="$LIBS -ljbig"
23101 ac_configure_args
="$ac_configure_args --disable-jbig"
23106 subdirs
="$subdirs src/tiff"
23112 if test "$wxUSE_EXPAT" != "no"; then
23114 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
23116 $as_echo "#define wxUSE_XML 1" >>confdefs.h
23119 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23120 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
23122 if test "x$ac_cv_header_expat_h" = xyes
; then :
23127 if test "x$found_expat_h" = "x1"; then
23128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
23129 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
23130 if ${wx_cv_expat_is_not_broken+:} false
; then :
23131 $as_echo_n "(cached) " >&6
23135 ac_cpp
='$CXXCPP $CPPFLAGS'
23136 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23137 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23138 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23141 /* end confdefs.h. */
23151 if ac_fn_cxx_try_compile
"$LINENO"; then :
23152 wx_cv_expat_is_not_broken
=yes
23154 wx_cv_expat_is_not_broken
=no
23157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23159 ac_cpp
='$CPP $CPPFLAGS'
23160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23168 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23169 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23171 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23172 if ${ac_cv_lib_expat_XML_ParserCreate+:} false
; then :
23173 $as_echo_n "(cached) " >&6
23175 ac_check_lib_save_LIBS
=$LIBS
23176 LIBS
="-lexpat $LIBS"
23177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23178 /* end confdefs.h. */
23180 /* Override any GCC internal prototype to avoid an error.
23181 Use char because int might match the return type of a GCC
23182 builtin and then its argument prototype would still apply. */
23186 char XML_ParserCreate ();
23190 return XML_ParserCreate ();
23195 if ac_fn_c_try_link
"$LINENO"; then :
23196 ac_cv_lib_expat_XML_ParserCreate
=yes
23198 ac_cv_lib_expat_XML_ParserCreate
=no
23200 rm -f core conftest.err conftest.
$ac_objext \
23201 conftest
$ac_exeext conftest.
$ac_ext
23202 LIBS
=$ac_check_lib_save_LIBS
23204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23205 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23206 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
; then :
23207 EXPAT_LINK
=" -lexpat"
23212 if test "x$EXPAT_LINK" = "x" ; then
23213 if test "$wxUSE_EXPAT" = "sys" ; then
23214 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23217 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23218 wxUSE_EXPAT
=builtin
23224 if test "$wxUSE_EXPAT" = "builtin" ; then
23225 subdirs
="$subdirs src/expat"
23232 if test "$wxUSE_LIBMSPACK" != "no"; then
23233 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23235 if test "x$ac_cv_header_mspack_h" = xyes
; then :
23240 if test "x$found_mspack_h" = "x1"; then
23241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23242 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23243 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false
; then :
23244 $as_echo_n "(cached) " >&6
23246 ac_check_lib_save_LIBS
=$LIBS
23247 LIBS
="-lmspack $LIBS"
23248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23249 /* end confdefs.h. */
23251 /* Override any GCC internal prototype to avoid an error.
23252 Use char because int might match the return type of a GCC
23253 builtin and then its argument prototype would still apply. */
23257 char mspack_create_chm_decompressor ();
23261 return mspack_create_chm_decompressor ();
23266 if ac_fn_c_try_link
"$LINENO"; then :
23267 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23269 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23271 rm -f core conftest.err conftest.
$ac_objext \
23272 conftest
$ac_exeext conftest.
$ac_ext
23273 LIBS
=$ac_check_lib_save_LIBS
23275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23276 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23277 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes
; then :
23278 MSPACK_LINK
=" -lmspack"
23282 if test "x$MSPACK_LINK" = "x" ; then
23287 if test "$wxUSE_LIBMSPACK" != "no"; then
23288 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23298 if test "$USE_WIN32" = 1 ; then
23299 for ac_header
in w32api.h
23301 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23303 if test "x$ac_cv_header_w32api_h" = xyes
; then :
23304 cat >>confdefs.h
<<_ACEOF
23305 #define HAVE_W32API_H 1
23312 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
23314 if test "x$ac_cv_header_windows_h" = xyes
; then :
23318 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23324 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23326 x86_64
-*-mingw32* )
23327 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
23330 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23331 LIBS
="$LIBS -loleacc"
23336 LIBS
="$LIBS -lkernel32 -luser32"
23339 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23342 if test "$wxUSE_GUI" = "yes"; then
23353 if test "$wxUSE_OLD_COCOA" = 1 ; then
23354 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23356 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23357 wxUSE_PRINTING_ARCHITECTURE
=no
23359 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23361 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23362 wxUSE_DRAG_AND_DROP
=no
23364 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23366 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23371 if test "$wxUSE_MSW" = 1 ; then
23377 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23381 if test "$wxUSE_GTK" = 1; then
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23383 $as_echo_n "checking for GTK+ version... " >&6; }
23385 gtk_version_cached
=1
23386 if ${wx_cv_lib_gtk+:} false
; then :
23387 $as_echo_n "(cached) " >&6
23390 gtk_version_cached
=0
23391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23395 if test "$wxUSE_THREADS" = "yes"; then
23396 GTK_MODULES
=gthread
23399 if test -z "$wxGTK_VERSION"; then
23404 if test "x$wxGTK_VERSION" != "x1"
23408 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23413 if test "$wxGTK_VERSION" != 3; then
23414 # Check whether --enable-gtktest was given.
23415 if test "${enable_gtktest+set}" = set; then :
23416 enableval
=$enable_gtktest;
23422 pkg_config_args
=gtk
+-2.0
23423 for module
in .
$GTK_MODULES
23427 pkg_config_args
="$pkg_config_args gthread-2.0"
23434 # Extract the first word of "pkg-config", so it can be a program name with args.
23435 set dummy pkg
-config; ac_word
=$2
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23437 $as_echo_n "checking for $ac_word... " >&6; }
23438 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23439 $as_echo_n "(cached) " >&6
23441 case $PKG_CONFIG in
23443 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23447 for as_dir
in $PATH
23450 test -z "$as_dir" && as_dir
=.
23451 for ac_exec_ext
in '' $ac_executable_extensions; do
23452 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23453 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23461 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23465 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23466 if test -n "$PKG_CONFIG"; then
23467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23468 $as_echo "$PKG_CONFIG" >&6; }
23470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23471 $as_echo "no" >&6; }
23476 if test x
$PKG_CONFIG != xno
; then
23477 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23480 echo "*** pkg-config too old; version 0.7 or better required."
23488 min_gtk_version
=2.6.0
23489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23490 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23492 if test x
$PKG_CONFIG != xno
; then
23493 ## don't try to run the test against uninstalled libtool libs
23494 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23495 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23499 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23506 if test x
"$no_gtk" = x
; then
23507 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23508 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23509 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23510 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23511 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23512 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23513 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23515 if test "x$enable_gtktest" = "xyes" ; then
23516 ac_save_CFLAGS
="$CFLAGS"
23517 ac_save_LIBS
="$LIBS"
23518 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23519 LIBS
="$GTK_LIBS $LIBS"
23521 if test "$cross_compiling" = yes; then :
23522 echo $ac_n "cross compiling; assumed OK... $ac_c"
23524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23525 /* end confdefs.h. */
23527 #include <gtk/gtk.h>
23529 #include <stdlib.h>
23534 int major, minor, micro;
23537 system ("touch conf.gtktest");
23539 /* HP/UX 9 (%@#!) writes to sscanf strings */
23540 tmp_version = g_strdup("$min_gtk_version");
23541 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23542 printf("%s, bad version string\n", "$min_gtk_version");
23546 if ((gtk_major_version != $gtk_config_major_version) ||
23547 (gtk_minor_version != $gtk_config_minor_version) ||
23548 (gtk_micro_version != $gtk_config_micro_version))
23550 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23551 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23552 gtk_major_version, gtk_minor_version, gtk_micro_version);
23553 printf ("*** was found! If pkg-config was correct, then it is best\n");
23554 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23555 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23556 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23557 printf("*** required on your system.\n");
23558 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23559 printf("*** to point to the correct configuration files\n");
23561 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23562 (gtk_minor_version != GTK_MINOR_VERSION) ||
23563 (gtk_micro_version != GTK_MICRO_VERSION))
23565 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23566 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23567 printf("*** library (version %d.%d.%d)\n",
23568 gtk_major_version, gtk_minor_version, gtk_micro_version);
23572 if ((gtk_major_version > major) ||
23573 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23574 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23580 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23581 gtk_major_version, gtk_minor_version, gtk_micro_version);
23582 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23583 major, minor, micro);
23584 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23586 printf("*** If you have already installed a sufficiently new version, this error\n");
23587 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23588 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23589 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23590 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23591 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23592 printf("*** so that the correct libraries are found at run-time))\n");
23599 if ac_fn_c_try_run
"$LINENO"; then :
23604 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23605 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23608 CFLAGS
="$ac_save_CFLAGS"
23609 LIBS
="$ac_save_LIBS"
23612 if test "x$no_gtk" = x
; then
23613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23614 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23618 $as_echo "no" >&6; }
23619 if test "$PKG_CONFIG" = "no" ; then
23620 echo "*** A new enough version of pkg-config was not found."
23621 echo "*** See http://pkgconfig.sourceforge.net"
23623 if test -f conf.gtktest
; then
23626 echo "*** Could not run GTK+ test program, checking why..."
23627 ac_save_CFLAGS
="$CFLAGS"
23628 ac_save_LIBS
="$LIBS"
23629 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23630 LIBS
="$LIBS $GTK_LIBS"
23631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23632 /* end confdefs.h. */
23634 #include <gtk/gtk.h>
23640 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23645 if ac_fn_c_try_link
"$LINENO"; then :
23646 echo "*** The test program compiled, but did not run. This usually means"
23647 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23648 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23649 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23650 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23651 echo "*** is required on your system"
23653 echo "*** If you have an old version installed, it is best to remove it, although"
23654 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23656 echo "*** The test program failed to compile or link. See the file config.log for the"
23657 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23659 rm -f core conftest.err conftest.
$ac_objext \
23660 conftest
$ac_exeext conftest.
$ac_ext
23661 CFLAGS
="$ac_save_CFLAGS"
23662 LIBS
="$ac_save_LIBS"
23674 if test -z "$wx_cv_lib_gtk"; then
23675 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23676 # Check whether --enable-gtktest was given.
23677 if test "${enable_gtktest+set}" = set; then :
23678 enableval
=$enable_gtktest;
23684 pkg_gtk_version
=gtk
+-3.0
23685 pkg_config_args
=$pkg_gtk_version
23686 for module
in .
$GTK_MODULES
23690 pkg_gthread_version
=gthread
-2.0
23691 pkg_config_args
="$pkg_config_args $pkg_gthread_version"
23698 # Extract the first word of "pkg-config", so it can be a program name with args.
23699 set dummy pkg
-config; ac_word
=$2
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23701 $as_echo_n "checking for $ac_word... " >&6; }
23702 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23703 $as_echo_n "(cached) " >&6
23705 case $PKG_CONFIG in
23707 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23711 for as_dir
in $PATH
23714 test -z "$as_dir" && as_dir
=.
23715 for ac_exec_ext
in '' $ac_executable_extensions; do
23716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23717 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23725 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23729 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23730 if test -n "$PKG_CONFIG"; then
23731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23732 $as_echo "$PKG_CONFIG" >&6; }
23734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23735 $as_echo "no" >&6; }
23740 if test x
$PKG_CONFIG != xno
; then
23741 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23744 echo "*** pkg-config too old; version 0.7 or better required."
23752 min_gtk_version
=3.0.0
23753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23754 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23756 if test x
$PKG_CONFIG != xno
; then
23757 ## don't try to run the test against uninstalled libtool libs
23758 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23759 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23762 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
23769 if test x
"$no_gtk" = x
; then
23770 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23771 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23772 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23773 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23774 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23775 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23776 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23777 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23778 if test "x$enable_gtktest" = "xyes" ; then
23779 ac_save_CFLAGS
="$CFLAGS"
23780 ac_save_LIBS
="$LIBS"
23781 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23782 LIBS
="$GTK_LIBS $LIBS"
23784 if test "$cross_compiling" = yes; then :
23785 echo $ac_n "cross compiling; assumed OK... $ac_c"
23787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23788 /* end confdefs.h. */
23790 #include <gtk/gtk.h>
23792 #include <stdlib.h>
23797 int major, minor, micro;
23800 fclose (fopen ("conf.gtktest", "w"));
23802 /* HP/UX 9 (%@#!) writes to sscanf strings */
23803 tmp_version = g_strdup("$min_gtk_version");
23804 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23805 printf("%s, bad version string\n", "$min_gtk_version");
23809 if ((gtk_major_version != $gtk_config_major_version) ||
23810 (gtk_minor_version != $gtk_config_minor_version) ||
23811 (gtk_micro_version != $gtk_config_micro_version))
23813 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23814 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23815 gtk_major_version, gtk_minor_version, gtk_micro_version);
23816 printf ("*** was found! If pkg-config was correct, then it is best\n");
23817 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23818 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23819 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23820 printf("*** required on your system.\n");
23821 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23822 printf("*** to point to the correct configuration files\n");
23824 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23825 (gtk_minor_version != GTK_MINOR_VERSION) ||
23826 (gtk_micro_version != GTK_MICRO_VERSION))
23828 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23829 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23830 printf("*** library (version %d.%d.%d)\n",
23831 gtk_major_version, gtk_minor_version, gtk_micro_version);
23835 if ((gtk_major_version > major) ||
23836 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23837 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23843 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23844 gtk_major_version, gtk_minor_version, gtk_micro_version);
23845 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23846 major, minor, micro);
23847 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23849 printf("*** If you have already installed a sufficiently new version, this error\n");
23850 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23851 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23852 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23853 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23854 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23855 printf("*** so that the correct libraries are found at run-time))\n");
23862 if ac_fn_c_try_run
"$LINENO"; then :
23867 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23868 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23871 CFLAGS
="$ac_save_CFLAGS"
23872 LIBS
="$ac_save_LIBS"
23875 if test "x$no_gtk" = x
; then
23876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23877 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23881 $as_echo "no" >&6; }
23882 if test "$PKG_CONFIG" = "no" ; then
23883 echo "*** A new enough version of pkg-config was not found."
23884 echo "*** See http://pkgconfig.sourceforge.net"
23886 if test -f conf.gtktest
; then
23889 echo "*** Could not run GTK+ test program, checking why..."
23890 ac_save_CFLAGS
="$CFLAGS"
23891 ac_save_LIBS
="$LIBS"
23892 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23893 LIBS
="$LIBS $GTK_LIBS"
23894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23895 /* end confdefs.h. */
23897 #include <gtk/gtk.h>
23903 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23908 if ac_fn_c_try_link
"$LINENO"; then :
23909 echo "*** The test program compiled, but did not run. This usually means"
23910 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23911 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23912 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23913 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23914 echo "*** is required on your system"
23916 echo "*** If you have an old version installed, it is best to remove it, although"
23917 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23919 echo "*** The test program failed to compile or link. See the file config.log for the"
23920 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23922 rm -f core conftest.err conftest.
$ac_objext \
23923 conftest
$ac_exeext conftest.
$ac_ext
23924 CFLAGS
="$ac_save_CFLAGS"
23925 LIBS
="$ac_save_LIBS"
23940 if test -z "$wx_cv_lib_gtk"; then
23941 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23943 # Check whether --with-gtk-prefix was given.
23944 if test "${with_gtk_prefix+set}" = set; then :
23945 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23947 gtk_config_prefix
=""
23951 # Check whether --with-gtk-exec-prefix was given.
23952 if test "${with_gtk_exec_prefix+set}" = set; then :
23953 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23955 gtk_config_exec_prefix
=""
23958 # Check whether --enable-gtktest was given.
23959 if test "${enable_gtktest+set}" = set; then :
23960 enableval
=$enable_gtktest;
23966 for module
in .
$GTK_MODULES
23970 gtk_config_args
="$gtk_config_args gthread"
23975 if test x
$gtk_config_exec_prefix != x
; then
23976 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23977 if test x
${GTK_CONFIG+set} != xset
; then
23978 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23981 if test x
$gtk_config_prefix != x
; then
23982 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23983 if test x
${GTK_CONFIG+set} != xset
; then
23984 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23988 # Extract the first word of "gtk-config", so it can be a program name with args.
23989 set dummy gtk
-config; ac_word
=$2
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23991 $as_echo_n "checking for $ac_word... " >&6; }
23992 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23993 $as_echo_n "(cached) " >&6
23995 case $GTK_CONFIG in
23997 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24001 for as_dir
in $PATH
24004 test -z "$as_dir" && as_dir
=.
24005 for ac_exec_ext
in '' $ac_executable_extensions; do
24006 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24007 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24015 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24019 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24020 if test -n "$GTK_CONFIG"; then
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24022 $as_echo "$GTK_CONFIG" >&6; }
24024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24025 $as_echo "no" >&6; }
24029 min_gtk_version
=1.2.7
24030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24031 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24033 if test "$GTK_CONFIG" = "no" ; then
24036 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24037 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24038 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24040 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24042 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24044 if test "x$enable_gtktest" = "xyes" ; then
24045 ac_save_CFLAGS
="$CFLAGS"
24046 ac_save_LIBS
="$LIBS"
24047 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24048 LIBS
="$GTK_LIBS $LIBS"
24050 if test "$cross_compiling" = yes; then :
24051 echo $ac_n "cross compiling; assumed OK... $ac_c"
24053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24054 /* end confdefs.h. */
24056 #include <gtk/gtk.h>
24058 #include <stdlib.h>
24063 int major, minor, micro;
24066 system ("touch conf.gtktest");
24068 /* HP/UX 9 (%@#!) writes to sscanf strings */
24069 tmp_version = g_strdup("$min_gtk_version");
24070 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24071 printf("%s, bad version string\n", "$min_gtk_version");
24075 if ((gtk_major_version != $gtk_config_major_version) ||
24076 (gtk_minor_version != $gtk_config_minor_version) ||
24077 (gtk_micro_version != $gtk_config_micro_version))
24079 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24080 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24081 gtk_major_version, gtk_minor_version, gtk_micro_version);
24082 printf ("*** was found! If gtk-config was correct, then it is best\n");
24083 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24084 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24085 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24086 printf("*** required on your system.\n");
24087 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24088 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24089 printf("*** before re-running configure\n");
24091 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24092 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24093 (gtk_minor_version != GTK_MINOR_VERSION) ||
24094 (gtk_micro_version != GTK_MICRO_VERSION))
24096 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24097 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24098 printf("*** library (version %d.%d.%d)\n",
24099 gtk_major_version, gtk_minor_version, gtk_micro_version);
24101 #endif /* defined (GTK_MAJOR_VERSION) ... */
24104 if ((gtk_major_version > major) ||
24105 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24106 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24112 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24113 gtk_major_version, gtk_minor_version, gtk_micro_version);
24114 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24115 major, minor, micro);
24116 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24118 printf("*** If you have already installed a sufficiently new version, this error\n");
24119 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24120 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24121 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24122 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24123 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24124 printf("*** so that the correct libraries are found at run-time))\n");
24131 if ac_fn_c_try_run
"$LINENO"; then :
24136 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24137 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24140 CFLAGS
="$ac_save_CFLAGS"
24141 LIBS
="$ac_save_LIBS"
24144 if test "x$no_gtk" = x
; then
24145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24146 $as_echo "yes" >&6; }
24147 wx_cv_lib_gtk
=1.2.7
24149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24150 $as_echo "no" >&6; }
24151 if test "$GTK_CONFIG" = "no" ; then
24152 echo "*** The gtk-config script installed by GTK could not be found"
24153 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24154 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24155 echo "*** full path to gtk-config."
24157 if test -f conf.gtktest
; then
24160 echo "*** Could not run GTK test program, checking why..."
24161 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24162 LIBS
="$LIBS $GTK_LIBS"
24163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24164 /* end confdefs.h. */
24166 #include <gtk/gtk.h>
24172 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24177 if ac_fn_c_try_link
"$LINENO"; then :
24178 echo "*** The test program compiled, but did not run. This usually means"
24179 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24180 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24181 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24182 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24183 echo "*** is required on your system"
24185 echo "*** If you have an old version installed, it is best to remove it, although"
24186 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24188 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24189 echo "*** came with the system with the command"
24191 echo "*** rpm --erase --nodeps gtk gtk-devel"
24193 echo "*** The test program failed to compile or link. See the file config.log for the"
24194 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24195 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24196 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24198 rm -f core conftest.err conftest.
$ac_objext \
24199 conftest
$ac_exeext conftest.
$ac_ext
24200 CFLAGS
="$ac_save_CFLAGS"
24201 LIBS
="$ac_save_LIBS"
24213 if test -z "$wx_cv_lib_gtk"; then
24215 # Check whether --with-gtk-prefix was given.
24216 if test "${with_gtk_prefix+set}" = set; then :
24217 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
24219 gtk_config_prefix
=""
24223 # Check whether --with-gtk-exec-prefix was given.
24224 if test "${with_gtk_exec_prefix+set}" = set; then :
24225 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
24227 gtk_config_exec_prefix
=""
24230 # Check whether --enable-gtktest was given.
24231 if test "${enable_gtktest+set}" = set; then :
24232 enableval
=$enable_gtktest;
24238 for module
in .
$GTK_MODULES
24242 gtk_config_args
="$gtk_config_args gthread"
24247 if test x
$gtk_config_exec_prefix != x
; then
24248 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24249 if test x
${GTK_CONFIG+set} != xset
; then
24250 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24253 if test x
$gtk_config_prefix != x
; then
24254 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24255 if test x
${GTK_CONFIG+set} != xset
; then
24256 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24260 # Extract the first word of "gtk-config", so it can be a program name with args.
24261 set dummy gtk
-config; ac_word
=$2
24262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24263 $as_echo_n "checking for $ac_word... " >&6; }
24264 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
24265 $as_echo_n "(cached) " >&6
24267 case $GTK_CONFIG in
24269 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24273 for as_dir
in $PATH
24276 test -z "$as_dir" && as_dir
=.
24277 for ac_exec_ext
in '' $ac_executable_extensions; do
24278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24279 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24287 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24291 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24292 if test -n "$GTK_CONFIG"; then
24293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24294 $as_echo "$GTK_CONFIG" >&6; }
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24297 $as_echo "no" >&6; }
24301 min_gtk_version
=1.2.3
24302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24303 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24305 if test "$GTK_CONFIG" = "no" ; then
24308 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24309 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24310 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24312 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24313 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24314 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24315 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24316 if test "x$enable_gtktest" = "xyes" ; then
24317 ac_save_CFLAGS
="$CFLAGS"
24318 ac_save_LIBS
="$LIBS"
24319 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24320 LIBS
="$GTK_LIBS $LIBS"
24322 if test "$cross_compiling" = yes; then :
24323 echo $ac_n "cross compiling; assumed OK... $ac_c"
24325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h. */
24328 #include <gtk/gtk.h>
24330 #include <stdlib.h>
24335 int major, minor, micro;
24338 system ("touch conf.gtktest");
24340 /* HP/UX 9 (%@#!) writes to sscanf strings */
24341 tmp_version = g_strdup("$min_gtk_version");
24342 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24343 printf("%s, bad version string\n", "$min_gtk_version");
24347 if ((gtk_major_version != $gtk_config_major_version) ||
24348 (gtk_minor_version != $gtk_config_minor_version) ||
24349 (gtk_micro_version != $gtk_config_micro_version))
24351 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24352 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24353 gtk_major_version, gtk_minor_version, gtk_micro_version);
24354 printf ("*** was found! If gtk-config was correct, then it is best\n");
24355 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24356 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24357 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24358 printf("*** required on your system.\n");
24359 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24360 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24361 printf("*** before re-running configure\n");
24363 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24364 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24365 (gtk_minor_version != GTK_MINOR_VERSION) ||
24366 (gtk_micro_version != GTK_MICRO_VERSION))
24368 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24369 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24370 printf("*** library (version %d.%d.%d)\n",
24371 gtk_major_version, gtk_minor_version, gtk_micro_version);
24373 #endif /* defined (GTK_MAJOR_VERSION) ... */
24376 if ((gtk_major_version > major) ||
24377 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24378 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24384 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24385 gtk_major_version, gtk_minor_version, gtk_micro_version);
24386 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24387 major, minor, micro);
24388 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24390 printf("*** If you have already installed a sufficiently new version, this error\n");
24391 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24392 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24393 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24394 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24395 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24396 printf("*** so that the correct libraries are found at run-time))\n");
24403 if ac_fn_c_try_run
"$LINENO"; then :
24408 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24409 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24412 CFLAGS
="$ac_save_CFLAGS"
24413 LIBS
="$ac_save_LIBS"
24416 if test "x$no_gtk" = x
; then
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24418 $as_echo "yes" >&6; }
24419 wx_cv_lib_gtk
=1.2.3
24421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24422 $as_echo "no" >&6; }
24423 if test "$GTK_CONFIG" = "no" ; then
24424 echo "*** The gtk-config script installed by GTK could not be found"
24425 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24426 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24427 echo "*** full path to gtk-config."
24429 if test -f conf.gtktest
; then
24432 echo "*** Could not run GTK test program, checking why..."
24433 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24434 LIBS
="$LIBS $GTK_LIBS"
24435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24436 /* end confdefs.h. */
24438 #include <gtk/gtk.h>
24444 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24449 if ac_fn_c_try_link
"$LINENO"; then :
24450 echo "*** The test program compiled, but did not run. This usually means"
24451 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24452 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24453 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24454 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24455 echo "*** is required on your system"
24457 echo "*** If you have an old version installed, it is best to remove it, although"
24458 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24460 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24461 echo "*** came with the system with the command"
24463 echo "*** rpm --erase --nodeps gtk gtk-devel"
24465 echo "*** The test program failed to compile or link. See the file config.log for the"
24466 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24467 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24468 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24470 rm -f core conftest.err conftest.
$ac_objext \
24471 conftest
$ac_exeext conftest.
$ac_ext
24472 CFLAGS
="$ac_save_CFLAGS"
24473 LIBS
="$ac_save_LIBS"
24488 if test -z "$wx_cv_lib_gtk"; then
24491 GTK_LIBS
="$GTK_LIBS -lX11"
24493 wx_cv_cflags_gtk
=$GTK_CFLAGS
24494 wx_cv_libs_gtk
=$GTK_LIBS
24501 if test "$gtk_version_cached" = 1; then
24502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24503 $as_echo "$wx_cv_lib_gtk" >&6; }
24506 case "$wx_cv_lib_gtk" in
24517 *) as_fn_error $?
"
24518 The development files for GTK+ were not found. For GTK+ 2, please
24519 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24520 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24521 and that the version is 1.2.3 or above. Also check that the
24522 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24523 --libs' are in the LD_LIBRARY_PATH or equivalent.
24528 if test "$WXGTK3" = 1; then
24529 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24531 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24533 elif test "$WXGTK2" = 1; then
24534 save_CFLAGS
="$CFLAGS"
24536 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24537 LIBS
="$LIBS $wx_cv_libs_gtk"
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24540 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24542 /* end confdefs.h. */
24544 #include <gtk/gtk.h>
24550 #if !GTK_CHECK_VERSION(2,18,0)
24558 if ac_fn_c_try_compile
"$LINENO"; then :
24560 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24562 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24565 $as_echo "yes" >&6; }
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24571 $as_echo "no" >&6; }
24575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24577 if test "$ac_wxgtk218" = 0; then
24578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24579 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24581 /* end confdefs.h. */
24583 #include <gtk/gtk.h>
24589 #if !GTK_CHECK_VERSION(2,10,0)
24597 if ac_fn_c_try_compile
"$LINENO"; then :
24599 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24602 $as_echo "yes" >&6; }
24607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24608 $as_echo "no" >&6; }
24612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24615 CFLAGS
="$save_CFLAGS"
24618 if test "$wxUSE_UNICODE" = "yes"; then
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24620 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24625 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24626 if ${ac_cv_lib_gdk_gdk_im_open+:} false
; then :
24627 $as_echo_n "(cached) " >&6
24629 ac_check_lib_save_LIBS
=$LIBS
24631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24632 /* end confdefs.h. */
24634 /* Override any GCC internal prototype to avoid an error.
24635 Use char because int might match the return type of a GCC
24636 builtin and then its argument prototype would still apply. */
24640 char gdk_im_open ();
24644 return gdk_im_open ();
24649 if ac_fn_c_try_link
"$LINENO"; then :
24650 ac_cv_lib_gdk_gdk_im_open
=yes
24652 ac_cv_lib_gdk_gdk_im_open
=no
24654 rm -f core conftest.err conftest.
$ac_objext \
24655 conftest
$ac_exeext conftest.
$ac_ext
24656 LIBS
=$ac_check_lib_save_LIBS
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24659 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24660 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes
; then :
24661 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24666 if test "$USE_DARWIN" != 1; then
24667 for ac_func
in poll
24669 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24670 if test "x$ac_cv_func_poll" = xyes
; then :
24671 cat >>confdefs.h
<<_ACEOF
24672 #define HAVE_POLL 1
24681 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24682 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24686 if test "$wxUSE_GPE" = "yes"; then
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24688 $as_echo_n "checking for gpewidget library... " >&6; }
24691 for ac_dir
in $SEARCH_LIB
24693 for ac_extension
in a so sl dylib dll.a
; do
24694 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24695 ac_find_libraries
=$ac_dir
24701 if test "$ac_find_libraries" != "" ; then
24703 if test "$ac_find_libraries" = "default location"; then
24706 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24708 if test $result = 0; then
24711 ac_path_to_link
=" -L$ac_find_libraries"
24715 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24718 $as_echo "found in $ac_find_libraries" >&6; }
24720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24721 $as_echo "not found" >&6; }
24727 if test "$wxUSE_DFB" = 1; then
24730 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24731 if test -n "$ac_tool_prefix"; then
24732 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24733 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24735 $as_echo_n "checking for $ac_word... " >&6; }
24736 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
24737 $as_echo_n "(cached) " >&6
24739 case $PKG_CONFIG in
24741 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24745 for as_dir
in $PATH
24748 test -z "$as_dir" && as_dir
=.
24749 for ac_exec_ext
in '' $ac_executable_extensions; do
24750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24751 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24762 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24763 if test -n "$PKG_CONFIG"; then
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24765 $as_echo "$PKG_CONFIG" >&6; }
24767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24768 $as_echo "no" >&6; }
24773 if test -z "$ac_cv_path_PKG_CONFIG"; then
24774 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24775 # Extract the first word of "pkg-config", so it can be a program name with args.
24776 set dummy pkg
-config; ac_word
=$2
24777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24778 $as_echo_n "checking for $ac_word... " >&6; }
24779 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
24780 $as_echo_n "(cached) " >&6
24782 case $ac_pt_PKG_CONFIG in
24784 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24788 for as_dir
in $PATH
24791 test -z "$as_dir" && as_dir
=.
24792 for ac_exec_ext
in '' $ac_executable_extensions; do
24793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24794 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24805 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24806 if test -n "$ac_pt_PKG_CONFIG"; then
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24808 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24811 $as_echo "no" >&6; }
24814 if test "x$ac_pt_PKG_CONFIG" = x
; then
24817 case $cross_compiling:$ac_tool_warned in
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24821 ac_tool_warned
=yes ;;
24823 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24826 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24830 if test -n "$PKG_CONFIG"; then
24831 _pkg_min_version
=0.9.0
24832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24833 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24834 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24836 $as_echo "yes" >&6; }
24838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24839 $as_echo "no" >&6; }
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24848 $as_echo_n "checking for DIRECTFB... " >&6; }
24850 if test -n "$PKG_CONFIG"; then
24851 if test -n "$DIRECTFB_CFLAGS"; then
24852 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24854 if test -n "$PKG_CONFIG" && \
24855 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24856 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24859 test $ac_status = 0; }; then
24860 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24868 if test -n "$PKG_CONFIG"; then
24869 if test -n "$DIRECTFB_LIBS"; then
24870 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24872 if test -n "$PKG_CONFIG" && \
24873 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24874 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24877 test $ac_status = 0; }; then
24878 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24889 if test $pkg_failed = yes; then
24891 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24892 _pkg_short_errors_supported
=yes
24894 _pkg_short_errors_supported
=no
24896 if test $_pkg_short_errors_supported = yes; then
24897 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24899 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24901 # Put the nasty error message in config.log where it belongs
24902 echo "$DIRECTFB_PKG_ERRORS" >&5
24905 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24908 elif test $pkg_failed = untried
; then
24910 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24914 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24915 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24917 $as_echo "yes" >&6; }
24919 wxUSE_UNIVERSAL
="yes"
24920 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24921 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24928 if test "$wxUSE_MICROWIN" = 1; then
24929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24930 $as_echo_n "checking for MicroWindows... " >&6; }
24931 if test "x$MICROWINDOWS" = x
; then
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24933 $as_echo "not found" >&6; }
24934 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24937 $as_echo "$MICROWINDOWS" >&6; }
24940 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24942 $as_echo "MicroWindows' libraries found." >&6; }
24944 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24947 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24948 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24950 wxUSE_UNIVERSAL
="yes"
24953 GUIDIST
=MICROWIN_DIST
24955 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24958 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24960 $as_echo_n "checking for X... " >&6; }
24963 # Check whether --with-x was given.
24964 if test "${with_x+set}" = set; then :
24968 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24969 if test "x$with_x" = xno
; then
24970 # The user explicitly disabled X.
24973 case $x_includes,$x_libraries in #(
24974 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
24975 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
24976 $as_echo_n "(cached) " >&6
24978 # One or both of the vars are not set, and there is no cached value.
24979 ac_x_includes
=no ac_x_libraries
=no
24980 rm -f -r conftest.dir
24981 if mkdir conftest.dir
; then
24983 cat >Imakefile
<<'_ACEOF'
24985 @echo incroot='${INCROOT}'
24987 @echo usrlibdir='${USRLIBDIR}'
24989 @echo libdir='${LIBDIR}'
24991 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24992 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24993 for ac_var
in incroot usrlibdir libdir
; do
24994 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24996 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24997 for ac_extension
in a so sl dylib la dll
; do
24998 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24999 test -f "$ac_im_libdir/libX11.$ac_extension"; then
25000 ac_im_usrlibdir
=$ac_im_libdir; break
25003 # Screen out bogus values from the imake configuration. They are
25004 # bogus both because they are the default anyway, and because
25005 # using them would break gcc on systems where it needs fixed includes.
25006 case $ac_im_incroot in
25007 /usr
/include
) ac_x_includes
= ;;
25008 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25010 case $ac_im_usrlibdir in
25011 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
25012 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25016 rm -f -r conftest.dir
25019 # Standard set of common directories for X headers.
25020 # Check X11 before X11Rn because it is often a symlink to the current release.
25034 /usr/local/X11/include
25035 /usr/local/X11R7/include
25036 /usr/local/X11R6/include
25037 /usr/local/X11R5/include
25038 /usr/local/X11R4/include
25040 /usr/local/include/X11
25041 /usr/local/include/X11R7
25042 /usr/local/include/X11R6
25043 /usr/local/include/X11R5
25044 /usr/local/include/X11R4
25048 /usr/XFree86/include/X11
25052 /usr/unsupported/include
25053 /usr/athena/include
25054 /usr/local/x11r5/include
25055 /usr/lpp/Xamples/include
25057 /usr/openwin/include
25058 /usr/openwin/share/include'
25060 if test "$ac_x_includes" = no
; then
25061 # Guess where to find include files, by looking for Xlib.h.
25062 # First, try using that file with no special directory specified.
25063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25064 /* end confdefs.h. */
25065 #include <X11/Xlib.h>
25067 if ac_fn_c_try_cpp
"$LINENO"; then :
25068 # We can compile using X headers with no special include directory.
25071 for ac_dir
in $ac_x_header_dirs; do
25072 if test -r "$ac_dir/X11/Xlib.h"; then
25073 ac_x_includes
=$ac_dir
25078 rm -f conftest.err conftest.i conftest.
$ac_ext
25079 fi # $ac_x_includes = no
25081 if test "$ac_x_libraries" = no
; then
25082 # Check for the libraries.
25083 # See if we find them without any special options.
25084 # Don't add to $LIBS permanently.
25087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25088 /* end confdefs.h. */
25089 #include <X11/Xlib.h>
25098 if ac_fn_c_try_link
"$LINENO"; then :
25100 # We can link X programs with no special library path.
25104 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25106 # Don't even attempt the hair of trying to link an X program!
25107 for ac_extension
in a so sl dylib la dll
; do
25108 if test -r "$ac_dir/libX11.$ac_extension"; then
25109 ac_x_libraries
=$ac_dir
25115 rm -f core conftest.err conftest.
$ac_objext \
25116 conftest
$ac_exeext conftest.
$ac_ext
25117 fi # $ac_x_libraries = no
25119 case $ac_x_includes,$ac_x_libraries in #(
25120 no
,* | *,no
| *\'*)
25121 # Didn't find X, or a directory has "'" in its name.
25122 ac_cv_have_x
="have_x=no";; #(
25124 # Record where we found X for the cache.
25125 ac_cv_have_x
="have_x=yes\
25126 ac_x_includes='$ac_x_includes'\
25127 ac_x_libraries='$ac_x_libraries'"
25133 eval "$ac_cv_have_x"
25136 if test "$have_x" != yes; then
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25138 $as_echo "$have_x" >&6; }
25141 # If each of the values was on the command line, it overrides each guess.
25142 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25143 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25144 # Update the cache value to reflect the command line values.
25145 ac_cv_have_x
="have_x=yes\
25146 ac_x_includes='$x_includes'\
25147 ac_x_libraries='$x_libraries'"
25148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25149 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25152 if test "$no_x" = yes; then
25153 # Not all programs may use this symbol, but it does not hurt to define it.
25155 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25157 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25159 if test -n "$x_includes"; then
25160 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25163 # It would also be nice to do this for all -L options, not just this one.
25164 if test -n "$x_libraries"; then
25165 X_LIBS
="$X_LIBS -L$x_libraries"
25166 # For Solaris; some versions of Sun CC require a space after -R and
25167 # others require no space. Words are not sufficient . . . .
25168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25169 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25170 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25171 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25172 ac_c_werror_flag
=yes
25173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25174 /* end confdefs.h. */
25184 if ac_fn_c_try_link
"$LINENO"; then :
25185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25186 $as_echo "no" >&6; }
25187 X_LIBS
="$X_LIBS -R$x_libraries"
25189 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25191 /* end confdefs.h. */
25201 if ac_fn_c_try_link
"$LINENO"; then :
25202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25203 $as_echo "yes" >&6; }
25204 X_LIBS
="$X_LIBS -R $x_libraries"
25206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25207 $as_echo "neither works" >&6; }
25209 rm -f core conftest.err conftest.
$ac_objext \
25210 conftest
$ac_exeext conftest.
$ac_ext
25212 rm -f core conftest.err conftest.
$ac_objext \
25213 conftest
$ac_exeext conftest.
$ac_ext
25214 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25215 LIBS
=$ac_xsave_LIBS
25218 # Check for system-dependent libraries X programs must link with.
25219 # Do this before checking for the system-independent R6 libraries
25220 # (-lICE), since we may need -lsocket or whatever for X linking.
25222 if test "$ISC" = yes; then
25223 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25225 # Martyn Johnson says this is needed for Ultrix, if the X
25226 # libraries were built with DECnet support. And Karl Berry says
25227 # the Alpha needs dnet_stub (dnet does not exist).
25228 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25230 /* end confdefs.h. */
25232 /* Override any GCC internal prototype to avoid an error.
25233 Use char because int might match the return type of a GCC
25234 builtin and then its argument prototype would still apply. */
25238 char XOpenDisplay ();
25242 return XOpenDisplay ();
25247 if ac_fn_c_try_link
"$LINENO"; then :
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25251 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25252 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
25253 $as_echo_n "(cached) " >&6
25255 ac_check_lib_save_LIBS
=$LIBS
25256 LIBS
="-ldnet $LIBS"
25257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25258 /* end confdefs.h. */
25260 /* Override any GCC internal prototype to avoid an error.
25261 Use char because int might match the return type of a GCC
25262 builtin and then its argument prototype would still apply. */
25270 return dnet_ntoa ();
25275 if ac_fn_c_try_link
"$LINENO"; then :
25276 ac_cv_lib_dnet_dnet_ntoa
=yes
25278 ac_cv_lib_dnet_dnet_ntoa
=no
25280 rm -f core conftest.err conftest.
$ac_objext \
25281 conftest
$ac_exeext conftest.
$ac_ext
25282 LIBS
=$ac_check_lib_save_LIBS
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25285 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25286 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
25287 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25290 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25292 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25293 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
25294 $as_echo_n "(cached) " >&6
25296 ac_check_lib_save_LIBS
=$LIBS
25297 LIBS
="-ldnet_stub $LIBS"
25298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25299 /* end confdefs.h. */
25301 /* Override any GCC internal prototype to avoid an error.
25302 Use char because int might match the return type of a GCC
25303 builtin and then its argument prototype would still apply. */
25311 return dnet_ntoa ();
25316 if ac_fn_c_try_link
"$LINENO"; then :
25317 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25319 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25321 rm -f core conftest.err conftest.
$ac_objext \
25322 conftest
$ac_exeext conftest.
$ac_ext
25323 LIBS
=$ac_check_lib_save_LIBS
25325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25326 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25327 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
25328 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25333 rm -f core conftest.err conftest.
$ac_objext \
25334 conftest
$ac_exeext conftest.
$ac_ext
25335 LIBS
="$ac_xsave_LIBS"
25337 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25338 # to get the SysV transport functions.
25339 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25341 # The nsl library prevents programs from opening the X display
25342 # on Irix 5.2, according to T.E. Dickey.
25343 # The functions gethostbyname, getservbyname, and inet_addr are
25344 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25345 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25346 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
25350 if test $ac_cv_func_gethostbyname = no
; then
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25352 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25353 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
25354 $as_echo_n "(cached) " >&6
25356 ac_check_lib_save_LIBS
=$LIBS
25358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25359 /* end confdefs.h. */
25361 /* Override any GCC internal prototype to avoid an error.
25362 Use char because int might match the return type of a GCC
25363 builtin and then its argument prototype would still apply. */
25367 char gethostbyname ();
25371 return gethostbyname ();
25376 if ac_fn_c_try_link
"$LINENO"; then :
25377 ac_cv_lib_nsl_gethostbyname
=yes
25379 ac_cv_lib_nsl_gethostbyname
=no
25381 rm -f core conftest.err conftest.
$ac_objext \
25382 conftest
$ac_exeext conftest.
$ac_ext
25383 LIBS
=$ac_check_lib_save_LIBS
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25386 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25387 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
25388 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25391 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25393 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25394 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
25395 $as_echo_n "(cached) " >&6
25397 ac_check_lib_save_LIBS
=$LIBS
25399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25400 /* end confdefs.h. */
25402 /* Override any GCC internal prototype to avoid an error.
25403 Use char because int might match the return type of a GCC
25404 builtin and then its argument prototype would still apply. */
25408 char gethostbyname ();
25412 return gethostbyname ();
25417 if ac_fn_c_try_link
"$LINENO"; then :
25418 ac_cv_lib_bsd_gethostbyname
=yes
25420 ac_cv_lib_bsd_gethostbyname
=no
25422 rm -f core conftest.err conftest.
$ac_objext \
25423 conftest
$ac_exeext conftest.
$ac_ext
25424 LIBS
=$ac_check_lib_save_LIBS
25426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25427 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25428 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
25429 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25435 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25436 # socket/setsockopt and other routines are undefined under SCO ODT
25437 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25438 # on later versions), says Simon Leinen: it contains gethostby*
25439 # variants that don't use the name server (or something). -lsocket
25440 # must be given before -lnsl if both are needed. We assume that
25441 # if connect needs -lnsl, so does gethostbyname.
25442 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25443 if test "x$ac_cv_func_connect" = xyes
; then :
25447 if test $ac_cv_func_connect = no
; then
25448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25449 $as_echo_n "checking for connect in -lsocket... " >&6; }
25450 if ${ac_cv_lib_socket_connect+:} false
; then :
25451 $as_echo_n "(cached) " >&6
25453 ac_check_lib_save_LIBS
=$LIBS
25454 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25456 /* end confdefs.h. */
25458 /* Override any GCC internal prototype to avoid an error.
25459 Use char because int might match the return type of a GCC
25460 builtin and then its argument prototype would still apply. */
25473 if ac_fn_c_try_link
"$LINENO"; then :
25474 ac_cv_lib_socket_connect
=yes
25476 ac_cv_lib_socket_connect
=no
25478 rm -f core conftest.err conftest.
$ac_objext \
25479 conftest
$ac_exeext conftest.
$ac_ext
25480 LIBS
=$ac_check_lib_save_LIBS
25482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25483 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25484 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
25485 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25490 # Guillermo Gomez says -lposix is necessary on A/UX.
25491 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25492 if test "x$ac_cv_func_remove" = xyes
; then :
25496 if test $ac_cv_func_remove = no
; then
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25498 $as_echo_n "checking for remove in -lposix... " >&6; }
25499 if ${ac_cv_lib_posix_remove+:} false
; then :
25500 $as_echo_n "(cached) " >&6
25502 ac_check_lib_save_LIBS
=$LIBS
25503 LIBS
="-lposix $LIBS"
25504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25505 /* end confdefs.h. */
25507 /* Override any GCC internal prototype to avoid an error.
25508 Use char because int might match the return type of a GCC
25509 builtin and then its argument prototype would still apply. */
25522 if ac_fn_c_try_link
"$LINENO"; then :
25523 ac_cv_lib_posix_remove
=yes
25525 ac_cv_lib_posix_remove
=no
25527 rm -f core conftest.err conftest.
$ac_objext \
25528 conftest
$ac_exeext conftest.
$ac_ext
25529 LIBS
=$ac_check_lib_save_LIBS
25531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25532 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25533 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
25534 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25539 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25540 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25541 if test "x$ac_cv_func_shmat" = xyes
; then :
25545 if test $ac_cv_func_shmat = no
; then
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25547 $as_echo_n "checking for shmat in -lipc... " >&6; }
25548 if ${ac_cv_lib_ipc_shmat+:} false
; then :
25549 $as_echo_n "(cached) " >&6
25551 ac_check_lib_save_LIBS
=$LIBS
25553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25554 /* end confdefs.h. */
25556 /* Override any GCC internal prototype to avoid an error.
25557 Use char because int might match the return type of a GCC
25558 builtin and then its argument prototype would still apply. */
25571 if ac_fn_c_try_link
"$LINENO"; then :
25572 ac_cv_lib_ipc_shmat
=yes
25574 ac_cv_lib_ipc_shmat
=no
25576 rm -f core conftest.err conftest.
$ac_objext \
25577 conftest
$ac_exeext conftest.
$ac_ext
25578 LIBS
=$ac_check_lib_save_LIBS
25580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25581 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25582 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
25583 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25589 # Check for libraries that X11R6 Xt/Xaw programs need.
25590 ac_save_LDFLAGS
=$LDFLAGS
25591 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25592 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25593 # check for ICE first), but we must link in the order -lSM -lICE or
25594 # we get undefined symbols. So assume we have SM if we have ICE.
25595 # These have to be linked with before -lX11, unlike the other
25596 # libraries we check for below, so use a different variable.
25597 # John Interrante, Karl Berry
25598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25599 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25600 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
25601 $as_echo_n "(cached) " >&6
25603 ac_check_lib_save_LIBS
=$LIBS
25604 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25606 /* end confdefs.h. */
25608 /* Override any GCC internal prototype to avoid an error.
25609 Use char because int might match the return type of a GCC
25610 builtin and then its argument prototype would still apply. */
25614 char IceConnectionNumber ();
25618 return IceConnectionNumber ();
25623 if ac_fn_c_try_link
"$LINENO"; then :
25624 ac_cv_lib_ICE_IceConnectionNumber
=yes
25626 ac_cv_lib_ICE_IceConnectionNumber
=no
25628 rm -f core conftest.err conftest.
$ac_objext \
25629 conftest
$ac_exeext conftest.
$ac_ext
25630 LIBS
=$ac_check_lib_save_LIBS
25632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25633 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25634 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
25635 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25638 LDFLAGS
=$ac_save_LDFLAGS
25643 if test "$no_x" = "yes"; then
25644 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25647 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25648 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25649 COMPILED_X_PROGRAM
=0
25653 if test "$wxUSE_X11" = 1; then
25654 if test "$wxUSE_NANOX" = "yes"; then
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25656 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25657 if test "x$MICROWIN" = x
; then
25658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25659 $as_echo "not found" >&6; }
25660 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25663 $as_echo "$MICROWIN" >&6; }
25664 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25669 if test "$wxUSE_UNICODE" = "yes"; then
25672 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25673 if test -n "$ac_tool_prefix"; then
25674 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25675 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25677 $as_echo_n "checking for $ac_word... " >&6; }
25678 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
25679 $as_echo_n "(cached) " >&6
25681 case $PKG_CONFIG in
25683 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25687 for as_dir
in $PATH
25690 test -z "$as_dir" && as_dir
=.
25691 for ac_exec_ext
in '' $ac_executable_extensions; do
25692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25693 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25704 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25705 if test -n "$PKG_CONFIG"; then
25706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25707 $as_echo "$PKG_CONFIG" >&6; }
25709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25710 $as_echo "no" >&6; }
25715 if test -z "$ac_cv_path_PKG_CONFIG"; then
25716 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25717 # Extract the first word of "pkg-config", so it can be a program name with args.
25718 set dummy pkg
-config; ac_word
=$2
25719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25720 $as_echo_n "checking for $ac_word... " >&6; }
25721 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
25722 $as_echo_n "(cached) " >&6
25724 case $ac_pt_PKG_CONFIG in
25726 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25730 for as_dir
in $PATH
25733 test -z "$as_dir" && as_dir
=.
25734 for ac_exec_ext
in '' $ac_executable_extensions; do
25735 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25736 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25747 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25748 if test -n "$ac_pt_PKG_CONFIG"; then
25749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25750 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25753 $as_echo "no" >&6; }
25756 if test "x$ac_pt_PKG_CONFIG" = x
; then
25759 case $cross_compiling:$ac_tool_warned in
25761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25763 ac_tool_warned
=yes ;;
25765 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25768 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25772 if test -n "$PKG_CONFIG"; then
25773 _pkg_min_version
=0.9.0
25774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25775 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25776 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25778 $as_echo "yes" >&6; }
25780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25781 $as_echo "no" >&6; }
25789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25790 $as_echo_n "checking for PANGOX... " >&6; }
25792 if test -n "$PKG_CONFIG"; then
25793 if test -n "$PANGOX_CFLAGS"; then
25794 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25796 if test -n "$PKG_CONFIG" && \
25797 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25798 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25801 test $ac_status = 0; }; then
25802 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25810 if test -n "$PKG_CONFIG"; then
25811 if test -n "$PANGOX_LIBS"; then
25812 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25814 if test -n "$PKG_CONFIG" && \
25815 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25816 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25819 test $ac_status = 0; }; then
25820 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25831 if test $pkg_failed = yes; then
25833 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25834 _pkg_short_errors_supported
=yes
25836 _pkg_short_errors_supported
=no
25838 if test $_pkg_short_errors_supported = yes; then
25839 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25841 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25843 # Put the nasty error message in config.log where it belongs
25844 echo "$PANGOX_PKG_ERRORS" >&5
25847 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25850 elif test $pkg_failed = untried
; then
25852 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25856 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25857 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25859 $as_echo "yes" >&6; }
25861 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25862 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25863 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25869 $as_echo_n "checking for PANGOFT2... " >&6; }
25871 if test -n "$PKG_CONFIG"; then
25872 if test -n "$PANGOFT2_CFLAGS"; then
25873 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25875 if test -n "$PKG_CONFIG" && \
25876 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25877 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25880 test $ac_status = 0; }; then
25881 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25889 if test -n "$PKG_CONFIG"; then
25890 if test -n "$PANGOFT2_LIBS"; then
25891 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25893 if test -n "$PKG_CONFIG" && \
25894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25895 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25898 test $ac_status = 0; }; then
25899 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25910 if test $pkg_failed = yes; then
25912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25913 _pkg_short_errors_supported
=yes
25915 _pkg_short_errors_supported
=no
25917 if test $_pkg_short_errors_supported = yes; then
25918 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25920 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25922 # Put the nasty error message in config.log where it belongs
25923 echo "$PANGOFT2_PKG_ERRORS" >&5
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25927 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25928 wxUSE_PRINTING_ARCHITECTURE
="no"
25931 elif test $pkg_failed = untried
; then
25933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25934 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25935 wxUSE_PRINTING_ARCHITECTURE
="no"
25939 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25940 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25942 $as_echo "yes" >&6; }
25944 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25945 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25946 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25952 $as_echo_n "checking for PANGOXFT... " >&6; }
25954 if test -n "$PKG_CONFIG"; then
25955 if test -n "$PANGOXFT_CFLAGS"; then
25956 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25958 if test -n "$PKG_CONFIG" && \
25959 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25960 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25963 test $ac_status = 0; }; then
25964 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25972 if test -n "$PKG_CONFIG"; then
25973 if test -n "$PANGOXFT_LIBS"; then
25974 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25976 if test -n "$PKG_CONFIG" && \
25977 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25978 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25981 test $ac_status = 0; }; then
25982 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25993 if test $pkg_failed = yes; then
25995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25996 _pkg_short_errors_supported
=yes
25998 _pkg_short_errors_supported
=no
26000 if test $_pkg_short_errors_supported = yes; then
26001 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
26003 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26005 # Put the nasty error message in config.log where it belongs
26006 echo "$PANGOXFT_PKG_ERRORS" >&5
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26010 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26013 elif test $pkg_failed = untried
; then
26015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26016 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26020 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
26021 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
26022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26023 $as_echo "yes" >&6; }
26025 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
26027 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
26028 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
26029 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26033 LIBS
="$LIBS $PANGOX_LIBS"
26034 for ac_func
in pango_font_family_is_monospace
26036 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
26037 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes
; then :
26038 cat >>confdefs.h
<<_ACEOF
26039 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
26048 wxUSE_UNIVERSAL
="yes"
26050 if test "$wxUSE_NANOX" = "yes"; then
26051 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26052 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"
26053 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26055 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26062 if test "$wxUSE_MOTIF" = 1; then
26063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
26064 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
26067 for ac_dir
in $SEARCH_INCLUDE /usr
/include
26069 if test -f "$ac_dir/Xm/Xm.h"; then
26070 ac_find_includes
=$ac_dir
26075 if test "$ac_find_includes" != "" ; then
26076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
26077 $as_echo "found in $ac_find_includes" >&6; }
26079 if test "x$ac_find_includes" = "x/usr/include"; then
26080 ac_path_to_include
=""
26082 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26084 if test $result = 0; then
26085 ac_path_to_include
=""
26087 ac_path_to_include
=" -I$ac_find_includes"
26091 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26093 save_CFLAGS
=$CFLAGS
26094 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26097 /* end confdefs.h. */
26106 version = xmUseVersion;
26112 if ac_fn_c_try_compile
"$LINENO"; then :
26114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26115 $as_echo "found in default search path" >&6; }
26116 COMPILED_X_PROGRAM
=1
26120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26121 $as_echo "no" >&6; }
26122 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
26126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26128 CFLAGS
=$save_CFLAGS
26132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
26133 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
26136 for ac_dir
in $SEARCH_LIB
26138 for ac_extension
in a so sl dylib dll.a
; do
26139 if test -f "$ac_dir/libXm.$ac_extension"; then
26140 ac_find_libraries
=$ac_dir
26147 if test "x$ac_find_libraries" != "x" ; then
26148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26149 $as_echo "found in $ac_find_libraries" >&6; }
26152 if test "$ac_find_libraries" = "default location"; then
26155 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26157 if test $result = 0; then
26160 ac_path_to_link
=" -L$ac_find_libraries"
26164 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26166 save_CFLAGS
=$CFLAGS
26167 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26169 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26172 /* end confdefs.h. */
26181 version = xmUseVersion;
26187 if ac_fn_c_try_link
"$LINENO"; then :
26189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26190 $as_echo "found in default search path" >&6; }
26191 COMPILED_X_PROGRAM
=1
26195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26196 $as_echo "no" >&6; }
26197 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26201 rm -f core conftest.err conftest.
$ac_objext \
26202 conftest
$ac_exeext conftest.
$ac_ext
26204 CFLAGS
=$save_CFLAGS
26208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26209 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26213 for libp
in "" " -lXp"; do
26214 if test "$libs_found" = 0; then
26215 for libsm_ice
in "" " -lSM -lICE"; do
26216 if test "$libs_found" = 0; then
26218 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26219 save_CFLAGS
=$CFLAGS
26220 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26223 /* end confdefs.h. */
26226 #include <Xm/List.h>
26232 XmString string = NULL;
26235 XmListAddItem(w, string, position);
26241 if ac_fn_c_try_link
"$LINENO"; then :
26244 libsm_ice_link
="$libsm_ice"
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26246 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26250 rm -f core conftest.err conftest.
$ac_objext \
26251 conftest
$ac_exeext conftest.
$ac_ext
26254 CFLAGS
=$save_CFLAGS
26260 if test "$libs_found" = 0; then
26261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26262 $as_echo "can't find the right libraries" >&6; }
26263 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26267 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26268 if ${ac_cv_lib_Sgm_SgCreateList+:} false
; then :
26269 $as_echo_n "(cached) " >&6
26271 ac_check_lib_save_LIBS
=$LIBS
26273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26274 /* end confdefs.h. */
26276 /* Override any GCC internal prototype to avoid an error.
26277 Use char because int might match the return type of a GCC
26278 builtin and then its argument prototype would still apply. */
26282 char SgCreateList ();
26286 return SgCreateList ();
26291 if ac_fn_c_try_link
"$LINENO"; then :
26292 ac_cv_lib_Sgm_SgCreateList
=yes
26294 ac_cv_lib_Sgm_SgCreateList
=no
26296 rm -f core conftest.err conftest.
$ac_objext \
26297 conftest
$ac_exeext conftest.
$ac_ext
26298 LIBS
=$ac_check_lib_save_LIBS
26300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26301 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26302 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes
; then :
26303 libsgm_link
=" -lSgm"
26307 save_CFLAGS
=$CFLAGS
26308 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26311 $as_echo_n "checking for Motif 2... " >&6; }
26312 if ${wx_cv_lib_motif2+:} false
; then :
26313 $as_echo_n "(cached) " >&6
26315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26316 /* end confdefs.h. */
26324 #if XmVersion < 2000
26332 if ac_fn_c_try_compile
"$LINENO"; then :
26333 wx_cv_lib_motif2
="yes"
26335 wx_cv_lib_motif2
="no"
26337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26340 $as_echo "$wx_cv_lib_motif2" >&6; }
26341 if test "$wx_cv_lib_motif2" = "yes"; then
26342 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26345 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26350 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26351 if ${wx_cv_lib_lesstif+:} false
; then :
26352 $as_echo_n "(cached) " >&6
26354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26355 /* end confdefs.h. */
26363 #if !defined(LesstifVersion) || LesstifVersion <= 0
26371 if ac_fn_c_try_compile
"$LINENO"; then :
26372 wx_cv_lib_lesstif
="yes"
26374 wx_cv_lib_lesstif
="no"
26376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26380 $as_echo "$wx_cv_lib_lesstif" >&6; }
26381 if test "$wx_cv_lib_lesstif" = "yes"; then
26382 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26385 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26389 CFLAGS
=$save_CFLAGS
26391 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26396 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26397 if test "$wxUSE_LIBXPM" = "sys"; then
26398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26399 $as_echo_n "checking for Xpm library... " >&6; }
26402 for ac_dir
in $SEARCH_LIB
26404 for ac_extension
in a so sl dylib dll.a
; do
26405 if test -f "$ac_dir/libXpm.$ac_extension"; then
26406 ac_find_libraries
=$ac_dir
26412 if test "$ac_find_libraries" != "" ; then
26414 if test "$ac_find_libraries" = "default location"; then
26417 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26419 if test $result = 0; then
26422 ac_path_to_link
=" -L$ac_find_libraries"
26426 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26428 $as_echo "found in $ac_find_libraries" >&6; }
26430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26431 $as_echo_n "checking for X11/xpm.h... " >&6; }
26432 if ${wx_cv_x11_xpm_h+:} false
; then :
26433 $as_echo_n "(cached) " >&6
26436 save_CFLAGS
=$CFLAGS
26437 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26440 /* end confdefs.h. */
26442 #include <X11/xpm.h>
26449 version = XpmLibraryVersion();
26455 if ac_fn_c_try_compile
"$LINENO"; then :
26456 wx_cv_x11_xpm_h
=yes
26461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26463 CFLAGS
=$save_CFLAGS
26467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26468 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26470 if test $wx_cv_x11_xpm_h = "yes"; then
26471 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26472 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26476 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26483 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26484 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
26485 $as_echo_n "(cached) " >&6
26487 ac_check_lib_save_LIBS
=$LIBS
26488 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26490 /* end confdefs.h. */
26492 /* Override any GCC internal prototype to avoid an error.
26493 Use char because int might match the return type of a GCC
26494 builtin and then its argument prototype would still apply. */
26498 char XShapeQueryExtension ();
26502 return XShapeQueryExtension ();
26507 if ac_fn_c_try_link
"$LINENO"; then :
26508 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26510 ac_cv_lib_Xext_XShapeQueryExtension
=no
26512 rm -f core conftest.err conftest.
$ac_objext \
26513 conftest
$ac_exeext conftest.
$ac_ext
26514 LIBS
=$ac_check_lib_save_LIBS
26516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26517 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26518 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
26520 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26526 if test "$wxHAVE_XEXT_LIB" = 1; then
26527 save_CFLAGS
="$CFLAGS"
26528 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26531 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26533 /* end confdefs.h. */
26535 #include <X11/Xlib.h>
26536 #include <X11/extensions/shape.h>
26542 int dummy1, dummy2;
26543 XShapeQueryExtension((Display*)NULL,
26544 (int*)NULL, (int*)NULL);
26550 if ac_fn_c_try_compile
"$LINENO"; then :
26552 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26555 $as_echo "found" >&6; }
26559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26560 $as_echo "not found" >&6; }
26563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26564 CFLAGS
="$save_CFLAGS"
26569 if test "$wxUSE_OSX_CARBON" = 1; then
26570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26571 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26572 if test "$GCC" = yes; then
26573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26574 $as_echo "gcc" >&6; }
26575 CPPFLAGS_PASCAL
="-fpascal-strings"
26576 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26578 $as_echo "xlc" >&6; }
26579 CPPFLAGS_PASCAL
="-qmacpstr"
26581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26582 $as_echo "none" >&6; }
26585 if test "x$wxUSE_UNIX" = "xyes"; then
26586 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26588 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26592 GUIDIST
=OSX_CARBON_DIST
26593 WXBASEPORT
="_carbon"
26595 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26598 if test "$wxUSE_OSX_COCOA" = 1; then
26600 GUIDIST
=OSX_COCOA_DIST
26602 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26605 if test "$wxUSE_OSX_IPHONE" = 1; then
26609 if test "$wxUSE_OLD_COCOA" = 1; then
26614 if test "$wxUSE_PM" = 1; then
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26618 $as_echo_n "checking for type SPBCDATA... " >&6; }
26619 if ${wx_cv_spbcdata+:} false
; then :
26620 $as_echo_n "(cached) " >&6
26623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26624 /* end confdefs.h. */
26639 if ac_fn_c_try_compile
"$LINENO"; then :
26645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26650 $as_echo "$wx_cv_spbcdata" >&6; }
26652 if test $wx_cv_spbcdata = "yes"; then
26653 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26658 if test "$TOOLKIT" = "PM" ; then
26661 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26664 if test "$wxUSE_UNIVERSAL" = "yes"; then
26665 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26669 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26670 DISTDIR
="wx\$(TOOLKIT)"
26676 if test "$USE_WIN32" = 1 ; then
26680 GUIDIST
="BASE_DIST"
26686 if test "$wxUSE_GUI" = "yes"; then
26687 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26688 for ac_header
in X
11/Xlib.h
26690 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26692 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
26693 cat >>confdefs.h
<<_ACEOF
26694 #define HAVE_X11_XLIB_H 1
26701 for ac_header
in X
11/XKBlib.h
26703 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26704 #if HAVE_X11_XLIB_H
26705 #include <X11/Xlib.h>
26709 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
; then :
26710 cat >>confdefs.h
<<_ACEOF
26711 #define HAVE_X11_XKBLIB_H 1
26724 if test "$wxUSE_DISPLAY" = "yes"; then
26725 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26729 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26732 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26733 if test -n "$ac_tool_prefix"; then
26734 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26735 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26737 $as_echo_n "checking for $ac_word... " >&6; }
26738 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26739 $as_echo_n "(cached) " >&6
26741 case $PKG_CONFIG in
26743 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26747 for as_dir
in $PATH
26750 test -z "$as_dir" && as_dir
=.
26751 for ac_exec_ext
in '' $ac_executable_extensions; do
26752 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26753 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26764 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26765 if test -n "$PKG_CONFIG"; then
26766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26767 $as_echo "$PKG_CONFIG" >&6; }
26769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26770 $as_echo "no" >&6; }
26775 if test -z "$ac_cv_path_PKG_CONFIG"; then
26776 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26777 # Extract the first word of "pkg-config", so it can be a program name with args.
26778 set dummy pkg
-config; ac_word
=$2
26779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26780 $as_echo_n "checking for $ac_word... " >&6; }
26781 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26782 $as_echo_n "(cached) " >&6
26784 case $ac_pt_PKG_CONFIG in
26786 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26790 for as_dir
in $PATH
26793 test -z "$as_dir" && as_dir
=.
26794 for ac_exec_ext
in '' $ac_executable_extensions; do
26795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26796 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26807 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26808 if test -n "$ac_pt_PKG_CONFIG"; then
26809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26810 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26813 $as_echo "no" >&6; }
26816 if test "x$ac_pt_PKG_CONFIG" = x
; then
26819 case $cross_compiling:$ac_tool_warned in
26821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26823 ac_tool_warned
=yes ;;
26825 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26828 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26832 if test -n "$PKG_CONFIG"; then
26833 _pkg_min_version
=0.9.0
26834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26835 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26836 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26838 $as_echo "yes" >&6; }
26840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26841 $as_echo "no" >&6; }
26848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26849 $as_echo_n "checking for Xinerama... " >&6; }
26851 if test -n "$PKG_CONFIG"; then
26852 if test -n "$Xinerama_CFLAGS"; then
26853 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26855 if test -n "$PKG_CONFIG" && \
26856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26857 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26860 test $ac_status = 0; }; then
26861 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26869 if test -n "$PKG_CONFIG"; then
26870 if test -n "$Xinerama_LIBS"; then
26871 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26873 if test -n "$PKG_CONFIG" && \
26874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26875 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26878 test $ac_status = 0; }; then
26879 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26890 if test $pkg_failed = yes; then
26892 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26893 _pkg_short_errors_supported
=yes
26895 _pkg_short_errors_supported
=no
26897 if test $_pkg_short_errors_supported = yes; then
26898 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26900 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26902 # Put the nasty error message in config.log where it belongs
26903 echo "$Xinerama_PKG_ERRORS" >&5
26906 if test "x$ac_find_libraries" = "x"; then
26907 if test "xXineramaQueryScreens" != "x"; then
26908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26909 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26910 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26911 $as_echo_n "(cached) " >&6
26913 ac_check_lib_save_LIBS
=$LIBS
26914 LIBS
="-lXinerama $LIBS"
26915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26916 /* end confdefs.h. */
26918 /* Override any GCC internal prototype to avoid an error.
26919 Use char because int might match the return type of a GCC
26920 builtin and then its argument prototype would still apply. */
26924 char XineramaQueryScreens ();
26928 return XineramaQueryScreens ();
26933 if ac_fn_c_try_link
"$LINENO"; then :
26934 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26936 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26938 rm -f core conftest.err conftest.
$ac_objext \
26939 conftest
$ac_exeext conftest.
$ac_ext
26940 LIBS
=$ac_check_lib_save_LIBS
26942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26943 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26944 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26945 ac_find_libraries
="std"
26951 if test "x$ac_find_libraries" = "x"; then
26952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26953 $as_echo_n "checking elsewhere... " >&6; }
26956 for ac_dir
in $SEARCH_LIB
26958 for ac_extension
in a so sl dylib dll.a
; do
26959 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26960 ac_find_libraries
=$ac_dir
26966 if test "x$ac_find_libraries" != "x"; then
26967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26968 $as_echo "yes" >&6; }
26970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26971 $as_echo "no" >&6; }
26975 elif test $pkg_failed = untried
; then
26977 if test "x$ac_find_libraries" = "x"; then
26978 if test "xXineramaQueryScreens" != "x"; then
26979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26980 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26981 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26982 $as_echo_n "(cached) " >&6
26984 ac_check_lib_save_LIBS
=$LIBS
26985 LIBS
="-lXinerama $LIBS"
26986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26987 /* end confdefs.h. */
26989 /* Override any GCC internal prototype to avoid an error.
26990 Use char because int might match the return type of a GCC
26991 builtin and then its argument prototype would still apply. */
26995 char XineramaQueryScreens ();
26999 return XineramaQueryScreens ();
27004 if ac_fn_c_try_link
"$LINENO"; then :
27005 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
27007 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
27009 rm -f core conftest.err conftest.
$ac_objext \
27010 conftest
$ac_exeext conftest.
$ac_ext
27011 LIBS
=$ac_check_lib_save_LIBS
27013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
27014 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
27015 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
27016 ac_find_libraries
="std"
27022 if test "x$ac_find_libraries" = "x"; then
27023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27024 $as_echo_n "checking elsewhere... " >&6; }
27027 for ac_dir
in $SEARCH_LIB
27029 for ac_extension
in a so sl dylib dll.a
; do
27030 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27031 ac_find_libraries
=$ac_dir
27037 if test "x$ac_find_libraries" != "x"; then
27038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27039 $as_echo "yes" >&6; }
27041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27042 $as_echo "no" >&6; }
27047 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
27048 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27050 $as_echo "yes" >&6; }
27052 ac_find_libraries
="std"
27054 eval ac_find_cflags
=\
$Xinerama_CFLAGS
27055 eval fl_libs
=\
$Xinerama_LIBS
27057 for fl_path
in $fl_libs
27059 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27060 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27066 if test "$ac_find_libraries" != "" ; then
27067 if test "$ac_find_libraries" != "std" ; then
27069 if test "$ac_find_libraries" = "default location"; then
27072 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27074 if test $result = 0; then
27077 ac_path_to_link
=" -L$ac_find_libraries"
27081 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27082 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27086 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
27089 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27092 elif test "$wxUSE_MSW" = 1; then
27093 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
27095 if test "x$ac_cv_header_ddraw_h" = xyes
; then :
27103 if test "$wxUSE_DISPLAY" = "yes"; then
27104 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
27108 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
27111 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27112 if test -n "$ac_tool_prefix"; then
27113 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27114 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27116 $as_echo_n "checking for $ac_word... " >&6; }
27117 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27118 $as_echo_n "(cached) " >&6
27120 case $PKG_CONFIG in
27122 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27126 for as_dir
in $PATH
27129 test -z "$as_dir" && as_dir
=.
27130 for ac_exec_ext
in '' $ac_executable_extensions; do
27131 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27132 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27143 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27144 if test -n "$PKG_CONFIG"; then
27145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27146 $as_echo "$PKG_CONFIG" >&6; }
27148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27149 $as_echo "no" >&6; }
27154 if test -z "$ac_cv_path_PKG_CONFIG"; then
27155 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27156 # Extract the first word of "pkg-config", so it can be a program name with args.
27157 set dummy pkg
-config; ac_word
=$2
27158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27159 $as_echo_n "checking for $ac_word... " >&6; }
27160 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27161 $as_echo_n "(cached) " >&6
27163 case $ac_pt_PKG_CONFIG in
27165 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27169 for as_dir
in $PATH
27172 test -z "$as_dir" && as_dir
=.
27173 for ac_exec_ext
in '' $ac_executable_extensions; do
27174 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27175 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27186 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27187 if test -n "$ac_pt_PKG_CONFIG"; then
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27189 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27192 $as_echo "no" >&6; }
27195 if test "x$ac_pt_PKG_CONFIG" = x
; then
27198 case $cross_compiling:$ac_tool_warned in
27200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27202 ac_tool_warned
=yes ;;
27204 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27207 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27211 if test -n "$PKG_CONFIG"; then
27212 _pkg_min_version
=0.9.0
27213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27214 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27215 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27217 $as_echo "yes" >&6; }
27219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27220 $as_echo "no" >&6; }
27227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27228 $as_echo_n "checking for Xxf86vm... " >&6; }
27230 if test -n "$PKG_CONFIG"; then
27231 if test -n "$Xxf86vm_CFLAGS"; then
27232 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
27234 if test -n "$PKG_CONFIG" && \
27235 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27236 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27239 test $ac_status = 0; }; then
27240 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27248 if test -n "$PKG_CONFIG"; then
27249 if test -n "$Xxf86vm_LIBS"; then
27250 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
27252 if test -n "$PKG_CONFIG" && \
27253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27254 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27257 test $ac_status = 0; }; then
27258 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27269 if test $pkg_failed = yes; then
27271 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27272 _pkg_short_errors_supported
=yes
27274 _pkg_short_errors_supported
=no
27276 if test $_pkg_short_errors_supported = yes; then
27277 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27279 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27281 # Put the nasty error message in config.log where it belongs
27282 echo "$Xxf86vm_PKG_ERRORS" >&5
27285 if test "x$ac_find_libraries" = "x"; then
27286 if test "xXF86VidModeQueryExtension" != "x"; then
27287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27288 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27289 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27290 $as_echo_n "(cached) " >&6
27292 ac_check_lib_save_LIBS
=$LIBS
27293 LIBS
="-lXxf86vm $LIBS"
27294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27295 /* end confdefs.h. */
27297 /* Override any GCC internal prototype to avoid an error.
27298 Use char because int might match the return type of a GCC
27299 builtin and then its argument prototype would still apply. */
27303 char XF86VidModeQueryExtension ();
27307 return XF86VidModeQueryExtension ();
27312 if ac_fn_c_try_link
"$LINENO"; then :
27313 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27315 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27317 rm -f core conftest.err conftest.
$ac_objext \
27318 conftest
$ac_exeext conftest.
$ac_ext
27319 LIBS
=$ac_check_lib_save_LIBS
27321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27322 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27323 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27324 ac_find_libraries
="std"
27330 if test "x$ac_find_libraries" = "x"; then
27331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27332 $as_echo_n "checking elsewhere... " >&6; }
27335 for ac_dir
in $SEARCH_LIB
27337 for ac_extension
in a so sl dylib dll.a
; do
27338 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27339 ac_find_libraries
=$ac_dir
27345 if test "x$ac_find_libraries" != "x"; then
27346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27347 $as_echo "yes" >&6; }
27349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27350 $as_echo "no" >&6; }
27354 elif test $pkg_failed = untried
; then
27356 if test "x$ac_find_libraries" = "x"; then
27357 if test "xXF86VidModeQueryExtension" != "x"; then
27358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27359 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27360 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27361 $as_echo_n "(cached) " >&6
27363 ac_check_lib_save_LIBS
=$LIBS
27364 LIBS
="-lXxf86vm $LIBS"
27365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27366 /* end confdefs.h. */
27368 /* Override any GCC internal prototype to avoid an error.
27369 Use char because int might match the return type of a GCC
27370 builtin and then its argument prototype would still apply. */
27374 char XF86VidModeQueryExtension ();
27378 return XF86VidModeQueryExtension ();
27383 if ac_fn_c_try_link
"$LINENO"; then :
27384 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27386 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27388 rm -f core conftest.err conftest.
$ac_objext \
27389 conftest
$ac_exeext conftest.
$ac_ext
27390 LIBS
=$ac_check_lib_save_LIBS
27392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27393 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27394 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27395 ac_find_libraries
="std"
27401 if test "x$ac_find_libraries" = "x"; then
27402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27403 $as_echo_n "checking elsewhere... " >&6; }
27406 for ac_dir
in $SEARCH_LIB
27408 for ac_extension
in a so sl dylib dll.a
; do
27409 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27410 ac_find_libraries
=$ac_dir
27416 if test "x$ac_find_libraries" != "x"; then
27417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27418 $as_echo "yes" >&6; }
27420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27421 $as_echo "no" >&6; }
27426 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27427 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27429 $as_echo "yes" >&6; }
27431 ac_find_libraries
="std"
27433 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27434 eval fl_libs
=\
$Xxf86vm_LIBS
27436 for fl_path
in $fl_libs
27438 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27439 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27445 if test "$ac_find_libraries" != "" ; then
27446 for ac_header
in X
11/extensions
/xf86vmode.h
27448 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27449 #if HAVE_X11_XLIB_H
27450 #include <X11/Xlib.h>
27454 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
; then :
27455 cat >>confdefs.h
<<_ACEOF
27456 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27459 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27469 if test "$wxUSE_DETECT_SM" = "yes"; then
27470 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27474 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27477 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27478 if test -n "$ac_tool_prefix"; then
27479 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27480 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27482 $as_echo_n "checking for $ac_word... " >&6; }
27483 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27484 $as_echo_n "(cached) " >&6
27486 case $PKG_CONFIG in
27488 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27492 for as_dir
in $PATH
27495 test -z "$as_dir" && as_dir
=.
27496 for ac_exec_ext
in '' $ac_executable_extensions; do
27497 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27498 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27509 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27510 if test -n "$PKG_CONFIG"; then
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27512 $as_echo "$PKG_CONFIG" >&6; }
27514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27515 $as_echo "no" >&6; }
27520 if test -z "$ac_cv_path_PKG_CONFIG"; then
27521 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27522 # Extract the first word of "pkg-config", so it can be a program name with args.
27523 set dummy pkg
-config; ac_word
=$2
27524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27525 $as_echo_n "checking for $ac_word... " >&6; }
27526 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27527 $as_echo_n "(cached) " >&6
27529 case $ac_pt_PKG_CONFIG in
27531 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27535 for as_dir
in $PATH
27538 test -z "$as_dir" && as_dir
=.
27539 for ac_exec_ext
in '' $ac_executable_extensions; do
27540 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27541 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27552 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27553 if test -n "$ac_pt_PKG_CONFIG"; then
27554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27555 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27558 $as_echo "no" >&6; }
27561 if test "x$ac_pt_PKG_CONFIG" = x
; then
27564 case $cross_compiling:$ac_tool_warned in
27566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27568 ac_tool_warned
=yes ;;
27570 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27573 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27577 if test -n "$PKG_CONFIG"; then
27578 _pkg_min_version
=0.9.0
27579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27580 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27581 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27583 $as_echo "yes" >&6; }
27585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27586 $as_echo "no" >&6; }
27593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27594 $as_echo_n "checking for SM... " >&6; }
27596 if test -n "$PKG_CONFIG"; then
27597 if test -n "$SM_CFLAGS"; then
27598 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27600 if test -n "$PKG_CONFIG" && \
27601 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27602 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27605 test $ac_status = 0; }; then
27606 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27614 if test -n "$PKG_CONFIG"; then
27615 if test -n "$SM_LIBS"; then
27616 pkg_cv_SM_LIBS
="$SM_LIBS"
27618 if test -n "$PKG_CONFIG" && \
27619 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27620 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27623 test $ac_status = 0; }; then
27624 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27635 if test $pkg_failed = yes; then
27637 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27638 _pkg_short_errors_supported
=yes
27640 _pkg_short_errors_supported
=no
27642 if test $_pkg_short_errors_supported = yes; then
27643 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27645 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27647 # Put the nasty error message in config.log where it belongs
27648 echo "$SM_PKG_ERRORS" >&5
27651 if test "x$ac_find_libraries" = "x"; then
27652 if test "xSmcOpenConnection" != "x"; then
27653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27654 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27655 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27656 $as_echo_n "(cached) " >&6
27658 ac_check_lib_save_LIBS
=$LIBS
27660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27661 /* end confdefs.h. */
27663 /* Override any GCC internal prototype to avoid an error.
27664 Use char because int might match the return type of a GCC
27665 builtin and then its argument prototype would still apply. */
27669 char SmcOpenConnection ();
27673 return SmcOpenConnection ();
27678 if ac_fn_c_try_link
"$LINENO"; then :
27679 ac_cv_lib_SM_SmcOpenConnection
=yes
27681 ac_cv_lib_SM_SmcOpenConnection
=no
27683 rm -f core conftest.err conftest.
$ac_objext \
27684 conftest
$ac_exeext conftest.
$ac_ext
27685 LIBS
=$ac_check_lib_save_LIBS
27687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27688 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27689 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27690 ac_find_libraries
="std"
27696 if test "x$ac_find_libraries" = "x"; then
27697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27698 $as_echo_n "checking elsewhere... " >&6; }
27701 for ac_dir
in $SEARCH_LIB
27703 for ac_extension
in a so sl dylib dll.a
; do
27704 if test -f "$ac_dir/libSM.$ac_extension"; then
27705 ac_find_libraries
=$ac_dir
27711 if test "x$ac_find_libraries" != "x"; then
27712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27713 $as_echo "yes" >&6; }
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27716 $as_echo "no" >&6; }
27720 elif test $pkg_failed = untried
; then
27722 if test "x$ac_find_libraries" = "x"; then
27723 if test "xSmcOpenConnection" != "x"; then
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27725 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27726 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27727 $as_echo_n "(cached) " >&6
27729 ac_check_lib_save_LIBS
=$LIBS
27731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27732 /* end confdefs.h. */
27734 /* Override any GCC internal prototype to avoid an error.
27735 Use char because int might match the return type of a GCC
27736 builtin and then its argument prototype would still apply. */
27740 char SmcOpenConnection ();
27744 return SmcOpenConnection ();
27749 if ac_fn_c_try_link
"$LINENO"; then :
27750 ac_cv_lib_SM_SmcOpenConnection
=yes
27752 ac_cv_lib_SM_SmcOpenConnection
=no
27754 rm -f core conftest.err conftest.
$ac_objext \
27755 conftest
$ac_exeext conftest.
$ac_ext
27756 LIBS
=$ac_check_lib_save_LIBS
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27759 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27760 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27761 ac_find_libraries
="std"
27767 if test "x$ac_find_libraries" = "x"; then
27768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27769 $as_echo_n "checking elsewhere... " >&6; }
27772 for ac_dir
in $SEARCH_LIB
27774 for ac_extension
in a so sl dylib dll.a
; do
27775 if test -f "$ac_dir/libSM.$ac_extension"; then
27776 ac_find_libraries
=$ac_dir
27782 if test "x$ac_find_libraries" != "x"; then
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27784 $as_echo "yes" >&6; }
27786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27787 $as_echo "no" >&6; }
27792 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27793 SM_LIBS
=$pkg_cv_SM_LIBS
27794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27795 $as_echo "yes" >&6; }
27797 ac_find_libraries
="std"
27799 eval ac_find_cflags
=\
$SM_CFLAGS
27800 eval fl_libs
=\
$SM_LIBS
27802 for fl_path
in $fl_libs
27804 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27805 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27811 if test "$ac_find_libraries" != "" ; then
27812 if test "$ac_find_libraries" != "std" ; then
27814 if test "$ac_find_libraries" = "default location"; then
27817 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27819 if test $result = 0; then
27822 ac_path_to_link
=" -L$ac_find_libraries"
27826 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27827 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27830 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27833 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27834 wxUSE_DETECT_SM
="no"
27837 wxUSE_DETECT_SM
="no"
27844 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27847 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27848 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27849 elif test "$wxUSE_MSW" = 1; then
27850 OPENGL_LIBS
="-lopengl32 -lglu32"
27851 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27854 $as_echo_n "checking for OpenGL headers... " >&6; }
27857 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27859 if test -f "$ac_dir/GL/gl.h"; then
27860 ac_find_includes
=$ac_dir
27865 if test "$ac_find_includes" != "" ; then
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27867 $as_echo "found in $ac_find_includes" >&6; }
27869 if test "x$ac_find_includes" = "x/usr/include"; then
27870 ac_path_to_include
=""
27872 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27874 if test $result = 0; then
27875 ac_path_to_include
=""
27877 ac_path_to_include
=" -I$ac_find_includes"
27881 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27884 $as_echo "not found" >&6; }
27887 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27889 if test "x$ac_cv_header_GL_gl_h" = xyes
; then :
27891 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27893 if test "x$ac_cv_header_GL_glu_h" = xyes
; then :
27900 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27903 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27904 if test -n "$ac_tool_prefix"; then
27905 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27906 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27908 $as_echo_n "checking for $ac_word... " >&6; }
27909 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27910 $as_echo_n "(cached) " >&6
27912 case $PKG_CONFIG in
27914 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27918 for as_dir
in $PATH
27921 test -z "$as_dir" && as_dir
=.
27922 for ac_exec_ext
in '' $ac_executable_extensions; do
27923 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27924 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27935 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27936 if test -n "$PKG_CONFIG"; then
27937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27938 $as_echo "$PKG_CONFIG" >&6; }
27940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27941 $as_echo "no" >&6; }
27946 if test -z "$ac_cv_path_PKG_CONFIG"; then
27947 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27948 # Extract the first word of "pkg-config", so it can be a program name with args.
27949 set dummy pkg
-config; ac_word
=$2
27950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27951 $as_echo_n "checking for $ac_word... " >&6; }
27952 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27953 $as_echo_n "(cached) " >&6
27955 case $ac_pt_PKG_CONFIG in
27957 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27961 for as_dir
in $PATH
27964 test -z "$as_dir" && as_dir
=.
27965 for ac_exec_ext
in '' $ac_executable_extensions; do
27966 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27967 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27978 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27979 if test -n "$ac_pt_PKG_CONFIG"; then
27980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27981 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27984 $as_echo "no" >&6; }
27987 if test "x$ac_pt_PKG_CONFIG" = x
; then
27990 case $cross_compiling:$ac_tool_warned in
27992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27994 ac_tool_warned
=yes ;;
27996 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27999 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28003 if test -n "$PKG_CONFIG"; then
28004 _pkg_min_version
=0.9.0
28005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28006 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28007 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28009 $as_echo "yes" >&6; }
28011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28012 $as_echo "no" >&6; }
28019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
28020 $as_echo_n "checking for GL... " >&6; }
28022 if test -n "$PKG_CONFIG"; then
28023 if test -n "$GL_CFLAGS"; then
28024 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
28026 if test -n "$PKG_CONFIG" && \
28027 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28028 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28031 test $ac_status = 0; }; then
28032 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28040 if test -n "$PKG_CONFIG"; then
28041 if test -n "$GL_LIBS"; then
28042 pkg_cv_GL_LIBS
="$GL_LIBS"
28044 if test -n "$PKG_CONFIG" && \
28045 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28046 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28049 test $ac_status = 0; }; then
28050 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28061 if test $pkg_failed = yes; then
28063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28064 _pkg_short_errors_supported
=yes
28066 _pkg_short_errors_supported
=no
28068 if test $_pkg_short_errors_supported = yes; then
28069 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28071 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28073 # Put the nasty error message in config.log where it belongs
28074 echo "$GL_PKG_ERRORS" >&5
28077 if test "x$ac_find_libraries" = "x"; then
28078 if test "xglBegin" != "x"; then
28079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28080 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28081 if ${ac_cv_lib_GL_glBegin+:} false
; then :
28082 $as_echo_n "(cached) " >&6
28084 ac_check_lib_save_LIBS
=$LIBS
28086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28087 /* end confdefs.h. */
28089 /* Override any GCC internal prototype to avoid an error.
28090 Use char because int might match the return type of a GCC
28091 builtin and then its argument prototype would still apply. */
28104 if ac_fn_c_try_link
"$LINENO"; then :
28105 ac_cv_lib_GL_glBegin
=yes
28107 ac_cv_lib_GL_glBegin
=no
28109 rm -f core conftest.err conftest.
$ac_objext \
28110 conftest
$ac_exeext conftest.
$ac_ext
28111 LIBS
=$ac_check_lib_save_LIBS
28113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28114 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28115 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
28116 ac_find_libraries
="std"
28122 if test "x$ac_find_libraries" = "x"; then
28123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28124 $as_echo_n "checking elsewhere... " >&6; }
28127 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28129 for ac_extension
in a so sl dylib dll.a
; do
28130 if test -f "$ac_dir/libGL.$ac_extension"; then
28131 ac_find_libraries
=$ac_dir
28137 if test "x$ac_find_libraries" != "x"; then
28138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28139 $as_echo "yes" >&6; }
28141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28142 $as_echo "no" >&6; }
28146 elif test $pkg_failed = untried
; then
28148 if test "x$ac_find_libraries" = "x"; then
28149 if test "xglBegin" != "x"; then
28150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28151 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28152 if ${ac_cv_lib_GL_glBegin+:} false
; then :
28153 $as_echo_n "(cached) " >&6
28155 ac_check_lib_save_LIBS
=$LIBS
28157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28158 /* end confdefs.h. */
28160 /* Override any GCC internal prototype to avoid an error.
28161 Use char because int might match the return type of a GCC
28162 builtin and then its argument prototype would still apply. */
28175 if ac_fn_c_try_link
"$LINENO"; then :
28176 ac_cv_lib_GL_glBegin
=yes
28178 ac_cv_lib_GL_glBegin
=no
28180 rm -f core conftest.err conftest.
$ac_objext \
28181 conftest
$ac_exeext conftest.
$ac_ext
28182 LIBS
=$ac_check_lib_save_LIBS
28184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28185 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28186 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
28187 ac_find_libraries
="std"
28193 if test "x$ac_find_libraries" = "x"; then
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28195 $as_echo_n "checking elsewhere... " >&6; }
28198 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28200 for ac_extension
in a so sl dylib dll.a
; do
28201 if test -f "$ac_dir/libGL.$ac_extension"; then
28202 ac_find_libraries
=$ac_dir
28208 if test "x$ac_find_libraries" != "x"; then
28209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28210 $as_echo "yes" >&6; }
28212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28213 $as_echo "no" >&6; }
28218 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
28219 GL_LIBS
=$pkg_cv_GL_LIBS
28220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28221 $as_echo "yes" >&6; }
28223 ac_find_libraries
="std"
28225 eval ac_find_cflags
=\
$GL_CFLAGS
28226 eval fl_libs
=\
$GL_LIBS
28228 for fl_path
in $fl_libs
28230 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28231 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28237 if test "$ac_find_libraries" != "" ; then
28238 if test "$ac_find_libraries" != "std" ; then
28240 if test "$ac_find_libraries" = "default location"; then
28243 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28245 if test $result = 0; then
28248 ac_path_to_link
=" -L$ac_find_libraries"
28252 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28253 LDFLAGS_GL
="$ac_path_to_link"
28260 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
28263 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28264 if test -n "$ac_tool_prefix"; then
28265 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28266 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28268 $as_echo_n "checking for $ac_word... " >&6; }
28269 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28270 $as_echo_n "(cached) " >&6
28272 case $PKG_CONFIG in
28274 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28278 for as_dir
in $PATH
28281 test -z "$as_dir" && as_dir
=.
28282 for ac_exec_ext
in '' $ac_executable_extensions; do
28283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28284 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28295 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28296 if test -n "$PKG_CONFIG"; then
28297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28298 $as_echo "$PKG_CONFIG" >&6; }
28300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28301 $as_echo "no" >&6; }
28306 if test -z "$ac_cv_path_PKG_CONFIG"; then
28307 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28308 # Extract the first word of "pkg-config", so it can be a program name with args.
28309 set dummy pkg
-config; ac_word
=$2
28310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28311 $as_echo_n "checking for $ac_word... " >&6; }
28312 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28313 $as_echo_n "(cached) " >&6
28315 case $ac_pt_PKG_CONFIG in
28317 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28321 for as_dir
in $PATH
28324 test -z "$as_dir" && as_dir
=.
28325 for ac_exec_ext
in '' $ac_executable_extensions; do
28326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28327 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28338 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28339 if test -n "$ac_pt_PKG_CONFIG"; then
28340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28341 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28344 $as_echo "no" >&6; }
28347 if test "x$ac_pt_PKG_CONFIG" = x
; then
28350 case $cross_compiling:$ac_tool_warned in
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28354 ac_tool_warned
=yes ;;
28356 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28359 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28363 if test -n "$PKG_CONFIG"; then
28364 _pkg_min_version
=0.9.0
28365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28366 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28367 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28369 $as_echo "yes" >&6; }
28371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28372 $as_echo "no" >&6; }
28379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28380 $as_echo_n "checking for GLU... " >&6; }
28382 if test -n "$PKG_CONFIG"; then
28383 if test -n "$GLU_CFLAGS"; then
28384 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28386 if test -n "$PKG_CONFIG" && \
28387 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28388 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28391 test $ac_status = 0; }; then
28392 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28400 if test -n "$PKG_CONFIG"; then
28401 if test -n "$GLU_LIBS"; then
28402 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28404 if test -n "$PKG_CONFIG" && \
28405 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28406 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28409 test $ac_status = 0; }; then
28410 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28421 if test $pkg_failed = yes; then
28423 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28424 _pkg_short_errors_supported
=yes
28426 _pkg_short_errors_supported
=no
28428 if test $_pkg_short_errors_supported = yes; then
28429 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28431 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28433 # Put the nasty error message in config.log where it belongs
28434 echo "$GLU_PKG_ERRORS" >&5
28437 if test "x$ac_find_libraries" = "x"; then
28438 if test "xgluBeginCurve" != "x"; then
28439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28440 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28441 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28442 $as_echo_n "(cached) " >&6
28444 ac_check_lib_save_LIBS
=$LIBS
28446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28447 /* end confdefs.h. */
28449 /* Override any GCC internal prototype to avoid an error.
28450 Use char because int might match the return type of a GCC
28451 builtin and then its argument prototype would still apply. */
28455 char gluBeginCurve ();
28459 return gluBeginCurve ();
28464 if ac_fn_c_try_link
"$LINENO"; then :
28465 ac_cv_lib_GLU_gluBeginCurve
=yes
28467 ac_cv_lib_GLU_gluBeginCurve
=no
28469 rm -f core conftest.err conftest.
$ac_objext \
28470 conftest
$ac_exeext conftest.
$ac_ext
28471 LIBS
=$ac_check_lib_save_LIBS
28473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28474 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28475 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28476 ac_find_libraries
="std"
28482 if test "x$ac_find_libraries" = "x"; then
28483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28484 $as_echo_n "checking elsewhere... " >&6; }
28487 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28489 for ac_extension
in a so sl dylib dll.a
; do
28490 if test -f "$ac_dir/libGLU.$ac_extension"; then
28491 ac_find_libraries
=$ac_dir
28497 if test "x$ac_find_libraries" != "x"; then
28498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28499 $as_echo "yes" >&6; }
28501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28502 $as_echo "no" >&6; }
28506 elif test $pkg_failed = untried
; then
28508 if test "x$ac_find_libraries" = "x"; then
28509 if test "xgluBeginCurve" != "x"; then
28510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28511 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28512 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28513 $as_echo_n "(cached) " >&6
28515 ac_check_lib_save_LIBS
=$LIBS
28517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28518 /* end confdefs.h. */
28520 /* Override any GCC internal prototype to avoid an error.
28521 Use char because int might match the return type of a GCC
28522 builtin and then its argument prototype would still apply. */
28526 char gluBeginCurve ();
28530 return gluBeginCurve ();
28535 if ac_fn_c_try_link
"$LINENO"; then :
28536 ac_cv_lib_GLU_gluBeginCurve
=yes
28538 ac_cv_lib_GLU_gluBeginCurve
=no
28540 rm -f core conftest.err conftest.
$ac_objext \
28541 conftest
$ac_exeext conftest.
$ac_ext
28542 LIBS
=$ac_check_lib_save_LIBS
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28545 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28546 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28547 ac_find_libraries
="std"
28553 if test "x$ac_find_libraries" = "x"; then
28554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28555 $as_echo_n "checking elsewhere... " >&6; }
28558 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28560 for ac_extension
in a so sl dylib dll.a
; do
28561 if test -f "$ac_dir/libGLU.$ac_extension"; then
28562 ac_find_libraries
=$ac_dir
28568 if test "x$ac_find_libraries" != "x"; then
28569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28570 $as_echo "yes" >&6; }
28572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28573 $as_echo "no" >&6; }
28578 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28579 GLU_LIBS
=$pkg_cv_GLU_LIBS
28580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28581 $as_echo "yes" >&6; }
28583 ac_find_libraries
="std"
28585 eval ac_find_cflags
=\
$GLU_CFLAGS
28586 eval fl_libs
=\
$GLU_LIBS
28588 for fl_path
in $fl_libs
28590 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28591 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28597 if test "$ac_find_libraries" != "" ; then
28598 if test "$ac_find_libraries" != "std" ; then
28600 if test "$ac_find_libraries" = "default location"; then
28603 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28605 if test $result = 0; then
28608 ac_path_to_link
=" -L$ac_find_libraries"
28612 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28613 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28614 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28619 OPENGL_LIBS
="-lGL -lGLU"
28623 if test "$found_gl" != 1; then
28627 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28630 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28631 if test -n "$ac_tool_prefix"; then
28632 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28633 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28635 $as_echo_n "checking for $ac_word... " >&6; }
28636 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28637 $as_echo_n "(cached) " >&6
28639 case $PKG_CONFIG in
28641 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28645 for as_dir
in $PATH
28648 test -z "$as_dir" && as_dir
=.
28649 for ac_exec_ext
in '' $ac_executable_extensions; do
28650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28651 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28662 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28663 if test -n "$PKG_CONFIG"; then
28664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28665 $as_echo "$PKG_CONFIG" >&6; }
28667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28668 $as_echo "no" >&6; }
28673 if test -z "$ac_cv_path_PKG_CONFIG"; then
28674 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28675 # Extract the first word of "pkg-config", so it can be a program name with args.
28676 set dummy pkg
-config; ac_word
=$2
28677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28678 $as_echo_n "checking for $ac_word... " >&6; }
28679 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28680 $as_echo_n "(cached) " >&6
28682 case $ac_pt_PKG_CONFIG in
28684 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28688 for as_dir
in $PATH
28691 test -z "$as_dir" && as_dir
=.
28692 for ac_exec_ext
in '' $ac_executable_extensions; do
28693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28694 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28705 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28706 if test -n "$ac_pt_PKG_CONFIG"; then
28707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28708 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28711 $as_echo "no" >&6; }
28714 if test "x$ac_pt_PKG_CONFIG" = x
; then
28717 case $cross_compiling:$ac_tool_warned in
28719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28721 ac_tool_warned
=yes ;;
28723 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28726 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28730 if test -n "$PKG_CONFIG"; then
28731 _pkg_min_version
=0.9.0
28732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28733 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28734 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28736 $as_echo "yes" >&6; }
28738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28739 $as_echo "no" >&6; }
28746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28747 $as_echo_n "checking for MesaGL... " >&6; }
28749 if test -n "$PKG_CONFIG"; then
28750 if test -n "$MesaGL_CFLAGS"; then
28751 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28753 if test -n "$PKG_CONFIG" && \
28754 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28755 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28758 test $ac_status = 0; }; then
28759 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28767 if test -n "$PKG_CONFIG"; then
28768 if test -n "$MesaGL_LIBS"; then
28769 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28771 if test -n "$PKG_CONFIG" && \
28772 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28773 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28776 test $ac_status = 0; }; then
28777 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28788 if test $pkg_failed = yes; then
28790 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28791 _pkg_short_errors_supported
=yes
28793 _pkg_short_errors_supported
=no
28795 if test $_pkg_short_errors_supported = yes; then
28796 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28798 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28800 # Put the nasty error message in config.log where it belongs
28801 echo "$MesaGL_PKG_ERRORS" >&5
28804 if test "x$ac_find_libraries" = "x"; then
28805 if test "xglEnable" != "x"; then
28806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28807 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28808 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28809 $as_echo_n "(cached) " >&6
28811 ac_check_lib_save_LIBS
=$LIBS
28812 LIBS
="-lMesaGL $LIBS"
28813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28814 /* end confdefs.h. */
28816 /* Override any GCC internal prototype to avoid an error.
28817 Use char because int might match the return type of a GCC
28818 builtin and then its argument prototype would still apply. */
28826 return glEnable ();
28831 if ac_fn_c_try_link
"$LINENO"; then :
28832 ac_cv_lib_MesaGL_glEnable
=yes
28834 ac_cv_lib_MesaGL_glEnable
=no
28836 rm -f core conftest.err conftest.
$ac_objext \
28837 conftest
$ac_exeext conftest.
$ac_ext
28838 LIBS
=$ac_check_lib_save_LIBS
28840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28841 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28842 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28843 ac_find_libraries
="std"
28849 if test "x$ac_find_libraries" = "x"; then
28850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28851 $as_echo_n "checking elsewhere... " >&6; }
28854 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28856 for ac_extension
in a so sl dylib dll.a
; do
28857 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28858 ac_find_libraries
=$ac_dir
28864 if test "x$ac_find_libraries" != "x"; then
28865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28866 $as_echo "yes" >&6; }
28868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28869 $as_echo "no" >&6; }
28873 elif test $pkg_failed = untried
; then
28875 if test "x$ac_find_libraries" = "x"; then
28876 if test "xglEnable" != "x"; then
28877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28878 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28879 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28880 $as_echo_n "(cached) " >&6
28882 ac_check_lib_save_LIBS
=$LIBS
28883 LIBS
="-lMesaGL $LIBS"
28884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28885 /* end confdefs.h. */
28887 /* Override any GCC internal prototype to avoid an error.
28888 Use char because int might match the return type of a GCC
28889 builtin and then its argument prototype would still apply. */
28897 return glEnable ();
28902 if ac_fn_c_try_link
"$LINENO"; then :
28903 ac_cv_lib_MesaGL_glEnable
=yes
28905 ac_cv_lib_MesaGL_glEnable
=no
28907 rm -f core conftest.err conftest.
$ac_objext \
28908 conftest
$ac_exeext conftest.
$ac_ext
28909 LIBS
=$ac_check_lib_save_LIBS
28911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28912 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28913 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28914 ac_find_libraries
="std"
28920 if test "x$ac_find_libraries" = "x"; then
28921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28922 $as_echo_n "checking elsewhere... " >&6; }
28925 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28927 for ac_extension
in a so sl dylib dll.a
; do
28928 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28929 ac_find_libraries
=$ac_dir
28935 if test "x$ac_find_libraries" != "x"; then
28936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28937 $as_echo "yes" >&6; }
28939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28940 $as_echo "no" >&6; }
28945 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28946 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28948 $as_echo "yes" >&6; }
28950 ac_find_libraries
="std"
28952 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28953 eval fl_libs
=\
$MesaGL_LIBS
28955 for fl_path
in $fl_libs
28957 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28958 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28964 if test "$ac_find_libraries" != "" ; then
28965 if test "$ac_find_libraries" != "std" ; then
28967 if test "$ac_find_libraries" = "default location"; then
28970 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28972 if test $result = 0; then
28975 ac_path_to_link
=" -L$ac_find_libraries"
28979 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28980 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28983 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28995 if test "x$OPENGL_LIBS" = "x"; then
28996 if test "$wxUSE_OPENGL" = "yes"; then
28997 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
29000 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
29006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
29007 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
29011 if test "$wxUSE_OPENGL" = "auto"; then
29015 if test "$wxUSE_OPENGL" = "yes"; then
29017 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
29019 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
29021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29026 if test -n "$TOOLKIT" ; then
29027 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29032 if test "$wxUSE_SHARED" = "yes"; then
29036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
29037 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29042 if test "$wxUSE_SHARED" = "yes"; then
29046 *-*-cygwin* | *-*-mingw* )
29047 wx_cv_version_script
=no
29051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
29052 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
29053 if ${wx_cv_version_script+:} false
; then :
29054 $as_echo_n "(cached) " >&6
29057 echo "VER_1 { *; };" >conftest.sym
29058 echo "int main() { return 0; }" >conftest.cpp
29061 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29062 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29063 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29064 (eval $ac_try) 2>&5
29066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29067 test $ac_status = 0; }; } ; then
29068 if test -s conftest.stderr
; then
29069 wx_cv_version_script
=no
29071 wx_cv_version_script
=yes
29074 wx_cv_version_script
=no
29077 if test $wx_cv_version_script = yes
29079 echo "struct B { virtual ~B() { } }; \
29080 struct D : public B { }; \
29081 void F() { D d; }" > conftest.cpp
29084 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29085 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29086 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29087 (eval $ac_try) 2>&5
29089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29090 test $ac_status = 0; }; } &&
29092 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29093 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29094 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29095 (eval $ac_try) 2>&5
29097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29098 test $ac_status = 0; }; }
29101 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29102 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29103 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29104 (eval $ac_try) 2>&5
29106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29107 test $ac_status = 0; }; }
29109 wx_cv_version_script
=yes
29111 wx_cv_version_script
=no
29116 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29117 rm -f conftest1.output conftest2.output conftest3.output
29120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
29121 $as_echo "$wx_cv_version_script" >&6; }
29123 if test $wx_cv_version_script = yes ; then
29124 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
29130 if test "$wxUSE_VISIBILITY" != "no"; then
29133 if test -n "$GCC"; then
29134 CFLAGS_VISIBILITY
="-fvisibility=hidden"
29135 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
29136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
29137 $as_echo_n "checking for symbols visibility support... " >&6; }
29138 if ${wx_cv_cc_visibility+:} false
; then :
29139 $as_echo_n "(cached) " >&6
29142 wx_save_CXXFLAGS
="$CXXFLAGS"
29143 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29145 ac_cpp
='$CXXCPP $CPPFLAGS'
29146 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29147 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29148 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29151 /* end confdefs.h. */
29153 /* we need gcc >= 4.0, older versions with visibility support
29154 didn't have class visibility: */
29155 #if defined(__GNUC__) && __GNUC__ < 4
29156 error this gcc is too old;
29159 /* visibility only makes sense for ELF shared libs: */
29160 #if !defined(__ELF__) && !defined(__APPLE__)
29161 error this platform has no visibility;
29164 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29165 #if defined(__clang__)
29166 clang compiler is still broken w.r.t. visibility;
29169 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29170 extern __attribute__((__visibility__("default"))) int exportedvar;
29171 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29172 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29173 class __attribute__((__visibility__("default"))) Foo {
29185 if ac_fn_cxx_try_compile
"$LINENO"; then :
29186 wx_cv_cc_visibility
=yes
29188 wx_cv_cc_visibility
=no
29190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29192 ac_cpp
='$CPP $CPPFLAGS'
29193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29197 CXXFLAGS
="$wx_save_CXXFLAGS"
29200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29201 $as_echo "$wx_cv_cc_visibility" >&6; }
29202 if test $wx_cv_cc_visibility = yes; then
29203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29204 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29205 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false
; then :
29206 $as_echo_n "(cached) " >&6
29209 wx_save_CXXFLAGS
="$CXXFLAGS"
29210 wx_save_LDFLAGS
="$LDFLAGS"
29211 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29212 LDFLAGS
="$LDFLAGS -shared -fPIC"
29214 ac_cpp
='$CXXCPP $CPPFLAGS'
29215 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29216 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29217 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29220 /* end confdefs.h. */
29228 std::string s("hello");
29235 if ac_fn_cxx_try_link
"$LINENO"; then :
29236 wx_cv_cc_broken_libstdcxx_visibility
=no
29238 wx_cv_cc_broken_libstdcxx_visibility
=yes
29240 rm -f core conftest.err conftest.
$ac_objext \
29241 conftest
$ac_exeext conftest.
$ac_ext
29243 ac_cpp
='$CPP $CPPFLAGS'
29244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29248 CXXFLAGS
="$wx_save_CXXFLAGS"
29249 LDFLAGS
="$wx_save_LDFLAGS"
29252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29253 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29255 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29257 $as_echo_n "checking whether we can work around it... " >&6; }
29258 if ${wx_cv_cc_visibility_workaround+:} false
; then :
29259 $as_echo_n "(cached) " >&6
29263 ac_cpp
='$CXXCPP $CPPFLAGS'
29264 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29265 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29266 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29269 /* end confdefs.h. */
29271 #pragma GCC visibility push(default)
29273 #pragma GCC visibility pop
29279 std::string s("hello");
29286 if ac_fn_cxx_try_link
"$LINENO"; then :
29287 wx_cv_cc_visibility_workaround
=no
29289 wx_cv_cc_visibility_workaround
=yes
29291 rm -f core conftest.err conftest.
$ac_objext \
29292 conftest
$ac_exeext conftest.
$ac_ext
29294 ac_cpp
='$CPP $CPPFLAGS'
29295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29303 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29305 if test $wx_cv_cc_visibility_workaround = no
; then
29306 wx_cv_cc_visibility
=no
29311 if test $wx_cv_cc_visibility = yes; then
29312 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29314 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29315 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29319 CFLAGS_VISIBILITY
=""
29320 CXXFLAGS_VISIBILITY
=""
29328 if test "x$SUNCXX" = xyes
; then
29329 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
29330 WXCONFIG_RPATH
="-R\$libdir"
29333 *-*-linux* | *-*-gnu* )
29334 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29335 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29340 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
29342 saveLdflags
="$LDFLAGS"
29343 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29345 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29347 /* end confdefs.h. */
29357 if ac_fn_c_try_link
"$LINENO"; then :
29359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29360 $as_echo "yes" >&6; }
29361 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29362 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29367 $as_echo "no" >&6; }
29368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29369 $as_echo_n "checking if the linker accepts -R... " >&6; }
29370 LDFLAGS
="$saveLdflags -Wl,-R,/"
29371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29372 /* end confdefs.h. */
29382 if ac_fn_c_try_link
"$LINENO"; then :
29384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29385 $as_echo "yes" >&6; }
29386 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29387 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29392 $as_echo "no" >&6; }
29395 rm -f core conftest.err conftest.
$ac_objext \
29396 conftest
$ac_exeext conftest.
$ac_ext
29399 rm -f core conftest.err conftest.
$ac_objext \
29400 conftest
$ac_exeext conftest.
$ac_ext
29401 LDFLAGS
="$saveLdflags"
29405 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29406 if test "$install_name_tool" -a -x "$install_name_tool"; then
29407 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29408 cat <<EOF >change-install-names
29410 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29411 for i in \${libnames} ; do
29412 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29413 for dep in \${libnames} ; do
29414 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29418 chmod +x change
-install-names
29419 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29422 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29425 *-*-cygwin* | *-*-mingw32* )
29429 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29430 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29436 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29438 if test $wxUSE_RPATH = "no"; then
29439 SAMPLES_RPATH_FLAG
=''
29440 DYLIB_PATH_POSTLINK
=''
29448 config_linkage_component
="-static"
29455 lib_unicode_suffix
=
29457 if test "$wxUSE_UNICODE" = "yes"; then
29458 lib_unicode_suffix
=u
29459 WX_CHARTYPE
="unicode"
29463 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29464 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29467 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29471 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29473 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29475 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29478 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29479 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29481 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29483 if test "${TOOLKIT_DIR}" = "os2"; then
29484 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29486 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29491 if test "$wxUSE_OLD_COCOA" = 1; then
29494 ac_cpp
='$CPP $CPPFLAGS'
29495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29502 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29504 /* end confdefs.h. */
29505 #include <AppKit/NSEvent.h>
29506 #include <CoreFoundation/CoreFoundation.h>
29516 if ac_fn_c_try_compile
"$LINENO"; then :
29517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29518 $as_echo "no" >&6; }
29520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29521 $as_echo "yes" >&6; }
29522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29523 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29525 /* end confdefs.h. */
29526 #define __Point__ 1
29527 #include <AppKit/NSEvent.h>
29528 #include <CoreFoundation/CoreFoundation.h>
29538 if ac_fn_c_try_compile
"$LINENO"; then :
29539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29540 $as_echo "yes" >&6; }
29541 $as_echo "#define __Point__ 1" >>confdefs.h
29545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29548 See \`config.log' for more details" "$LINENO" 5; }
29551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29556 ac_cpp
='$CPP $CPPFLAGS'
29557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29564 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29565 if test "x$ac_cv_type_mode_t" = xyes
; then :
29569 cat >>confdefs.h
<<_ACEOF
29575 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29576 if test "x$ac_cv_type_off_t" = xyes
; then :
29580 cat >>confdefs.h
<<_ACEOF
29581 #define off_t long int
29586 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29587 if test "x$ac_cv_type_pid_t" = xyes
; then :
29591 cat >>confdefs.h
<<_ACEOF
29597 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29598 if test "x$ac_cv_type_size_t" = xyes
; then :
29602 cat >>confdefs.h
<<_ACEOF
29603 #define size_t unsigned int
29609 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29610 if test "x$ac_cv_type_ssize_t" = xyes
; then :
29612 cat >>confdefs.h
<<_ACEOF
29613 #define HAVE_SSIZE_T 1
29621 ac_cpp
='$CXXCPP $CPPFLAGS'
29622 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29623 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29624 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29626 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29627 if ${wx_cv_size_t_is_uint+:} false
; then :
29628 $as_echo_n "(cached) " >&6
29631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29632 /* end confdefs.h. */
29633 #include <stddef.h>
29640 struct Foo { void foo(size_t); void foo(unsigned int); };
29648 if ac_fn_cxx_try_compile
"$LINENO"; then :
29649 wx_cv_size_t_is_uint
=no
29651 wx_cv_size_t_is_uint
=yes
29654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29659 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29661 if test "$wx_cv_size_t_is_uint" = "yes"; then
29662 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29666 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29667 if ${wx_cv_size_t_is_ulong+:} false
; then :
29668 $as_echo_n "(cached) " >&6
29670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29671 /* end confdefs.h. */
29672 #include <stddef.h>
29679 struct Foo { void foo(size_t); void foo(unsigned long); };
29687 if ac_fn_cxx_try_compile
"$LINENO"; then :
29688 wx_cv_size_t_is_ulong
=no
29690 wx_cv_size_t_is_ulong
=yes
29693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29697 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29699 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29700 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29706 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29707 if ${wx_cv_wchar_t_is_separate_type+:} false
; then :
29708 $as_echo_n "(cached) " >&6
29710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29711 /* end confdefs.h. */
29719 struct Foo { void foo(wchar_t);
29720 void foo(unsigned short);
29721 void foo(unsigned int);
29722 void foo(unsigned long); };
29730 if ac_fn_cxx_try_compile
"$LINENO"; then :
29731 wx_cv_wchar_t_is_separate_type
=yes
29733 wx_cv_wchar_t_is_separate_type
=no
29736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29740 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29742 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29743 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29746 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29751 ac_cpp
='$CPP $CPPFLAGS'
29752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29758 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29759 if ${wx_cv_struct_pw_gecos+:} false
; then :
29760 $as_echo_n "(cached) " >&6
29763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29764 /* end confdefs.h. */
29778 if ac_fn_c_try_compile
"$LINENO"; then :
29780 wx_cv_struct_pw_gecos
=yes
29784 wx_cv_struct_pw_gecos
=no
29788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29793 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29795 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29796 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29803 for ac_func
in wcslen
29805 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29806 if test "x$ac_cv_func_wcslen" = xyes
; then :
29807 cat >>confdefs.h
<<_ACEOF
29808 #define HAVE_WCSLEN 1
29815 if test "$WCSLEN_FOUND" = 0; then
29816 if test "$TOOLKIT" = "MSW"; then
29817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29818 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29819 if ${ac_cv_lib_msvcrt_wcslen+:} false
; then :
29820 $as_echo_n "(cached) " >&6
29822 ac_check_lib_save_LIBS
=$LIBS
29823 LIBS
="-lmsvcrt $LIBS"
29824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29825 /* end confdefs.h. */
29827 /* Override any GCC internal prototype to avoid an error.
29828 Use char because int might match the return type of a GCC
29829 builtin and then its argument prototype would still apply. */
29842 if ac_fn_c_try_link
"$LINENO"; then :
29843 ac_cv_lib_msvcrt_wcslen
=yes
29845 ac_cv_lib_msvcrt_wcslen
=no
29847 rm -f core conftest.err conftest.
$ac_objext \
29848 conftest
$ac_exeext conftest.
$ac_ext
29849 LIBS
=$ac_check_lib_save_LIBS
29851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29852 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29853 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes
; then :
29858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29859 $as_echo_n "checking for wcslen in -lw... " >&6; }
29860 if ${ac_cv_lib_w_wcslen+:} false
; then :
29861 $as_echo_n "(cached) " >&6
29863 ac_check_lib_save_LIBS
=$LIBS
29865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29866 /* end confdefs.h. */
29868 /* Override any GCC internal prototype to avoid an error.
29869 Use char because int might match the return type of a GCC
29870 builtin and then its argument prototype would still apply. */
29883 if ac_fn_c_try_link
"$LINENO"; then :
29884 ac_cv_lib_w_wcslen
=yes
29886 ac_cv_lib_w_wcslen
=no
29888 rm -f core conftest.err conftest.
$ac_objext \
29889 conftest
$ac_exeext conftest.
$ac_ext
29890 LIBS
=$ac_check_lib_save_LIBS
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29893 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29894 if test "x$ac_cv_lib_w_wcslen" = xyes
; then :
29904 if test "$WCSLEN_FOUND" = 1; then
29905 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29909 for ac_func
in wcsftime
29911 ac_fn_c_check_func
"$LINENO" "wcsftime" "ac_cv_func_wcsftime"
29912 if test "x$ac_cv_func_wcsftime" = xyes
; then :
29913 cat >>confdefs.h
<<_ACEOF
29914 #define HAVE_WCSFTIME 1
29921 if test "$wxUSE_MAC" != 1; then
29922 for ac_func
in strnlen wcsdup wcsnlen wcscasecmp wcsncasecmp
29924 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29925 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29926 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29927 cat >>confdefs.h
<<_ACEOF
29928 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29936 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29937 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29940 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29942 if test "x$ac_cv_type_mbstate_t" = xyes
; then :
29944 cat >>confdefs.h
<<_ACEOF
29945 #define HAVE_MBSTATE_T 1
29948 for ac_func
in wcsrtombs
29950 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29951 if test "x$ac_cv_func_wcsrtombs" = xyes
; then :
29952 cat >>confdefs.h
<<_ACEOF
29953 #define HAVE_WCSRTOMBS 1
29962 for ac_func
in snprintf vsnprintf vsscanf
29964 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29965 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29966 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29967 cat >>confdefs.h
<<_ACEOF
29968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29976 ac_cpp
='$CXXCPP $CPPFLAGS'
29977 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29978 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29979 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29981 if test "$ac_cv_func_vsnprintf" = "yes"; then
29982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29983 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29984 if ${wx_cv_func_vsnprintf_decl+:} false
; then :
29985 $as_echo_n "(cached) " >&6
29988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29989 /* end confdefs.h. */
29992 #include <stdarg.h>
30000 vsnprintf(buf, 10u, "%s", ap);
30006 if ac_fn_cxx_try_compile
"$LINENO"; then :
30007 wx_cv_func_vsnprintf_decl
=yes
30009 wx_cv_func_vsnprintf_decl
=no
30012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
30017 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
30019 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30020 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
30023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
30024 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
30025 if ${wx_cv_func_broken_vsnprintf_decl+:} false
; then :
30026 $as_echo_n "(cached) " >&6
30029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30030 /* end confdefs.h. */
30033 #include <stdarg.h>
30035 #if __MSL__ >= 0x6000
30037 using namespace std;
30047 const char *fmt = "%s";
30048 vsnprintf(buf, 10u, fmt, ap);
30054 if ac_fn_cxx_try_compile
"$LINENO"; then :
30055 wx_cv_func_broken_vsnprintf_decl
=no
30057 wx_cv_func_broken_vsnprintf_decl
=yes
30060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
30065 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
30067 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
30068 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
30074 if test "$ac_cv_func_snprintf" = "yes"; then
30075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
30076 $as_echo_n "checking for snprintf declaration... " >&6; }
30077 if ${wx_cv_func_snprintf_decl+:} false
; then :
30078 $as_echo_n "(cached) " >&6
30081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30082 /* end confdefs.h. */
30085 #include <stdarg.h>
30087 #if __MSL__ >= 0x6000
30089 using namespace std;
30098 snprintf(buf, 10u, "%s", "wx");
30104 if ac_fn_cxx_try_compile
"$LINENO"; then :
30105 wx_cv_func_snprintf_decl
=yes
30107 wx_cv_func_snprintf_decl
=no
30110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
30115 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
30117 if test "$wx_cv_func_snprintf_decl" = "yes"; then
30118 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
30122 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
30124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
30125 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
30126 if ${wx_cv_func_snprintf_pos_params+:} false
; then :
30127 $as_echo_n "(cached) " >&6
30130 if test "$cross_compiling" = yes; then :
30132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
30133 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
30134 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
30135 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30136 wx_cv_func_snprintf_pos_params
=no
30140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30141 /* end confdefs.h. */
30148 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30149 if (strcmp ("2 3 1", buffer) == 0)
30155 if ac_fn_cxx_try_run
"$LINENO"; then :
30156 wx_cv_func_snprintf_pos_params
=no
30158 wx_cv_func_snprintf_pos_params
=yes
30160 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30161 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30168 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30170 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30171 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30177 if test "$ac_cv_func_vsscanf" = "yes"; then
30178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30179 $as_echo_n "checking for vsscanf declaration... " >&6; }
30180 if ${wx_cv_func_vsscanf_decl+:} false
; then :
30181 $as_echo_n "(cached) " >&6
30184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30185 /* end confdefs.h. */
30188 #include <stdarg.h>
30190 #if __MSL__ >= 0x6000
30192 using namespace std;
30202 vsscanf(buf, "%s", args);
30208 if ac_fn_cxx_try_compile
"$LINENO"; then :
30209 wx_cv_func_vsscanf_decl
=yes
30211 wx_cv_func_vsscanf_decl
=no
30214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30219 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30221 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30222 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30227 ac_cpp
='$CPP $CPPFLAGS'
30228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30233 if test "$wxUSE_UNICODE" = yes; then
30235 wchar_headers
="#include <stdio.h>
30236 #include <wchar.h>"
30239 for ac_header
in widec.h
30241 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30243 if test "x$ac_cv_header_widec_h" = xyes
; then :
30244 cat >>confdefs.h
<<_ACEOF
30245 #define HAVE_WIDEC_H 1
30252 if test "$ac_cv_header_widec_h" = "yes"; then
30253 wchar_headers
="$wchar_headers
30254 #include <widec.h>"
30259 for wx_func
in putws fputws wprintf vswprintf vswscanf
30261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30262 $as_echo_n "checking for $wx_func... " >&6; }
30263 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30264 $as_echo_n "(cached) " >&6
30267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30268 /* end confdefs.h. */
30272 $ac_includes_default
30288 if ac_fn_c_try_link
"$LINENO"; then :
30289 eval wx_cv_func_
$wx_func=yes
30291 eval wx_cv_func_
$wx_func=no
30293 rm -f core conftest.err conftest.
$ac_objext \
30294 conftest
$ac_exeext conftest.
$ac_ext
30297 eval ac_res
=\
$wx_cv_func_$wx_func
30298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30299 $as_echo "$ac_res" >&6; }
30301 if eval test \
$wx_cv_func_$wx_func = yes
30303 cat >>confdefs.h
<<_ACEOF
30304 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30316 $as_echo_n "checking for _vsnwprintf... " >&6; }
30317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30318 /* end confdefs.h. */
30328 if ac_fn_c_try_compile
"$LINENO"; then :
30329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30330 $as_echo "yes" >&6; }
30331 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30335 $as_echo "no" >&6; }
30337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30340 if test "$wxUSE_FILE" = "yes"; then
30342 for wx_func
in fsync
30344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30345 $as_echo_n "checking for $wx_func... " >&6; }
30346 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30347 $as_echo_n "(cached) " >&6
30350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30351 /* end confdefs.h. */
30355 $ac_includes_default
30371 if ac_fn_c_try_link
"$LINENO"; then :
30372 eval wx_cv_func_
$wx_func=yes
30374 eval wx_cv_func_
$wx_func=no
30376 rm -f core conftest.err conftest.
$ac_objext \
30377 conftest
$ac_exeext conftest.
$ac_ext
30380 eval ac_res
=\
$wx_cv_func_$wx_func
30381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30382 $as_echo "$ac_res" >&6; }
30384 if eval test \
$wx_cv_func_$wx_func = yes
30386 cat >>confdefs.h
<<_ACEOF
30387 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30400 ac_cpp
='$CXXCPP $CPPFLAGS'
30401 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30402 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30403 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30406 for wx_func
in round
30408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30409 $as_echo_n "checking for $wx_func... " >&6; }
30410 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30411 $as_echo_n "(cached) " >&6
30414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30415 /* end confdefs.h. */
30419 $ac_includes_default
30435 if ac_fn_cxx_try_link
"$LINENO"; then :
30436 eval wx_cv_func_
$wx_func=yes
30438 eval wx_cv_func_
$wx_func=no
30440 rm -f core conftest.err conftest.
$ac_objext \
30441 conftest
$ac_exeext conftest.
$ac_ext
30444 eval ac_res
=\
$wx_cv_func_$wx_func
30445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30446 $as_echo "$ac_res" >&6; }
30448 if eval test \
$wx_cv_func_$wx_func = yes
30450 cat >>confdefs.h
<<_ACEOF
30451 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30462 ac_cpp
='$CPP $CPPFLAGS'
30463 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30464 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30465 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30468 if test "$TOOLKIT" != "MSW"; then
30470 if test "$wxUSE_LIBICONV" != "no" ; then
30474 # Check whether --with-libiconv-prefix was given.
30475 if test "${with_libiconv_prefix+set}" = set; then :
30476 withval
=$with_libiconv_prefix;
30477 for dir
in `echo "$withval" | tr : ' '`; do
30478 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30479 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30486 $as_echo_n "checking for iconv... " >&6; }
30487 if ${am_cv_func_iconv+:} false
; then :
30488 $as_echo_n "(cached) " >&6
30491 am_cv_func_iconv
="no, consider installing GNU libiconv"
30493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30494 /* end confdefs.h. */
30495 #include <stdlib.h>
30500 iconv_t cd = iconv_open("","");
30501 iconv(cd,NULL,NULL,NULL,NULL);
30507 if ac_fn_c_try_link
"$LINENO"; then :
30508 am_cv_func_iconv
=yes
30510 rm -f core conftest.err conftest.
$ac_objext \
30511 conftest
$ac_exeext conftest.
$ac_ext
30512 if test "$am_cv_func_iconv" != yes; then
30513 am_save_LIBS
="$LIBS"
30514 LIBS
="$LIBS -liconv"
30515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30516 /* end confdefs.h. */
30517 #include <stdlib.h>
30522 iconv_t cd = iconv_open("","");
30523 iconv(cd,NULL,NULL,NULL,NULL);
30529 if ac_fn_c_try_link
"$LINENO"; then :
30530 am_cv_lib_iconv
=yes
30531 am_cv_func_iconv
=yes
30533 rm -f core conftest.err conftest.
$ac_objext \
30534 conftest
$ac_exeext conftest.
$ac_ext
30535 LIBS
="$am_save_LIBS"
30539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30540 $as_echo "$am_cv_func_iconv" >&6; }
30541 if test "$am_cv_func_iconv" = yes; then
30543 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30546 $as_echo_n "checking if iconv needs const... " >&6; }
30547 if ${wx_cv_func_iconv_const+:} false
; then :
30548 $as_echo_n "(cached) " >&6
30550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30551 /* end confdefs.h. */
30553 #include <stdlib.h>
30559 #if defined(__STDC__) || defined(__cplusplus)
30560 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30573 if ac_fn_c_try_compile
"$LINENO"; then :
30574 wx_cv_func_iconv_const
="no"
30576 wx_cv_func_iconv_const
="yes"
30579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30583 $as_echo "$wx_cv_func_iconv_const" >&6; }
30586 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30587 iconv_const
="const"
30591 cat >>confdefs.h
<<_ACEOF
30592 #define ICONV_CONST $iconv_const
30597 if test "$am_cv_lib_iconv" = yes; then
30602 LIBS
="$LIBICONV $LIBS"
30605 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30606 for ac_func
in sigaction
30608 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30609 if test "x$ac_cv_func_sigaction" = xyes
; then :
30610 cat >>confdefs.h
<<_ACEOF
30611 #define HAVE_SIGACTION 1
30618 if test "$ac_cv_func_sigaction" = "no"; then
30619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30620 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30621 wxUSE_ON_FATAL_EXCEPTION
=no
30624 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30626 $as_echo_n "checking for sa_handler type... " >&6; }
30627 if ${wx_cv_type_sa_handler+:} false
; then :
30628 $as_echo_n "(cached) " >&6
30632 ac_cpp
='$CXXCPP $CPPFLAGS'
30633 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30634 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30635 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30638 /* end confdefs.h. */
30639 #include <signal.h>
30644 extern void testSigHandler(int);
30646 struct sigaction sa;
30647 sa.sa_handler = testSigHandler;
30653 if ac_fn_cxx_try_compile
"$LINENO"; then :
30655 wx_cv_type_sa_handler
=int
30659 wx_cv_type_sa_handler
=void
30662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30664 ac_cpp
='$CPP $CPPFLAGS'
30665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30672 $as_echo "$wx_cv_type_sa_handler" >&6; }
30674 cat >>confdefs.h
<<_ACEOF
30675 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30681 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30683 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30684 if ${wx_cv_func_backtrace+:} false
; then :
30685 $as_echo_n "(cached) " >&6
30688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30689 $as_echo_n "checking for library containing backtrace... " >&6; }
30690 if ${ac_cv_search_backtrace+:} false
; then :
30691 $as_echo_n "(cached) " >&6
30693 ac_func_search_save_LIBS
=$LIBS
30694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30695 /* end confdefs.h. */
30697 /* Override any GCC internal prototype to avoid an error.
30698 Use char because int might match the return type of a GCC
30699 builtin and then its argument prototype would still apply. */
30707 return backtrace ();
30712 for ac_lib
in '' execinfo
; do
30713 if test -z "$ac_lib"; then
30714 ac_res
="none required"
30717 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
30719 if ac_fn_c_try_link
"$LINENO"; then :
30720 ac_cv_search_backtrace
=$ac_res
30722 rm -f core conftest.err conftest.
$ac_objext \
30724 if ${ac_cv_search_backtrace+:} false
; then :
30728 if ${ac_cv_search_backtrace+:} false
; then :
30731 ac_cv_search_backtrace
=no
30733 rm conftest.
$ac_ext
30734 LIBS
=$ac_func_search_save_LIBS
30736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30737 $as_echo "$ac_cv_search_backtrace" >&6; }
30738 ac_res
=$ac_cv_search_backtrace
30739 if test "$ac_res" != no
; then :
30740 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
30743 ac_cpp
='$CXXCPP $CPPFLAGS'
30744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30749 /* end confdefs.h. */
30750 #include <execinfo.h>
30757 backtrace(trace, 1);
30758 messages = backtrace_symbols(trace, 1);
30764 if ac_fn_cxx_try_link
"$LINENO"; then :
30765 wx_cv_func_backtrace
=yes
30767 wx_cv_func_backtrace
=no
30770 rm -f core conftest.err conftest.
$ac_objext \
30771 conftest
$ac_exeext conftest.
$ac_ext
30773 ac_cpp
='$CPP $CPPFLAGS'
30774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30780 wx_cv_func_backtrace
=no
30787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30788 $as_echo "$wx_cv_func_backtrace" >&6; }
30790 if test "$wx_cv_func_backtrace" = "no"; then
30791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30792 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30793 wxUSE_STACKWALKER
=no
30795 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30797 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30798 if ${wx_cv_func_cxa_demangle+:} false
; then :
30799 $as_echo_n "(cached) " >&6
30803 ac_cpp
='$CXXCPP $CPPFLAGS'
30804 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30805 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30806 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30809 /* end confdefs.h. */
30810 #include <cxxabi.h>
30816 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30822 if ac_fn_cxx_try_link
"$LINENO"; then :
30823 wx_cv_func_cxa_demangle
=yes
30825 wx_cv_func_cxa_demangle
=no
30828 rm -f core conftest.err conftest.
$ac_objext \
30829 conftest
$ac_exeext conftest.
$ac_ext
30831 ac_cpp
='$CPP $CPPFLAGS'
30832 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30833 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30834 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30840 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30842 wx_cv_func_cxa_demangle
=no
30845 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30846 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30852 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30854 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30855 wxUSE_STACKWALKER
=no
30859 for ac_func
in mkstemp mktemp
30861 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30862 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30863 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30864 cat >>confdefs.h
<<_ACEOF
30865 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30873 $as_echo_n "checking for statfs... " >&6; }
30874 if ${wx_cv_func_statfs+:} false
; then :
30875 $as_echo_n "(cached) " >&6
30877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30878 /* end confdefs.h. */
30880 #if defined(__BSD__)
30881 #include <sys/param.h>
30882 #include <sys/mount.h>
30884 #include <sys/vfs.h>
30902 if ac_fn_c_try_compile
"$LINENO"; then :
30903 wx_cv_func_statfs
=yes
30905 wx_cv_func_statfs
=no
30908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30912 $as_echo "$wx_cv_func_statfs" >&6; }
30914 if test "$wx_cv_func_statfs" = "yes"; then
30915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30916 $as_echo_n "checking for statfs declaration... " >&6; }
30917 if ${wx_cv_func_statfs_decl+:} false
; then :
30918 $as_echo_n "(cached) " >&6
30921 ac_cpp
='$CXXCPP $CPPFLAGS'
30922 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30923 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30924 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30927 /* end confdefs.h. */
30929 #if defined(__BSD__)
30930 #include <sys/param.h>
30931 #include <sys/mount.h>
30933 #include <sys/vfs.h>
30947 if ac_fn_cxx_try_compile
"$LINENO"; then :
30948 wx_cv_func_statfs_decl
=yes
30950 wx_cv_func_statfs_decl
=no
30953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30955 ac_cpp
='$CPP $CPPFLAGS'
30956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30963 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30965 if test "$wx_cv_func_statfs_decl" = "yes"; then
30966 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30970 wx_cv_type_statvfs_t
="struct statfs"
30971 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30975 $as_echo_n "checking for statvfs... " >&6; }
30976 if ${wx_cv_func_statvfs+:} false
; then :
30977 $as_echo_n "(cached) " >&6
30979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30980 /* end confdefs.h. */
30982 #include <stddef.h>
30983 #include <sys/statvfs.h>
30989 statvfs("/", NULL);
30995 if ac_fn_c_try_compile
"$LINENO"; then :
30996 wx_cv_func_statvfs
=yes
30998 wx_cv_func_statvfs
=no
31001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
31005 $as_echo "$wx_cv_func_statvfs" >&6; }
31007 if test "$wx_cv_func_statvfs" = "yes"; then
31008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
31009 $as_echo_n "checking for statvfs argument type... " >&6; }
31010 if ${wx_cv_type_statvfs_t+:} false
; then :
31011 $as_echo_n "(cached) " >&6
31014 ac_cpp
='$CXXCPP $CPPFLAGS'
31015 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31016 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31017 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31020 /* end confdefs.h. */
31022 #include <sys/statvfs.h>
31039 if ac_fn_cxx_try_compile
"$LINENO"; then :
31040 wx_cv_type_statvfs_t
=statvfs_t
31043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31044 /* end confdefs.h. */
31046 #include <sys/statvfs.h>
31063 if ac_fn_cxx_try_compile
"$LINENO"; then :
31064 wx_cv_type_statvfs_t
="struct statvfs"
31066 wx_cv_type_statvfs_t
="unknown"
31069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31075 ac_cpp
='$CPP $CPPFLAGS'
31076 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31077 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31078 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
31083 $as_echo "$wx_cv_type_statvfs_t" >&6; }
31085 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31086 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
31090 wx_cv_type_statvfs_t
="unknown"
31094 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31095 cat >>confdefs.h
<<_ACEOF
31096 #define WX_STATFS_T $wx_cv_type_statvfs_t
31100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31101 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31104 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31105 for ac_func
in fcntl flock
31107 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31108 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
31109 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
31110 cat >>confdefs.h
<<_ACEOF
31111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31118 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
31120 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31121 wxUSE_SNGLINST_CHECKER
=no
31125 for ac_func
in setenv putenv
31127 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31128 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
31129 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
31130 cat >>confdefs.h
<<_ACEOF
31131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31137 if test "$ac_cv_func_setenv" = "yes"; then
31138 for ac_func
in unsetenv
31140 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31141 if test "x$ac_cv_func_unsetenv" = xyes
; then :
31142 cat >>confdefs.h
<<_ACEOF
31143 #define HAVE_UNSETENV 1
31151 HAVE_SOME_SLEEP_FUNC
=0
31152 if test "$USE_BEOS" = 1; then
31153 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31155 HAVE_SOME_SLEEP_FUNC
=1
31158 if test "$USE_DARWIN" = 1; then
31159 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31161 HAVE_SOME_SLEEP_FUNC
=1
31164 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31166 for ac_func
in nanosleep
31168 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31169 if test "x$ac_cv_func_nanosleep" = xyes
; then :
31170 cat >>confdefs.h
<<_ACEOF
31171 #define HAVE_NANOSLEEP 1
31173 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31178 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31179 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
31180 $as_echo_n "(cached) " >&6
31182 ac_check_lib_save_LIBS
=$LIBS
31183 LIBS
="-lposix4 $LIBS"
31184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31185 /* end confdefs.h. */
31187 /* Override any GCC internal prototype to avoid an error.
31188 Use char because int might match the return type of a GCC
31189 builtin and then its argument prototype would still apply. */
31197 return nanosleep ();
31202 if ac_fn_c_try_link
"$LINENO"; then :
31203 ac_cv_lib_posix4_nanosleep
=yes
31205 ac_cv_lib_posix4_nanosleep
=no
31207 rm -f core conftest.err conftest.
$ac_objext \
31208 conftest
$ac_exeext conftest.
$ac_ext
31209 LIBS
=$ac_check_lib_save_LIBS
31211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31212 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31213 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
31215 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31217 POSIX4_LINK
=" -lposix4"
31222 for wx_func
in usleep
31224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31225 $as_echo_n "checking for $wx_func... " >&6; }
31226 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31227 $as_echo_n "(cached) " >&6
31230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31231 /* end confdefs.h. */
31235 $ac_includes_default
31251 if ac_fn_c_try_link
"$LINENO"; then :
31252 eval wx_cv_func_
$wx_func=yes
31254 eval wx_cv_func_
$wx_func=no
31256 rm -f core conftest.err conftest.
$ac_objext \
31257 conftest
$ac_exeext conftest.
$ac_ext
31260 eval ac_res
=\
$wx_cv_func_$wx_func
31261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31262 $as_echo "$ac_res" >&6; }
31264 if eval test \
$wx_cv_func_$wx_func = yes
31266 cat >>confdefs.h
<<_ACEOF
31267 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31274 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31291 for wx_func
in uname
31293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31294 $as_echo_n "checking for $wx_func... " >&6; }
31295 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31296 $as_echo_n "(cached) " >&6
31299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31300 /* end confdefs.h. */
31303 #include <sys/utsname.h>
31304 $ac_includes_default
31320 if ac_fn_c_try_link
"$LINENO"; then :
31321 eval wx_cv_func_
$wx_func=yes
31323 eval wx_cv_func_
$wx_func=no
31325 rm -f core conftest.err conftest.
$ac_objext \
31326 conftest
$ac_exeext conftest.
$ac_ext
31329 eval ac_res
=\
$wx_cv_func_$wx_func
31330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31331 $as_echo "$ac_res" >&6; }
31333 if eval test \
$wx_cv_func_$wx_func = yes
31335 cat >>confdefs.h
<<_ACEOF
31336 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31346 if test "$wx_cv_func_uname" != yes; then
31348 for wx_func
in gethostname
31350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31351 $as_echo_n "checking for $wx_func... " >&6; }
31352 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31353 $as_echo_n "(cached) " >&6
31356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31357 /* end confdefs.h. */
31361 $ac_includes_default
31377 if ac_fn_c_try_link
"$LINENO"; then :
31378 eval wx_cv_func_
$wx_func=yes
31380 eval wx_cv_func_
$wx_func=no
31382 rm -f core conftest.err conftest.
$ac_objext \
31383 conftest
$ac_exeext conftest.
$ac_ext
31386 eval ac_res
=\
$wx_cv_func_$wx_func
31387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31388 $as_echo "$ac_res" >&6; }
31390 if eval test \
$wx_cv_func_$wx_func = yes
31392 cat >>confdefs.h
<<_ACEOF
31393 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31406 for wx_func
in strtok_r
31408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31409 $as_echo_n "checking for $wx_func... " >&6; }
31410 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31411 $as_echo_n "(cached) " >&6
31414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31415 /* end confdefs.h. */
31419 $ac_includes_default
31435 if ac_fn_c_try_link
"$LINENO"; then :
31436 eval wx_cv_func_
$wx_func=yes
31438 eval wx_cv_func_
$wx_func=no
31440 rm -f core conftest.err conftest.
$ac_objext \
31441 conftest
$ac_exeext conftest.
$ac_ext
31444 eval ac_res
=\
$wx_cv_func_$wx_func
31445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31446 $as_echo "$ac_res" >&6; }
31448 if eval test \
$wx_cv_func_$wx_func = yes
31450 cat >>confdefs.h
<<_ACEOF
31451 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31463 for ac_func
in inet_addr
31465 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31466 if test "x$ac_cv_func_inet_addr" = xyes
; then :
31467 cat >>confdefs.h
<<_ACEOF
31468 #define HAVE_INET_ADDR 1
31470 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31475 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31476 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
31477 $as_echo_n "(cached) " >&6
31479 ac_check_lib_save_LIBS
=$LIBS
31481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31482 /* end confdefs.h. */
31484 /* Override any GCC internal prototype to avoid an error.
31485 Use char because int might match the return type of a GCC
31486 builtin and then its argument prototype would still apply. */
31494 return inet_addr ();
31499 if ac_fn_c_try_link
"$LINENO"; then :
31500 ac_cv_lib_nsl_inet_addr
=yes
31502 ac_cv_lib_nsl_inet_addr
=no
31504 rm -f core conftest.err conftest.
$ac_objext \
31505 conftest
$ac_exeext conftest.
$ac_ext
31506 LIBS
=$ac_check_lib_save_LIBS
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31509 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31510 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
31514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31515 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31516 if ${ac_cv_lib_resolv_inet_addr+:} false
; then :
31517 $as_echo_n "(cached) " >&6
31519 ac_check_lib_save_LIBS
=$LIBS
31520 LIBS
="-lresolv $LIBS"
31521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31522 /* end confdefs.h. */
31524 /* Override any GCC internal prototype to avoid an error.
31525 Use char because int might match the return type of a GCC
31526 builtin and then its argument prototype would still apply. */
31534 return inet_addr ();
31539 if ac_fn_c_try_link
"$LINENO"; then :
31540 ac_cv_lib_resolv_inet_addr
=yes
31542 ac_cv_lib_resolv_inet_addr
=no
31544 rm -f core conftest.err conftest.
$ac_objext \
31545 conftest
$ac_exeext conftest.
$ac_ext
31546 LIBS
=$ac_check_lib_save_LIBS
31548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31549 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31550 if test "x$ac_cv_lib_resolv_inet_addr" = xyes
; then :
31554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31555 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31556 if ${ac_cv_lib_socket_inet_addr+:} false
; then :
31557 $as_echo_n "(cached) " >&6
31559 ac_check_lib_save_LIBS
=$LIBS
31560 LIBS
="-lsocket $LIBS"
31561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31562 /* end confdefs.h. */
31564 /* Override any GCC internal prototype to avoid an error.
31565 Use char because int might match the return type of a GCC
31566 builtin and then its argument prototype would still apply. */
31574 return inet_addr ();
31579 if ac_fn_c_try_link
"$LINENO"; then :
31580 ac_cv_lib_socket_inet_addr
=yes
31582 ac_cv_lib_socket_inet_addr
=no
31584 rm -f core conftest.err conftest.
$ac_objext \
31585 conftest
$ac_exeext conftest.
$ac_ext
31586 LIBS
=$ac_check_lib_save_LIBS
31588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31589 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31590 if test "x$ac_cv_lib_socket_inet_addr" = xyes
; then :
31609 for ac_func
in inet_aton
31611 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31612 if test "x$ac_cv_func_inet_aton" = xyes
; then :
31613 cat >>confdefs.h
<<_ACEOF
31614 #define HAVE_INET_ATON 1
31616 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31620 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31622 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31623 if eval \
${$as_ac_Lib+:} false
; then :
31624 $as_echo_n "(cached) " >&6
31626 ac_check_lib_save_LIBS
=$LIBS
31627 LIBS
="-l$INET_LINK $LIBS"
31628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31629 /* end confdefs.h. */
31631 /* Override any GCC internal prototype to avoid an error.
31632 Use char because int might match the return type of a GCC
31633 builtin and then its argument prototype would still apply. */
31641 return inet_aton ();
31646 if ac_fn_c_try_link
"$LINENO"; then :
31647 eval "$as_ac_Lib=yes"
31649 eval "$as_ac_Lib=no"
31651 rm -f core conftest.err conftest.
$ac_objext \
31652 conftest
$ac_exeext conftest.
$ac_ext
31653 LIBS
=$ac_check_lib_save_LIBS
31655 eval ac_res
=\$
$as_ac_Lib
31656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31657 $as_echo "$ac_res" >&6; }
31658 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31659 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31668 if test "x$INET_LINK" != "x"; then
31669 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31671 INET_LINK
=" -l$INET_LINK"
31675 for wx_func
in fdopen
31677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31678 $as_echo_n "checking for $wx_func... " >&6; }
31679 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31680 $as_echo_n "(cached) " >&6
31683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31684 /* end confdefs.h. */
31688 $ac_includes_default
31704 if ac_fn_c_try_link
"$LINENO"; then :
31705 eval wx_cv_func_
$wx_func=yes
31707 eval wx_cv_func_
$wx_func=no
31709 rm -f core conftest.err conftest.
$ac_objext \
31710 conftest
$ac_exeext conftest.
$ac_ext
31713 eval ac_res
=\
$wx_cv_func_$wx_func
31714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31715 $as_echo "$ac_res" >&6; }
31717 if eval test \
$wx_cv_func_$wx_func = yes
31719 cat >>confdefs.h
<<_ACEOF
31720 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31731 if test "$wxUSE_TARSTREAM" = "yes"; then
31733 for wx_func
in sysconf
31735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31736 $as_echo_n "checking for $wx_func... " >&6; }
31737 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31738 $as_echo_n "(cached) " >&6
31741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31742 /* end confdefs.h. */
31746 $ac_includes_default
31762 if ac_fn_c_try_link
"$LINENO"; then :
31763 eval wx_cv_func_
$wx_func=yes
31765 eval wx_cv_func_
$wx_func=no
31767 rm -f core conftest.err conftest.
$ac_objext \
31768 conftest
$ac_exeext conftest.
$ac_ext
31771 eval ac_res
=\
$wx_cv_func_$wx_func
31772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31773 $as_echo "$ac_res" >&6; }
31775 if eval test \
$wx_cv_func_$wx_func = yes
31777 cat >>confdefs.h
<<_ACEOF
31778 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31790 for wx_func
in getpwuid_r
31792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31793 $as_echo_n "checking for $wx_func... " >&6; }
31794 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31795 $as_echo_n "(cached) " >&6
31798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31799 /* end confdefs.h. */
31806 $ac_includes_default
31816 struct passwd pw, *ppw;
31818 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31826 if ac_fn_c_try_link
"$LINENO"; then :
31827 eval wx_cv_func_
$wx_func=yes
31829 eval wx_cv_func_
$wx_func=no
31831 rm -f core conftest.err conftest.
$ac_objext \
31832 conftest
$ac_exeext conftest.
$ac_ext
31835 eval ac_res
=\
$wx_cv_func_$wx_func
31836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31837 $as_echo "$ac_res" >&6; }
31839 if eval test \
$wx_cv_func_$wx_func = yes
31841 cat >>confdefs.h
<<_ACEOF
31842 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31854 for wx_func
in getgrgid_r
31856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31857 $as_echo_n "checking for $wx_func... " >&6; }
31858 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31859 $as_echo_n "(cached) " >&6
31862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31863 /* end confdefs.h. */
31870 $ac_includes_default
31880 struct group grp, *pgrp;
31882 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31890 if ac_fn_c_try_link
"$LINENO"; then :
31891 eval wx_cv_func_
$wx_func=yes
31893 eval wx_cv_func_
$wx_func=no
31895 rm -f core conftest.err conftest.
$ac_objext \
31896 conftest
$ac_exeext conftest.
$ac_ext
31899 eval ac_res
=\
$wx_cv_func_$wx_func
31900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31901 $as_echo "$ac_res" >&6; }
31903 if eval test \
$wx_cv_func_$wx_func = yes
31905 cat >>confdefs.h
<<_ACEOF
31906 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31922 cat >confcache
<<\_ACEOF
31923 # This file is a shell script that caches the results of configure
31924 # tests run on this system so they can be shared between configure
31925 # scripts and configure runs, see configure's option --config-cache.
31926 # It is not useful on other systems. If it contains results you don't
31927 # want to keep, you may remove or edit it.
31929 # config.status only pays attention to the cache file if you give it
31930 # the --recheck option to rerun configure.
31932 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31933 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31934 # following values.
31938 # The following way of writing the cache mishandles newlines in values,
31939 # but we know of no workaround that is simple, portable, and efficient.
31940 # So, we kill variables containing newlines.
31941 # Ultrix sh set writes to stderr and can't be redirected directly,
31942 # and sets the high bit in the cache file unless we assign to the vars.
31944 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31945 eval ac_val
=\$
$ac_var
31949 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31950 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31953 _
| IFS
| as_nl
) ;; #(
31954 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31955 *) { eval $ac_var=; unset $ac_var;} ;;
31961 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31962 *${as_nl}ac_space
=\
*)
31963 # `set' does not quote correctly, so add quotes: double-quote
31964 # substitution turns \\\\ into \\, and sed turns \\ into \.
31967 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31970 # `set' quotes correctly as required by POSIX, so do not add quotes.
31971 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31980 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31982 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31984 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31985 if test -w "$cache_file"; then
31986 if test "x$cache_file" != "x/dev/null"; then
31987 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31988 $as_echo "$as_me: updating cache $cache_file" >&6;}
31989 if test ! -f "$cache_file" || test -h "$cache_file"; then
31990 cat confcache
>"$cache_file"
31992 case $cache_file in #(
31994 mv -f confcache
"$cache_file"$$
&&
31995 mv -f "$cache_file"$$
"$cache_file" ;; #(
31997 mv -f confcache
"$cache_file" ;;
32002 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
32003 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
32009 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32015 if test "$wxUSE_THREADS" = "yes" ; then
32016 if test "$USE_BEOS" = 1; then
32017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
32018 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32023 if test "$wxUSE_THREADS" = "yes" ; then
32026 THREAD_OPTS
="-pthread"
32027 if test "x$SUNCXX" = xyes
; then
32028 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
32032 *-*-solaris2* | *-*-sunos4* )
32033 if test "x$GCC" = "xyes"; then
32034 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32038 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32040 *-*-darwin* | *-*-cygwin* )
32044 THREAD_OPTS
="pthreads"
32047 if test "x$GCC" = "xyes"; then
32048 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
32056 if test "x$GCC" = "xyes"; then
32066 if test "x$GCC" != "xyes"; then
32067 THREAD_OPTS
="-Ethread"
32074 THREAD_OPTS
="none pthread"
32078 THREAD_OPTS
="$THREAD_OPTS pthread none"
32083 for flag
in $THREAD_OPTS; do
32086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
32087 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
32091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
32092 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
32093 THREADS_CFLAGS
="$flag"
32097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
32098 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
32099 THREADS_LINK
="-l$flag"
32104 save_CFLAGS
="$CFLAGS"
32105 LIBS
="$THREADS_LINK $LIBS"
32106 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32109 /* end confdefs.h. */
32110 #include <pthread.h>
32114 pthread_create(0,0,0,0);
32119 if ac_fn_c_try_link
"$LINENO"; then :
32122 rm -f core conftest.err conftest.
$ac_objext \
32123 conftest
$ac_exeext conftest.
$ac_ext
32126 CFLAGS
="$save_CFLAGS"
32128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
32129 $as_echo "$THREADS_OK" >&6; }
32130 if test "x$THREADS_OK" = "xyes"; then
32138 if test "x$THREADS_OK" != "xyes"; then
32140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32141 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32143 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32144 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32145 LIBS
="$THREADS_LINK $LIBS"
32147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32148 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32152 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32153 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32154 flag
="-D_THREAD_SAFE"
32157 flag
="-D_THREAD_SAFE"
32160 flag
="-D_REENTRANT"
32161 if test "x$GCC" != "xyes"; then
32162 flag
="$flag -D_RWSTD_MULTI_THREAD"
32165 *solaris
* | alpha
*-osf*)
32166 flag
="-D_REENTRANT"
32169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32170 $as_echo "${flag}" >&6; }
32171 if test "x$flag" != xno
; then
32172 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32175 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32179 if test "$wxUSE_THREADS" = "yes" ; then
32180 for ac_func
in pthread_setconcurrency
32182 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32183 if test "x$ac_cv_func_pthread_setconcurrency" = xyes
; then :
32184 cat >>confdefs.h
<<_ACEOF
32185 #define HAVE_PTHREAD_SETCONCURRENCY 1
32187 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32191 for ac_func
in thr_setconcurrency
32193 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32194 if test "x$ac_cv_func_thr_setconcurrency" = xyes
; then :
32195 cat >>confdefs.h
<<_ACEOF
32196 #define HAVE_THR_SETCONCURRENCY 1
32198 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32202 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32212 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32213 if ${wx_cv_func_pthread_cleanup+:} false
; then :
32214 $as_echo_n "(cached) " >&6
32218 ac_cpp
='$CXXCPP $CPPFLAGS'
32219 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32224 /* end confdefs.h. */
32225 #include <pthread.h>
32226 void ThreadCleanupFunc(void *p);
32233 pthread_cleanup_push(ThreadCleanupFunc, p);
32234 pthread_cleanup_pop(0);
32240 if ac_fn_cxx_try_compile
"$LINENO"; then :
32242 wx_cv_func_pthread_cleanup
=yes
32246 wx_cv_func_pthread_cleanup
=no
32250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32252 ac_cpp
='$CPP $CPPFLAGS'
32253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32260 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32261 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32262 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32266 for ac_header
in sched.h
32268 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32270 if test "x$ac_cv_header_sched_h" = xyes
; then :
32271 cat >>confdefs.h
<<_ACEOF
32272 #define HAVE_SCHED_H 1
32279 if test "$ac_cv_header_sched_h" = "yes"; then
32280 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32281 if test "x$ac_cv_func_sched_yield" = xyes
; then :
32282 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32287 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32288 if ${ac_cv_lib_posix4_sched_yield+:} false
; then :
32289 $as_echo_n "(cached) " >&6
32291 ac_check_lib_save_LIBS
=$LIBS
32292 LIBS
="-lposix4 $LIBS"
32293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32294 /* end confdefs.h. */
32296 /* Override any GCC internal prototype to avoid an error.
32297 Use char because int might match the return type of a GCC
32298 builtin and then its argument prototype would still apply. */
32302 char sched_yield ();
32306 return sched_yield ();
32311 if ac_fn_c_try_link
"$LINENO"; then :
32312 ac_cv_lib_posix4_sched_yield
=yes
32314 ac_cv_lib_posix4_sched_yield
=no
32316 rm -f core conftest.err conftest.
$ac_objext \
32317 conftest
$ac_exeext conftest.
$ac_ext
32318 LIBS
=$ac_check_lib_save_LIBS
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32321 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32322 if test "x$ac_cv_lib_posix4_sched_yield" = xyes
; then :
32323 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32324 POSIX4_LINK
=" -lposix4"
32326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32327 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32338 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32339 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes
; then :
32340 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32341 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes
; then :
32342 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32343 if test "x$ac_cv_func_sched_get_priority_max" = xyes
; then :
32346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32347 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32348 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false
; then :
32349 $as_echo_n "(cached) " >&6
32351 ac_check_lib_save_LIBS
=$LIBS
32352 LIBS
="-lposix4 $LIBS"
32353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32354 /* end confdefs.h. */
32356 /* Override any GCC internal prototype to avoid an error.
32357 Use char because int might match the return type of a GCC
32358 builtin and then its argument prototype would still apply. */
32362 char sched_get_priority_max ();
32366 return sched_get_priority_max ();
32371 if ac_fn_c_try_link
"$LINENO"; then :
32372 ac_cv_lib_posix4_sched_get_priority_max
=yes
32374 ac_cv_lib_posix4_sched_get_priority_max
=no
32376 rm -f core conftest.err conftest.
$ac_objext \
32377 conftest
$ac_exeext conftest.
$ac_ext
32378 LIBS
=$ac_check_lib_save_LIBS
32380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32381 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32382 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes
; then :
32385 POSIX4_LINK
=" -lposix4"
32399 if test "$HAVE_PRIOR_FUNCS" = 1; then
32400 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32404 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32407 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32408 if test "x$ac_cv_func_pthread_cancel" = xyes
; then :
32409 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32413 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32417 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32418 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes
; then :
32419 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32423 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32427 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32428 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
; then :
32429 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32436 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32437 if ${wx_cv_type_pthread_mutexattr_t+:} false
; then :
32438 $as_echo_n "(cached) " >&6
32441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32442 /* end confdefs.h. */
32443 #include <pthread.h>
32448 pthread_mutexattr_t attr;
32449 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32455 if ac_fn_c_try_compile
"$LINENO"; then :
32456 wx_cv_type_pthread_mutexattr_t
=yes
32458 wx_cv_type_pthread_mutexattr_t
=no
32461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32465 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32467 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32468 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32472 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32473 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false
; then :
32474 $as_echo_n "(cached) " >&6
32477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32478 /* end confdefs.h. */
32479 #include <pthread.h>
32484 pthread_mutexattr_t attr;
32485 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32491 if ac_fn_c_try_compile
"$LINENO"; then :
32492 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32494 wx_cv_func_pthread_mutexattr_settype_decl
=no
32497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32501 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32502 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32503 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32508 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32509 if ${wx_cv_type_pthread_rec_mutex_init+:} false
; then :
32510 $as_echo_n "(cached) " >&6
32513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32514 /* end confdefs.h. */
32515 #include <pthread.h>
32520 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32526 if ac_fn_c_try_compile
"$LINENO"; then :
32528 wx_cv_type_pthread_rec_mutex_init
=yes
32532 wx_cv_type_pthread_rec_mutex_init
=no
32536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32540 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32541 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32542 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32546 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32550 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32551 if test "$USE_NETBSD" = 1; then
32552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32553 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32554 wxUSE_COMPILER_TLS
=no
32556 wxUSE_COMPILER_TLS
=yes
32560 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32562 $as_echo_n "checking for __thread keyword... " >&6; }
32563 if ${wx_cv_cc___thread+:} false
; then :
32564 $as_echo_n "(cached) " >&6
32567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32568 /* end confdefs.h. */
32569 #include <pthread.h>
32574 static __thread int n = 0;
32575 static __thread int *p = 0;
32581 if ac_fn_c_try_compile
"$LINENO"; then :
32582 wx_cv_cc___thread
=yes
32584 wx_cv_cc___thread
=no
32587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32592 $as_echo "$wx_cv_cc___thread" >&6; }
32594 if test "$wx_cv_cc___thread" = "yes"; then
32600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32601 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32603 if test "x$GCC" = "xyes" ; then :
32605 if test -z "" ; then :
32607 ax_gcc_option_test
="int main()
32614 ax_gcc_option_test
=""
32618 # Dump the test program to file
32619 cat <<EOF > conftest.c
32620 $ax_gcc_option_test
32623 # Dump back the file to the log, useful for debugging purposes
32624 { ac_try
='cat conftest.c 1>&5'
32625 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32626 (eval $ac_try) 2>&5
32628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32629 test $ac_status = 0; }; }
32631 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32632 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32633 (eval $ac_try) 2>&5
32635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32636 test $ac_status = 0; }; } ; then :
32638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32639 $as_echo "yes" >&6; }
32641 ax_gcc_version_option
=yes
32646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32647 $as_echo "no" >&6; }
32649 ax_gcc_version_option
=no
32656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32657 $as_echo "no gcc available" >&6; }
32661 if test "x$GXX" = "xyes"; then :
32663 if test "x$ax_gxx_version_option" != "no"; then :
32665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32666 $as_echo_n "checking gxx version... " >&6; }
32667 if ${ax_cv_gxx_version+:} false
; then :
32668 $as_echo_n "(cached) " >&6
32671 ax_cv_gxx_version
="`$CXX -dumpversion`"
32672 if test "x$ax_cv_gxx_version" = "x"; then :
32674 ax_cv_gxx_version
=""
32679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32680 $as_echo "$ax_cv_gxx_version" >&6; }
32681 GXX_VERSION
=$ax_cv_gxx_version
32688 if test -n "$ax_cv_gxx_version"; then
32689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32690 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32691 case "$ax_cv_gxx_version" in
32693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32694 $as_echo "no, it's broken" >&6; }
32695 wx_cv_cc___thread
=no
32698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32699 $as_echo "yes, it works" >&6; }
32705 if test "$wx_cv_cc___thread" = "yes"; then
32706 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32711 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32713 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32714 if ${wx_cv_type_abi_forced_unwind+:} false
; then :
32715 $as_echo_n "(cached) " >&6
32719 ac_cpp
='$CXXCPP $CPPFLAGS'
32720 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32721 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32722 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32725 /* end confdefs.h. */
32726 #include <cxxabi.h>
32731 void foo(abi::__forced_unwind&);
32737 if ac_fn_cxx_try_compile
"$LINENO"; then :
32738 wx_cv_type_abi_forced_unwind
=yes
32740 wx_cv_type_abi_forced_unwind
=no
32743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32745 ac_cpp
='$CPP $CPPFLAGS'
32746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32754 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32756 wx_cv_type_abi_forced_unwind
=no
32759 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32760 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32766 if test "$wxUSE_THREADS" = "yes" ; then
32768 x86_64
-*-mingw32* )
32771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32772 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32773 if ${wx_cv_cflags_mthread+:} false
; then :
32774 $as_echo_n "(cached) " >&6
32777 CFLAGS_OLD
="$CFLAGS"
32778 CFLAGS
="-mthreads $CFLAGS"
32779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32780 /* end confdefs.h. */
32790 if ac_fn_c_try_compile
"$LINENO"; then :
32791 wx_cv_cflags_mthread
=yes
32793 wx_cv_cflags_mthread
=no
32796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32801 $as_echo "$wx_cv_cflags_mthread" >&6; }
32803 if test "$wx_cv_cflags_mthread" = "yes"; then
32804 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32805 LDFLAGS
="$LDFLAGS -mthreads"
32807 CFLAGS
="$CFLAGS_OLD"
32811 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32812 LDFLAGS
="$LDFLAGS -Zmt"
32818 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32819 if test "x$ac_cv_func_localtime_r" = xyes
; then :
32820 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32824 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32825 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
32826 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32834 ac_cpp
='$CPP $CPPFLAGS'
32835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32840 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32842 if ${ac_cv_func_which_gethostbyname_r+:} false
; then :
32843 $as_echo_n "(cached) " >&6
32847 ################################################################
32849 ac_cv_func_which_gethostbyname_r
=unknown
32852 # ONE ARGUMENT (sanity check)
32855 # This should fail, as there is no variant of gethostbyname_r() that takes
32856 # a single argument. If it actually compiles, then we can assume that
32857 # netdb.h is not declaring the function, and the compiler is thereby
32858 # assuming an implicit prototype. In which case, we're out of luck.
32860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32861 /* end confdefs.h. */
32867 char *name = "www.gnu.org";
32868 (void)gethostbyname_r(name) /* ; */
32875 if ac_fn_c_try_compile
"$LINENO"; then :
32876 ac_cv_func_which_gethostbyname_r
=no
32879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32886 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32889 /* end confdefs.h. */
32895 char *name = "www.gnu.org";
32896 struct hostent ret, *retp;
32900 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32907 if ac_fn_c_try_compile
"$LINENO"; then :
32908 ac_cv_func_which_gethostbyname_r
=six
32911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32920 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32923 /* end confdefs.h. */
32929 char *name = "www.gnu.org";
32930 struct hostent ret;
32934 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32941 if ac_fn_c_try_compile
"$LINENO"; then :
32942 ac_cv_func_which_gethostbyname_r
=five
32945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32951 # (e.g. AIX, HP-UX, Tru64)
32954 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32957 /* end confdefs.h. */
32963 char *name = "www.gnu.org";
32964 struct hostent ret;
32965 struct hostent_data data;
32966 (void)gethostbyname_r(name, &ret, &data) /* ; */
32973 if ac_fn_c_try_compile
"$LINENO"; then :
32974 ac_cv_func_which_gethostbyname_r
=three
32977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32981 ################################################################
32986 case "$ac_cv_func_which_gethostbyname_r" in
32988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32989 $as_echo "three" >&6; }
32990 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32996 $as_echo "five" >&6; }
32997 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
33002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
33003 $as_echo "six" >&6; }
33004 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
33009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
33010 $as_echo "cannot find function declaration in netdb.h" >&6; }
33014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
33015 $as_echo "can't tell" >&6; }
33019 as_fn_error $?
"internal error" "$LINENO" 5
33024 ac_cpp
='$CPP $CPPFLAGS'
33025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33031 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
33032 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
33033 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
33034 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
33035 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
33041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
33042 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
33043 if ${ac_cv_func_which_getservbyname_r+:} false
; then :
33044 $as_echo_n "(cached) " >&6
33048 ac_cpp
='$CXXCPP $CPPFLAGS'
33049 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33050 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33051 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33055 /* end confdefs.h. */
33063 struct servent *se, *res;
33066 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
33072 if ac_fn_cxx_try_compile
"$LINENO"; then :
33073 ac_cv_func_which_getservbyname_r
=six
33076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33077 /* end confdefs.h. */
33085 struct servent *se;
33088 (void) getservbyname_r(name, proto, se, buffer, buflen)
33094 if ac_fn_cxx_try_compile
"$LINENO"; then :
33095 ac_cv_func_which_getservbyname_r
=five
33098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33099 /* end confdefs.h. */
33107 struct servent *se;
33108 struct servent_data data;
33109 (void) getservbyname_r(name, proto, se, &data);
33115 if ac_fn_cxx_try_compile
"$LINENO"; then :
33116 ac_cv_func_which_getservbyname_r
=four
33118 ac_cv_func_which_getservbyname_r
=no
33121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33131 ac_cpp
='$CPP $CPPFLAGS'
33132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33140 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33142 if test $ac_cv_func_which_getservbyname_r = six
; then
33143 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33145 elif test $ac_cv_func_which_getservbyname_r = five
; then
33146 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33148 elif test $ac_cv_func_which_getservbyname_r = four
; then
33149 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33154 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33155 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33156 for ac_func
in getservbyname
33158 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33159 if test "x$ac_cv_func_getservbyname" = xyes
; then :
33160 cat >>confdefs.h
<<_ACEOF
33161 #define HAVE_GETSERVBYNAME 1
33163 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33170 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33173 if test "$wxUSE_THREADS" = "yes"; then
33174 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33177 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33179 if test "$wx_cv_func_strtok_r" = "yes"; then
33180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33181 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33182 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33183 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33185 $as_echo "yes" >&6; }
33187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33188 $as_echo "no" >&6; }
33193 if test "$WXGTK3" = 1 ; then
33194 cat >>confdefs.h
<<_ACEOF
33195 #define __WXGTK3__ 1
33200 if test "$WXGTK2" = 1 ; then
33201 cat >>confdefs.h
<<_ACEOF
33202 #define __WXGTK20__ $WXGTK2
33207 if test "$WXGTK127" = 1 ; then
33208 cat >>confdefs.h
<<_ACEOF
33209 #define __WXGTK127__ $WXGTK127
33214 if test "$WXGPE" = 1 ; then
33215 cat >>confdefs.h
<<_ACEOF
33216 #define __WXGPE__ $WXGPE
33222 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33224 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33225 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33229 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33230 wxUSE_DEBUG_INFO
=yes
33231 if test "$GCC" = yes; then
33232 DEBUG_CFLAGS
="-ggdb"
33236 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33237 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33239 if test "$wxUSE_GTK" = 1 ; then
33240 if test "$WXGTK2" = 1 ; then
33241 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33243 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33248 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33249 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33251 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33253 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33258 if test "$wxUSE_DMALLOC" = "yes" ; then
33259 DMALLOC_LIBS
="-ldmallocthcxx"
33263 if test "$wxUSE_PROFILE" = "yes" ; then
33264 PROFILE_FLAGS
=" -pg"
33267 if test "$GCC" = "yes" ; then
33268 if test "$wxUSE_NO_RTTI" = "yes" ; then
33269 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33271 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33272 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
33274 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33275 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
33280 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
33283 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
33289 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33291 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33293 if test "$wxUSE_OPTIMISE" = "no" ; then
33294 if test "$GCC" = yes ; then
33295 OPTIMISE_CFLAGS
="-O0"
33298 if test "$GCC" = yes ; then
33300 *-pc-os2_emx | *-pc-os2-emx )
33301 OPTIMISE_CFLAGS
="-O2"
33304 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
33308 OPTIMISE_CFLAGS
="-O"
33314 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33315 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33318 WXWIN_COMPATIBILITY_2_8
="yes"
33321 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33322 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33327 if test "$wxUSE_GUI" = "yes"; then
33328 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33334 if test "$wxUSE_UNIX" = "yes"; then
33335 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33340 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33344 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33345 if test "$USE_DOS" = 1; then
33348 for ac_func
in dlopen
33350 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
33351 if test "x$ac_cv_func_dlopen" = xyes
; then :
33352 cat >>confdefs.h
<<_ACEOF
33353 #define HAVE_DLOPEN 1
33356 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33363 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33364 if ${ac_cv_lib_dl_dlopen+:} false
; then :
33365 $as_echo_n "(cached) " >&6
33367 ac_check_lib_save_LIBS
=$LIBS
33369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33370 /* end confdefs.h. */
33372 /* Override any GCC internal prototype to avoid an error.
33373 Use char because int might match the return type of a GCC
33374 builtin and then its argument prototype would still apply. */
33387 if ac_fn_c_try_link
"$LINENO"; then :
33388 ac_cv_lib_dl_dlopen
=yes
33390 ac_cv_lib_dl_dlopen
=no
33392 rm -f core conftest.err conftest.
$ac_objext \
33393 conftest
$ac_exeext conftest.
$ac_ext
33394 LIBS
=$ac_check_lib_save_LIBS
33396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33397 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33398 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
33400 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33403 DL_LINK
=" -ldl$DL_LINK"
33407 for ac_func
in shl_load
33409 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
33410 if test "x$ac_cv_func_shl_load" = xyes
; then :
33411 cat >>confdefs.h
<<_ACEOF
33412 #define HAVE_SHL_LOAD 1
33415 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33422 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33423 if ${ac_cv_lib_shl_load_dld+:} false
; then :
33424 $as_echo_n "(cached) " >&6
33426 ac_check_lib_save_LIBS
=$LIBS
33427 LIBS
="-lshl_load $LIBS"
33428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33429 /* end confdefs.h. */
33431 /* Override any GCC internal prototype to avoid an error.
33432 Use char because int might match the return type of a GCC
33433 builtin and then its argument prototype would still apply. */
33446 if ac_fn_c_try_link
"$LINENO"; then :
33447 ac_cv_lib_shl_load_dld
=yes
33449 ac_cv_lib_shl_load_dld
=no
33451 rm -f core conftest.err conftest.
$ac_objext \
33452 conftest
$ac_exeext conftest.
$ac_ext
33453 LIBS
=$ac_check_lib_save_LIBS
33455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33456 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33457 if test "x$ac_cv_lib_shl_load_dld" = xyes
; then :
33460 DL_LINK
=" -ldld$DL_LINK"
33476 if test "$HAVE_DL_FUNCS" = 1; then
33477 for ac_func
in dlerror
33479 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33480 if test "x$ac_cv_func_dlerror" = xyes
; then :
33481 cat >>confdefs.h
<<_ACEOF
33482 #define HAVE_DLERROR 1
33484 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33489 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33490 if ${ac_cv_lib_dl_dlerror+:} false
; then :
33491 $as_echo_n "(cached) " >&6
33493 ac_check_lib_save_LIBS
=$LIBS
33495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33496 /* end confdefs.h. */
33498 /* Override any GCC internal prototype to avoid an error.
33499 Use char because int might match the return type of a GCC
33500 builtin and then its argument prototype would still apply. */
33513 if ac_fn_c_try_link
"$LINENO"; then :
33514 ac_cv_lib_dl_dlerror
=yes
33516 ac_cv_lib_dl_dlerror
=no
33518 rm -f core conftest.err conftest.
$ac_objext \
33519 conftest
$ac_exeext conftest.
$ac_ext
33520 LIBS
=$ac_check_lib_save_LIBS
33522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33523 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33524 if test "x$ac_cv_lib_dl_dlerror" = xyes
; then :
33525 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33537 if test "$USE_DARWIN" = 1; then
33541 if test "$HAVE_DL_FUNCS" = 0; then
33542 if test "$HAVE_SHL_FUNCS" = 0; then
33543 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33545 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33546 wxUSE_DYNAMIC_LOADER
=no
33547 wxUSE_DYNLIB_CLASS
=no
33549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33550 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33557 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33558 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33561 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33562 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33568 if test "$wxUSE_PLUGINS" = "yes" ; then
33569 if test "$wxUSE_SHARED" = "no" ; then
33570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33571 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33574 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33576 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33579 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33581 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33584 if test "$wxUSE_PLUGINS" = "yes" ; then
33585 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33591 if test "$wxUSE_FSWATCHER" = "yes"; then
33592 if test "$wxUSE_MSW" != "1"; then
33593 if test "$wxUSE_UNIX" = "yes"; then
33594 for ac_header
in sys
/inotify.h
33596 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33598 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
33599 cat >>confdefs.h
<<_ACEOF
33600 #define HAVE_SYS_INOTIFY_H 1
33607 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33608 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33611 for ac_header
in sys
/event.h
33613 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33615 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
33616 cat >>confdefs.h
<<_ACEOF
33617 #define HAVE_SYS_EVENT_H 1
33624 if test "$ac_cv_header_sys_event_h" = "yes"; then
33625 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33635 if test "$wxUSE_THREADS" != "yes"; then
33636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33637 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33642 if test "$wxUSE_FSWATCHER" = "yes"; then
33643 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33648 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33653 if test "$wxUSE_STL" = "yes"; then
33654 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33658 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33659 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33663 if test "$wxUSE_ANY" = "yes"; then
33664 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33668 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33669 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33673 if test "$wxUSE_TIMER" = "yes"; then
33674 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33678 if test "$USE_UNIX" = 1 ; then
33679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33680 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33681 if ${ac_cv_header_sys_soundcard+:} false
; then :
33682 $as_echo_n "(cached) " >&6
33685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33686 /* end confdefs.h. */
33688 #include <sys/ioctl.h>
33689 #include <sys/soundcard.h>
33695 ioctl(0, SNDCTL_DSP_SPEED, 0);
33701 if ac_fn_c_try_link
"$LINENO"; then :
33702 ac_cv_header_sys_soundcard
=yes
33706 LIBS
="$saveLibs -lossaudio"
33707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33708 /* end confdefs.h. */
33710 #include <sys/ioctl.h>
33711 #include <sys/soundcard.h>
33717 ioctl(0, SNDCTL_DSP_SPEED, 0);
33723 if ac_fn_c_try_link
"$LINENO"; then :
33724 ac_cv_header_sys_soundcard
=yes
33728 ac_cv_header_sys_soundcard
=no
33732 rm -f core conftest.err conftest.
$ac_objext \
33733 conftest
$ac_exeext conftest.
$ac_ext
33737 rm -f core conftest.err conftest.
$ac_objext \
33738 conftest
$ac_exeext conftest.
$ac_ext
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33742 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33744 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33745 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33751 if test "$wxUSE_SOUND" = "yes"; then
33752 if test "$USE_UNIX" = 1 ; then
33753 if test "$wxUSE_LIBSDL" != "no"; then
33755 # Check whether --with-sdl-prefix was given.
33756 if test "${with_sdl_prefix+set}" = set; then :
33757 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33763 # Check whether --with-sdl-exec-prefix was given.
33764 if test "${with_sdl_exec_prefix+set}" = set; then :
33765 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33770 # Check whether --enable-sdltest was given.
33771 if test "${enable_sdltest+set}" = set; then :
33772 enableval
=$enable_sdltest;
33778 if test x
$sdl_exec_prefix != x
; then
33779 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33780 if test x
${SDL_CONFIG+set} != xset
; then
33781 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33784 if test x
$sdl_prefix != x
; then
33785 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33786 if test x
${SDL_CONFIG+set} != xset
; then
33787 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33791 if test "x$prefix" != xNONE
; then
33792 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33794 # Extract the first word of "sdl-config", so it can be a program name with args.
33795 set dummy sdl
-config; ac_word
=$2
33796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33797 $as_echo_n "checking for $ac_word... " >&6; }
33798 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
33799 $as_echo_n "(cached) " >&6
33801 case $SDL_CONFIG in
33803 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33807 for as_dir
in $PATH
33810 test -z "$as_dir" && as_dir
=.
33811 for ac_exec_ext
in '' $ac_executable_extensions; do
33812 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33813 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33821 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33825 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33826 if test -n "$SDL_CONFIG"; then
33827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33828 $as_echo "$SDL_CONFIG" >&6; }
33830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33831 $as_echo "no" >&6; }
33835 min_sdl_version
=1.2.0
33836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33837 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33839 if test "$SDL_CONFIG" = "no" ; then
33842 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33843 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33845 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33846 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33847 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33848 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33849 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33850 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33851 if test "x$enable_sdltest" = "xyes" ; then
33852 ac_save_CFLAGS
="$CFLAGS"
33853 ac_save_CXXFLAGS
="$CXXFLAGS"
33854 ac_save_LIBS
="$LIBS"
33855 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33856 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33857 LIBS
="$LIBS $SDL_LIBS"
33859 if test "$cross_compiling" = yes; then :
33860 echo $ac_n "cross compiling; assumed OK... $ac_c"
33862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33863 /* end confdefs.h. */
33866 #include <stdlib.h>
33867 #include <string.h>
33871 my_strdup (char *str)
33877 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33878 strcpy (new_str, str);
33886 int main (int argc, char *argv[])
33888 int major, minor, micro;
33891 /* This hangs on some systems (?)
33892 system ("touch conf.sdltest");
33894 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33896 /* HP/UX 9 (%@#!) writes to sscanf strings */
33897 tmp_version = my_strdup("$min_sdl_version");
33898 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33899 printf("%s, bad version string\n", "$min_sdl_version");
33903 if (($sdl_major_version > major) ||
33904 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33905 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33911 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33912 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33913 printf("*** best to upgrade to the required version.\n");
33914 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33915 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33916 printf("*** config.cache before re-running configure\n");
33923 if ac_fn_c_try_run
"$LINENO"; then :
33928 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33929 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33932 CFLAGS
="$ac_save_CFLAGS"
33933 CXXFLAGS
="$ac_save_CXXFLAGS"
33934 LIBS
="$ac_save_LIBS"
33937 if test "x$no_sdl" = x
; then
33938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33939 $as_echo "yes" >&6; }
33941 EXTRALIBS_SDL
="$SDL_LIBS"
33942 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33943 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33944 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33949 $as_echo "no" >&6; }
33950 if test "$SDL_CONFIG" = "no" ; then
33951 echo "*** The sdl-config script installed by SDL could not be found"
33952 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33953 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33954 echo "*** full path to sdl-config."
33956 if test -f conf.sdltest
; then
33959 echo "*** Could not run SDL test program, checking why..."
33960 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33961 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33962 LIBS
="$LIBS $SDL_LIBS"
33963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33964 /* end confdefs.h. */
33969 int main(int argc, char *argv[])
33972 #define main K_and_R_C_main
33982 if ac_fn_c_try_link
"$LINENO"; then :
33983 echo "*** The test program compiled, but did not run. This usually means"
33984 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33985 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33986 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33987 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33988 echo "*** is required on your system"
33990 echo "*** If you have an old version installed, it is best to remove it, although"
33991 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33993 echo "*** The test program failed to compile or link. See the file config.log for the"
33994 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33995 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33996 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33998 rm -f core conftest.err conftest.
$ac_objext \
33999 conftest
$ac_exeext conftest.
$ac_ext
34000 CFLAGS
="$ac_save_CFLAGS"
34001 CXXFLAGS
="$ac_save_CXXFLAGS"
34002 LIBS
="$ac_save_LIBS"
34013 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34020 if test "$wxUSE_SOUND" = "yes"; then
34021 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
34023 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34026 if test "$WXGTK2" = 1; then
34029 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34030 if test -n "$ac_tool_prefix"; then
34031 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34032 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
34033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34034 $as_echo_n "checking for $ac_word... " >&6; }
34035 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
34036 $as_echo_n "(cached) " >&6
34038 case $PKG_CONFIG in
34040 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
34043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34044 for as_dir
in $PATH
34047 test -z "$as_dir" && as_dir
=.
34048 for ac_exec_ext
in '' $ac_executable_extensions; do
34049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
34050 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34061 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34062 if test -n "$PKG_CONFIG"; then
34063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
34064 $as_echo "$PKG_CONFIG" >&6; }
34066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34067 $as_echo "no" >&6; }
34072 if test -z "$ac_cv_path_PKG_CONFIG"; then
34073 ac_pt_PKG_CONFIG
=$PKG_CONFIG
34074 # Extract the first word of "pkg-config", so it can be a program name with args.
34075 set dummy pkg
-config; ac_word
=$2
34076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34077 $as_echo_n "checking for $ac_word... " >&6; }
34078 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
34079 $as_echo_n "(cached) " >&6
34081 case $ac_pt_PKG_CONFIG in
34083 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34087 for as_dir
in $PATH
34090 test -z "$as_dir" && as_dir
=.
34091 for ac_exec_ext
in '' $ac_executable_extensions; do
34092 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
34093 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34104 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
34105 if test -n "$ac_pt_PKG_CONFIG"; then
34106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
34107 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
34109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34110 $as_echo "no" >&6; }
34113 if test "x$ac_pt_PKG_CONFIG" = x
; then
34116 case $cross_compiling:$ac_tool_warned in
34118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34120 ac_tool_warned
=yes ;;
34122 PKG_CONFIG
=$ac_pt_PKG_CONFIG
34125 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
34129 if test -n "$PKG_CONFIG"; then
34130 _pkg_min_version
=0.9.0
34131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
34132 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
34133 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34135 $as_echo "yes" >&6; }
34137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34138 $as_echo "no" >&6; }
34144 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34146 if test "$wxUSE_GTKPRINT" = "yes" ; then
34147 if test "$WXGTK3" = 1; then
34148 gtk_unix_print
="gtk+-unix-print-3.0"
34150 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
34154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34155 $as_echo_n "checking for GTKPRINT... " >&6; }
34157 if test -n "$PKG_CONFIG"; then
34158 if test -n "$GTKPRINT_CFLAGS"; then
34159 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
34161 if test -n "$PKG_CONFIG" && \
34162 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34163 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34166 test $ac_status = 0; }; then
34167 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34175 if test -n "$PKG_CONFIG"; then
34176 if test -n "$GTKPRINT_LIBS"; then
34177 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
34179 if test -n "$PKG_CONFIG" && \
34180 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34181 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34184 test $ac_status = 0; }; then
34185 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34196 if test $pkg_failed = yes; then
34198 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34199 _pkg_short_errors_supported
=yes
34201 _pkg_short_errors_supported
=no
34203 if test $_pkg_short_errors_supported = yes; then
34204 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34206 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34208 # Put the nasty error message in config.log where it belongs
34209 echo "$GTKPRINT_PKG_ERRORS" >&5
34212 { $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
34213 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34214 wxUSE_GTKPRINT
="no"
34217 elif test $pkg_failed = untried
; then
34219 { $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
34220 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34221 wxUSE_GTKPRINT
="no"
34225 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
34226 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
34227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34228 $as_echo "yes" >&6; }
34230 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34231 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
34232 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
34233 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34239 if test "$WXGTK3" = 1; then
34240 wxUSE_LIBGNOMEPRINT
=no
34243 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34248 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34250 if test -n "$PKG_CONFIG"; then
34251 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34252 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
34254 if test -n "$PKG_CONFIG" && \
34255 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34256 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34259 test $ac_status = 0; }; then
34260 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34268 if test -n "$PKG_CONFIG"; then
34269 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34270 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
34272 if test -n "$PKG_CONFIG" && \
34273 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34274 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34277 test $ac_status = 0; }; then
34278 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34289 if test $pkg_failed = yes; then
34291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34292 _pkg_short_errors_supported
=yes
34294 _pkg_short_errors_supported
=no
34296 if test $_pkg_short_errors_supported = yes; then
34297 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34299 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34301 # Put the nasty error message in config.log where it belongs
34302 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34305 if test "$wxUSE_GTKPRINT" = yes; then
34306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34307 $as_echo "no" >&6; }
34309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34310 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34312 wxUSE_LIBGNOMEPRINT
="no"
34315 elif test $pkg_failed = untried
; then
34317 if test "$wxUSE_GTKPRINT" = yes; then
34318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34319 $as_echo "no" >&6; }
34321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34322 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34324 wxUSE_LIBGNOMEPRINT
="no"
34328 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34329 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34331 $as_echo "yes" >&6; }
34333 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34334 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34335 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34336 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34343 if test "$wxUSE_MIMETYPE" = "yes" ; then
34344 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34349 $as_echo_n "checking for GNOMEVFS... " >&6; }
34351 if test -n "$PKG_CONFIG"; then
34352 if test -n "$GNOMEVFS_CFLAGS"; then
34353 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
34355 if test -n "$PKG_CONFIG" && \
34356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34357 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34360 test $ac_status = 0; }; then
34361 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34369 if test -n "$PKG_CONFIG"; then
34370 if test -n "$GNOMEVFS_LIBS"; then
34371 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
34373 if test -n "$PKG_CONFIG" && \
34374 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34375 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34378 test $ac_status = 0; }; then
34379 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34390 if test $pkg_failed = yes; then
34392 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34393 _pkg_short_errors_supported
=yes
34395 _pkg_short_errors_supported
=no
34397 if test $_pkg_short_errors_supported = yes; then
34398 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34400 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34402 # Put the nasty error message in config.log where it belongs
34403 echo "$GNOMEVFS_PKG_ERRORS" >&5
34406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34407 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34408 wxUSE_LIBGNOMEVFS
="no"
34411 elif test $pkg_failed = untried
; then
34413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34414 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34415 wxUSE_LIBGNOMEVFS
="no"
34419 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
34420 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
34421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34422 $as_echo "yes" >&6; }
34424 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34425 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
34426 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
34427 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34434 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34435 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34440 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34442 if test -n "$PKG_CONFIG"; then
34443 if test -n "$LIBNOTIFY_CFLAGS"; then
34444 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34446 if test -n "$PKG_CONFIG" && \
34447 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34448 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34451 test $ac_status = 0; }; then
34452 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34460 if test -n "$PKG_CONFIG"; then
34461 if test -n "$LIBNOTIFY_LIBS"; then
34462 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34464 if test -n "$PKG_CONFIG" && \
34465 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34466 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34469 test $ac_status = 0; }; then
34470 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34481 if test $pkg_failed = yes; then
34483 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34484 _pkg_short_errors_supported
=yes
34486 _pkg_short_errors_supported
=no
34488 if test $_pkg_short_errors_supported = yes; then
34489 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34491 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34493 # Put the nasty error message in config.log where it belongs
34494 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34500 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34502 if test -n "$PKG_CONFIG"; then
34503 if test -n "$LIBNOTIFY_CFLAGS"; then
34504 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34506 if test -n "$PKG_CONFIG" && \
34507 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34508 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34511 test $ac_status = 0; }; then
34512 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34520 if test -n "$PKG_CONFIG"; then
34521 if test -n "$LIBNOTIFY_LIBS"; then
34522 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34524 if test -n "$PKG_CONFIG" && \
34525 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34526 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34529 test $ac_status = 0; }; then
34530 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34541 if test $pkg_failed = yes; then
34543 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34544 _pkg_short_errors_supported
=yes
34546 _pkg_short_errors_supported
=no
34548 if test $_pkg_short_errors_supported = yes; then
34549 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34551 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34553 # Put the nasty error message in config.log where it belongs
34554 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34557 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34559 elif test $pkg_failed = untried
; then
34560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34561 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34564 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34565 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34567 $as_echo "yes" >&6; }
34572 elif test $pkg_failed = untried
; then
34576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34577 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34579 if test -n "$PKG_CONFIG"; then
34580 if test -n "$LIBNOTIFY_CFLAGS"; then
34581 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34583 if test -n "$PKG_CONFIG" && \
34584 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34585 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34588 test $ac_status = 0; }; then
34589 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34597 if test -n "$PKG_CONFIG"; then
34598 if test -n "$LIBNOTIFY_LIBS"; then
34599 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34601 if test -n "$PKG_CONFIG" && \
34602 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34603 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34606 test $ac_status = 0; }; then
34607 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34618 if test $pkg_failed = yes; then
34620 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34621 _pkg_short_errors_supported
=yes
34623 _pkg_short_errors_supported
=no
34625 if test $_pkg_short_errors_supported = yes; then
34626 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34628 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34630 # Put the nasty error message in config.log where it belongs
34631 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34634 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34636 elif test $pkg_failed = untried
; then
34637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34638 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34641 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34642 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34644 $as_echo "yes" >&6; }
34650 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34651 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34653 $as_echo "yes" >&6; }
34656 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34661 if test "$HAVE_LIBNOTIFY" = "1" ; then
34662 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34663 CFLAGS
="$LIBNOTIFY_CFLAGS $CFLAGS"
34664 CXXFLAGS
="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34665 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34671 if test "$wxUSE_LIBHILDON" = "yes" ; then
34674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34675 $as_echo_n "checking for HILDON... " >&6; }
34677 if test -n "$PKG_CONFIG"; then
34678 if test -n "$HILDON_CFLAGS"; then
34679 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
34681 if test -n "$PKG_CONFIG" && \
34682 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34683 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34686 test $ac_status = 0; }; then
34687 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34695 if test -n "$PKG_CONFIG"; then
34696 if test -n "$HILDON_LIBS"; then
34697 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
34699 if test -n "$PKG_CONFIG" && \
34700 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34701 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34704 test $ac_status = 0; }; then
34705 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34716 if test $pkg_failed = yes; then
34718 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34719 _pkg_short_errors_supported
=yes
34721 _pkg_short_errors_supported
=no
34723 if test $_pkg_short_errors_supported = yes; then
34724 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34726 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34728 # Put the nasty error message in config.log where it belongs
34729 echo "$HILDON_PKG_ERRORS" >&5
34732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34733 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34734 wxUSE_LIBHILDON
="no"
34738 elif test $pkg_failed = untried
; then
34740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34741 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34742 wxUSE_LIBHILDON
="no"
34747 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34748 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34750 $as_echo "yes" >&6; }
34752 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON_LIBS"
34753 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34754 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34755 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34761 if test "$ac_hildon_lgpl" = 0 ; then
34764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34765 $as_echo_n "checking for HILDON2... " >&6; }
34767 if test -n "$PKG_CONFIG"; then
34768 if test -n "$HILDON2_CFLAGS"; then
34769 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34771 if test -n "$PKG_CONFIG" && \
34772 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34773 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34776 test $ac_status = 0; }; then
34777 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34785 if test -n "$PKG_CONFIG"; then
34786 if test -n "$HILDON2_LIBS"; then
34787 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34789 if test -n "$PKG_CONFIG" && \
34790 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34791 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34794 test $ac_status = 0; }; then
34795 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34806 if test $pkg_failed = yes; then
34808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34809 _pkg_short_errors_supported
=yes
34811 _pkg_short_errors_supported
=no
34813 if test $_pkg_short_errors_supported = yes; then
34814 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34816 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34818 # Put the nasty error message in config.log where it belongs
34819 echo "$HILDON2_PKG_ERRORS" >&5
34822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34823 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34824 wxUSE_LIBHILDON2
="no"
34827 elif test $pkg_failed = untried
; then
34829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34830 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34831 wxUSE_LIBHILDON2
="no"
34835 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34836 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34838 $as_echo "yes" >&6; }
34840 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON2_LIBS"
34841 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34842 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34843 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34851 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34852 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34856 if test "$wxUSE_STOPWATCH" = "yes"; then
34857 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34861 if test "$wxUSE_DATETIME" = "yes"; then
34862 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34866 if test "$wxUSE_FILE" = "yes"; then
34867 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34871 if test "$wxUSE_FFILE" = "yes"; then
34872 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34876 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34877 if test "$wxUSE_STREAMS" != yes; then
34878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34879 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34880 wxUSE_ARCHIVE_STREAMS
=no
34882 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34887 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34888 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34890 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34891 elif test "$wxUSE_ZLIB" = "no"; then
34892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34893 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34895 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34900 if test "$wxUSE_TARSTREAM" = "yes"; then
34901 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34903 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34905 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34910 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34911 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34915 if test "$wxUSE_FILESYSTEM" = "yes"; then
34916 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34918 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34919 wxUSE_FILESYSTEM
=no
34921 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34926 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34927 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34929 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34931 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34936 if test "$wxUSE_FS_ZIP" = "yes"; then
34937 if test "$wxUSE_FS_ARCHIVE" != yes; then
34938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34939 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34941 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34946 if test "$wxUSE_FSVOLUME" = "yes"; then
34947 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34951 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34952 if test "$USE_UNIX" != 1; then
34953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34954 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34955 wxUSE_ON_FATAL_EXCEPTION
=no
34957 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34962 if test "$wxUSE_STACKWALKER" = "yes"; then
34963 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34967 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34968 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34970 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34971 wxUSE_DEBUGREPORT
=no
34973 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34975 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34981 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34982 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34986 if test "$wxUSE_BUSYINFO" = "yes"; then
34987 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34991 if test "$wxUSE_HOTKEY" = "yes"; then
34992 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34994 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34997 elif test "$wxUSE_HOTKEY" = "auto"; then
34998 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
35002 if test "$wxUSE_HOTKEY" = "yes"; then
35003 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
35007 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
35008 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
35012 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35013 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
35017 if test "$wxUSE_STD_STRING" = "yes"; then
35018 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
35022 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
35023 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
35027 if test "$wxUSE_STDPATHS" = "yes"; then
35028 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
35032 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35033 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
35037 if test "$wxUSE_TEXTFILE" = "yes"; then
35038 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35040 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35042 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
35047 if test "$wxUSE_CONFIG" = "yes" ; then
35048 if test "$wxUSE_TEXTFILE" != "yes"; then
35049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
35050 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35052 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
35054 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
35056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35060 if test "$wxUSE_INTL" = "yes" ; then
35061 if test "$wxUSE_FILE" != "yes"; then
35062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
35063 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35065 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
35067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35068 GUIDIST
="$GUIDIST INTL_DIST"
35072 if test "$wxUSE_XLOCALE" = "yes" ; then
35073 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
35075 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
35076 #include <locale.h>
35078 if test "x$ac_cv_type_locale_t" = xyes
; then :
35080 cat >>confdefs.h
<<_ACEOF
35081 #define HAVE_LOCALE_T 1
35089 if test "$wxUSE_LOG" = "yes"; then
35090 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
35093 if test "$wxUSE_LOGGUI" = "yes"; then
35094 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
35098 if test "$wxUSE_LOGWINDOW" = "yes"; then
35099 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
35103 if test "$wxUSE_LOGDIALOG" = "yes"; then
35104 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
35108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
35111 if test "$wxUSE_LONGLONG" = "yes"; then
35112 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
35116 if test "$wxUSE_GEOMETRY" = "yes"; then
35117 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
35121 if test "$wxUSE_BASE64" = "yes"; then
35122 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
35126 if test "$wxUSE_STREAMS" = "yes" ; then
35127 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
35131 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35132 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
35136 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
35137 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
35142 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
35143 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
35146 if test "$wxUSE_UNIX" = "yes"; then
35147 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
35148 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
35152 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
35153 for ac_header
in sys
/epoll.h
35155 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
35157 if test "x$ac_cv_header_sys_epoll_h" = xyes
; then :
35158 cat >>confdefs.h
<<_ACEOF
35159 #define HAVE_SYS_EPOLL_H 1
35166 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
35167 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
35170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
35171 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
35178 for ac_func
in gettimeofday ftime
35180 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35181 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
35182 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
35183 cat >>confdefs.h
<<_ACEOF
35184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35191 if test "$ac_cv_func_gettimeofday" = "yes"; then
35192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35193 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35194 if ${wx_cv_func_gettimeofday_has_2_args+:} false
; then :
35195 $as_echo_n "(cached) " >&6
35198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35199 /* end confdefs.h. */
35201 #include <sys/time.h>
35202 #include <unistd.h>
35209 gettimeofday(&tv, NULL);
35215 if ac_fn_c_try_compile
"$LINENO"; then :
35216 wx_cv_func_gettimeofday_has_2_args
=yes
35218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35219 /* end confdefs.h. */
35221 #include <sys/time.h>
35222 #include <unistd.h>
35235 if ac_fn_c_try_compile
"$LINENO"; then :
35236 wx_cv_func_gettimeofday_has_2_args
=no
35239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35240 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35241 wx_cv_func_gettimeofday_has_2_args
=unknown
35245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35252 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35254 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35255 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35260 if test "$wxUSE_DATETIME" = "yes"; then
35261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35262 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35263 if ${wx_cv_var_timezone+:} false
; then :
35264 $as_echo_n "(cached) " >&6
35268 ac_cpp
='$CXXCPP $CPPFLAGS'
35269 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35274 /* end confdefs.h. */
35289 if ac_fn_cxx_try_compile
"$LINENO"; then :
35291 wx_cv_var_timezone
=timezone
35295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35296 /* end confdefs.h. */
35311 if ac_fn_cxx_try_compile
"$LINENO"; then :
35313 wx_cv_var_timezone
=_timezone
35317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35318 /* end confdefs.h. */
35333 if ac_fn_cxx_try_compile
"$LINENO"; then :
35335 wx_cv_var_timezone
=__timezone
35339 if test "$USE_DOS" = 0 ; then
35340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35341 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35356 ac_cpp
='$CPP $CPPFLAGS'
35357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35365 $as_echo "$wx_cv_var_timezone" >&6; }
35367 if test "x$wx_cv_var_timezone" != x
; then
35368 cat >>confdefs.h
<<_ACEOF
35369 #define WX_TIMEZONE $wx_cv_var_timezone
35374 for ac_func
in localtime
35376 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
35377 if test "x$ac_cv_func_localtime" = xyes
; then :
35378 cat >>confdefs.h
<<_ACEOF
35379 #define HAVE_LOCALTIME 1
35386 if test "$ac_cv_func_localtime" = "yes"; then
35387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35388 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35389 if ${wx_cv_struct_tm_has_gmtoff+:} false
; then :
35390 $as_echo_n "(cached) " >&6
35393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35394 /* end confdefs.h. */
35409 if ac_fn_c_try_compile
"$LINENO"; then :
35411 wx_cv_struct_tm_has_gmtoff
=yes
35414 wx_cv_struct_tm_has_gmtoff
=no
35417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35421 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35424 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35425 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35433 for ac_func
in setpriority
35435 ac_fn_c_check_func
"$LINENO" "setpriority" "ac_cv_func_setpriority"
35436 if test "x$ac_cv_func_setpriority" = xyes
; then :
35437 cat >>confdefs.h
<<_ACEOF
35438 #define HAVE_SETPRIORITY 1
35446 if test "$wxUSE_SOCKETS" = "yes"; then
35447 if test "$TOOLKIT" != "MSW"; then
35448 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
35449 if test "x$ac_cv_func_socket" = xyes
; then :
35453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35454 $as_echo_n "checking for socket in -lsocket... " >&6; }
35455 if ${ac_cv_lib_socket_socket+:} false
; then :
35456 $as_echo_n "(cached) " >&6
35458 ac_check_lib_save_LIBS
=$LIBS
35459 LIBS
="-lsocket $LIBS"
35460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35461 /* end confdefs.h. */
35463 /* Override any GCC internal prototype to avoid an error.
35464 Use char because int might match the return type of a GCC
35465 builtin and then its argument prototype would still apply. */
35478 if ac_fn_c_try_link
"$LINENO"; then :
35479 ac_cv_lib_socket_socket
=yes
35481 ac_cv_lib_socket_socket
=no
35483 rm -f core conftest.err conftest.
$ac_objext \
35484 conftest
$ac_exeext conftest.
$ac_ext
35485 LIBS
=$ac_check_lib_save_LIBS
35487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35488 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35489 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
35490 if test "$INET_LINK" != " -lsocket"; then
35491 INET_LINK
="$INET_LINK -lsocket"
35495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35496 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35509 if test "$wxUSE_SOCKETS" = "yes" ; then
35510 if test "$TOOLKIT" != "MSW"; then
35511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35512 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35513 if ${wx_cv_type_getsockname3+:} false
; then :
35514 $as_echo_n "(cached) " >&6
35518 ac_cpp
='$CXXCPP $CPPFLAGS'
35519 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35520 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35521 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35524 /* end confdefs.h. */
35526 #include <sys/types.h>
35527 #include <sys/socket.h>
35534 getsockname(0, 0, &len);
35540 if ac_fn_cxx_try_compile
"$LINENO"; then :
35541 wx_cv_type_getsockname3
=socklen_t
35544 CFLAGS_OLD
="$CFLAGS"
35545 if test "$GCC" = yes ; then
35546 CFLAGS
="-Werror $CFLAGS"
35549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35550 /* end confdefs.h. */
35552 #include <sys/types.h>
35553 #include <sys/socket.h>
35560 getsockname(0, 0, &len);
35566 if ac_fn_cxx_try_compile
"$LINENO"; then :
35567 wx_cv_type_getsockname3
=size_t
35569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35570 /* end confdefs.h. */
35572 #include <sys/types.h>
35573 #include <sys/socket.h>
35580 getsockname(0, 0, &len);
35586 if ac_fn_cxx_try_compile
"$LINENO"; then :
35587 wx_cv_type_getsockname3
=int
35589 wx_cv_type_getsockname3
=unknown
35592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35597 CFLAGS
="$CFLAGS_OLD"
35601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35603 ac_cpp
='$CPP $CPPFLAGS'
35604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35611 $as_echo "$wx_cv_type_getsockname3" >&6; }
35613 if test "$wx_cv_type_getsockname3" = "unknown"; then
35615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35616 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35618 cat >>confdefs.h
<<_ACEOF
35619 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35624 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35625 if ${wx_cv_type_getsockopt5+:} false
; then :
35626 $as_echo_n "(cached) " >&6
35630 ac_cpp
='$CXXCPP $CPPFLAGS'
35631 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35632 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35633 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35636 /* end confdefs.h. */
35638 #include <sys/types.h>
35639 #include <sys/socket.h>
35646 getsockopt(0, 0, 0, 0, &len);
35652 if ac_fn_cxx_try_compile
"$LINENO"; then :
35653 wx_cv_type_getsockopt5
=socklen_t
35656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35657 /* end confdefs.h. */
35659 #include <sys/types.h>
35660 #include <sys/socket.h>
35667 getsockopt(0, 0, 0, 0, &len);
35673 if ac_fn_cxx_try_compile
"$LINENO"; then :
35674 wx_cv_type_getsockopt5
=size_t
35676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35677 /* end confdefs.h. */
35679 #include <sys/types.h>
35680 #include <sys/socket.h>
35687 getsockopt(0, 0, 0, 0, &len);
35693 if ac_fn_cxx_try_compile
"$LINENO"; then :
35694 wx_cv_type_getsockopt5
=int
35696 wx_cv_type_getsockopt5
=unknown
35699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35708 ac_cpp
='$CPP $CPPFLAGS'
35709 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35710 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35711 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35716 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35718 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35721 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35723 cat >>confdefs.h
<<_ACEOF
35724 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35731 if test "$wxUSE_SOCKETS" = "yes" ; then
35732 if test "$wxUSE_IPV6" = "yes"; then
35733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35734 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35735 if ${wx_cv_type_sockaddr_in6+:} false
; then :
35736 $as_echo_n "(cached) " >&6
35739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35740 /* end confdefs.h. */
35742 #include <sys/types.h>
35743 #include <sys/socket.h>
35744 #include <netinet/in.h>
35750 struct sockaddr_in6 sa6;
35756 if ac_fn_c_try_compile
"$LINENO"; then :
35757 wx_cv_type_sockaddr_in6
=yes
35759 wx_cv_type_sockaddr_in6
=no
35762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35767 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35769 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35770 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35774 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35778 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35783 if test "$wxUSE_PROTOCOL" = "yes"; then
35784 if test "$wxUSE_SOCKETS" != "yes"; then
35785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35786 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35791 if test "$wxUSE_PROTOCOL" = "yes"; then
35792 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35795 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35796 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35799 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35800 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35803 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35804 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35808 if test "$wxUSE_FS_INET" = "yes"; then
35809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35810 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35815 if test "$wxUSE_URL" = "yes"; then
35816 if test "$wxUSE_PROTOCOL" != "yes"; then
35817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35818 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35821 if test "$wxUSE_URL" = "yes"; then
35822 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35827 if test "$wxUSE_VARIANT" = "yes"; then
35828 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35832 if test "$wxUSE_FS_INET" = "yes"; then
35833 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35838 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35841 if test "$TOOLKIT" = "MSW"; then
35844 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35845 if test "$USE_DARWIN" = 1; then
35846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35847 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35849 ac_cpp
='$CXXCPP $CPPFLAGS'
35850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35855 /* end confdefs.h. */
35856 #include <IOKit/hid/IOHIDLib.h>
35860 IOHIDQueueInterface *qi = NULL;
35861 IOHIDCallbackFunction cb = NULL;
35862 qi->setEventCallout(NULL, cb, NULL, NULL);
35867 if ac_fn_cxx_try_compile
"$LINENO"; then :
35871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35873 ac_cpp
='$CPP $CPPFLAGS'
35874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35879 $as_echo "$wxUSE_JOYSTICK" >&6; }
35883 for ac_header
in linux
/joystick.h
35885 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35887 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
35888 cat >>confdefs.h
<<_ACEOF
35889 #define HAVE_LINUX_JOYSTICK_H 1
35898 if test "$wxUSE_JOYSTICK" = "yes"; then
35899 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35904 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35910 if test "$wxUSE_FONTENUM" = "yes" ; then
35911 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35915 if test "$wxUSE_FONTMAP" = "yes" ; then
35916 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35920 if test "$wxUSE_UNICODE" = "yes" ; then
35921 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35924 if test "$USE_WIN32" != 1; then
35925 wxUSE_UNICODE_MSLU
=no
35928 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35930 $as_echo_n "checking for main in -lunicows... " >&6; }
35931 if ${ac_cv_lib_unicows_main+:} false
; then :
35932 $as_echo_n "(cached) " >&6
35934 ac_check_lib_save_LIBS
=$LIBS
35935 LIBS
="-lunicows $LIBS"
35936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35937 /* end confdefs.h. */
35948 if ac_fn_c_try_link
"$LINENO"; then :
35949 ac_cv_lib_unicows_main
=yes
35951 ac_cv_lib_unicows_main
=no
35953 rm -f core conftest.err conftest.
$ac_objext \
35954 conftest
$ac_exeext conftest.
$ac_ext
35955 LIBS
=$ac_check_lib_save_LIBS
35957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35958 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35959 if test "x$ac_cv_lib_unicows_main" = xyes
; then :
35961 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35967 Applications will only run on Windows NT/2000/XP!" >&5
35968 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35969 Applications will only run on Windows NT/2000/XP!" >&2;}
35970 wxUSE_UNICODE_MSLU
=no
35977 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35978 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35981 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35982 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35988 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35989 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35991 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35994 if test "$wxUSE_MDI" = "yes"; then
35995 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35998 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35999 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
36001 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36005 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36006 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
36008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36011 if test "$wxUSE_HELP" = "yes"; then
36012 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
36014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36016 if test "$wxUSE_MSW" = 1; then
36017 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36018 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
36023 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36024 if test "$wxUSE_HTML" = "yes"; then
36025 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
36028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36029 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36030 wxUSE_WXHTML_HELP
=no
36035 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36036 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
36038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36041 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36042 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
36046 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
36049 if test "$wxUSE_SVG" = "yes"; then
36050 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
36055 if test "$wxUSE_METAFILE" = "yes"; then
36056 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
36057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
36058 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
36061 elif test "$wxUSE_METAFILE" = "auto"; then
36062 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
36067 if test "$wxUSE_METAFILE" = "yes"; then
36068 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
36070 if test "$wxUSE_MSW" = 1; then
36071 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
36077 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36078 -o "$wxUSE_CLIPBOARD" = "yes" \
36079 -o "$wxUSE_OLE" = "yes" \
36080 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36081 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
36083 if test "x$ac_cv_header_ole2_h" = xyes
; then :
36089 if test "$ac_cv_header_ole2_h" = "yes" ; then
36090 if test "$GCC" = yes ; then
36091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
36092 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
36093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36094 /* end confdefs.h. */
36095 #include <windows.h>
36105 if ac_fn_c_try_compile
"$LINENO"; then :
36106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36107 $as_echo "no" >&6; }
36109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36110 $as_echo "yes" >&6; }
36111 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
36113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36114 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36115 if test "$wxUSE_OLE" = "yes" ; then
36116 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
36118 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
36120 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
36122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
36126 if test "$wxUSE_DATAOBJ" = "yes" ; then
36127 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
36132 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36135 wxUSE_DRAG_AND_DROP
=no
36141 if test "$wxUSE_IPC" = "yes"; then
36142 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
36143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36144 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36148 if test "$wxUSE_IPC" = "yes"; then
36149 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
36151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
36155 if test "$wxUSE_DATAOBJ" = "yes"; then
36156 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
36160 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
36162 wxUSE_DRAG_AND_DROP
=no
36165 if test "$wxUSE_CLIPBOARD" = "yes"; then
36166 if test "$wxUSE_DFB" = 1; then
36167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
36168 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
36172 if test "$wxUSE_CLIPBOARD" = "yes"; then
36173 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
36178 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36179 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
36180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
36181 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
36182 wxUSE_DRAG_AND_DROP
=no
36185 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36186 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
36192 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36193 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36196 if test "$wxUSE_CLIPBOARD" = "yes"; then
36197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
36200 if test "$wxUSE_SPLINES" = "yes" ; then
36201 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36205 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36206 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36210 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36211 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36213 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
36216 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36217 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36223 if test "$wxUSE_CONTROLS" = "yes"; then
36227 if test "$wxUSE_MARKUP" = "yes"; then
36228 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36232 if test "$wxUSE_ACCEL" = "yes"; then
36233 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36238 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36239 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36242 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
36245 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36246 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36250 if test "$wxUSE_BUTTON" = "yes"; then
36251 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36256 if test "$wxUSE_BMPBUTTON" = "yes"; then
36257 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36262 if test "$wxUSE_CALCTRL" = "yes"; then
36263 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36269 if test "$wxUSE_CARET" = "yes"; then
36270 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36276 if test "$wxUSE_COLLPANE" = "yes"; then
36277 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36280 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
36283 if test "$wxUSE_COMBOBOX" = "yes"; then
36284 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36289 if test "$wxUSE_COMBOCTRL" = "yes"; then
36290 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36295 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36296 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36301 if test "$wxUSE_CHOICE" = "yes"; then
36302 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36307 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36308 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36313 if test "$wxUSE_CHECKBOX" = "yes"; then
36314 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36319 if test "$wxUSE_CHECKLST" = "yes"; then
36320 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36325 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36326 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36331 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36332 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36337 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36338 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36343 if test "$wxUSE_FILECTRL" = "yes"; then
36344 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36349 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36350 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36355 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36356 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36361 if test "$wxUSE_DISPLAY" = "yes"; then
36362 if test "$wxUSE_DFB" = 1; then
36363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36364 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36367 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36373 if test "$wxUSE_DETECT_SM" = "yes"; then
36374 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36378 if test "$wxUSE_GAUGE" = "yes"; then
36379 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36384 if test "$wxUSE_GRID" = "yes"; then
36385 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36388 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36391 if test "$wxUSE_HEADERCTRL" = "yes"; then
36392 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36397 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36398 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36403 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36404 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36409 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36410 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
36416 if test "$wxUSE_IMAGLIST" = "yes"; then
36417 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36421 if test "$wxUSE_INFOBAR" = "yes"; then
36422 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36426 if test "$wxUSE_LISTBOOK" = "yes"; then
36427 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36432 if test "$wxUSE_LISTBOX" = "yes"; then
36433 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36438 if test "$wxUSE_LISTCTRL" = "yes"; then
36439 if test "$wxUSE_IMAGLIST" = "yes"; then
36440 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36446 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36450 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36451 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36456 if test "$wxUSE_NOTEBOOK" = "yes"; then
36457 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36463 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36464 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36468 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36469 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
36475 if test "$wxUSE_RADIOBOX" = "yes"; then
36476 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36481 if test "$wxUSE_RADIOBTN" = "yes"; then
36482 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36487 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36488 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36492 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36493 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36497 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36498 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36502 if test "$wxUSE_SASH" = "yes"; then
36503 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36505 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36508 if test "$wxUSE_SCROLLBAR" = "yes"; then
36509 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
36515 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36516 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36521 if test "$wxUSE_SLIDER" = "yes"; then
36522 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36527 if test "$wxUSE_SPINBTN" = "yes"; then
36528 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36533 if test "$wxUSE_SPINCTRL" = "yes"; then
36534 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36539 if test "$wxUSE_SPLITTER" = "yes"; then
36540 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36545 if test "$wxUSE_STATBMP" = "yes"; then
36546 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36551 if test "$wxUSE_STATBOX" = "yes"; then
36552 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36557 if test "$wxUSE_STATTEXT" = "yes"; then
36558 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36563 if test "$wxUSE_STATLINE" = "yes"; then
36564 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36569 if test "$wxUSE_STATUSBAR" = "yes"; then
36570 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36572 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36579 if test "$wxUSE_TEXTCTRL" = "yes"; then
36580 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36585 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36587 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36591 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36592 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36597 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36598 if test "$wxUSE_OLD_COCOA" = 1 ; then
36599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36600 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36604 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36605 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36611 if test "$wxUSE_TOOLBAR" = "yes"; then
36612 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36616 if test "$wxUSE_UNIVERSAL" = "yes"; then
36617 wxUSE_TOOLBAR_NATIVE
="no"
36619 wxUSE_TOOLBAR_NATIVE
="yes"
36620 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36627 if test "$wxUSE_TOOLTIPS" = "yes"; then
36628 if test "$wxUSE_MOTIF" = 1; then
36629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36630 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36632 if test "$wxUSE_UNIVERSAL" = "yes"; then
36633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36634 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36636 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36642 if test "$wxUSE_TREEBOOK" = "yes"; then
36643 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36648 if test "$wxUSE_TOOLBOOK" = "yes"; then
36649 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36654 if test "$wxUSE_TREECTRL" = "yes"; then
36655 if test "$wxUSE_IMAGLIST" = "yes"; then
36656 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36659 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36662 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36666 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36667 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
36673 if test "$wxUSE_POPUPWIN" = "yes"; then
36674 if test "$wxUSE_OLD_COCOA" = 1 ; then
36675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36676 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36678 if test "$wxUSE_PM" = 1; then
36679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36680 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36682 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
36691 if test "$wxUSE_PREFERENCES_EDITOR" = "yes"; then
36692 $as_echo "#define wxUSE_PREFERENCES_EDITOR 1" >>confdefs.h
36694 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS prefseditor"
36697 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36698 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36700 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36702 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
36708 if test "$wxUSE_TIPWINDOW" = "yes"; then
36709 if test "$wxUSE_PM" = 1; then
36710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36711 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36713 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36718 if test "$USES_CONTROLS" = 1; then
36719 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36724 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36725 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36730 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36731 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36735 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36736 if test "$wxUSE_GTK" != 1; then
36737 if test "$wxUSE_LIBPNG" != no
-a \
36738 "$wxUSE_IMAGE" = yes -a \
36739 "$wxUSE_STREAMS" = yes; then
36740 wxUSE_ARTPROVIDER_TANGO
="yes"
36745 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36746 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36750 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36751 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36756 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36757 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36759 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36761 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36768 if test "$wxUSE_HTML" = "yes"; then
36769 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36774 if test "$wxUSE_WEBKIT" = "yes"; then
36775 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36776 old_CPPFLAGS
="$CPPFLAGS"
36777 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36778 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36779 #include <Carbon/Carbon.h>
36780 #include <WebKit/WebKit.h>
36783 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36785 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36787 WEBKIT_LINK
="-framework WebKit"
36791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36792 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36798 CPPFLAGS
="$old_CPPFLAGS"
36799 elif test "$wxUSE_OLD_COCOA" = 1; then
36800 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36805 if test "$wxUSE_WEBKIT" = "yes"; then
36806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36811 if test "$wxUSE_XRC" = "yes"; then
36812 if test "$wxUSE_XML" != "yes"; then
36813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36814 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36817 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36825 if test "$wxUSE_AUI" = "yes"; then
36826 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36833 if test "$wxUSE_PROPGRID" = "yes"; then
36834 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36841 if test "$wxUSE_RIBBON" = "yes"; then
36842 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36845 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36849 if test "$wxUSE_STC" = "yes"; then
36850 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36855 # Extract the first word of "python", so it can be a program name with args.
36856 set dummy python
; ac_word
=$2
36857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36858 $as_echo_n "checking for $ac_word... " >&6; }
36859 if ${ac_cv_path_PYTHON+:} false
; then :
36860 $as_echo_n "(cached) " >&6
36864 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36868 for as_dir
in $PATH
36871 test -z "$as_dir" && as_dir
=.
36872 for ac_exec_ext
in '' $ac_executable_extensions; do
36873 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
36874 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36885 PYTHON
=$ac_cv_path_PYTHON
36886 if test -n "$PYTHON"; then
36887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36888 $as_echo "$PYTHON" >&6; }
36890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36891 $as_echo "no" >&6; }
36895 if test "x$PYTHON" = "x"; then
36901 if test "$wxUSE_MENUS" = "yes"; then
36902 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36907 if test "$wxUSE_MIMETYPE" = "yes"; then
36908 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36912 if test "$wxUSE_MINIFRAME" = "yes"; then
36913 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36917 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36918 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36922 if test "$wxUSE_TASKBARICON" = "yes"; then
36923 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36925 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36931 if test "$wxUSE_VALIDATORS" = "yes"; then
36932 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36934 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36937 if test "$wxUSE_PALETTE" = "yes" ; then
36938 if test "$wxUSE_DFB" = 1; then
36939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36940 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36943 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36948 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36949 LIBS
=" -lunicows $LIBS"
36953 if test "$wxUSE_RICHTEXT" = "yes"; then
36954 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36960 if test "$wxUSE_WEBVIEW" = "yes"; then
36961 USE_WEBVIEW_WEBKIT
=0
36962 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36963 if test "$wxUSE_GTK" = 1; then
36964 webkitgtk
=webkit
-1.0
36965 if test "$WXGTK3" = 1; then
36966 webkitgtk
=webkitgtk
-3.0
36970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36971 $as_echo_n "checking for WEBKIT... " >&6; }
36973 if test -n "$PKG_CONFIG"; then
36974 if test -n "$WEBKIT_CFLAGS"; then
36975 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36977 if test -n "$PKG_CONFIG" && \
36978 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36979 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36982 test $ac_status = 0; }; then
36983 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36991 if test -n "$PKG_CONFIG"; then
36992 if test -n "$WEBKIT_LIBS"; then
36993 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36995 if test -n "$PKG_CONFIG" && \
36996 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36997 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37000 test $ac_status = 0; }; then
37001 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
37012 if test $pkg_failed = yes; then
37014 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37015 _pkg_short_errors_supported
=yes
37017 _pkg_short_errors_supported
=no
37019 if test $_pkg_short_errors_supported = yes; then
37020 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
37022 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
37024 # Put the nasty error message in config.log where it belongs
37025 echo "$WEBKIT_PKG_ERRORS" >&5
37028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
37029 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
37031 elif test $pkg_failed = untried
; then
37033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
37034 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
37037 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
37038 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
37039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37040 $as_echo "yes" >&6; }
37042 USE_WEBVIEW_WEBKIT
=1
37043 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
37044 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
37047 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
37048 old_CPPFLAGS
="$CPPFLAGS"
37049 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
37050 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
37051 #include <Carbon/Carbon.h>
37052 #include <WebKit/WebKit.h>
37055 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
37057 USE_WEBVIEW_WEBKIT
=1
37058 WEBKIT_LINK
="-framework WebKit"
37062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
37063 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
37068 CPPFLAGS
="$old_CPPFLAGS"
37073 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
37074 if test "$USE_WEBVIEW_WEBKIT" = 1; then
37075 wxUSE_WEBVIEW
="yes"
37076 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
37079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
37080 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
37082 elif test "$wxUSE_MSW" = 1; then
37083 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
37084 wxUSE_WEBVIEW
="yes"
37085 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
37091 if test "$wxUSE_WEBVIEW" = "yes"; then
37093 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
37095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
37101 if test "$wxUSE_IMAGE" = "yes" ; then
37102 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
37105 if test "$wxUSE_GIF" = "yes" ; then
37106 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
37110 if test "$wxUSE_PCX" = "yes" ; then
37111 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
37115 if test "$wxUSE_TGA" = "yes" ; then
37116 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
37120 if test "$wxUSE_IFF" = "yes" ; then
37121 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
37125 if test "$wxUSE_PNM" = "yes" ; then
37126 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
37130 if test "$wxUSE_XPM" = "yes" ; then
37131 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
37135 if test "$wxUSE_ICO_CUR" = "yes" ; then
37136 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
37142 if test "$wxUSE_ABOUTDLG" = "yes"; then
37143 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
37147 if test "$wxUSE_CHOICEDLG" = "yes"; then
37148 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
37152 if test "$wxUSE_COLOURDLG" = "yes"; then
37153 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
37157 if test "$wxUSE_FILEDLG" = "yes"; then
37158 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
37162 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37163 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
37167 if test "$wxUSE_FONTDLG" = "yes"; then
37168 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
37172 if test "$wxUSE_DIRDLG" = "yes"; then
37173 if test "$wxUSE_TREECTRL" != "yes"; then
37174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37175 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37177 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
37182 if test "$wxUSE_MSGDLG" = "yes"; then
37183 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
37187 if test "$wxUSE_NUMBERDLG" = "yes"; then
37188 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
37192 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37193 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
37197 if test "$wxUSE_SPLASH" = "yes"; then
37198 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37200 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37203 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37204 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37208 if test "$wxUSE_TEXTDLG" = "yes"; then
37209 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37213 if test "$wxUSE_WIZARDDLG" = "yes"; then
37214 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37220 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37221 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37222 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37228 if test "$wxUSE_MSW" = 1 ; then
37230 if test "$wxUSE_DC_CACHEING" = "yes"; then
37231 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37235 if test "$wxUSE_DIB" = "yes"; then
37236 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37240 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37241 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37245 if test "$wxUSE_UXTHEME" = "yes"; then
37246 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37252 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37253 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37257 if test "$USE_WIN32" = 1 ; then
37258 if test "$wxUSE_INICONF" = "yes"; then
37259 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37263 if test "$wxUSE_REGKEY" = "yes"; then
37264 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37270 if test "$wxUSE_MAC" = 1; then
37271 wxUSE_GRAPHICS_CONTEXT
="yes"
37274 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37276 if test "$wxUSE_MSW" = 1; then
37277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37278 $as_echo_n "checking if GDI+ is available... " >&6; }
37279 if ${wx_cv_lib_gdiplus+:} false
; then :
37280 $as_echo_n "(cached) " >&6
37284 ac_cpp
='$CXXCPP $CPPFLAGS'
37285 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37286 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37287 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37290 /* end confdefs.h. */
37291 #include <windows.h>
37292 #include <gdiplus.h>
37297 using namespace Gdiplus;
37303 if ac_fn_cxx_try_compile
"$LINENO"; then :
37304 wx_cv_lib_gdiplus
=yes
37306 wx_cv_lib_gdiplus
=no
37309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37311 ac_cpp
='$CPP $CPPFLAGS'
37312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37320 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37321 if test "$wx_cv_lib_gdiplus" = "yes"; then
37324 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37328 $as_echo_n "checking for CAIRO... " >&6; }
37330 if test -n "$PKG_CONFIG"; then
37331 if test -n "$CAIRO_CFLAGS"; then
37332 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
37334 if test -n "$PKG_CONFIG" && \
37335 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37336 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37339 test $ac_status = 0; }; then
37340 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37348 if test -n "$PKG_CONFIG"; then
37349 if test -n "$CAIRO_LIBS"; then
37350 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
37352 if test -n "$PKG_CONFIG" && \
37353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37354 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37357 test $ac_status = 0; }; then
37358 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37369 if test $pkg_failed = yes; then
37371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37372 _pkg_short_errors_supported
=yes
37374 _pkg_short_errors_supported
=no
37376 if test $_pkg_short_errors_supported = yes; then
37377 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37379 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37381 # Put the nasty error message in config.log where it belongs
37382 echo "$CAIRO_PKG_ERRORS" >&5
37384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37385 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37387 elif test $pkg_failed = untried
; then
37388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37389 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37392 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
37393 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
37394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37395 $as_echo "yes" >&6; }
37398 if test "$wx_has_graphics" = 1; then
37400 LIBS
="$LIBS $CAIRO_LIBS"
37401 for ac_func
in cairo_push_group
37403 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37404 if test "x$ac_cv_func_cairo_push_group" = xyes
; then :
37405 cat >>confdefs.h
<<_ACEOF
37406 #define HAVE_CAIRO_PUSH_GROUP 1
37413 if test "$ac_cv_func_cairo_push_group" = "no"; then
37415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37416 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37418 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37421 if test "$wxUSE_GTK" != 1; then
37422 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
37423 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
37431 if test "$wx_has_graphics" = 1; then
37432 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37436 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37443 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37446 if test "$wxUSE_GTK" = 1; then
37447 wxUSE_GSTREAMER
="no"
37449 GST_VERSION_MAJOR
=0
37450 GST_VERSION_MINOR
=10
37451 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37453 if test "$wxUSE_GSTREAMER8" = "no"; then
37456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37457 $as_echo_n "checking for GST... " >&6; }
37459 if test -n "$PKG_CONFIG"; then
37460 if test -n "$GST_CFLAGS"; then
37461 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37463 if test -n "$PKG_CONFIG" && \
37464 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37465 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37468 test $ac_status = 0; }; then
37469 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37477 if test -n "$PKG_CONFIG"; then
37478 if test -n "$GST_LIBS"; then
37479 pkg_cv_GST_LIBS
="$GST_LIBS"
37481 if test -n "$PKG_CONFIG" && \
37482 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37483 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37486 test $ac_status = 0; }; then
37487 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37498 if test $pkg_failed = yes; then
37500 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37501 _pkg_short_errors_supported
=yes
37503 _pkg_short_errors_supported
=no
37505 if test $_pkg_short_errors_supported = yes; then
37506 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37508 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37510 # Put the nasty error message in config.log where it belongs
37511 echo "$GST_PKG_ERRORS" >&5
37514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37515 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37516 GST_VERSION_MINOR
=8
37519 elif test $pkg_failed = untried
; then
37521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37522 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37523 GST_VERSION_MINOR
=8
37527 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37528 GST_LIBS
=$pkg_cv_GST_LIBS
37529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37530 $as_echo "yes" >&6; }
37532 wxUSE_GSTREAMER
="yes"
37533 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37537 GST_VERSION_MINOR
=8
37540 if test $GST_VERSION_MINOR = "8"; then
37541 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37545 $as_echo_n "checking for GST... " >&6; }
37547 if test -n "$PKG_CONFIG"; then
37548 if test -n "$GST_CFLAGS"; then
37549 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37551 if test -n "$PKG_CONFIG" && \
37552 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37553 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37556 test $ac_status = 0; }; then
37557 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37565 if test -n "$PKG_CONFIG"; then
37566 if test -n "$GST_LIBS"; then
37567 pkg_cv_GST_LIBS
="$GST_LIBS"
37569 if test -n "$PKG_CONFIG" && \
37570 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37571 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37574 test $ac_status = 0; }; then
37575 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37586 if test $pkg_failed = yes; then
37588 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37589 _pkg_short_errors_supported
=yes
37591 _pkg_short_errors_supported
=no
37593 if test $_pkg_short_errors_supported = yes; then
37594 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37596 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37598 # Put the nasty error message in config.log where it belongs
37599 echo "$GST_PKG_ERRORS" >&5
37602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37603 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37605 elif test $pkg_failed = untried
; then
37607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37608 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37611 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37612 GST_LIBS
=$pkg_cv_GST_LIBS
37613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37614 $as_echo "yes" >&6; }
37615 wxUSE_GSTREAMER
="yes"
37620 if test "$wxUSE_GSTREAMER" = "yes"; then
37621 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
37622 EXTRALIBS_MEDIA
="$GST_LIBS"
37624 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37630 elif test "$wxUSE_MAC" = 1; then
37631 GST_LIBS
="-framework QTKit"
37634 if test $USE_MEDIA = 1; then
37635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
37636 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37639 if test "$wxUSE_MEDIACTRL" = "yes"; then
37640 as_fn_error $?
"GStreamer not available" "$LINENO" 5
37642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37643 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37649 if test "$cross_compiling" != "no"; then
37652 OSINFO
=`uname -s -r -m`
37653 OSINFO
="\"$OSINFO\""
37656 cat >>confdefs.h
<<_ACEOF
37657 #define WXWIN_OS_DESCRIPTION $OSINFO
37662 if test "x$prefix" != "xNONE"; then
37665 wxPREFIX
=$ac_default_prefix
37668 cat >>confdefs.h
<<_ACEOF
37669 #define wxINSTALL_PREFIX "$wxPREFIX"
37675 STD_BASE_LIBS
="base"
37677 BUILT_WX_LIBS
="base"
37678 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
37680 if test "$wxUSE_SOCKETS" = "yes" ; then
37681 STD_BASE_LIBS
="net $STD_BASE_LIBS"
37682 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
37684 if test "$wxUSE_XML" = "yes" ; then
37685 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
37686 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
37689 if test "$wxUSE_GUI" = "yes"; then
37690 STD_GUI_LIBS
="adv core"
37691 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
37693 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37694 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
37695 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
37697 if test "$wxUSE_HTML" = "yes" ; then
37698 STD_GUI_LIBS
="html $STD_GUI_LIBS"
37699 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
37701 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37702 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
37704 if test "$wxUSE_OPENGL" = "yes" ; then
37705 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
37707 if test "$wxUSE_AUI" = "yes" ; then
37708 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
37710 if test "$wxUSE_PROPGRID" = "yes" ; then
37711 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
37713 if test "$wxUSE_RIBBON" = "yes" ; then
37714 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
37716 if test "$wxUSE_RICHTEXT" = "yes" ; then
37717 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
37719 if test "$wxUSE_STC" = "yes" ; then
37720 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
37722 if test "$wxUSE_WEBVIEW" = "yes" ; then
37723 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
37724 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
37726 if test "$wxUSE_XRC" = "yes" ; then
37727 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
37728 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
37739 if test "$wxUSE_MAC" = 1 ; then
37740 if test "$USE_DARWIN" = 1; then
37741 if test "$wxUSE_OSX_IPHONE" = 1; then
37742 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37744 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37747 if test "$cross_compiling" != "no"; then
37748 wx_cv_target_x86_64
=no
37750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37751 $as_echo_n "checking if we target only x86_64... " >&6; }
37752 if ${wx_cv_target_x86_64+:} false
; then :
37753 $as_echo_n "(cached) " >&6
37755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37756 /* end confdefs.h. */
37757 int main() { return 0; }
37759 if ac_fn_c_try_link
"$LINENO"; then :
37760 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37761 wx_cv_target_x86_64
=no
37763 wx_cv_target_x86_64
=yes
37767 rm -f core conftest.err conftest.
$ac_objext \
37768 conftest
$ac_exeext conftest.
$ac_ext
37771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37772 $as_echo "$wx_cv_target_x86_64" >&6; }
37775 if test "$wx_cv_target_x86_64" != "yes"; then
37776 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37781 if test "$wxUSE_OLD_COCOA" = 1 ; then
37782 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37783 if test "$wxUSE_MEDIACTRL" = "yes"; then
37784 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37787 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37788 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37791 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37792 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37794 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37796 if test "$wxUSE_GUI" = "yes"; then
37799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37800 erase event exec font image minimal render \
37801 shaped svg taborder vscroll widgets wrapsizer"
37803 if test "$wxUSE_MONOLITHIC" != "yes"; then
37804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37806 if test "$TOOLKIT" = "MSW"; then
37807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37808 if test "$wxUSE_UNIVERSAL" != "yes"; then
37809 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37812 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37813 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37816 SAMPLES_SUBDIRS
="console"
37817 if test "$wxUSE_SOCKETS" = "yes" ; then
37818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37820 if test "$wxUSE_IPC" = "yes" ; then
37821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37826 if test "x$INTELCC" = "xyes" ; then
37827 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37828 elif test "$GCC" = yes ; then
37829 CWARNINGS
="-Wall -Wundef"
37832 if test "x$INTELCXX" = "xyes" ; then
37833 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37834 elif test "$GXX" = yes ; then
37835 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37837 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37838 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false
; then :
37839 $as_echo_n "(cached) " >&6
37841 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37844 ac_cpp
='$CXXCPP $CPPFLAGS'
37845 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37846 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37847 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37849 ac_save_CXXFLAGS
="$CXXFLAGS"
37850 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37851 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37853 /* end confdefs.h. */
37863 if ac_fn_cxx_try_compile
"$LINENO"; then :
37864 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37868 CXXFLAGS
="$ac_save_CXXFLAGS"
37870 ac_cpp
='$CPP $CPPFLAGS'
37871 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37872 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37873 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37878 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37879 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37883 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37884 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37885 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37888 test $ac_status = 0; }
37889 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37890 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37893 test $ac_status = 0; }
37894 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37900 if test "$wxUSE_MAC" = 1 ; then
37901 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37906 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37907 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37910 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37911 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37912 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37915 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37916 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37917 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37918 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37919 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37921 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37924 if test "x$MWCC" = "xyes"; then
37926 CC
="$CC -cwd source -I-"
37927 CXX
="$CXX -cwd source -I-"
37932 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37933 EXTRALIBS_XML
="$EXPAT_LINK"
37934 EXTRALIBS_HTML
="$MSPACK_LINK"
37935 EXTRALIBS_MEDIA
="$GST_LIBS"
37936 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37937 if test "$wxUSE_GUI" = "yes"; then
37938 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37940 if test "$wxUSE_OPENGL" = "yes"; then
37941 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37944 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37946 WXCONFIG_LIBS
="$LIBS"
37948 if test "$wxUSE_REGEX" = "builtin" ; then
37949 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37951 if test "$wxUSE_EXPAT" = "builtin" ; then
37952 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37954 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37955 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37957 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37958 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37960 if test "$wxUSE_LIBPNG" = "builtin" ; then
37961 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37963 if test "$wxUSE_ZLIB" = "builtin" ; then
37964 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37967 for i
in $wxconfig_3rdparty ; do
37968 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37972 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37975 case "$wxUNIV_THEMES" in
37977 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37982 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37983 cat >>confdefs.h
<<_ACEOF
37984 #define wxUSE_THEME_$t 1
38000 if test $wxUSE_MONOLITHIC = "yes" ; then
38006 if test $wxUSE_PLUGINS = "yes" ; then
38012 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
38018 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38046 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
38059 TOOLKIT_DESC
="GTK+"
38060 if test "$WXGTK2" = 1; then
38061 if test "$WXGTK3" = 1; then
38062 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
38064 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
38066 if test "$wxUSE_GTKPRINT" = "yes" ; then
38067 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
38069 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38070 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
38072 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
38073 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
38075 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
38076 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA libnotify"
38078 if test "$wxUSE_LIBHILDON" = "yes"; then
38079 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
38081 if test "$wxUSE_LIBHILDON2" = "yes"; then
38082 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
38085 if test "$TOOLKIT_EXTRA" != ""; then
38086 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
38092 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
38096 TOOLKIT_DESC
="base only"
38100 if test "$wxUSE_WINE" = "yes"; then
38101 BAKEFILE_FORCE_PLATFORM
=win32
38104 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
38106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
38107 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
38108 if ${wx_cv_gcc_pch_bug+:} false
; then :
38109 $as_echo_n "(cached) " >&6
38112 echo '#include <stdio.h>
38113 const wchar_t test_var[] = L"awidetest";' > conftest.h
38115 echo '#include "conftest.h"
38118 printf("%ls", test_var);
38122 wx_cv_gcc_pch_bug
="pch not supported"
38124 if $CXX conftest.h
>/dev
/null
2>&1
38128 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
38130 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
38131 grep awidetest
>/dev
/null
38133 wx_cv_gcc_pch_bug
=no
38135 wx_cv_gcc_pch_bug
=yes
38140 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
38143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
38144 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
38146 if test "$wx_cv_gcc_pch_bug" = yes; then
38151 # Find a good install program. We prefer a C program (faster),
38152 # so one script is as good as another. But avoid the broken or
38153 # incompatible versions:
38154 # SysV /etc/install, /usr/sbin/install
38155 # SunOS /usr/etc/install
38156 # IRIX /sbin/install
38158 # AmigaOS /C/install, which installs bootblocks on floppy discs
38159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38162 # OS/2's system install, which has a completely different semantic
38163 # ./install, which can be erroneously created by make from ./install.sh.
38164 # Reject install programs that cannot install multiple files.
38165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
38166 $as_echo_n "checking for a BSD-compatible install... " >&6; }
38167 if test -z "$INSTALL"; then
38168 if ${ac_cv_path_install+:} false
; then :
38169 $as_echo_n "(cached) " >&6
38171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38172 for as_dir
in $PATH
38175 test -z "$as_dir" && as_dir
=.
38176 # Account for people who put trailing slashes in PATH elements.
38177 case $as_dir/ in #((
38178 .
/ | .
// | /[cC
]/* | \
38179 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38180 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
38183 # OSF1 and SCO ODT 3.0 have their own names for install.
38184 # Don't use installbsd from OSF since it installs stuff as root
38186 for ac_prog
in ginstall scoinst
install; do
38187 for ac_exec_ext
in '' $ac_executable_extensions; do
38188 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
38189 if test $ac_prog = install &&
38190 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38191 # AIX install. It has an incompatible calling convention.
38193 elif test $ac_prog = install &&
38194 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38195 # program-specific install script used by HP pwplus--don't use.
38198 rm -rf conftest.one conftest.two conftest.dir
38199 echo one
> conftest.one
38200 echo two
> conftest.two
38202 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
38203 test -s conftest.one
&& test -s conftest.two
&&
38204 test -s conftest.dir
/conftest.one
&&
38205 test -s conftest.dir
/conftest.two
38207 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38220 rm -rf conftest.one conftest.two conftest.dir
38223 if test "${ac_cv_path_install+set}" = set; then
38224 INSTALL
=$ac_cv_path_install
38226 # As a last resort, use the slow shell script. Don't cache a
38227 # value for INSTALL within a source directory, because that will
38228 # break other packages using the cache if that directory is
38229 # removed, or if the value is a relative name.
38230 INSTALL
=$ac_install_sh
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38234 $as_echo "$INSTALL" >&6; }
38236 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38237 # It thinks the first close brace ends the variable substitution.
38238 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38240 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38242 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38250 if test "x$BAKEFILE_HOST" = "x"; then
38251 if test "x${host}" = "x" ; then
38252 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38255 BAKEFILE_HOST
="${host}"
38258 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38260 if test -n "$ac_tool_prefix"; then
38261 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38262 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38264 $as_echo_n "checking for $ac_word... " >&6; }
38265 if ${ac_cv_prog_RANLIB+:} false
; then :
38266 $as_echo_n "(cached) " >&6
38268 if test -n "$RANLIB"; then
38269 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38272 for as_dir
in $PATH
38275 test -z "$as_dir" && as_dir
=.
38276 for ac_exec_ext
in '' $ac_executable_extensions; do
38277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38278 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38288 RANLIB
=$ac_cv_prog_RANLIB
38289 if test -n "$RANLIB"; then
38290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38291 $as_echo "$RANLIB" >&6; }
38293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38294 $as_echo "no" >&6; }
38299 if test -z "$ac_cv_prog_RANLIB"; then
38300 ac_ct_RANLIB
=$RANLIB
38301 # Extract the first word of "ranlib", so it can be a program name with args.
38302 set dummy ranlib
; ac_word
=$2
38303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38304 $as_echo_n "checking for $ac_word... " >&6; }
38305 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
38306 $as_echo_n "(cached) " >&6
38308 if test -n "$ac_ct_RANLIB"; then
38309 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38312 for as_dir
in $PATH
38315 test -z "$as_dir" && as_dir
=.
38316 for ac_exec_ext
in '' $ac_executable_extensions; do
38317 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38318 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38328 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38329 if test -n "$ac_ct_RANLIB"; then
38330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38331 $as_echo "$ac_ct_RANLIB" >&6; }
38333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38334 $as_echo "no" >&6; }
38337 if test "x$ac_ct_RANLIB" = x
; then
38340 case $cross_compiling:$ac_tool_warned in
38342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38344 ac_tool_warned
=yes ;;
38346 RANLIB
=$ac_ct_RANLIB
38349 RANLIB
="$ac_cv_prog_RANLIB"
38353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38354 $as_echo_n "checking whether ln -s works... " >&6; }
38356 if test "$LN_S" = "ln -s"; then
38357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38358 $as_echo "yes" >&6; }
38360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38361 $as_echo "no, using $LN_S" >&6; }
38365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38366 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38368 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38369 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
38370 $as_echo_n "(cached) " >&6
38372 cat >conftest.
make <<\_ACEOF
38375 @
echo '@@@%%%=$(MAKE)=@@@%%%'
38377 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38378 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38379 *@@@
%%%=?
*=@@@
%%%*)
38380 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
38382 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
38384 rm -f conftest.
make
38386 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
38387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38388 $as_echo "yes" >&6; }
38391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38392 $as_echo "no" >&6; }
38393 SET_MAKE
="MAKE=${MAKE-make}"
38398 if test "x$SUNCXX" = "xyes"; then
38400 AROPTIONS
="-xar -o"
38402 elif test "x$SGICC" = "xyes"; then
38407 if test -n "$ac_tool_prefix"; then
38408 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38409 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38411 $as_echo_n "checking for $ac_word... " >&6; }
38412 if ${ac_cv_prog_AR+:} false
; then :
38413 $as_echo_n "(cached) " >&6
38415 if test -n "$AR"; then
38416 ac_cv_prog_AR
="$AR" # Let the user override the test.
38418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38419 for as_dir
in $PATH
38422 test -z "$as_dir" && as_dir
=.
38423 for ac_exec_ext
in '' $ac_executable_extensions; do
38424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38425 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38436 if test -n "$AR"; then
38437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38438 $as_echo "$AR" >&6; }
38440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38441 $as_echo "no" >&6; }
38446 if test -z "$ac_cv_prog_AR"; then
38448 # Extract the first word of "ar", so it can be a program name with args.
38449 set dummy
ar; ac_word
=$2
38450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38451 $as_echo_n "checking for $ac_word... " >&6; }
38452 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
38453 $as_echo_n "(cached) " >&6
38455 if test -n "$ac_ct_AR"; then
38456 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38459 for as_dir
in $PATH
38462 test -z "$as_dir" && as_dir
=.
38463 for ac_exec_ext
in '' $ac_executable_extensions; do
38464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38465 ac_cv_prog_ac_ct_AR
="ar"
38466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38475 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38476 if test -n "$ac_ct_AR"; then
38477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38478 $as_echo "$ac_ct_AR" >&6; }
38480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38481 $as_echo "no" >&6; }
38484 if test "x$ac_ct_AR" = x
; then
38487 case $cross_compiling:$ac_tool_warned in
38489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38491 ac_tool_warned
=yes ;;
38496 AR
="$ac_cv_prog_AR"
38503 if test -n "$ac_tool_prefix"; then
38504 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38505 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38507 $as_echo_n "checking for $ac_word... " >&6; }
38508 if ${ac_cv_prog_STRIP+:} false
; then :
38509 $as_echo_n "(cached) " >&6
38511 if test -n "$STRIP"; then
38512 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38515 for as_dir
in $PATH
38518 test -z "$as_dir" && as_dir
=.
38519 for ac_exec_ext
in '' $ac_executable_extensions; do
38520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38521 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38531 STRIP
=$ac_cv_prog_STRIP
38532 if test -n "$STRIP"; then
38533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38534 $as_echo "$STRIP" >&6; }
38536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38537 $as_echo "no" >&6; }
38542 if test -z "$ac_cv_prog_STRIP"; then
38544 # Extract the first word of "strip", so it can be a program name with args.
38545 set dummy strip
; ac_word
=$2
38546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38547 $as_echo_n "checking for $ac_word... " >&6; }
38548 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
38549 $as_echo_n "(cached) " >&6
38551 if test -n "$ac_ct_STRIP"; then
38552 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38555 for as_dir
in $PATH
38558 test -z "$as_dir" && as_dir
=.
38559 for ac_exec_ext
in '' $ac_executable_extensions; do
38560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38561 ac_cv_prog_ac_ct_STRIP
="strip"
38562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38571 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38572 if test -n "$ac_ct_STRIP"; then
38573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38574 $as_echo "$ac_ct_STRIP" >&6; }
38576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38577 $as_echo "no" >&6; }
38580 if test "x$ac_ct_STRIP" = x
; then
38583 case $cross_compiling:$ac_tool_warned in
38585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38587 ac_tool_warned
=yes ;;
38592 STRIP
="$ac_cv_prog_STRIP"
38595 if test -n "$ac_tool_prefix"; then
38596 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38597 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38599 $as_echo_n "checking for $ac_word... " >&6; }
38600 if ${ac_cv_prog_NM+:} false
; then :
38601 $as_echo_n "(cached) " >&6
38603 if test -n "$NM"; then
38604 ac_cv_prog_NM
="$NM" # Let the user override the test.
38606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38607 for as_dir
in $PATH
38610 test -z "$as_dir" && as_dir
=.
38611 for ac_exec_ext
in '' $ac_executable_extensions; do
38612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38613 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38624 if test -n "$NM"; then
38625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38626 $as_echo "$NM" >&6; }
38628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38629 $as_echo "no" >&6; }
38634 if test -z "$ac_cv_prog_NM"; then
38636 # Extract the first word of "nm", so it can be a program name with args.
38637 set dummy nm
; ac_word
=$2
38638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38639 $as_echo_n "checking for $ac_word... " >&6; }
38640 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
38641 $as_echo_n "(cached) " >&6
38643 if test -n "$ac_ct_NM"; then
38644 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38647 for as_dir
in $PATH
38650 test -z "$as_dir" && as_dir
=.
38651 for ac_exec_ext
in '' $ac_executable_extensions; do
38652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38653 ac_cv_prog_ac_ct_NM
="nm"
38654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38663 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38664 if test -n "$ac_ct_NM"; then
38665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38666 $as_echo "$ac_ct_NM" >&6; }
38668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38669 $as_echo "no" >&6; }
38672 if test "x$ac_ct_NM" = x
; then
38675 case $cross_compiling:$ac_tool_warned in
38677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38679 ac_tool_warned
=yes ;;
38684 NM
="$ac_cv_prog_NM"
38688 INSTALL_DIR
="mkdir -p"
38692 case ${BAKEFILE_HOST} in
38693 *-*-cygwin* | *-*-mingw32* )
38694 LDFLAGS_GUI
="-mwindows"
38700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38701 $as_echo_n "checking if make is GNU make... " >&6; }
38702 if ${bakefile_cv_prog_makeisgnu+:} false
; then :
38703 $as_echo_n "(cached) " >&6
38706 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38707 egrep -s GNU
> /dev
/null
); then
38708 bakefile_cv_prog_makeisgnu
="yes"
38710 bakefile_cv_prog_makeisgnu
="no"
38714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38715 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38717 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38734 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38735 case "${BAKEFILE_HOST}" in
38742 *-pc-os2_emx | *-pc-os2-emx )
38752 powerpc
-apple-macos* )
38761 case "$BAKEFILE_FORCE_PLATFORM" in
38782 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38797 # Check whether --enable-omf was given.
38798 if test "${enable_omf+set}" = set; then :
38799 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38803 case "${BAKEFILE_HOST}" in
38805 if test "x$GCC" = "xyes"; then
38806 CFLAGS
="$CFLAGS -fno-common"
38807 CXXFLAGS
="$CXXFLAGS -fno-common"
38809 if test "x$XLCC" = "xyes"; then
38810 CFLAGS
="$CFLAGS -qnocommon"
38811 CXXFLAGS
="$CXXFLAGS -qnocommon"
38815 *-pc-os2_emx | *-pc-os2-emx )
38816 if test "x$bk_os2_use_omf" = "xyes" ; then
38819 LDFLAGS
="-Zomf $LDFLAGS"
38820 CFLAGS
="-Zomf $CFLAGS"
38821 CXXFLAGS
="-Zomf $CXXFLAGS"
38829 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38835 SO_SUFFIX_MODULE
="so"
38840 DLLPREFIX_MODULE
=""
38844 case "${BAKEFILE_HOST}" in
38849 SO_SUFFIX_MODULE
="sl"
38853 SO_SUFFIX_MODULE
="a"
38857 SO_SUFFIX_MODULE
="dll"
38858 DLLIMP_SUFFIX
="dll.a"
38865 SO_SUFFIX_MODULE
="dll"
38866 DLLIMP_SUFFIX
="dll.a"
38876 *-pc-os2_emx | *-pc-os2-emx )
38878 SO_SUFFIX_MODULE
="dll"
38879 DLLIMP_SUFFIX
=$OS2_LIBEXT
38883 LIBEXT
=".$OS2_LIBEXT"
38888 SO_SUFFIX_MODULE
="bundle"
38892 if test "x$DLLIMP_SUFFIX" = "x" ; then
38893 DLLIMP_SUFFIX
="$SO_SUFFIX"
38908 if test "x$GCC" = "xyes"; then
38912 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38913 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38916 case "${BAKEFILE_HOST}" in
38918 if test "x$GCC" != "xyes"; then
38919 LDFLAGS
="$LDFLAGS -L/usr/lib"
38921 SHARED_LD_CC
="${CC} -b -o"
38922 SHARED_LD_CXX
="${CXX} -b -o"
38928 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38930 elif test "x$SUNCXX" = "xyes"; then
38931 SHARED_LD_CC
="${CC} -G -o"
38932 SHARED_LD_CXX
="${CXX} -G -o"
38938 if test "x$SUNCXX" = xyes
; then
38939 SHARED_LD_CC
="${CC} -G -o"
38940 SHARED_LD_CXX
="${CXX} -G -o"
38948 cat <<EOF >shared-ld-sh
38950 #-----------------------------------------------------------------------------
38951 #-- Name: distrib/mac/shared-ld-sh
38952 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38953 #-- Author: Gilles Depeyrot
38954 #-- Copyright: (c) 2002 Gilles Depeyrot
38955 #-- Licence: any use permitted
38956 #-----------------------------------------------------------------------------
38961 linking_flag="-dynamiclib"
38962 ldargs="-r -keep_private_externs -nostdlib"
38964 if test "x${D}CXX" = "x"; then
38968 while test ${D}# -gt 0; do
38975 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38976 # collect these options and values
38977 args="${D}{args} ${D}1 ${D}2"
38982 # collect these options and values
38983 ldargs="${D}{ldargs} ${D}1 ${D}2"
38988 # collect these load args
38989 ldargs="${D}{ldargs} ${D}1"
38992 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38993 # collect these options
38994 args="${D}{args} ${D}1"
38997 -dynamiclib|-bundle)
38998 linking_flag="${D}1"
39002 echo "shared-ld: unhandled option '${D}1'"
39006 *.o | *.a | *.dylib)
39007 # collect object files
39008 objects="${D}{objects} ${D}1"
39012 echo "shared-ld: unhandled argument '${D}1'"
39023 # Link one module containing all the others
39025 if test ${D}{verbose} = 1; then
39026 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
39028 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
39032 # Link the shared library from the single module created, but only if the
39033 # previous command didn't fail:
39035 if test ${D}{status} = 0; then
39036 if test ${D}{verbose} = 1; then
39037 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39039 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39044 # Remove intermediate module
39046 rm -f master.${D}${D}.o
39051 chmod +x shared
-ld-sh
39053 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39054 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
39057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
39058 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
39059 if ${bakefile_cv_gcc31+:} false
; then :
39060 $as_echo_n "(cached) " >&6
39063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39064 /* end confdefs.h. */
39070 #if (__GNUC__ < 3) || \
39071 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39079 if ac_fn_c_try_compile
"$LINENO"; then :
39081 bakefile_cv_gcc31
=yes
39085 bakefile_cv_gcc31
=no
39089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
39093 $as_echo "$bakefile_cv_gcc31" >&6; }
39094 if test "$bakefile_cv_gcc31" = "no"; then
39095 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39096 SHARED_LD_CXX
="$SHARED_LD_CC"
39098 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39099 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39102 if test "x$GCC" == "xyes"; then
39103 PIC_FLAG
="-dynamic -fPIC"
39105 if test "x$XLCC" = "xyes"; then
39106 PIC_FLAG
="-dynamic -DPIC"
39111 if test "x$GCC" = "xyes"; then
39114 case "${BAKEFILE_HOST}" in
39116 LD_EXPFULL
="-Wl,-bexpfull"
39120 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
39121 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
39123 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39124 set dummy makeC
++SharedLib
; ac_word
=$2
39125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39126 $as_echo_n "checking for $ac_word... " >&6; }
39127 if ${ac_cv_prog_AIX_CXX_LD+:} false
; then :
39128 $as_echo_n "(cached) " >&6
39130 if test -n "$AIX_CXX_LD"; then
39131 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39134 for as_dir
in $PATH
39137 test -z "$as_dir" && as_dir
=.
39138 for ac_exec_ext
in '' $ac_executable_extensions; do
39139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39140 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39148 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39151 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39152 if test -n "$AIX_CXX_LD"; then
39153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
39154 $as_echo "$AIX_CXX_LD" >&6; }
39156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39157 $as_echo "no" >&6; }
39161 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39162 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39167 SHARED_LD_CC
="${LD} -nostart -o"
39168 SHARED_LD_CXX
="${LD} -nostart -o"
39172 if test "x$GCC" != "xyes"; then
39177 *-*-cygwin* | *-*-mingw32* )
39179 SHARED_LD_CC
="\$(CC) -shared -o"
39180 SHARED_LD_CXX
="\$(CXX) -shared -o"
39184 *-pc-os2_emx | *-pc-os2-emx )
39185 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39186 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39190 cat <<EOF >dllar.sh
39193 # dllar - a tool to build both a .dll and an .a file
39194 # from a set of object (.o) files for EMX/OS2.
39196 # Written by Andrew Zabolotny, bit@freya.etu.ru
39197 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39199 # This script will accept a set of files on the command line.
39200 # All the public symbols from the .o files will be exported into
39201 # a .DEF file, then linker will be run (through gcc) against them to
39202 # build a shared library consisting of all given .o files. All libraries
39203 # (.a) will be first decompressed into component .o files then act as
39204 # described above. You can optionally give a description (-d "description")
39205 # which will be put into .DLL. To see the list of accepted options (as well
39206 # as command-line format) simply run this program without options. The .DLL
39207 # is built to be imported by name (there is no guarantee that new versions
39208 # of the library you build will have same ordinals for same symbols).
39210 # dllar is free software; you can redistribute it and/or modify
39211 # it under the terms of the GNU General Public License as published by
39212 # the Free Software Foundation; either version 2, or (at your option)
39213 # any later version.
39215 # dllar is distributed in the hope that it will be useful,
39216 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39217 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39218 # GNU General Public License for more details.
39220 # You should have received a copy of the GNU General Public License
39221 # along with dllar; see the file COPYING. If not, write to the Free
39222 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39225 # To successfuly run this program you will need:
39226 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39227 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39229 # (used to build the .dll)
39231 # (used to create .def file from .o files)
39233 # (used to create .a file from .def file)
39234 # - GNU text utilites (cat, sort, uniq)
39235 # used to process emxexp output
39236 # - GNU file utilities (mv, rm)
39238 # - lxlite (optional, see flag below)
39239 # (used for general .dll cleanup)
39246 # basnam, variant of basename, which does _not_ remove the path, _iff_
39247 # second argument (suffix to remove) is given
39251 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39254 echo ${D}1 | sed 's/'${D}2'${D}//'
39257 echo "error in basnam ${D}*"
39263 # Cleanup temporary files and output
39266 for i in ${D}inputFiles ; do
39269 rm -rf \`basnam ${D}i !\`
39276 # Kill result in case of failure as there is just to many stupid make/nmake
39277 # things out there which doesn't do this.
39278 if [ ${D}# -eq 0 ]; then
39279 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39283 # Print usage and exit script with rc=1.
39285 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39286 echo ' [-name-mangler-script script.sh]'
39287 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39288 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39289 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39290 echo ' [*.o] [*.a]'
39291 echo '*> "output_file" should have no extension.'
39292 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39293 echo ' The import library name is derived from this and is set to "name".a,'
39294 echo ' unless overridden by -import'
39295 echo '*> "importlib_name" should have no extension.'
39296 echo ' If it has the .o, or .a extension, it is automatically removed.'
39297 echo ' This name is used as the import library name and may be longer and'
39298 echo ' more descriptive than the DLL name which has to follow the old '
39299 echo ' 8.3 convention of FAT.'
39300 echo '*> "script.sh may be given to override the output_file name by a'
39301 echo ' different name. It is mainly useful if the regular make process'
39302 echo ' of some package does not take into account OS/2 restriction of'
39303 echo ' DLL name lengths. It takes the importlib name as input and is'
39304 echo ' supposed to procude a shorter name as output. The script should'
39305 echo ' expect to get importlib_name without extension and should produce'
39306 echo ' a (max.) 8 letter name without extension.'
39307 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39308 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39309 echo ' These flags will be put at the start of GCC command line.'
39310 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39311 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39312 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39313 echo ' If the last character of a symbol is "*", all symbols beginning'
39314 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39315 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39316 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39317 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39318 echo ' C runtime DLLs.'
39319 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39320 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39321 echo ' unchanged to GCC at the end of command line.'
39322 echo '*> If you create a DLL from a library and you do not specify -o,'
39323 echo ' the basename for DLL and import library will be set to library name,'
39324 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39325 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39326 echo ' library will be renamed into gcc_s.a.'
39329 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39330 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39335 # Execute a command.
39336 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39337 # @Uses Whatever CleanUp() uses.
39343 if [ ${D}rcCmd -ne 0 ]; then
39344 echo "command failed, exit code="${D}rcCmd
39359 CFLAGS="-s -Zcrtdll"
39361 EXPORT_BY_ORDINALS=0
39366 case ${D}curDirS in
39370 curDirS=${D}{curDirS}"/"
39373 # Parse commandline
39376 while [ ${D}1 ]; do
39379 EXPORT_BY_ORDINALS=1;
39389 -name-mangler-script)
39410 exclude_symbols=${D}{exclude_symbols}${D}1" "
39414 library_flags=${D}{library_flags}${D}1" "
39433 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39436 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39437 if [ ${D}omfLinking -eq 1 ]; then
39438 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39440 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39445 if [ ${D}libsToLink -ne 0 ]; then
39446 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39448 for file in ${D}1 ; do
39449 if [ -f ${D}file ]; then
39450 inputFiles="${D}{inputFiles} ${D}file"
39454 if [ ${D}found -eq 0 ]; then
39455 echo "ERROR: No file(s) found: "${D}1
39462 done # iterate cmdline words
39465 if [ -z "${D}inputFiles" ]; then
39466 echo "dllar: no input files"
39470 # Now extract all .o files from .a files
39472 for file in ${D}inputFiles ; do
39483 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39488 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39490 if [ ${D}? -ne 0 ]; then
39491 echo "Failed to create subdirectory ./${D}dirname"
39495 # Append '!' to indicate archive
39496 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39497 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39500 for subfile in ${D}dirname/*.o* ; do
39501 if [ -f ${D}subfile ]; then
39503 if [ -s ${D}subfile ]; then
39504 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39505 newInputFiles="${D}newInputFiles ${D}subfile"
39509 if [ ${D}found -eq 0 ]; then
39510 echo "WARNING: there are no files in archive \\'${D}file\\'"
39514 newInputFiles="${D}{newInputFiles} ${D}file"
39518 inputFiles="${D}newInputFiles"
39520 # Output filename(s).
39522 if [ -z ${D}outFile ]; then
39524 set outFile ${D}inputFiles; outFile=${D}2
39527 # If it is an archive, remove the '!' and the '_%' suffixes
39528 case ${D}outFile in
39530 outFile=\`basnam ${D}outFile _%!\`
39535 case ${D}outFile in
39537 outFile=\`basnam ${D}outFile .dll\`
39540 outFile=\`basnam ${D}outFile .DLL\`
39543 outFile=\`basnam ${D}outFile .o\`
39546 outFile=\`basnam ${D}outFile .obj\`
39549 outFile=\`basnam ${D}outFile .a\`
39552 outFile=\`basnam ${D}outFile .lib\`
39557 case ${D}outimpFile in
39559 outimpFile=\`basnam ${D}outimpFile .a\`
39562 outimpFile=\`basnam ${D}outimpFile .lib\`
39567 if [ -z ${D}outimpFile ]; then
39568 outimpFile=${D}outFile
39570 defFile="${D}{outFile}.def"
39571 arcFile="${D}{outimpFile}.a"
39572 arcFile2="${D}{outimpFile}.lib"
39574 #create ${D}dllFile as something matching 8.3 restrictions,
39575 if [ -z ${D}renameScript ] ; then
39576 dllFile="${D}outFile"
39578 dllFile=\`${D}renameScript ${D}outimpFile\`
39581 if [ ${D}do_backup -ne 0 ] ; then
39582 if [ -f ${D}arcFile ] ; then
39583 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39585 if [ -f ${D}arcFile2 ] ; then
39586 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39590 # Extract public symbols from all the object files.
39591 tmpdefFile=${D}{defFile}_%
39592 rm -f ${D}tmpdefFile
39593 for file in ${D}inputFiles ; do
39598 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39603 # Create the def file.
39605 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39606 dllFile="${D}{dllFile}.dll"
39607 if [ ! -z ${D}description ]; then
39608 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39610 echo "EXPORTS" >> ${D}defFile
39612 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39613 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39615 # Checks if the export is ok or not.
39616 for word in ${D}exclude_symbols; do
39617 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39618 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39622 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39623 sed "=" < ${D}tmpdefFile | \\
39627 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39629 ' > ${D}{tmpdefFile}%
39630 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39632 rm -f ${D}{tmpdefFile}%
39634 cat ${D}tmpdefFile >> ${D}defFile
39635 rm -f ${D}tmpdefFile
39637 # Do linking, create implib, and apply lxlite.
39639 for file in ${D}inputFiles ; do
39644 gccCmdl="${D}gccCmdl ${D}file"
39648 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39649 touch "${D}{outFile}.dll"
39651 doCommand "emximp -o ${D}arcFile ${D}defFile"
39652 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39654 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39657 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39659 doCommand "emxomf -s -l ${D}arcFile"
39669 powerpc
-apple-macos* | \
39670 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
39680 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
39683 if test "x$PIC_FLAG" != "x" ; then
39684 PIC_FLAG
="$PIC_FLAG -DPIC"
39687 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39688 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39690 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39691 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39706 USE_SOTWOSYMLINKS
=0
39710 case "${BAKEFILE_HOST}" in
39711 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39712 *-*-k*bsd
*-gnu | *-*-mirbsd* )
39713 if test "x$SUNCXX" = "xyes"; then
39716 SONAME_FLAG
="-Wl,-soname,"
39720 USE_SOTWOSYMLINKS
=1
39732 USE_SOTWOSYMLINKS
=1
39750 # Check whether --enable-dependency-tracking was given.
39751 if test "${enable_dependency_tracking+set}" = set; then :
39752 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39757 $as_echo_n "checking for dependency tracking method... " >&6; }
39760 if test "x$bk_use_trackdeps" = "xno" ; then
39762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39763 $as_echo "disabled" >&6; }
39767 if test "x$GCC" = "xyes"; then
39770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39771 $as_echo "gcc" >&6; }
39772 elif test "x$MWCC" = "xyes"; then
39775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39776 $as_echo "mwcc" >&6; }
39777 elif test "x$SUNCC" = "xyes"; then
39780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39781 $as_echo "Sun cc" >&6; }
39782 elif test "x$SGICC" = "xyes"; then
39785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39786 $as_echo "SGI cc" >&6; }
39787 elif test "x$HPCC" = "xyes"; then
39790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39791 $as_echo "HP cc" >&6; }
39792 elif test "x$COMPAQCC" = "xyes"; then
39795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39796 $as_echo "Compaq cc" >&6; }
39799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39800 $as_echo "none" >&6; }
39803 if test $DEPS_TRACKING = 1 ; then
39809 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39810 # script. It is used to track C/C++ files dependencies in portable way.
39812 # Permission is given to use this file in any way.
39814 DEPSMODE=${DEPSMODE}
39815 DEPSFLAG="${DEPSFLAG}"
39818 if test ${D}DEPSMODE = gcc ; then
39819 ${D}* ${D}{DEPSFLAG}
39822 # determine location of created files:
39823 while test ${D}# -gt 0; do
39837 objfilebase=\`basename ${D}objfile\`
39838 builddir=\`dirname ${D}objfile\`
39839 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39840 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39841 depsdir=${D}builddir/${D}DEPSDIRBASE
39842 mkdir -p ${D}depsdir
39844 # if the compiler failed, we're done:
39845 if test ${D}{status} != 0 ; then
39850 # move created file to the location we want it in:
39851 if test -f ${D}depfile ; then
39852 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39855 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39856 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39857 if test ! -f ${D}depfile ; then
39858 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39859 depfile="${D}objfile.d"
39861 if test -f ${D}depfile ; then
39862 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39868 elif test ${D}DEPSMODE = mwcc ; then
39869 ${D}* || exit ${D}?
39870 # Run mwcc again with -MM and redirect into the dep file we want
39871 # NOTE: We can't use shift here because we need ${D}* to be valid
39873 for arg in ${D}* ; do
39874 if test "${D}prevarg" = "-o"; then
39888 objfilebase=\`basename ${D}objfile\`
39889 builddir=\`dirname ${D}objfile\`
39890 depsdir=${D}builddir/${D}DEPSDIRBASE
39891 mkdir -p ${D}depsdir
39893 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39896 elif test ${D}DEPSMODE = unixcc; then
39897 ${D}* || exit ${D}?
39898 # Run compiler again with deps flag and redirect into the dep file.
39899 # It doesn't work if the '-o FILE' option is used, but without it the
39900 # dependency file will contain the wrong name for the object. So it is
39901 # removed from the command line, and the dep file is fixed with sed.
39903 while test ${D}# -gt 0; do
39910 eval arg${D}#=\\${D}1
39911 cmd="${D}cmd \\${D}arg${D}#"
39917 objfilebase=\`basename ${D}objfile\`
39918 builddir=\`dirname ${D}objfile\`
39919 depsdir=${D}builddir/${D}DEPSDIRBASE
39920 mkdir -p ${D}depsdir
39922 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39932 BK_DEPS
="`pwd`/bk-deps"
39940 case ${BAKEFILE_HOST} in
39941 *-*-cygwin* | *-*-mingw32* )
39942 if test -n "$ac_tool_prefix"; then
39943 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39944 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39946 $as_echo_n "checking for $ac_word... " >&6; }
39947 if ${ac_cv_prog_WINDRES+:} false
; then :
39948 $as_echo_n "(cached) " >&6
39950 if test -n "$WINDRES"; then
39951 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39954 for as_dir
in $PATH
39957 test -z "$as_dir" && as_dir
=.
39958 for ac_exec_ext
in '' $ac_executable_extensions; do
39959 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39960 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39970 WINDRES
=$ac_cv_prog_WINDRES
39971 if test -n "$WINDRES"; then
39972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39973 $as_echo "$WINDRES" >&6; }
39975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39976 $as_echo "no" >&6; }
39981 if test -z "$ac_cv_prog_WINDRES"; then
39982 ac_ct_WINDRES
=$WINDRES
39983 # Extract the first word of "windres", so it can be a program name with args.
39984 set dummy windres
; ac_word
=$2
39985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39986 $as_echo_n "checking for $ac_word... " >&6; }
39987 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
39988 $as_echo_n "(cached) " >&6
39990 if test -n "$ac_ct_WINDRES"; then
39991 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39994 for as_dir
in $PATH
39997 test -z "$as_dir" && as_dir
=.
39998 for ac_exec_ext
in '' $ac_executable_extensions; do
39999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40000 ac_cv_prog_ac_ct_WINDRES
="windres"
40001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40010 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
40011 if test -n "$ac_ct_WINDRES"; then
40012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
40013 $as_echo "$ac_ct_WINDRES" >&6; }
40015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40016 $as_echo "no" >&6; }
40019 if test "x$ac_ct_WINDRES" = x
; then
40022 case $cross_compiling:$ac_tool_warned in
40024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
40025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
40026 ac_tool_warned
=yes ;;
40028 WINDRES
=$ac_ct_WINDRES
40031 WINDRES
="$ac_cv_prog_WINDRES"
40036 *-*-darwin* | powerpc
-apple-macos* )
40037 # Extract the first word of "Rez", so it can be a program name with args.
40038 set dummy Rez
; ac_word
=$2
40039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40040 $as_echo_n "checking for $ac_word... " >&6; }
40041 if ${ac_cv_prog_REZ+:} false
; then :
40042 $as_echo_n "(cached) " >&6
40044 if test -n "$REZ"; then
40045 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
40047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40048 for as_dir
in $PATH
40051 test -z "$as_dir" && as_dir
=.
40052 for ac_exec_ext
in '' $ac_executable_extensions; do
40053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40054 ac_cv_prog_REZ
="Rez"
40055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40062 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
40065 REZ
=$ac_cv_prog_REZ
40066 if test -n "$REZ"; then
40067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
40068 $as_echo "$REZ" >&6; }
40070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40071 $as_echo "no" >&6; }
40075 # Extract the first word of "SetFile", so it can be a program name with args.
40076 set dummy SetFile
; ac_word
=$2
40077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40078 $as_echo_n "checking for $ac_word... " >&6; }
40079 if ${ac_cv_prog_SETFILE+:} false
; then :
40080 $as_echo_n "(cached) " >&6
40082 if test -n "$SETFILE"; then
40083 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40086 for as_dir
in $PATH
40089 test -z "$as_dir" && as_dir
=.
40090 for ac_exec_ext
in '' $ac_executable_extensions; do
40091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40092 ac_cv_prog_SETFILE
="SetFile"
40093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40100 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40103 SETFILE
=$ac_cv_prog_SETFILE
40104 if test -n "$SETFILE"; then
40105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
40106 $as_echo "$SETFILE" >&6; }
40108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40109 $as_echo "no" >&6; }
40124 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
40127 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
40131 # Check whether --enable-precomp-headers was given.
40132 if test "${enable_precomp_headers+set}" = set; then :
40133 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
40142 case ${BAKEFILE_HOST} in
40148 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40149 if test "x$GCC" = "xyes"; then
40150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
40151 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
40152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40153 /* end confdefs.h. */
40159 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40160 There is no PCH support
40163 There is no PCH support
40165 #if (__GNUC__ == 3) && \
40166 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40167 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
40168 ( defined(__INTEL_COMPILER) )
40169 There is no PCH support
40176 if ac_fn_c_try_compile
"$LINENO"; then :
40178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40179 $as_echo "yes" >&6; }
40184 if test "$INTELCXX8" = "yes"; then
40185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40186 $as_echo "yes" >&6; }
40188 if test "$INTELCXX10" = "yes"; then
40189 ICC_PCH_CREATE_SWITCH
="-pch-create"
40190 ICC_PCH_USE_SWITCH
="-pch-use"
40192 ICC_PCH_CREATE_SWITCH
="-create-pch"
40193 ICC_PCH_USE_SWITCH
="-use-pch"
40196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40197 $as_echo "no" >&6; }
40201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40202 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40206 cat <<EOF >bk-make-pch
40209 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40210 # script. It is used to generated precompiled headers.
40212 # Permission is given to use this file in any way.
40219 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40224 while test ${D}{#} -gt 0; do
40228 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40229 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40230 headerfile="${D}{incdir}/${D}{header}"
40233 -use-pch|-use_pch|-pch-use )
40238 if test ${D}add_to_cmdline = 1 ; then
40239 compiler="${D}{compiler} ${D}{1}"
40244 if test "x${D}{headerfile}" = "x" ; then
40245 echo "error: can't find header ${D}{header} in include paths" >&2
40247 if test -f ${D}{outfile} ; then
40248 rm -f ${D}{outfile}
40250 mkdir -p \`dirname ${D}{outfile}\`
40252 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40253 mkdir -p ${D}{builddir}/.deps
40254 if test "x${GCC_PCH}" = "x1" ; then
40255 # can do this because gcc is >= 3.4:
40256 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40257 elif test "x${ICC_PCH}" = "x1" ; then
40258 filename=pch_gen-${D}${D}
40259 file=${D}{filename}.c
40260 dfile=${D}{filename}.d
40261 cat > ${D}file <<EOT
40262 #include "${D}header"
40264 # using -MF icc complains about differing command lines in creation/use
40265 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40266 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40267 rm -f ${D}file ${D}dfile ${D}{filename}.o
40273 chmod +x bk
-make-pch
40274 BK_MAKE_PCH
="`pwd`/bk-make-pch"
40285 COND_BUILD_debug
="#"
40286 if test "x$BUILD" = "xdebug" ; then
40287 COND_BUILD_debug
=""
40290 COND_BUILD_debug_DEBUG_INFO_default
="#"
40291 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40292 COND_BUILD_debug_DEBUG_INFO_default
=""
40295 COND_BUILD_release
="#"
40296 if test "x$BUILD" = "xrelease" ; then
40297 COND_BUILD_release
=""
40300 COND_BUILD_release_DEBUG_INFO_default
="#"
40301 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40302 COND_BUILD_release_DEBUG_INFO_default
=""
40305 COND_DEBUG_FLAG_0
="#"
40306 if test "x$DEBUG_FLAG" = "x0" ; then
40307 COND_DEBUG_FLAG_0
=""
40310 COND_DEBUG_INFO_0
="#"
40311 if test "x$DEBUG_INFO" = "x0" ; then
40312 COND_DEBUG_INFO_0
=""
40315 COND_DEBUG_INFO_1
="#"
40316 if test "x$DEBUG_INFO" = "x1" ; then
40317 COND_DEBUG_INFO_1
=""
40320 COND_DEPS_TRACKING_0
="#"
40321 if test "x$DEPS_TRACKING" = "x0" ; then
40322 COND_DEPS_TRACKING_0
=""
40325 COND_DEPS_TRACKING_1
="#"
40326 if test "x$DEPS_TRACKING" = "x1" ; then
40327 COND_DEPS_TRACKING_1
=""
40331 if test "x$GCC_PCH" = "x1" ; then
40336 if test "x$ICC_PCH" = "x1" ; then
40340 COND_MONOLITHIC_0
="#"
40341 if test "x$MONOLITHIC" = "x0" ; then
40342 COND_MONOLITHIC_0
=""
40345 COND_MONOLITHIC_0_SHARED_0
="#"
40346 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40347 COND_MONOLITHIC_0_SHARED_0
=""
40350 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
40351 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40352 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
40355 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40356 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40357 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40360 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40361 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40362 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40365 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
40366 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40367 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
40370 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
40371 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40372 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
40375 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
40376 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40377 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
40380 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
40381 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40382 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
40385 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
40386 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40387 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
40390 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
40391 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40392 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
40395 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
40396 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40397 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
40400 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40401 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40402 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40405 COND_MONOLITHIC_0_SHARED_1
="#"
40406 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40407 COND_MONOLITHIC_0_SHARED_1
=""
40410 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
40411 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40412 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
40415 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40416 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40417 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40420 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40421 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40422 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40425 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
40426 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40427 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
40430 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
40431 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40432 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
40435 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
40436 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40437 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
40440 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
40441 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40442 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
40445 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
40446 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40447 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
40450 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
40451 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40452 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
40455 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
40456 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40457 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
40460 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40461 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40462 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40465 COND_MONOLITHIC_0_USE_AUI_1
="#"
40466 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40467 COND_MONOLITHIC_0_USE_AUI_1
=""
40470 COND_MONOLITHIC_0_USE_GUI_1
="#"
40471 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40472 COND_MONOLITHIC_0_USE_GUI_1
=""
40475 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
40476 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40477 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
40480 COND_MONOLITHIC_0_USE_HTML_1
="#"
40481 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40482 COND_MONOLITHIC_0_USE_HTML_1
=""
40485 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
40486 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40487 COND_MONOLITHIC_0_USE_MEDIA_1
=""
40490 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
40491 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40492 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
40495 COND_MONOLITHIC_0_USE_QA_1
="#"
40496 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40497 COND_MONOLITHIC_0_USE_QA_1
=""
40500 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
40501 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40502 COND_MONOLITHIC_0_USE_RIBBON_1
=""
40505 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
40506 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40507 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
40510 COND_MONOLITHIC_0_USE_STC_1
="#"
40511 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40512 COND_MONOLITHIC_0_USE_STC_1
=""
40515 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
40516 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40517 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
40520 COND_MONOLITHIC_0_USE_XRC_1
="#"
40521 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40522 COND_MONOLITHIC_0_USE_XRC_1
=""
40525 COND_MONOLITHIC_1
="#"
40526 if test "x$MONOLITHIC" = "x1" ; then
40527 COND_MONOLITHIC_1
=""
40530 COND_MONOLITHIC_1_SHARED_0
="#"
40531 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40532 COND_MONOLITHIC_1_SHARED_0
=""
40535 COND_MONOLITHIC_1_SHARED_1
="#"
40536 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40537 COND_MONOLITHIC_1_SHARED_1
=""
40540 COND_MONOLITHIC_1_USE_STC_1
="#"
40541 if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
40542 COND_MONOLITHIC_1_USE_STC_1
=""
40545 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40546 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40547 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40550 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40551 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40552 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40555 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
40556 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40557 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
40560 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40561 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40562 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40565 COND_PLATFORM_MACOSX_1
="#"
40566 if test "x$PLATFORM_MACOSX" = "x1" ; then
40567 COND_PLATFORM_MACOSX_1
=""
40570 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
40571 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40572 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
40575 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
40576 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40577 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
40580 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40581 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40582 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40585 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40586 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40587 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40590 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40591 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40592 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40595 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40596 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40597 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40600 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40601 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40602 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40605 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
40606 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40607 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
40610 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40611 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40612 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40615 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
40616 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40617 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
40620 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40621 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40622 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40625 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40626 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40627 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40630 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40631 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40632 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40635 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
40636 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40637 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
40640 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40641 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40642 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40645 COND_PLATFORM_MAC_0
="#"
40646 if test "x$PLATFORM_MAC" = "x0" ; then
40647 COND_PLATFORM_MAC_0
=""
40650 COND_PLATFORM_MAC_1
="#"
40651 if test "x$PLATFORM_MAC" = "x1" ; then
40652 COND_PLATFORM_MAC_1
=""
40655 COND_PLATFORM_MSDOS_0
="#"
40656 if test "x$PLATFORM_MSDOS" = "x0" ; then
40657 COND_PLATFORM_MSDOS_0
=""
40660 COND_PLATFORM_MSDOS_1
="#"
40661 if test "x$PLATFORM_MSDOS" = "x1" ; then
40662 COND_PLATFORM_MSDOS_1
=""
40665 COND_PLATFORM_OS2_1
="#"
40666 if test "x$PLATFORM_OS2" = "x1" ; then
40667 COND_PLATFORM_OS2_1
=""
40670 COND_PLATFORM_UNIX_0
="#"
40671 if test "x$PLATFORM_UNIX" = "x0" ; then
40672 COND_PLATFORM_UNIX_0
=""
40675 COND_PLATFORM_UNIX_1
="#"
40676 if test "x$PLATFORM_UNIX" = "x1" ; then
40677 COND_PLATFORM_UNIX_1
=""
40680 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40681 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40682 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40685 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40686 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40687 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40690 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40691 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40692 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40695 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40696 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40697 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40700 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40701 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40702 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40705 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40706 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40707 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40710 COND_PLATFORM_WIN32_0
="#"
40711 if test "x$PLATFORM_WIN32" = "x0" ; then
40712 COND_PLATFORM_WIN32_0
=""
40715 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40716 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40717 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40720 COND_PLATFORM_WIN32_1
="#"
40721 if test "x$PLATFORM_WIN32" = "x1" ; then
40722 COND_PLATFORM_WIN32_1
=""
40725 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40726 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40727 COND_PLATFORM_WIN32_1_SHARED_0
=""
40730 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40731 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40732 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40735 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40736 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40737 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40740 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40741 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40742 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40745 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40746 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40747 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40751 if test "x$SHARED" = "x0" ; then
40755 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40756 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40757 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40760 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40761 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40762 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40765 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40766 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40767 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40770 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40771 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40772 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40775 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40776 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40777 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40780 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40781 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40782 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40785 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40786 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40787 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40790 COND_SHARED_0_USE_STC_1
="#"
40791 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40792 COND_SHARED_0_USE_STC_1
=""
40795 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40796 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40797 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40800 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40801 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40802 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40805 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40806 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40807 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40811 if test "x$SHARED" = "x1" ; then
40815 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40816 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40817 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40821 if test "x$TOOLKIT" = "x" ; then
40825 COND_TOOLKIT_COCOA
="#"
40826 if test "x$TOOLKIT" = "xCOCOA" ; then
40827 COND_TOOLKIT_COCOA
=""
40830 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40831 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40832 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40835 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40836 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40837 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40840 COND_TOOLKIT_DFB
="#"
40841 if test "x$TOOLKIT" = "xDFB" ; then
40842 COND_TOOLKIT_DFB
=""
40845 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40846 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40847 COND_TOOLKIT_DFB_USE_GUI_1
=""
40850 COND_TOOLKIT_GTK
="#"
40851 if test "x$TOOLKIT" = "xGTK" ; then
40852 COND_TOOLKIT_GTK
=""
40855 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40856 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40857 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40860 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40861 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40862 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40865 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40866 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40867 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40870 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40871 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40872 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40875 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
="#"
40876 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40877 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
=""
40880 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40881 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40882 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40885 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
="#"
40886 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40887 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
=""
40890 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40891 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40892 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40895 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40896 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40897 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40900 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40901 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40902 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40906 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40911 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40912 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40916 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40917 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40920 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40921 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40922 COND_TOOLKIT_GTK_USE_GUI_1
=""
40925 COND_TOOLKIT_MAC
="#"
40926 if test "x$TOOLKIT" = "xMAC" ; then
40927 COND_TOOLKIT_MAC
=""
40930 COND_TOOLKIT_MOTIF
="#"
40931 if test "x$TOOLKIT" = "xMOTIF" ; then
40932 COND_TOOLKIT_MOTIF
=""
40935 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40936 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40937 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40940 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40941 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40942 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40945 COND_TOOLKIT_MSW
="#"
40946 if test "x$TOOLKIT" = "xMSW" ; then
40947 COND_TOOLKIT_MSW
=""
40950 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40951 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40952 COND_TOOLKIT_MSW_USE_GUI_1
=""
40955 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40956 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40957 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40960 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40961 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40962 COND_TOOLKIT_MSW_WXUNIV_0
=""
40965 COND_TOOLKIT_OSX_CARBON
="#"
40966 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40967 COND_TOOLKIT_OSX_CARBON
=""
40970 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40971 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40972 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40975 COND_TOOLKIT_OSX_COCOA
="#"
40976 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40977 COND_TOOLKIT_OSX_COCOA
=""
40980 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40981 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40982 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40985 COND_TOOLKIT_OSX_IPHONE
="#"
40986 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40987 COND_TOOLKIT_OSX_IPHONE
=""
40990 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40991 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40992 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40995 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40996 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40997 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
41000 COND_TOOLKIT_PM
="#"
41001 if test "x$TOOLKIT" = "xPM" ; then
41005 COND_TOOLKIT_PM_USE_GUI_1
="#"
41006 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41007 COND_TOOLKIT_PM_USE_GUI_1
=""
41010 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41011 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41012 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41015 COND_TOOLKIT_WINCE
="#"
41016 if test "x$TOOLKIT" = "xWINCE" ; then
41017 COND_TOOLKIT_WINCE
=""
41020 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41021 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41022 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41025 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41026 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41027 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41030 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
41031 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
41032 COND_TOOLKIT_WINCE_WXUNIV_0
=""
41035 COND_TOOLKIT_X11
="#"
41036 if test "x$TOOLKIT" = "xX11" ; then
41037 COND_TOOLKIT_X11
=""
41040 COND_TOOLKIT_X11_USE_GUI_1
="#"
41041 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41042 COND_TOOLKIT_X11_USE_GUI_1
=""
41045 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
="#"
41046 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41047 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
=""
41050 COND_TOOLKIT_X11_WXUNIV_1
="#"
41051 if test "x$TOOLKIT" = "xX11" -a "x$WXUNIV" = "x1" ; then
41052 COND_TOOLKIT_X11_WXUNIV_1
=""
41056 if test "x$UNICODE" = "x1" ; then
41060 COND_USE_CAIRO_1
="#"
41061 if test "x$USE_CAIRO" = "x1" ; then
41062 COND_USE_CAIRO_1
=""
41065 COND_USE_EXCEPTIONS_0
="#"
41066 if test "x$USE_EXCEPTIONS" = "x0" ; then
41067 COND_USE_EXCEPTIONS_0
=""
41070 COND_USE_EXCEPTIONS_1
="#"
41071 if test "x$USE_EXCEPTIONS" = "x1" ; then
41072 COND_USE_EXCEPTIONS_1
=""
41076 if test "x$USE_GUI" = "x0" ; then
41081 if test "x$USE_GUI" = "x1" ; then
41085 COND_USE_GUI_1_USE_OPENGL_1
="#"
41086 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41087 COND_USE_GUI_1_USE_OPENGL_1
=""
41090 COND_USE_GUI_1_WXUNIV_0
="#"
41091 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41092 COND_USE_GUI_1_WXUNIV_0
=""
41095 COND_USE_GUI_1_WXUNIV_1
="#"
41096 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41097 COND_USE_GUI_1_WXUNIV_1
=""
41100 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
41101 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41102 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
41105 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
41106 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41107 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
41110 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
41111 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41112 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
41115 COND_USE_OPENGL_1
="#"
41116 if test "x$USE_OPENGL" = "x1" ; then
41117 COND_USE_OPENGL_1
=""
41121 if test "x$USE_PCH" = "x1" ; then
41125 COND_USE_PLUGINS_0
="#"
41126 if test "x$USE_PLUGINS" = "x0" ; then
41127 COND_USE_PLUGINS_0
=""
41130 COND_USE_RTTI_0
="#"
41131 if test "x$USE_RTTI" = "x0" ; then
41135 COND_USE_RTTI_1
="#"
41136 if test "x$USE_RTTI" = "x1" ; then
41140 COND_USE_SOTWOSYMLINKS_1
="#"
41141 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41142 COND_USE_SOTWOSYMLINKS_1
=""
41145 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
41146 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41147 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
41150 COND_USE_SOVERLINUX_1
="#"
41151 if test "x$USE_SOVERLINUX" = "x1" ; then
41152 COND_USE_SOVERLINUX_1
=""
41155 COND_USE_SOVERSION_0
="#"
41156 if test "x$USE_SOVERSION" = "x0" ; then
41157 COND_USE_SOVERSION_0
=""
41160 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
41161 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41162 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
41165 COND_USE_SOVERSOLARIS_1
="#"
41166 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41167 COND_USE_SOVERSOLARIS_1
=""
41171 if test "x$USE_STC" = "x1" ; then
41175 COND_USE_THREADS_0
="#"
41176 if test "x$USE_THREADS" = "x0" ; then
41177 COND_USE_THREADS_0
=""
41180 COND_USE_THREADS_1
="#"
41181 if test "x$USE_THREADS" = "x1" ; then
41182 COND_USE_THREADS_1
=""
41186 if test "x$USE_XRC" = "x1" ; then
41190 COND_WINDOWS_IMPLIB_1
="#"
41191 if test "x$WINDOWS_IMPLIB" = "x1" ; then
41192 COND_WINDOWS_IMPLIB_1
=""
41195 COND_WITH_PLUGIN_SDL_1
="#"
41196 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41197 COND_WITH_PLUGIN_SDL_1
=""
41201 if test "x$WXUNIV" = "x0" ; then
41206 if test "x$WXUNIV" = "x1" ; then
41210 COND_wxUSE_EXPAT_builtin
="#"
41211 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41212 COND_wxUSE_EXPAT_builtin
=""
41215 COND_wxUSE_LIBJPEG_builtin
="#"
41216 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41217 COND_wxUSE_LIBJPEG_builtin
=""
41220 COND_wxUSE_LIBPNG_builtin
="#"
41221 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41222 COND_wxUSE_LIBPNG_builtin
=""
41225 COND_wxUSE_LIBTIFF_builtin
="#"
41226 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41227 COND_wxUSE_LIBTIFF_builtin
=""
41230 COND_wxUSE_REGEX_builtin
="#"
41231 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41232 COND_wxUSE_REGEX_builtin
=""
41235 COND_wxUSE_ZLIB_builtin
="#"
41236 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41237 COND_wxUSE_ZLIB_builtin
=""
41242 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41243 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
41246 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41247 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
41254 ?
:* ) # Drive letter, considered as absolute.
41257 INSTALL
=`pwd`/${INSTALL} ;;
41260 if test "$wxUSE_GUI" = "yes"; then
41262 if test "$wxUSE_MSW" = 1 ; then
41263 if test "x$WINDRES" = "x"; then
41264 as_fn_error $?
"Required windres program not found" "$LINENO" 5
41270 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41271 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41272 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41274 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41276 # Extract the first word of "DeRez", so it can be a program name with args.
41277 set dummy DeRez
; ac_word
=$2
41278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41279 $as_echo_n "checking for $ac_word... " >&6; }
41280 if ${ac_cv_prog_DEREZ+:} false
; then :
41281 $as_echo_n "(cached) " >&6
41283 if test -n "$DEREZ"; then
41284 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
41286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41287 for as_dir
in $PATH
41290 test -z "$as_dir" && as_dir
=.
41291 for ac_exec_ext
in '' $ac_executable_extensions; do
41292 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41293 ac_cv_prog_DEREZ
="DeRez"
41294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41301 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
41304 DEREZ
=$ac_cv_prog_DEREZ
41305 if test -n "$DEREZ"; then
41306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41307 $as_echo "$DEREZ" >&6; }
41309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41310 $as_echo "no" >&6; }
41315 MACSETFILE
="\$(SETFILE)"
41317 if test "$wxUSE_OSX_CARBON" = 1; then
41318 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41320 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
41322 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41323 RESCOMP
="cat /dev/null \| $REZ"
41324 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41330 if test "$wxUSE_PM" = 1; then
41332 WXCONFIG_RESFLAGS
="-ep"
41334 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
41336 POSTLINK_COMMAND
="@true"
41343 if test $GCC_PCH = 1
41345 if test "$wx_cv_gcc_pch_bug" = yes; then
41346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41347 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41349 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41351 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41354 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41355 # the headers that benefit from precompilation are mostly C++ headers.
41356 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
41357 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41358 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41362 if test "$wxUSE_MAC" = 1 ; then
41363 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41364 if test "x$disable_macosx_deps" = "xyes"; then
41365 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
41372 if test "$wxUSE_SHARED" = "yes"; then
41374 *-pc-os2_emx | *-pc-os2-emx )
41375 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41376 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41377 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41378 cp -p ${srcdir}/src
/os
2/dllar.sh .
41382 if test "$wxUSE_OMF" = "yes"; then
41384 *-pc-os2_emx | *-pc-os2-emx )
41385 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
41386 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41387 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41392 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41397 if test "$GCC" = yes; then
41398 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
41399 LIBS
=`echo $LIBS | sed 's/-mt//g'`
41400 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41405 if test "x$SUNCXX" = xyes
; then
41406 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
41407 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
41408 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41413 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
41414 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41415 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
41416 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41418 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41476 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41478 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41479 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
41480 $as_echo_n "(cached) " >&6
41482 cat >conftest.
make <<\_ACEOF
41485 @
echo '@@@%%%=$(MAKE)=@@@%%%'
41487 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41488 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41489 *@@@
%%%=?
*=@@@
%%%*)
41490 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
41492 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
41494 rm -f conftest.
make
41496 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
41497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41498 $as_echo "yes" >&6; }
41501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41502 $as_echo "no" >&6; }
41503 SET_MAKE
="MAKE=${MAKE-make}"
41508 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41511 if test "$USE_WIN32" = 1; then
41512 ac_config_commands
="$ac_config_commands rcdefs.h"
41516 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41519 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41522 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
41525 if test "$wx_cv_version_script" = "yes"; then
41526 ac_config_files
="$ac_config_files version-script"
41529 ac_config_files
="$ac_config_files Makefile"
41532 ac_config_commands
="$ac_config_commands wx-config"
41536 if test "$wxWITH_SUBDIRS" != "no"; then
41537 if test "$wxUSE_GUI" = "yes"; then
41538 SUBDIRS
="samples demos utils"
41540 SUBDIRS
="samples utils"
41545 # Check whether --with-cppunit-prefix was given.
41546 if test "${with_cppunit_prefix+set}" = set; then :
41547 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
41549 cppunit_config_prefix
=""
41553 # Check whether --with-cppunit-exec-prefix was given.
41554 if test "${with_cppunit_exec_prefix+set}" = set; then :
41555 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
41557 cppunit_config_exec_prefix
=""
41561 if test x
$cppunit_config_exec_prefix != x
; then
41562 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41563 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41564 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41567 if test x
$cppunit_config_prefix != x
; then
41568 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41569 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41570 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41574 # Extract the first word of "cppunit-config", so it can be a program name with args.
41575 set dummy cppunit
-config; ac_word
=$2
41576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41577 $as_echo_n "checking for $ac_word... " >&6; }
41578 if ${ac_cv_path_CPPUNIT_CONFIG+:} false
; then :
41579 $as_echo_n "(cached) " >&6
41581 case $CPPUNIT_CONFIG in
41583 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41587 for as_dir
in $PATH
41590 test -z "$as_dir" && as_dir
=.
41591 for ac_exec_ext
in '' $ac_executable_extensions; do
41592 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41593 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41601 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41605 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41606 if test -n "$CPPUNIT_CONFIG"; then
41607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41608 $as_echo "$CPPUNIT_CONFIG" >&6; }
41610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41611 $as_echo "no" >&6; }
41615 cppunit_version_min
=1.8.0
41617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41618 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41620 if test "$CPPUNIT_CONFIG" = "no" ; then
41621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41622 $as_echo "no" >&6; }
41625 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41626 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41627 cppunit_version
=`$CPPUNIT_CONFIG --version`
41629 cppunit_major_version
=`echo $cppunit_version | \
41630 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41631 cppunit_minor_version
=`echo $cppunit_version | \
41632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41633 cppunit_micro_version
=`echo $cppunit_version | \
41634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41636 cppunit_major_min
=`echo $cppunit_version_min | \
41637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41638 cppunit_minor_min
=`echo $cppunit_version_min | \
41639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41640 cppunit_micro_min
=`echo $cppunit_version_min | \
41641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41643 cppunit_version_proper
=`expr \
41644 $cppunit_major_version \> $cppunit_major_min \| \
41645 $cppunit_major_version \= $cppunit_major_min \& \
41646 $cppunit_minor_version \> $cppunit_minor_min \| \
41647 $cppunit_major_version \= $cppunit_major_min \& \
41648 $cppunit_minor_version \= $cppunit_minor_min \& \
41649 $cppunit_micro_version \>= $cppunit_micro_min `
41651 if test "$cppunit_version_proper" = "1" ; then
41652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41653 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41656 $as_echo "no" >&6; }
41661 if test "x$no_cppunit" = x
; then
41662 SUBDIRS
="$SUBDIRS tests"
41673 for subdir
in $SUBDIRS; do
41674 if test -d ${srcdir}/${subdir} ; then
41675 if test "$wxUSE_GUI" = "yes"; then
41676 if test ${subdir} = "samples"; then
41677 makefiles
="samples/Makefile.in $makefiles"
41678 for sample
in $SAMPLES_SUBDIRS; do
41679 if test -d $srcdir/samples
/$sample; then
41680 makefiles
="samples/$sample/Makefile.in $makefiles"
41684 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41685 eval "disabled=\$$disabled_var"
41686 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41687 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41690 if test ${subdir} = "samples"; then
41691 makefiles
="samples/Makefile.in $makefiles"
41692 for sample
in `echo $SAMPLES_SUBDIRS`; do
41693 if test -d $srcdir/samples
/$sample; then
41694 makefiles
="samples/$sample/Makefile.in $makefiles"
41697 elif test ${subdir} = "utils"; then
41699 for util
in ifacecheck
; do
41700 if test -d $srcdir/utils
/$util ; then
41701 makefiles
="utils/$util/src/Makefile.in \
41706 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41710 for mkin
in $makefiles ; do
41711 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41712 ac_config_files
="$ac_config_files $mk"
41718 cat >confcache
<<\_ACEOF
41719 # This file is a shell script that caches the results of configure
41720 # tests run on this system so they can be shared between configure
41721 # scripts and configure runs, see configure's option --config-cache.
41722 # It is not useful on other systems. If it contains results you don't
41723 # want to keep, you may remove or edit it.
41725 # config.status only pays attention to the cache file if you give it
41726 # the --recheck option to rerun configure.
41728 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41729 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41730 # following values.
41734 # The following way of writing the cache mishandles newlines in values,
41735 # but we know of no workaround that is simple, portable, and efficient.
41736 # So, we kill variables containing newlines.
41737 # Ultrix sh set writes to stderr and can't be redirected directly,
41738 # and sets the high bit in the cache file unless we assign to the vars.
41740 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41741 eval ac_val
=\$
$ac_var
41745 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41746 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41749 _
| IFS
| as_nl
) ;; #(
41750 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41751 *) { eval $ac_var=; unset $ac_var;} ;;
41757 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41758 *${as_nl}ac_space
=\
*)
41759 # `set' does not quote correctly, so add quotes: double-quote
41760 # substitution turns \\\\ into \\, and sed turns \\ into \.
41763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41766 # `set' quotes correctly as required by POSIX, so do not add quotes.
41767 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41776 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41778 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41780 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41781 if test -w "$cache_file"; then
41782 if test "x$cache_file" != "x/dev/null"; then
41783 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41784 $as_echo "$as_me: updating cache $cache_file" >&6;}
41785 if test ! -f "$cache_file" || test -h "$cache_file"; then
41786 cat confcache
>"$cache_file"
41788 case $cache_file in #(
41790 mv -f confcache
"$cache_file"$$
&&
41791 mv -f "$cache_file"$$
"$cache_file" ;; #(
41793 mv -f confcache
"$cache_file" ;;
41798 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41799 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41804 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41805 # Let make expand exec_prefix.
41806 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41808 DEFS
=-DHAVE_CONFIG_H
41813 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41814 # 1. Remove the extension, and $U if already installed.
41815 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41816 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41817 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41818 # will be set to the directory where LIBOBJS objects are built.
41819 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41820 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41822 LIBOBJS
=$ac_libobjs
41824 LTLIBOBJS
=$ac_ltlibobjs
41828 : "${CONFIG_STATUS=./config.status}"
41830 ac_clean_files_save
=$ac_clean_files
41831 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41832 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41833 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41835 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41837 # Generated by $as_me.
41838 # Run this file to recreate the current configuration.
41839 # Compiler output produced by configure, useful for debugging
41840 # configure, is in config.log if it exists.
41843 ac_cs_recheck=false
41846 SHELL=\${CONFIG_SHELL-$SHELL}
41849 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41850 ## -------------------- ##
41851 ## M4sh Initialization. ##
41852 ## -------------------- ##
41854 # Be more Bourne compatible
41855 DUALCASE
=1; export DUALCASE
# for MKS sh
41856 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41859 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41860 # is contrary to our usage. Disable this feature.
41861 alias -g '${1+"$@"}'='"$@"'
41862 setopt NO_GLOB_SUBST
41864 case `(set -o) 2>/dev/null` in #(
41876 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41877 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41878 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41879 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41880 # Prefer a ksh shell builtin over an external printf program on Solaris,
41881 # but without wasting forks for bash or zsh.
41882 if test -z "$BASH_VERSION$ZSH_VERSION" \
41883 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41884 as_echo='print
-r --'
41885 as_echo_n='print
-rn --'
41886 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41887 as_echo='printf %s
\n'
41888 as_echo_n='printf %s
'
41890 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41891 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41892 as_echo_n='/usr
/ucb
/echo -n'
41894 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41895 as_echo_n_body='eval
41899 expr "X$arg" : "X\\(.*\\)$as_nl";
41900 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41902 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41904 export as_echo_n_body
41905 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41907 export as_echo_body
41908 as_echo='sh
-c $as_echo_body as_echo
'
41911 # The user is always right.
41912 if test "${PATH_SEPARATOR+set}" != set; then
41914 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41915 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41922 # We need space, tab and new line, in precisely that order. Quoting is
41923 # there to prevent editors from complaining about space-tab.
41924 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41925 # splitting by setting IFS to empty value.)
41928 # Find who we are. Look in the path if we contain no directory separator.
41931 *[\\/]* ) as_myself=$0 ;;
41932 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41933 for as_dir in $PATH
41936 test -z "$as_dir" && as_dir=.
41937 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41943 # We did not find ourselves, most probably we were run as `sh COMMAND'
41944 # in which case we are not to be found in the path.
41945 if test "x$as_myself" = x
; then
41948 if test ! -f "$as_myself"; then
41949 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41953 # Unset variables that we do not need and which cause bugs (e.g. in
41954 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41955 # suppresses any "Segmentation fault" message there. '((' could
41956 # trigger a bug in pdksh 5.2.14.
41957 for as_var
in BASH_ENV ENV MAIL MAILPATH
41958 do eval test x\
${$as_var+set} = xset \
41959 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41972 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41975 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41976 # ----------------------------------------
41977 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41978 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41979 # script with STATUS, using 1 if that was 0.
41982 as_status
=$1; test $as_status -eq 0 && as_status
=1
41984 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41985 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41987 $as_echo "$as_me: error: $2" >&2
41988 as_fn_exit
$as_status
41992 # as_fn_set_status STATUS
41993 # -----------------------
41994 # Set $? to STATUS, without forking.
41995 as_fn_set_status
()
41998 } # as_fn_set_status
42000 # as_fn_exit STATUS
42001 # -----------------
42002 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
42006 as_fn_set_status
$1
42012 # Portably unset VAR.
42015 { eval $1=; unset $1;}
42017 as_unset
=as_fn_unset
42018 # as_fn_append VAR VALUE
42019 # ----------------------
42020 # Append the text in VALUE to the end of the definition contained in VAR. Take
42021 # advantage of any shell optimizations that allow amortized linear growth over
42022 # repeated appends, instead of the typical quadratic growth present in naive
42024 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
42025 eval 'as_fn_append ()
42036 # as_fn_arith ARG...
42037 # ------------------
42038 # Perform arithmetic evaluation on the ARGs, and store the result in the
42039 # global $as_val. Take advantage of shells that can avoid forks. The arguments
42040 # must be portable across $(()) and expr.
42041 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
42042 eval 'as_fn_arith ()
42049 as_val
=`expr "$@" || test $? -eq 1`
42054 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
42055 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
42061 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
42062 as_basename
=basename
42067 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
42073 as_me
=`$as_basename -- "$0" ||
42074 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42075 X"$0" : 'X\(//\)$' \| \
42076 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
42078 sed '/^.*\/\([^/][^/]*\)\/*$/{
42092 # Avoid depending upon Character Ranges.
42093 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42094 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42095 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42096 as_cr_digits
='0123456789'
42097 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42099 ECHO_C
= ECHO_N
= ECHO_T
=
42100 case `echo -n x` in #(((((
42102 case `echo 'xy\c'` in
42103 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
42105 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
42112 rm -f conf$$ conf$$.exe conf$$.
file
42113 if test -d conf$$.dir
; then
42114 rm -f conf$$.dir
/conf$$.
file
42117 mkdir conf$$.dir
2>/dev
/null
42119 if (echo >conf$$.
file) 2>/dev
/null
; then
42120 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42122 # ... but there are two gotchas:
42123 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42124 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42125 # In both cases, we have to default to `cp -pR'.
42126 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
42128 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42136 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
42137 rmdir conf$$.dir
2>/dev
/null
42142 # Create "$as_dir" as a directory, including parents if necessary.
42147 -*) as_dir
=.
/$as_dir;;
42149 test -d "$as_dir" || eval $as_mkdir_p || {
42153 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42154 *) as_qdir
=$as_dir;;
42156 as_dirs
="'$as_qdir' $as_dirs"
42157 as_dir
=`$as_dirname -- "$as_dir" ||
42158 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42159 X"$as_dir" : 'X\(//\)[^/]' \| \
42160 X"$as_dir" : 'X\(//\)$' \| \
42161 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42162 $as_echo X"$as_dir" |
42163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42167 /^X\(\/\/\)[^/].*/{
42180 test -d "$as_dir" && break
42182 test -z "$as_dirs" || eval "mkdir $as_dirs"
42183 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
42187 if mkdir -p .
2>/dev
/null
; then
42188 as_mkdir_p
='mkdir -p "$as_dir"'
42190 test -d .
/-p && rmdir .
/-p
42195 # as_fn_executable_p FILE
42196 # -----------------------
42197 # Test if FILE is an executable regular file.
42198 as_fn_executable_p
()
42200 test -f "$1" && test -x "$1"
42201 } # as_fn_executable_p
42202 as_test_x
='test -x'
42203 as_executable_p
=as_fn_executable_p
42205 # Sed expression to map a string onto a valid CPP name.
42206 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42208 # Sed expression to map a string onto a valid variable name.
42209 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42213 ## ----------------------------------- ##
42214 ## Main body of $CONFIG_STATUS script. ##
42215 ## ----------------------------------- ##
42217 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
42219 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42220 # Save the log message, to keep $0 and so on meaningful, and to
42221 # report actual input values of CONFIG_FILES etc. instead of their
42222 # values after options handling.
42224 This file was extended by wxWidgets $as_me 2.9.5, which was
42225 generated by GNU Autoconf 2.69. Invocation command line was
42227 CONFIG_FILES = $CONFIG_FILES
42228 CONFIG_HEADERS = $CONFIG_HEADERS
42229 CONFIG_LINKS = $CONFIG_LINKS
42230 CONFIG_COMMANDS = $CONFIG_COMMANDS
42233 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42238 case $ac_config_files in *"
42239 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
42242 case $ac_config_headers in *"
42243 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
42247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42248 # Files that config.status was made for.
42249 config_files="$ac_config_files"
42250 config_headers="$ac_config_headers"
42251 config_commands="$ac_config_commands"
42255 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42257 \`$as_me' instantiates files and other configuration actions
42258 from templates according to the current configuration. Unless the files
42259 and actions are specified as TAGs, all are instantiated by default.
42261 Usage: $0 [OPTION]... [TAG]...
42263 -h, --help print this help, then exit
42264 -V, --version print version number and configuration settings, then exit
42265 --config print configuration, then exit
42266 -q, --quiet, --silent
42267 do not print progress messages
42268 -d, --debug don't remove temporary files
42269 --recheck update $as_me by reconfiguring in the same conditions
42270 --file=FILE[:TEMPLATE]
42271 instantiate the configuration file FILE
42272 --header=FILE[:TEMPLATE]
42273 instantiate the configuration header FILE
42275 Configuration files:
42278 Configuration headers:
42281 Configuration commands:
42284 Report bugs to <wx-dev@lists.wxwidgets.org>."
42287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42288 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42290 wxWidgets config.status 2.9.5
42291 configured by $0, generated by GNU Autoconf 2.69,
42292 with options \\"\$ac_cs_config\\"
42294 Copyright (C) 2012 Free Software Foundation, Inc.
42295 This config.status script is free software; the Free Software Foundation
42296 gives unlimited permission to copy, distribute and modify it."
42301 test -n "\$AWK" || AWK=awk
42304 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42305 # The default lists apply if the user does not specify any file.
42311 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42312 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
42316 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42328 # Handling of the options.
42329 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42331 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42332 $as_echo "$ac_cs_version"; exit ;;
42333 --config | --confi | --conf | --con | --co | --c )
42334 $as_echo "$ac_cs_config"; exit ;;
42335 --debug | --debu | --deb | --de | --d | -d )
42337 --file | --fil | --fi | --f )
42340 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42341 '') as_fn_error $?
"missing file argument" ;;
42343 as_fn_append CONFIG_FILES
" '$ac_optarg'"
42344 ac_need_defaults
=false
;;
42345 --header | --heade | --head | --hea )
42348 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42350 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
42351 ac_need_defaults
=false
;;
42353 # Conflict between --help and --header
42354 as_fn_error $?
"ambiguous option: \`$1'
42355 Try \`$0 --help' for more information.";;
42356 --help | --hel | -h )
42357 $as_echo "$ac_cs_usage"; exit ;;
42358 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42359 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42362 # This is an error.
42363 -*) as_fn_error $?
"unrecognized option: \`$1'
42364 Try \`$0 --help' for more information." ;;
42366 *) as_fn_append ac_config_targets
" $1"
42367 ac_need_defaults
=false
;;
42373 ac_configure_extra_args
=
42375 if $ac_cs_silent; then
42377 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42382 if \$ac_cs_recheck; then
42383 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42385 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42386 CONFIG_SHELL='$SHELL'
42387 export CONFIG_SHELL
42392 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42396 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42397 ## Running $as_me. ##
42403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42409 infile="$srcdir/include/wx/msw/genrcdefs.h"
42410 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42413 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42414 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42415 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42421 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42423 # Handling of arguments.
42424 for ac_config_target
in $ac_config_targets
42426 case $ac_config_target in
42427 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42428 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
42429 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42430 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42431 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42432 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42433 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42434 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42435 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42437 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42442 # If the user did not use the arguments to specify the items to instantiate,
42443 # then the envvar interface is used. Set only those that are not.
42444 # We use the long form for the default assignment because of an extremely
42445 # bizarre bug on SunOS 4.1.3.
42446 if $ac_need_defaults; then
42447 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42448 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42449 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42452 # Have a temporary directory for convenience. Make it in the build tree
42453 # simply because there is no reason against having it here, and in addition,
42454 # creating and moving files from /tmp can sometimes cause problems.
42455 # Hook for its removal unless debugging.
42456 # Note that there is a small window in which the directory will not be cleaned:
42457 # after its creation but before its name has been assigned to `$tmp'.
42461 trap 'exit_status=$?
42462 : "${ac_tmp:=$tmp}"
42463 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42465 trap 'as_fn_exit 1' 1 2 13 15
42467 # Create a (secure) tmp directory for tmp files.
42470 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42474 tmp
=.
/conf$$
-$RANDOM
42475 (umask 077 && mkdir "$tmp")
42476 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
42479 # Set up the scripts for CONFIG_FILES section.
42480 # No need to generate them if there are no CONFIG_FILES.
42481 # This happens for instance with `./config.status config.h'.
42482 if test -n "$CONFIG_FILES"; then
42485 ac_cr
=`echo X | tr X '\015'`
42486 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42487 # But we know of no other shell where ac_cr would be empty at this
42488 # point, so we can use a bashism as a fallback.
42489 if test "x$ac_cr" = x
; then
42490 eval ac_cr
=\$
\'\\r
\'
42492 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42493 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42496 ac_cs_awk_cr
=$ac_cr
42499 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42504 echo "cat >conf$$subs.awk <<_ACEOF" &&
42505 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42507 } >conf$$subs.sh ||
42508 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42509 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42511 for ac_last_try in false false false false false :; do
42512 . ./conf$$subs.sh ||
42513 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42515 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
42516 if test $ac_delim_n = $ac_delim_num; then
42518 elif $ac_last_try; then
42519 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42521 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42524 rm -f conf$$subs.sh
42526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42527 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
42531 s/^/S["/; s
/!.
*/"]=/
42541 s/\(.\{148\}\)..*/\1/
42543 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
42548 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42555 s/\(.\{148\}\)..*/\1/
42557 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
42561 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42566 ' <conf$$subs.awk | sed '
42571 ' >>$CONFIG_STATUS || ac_write_fail=1
42572 rm -f conf$$subs.awk
42573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42575 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
42576 for (key in S) S_is_set[key] = 1
42582 nfields = split(line, field, "@
")
42584 len = length(field[1])
42585 for (i = 2; i < nfields; i++) {
42587 keylen = length(key)
42588 if (S_is_set[key]) {
42590 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42591 len += length(value) + length(field[++i])
42602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42603 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42604 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
42607 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
42608 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
42611 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42612 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
42613 # trailing colons and then remove the whole line if VPATH becomes empty
42614 # (actually we leave an empty line to preserve line numbers).
42615 if test "x
$srcdir" = x.; then
42616 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42635 fi # test -n "$CONFIG_FILES"
42637 # Set up the scripts for CONFIG_HEADERS section.
42638 # No need to generate them if there are no CONFIG_HEADERS.
42639 # This happens for instance with `./config.status Makefile'.
42640 if test -n "$CONFIG_HEADERS"; then
42641 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
42645 # Transform confdefs.h into an awk script `defines.awk', embedded as
42646 # here-document in config.status, that substitutes the proper values into
42647 # config.h.in to produce config.h.
42649 # Create a delimiter string that does not exist in confdefs.h, to ease
42650 # handling of long lines.
42652 for ac_last_try in false false :; do
42653 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
42654 if test -z "$ac_tt"; then
42656 elif $ac_last_try; then
42657 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
42659 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42663 # For the awk script, D is an array of macro values keyed by name,
42664 # likewise P contains macro parameters if any. Preserve backslash
42665 # newline sequences.
42667 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42669 s/.\{148\}/&'"$ac_delim"'/g
42672 s/^[ ]*#[ ]*define[ ][ ]*/ /
42679 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
42681 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
42685 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42686 D["\
1"]=" \
3\\\\\\n
"\\/p
42688 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42693 s/.\{148\}/&'"$ac_delim"'/g
42698 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42701 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42703 ' <confdefs.h | sed '
42704 s/'"$ac_delim"'/"\\\
42705 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42708 for (key in D) D_is_set[key] = 1
42711 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42713 split(line, arg, " ")
42714 if (arg[1] == "#") {
42718 defundef
= substr
(arg
[1], 2)
42721 split(mac1
, mac2
, "(") #)
42723 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42724 if (D_is_set
[macro
]) {
42725 # Preserve the white space surrounding the "#".
42726 print prefix
"define", macro P
[macro
] D
[macro
]
42729 # Replace #undef with comments. This is necessary, for example,
42730 # in the case of _POSIX_SOURCE, which is predefined and required
42731 # on some systems where configure will not decide to define it.
42732 if (defundef
== "undef") {
42733 print
"/*", prefix defundef
, macro
, "*/"
42741 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42742 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42743 fi # test -n "$CONFIG_HEADERS"
42746 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42751 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42753 case $ac_mode$ac_tag in
42755 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
42756 :[FH
]-) ac_tag
=-:-;;
42757 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42774 -) ac_f
="$ac_tmp/stdin";;
42775 *) # Look for the file first in the build tree, then in the source tree
42776 # (if the path is not absolute). The absolute path cannot be DOS-style,
42777 # because $ac_f cannot contain `:'.
42781 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42783 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42785 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42786 as_fn_append ac_file_inputs
" '$ac_f'"
42789 # Let's still pretend it is `configure' which instantiates (i.e., don't
42790 # use $as_me), people would be surprised to read:
42791 # /* config.h. Generated by config.status. */
42792 configure_input
='Generated from '`
42793 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42795 if test x
"$ac_file" != x
-; then
42796 configure_input
="$ac_file. $configure_input"
42797 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42798 $as_echo "$as_me: creating $ac_file" >&6;}
42800 # Neutralize special characters interpreted by sed in replacement strings.
42801 case $configure_input in #(
42802 *\
&* | *\
|* | *\\* )
42803 ac_sed_conf_input
=`$as_echo "$configure_input" |
42804 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42805 *) ac_sed_conf_input
=$configure_input;;
42809 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42810 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42815 ac_dir
=`$as_dirname -- "$ac_file" ||
42816 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42817 X"$ac_file" : 'X\(//\)[^/]' \| \
42818 X"$ac_file" : 'X\(//\)$' \| \
42819 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42820 $as_echo X"$ac_file" |
42821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42825 /^X\(\/\/\)[^/].*/{
42838 as_dir
="$ac_dir"; as_fn_mkdir_p
42842 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42844 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42845 # A ".." for each directory in $ac_dir_suffix.
42846 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42847 case $ac_top_builddir_sub in
42848 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42849 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42852 ac_abs_top_builddir
=$ac_pwd
42853 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42854 # for backward compatibility:
42855 ac_top_builddir
=$ac_top_build_prefix
42858 .
) # We are building in place.
42860 ac_top_srcdir
=$ac_top_builddir_sub
42861 ac_abs_top_srcdir
=$ac_pwd ;;
42862 [\\/]* | ?
:[\\/]* ) # Absolute name.
42863 ac_srcdir
=$srcdir$ac_dir_suffix;
42864 ac_top_srcdir
=$srcdir
42865 ac_abs_top_srcdir
=$srcdir ;;
42866 *) # Relative name.
42867 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42868 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42869 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42871 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42881 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42882 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42886 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42887 # If the template does not know about datarootdir, expand it.
42888 # FIXME: This hack should be removed a few years after 2.60.
42889 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42900 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42901 *datarootdir
*) ac_datarootdir_seen
=yes;;
42902 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42904 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42907 ac_datarootdir_hack='
42908 s&@datadir@&$datadir&g
42909 s&@docdir@&$docdir&g
42910 s&@infodir@&$infodir&g
42911 s&@localedir@&$localedir&g
42912 s&@mandir@&$mandir&g
42913 s&\\\${datarootdir}&$datarootdir&g' ;;
42917 # Neutralize VPATH when `$srcdir' = `.'.
42918 # Shell code in configure.ac might set extrasub.
42919 # FIXME: do we really want to maintain this feature?
42920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42921 ac_sed_extra="$ac_vpsub
42924 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42926 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42927 s
|@configure_input@
|$ac_sed_conf_input|;t t
42928 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42929 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42930 s
&@srcdir@
&$ac_srcdir&;t t
42931 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42932 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42933 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42934 s
&@builddir@
&$ac_builddir&;t t
42935 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42936 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42937 s
&@INSTALL@
&$ac_INSTALL&;t t
42938 $ac_datarootdir_hack
42940 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
42941 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42943 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42944 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
42945 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42946 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
42947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42948 which seems to be undefined. Please make sure it is defined" >&5
42949 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42950 which seems to be undefined. Please make sure it is defined" >&2;}
42952 rm -f "$ac_tmp/stdin"
42954 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42955 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42957 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42963 if test x"$ac_file" != x-; then
42965 $as_echo "/* $configure_input */" \
42966 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42967 } >"$ac_tmp/config.h" \
42968 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42969 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42970 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42971 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42974 mv "$ac_tmp/config.h" "$ac_file" \
42975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42978 $as_echo "/* $configure_input */" \
42979 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42980 || as_fn_error $? "could not create -" "$LINENO" 5
42984 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42985 $as_echo "$as_me: executing $ac_file commands" >&6;}
42990 case $ac_file$ac_mode in
42992 mkdir -p $outdir &&
42993 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42995 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42996 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42997 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42998 "wx-config":C
) rm -f wx
-config
42999 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43008 ac_clean_files
=$ac_clean_files_save
43010 test $ac_write_fail = 0 ||
43011 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
43014 # configure is writing to config.log, and then calls config.status.
43015 # config.status does its own redirection, appending to config.log.
43016 # Unfortunately, on DOS this fails, as config.log is still kept open
43017 # by configure, so config.status won't be able to write to it; its
43018 # output is simply discarded. So we exec the FD to /dev/null,
43019 # effectively closing config.log, so it can be properly (re)opened and
43020 # appended to by config.status. When coming back to configure, we
43021 # need to make the FD available again.
43022 if test "$no_create" != yes; then
43024 ac_config_status_args
=
43025 test "$silent" = yes &&
43026 ac_config_status_args
="$ac_config_status_args --quiet"
43028 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43030 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43031 # would make configure fail if this is the last instruction.
43032 $ac_cs_success || as_fn_exit
1
43036 # CONFIG_SUBDIRS section.
43038 if test "$no_recursion" != yes; then
43040 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
43041 # so they do not pile up.
43042 ac_sub_configure_args
=
43044 eval "set x $ac_configure_args"
43048 if test -n "$ac_prev"; then
43053 -cache-file | --cache-file | --cache-fil | --cache-fi \
43054 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43055 ac_prev
=cache_file
;;
43056 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43057 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43060 --config-cache | -C)
43062 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43064 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43066 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43068 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43070 --disable-option-checking)
43074 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43076 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
43080 # Always prepend --prefix to ensure using the same prefix
43081 # in subdir configurations.
43082 ac_arg
="--prefix=$prefix"
43084 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43086 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
43089 if test "$silent" = yes; then
43090 ac_sub_configure_args
="--silent $ac_sub_configure_args"
43093 # Always prepend --disable-option-checking to silence warnings, since
43094 # different subdirs can have different --enable and --with options.
43095 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
43098 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43100 # Do not complain, so a configure script can configure whichever
43101 # parts of a large source tree are present.
43102 test -d "$srcdir/$ac_dir" || continue
43104 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43105 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43106 $as_echo "$ac_msg" >&6
43107 as_dir
="$ac_dir"; as_fn_mkdir_p
43111 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
43113 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43114 # A ".." for each directory in $ac_dir_suffix.
43115 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43116 case $ac_top_builddir_sub in
43117 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
43118 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
43121 ac_abs_top_builddir
=$ac_pwd
43122 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
43123 # for backward compatibility:
43124 ac_top_builddir
=$ac_top_build_prefix
43127 .
) # We are building in place.
43129 ac_top_srcdir
=$ac_top_builddir_sub
43130 ac_abs_top_srcdir
=$ac_pwd ;;
43131 [\\/]* | ?
:[\\/]* ) # Absolute name.
43132 ac_srcdir
=$srcdir$ac_dir_suffix;
43133 ac_top_srcdir
=$srcdir
43134 ac_abs_top_srcdir
=$srcdir ;;
43135 *) # Relative name.
43136 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
43137 ac_top_srcdir
=$ac_top_build_prefix$srcdir
43138 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
43140 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
43145 # Check for guested configure; otherwise get Cygnus style configure.
43146 if test -f "$ac_srcdir/configure.gnu"; then
43147 ac_sub_configure
=$ac_srcdir/configure.gnu
43148 elif test -f "$ac_srcdir/configure"; then
43149 ac_sub_configure
=$ac_srcdir/configure
43150 elif test -f "$ac_srcdir/configure.in"; then
43151 # This should be Cygnus configure.
43152 ac_sub_configure
=$ac_aux_dir/configure
43154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43155 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43159 # The recursion is here.
43160 if test -n "$ac_sub_configure"; then
43161 # Make the cache file name correct relative to the subdirectory.
43162 case $cache_file in
43163 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43164 *) # Relative name.
43165 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
43168 { $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
43169 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43170 # The eval makes quoting arguments work.
43171 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43172 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43173 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43179 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
43180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43181 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43186 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43188 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
43189 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43190 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43191 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
43192 if test "$wxUSE_UNICODE" = "yes"; then
43193 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43194 echo " (using UTF-8)"
43196 echo " (using wchar_t)"
43202 echo " What level of wxWidgets compatibility should be enabled?"
43203 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
43204 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
43206 echo " Which libraries should wxWidgets use?"
43207 echo " STL ${wxUSE_STL}"
43208 echo " jpeg ${wxUSE_LIBJPEG-none}"
43209 echo " png ${wxUSE_LIBPNG-none}"
43210 echo " regex ${wxUSE_REGEX}"
43211 echo " tiff ${wxUSE_LIBTIFF-none}"
43212 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43213 echo " xpm ${wxUSE_LIBXPM-none}"
43215 echo " zlib ${wxUSE_ZLIB}"
43216 echo " expat ${wxUSE_EXPAT}"
43217 echo " libmspack ${wxUSE_LIBMSPACK}"
43218 echo " sdl ${wxUSE_LIBSDL}"