2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.67 for wxWidgets 2.9.4.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE
=1; export DUALCASE
# for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print
-rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
58 as_echo_n='/usr
/ucb
/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh
-c $as_echo_n_body as_echo
'
74 as_echo='sh
-c $as_echo_body as_echo
'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev
/null
; then :
183 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
188 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir
=.
195 for as_base
in sh bash ksh sh5
; do
196 # Try only shells that exist, to save several forks.
197 as_shell
=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
200 CONFIG_SHELL
=$as_shell as_have_required
=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
211 CONFIG_SHELL
=$SHELL as_have_required
=yes
216 if test "x$CONFIG_SHELL" != x
; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
222 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
227 if test x
$as_have_required = xno
; then :
228 $as_echo "$0: This script requires a shell more modern than all"
229 $as_echo "$0: the shells that I found on your system."
230 if test x
${ZSH_VERSION+set} = xset
; then
231 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
234 $as_echo "$0: Please tell bug-autoconf@gnu.org and
235 $0: wx-dev@lists.wxwidgets.org about your system, including
236 $0: any error possibly output before this message. Then
237 $0: install a modern shell, or manually run the script
238 $0: under such a shell if you do have one."
244 SHELL
=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE
= GREP_OPTIONS
=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir
=.
/$as_dir;;
289 test -d "$as_dir" || eval $as_mkdir_p || {
293 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs
="'$as_qdir' $as_dirs"
297 as_dir
=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
358 as_val
=`expr "$@" || test $? -eq 1`
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
370 as_status
=$1; test $as_status -eq 0 && as_status
=1
372 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit
$as_status
379 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
386 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
398 as_me
=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits
='0123456789'
422 as_cr_alnum
=$as_cr_Letters$as_cr_digits
425 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
426 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x
"$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C
= ECHO_N
= ECHO_T
=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
469 rm -f conf$$ conf$$.exe conf$$.
file
470 if test -d conf$$.dir
; then
471 rm -f conf$$.dir
/conf$$.
file
474 mkdir conf$$.dir
2>/dev
/null
476 if (echo >conf$$.
file) 2>/dev
/null
; then
477 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
485 elif ln conf$$.
file conf$$
2>/dev
/null
; then
493 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
494 rmdir conf$$.dir
2>/dev
/null
496 if mkdir -p .
2>/dev
/null
; then
497 as_mkdir_p
='mkdir -p "$as_dir"'
499 test -d .
/-p && rmdir .
/-p
503 if test -x / >/dev
/null
2>&1; then
506 if ls -dL / >/dev
/null
2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p
=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 test -n "$DJDIR" || exec 7<&0 </dev
/null
537 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
538 # so uname gets run too.
539 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
544 ac_default_prefix
=/usr
/local
546 ac_config_libobj_dir
=.
553 # Identity of this package.
554 PACKAGE_NAME
='wxWidgets'
555 PACKAGE_TARNAME
='wxwidgets'
556 PACKAGE_VERSION
='2.9.4'
557 PACKAGE_STRING
='wxWidgets 2.9.4'
558 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
561 ac_unique_file
="wx-config.in"
562 # Factoring default headers for most tests.
563 ac_includes_default
="\
565 #ifdef HAVE_SYS_TYPES_H
566 # include <sys/types.h>
568 #ifdef HAVE_SYS_STAT_H
569 # include <sys/stat.h>
575 # ifdef HAVE_STDLIB_H
580 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585 #ifdef HAVE_STRINGS_H
586 # include <strings.h>
588 #ifdef HAVE_INTTYPES_H
589 # include <inttypes.h>
598 enable_option_checking
=no
599 ac_subst_vars
='LTLIBOBJS
607 WX_RESOURCES_MACOSX_DATA
608 WX_RESOURCES_MACOSX_ASCII
640 WX_LIBRARY_BASENAME_GUI
641 WX_LIBRARY_BASENAME_NOGUI
644 COND_wxUSE_ZLIB_builtin
645 COND_wxUSE_REGEX_builtin
646 COND_wxUSE_LIBTIFF_builtin
647 COND_wxUSE_LIBPNG_builtin
648 COND_wxUSE_LIBJPEG_builtin
649 COND_wxUSE_EXPAT_builtin
650 COND_WXUSE_ZLIB_BUILTIN
651 COND_WXUSE_REGEX_BUILTIN
652 COND_WXUSE_LIBTIFF_BUILTIN
653 COND_WXUSE_LIBPNG_BUILTIN
654 COND_WXUSE_LIBJPEG_BUILTIN
655 COND_WXUSE_EXPAT_BUILTIN
658 COND_WITH_PLUGIN_SDL_1
659 COND_WINDOWS_IMPLIB_1
664 COND_USE_SOVERSOLARIS_1
665 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
667 COND_USE_SOVERLINUX_1
668 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
669 COND_USE_SOTWOSYMLINKS_1
675 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
676 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
677 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
678 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
679 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
680 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
681 COND_USE_GUI_1_WXUNIV_1
682 COND_USE_GUI_1_WXUNIV_0
683 COND_USE_GUI_1_USE_OPENGL_1
686 COND_USE_EXCEPTIONS_1
687 COND_USE_EXCEPTIONS_0
690 COND_TOOLKIT_X11_USE_GUI_1
692 COND_TOOLKIT_WINCE_WXUNIV_0
693 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
694 COND_TOOLKIT_WINCE_USE_GUI_1
696 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
697 COND_TOOLKIT_PM_USE_GUI_1
699 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
700 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
701 COND_TOOLKIT_OSX_IPHONE
702 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
703 COND_TOOLKIT_OSX_COCOA
704 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
705 COND_TOOLKIT_OSX_CARBON
706 COND_TOOLKIT_MSW_WXUNIV_0
707 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
708 COND_TOOLKIT_MSW_USE_GUI_1
710 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
711 COND_TOOLKIT_MOTIF_USE_GUI_1
714 COND_TOOLKIT_GTK_USE_GUI_1
715 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
717 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
718 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
719 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
720 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
722 COND_TOOLKIT_DFB_USE_GUI_1
724 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_COCOA_USE_GUI_1
728 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
730 COND_SHARED_0_wxUSE_ZLIB_builtin
731 COND_SHARED_0_wxUSE_REGEX_builtin
732 COND_SHARED_0_wxUSE_EXPAT_builtin
733 COND_SHARED_0_USE_STC_1
734 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
735 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
736 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
737 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
738 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
739 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
740 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
742 COND_PLATFORM_WIN32_1_SHARED_0
743 COND_PLATFORM_WIN32_1
744 COND_PLATFORM_WIN32_0
745 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
746 COND_PLATFORM_UNIX_1_USE_GUI_1
747 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
748 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
752 COND_PLATFORM_MSDOS_1
753 COND_PLATFORM_MSDOS_0
756 COND_PLATFORM_MACOS_1
757 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
758 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
759 COND_PLATFORM_MACOSX_1_USE_GUI_1
760 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
761 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
762 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
763 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
764 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
765 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
766 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
767 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
768 COND_PLATFORM_MACOSX_1
769 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
770 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
771 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
772 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
773 COND_MONOLITHIC_1_SHARED_1
774 COND_MONOLITHIC_1_SHARED_0
776 COND_MONOLITHIC_0_USE_XRC_1
777 COND_MONOLITHIC_0_USE_WEBVIEW_1
778 COND_MONOLITHIC_0_USE_STC_1
779 COND_MONOLITHIC_0_USE_RICHTEXT_1
780 COND_MONOLITHIC_0_USE_RIBBON_1
781 COND_MONOLITHIC_0_USE_QA_1
782 COND_MONOLITHIC_0_USE_PROPGRID_1
783 COND_MONOLITHIC_0_USE_MEDIA_1
784 COND_MONOLITHIC_0_USE_HTML_1
785 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
786 COND_MONOLITHIC_0_USE_GUI_1
787 COND_MONOLITHIC_0_USE_AUI_1
788 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
789 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
790 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
791 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
792 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
793 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
794 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
795 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
796 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
797 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
798 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
799 COND_MONOLITHIC_0_SHARED_1
800 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
801 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
802 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
803 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
804 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
805 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
806 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
807 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
808 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
809 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
810 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
811 COND_MONOLITHIC_0_SHARED_0
821 COND_BUILD_release_UNICODE_1
822 COND_BUILD_release_UNICODE_0
823 COND_BUILD_release_DEBUG_INFO_default
825 COND_BUILD_debug_UNICODE_1
826 COND_BUILD_debug_UNICODE_0
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_RELEASE_UNICODE_1
831 COND_BUILD_RELEASE_UNICODE_0
832 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
834 COND_BUILD_DEBUG_UNICODE_1
835 COND_BUILD_DEBUG_UNICODE_0
836 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
837 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
841 ICC_PCH_CREATE_SWITCH
951 LIBGNOMEPRINTUI_CFLAGS
1043 program_transform_name
1056 enable_option_checking
1062 enable_official_build
1104 with_macosx_version_min
1113 enable_std_containers
1114 enable_std_iostreams
1116 enable_std_string_conv_in_wxstring
1121 enable_extended_rtti
1126 enable_no_exceptions
1129 enable_vararg_macros
1130 enable_universal_binary
1135 enable_objc_uniquifying
1164 enable_dynamicloader
1180 enable_printfposparam
1195 enable_protocol_http
1197 enable_protocol_file
1248 enable_commandlinkbutton
1275 enable_rearrangectrl
1324 enable_accessibility
1327 enable_webviewwebkit
1347 with_gtk_exec_prefix
1349 with_libiconv_prefix
1351 with_sdl_exec_prefix
1353 enable_dependency_tracking
1354 enable_precomp_headers
1356 with_cppunit_exec_prefix
1358 ac_precious_vars
='build_alias
1395 LIBGNOMEPRINTUI_CFLAGS
1396 LIBGNOMEPRINTUI_LIBS
1409 ac_subdirs_all
='src/tiff
1412 # Initialize some variables set by options.
1414 ac_init_version
=false
1415 ac_unrecognized_opts
=
1416 ac_unrecognized_sep
=
1417 # The variables have the same names as the options, with
1418 # dashes changed to underlines.
1419 cache_file
=/dev
/null
1426 program_transform_name
=s
,x
,x
,
1434 # Installation directory options.
1435 # These are left unexpanded so users can "make install exec_prefix=/foo"
1436 # and all the variables that are supposed to be based on exec_prefix
1437 # by default will actually change.
1438 # Use braces instead of parens because sh, perl, etc. also accept them.
1439 # (The list follows the same order as the GNU Coding Standards.)
1440 bindir
='${exec_prefix}/bin'
1441 sbindir
='${exec_prefix}/sbin'
1442 libexecdir
='${exec_prefix}/libexec'
1443 datarootdir
='${prefix}/share'
1444 datadir
='${datarootdir}'
1445 sysconfdir
='${prefix}/etc'
1446 sharedstatedir
='${prefix}/com'
1447 localstatedir
='${prefix}/var'
1448 includedir
='${prefix}/include'
1449 oldincludedir
='/usr/include'
1450 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1451 infodir
='${datarootdir}/info'
1456 libdir
='${exec_prefix}/lib'
1457 localedir
='${datarootdir}/locale'
1458 mandir
='${datarootdir}/man'
1464 # If the previous option needs an argument, assign it.
1465 if test -n "$ac_prev"; then
1466 eval $ac_prev=\
$ac_option
1472 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1477 # Accept the important Cygnus configure options, so we can diagnose typos.
1479 case $ac_dashdash$ac_option in
1483 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1485 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1486 bindir
=$ac_optarg ;;
1488 -build | --build | --buil | --bui | --bu)
1489 ac_prev
=build_alias
;;
1490 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1491 build_alias
=$ac_optarg ;;
1493 -cache-file | --cache-file | --cache-fil | --cache-fi \
1494 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1495 ac_prev
=cache_file
;;
1496 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1497 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1498 cache_file
=$ac_optarg ;;
1500 --config-cache | -C)
1501 cache_file
=config.cache
;;
1503 -datadir | --datadir | --datadi | --datad)
1505 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1506 datadir
=$ac_optarg ;;
1508 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1509 | --dataroo | --dataro | --datar)
1510 ac_prev
=datarootdir
;;
1511 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1512 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1513 datarootdir
=$ac_optarg ;;
1515 -disable-* | --disable-*)
1516 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1517 # Reject names that are not valid shell variable names.
1518 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1519 as_fn_error $?
"invalid feature name: $ac_useropt"
1520 ac_useropt_orig
=$ac_useropt
1521 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1522 case $ac_user_opts in
1524 "enable_
$ac_useropt"
1526 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1527 ac_unrecognized_sep
=', ';;
1529 eval enable_
$ac_useropt=no
;;
1531 -docdir | --docdir | --docdi | --doc | --do)
1533 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1534 docdir
=$ac_optarg ;;
1536 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1538 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1539 dvidir
=$ac_optarg ;;
1541 -enable-* | --enable-*)
1542 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1543 # Reject names that are not valid shell variable names.
1544 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1545 as_fn_error $?
"invalid feature name: $ac_useropt"
1546 ac_useropt_orig
=$ac_useropt
1547 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1548 case $ac_user_opts in
1550 "enable_
$ac_useropt"
1552 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1553 ac_unrecognized_sep
=', ';;
1555 eval enable_
$ac_useropt=\
$ac_optarg ;;
1557 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1558 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1559 | --exec | --exe | --ex)
1560 ac_prev
=exec_prefix
;;
1561 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1562 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1563 | --exec=* | --exe=* | --ex=*)
1564 exec_prefix
=$ac_optarg ;;
1566 -gas | --gas | --ga | --g)
1567 # Obsolete; use --with-gas.
1570 -help | --help | --hel | --he | -h)
1571 ac_init_help
=long
;;
1572 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1573 ac_init_help
=recursive
;;
1574 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1575 ac_init_help
=short
;;
1577 -host | --host | --hos | --ho)
1578 ac_prev
=host_alias
;;
1579 -host=* | --host=* | --hos=* | --ho=*)
1580 host_alias
=$ac_optarg ;;
1582 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1584 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1586 htmldir
=$ac_optarg ;;
1588 -includedir | --includedir | --includedi | --included | --include \
1589 | --includ | --inclu | --incl | --inc)
1590 ac_prev
=includedir
;;
1591 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1592 | --includ=* | --inclu=* | --incl=* | --inc=*)
1593 includedir
=$ac_optarg ;;
1595 -infodir | --infodir | --infodi | --infod | --info | --inf)
1597 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1598 infodir
=$ac_optarg ;;
1600 -libdir | --libdir | --libdi | --libd)
1602 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1603 libdir
=$ac_optarg ;;
1605 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1606 | --libexe | --libex | --libe)
1607 ac_prev
=libexecdir
;;
1608 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1609 | --libexe=* | --libex=* | --libe=*)
1610 libexecdir
=$ac_optarg ;;
1612 -localedir | --localedir | --localedi | --localed | --locale)
1613 ac_prev
=localedir
;;
1614 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1615 localedir
=$ac_optarg ;;
1617 -localstatedir | --localstatedir | --localstatedi | --localstated \
1618 | --localstate | --localstat | --localsta | --localst | --locals)
1619 ac_prev
=localstatedir
;;
1620 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1621 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1622 localstatedir
=$ac_optarg ;;
1624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1627 mandir
=$ac_optarg ;;
1629 -nfp | --nfp | --nf)
1630 # Obsolete; use --without-fp.
1633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1634 | --no-cr | --no-c | -n)
1637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1643 | --oldin | --oldi | --old | --ol | --o)
1644 ac_prev
=oldincludedir
;;
1645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1648 oldincludedir
=$ac_optarg ;;
1650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1653 prefix
=$ac_optarg ;;
1655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1656 | --program-pre | --program-pr | --program-p)
1657 ac_prev
=program_prefix
;;
1658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1660 program_prefix
=$ac_optarg ;;
1662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1663 | --program-suf | --program-su | --program-s)
1664 ac_prev
=program_suffix
;;
1665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1667 program_suffix
=$ac_optarg ;;
1669 -program-transform-name | --program-transform-name \
1670 | --program-transform-nam | --program-transform-na \
1671 | --program-transform-n | --program-transform- \
1672 | --program-transform | --program-transfor \
1673 | --program-transfo | --program-transf \
1674 | --program-trans | --program-tran \
1675 | --progr-tra | --program-tr | --program-t)
1676 ac_prev
=program_transform_name
;;
1677 -program-transform-name=* | --program-transform-name=* \
1678 | --program-transform-nam=* | --program-transform-na=* \
1679 | --program-transform-n=* | --program-transform-=* \
1680 | --program-transform=* | --program-transfor=* \
1681 | --program-transfo=* | --program-transf=* \
1682 | --program-trans=* | --program-tran=* \
1683 | --progr-tra=* | --program-tr=* | --program-t=*)
1684 program_transform_name
=$ac_optarg ;;
1686 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1688 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1689 pdfdir
=$ac_optarg ;;
1691 -psdir | --psdir | --psdi | --psd | --ps)
1693 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1696 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1697 | -silent | --silent | --silen | --sile | --sil)
1700 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1702 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1704 sbindir
=$ac_optarg ;;
1706 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1707 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1708 | --sharedst | --shareds | --shared | --share | --shar \
1710 ac_prev
=sharedstatedir
;;
1711 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1712 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1713 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1715 sharedstatedir
=$ac_optarg ;;
1717 -site | --site | --sit)
1719 -site=* | --site=* | --sit=*)
1722 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1724 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1725 srcdir
=$ac_optarg ;;
1727 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1728 | --syscon | --sysco | --sysc | --sys | --sy)
1729 ac_prev
=sysconfdir
;;
1730 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1731 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1732 sysconfdir
=$ac_optarg ;;
1734 -target | --target | --targe | --targ | --tar | --ta | --t)
1735 ac_prev
=target_alias
;;
1736 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1737 target_alias
=$ac_optarg ;;
1739 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1742 -version | --version | --versio | --versi | --vers | -V)
1743 ac_init_version
=: ;;
1746 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1747 # Reject names that are not valid shell variable names.
1748 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1749 as_fn_error $?
"invalid package name: $ac_useropt"
1750 ac_useropt_orig
=$ac_useropt
1751 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1752 case $ac_user_opts in
1756 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1757 ac_unrecognized_sep
=', ';;
1759 eval with_
$ac_useropt=\
$ac_optarg ;;
1761 -without-* | --without-*)
1762 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1763 # Reject names that are not valid shell variable names.
1764 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1765 as_fn_error $?
"invalid package name: $ac_useropt"
1766 ac_useropt_orig
=$ac_useropt
1767 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1768 case $ac_user_opts in
1772 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1773 ac_unrecognized_sep
=', ';;
1775 eval with_
$ac_useropt=no
;;
1778 # Obsolete; use --with-x.
1781 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1782 | --x-incl | --x-inc | --x-in | --x-i)
1783 ac_prev
=x_includes
;;
1784 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1785 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1786 x_includes
=$ac_optarg ;;
1788 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1789 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1790 ac_prev
=x_libraries
;;
1791 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1792 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1793 x_libraries
=$ac_optarg ;;
1795 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1796 Try \`$0 --help' for more information"
1800 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1801 # Reject names that are not valid shell variable names.
1802 case $ac_envvar in #(
1803 '' | [0-9]* | *[!_$as_cr_alnum]* )
1804 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1806 eval $ac_envvar=\
$ac_optarg
1807 export $ac_envvar ;;
1810 # FIXME: should be removed in autoconf 3.0.
1811 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1812 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1813 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1814 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1820 if test -n "$ac_prev"; then
1821 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1822 as_fn_error $?
"missing argument to $ac_option"
1825 if test -n "$ac_unrecognized_opts"; then
1826 case $enable_option_checking in
1828 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1829 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1833 # Check all directory arguments for consistency.
1834 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1835 datadir sysconfdir sharedstatedir localstatedir includedir \
1836 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1837 libdir localedir mandir
1839 eval ac_val
=\$
$ac_var
1840 # Remove trailing slashes.
1843 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1844 eval $ac_var=\
$ac_val;;
1846 # Be sure to have absolute directory names.
1848 [\\/$
]* | ?
:[\\/]* ) continue;;
1849 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1851 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1854 # There might be people who depend on the old broken behavior: `$host'
1855 # used to hold the argument of --host etc.
1856 # FIXME: To remove some day.
1859 target
=$target_alias
1861 # FIXME: To remove some day.
1862 if test "x$host_alias" != x
; then
1863 if test "x$build_alias" = x
; then
1864 cross_compiling
=maybe
1865 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1866 If a cross compiler is detected then cross compile mode will be used" >&2
1867 elif test "x$build_alias" != "x$host_alias"; then
1873 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1875 test "$silent" = yes && exec 6>/dev
/null
1878 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1879 ac_ls_di
=`ls -di .` &&
1880 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1881 as_fn_error $?
"working directory cannot be determined"
1882 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1883 as_fn_error $?
"pwd does not report name of working directory"
1886 # Find the source files, if location was not specified.
1887 if test -z "$srcdir"; then
1888 ac_srcdir_defaulted
=yes
1889 # Try the directory containing this script, then the parent directory.
1890 ac_confdir
=`$as_dirname -- "$as_myself" ||
1891 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1892 X"$as_myself" : 'X\(//\)[^/]' \| \
1893 X"$as_myself" : 'X\(//\)$' \| \
1894 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1895 $as_echo X"$as_myself" |
1896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1914 if test ! -r "$srcdir/$ac_unique_file"; then
1918 ac_srcdir_defaulted
=no
1920 if test ! -r "$srcdir/$ac_unique_file"; then
1921 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1922 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1924 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1926 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1928 # When building in place, set srcdir=.
1929 if test "$ac_abs_confdir" = "$ac_pwd"; then
1932 # Remove unnecessary trailing slashes from srcdir.
1933 # Double slashes in file names in object file debugging info
1934 # mess up M-x gdb in Emacs.
1936 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1938 for ac_var
in $ac_precious_vars; do
1939 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1940 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1941 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1942 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1946 # Report the --help message.
1948 if test "$ac_init_help" = "long"; then
1949 # Omit some internal or obsolete options to make the list less imposing.
1950 # This message is too long to be a string in the A/UX 3.1 sh.
1952 \`configure' configures wxWidgets 2.9.4 to adapt to many kinds of systems.
1954 Usage: $0 [OPTION]... [VAR=VALUE]...
1956 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1957 VAR=VALUE. See below for descriptions of some of the useful variables.
1959 Defaults for the options are specified in brackets.
1962 -h, --help display this help and exit
1963 --help=short display options specific to this package
1964 --help=recursive display the short help of all the included packages
1965 -V, --version display version information and exit
1966 -q, --quiet, --silent do not print \`checking ...' messages
1967 --cache-file=FILE cache test results in FILE [disabled]
1968 -C, --config-cache alias for \`--cache-file=config.cache'
1969 -n, --no-create do not create output files
1970 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1972 Installation directories:
1973 --prefix=PREFIX install architecture-independent files in PREFIX
1974 [$ac_default_prefix]
1975 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1978 By default, \`make install' will install all the files in
1979 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1980 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1981 for instance \`--prefix=\$HOME'.
1983 For better control, use the options below.
1985 Fine tuning of the installation directories:
1986 --bindir=DIR user executables [EPREFIX/bin]
1987 --sbindir=DIR system admin executables [EPREFIX/sbin]
1988 --libexecdir=DIR program executables [EPREFIX/libexec]
1989 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1990 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1991 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1992 --libdir=DIR object code libraries [EPREFIX/lib]
1993 --includedir=DIR C header files [PREFIX/include]
1994 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1995 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1996 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1997 --infodir=DIR info documentation [DATAROOTDIR/info]
1998 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1999 --mandir=DIR man documentation [DATAROOTDIR/man]
2000 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2001 --htmldir=DIR html documentation [DOCDIR]
2002 --dvidir=DIR dvi documentation [DOCDIR]
2003 --pdfdir=DIR pdf documentation [DOCDIR]
2004 --psdir=DIR ps documentation [DOCDIR]
2010 --x-includes=DIR X include files are
in DIR
2011 --x-libraries=DIR X library files are
in DIR
2014 --build=BUILD configure
for building on BUILD
[guessed
]
2015 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2019 if test -n "$ac_init_help"; then
2020 case $ac_init_help in
2021 short
| recursive
) echo "Configuration of wxWidgets 2.9.4:";;
2026 --disable-option-checking ignore unrecognized
--enable/--with options
2027 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2028 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2029 --disable-gui don
't build GUI parts of the library
2030 --enable-monolithic build wxWidgets as single library
2031 --enable-plugins build parts of wxWidgets as loadable components
2032 --enable-official_build official build of wxWidgets (win32 DLL only)
2033 --enable-vendor=VENDOR vendor name (win32 DLL only)
2034 --disable-all-features disable all optional features to build minimal library
2035 --enable-universal use wxWidgets GUI controls instead of native ones
2036 --enable-nanox use NanoX
2037 --disable-gtk2 use GTK+ 1.2 instead of 2.0
2038 --enable-gpe use GNOME PDA Environment features if possible
2039 --enable-debug build library for debugging
2040 --disable-debug_flag disable all debugging support
2041 --enable-debug_info generate debug information
2042 --enable-debug_gdb create code with extra GDB debugging information
2043 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2044 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2045 --disable-shared create static library instead of shared
2046 --enable-stl use standard C++ classes for everything
2047 --enable-std_containers use standard C++ container classes
2048 --enable-std_iostreams use standard C++ stream classes
2049 --enable-std_string use standard C++ string classes
2050 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2051 --disable-unicode compile without Unicode support
2052 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2053 --enable-utf8 use UTF-8 representation for strings (Unix only)
2054 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2055 --enable-extended_rtti use extended RTTI (XTI)
2056 --enable-omf use OMF object format
2057 --disable-optimise compile without optimisations
2058 --enable-profile create code with profiling information
2059 --enable-no_rtti create code without RTTI information
2060 --enable-no_exceptions create code without C++ exceptions handling
2061 --enable-permissive compile code disregarding strict ANSI
2062 --enable-no_deps create code without dependency information
2063 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2064 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2065 --enable-macosx_arch=ARCH build
for just the specified architecture
2066 --enable-compat26 enable wxWidgets
2.6 compatibility
2067 --disable-compat28 disable wxWidgets
2.8 compatibility
2068 --disable-rpath disable use of rpath
for uninstalled builds
2069 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2070 --disable-visibility disable use of ELF symbols visibility even
if supported
2071 --disable-tls disable use of compiler TLS support
2072 --enable-intl use internationalization system
2073 --enable-xlocale use x
-locale support
(requires wxLocale
)
2074 --enable-config use wxConfig
(and derived
) classes
2075 --enable-protocols use wxProtocol and derived classes
2076 --enable-ftp use wxFTP
(requires wxProtocol
2077 --enable-http use wxHTTP
(requires wxProtocol
2078 --enable-fileproto use wxFileProto class
(requires wxProtocol
2079 --enable-sockets use socket
/network classes
2080 --enable-ipv6 enable IPv6 support
in wxSocket
2081 --enable-ole use OLE classes
(Win32 only
)
2082 --enable-dataobj use data object classes
2083 --enable-ipc use interprocess communication
(wxSocket etc.
)
2084 --enable-baseevtloop use event loop
in console programs too
2085 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2086 --enable-selectloop use wxSelectDispatcher class
2087 --enable-any use wxAny class
2088 --enable-apple_ieee use the Apple IEEE codec
2089 --enable-arcstream use wxArchive streams
2090 --enable-base64 use base64 encoding
/decoding functions
2091 --enable-backtrace use wxStackWalker class
for getting backtraces
2092 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2093 --enable-cmdline use wxCmdLineParser class
2094 --enable-datetime use wxDateTime class
2095 --enable-debugreport use wxDebugReport class
2096 --enable-dialupman use dialup network classes
2097 --enable-dynlib use wxLibrary class
for DLL loading
2098 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2099 --enable-exceptions build exception
-safe library
2100 --enable-ffile use wxFFile class
2101 --enable-file use wxFile class
2102 --enable-filehistory use wxFileHistory class
2103 --enable-filesystem use virtual
file systems classes
2104 --enable-fontenum use wxFontEnumerator class
2105 --enable-fontmap use font encodings conversion classes
2106 --enable-fs_archive use virtual archive filesystems
2107 --enable-fs_inet use virtual HTTP
/FTP filesystems
2108 --enable-fs_zip now replaced by fs_archive
2109 --enable-fswatcher use wxFileSystemWatcher class
2110 --enable-geometry use geometry class
2111 --enable-log use logging system
2112 --enable-longlong use wxLongLong class
2113 --enable-mimetype use wxMimeTypesManager
2114 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2115 --enable-snglinst use wxSingleInstanceChecker class
2116 --enable-sound use wxSound class
2117 --enable-stdpaths use wxStandardPaths class
2118 --enable-stopwatch use wxStopWatch class
2119 --enable-streams use wxStream etc classes
2120 --enable-sysoptions use wxSystemOptions
2121 --enable-tarstream use wxTar streams
2122 --enable-textbuf use wxTextBuffer class
2123 --enable-textfile use wxTextFile class
2124 --enable-timer use wxTimer class
2125 --enable-variant use wxVariant class
2126 --enable-zipstream use wxZip streams
2127 --enable-url use wxURL class
2128 --enable-protocol use wxProtocol class
2129 --enable-protocol-http HTTP support
in wxProtocol
2130 --enable-protocol-ftp FTP support
in wxProtocol
2131 --enable-protocol-file FILE support
in wxProtocol
2132 --enable-threads use threads
2133 --enable-iniconf use wxIniConfig
(Win32 only
)
2134 --enable-regkey use wxRegKey class
(Win32 only
)
2135 --enable-docview use document view architecture
2136 --enable-help use
help subsystem
2137 --enable-mshtmlhelp use MS HTML Help
(win32
)
2138 --enable-html use wxHTML sub
-library
2139 --enable-htmlhelp use wxHTML
-based help
2140 --enable-xrc use XRC resources sub
-library
2141 --enable-aui use AUI docking library
2142 --enable-propgrid use wxPropertyGrid library
2143 --enable-ribbon use wxRibbon library
2144 --enable-stc use wxStyledTextCtrl library
2145 --enable-constraints use layout
-constraints system
2146 --enable-loggui use standard GUI logger
2147 --enable-logwin use wxLogWindow
2148 --enable-logdialog use wxLogDialog
2149 --enable-mdi use multiple document interface architecture
2150 --enable-mdidoc use docview architecture with MDI
2151 --enable-mediactrl use wxMediaCtrl class
2152 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2153 --enable-richtext use wxRichTextCtrl
2154 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2155 --enable-printarch use printing architecture
2156 --enable-svg use wxSVGFileDC device context
2157 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2158 --enable-webview use wxWebView library
2159 --enable-graphics_ctx use graphics context
2D drawing API
2160 --enable-clipboard use wxClipboard class
2161 --enable-dnd use Drag
'n'Drop classes
2162 --disable-controls disable compilation of all standard controls
2163 --enable-markup support wxControl
::SetLabelMarkup
2164 --enable-accel use accelerators
2165 --enable-animatectrl use wxAnimationCtrl class
2166 --enable-bannerwindow use wxBannerWindow class
2167 --enable-artstd use standard XPM icons
in wxArtProvider
2168 --enable-arttango use Tango icons
in wxArtProvider
2169 --enable-bmpbutton use wxBitmapButton class
2170 --enable-bmpcombobox use wxBitmapComboBox class
2171 --enable-button use wxButton class
2172 --enable-calendar use wxCalendarCtrl class
2173 --enable-caret use wxCaret class
2174 --enable-checkbox use wxCheckBox class
2175 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2176 --enable-choice use wxChoice class
2177 --enable-choicebook use wxChoicebook class
2178 --enable-collpane use wxCollapsiblePane class
2179 --enable-colourpicker use wxColourPickerCtrl class
2180 --enable-combobox use wxComboBox class
2181 --enable-comboctrl use wxComboCtrl class
2182 --enable-commandlinkbutton use wxCommmandLinkButton class
2183 --enable-dataviewctrl use wxDataViewCtrl class
2184 --enable-datepick use wxDatePickerCtrl class
2185 --enable-detect_sm use code to detect X11 session manager
2186 --enable-dirpicker use wxDirPickerCtrl class
2187 --enable-display use wxDisplay class
2188 --enable-editablebox use wxEditableListBox class
2189 --enable-filectrl use wxFileCtrl class
2190 --enable-filepicker use wxFilePickerCtrl class
2191 --enable-fontpicker use wxFontPickerCtrl class
2192 --enable-gauge use wxGauge class
2193 --enable-grid use wxGrid class
2194 --enable-headerctrl use wxHeaderCtrl class
2195 --enable-hyperlink use wxHyperlinkCtrl class
2196 --enable-imaglist use wxImageList class
2197 --enable-infobar use wxInfoBar class
2198 --enable-listbook use wxListbook class
2199 --enable-listbox use wxListBox class
2200 --enable-listctrl use wxListCtrl class
2201 --enable-notebook use wxNotebook class
2202 --enable-notifmsg use wxNotificationMessage class
2203 --enable-odcombobox use wxOwnerDrawnComboBox class
2204 --enable-popupwin use wxPopUpWindow class
2205 --enable-radiobox use wxRadioBox class
2206 --enable-radiobtn use wxRadioButton class
2207 --enable-richmsgdlg use wxRichMessageDialog class
2208 --enable-richtooltip use wxRichToolTip class
2209 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2210 --enable-sash use wxSashWindow class
2211 --enable-scrollbar use wxScrollBar class and scrollable windows
2212 --enable-searchctrl use wxSearchCtrl class
2213 --enable-slider use wxSlider class
2214 --enable-spinbtn use wxSpinButton class
2215 --enable-spinctrl use wxSpinCtrl class
2216 --enable-splitter use wxSplitterWindow class
2217 --enable-statbmp use wxStaticBitmap class
2218 --enable-statbox use wxStaticBox class
2219 --enable-statline use wxStaticLine class
2220 --enable-stattext use wxStaticText class
2221 --enable-statusbar use wxStatusBar class
2222 --enable-taskbaricon use wxTaskBarIcon class
2223 --enable-tbarnative use native wxToolBar class
2224 --enable-textctrl use wxTextCtrl class
2225 --enable-timepick use wxTimePickerCtrl class
2226 --enable-tipwindow use wxTipWindow class
2227 --enable-togglebtn use wxToggleButton class
2228 --enable-toolbar use wxToolBar class
2229 --enable-toolbook use wxToolbook class
2230 --enable-treebook use wxTreebook class
2231 --enable-treectrl use wxTreeCtrl class
2232 --enable-treelist use wxTreeListCtrl class
2233 --enable-commondlg use all common dialogs
2234 --enable-aboutdlg use wxAboutBox
2235 --enable-choicedlg use wxChoiceDialog
2236 --enable-coldlg use wxColourDialog
2237 --enable-filedlg use wxFileDialog
2238 --enable-finddlg use wxFindReplaceDialog
2239 --enable-fontdlg use wxFontDialog
2240 --enable-dirdlg use wxDirDialog
2241 --enable-msgdlg use wxMessageDialog
2242 --enable-numberdlg use wxNumberEntryDialog
2243 --enable-splash use wxSplashScreen
2244 --enable-textdlg use wxTextDialog
2245 --enable-tipdlg use startup tips
2246 --enable-progressdlg use wxProgressDialog
2247 --enable-wizarddlg use wxWizard
2248 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2249 --enable-miniframe use wxMiniFrame class
2250 --enable-tooltips use wxToolTip class
2251 --enable-splines use spline drawing code
2252 --enable-mousewheel use mousewheel
2253 --enable-validators use wxValidator and derived classes
2254 --enable-busyinfo use wxBusyInfo
2255 --enable-hotkey use wxWindow
::RegisterHotKey
()
2256 --enable-joystick use wxJoystick
2257 --enable-metafiles use wxMetaFile
2258 --enable-dragimage use wxDragImage
2259 --enable-accessibility enable accessibility support
2260 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2261 --enable-dctransform use wxDC
::SetTransformMatrix and related
2262 --enable-webview-webkit use wxWebView WebKit backend
2263 --enable-palette use wxPalette class
2264 --enable-image use wxImage class
2265 --enable-gif use gif images
(GIF
file format
)
2266 --enable-pcx use pcx images
(PCX
file format
)
2267 --enable-tga use tga images
(TGA
file format
)
2268 --enable-iff use iff images
(IFF
file format
)
2269 --enable-pnm use pnm images
(PNM
file format
)
2270 --enable-xpm use xpm images
(XPM
file format
)
2271 --enable-ico_cur use Windows ICO and CUR formats
2272 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2273 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2274 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2275 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2276 --enable-wxdib use wxDIB class
(Win32 only
)
2277 --enable-webview-ie use wxWebView IE backend
(Win32 only
)
2278 --enable-autoidman use automatic ids management
2279 --disable-largefile omit support
for large files
2280 --disable-gtktest do not try to compile and run a
test GTK
+ program
2281 --disable-gtktest Do not try to compile and run a
test GTK program
2282 --disable-sdltest Do not try to compile and run a
test SDL program
2283 --enable-omf use OMF object format
(OS
/2)
2284 --disable-dependency-tracking
2285 don
't use dependency tracking even if the compiler
2287 --disable-precomp-headers
2288 don't use precompiled headers even
if compiler can
2291 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2292 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2293 --without-subdirs don
't generate makefiles for samples/demos/...
2294 --with-flavour=NAME specify a name to identify this build
2295 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2296 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
2297 --with-motif use Motif/Lesstif
2298 --with-osx_carbon use Mac OS X (Carbon)
2299 --with-osx_cocoa use Mac OS X (Cocoa)
2300 --with-osx_iphone use iPhone OS X port
2301 --with-osx use Mac OS X (default port, currently Carbon)
2302 --with-carbon same as --with-osx_carbon
2303 --with-cocoa same as --with-osx_cocoa
2304 --with-iphone same as --with-osx_iphone
2305 --with-mac same as --with-osx
2306 --with-old_cocoa use old, deprecated, Cocoa port
2307 --with-wine use Wine
2308 --with-msw use MS-Windows
2309 --with-pm use OS/2 Presentation Manager
2310 --with-directfb use DirectFB
2311 --with-microwin use MicroWindows
2313 --with-libpng use libpng (PNG image format)
2314 --with-libjpeg use libjpeg (JPEG file format)
2315 --with-libtiff use libtiff (TIFF file format)
2316 --with-libxpm use libxpm (XPM file format)
2317 --with-libiconv use libiconv (character conversion)
2318 --with-libmspack use libmspack (CHM help files loading)
2319 --without-gtkprint don't use GTK printing support
2320 --without-gnomeprint don
't use GNOME printing libraries
2321 --with-gnomevfs use GNOME VFS for associating MIME types
2322 --with-hildon use Hildon framework for Nokia 770/800/810
2323 --with-opengl use OpenGL (or Mesa)
2324 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2325 --with-sdl use SDL for audio on Unix
2326 --with-regex enable support for wxRegEx class
2327 --with-zlib use zlib for LZW compression
2328 --with-expat enable XML support using expat parser
2329 --with-macosx-sdk=PATH use an OS X SDK at PATH
2330 --with-macosx-version-min=VER build binaries which require at least this OS X version
2331 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2332 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2333 --with-x use the X Window System
2334 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2335 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2336 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2337 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2338 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2340 Some influential environment variables:
2341 CC C compiler command
2342 CFLAGS C compiler flags
2343 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2344 nonstandard directory <lib dir>
2345 LIBS libraries to pass to the linker, e.g. -l<library>
2346 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2347 you have headers in a nonstandard directory <include dir>
2349 CXX C++ compiler command
2350 CXXFLAGS C++ compiler flags
2351 CXXCPP C++ preprocessor
2352 PKG_CONFIG path to pkg-config utility
2354 C compiler flags for DIRECTFB, overriding pkg-config
2356 linker flags for DIRECTFB, overriding pkg-config
2357 XMKMF Path to xmkmf, Makefile generator for X Window System
2359 C compiler flags for PANGOX, overriding pkg-config
2360 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2362 C compiler flags for PANGOFT2, overriding pkg-config
2364 linker flags for PANGOFT2, overriding pkg-config
2366 C compiler flags for PANGOXFT, overriding pkg-config
2368 linker flags for PANGOXFT, overriding pkg-config
2370 C compiler flags for Xinerama, overriding pkg-config
2372 linker flags for Xinerama, overriding pkg-config
2374 C compiler flags for Xxf86vm, overriding pkg-config
2376 linker flags for Xxf86vm, overriding pkg-config
2377 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2378 SM_LIBS linker flags for SM, overriding pkg-config
2379 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2380 GL_LIBS linker flags for GL, overriding pkg-config
2381 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2382 GLU_LIBS linker flags for GLU, overriding pkg-config
2384 C compiler flags for MesaGL, overriding pkg-config
2385 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2387 C compiler flags for GTKPRINT, overriding pkg-config
2389 linker flags for GTKPRINT, overriding pkg-config
2390 LIBGNOMEPRINTUI_CFLAGS
2391 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2392 LIBGNOMEPRINTUI_LIBS
2393 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2395 C compiler flags for GNOMEVFS, overriding pkg-config
2397 linker flags for GNOMEVFS, overriding pkg-config
2399 C compiler flags for HILDON, overriding pkg-config
2400 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2402 C compiler flags for HILDON2, overriding pkg-config
2404 linker flags for HILDON2, overriding pkg-config
2406 C compiler flags for WEBKIT, overriding pkg-config
2407 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2409 C compiler flags for CAIRO, overriding pkg-config
2410 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2411 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2412 GST_LIBS linker flags for GST, overriding pkg-config
2414 Use these variables to override the choices made by `configure' or to
help
2415 it to
find libraries and programs with nonstandard names
/locations.
2417 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2422 if test "$ac_init_help" = "recursive"; then
2423 # If there are subdirs, report their specific --help.
2424 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2425 test -d "$ac_dir" ||
2426 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2431 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2433 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2434 # A ".." for each directory in $ac_dir_suffix.
2435 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2436 case $ac_top_builddir_sub in
2437 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2438 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2441 ac_abs_top_builddir
=$ac_pwd
2442 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2443 # for backward compatibility:
2444 ac_top_builddir
=$ac_top_build_prefix
2447 .
) # We are building in place.
2449 ac_top_srcdir
=$ac_top_builddir_sub
2450 ac_abs_top_srcdir
=$ac_pwd ;;
2451 [\\/]* | ?
:[\\/]* ) # Absolute name.
2452 ac_srcdir
=$srcdir$ac_dir_suffix;
2453 ac_top_srcdir
=$srcdir
2454 ac_abs_top_srcdir
=$srcdir ;;
2456 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2457 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2458 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2460 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2462 cd "$ac_dir" || { ac_status
=$?
; continue; }
2463 # Check for guested configure.
2464 if test -f "$ac_srcdir/configure.gnu"; then
2466 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2467 elif test -f "$ac_srcdir/configure"; then
2469 $SHELL "$ac_srcdir/configure" --help=recursive
2471 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2473 cd "$ac_pwd" || { ac_status
=$?
; break; }
2477 test -n "$ac_init_help" && exit $ac_status
2478 if $ac_init_version; then
2480 wxWidgets configure
2.9.4
2481 generated by GNU Autoconf
2.67
2483 Copyright
(C
) 2010 Free Software Foundation
, Inc.
2484 This configure
script is free software
; the Free Software Foundation
2485 gives unlimited permission to copy
, distribute and modify it.
2490 ## ------------------------ ##
2491 ## Autoconf initialization. ##
2492 ## ------------------------ ##
2494 # ac_fn_c_try_compile LINENO
2495 # --------------------------
2496 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2497 ac_fn_c_try_compile
()
2499 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2500 rm -f conftest.
$ac_objext
2501 if { { ac_try
="$ac_compile"
2503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2507 $as_echo "$ac_try_echo"; } >&5
2508 (eval "$ac_compile") 2>conftest.err
2510 if test -s conftest.err; then
2511 grep -v '^ *+' conftest.err >conftest.er1
2512 cat conftest.er1 >&5
2513 mv -f conftest.er1 conftest.err
2515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2516 test $ac_status = 0; } && {
2517 test -z "$ac_c_werror_flag" ||
2518 test ! -s conftest.err
2519 } && test -s conftest.$ac_objext; then :
2522 $as_echo "$as_me: failed program was:" >&5
2523 sed 's/^/| /' conftest.$ac_ext >&5
2527 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2528 as_fn_set_status $ac_retval
2530 } # ac_fn_c_try_compile
2532 # ac_fn_c_try_cpp LINENO
2533 # ----------------------
2534 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2538 if { { ac_try="$ac_cpp conftest.$ac_ext"
2540 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2541 *) ac_try_echo
=$ac_try;;
2543 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2547 if test -s conftest.err
; then
2548 grep -v '^ *+' conftest.err
>conftest.er1
2549 cat conftest.er1
>&5
2550 mv -f conftest.er1 conftest.err
2552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2553 test $ac_status = 0; } > conftest.i
&& {
2554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2555 test ! -s conftest.err
2559 $as_echo "$as_me: failed program was:" >&5
2560 sed 's/^/| /' conftest.
$ac_ext >&5
2564 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2565 as_fn_set_status
$ac_retval
2569 # ac_fn_cxx_try_compile LINENO
2570 # ----------------------------
2571 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2572 ac_fn_cxx_try_compile
()
2574 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2575 rm -f conftest.
$ac_objext
2576 if { { ac_try
="$ac_compile"
2578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2582 $as_echo "$ac_try_echo"; } >&5
2583 (eval "$ac_compile") 2>conftest.err
2585 if test -s conftest.err; then
2586 grep -v '^ *+' conftest.err >conftest.er1
2587 cat conftest.er1 >&5
2588 mv -f conftest.er1 conftest.err
2590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2591 test $ac_status = 0; } && {
2592 test -z "$ac_cxx_werror_flag" ||
2593 test ! -s conftest.err
2594 } && test -s conftest.$ac_objext; then :
2597 $as_echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2602 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2603 as_fn_set_status $ac_retval
2605 } # ac_fn_cxx_try_compile
2607 # ac_fn_c_try_link LINENO
2608 # -----------------------
2609 # Try to link conftest.$ac_ext, and return whether this succeeded.
2612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2613 rm -f conftest.$ac_objext conftest$ac_exeext
2614 if { { ac_try="$ac_link"
2616 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2617 *) ac_try_echo
=$ac_try;;
2619 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2620 $as_echo "$ac_try_echo"; } >&5
2621 (eval "$ac_link") 2>conftest.err
2623 if test -s conftest.err
; then
2624 grep -v '^ *+' conftest.err
>conftest.er1
2625 cat conftest.er1
>&5
2626 mv -f conftest.er1 conftest.err
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; } && {
2630 test -z "$ac_c_werror_flag" ||
2631 test ! -s conftest.err
2632 } && test -s conftest
$ac_exeext && {
2633 test "$cross_compiling" = yes ||
2634 $as_test_x conftest
$ac_exeext
2638 $as_echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.
$ac_ext >&5
2643 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2644 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2645 # interfere with the next link command; also delete a directory that is
2646 # left behind by Apple's compiler. We do this before executing the actions.
2647 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2648 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2649 as_fn_set_status
$ac_retval
2651 } # ac_fn_c_try_link
2653 # ac_fn_cxx_try_link LINENO
2654 # -------------------------
2655 # Try to link conftest.$ac_ext, and return whether this succeeded.
2656 ac_fn_cxx_try_link
()
2658 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2659 rm -f conftest.
$ac_objext conftest
$ac_exeext
2660 if { { ac_try
="$ac_link"
2662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2666 $as_echo "$ac_try_echo"; } >&5
2667 (eval "$ac_link") 2>conftest.err
2669 if test -s conftest.err; then
2670 grep -v '^ *+' conftest.err >conftest.er1
2671 cat conftest.er1 >&5
2672 mv -f conftest.er1 conftest.err
2674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2675 test $ac_status = 0; } && {
2676 test -z "$ac_cxx_werror_flag" ||
2677 test ! -s conftest.err
2678 } && test -s conftest$ac_exeext && {
2679 test "$cross_compiling" = yes ||
2680 $as_test_x conftest$ac_exeext
2684 $as_echo "$as_me: failed program was:" >&5
2685 sed 's/^/| /' conftest.$ac_ext >&5
2689 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2690 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2691 # interfere with the next link command; also delete a directory that is
2692 # left behind by Apple's compiler. We do this before executing the actions.
2693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2694 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2695 as_fn_set_status $ac_retval
2697 } # ac_fn_cxx_try_link
2699 # ac_fn_c_try_run LINENO
2700 # ----------------------
2701 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2702 # that executables *can* be run.
2705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2706 if { { ac_try="$ac_link"
2708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2709 *) ac_try_echo
=$ac_try;;
2711 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2712 $as_echo "$ac_try_echo"; } >&5
2713 (eval "$ac_link") 2>&5
2715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2716 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2717 { { case "(($ac_try" in
2718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2722 $as_echo "$ac_try_echo"; } >&5
2723 (eval "$ac_try") 2>&5
2725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2726 test $ac_status = 0; }; }; then :
2729 $as_echo "$as_me: program exited with status $ac_status" >&5
2730 $as_echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2733 ac_retval=$ac_status
2735 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2736 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2737 as_fn_set_status $ac_retval
2741 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2742 # -------------------------------------------------------
2743 # Tests whether HEADER exists and can be compiled using the include files in
2744 # INCLUDES, setting the cache variable VAR accordingly.
2745 ac_fn_c_check_header_compile ()
2747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2749 $as_echo_n "checking for $2... " >&6; }
2750 if eval "test \"\${$3+set}\"" = set; then :
2751 $as_echo_n "(cached) " >&6
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h. */
2758 if ac_fn_c_try_compile "$LINENO"; then :
2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2767 $as_echo "$ac_res" >&6; }
2768 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2770 } # ac_fn_c_check_header_compile
2772 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2773 # --------------------------------------------
2774 # Tries to find the compile-time value of EXPR in a program that includes
2775 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2777 ac_fn_c_compute_int ()
2779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2780 if test "$cross_compiling" = yes; then
2781 # Depending upon the size, compute the lo and hi bounds.
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h. */
2788 static int test_array [1 - 2 * !(($2) >= 0)];
2795 if ac_fn_c_try_compile "$LINENO"; then :
2798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2799 /* end confdefs.h. */
2804 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2811 if ac_fn_c_try_compile "$LINENO"; then :
2812 ac_hi=$ac_mid; break
2814 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2815 if test $ac_lo -le $ac_mid; then
2819 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h. */
2830 static int test_array [1 - 2 * !(($2) < 0)];
2837 if ac_fn_c_try_compile "$LINENO"; then :
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2846 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2853 if ac_fn_c_try_compile "$LINENO"; then :
2854 ac_lo=$ac_mid; break
2856 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2857 if test $ac_mid -le $ac_hi; then
2861 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 # Binary search between lo and hi bounds.
2872 while test "x$ac_lo" != "x$ac_hi"; do
2873 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h. */
2880 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2887 if ac_fn_c_try_compile "$LINENO"; then :
2890 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2895 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2900 /* end confdefs.h. */
2902 static long int longval () { return $2; }
2903 static unsigned long int ulongval () { return $2; }
2910 FILE *f = fopen ("conftest.val", "w");
2915 long int i = longval ();
2918 fprintf (f, "%ld", i);
2922 unsigned long int i = ulongval ();
2925 fprintf (f, "%lu", i);
2927 /* Do not output a trailing newline, as this causes \r\n confusion
2928 on some platforms. */
2929 return ferror (f) || fclose (f) != 0;
2935 if ac_fn_c_try_run "$LINENO"; then :
2936 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2941 conftest.$ac_objext conftest.beam conftest.$ac_ext
2945 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2946 as_fn_set_status $ac_retval
2948 } # ac_fn_c_compute_int
2950 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2951 # ---------------------------------------------------------
2952 # Tests whether HEADER exists and can be compiled using the include files in
2953 # INCLUDES, setting the cache variable VAR accordingly.
2954 ac_fn_cxx_check_header_compile ()
2956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2958 $as_echo_n "checking for $2... " >&6; }
2959 if eval "test \"\${$3+set}\"" = set; then :
2960 $as_echo_n "(cached) " >&6
2962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2963 /* end confdefs.h. */
2967 if ac_fn_cxx_try_compile "$LINENO"; then :
2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2976 $as_echo "$ac_res" >&6; }
2977 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2979 } # ac_fn_cxx_check_header_compile
2981 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2982 # ---------------------------------------------
2983 # Tests whether TYPE exists after having included INCLUDES, setting cache
2984 # variable VAR accordingly.
2985 ac_fn_cxx_check_type ()
2987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2989 $as_echo_n "checking for $2... " >&6; }
2990 if eval "test \"\${$3+set}\"" = set; then :
2991 $as_echo_n "(cached) " >&6
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
3006 if ac_fn_cxx_try_compile "$LINENO"; then :
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3019 if ac_fn_cxx_try_compile "$LINENO"; then :
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3030 $as_echo "$ac_res" >&6; }
3031 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3033 } # ac_fn_cxx_check_type
3035 # ac_fn_cxx_try_cpp LINENO
3036 # ------------------------
3037 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3038 ac_fn_cxx_try_cpp ()
3040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3041 if { { ac_try="$ac_cpp conftest.$ac_ext"
3043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3044 *) ac_try_echo
=$ac_try;;
3046 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3050 if test -s conftest.err
; then
3051 grep -v '^ *+' conftest.err
>conftest.er1
3052 cat conftest.er1
>&5
3053 mv -f conftest.er1 conftest.err
3055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3056 test $ac_status = 0; } > conftest.i
&& {
3057 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3058 test ! -s conftest.err
3062 $as_echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.
$ac_ext >&5
3067 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
3068 as_fn_set_status
$ac_retval
3070 } # ac_fn_cxx_try_cpp
3072 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3073 # ---------------------------------------------------------
3074 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3075 # the include files in INCLUDES and setting the cache variable VAR
3077 ac_fn_cxx_check_header_mongrel
()
3079 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3080 if eval "test \"\${$3+set}\"" = set; then :
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3082 $as_echo_n "checking for $2... " >&6; }
3083 if eval "test \"\${$3+set}\"" = set; then :
3084 $as_echo_n "(cached) " >&6
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3088 $as_echo "$ac_res" >&6; }
3090 # Is the header compilable?
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3092 $as_echo_n "checking $2 usability... " >&6; }
3093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3098 if ac_fn_cxx_try_compile
"$LINENO"; then :
3099 ac_header_compiler
=yes
3101 ac_header_compiler
=no
3103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3105 $as_echo "$ac_header_compiler" >&6; }
3107 # Is the header present?
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3109 $as_echo_n "checking $2 presence... " >&6; }
3110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3114 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3115 ac_header_preproc
=yes
3117 ac_header_preproc
=no
3119 rm -f conftest.err conftest.i conftest.
$ac_ext
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3121 $as_echo "$ac_header_preproc" >&6; }
3123 # So? What about this header?
3124 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3127 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3129 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3133 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3135 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3137 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3139 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3141 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3142 ( $as_echo "## ----------------------------------------- ##
3143 ## Report this to wx-dev@lists.wxwidgets.org ##
3144 ## ----------------------------------------- ##"
3145 ) | sed "s/^/$as_me: WARNING: /" >&2
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3149 $as_echo_n "checking for $2... " >&6; }
3150 if eval "test \"\${$3+set}\"" = set; then :
3151 $as_echo_n "(cached) " >&6
3153 eval "$3=\$ac_header_compiler"
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3157 $as_echo "$ac_res" >&6; }
3159 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
3161 } # ac_fn_cxx_check_header_mongrel
3163 # ac_fn_c_check_func LINENO FUNC VAR
3164 # ----------------------------------
3165 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3166 ac_fn_c_check_func
()
3168 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3170 $as_echo_n "checking for $2... " >&6; }
3171 if eval "test \"\${$3+set}\"" = set; then :
3172 $as_echo_n "(cached) " >&6
3174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3176 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3178 #define $2 innocuous_$2
3180 /* System header to define __stub macros and hopefully few prototypes,
3181 which can conflict with char $2 (); below.
3182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3183 <limits.h> exists even on freestanding compilers. */
3186 # include <limits.h>
3188 # include <assert.h>
3193 /* Override any GCC internal prototype to avoid an error.
3194 Use char because int might match the return type of a GCC
3195 builtin and then its argument prototype would still apply. */
3200 /* The GNU C library defines this for functions which it implements
3201 to always fail with ENOSYS. Some functions are actually named
3202 something starting with __ and the normal name is an alias. */
3203 #if defined __stub_$2 || defined __stub___$2
3215 if ac_fn_c_try_link
"$LINENO"; then :
3220 rm -f core conftest.err conftest.
$ac_objext \
3221 conftest
$ac_exeext conftest.
$ac_ext
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3225 $as_echo "$ac_res" >&6; }
3226 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
3228 } # ac_fn_c_check_func
3230 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3231 # -------------------------------------------
3232 # Tests whether TYPE exists after having included INCLUDES, setting cache
3233 # variable VAR accordingly.
3234 ac_fn_c_check_type
()
3236 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3238 $as_echo_n "checking for $2... " >&6; }
3239 if eval "test \"\${$3+set}\"" = set; then :
3240 $as_echo_n "(cached) " >&6
3243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3255 if ac_fn_c_try_compile
"$LINENO"; then :
3256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3268 if ac_fn_c_try_compile
"$LINENO"; then :
3273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3279 $as_echo "$ac_res" >&6; }
3280 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
3282 } # ac_fn_c_check_type
3284 # ac_fn_cxx_try_run LINENO
3285 # ------------------------
3286 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3287 # that executables *can* be run.
3288 ac_fn_cxx_try_run
()
3290 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3291 if { { ac_try
="$ac_link"
3293 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3294 *) ac_try_echo=$ac_try;;
3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3297 $as_echo "$ac_try_echo"; } >&5
3298 (eval "$ac_link") 2>&5
3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3302 { { case "(($ac_try" in
3303 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3304 *) ac_try_echo
=$ac_try;;
3306 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3307 $as_echo "$ac_try_echo"; } >&5
3308 (eval "$ac_try") 2>&5
3310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311 test $ac_status = 0; }; }; then :
3314 $as_echo "$as_me: program exited with status $ac_status" >&5
3315 $as_echo "$as_me: failed program was:" >&5
3316 sed 's/^/| /' conftest.
$ac_ext >&5
3318 ac_retval
=$ac_status
3320 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3321 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
3322 as_fn_set_status
$ac_retval
3324 } # ac_fn_cxx_try_run
3325 cat >config.log
<<_ACEOF
3326 This file contains any messages produced by compilers while
3327 running configure, to aid debugging if configure makes a mistake.
3329 It was created by wxWidgets $as_me 2.9.4, which was
3330 generated by GNU Autoconf 2.67. Invocation command line was
3342 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3343 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3344 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3345 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3346 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3348 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3349 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3351 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3352 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3353 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3354 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3355 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3356 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3357 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3365 test -z "$as_dir" && as_dir
=.
3366 $as_echo "PATH: $as_dir"
3382 # Keep a trace of the command line.
3383 # Strip out --no-create and --no-recursion so they do not pile up.
3384 # Strip out --silent because we don't want to record it for future runs.
3385 # Also quote any args containing shell meta-characters.
3386 # Make two passes to allow for proper duplicate-argument suppression.
3390 ac_must_keep_next
=false
3396 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3397 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3398 | -silent | --silent | --silen | --sile | --sil)
3401 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3404 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3406 as_fn_append ac_configure_args1
" '$ac_arg'"
3407 if test $ac_must_keep_next = true
; then
3408 ac_must_keep_next
=false
# Got value, back to normal.
3411 *=* | --config-cache | -C | -disable-* | --disable-* \
3412 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3413 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3414 | -with-* | --with-* | -without-* | --without-* | --x)
3415 case "$ac_configure_args0 " in
3416 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3419 -* ) ac_must_keep_next
=true
;;
3422 as_fn_append ac_configure_args
" '$ac_arg'"
3427 { ac_configure_args0
=; unset ac_configure_args0
;}
3428 { ac_configure_args1
=; unset ac_configure_args1
;}
3430 # When interrupted or exit'd, cleanup temporary files, and complete
3431 # config.log. We remove comments because anyway the quotes in there
3432 # would cause problems or look ugly.
3433 # WARNING: Use '\'' to represent an apostrophe within the trap.
3434 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3435 trap 'exit_status=$?
3436 # Save into config.log some information that might help in debugging.
3440 $as_echo "## ---------------- ##
3441 ## Cache variables. ##
3442 ## ---------------- ##"
3444 # The following way of writing the cache mishandles newlines in values,
3446 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3447 eval ac_val=\$$ac_var
3451 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3452 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3455 _ | IFS | as_nl) ;; #(
3456 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3457 *) { eval $ac_var=; unset $ac_var;} ;;
3462 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3463 *${as_nl}ac_space=\ *)
3465 "s/'\''/'\''\\\\'\'''\''/g;
3466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3469 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3476 $as_echo "## ----------------- ##
3477 ## Output variables. ##
3478 ## ----------------- ##"
3480 for ac_var in $ac_subst_vars
3482 eval ac_val=\$$ac_var
3484 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3486 $as_echo "$ac_var='\''$ac_val'\''"
3490 if test -n "$ac_subst_files"; then
3491 $as_echo "## ------------------- ##
3492 ## File substitutions. ##
3493 ## ------------------- ##"
3495 for ac_var
in $ac_subst_files
3497 eval ac_val
=\$
$ac_var
3499 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3501 $as_echo "$ac_var='\''$ac_val'\''"
3506 if test -s confdefs.h; then
3507 $as_echo "## ----------- ##
3514 test "$ac_signal" != 0 &&
3515 $as_echo "$as_me: caught signal $ac_signal"
3516 $as_echo "$as_me: exit $exit_status"
3518 rm -f core *.core core.conftest.* &&
3519 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3522 for ac_signal
in 1 2 13 15; do
3523 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3527 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3528 rm -f -r conftest
* confdefs.h
3530 $as_echo "/* confdefs.h */" > confdefs.h
3532 # Predefined preprocessor variables.
3534 cat >>confdefs.h
<<_ACEOF
3535 #define PACKAGE_NAME "$PACKAGE_NAME"
3538 cat >>confdefs.h
<<_ACEOF
3539 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3542 cat >>confdefs.h
<<_ACEOF
3543 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3546 cat >>confdefs.h
<<_ACEOF
3547 #define PACKAGE_STRING "$PACKAGE_STRING"
3550 cat >>confdefs.h
<<_ACEOF
3551 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3554 cat >>confdefs.h
<<_ACEOF
3555 #define PACKAGE_URL "$PACKAGE_URL"
3559 # Let the site file select an alternate cache file if it wants to.
3560 # Prefer an explicitly selected file to automatically selected ones.
3563 if test -n "$CONFIG_SITE"; then
3564 # We do not want a PATH search for config.site.
3565 case $CONFIG_SITE in #((
3566 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3567 */*) ac_site_file1
=$CONFIG_SITE;;
3568 *) ac_site_file1
=.
/$CONFIG_SITE;;
3570 elif test "x$prefix" != xNONE
; then
3571 ac_site_file1
=$prefix/share
/config.site
3572 ac_site_file2
=$prefix/etc
/config.site
3574 ac_site_file1
=$ac_default_prefix/share
/config.site
3575 ac_site_file2
=$ac_default_prefix/etc
/config.site
3577 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3579 test "x$ac_site_file" = xNONE
&& continue
3580 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3582 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3583 sed 's/^/| /' "$ac_site_file" >&5
3585 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3587 as_fn_error $?
"failed to load site script $ac_site_file
3588 See \`config.log' for more details" "$LINENO" 5 ; }
3592 if test -r "$cache_file"; then
3593 # Some versions of bash will fail to source /dev/null (special files
3594 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3595 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3597 $as_echo "$as_me: loading cache $cache_file" >&6;}
3599 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3600 *) .
"./$cache_file";;
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3605 $as_echo "$as_me: creating cache $cache_file" >&6;}
3609 # Check that the precious variables saved in the cache have kept the same
3611 ac_cache_corrupted
=false
3612 for ac_var
in $ac_precious_vars; do
3613 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3614 eval ac_new_set
=\
$ac_env_${ac_var}_set
3615 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3616 eval ac_new_val
=\
$ac_env_${ac_var}_value
3617 case $ac_old_set,$ac_new_set in
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3620 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3621 ac_cache_corrupted
=: ;;
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3624 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3625 ac_cache_corrupted
=: ;;
3628 if test "x$ac_old_val" != "x$ac_new_val"; then
3629 # differences in whitespace do not lead to failure.
3630 ac_old_val_w
=`echo x $ac_old_val`
3631 ac_new_val_w
=`echo x $ac_new_val`
3632 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3634 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3635 ac_cache_corrupted
=:
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3638 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3639 eval $ac_var=\
$ac_old_val
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3642 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3644 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3647 # Pass precious variables to config.status.
3648 if test "$ac_new_set" = set; then
3650 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3651 *) ac_arg
=$ac_var=$ac_new_val ;;
3653 case " $ac_configure_args " in
3654 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3655 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3659 if $ac_cache_corrupted; then
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3663 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3664 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3666 ## -------------------- ##
3667 ## Main body of script. ##
3668 ## -------------------- ##
3671 ac_cpp
='$CPP $CPPFLAGS'
3672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3681 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3682 if test -f "$ac_dir/install-sh"; then
3684 ac_install_sh
="$ac_aux_dir/install-sh -c"
3686 elif test -f "$ac_dir/install.sh"; then
3688 ac_install_sh
="$ac_aux_dir/install.sh -c"
3690 elif test -f "$ac_dir/shtool"; then
3692 ac_install_sh
="$ac_aux_dir/shtool install -c"
3696 if test -z "$ac_aux_dir"; then
3697 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3700 # These three variables are undocumented and unsupported,
3701 # and are intended to be withdrawn in a future Autoconf release.
3702 # They can cause serious problems if a builder's source tree is in a directory
3703 # whose full name contains unusual characters.
3704 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3705 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3706 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3709 # Make sure we can run config.sub.
3710 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3711 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3714 $as_echo_n "checking build system type... " >&6; }
3715 if test "${ac_cv_build+set}" = set; then :
3716 $as_echo_n "(cached) " >&6
3718 ac_build_alias
=$build_alias
3719 test "x$ac_build_alias" = x
&&
3720 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3721 test "x$ac_build_alias" = x
&&
3722 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3723 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3724 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3728 $as_echo "$ac_cv_build" >&6; }
3729 case $ac_cv_build in
3731 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5 ;;
3734 ac_save_IFS
=$IFS; IFS
='-'
3740 # Remember, the first character of IFS is used to create $*,
3741 # except with old shells:
3744 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3748 $as_echo_n "checking host system type... " >&6; }
3749 if test "${ac_cv_host+set}" = set; then :
3750 $as_echo_n "(cached) " >&6
3752 if test "x$host_alias" = x
; then
3753 ac_cv_host
=$ac_cv_build
3755 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3756 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3761 $as_echo "$ac_cv_host" >&6; }
3764 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5 ;;
3767 ac_save_IFS
=$IFS; IFS
='-'
3773 # Remember, the first character of IFS is used to create $*,
3774 # except with old shells:
3777 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3781 if test "$cross_compiling" != "no"; then
3782 HOST_PREFIX
="${host_alias}-"
3783 HOST_SUFFIX
="-$host_alias"
3790 wx_major_version_number
=2
3791 wx_minor_version_number
=9
3793 wx_subrelease_number
=0
3795 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3796 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3797 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3799 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3802 wx_top_builddir
="`pwd`"
3815 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3821 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3827 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3829 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3831 DEFAULT_wxUSE_OLD_COCOA
=0
3833 DEFAULT_wxUSE_OSX_CARBON
=0
3834 DEFAULT_wxUSE_OSX_COCOA
=0
3835 DEFAULT_wxUSE_OSX_IPHONE
=0
3836 DEFAULT_wxUSE_MICROWIN
=0
3837 DEFAULT_wxUSE_MOTIF
=0
3843 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3844 DEFAULT_DEFAULT_wxUSE_GTK
=0
3845 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3846 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3847 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3848 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3849 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3850 DEFAULT_DEFAULT_wxUSE_MSW
=0
3851 DEFAULT_DEFAULT_wxUSE_PM
=0
3852 DEFAULT_DEFAULT_wxUSE_X11
=0
3853 DEFAULT_DEFAULT_wxUSE_DFB
=0
3857 DYLIB_RPATH_INSTALL
=
3858 DYLIB_RPATH_POSTLINK
=
3860 DEFAULT_STD_FLAG
=yes
3865 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3866 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3867 $as_echo "#define __HPUX__ 1" >>confdefs.h
3870 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3874 $as_echo "#define __LINUX__ 1" >>confdefs.h
3877 if test "x$TMP" = "xalpha"; then
3879 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3882 DEFAULT_DEFAULT_wxUSE_GTK
=1
3884 *-*-gnu* | *-*-k*bsd
*-gnu )
3887 if test "x$TMP" = "xalpha"; then
3889 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3892 DEFAULT_DEFAULT_wxUSE_GTK
=1
3894 *-*-irix5* | *-*-irix6* )
3897 $as_echo "#define __SGI__ 1" >>confdefs.h
3899 $as_echo "#define __SVR4__ 1" >>confdefs.h
3901 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3905 $as_echo "#define __QNX__ 1" >>confdefs.h
3907 DEFAULT_DEFAULT_wxUSE_X11
=1
3913 $as_echo "#define __SUN__ 1" >>confdefs.h
3915 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3917 $as_echo "#define __SVR4__ 1" >>confdefs.h
3919 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3920 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3926 $as_echo "#define __SUN__ 1" >>confdefs.h
3928 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3930 $as_echo "#define __BSD__ 1" >>confdefs.h
3932 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3937 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3939 $as_echo "#define __BSD__ 1" >>confdefs.h
3941 DEFAULT_DEFAULT_wxUSE_GTK
=1
3943 *-*-openbsd*|*-*-mirbsd*)
3946 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3948 $as_echo "#define __BSD__ 1" >>confdefs.h
3950 DEFAULT_DEFAULT_wxUSE_GTK
=1
3955 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3957 $as_echo "#define __BSD__ 1" >>confdefs.h
3959 DEFAULT_DEFAULT_wxUSE_GTK
=1
3960 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3962 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3967 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3969 $as_echo "#define __OSF__ 1" >>confdefs.h
3971 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3972 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3977 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3979 $as_echo "#define __SVR4__ 1" >>confdefs.h
3981 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3986 $as_echo "#define __SYSV__ 1" >>confdefs.h
3988 $as_echo "#define __SVR4__ 1" >>confdefs.h
3990 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3996 $as_echo "#define __AIX__ 1" >>confdefs.h
3998 $as_echo "#define __SYSV__ 1" >>confdefs.h
4000 $as_echo "#define __SVR4__ 1" >>confdefs.h
4002 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4009 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4013 *-*-cygwin* | *-*-mingw32* )
4015 DEFAULT_DEFAULT_wxUSE_MSW
=1
4021 $as_echo "#define __DOS__ 1" >>confdefs.h
4026 *-pc-os2_emx | *-pc-os2-emx )
4027 $as_echo "#define __EMX__ 1" >>confdefs.h
4030 $as_echo "#define __OS2__ 1" >>confdefs.h
4033 DEFAULT_DEFAULT_wxUSE_PM
=1
4035 LDFLAGS
="$LDFLAGS -Zcrtdll"
4036 ac_executable_extensions
=".exe"
4037 export ac_executable_extensions
4041 for ac_dir
in $PATH; do
4043 if test -z "$ac_TEMP_PATH"; then
4044 ac_TEMP_PATH
="$ac_dir"
4046 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4049 export PATH
="$ac_TEMP_PATH"
4057 $as_echo "#define __BSD__ 1" >>confdefs.h
4059 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4061 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4067 $as_echo "#define __BSD__ 1" >>confdefs.h
4069 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4071 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4073 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
4078 $as_echo "#define __BEOS__ 1" >>confdefs.h
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4084 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4086 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4088 DEFAULT_DEFAULT_wxUSE_X11
=1
4089 DEFAULT_wxUSE_SHARED
=no
4094 DEFAULT_wxUSE_ALL_FEATURES
=yes
4096 DEFAULT_wxUSE_STD_CONTAINERS
=no
4097 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4098 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4100 DEFAULT_wxUSE_DMALLOC
=no
4101 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4102 DEFAULT_wxUSE_LIBHILDON
=no
4103 DEFAULT_wxUSE_LIBHILDON2
=no
4104 DEFAULT_wxUSE_LIBMSPACK
=no
4105 DEFAULT_wxUSE_LIBSDL
=no
4107 DEFAULT_wxUSE_ACCESSIBILITY
=no
4108 DEFAULT_wxUSE_IPV6
=no
4109 DEFAULT_wxUSE_GSTREAMER8
=no
4110 DEFAULT_wxUSE_UNICODE_UTF8
=no
4111 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4113 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4114 DEFAULT_wxUSE_OPENGL
=auto
4115 DEFAULT_wxUSE_MEDIACTRL
=auto
4116 DEFAULT_wxUSE_COMPILER_TLS
=auto
4117 DEFAULT_wxUSE_HOTKEY
=auto
4118 DEFAULT_wxUSE_METAFILE
=auto
4120 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4121 DEFAULT_wxUSE_MAC_ARCH
=no
4123 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4125 DEFAULT_wxUSE_GTK2
=yes
4127 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4133 enablestring
=disable
4135 if test -z "$defaultval"; then
4136 if test x
"$enablestring" = xdisable
; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4144 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4145 # Check whether --enable-gui was given.
4146 if test "${enable_gui+set}" = set; then :
4147 enableval
=$enable_gui;
4148 if test "$enableval" = yes; then
4149 wx_cv_use_gui
='wxUSE_GUI=yes'
4151 wx_cv_use_gui
='wxUSE_GUI=no'
4156 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4161 eval "$wx_cv_use_gui"
4163 if test x"$enablestring" = xdisable; then
4164 if test $wxUSE_GUI = no; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4174 $as_echo "$result" >&6; }
4179 if test -z "$defaultval"; then
4180 if test x"$enablestring" = xdisable; then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4188 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4189 # Check whether --enable-monolithic was given.
4190 if test "${enable_monolithic+set}" = set; then :
4191 enableval=$enable_monolithic;
4192 if test "$enableval" = yes; then
4193 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4195 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4200 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4205 eval "$wx_cv_use_monolithic"
4207 if test x"$enablestring" = xdisable; then
4208 if test $wxUSE_MONOLITHIC = no; then
4214 result=$wxUSE_MONOLITHIC
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4218 $as_echo "$result" >&6; }
4223 if test -z "$defaultval"; then
4224 if test x"$enablestring" = xdisable; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4232 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4233 # Check whether --enable-plugins was given.
4234 if test "${enable_plugins+set}" = set; then :
4235 enableval=$enable_plugins;
4236 if test "$enableval" = yes; then
4237 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4239 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4244 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4249 eval "$wx_cv_use_plugins"
4251 if test x
"$enablestring" = xdisable
; then
4252 if test $wxUSE_PLUGINS = no
; then
4258 result
=$wxUSE_PLUGINS
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4262 $as_echo "$result" >&6; }
4266 defaultval
=$wxUSE_ALL_FEATURES
4267 if test -z "$defaultval"; then
4268 if test x
"$withstring" = xwithout
; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4275 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4277 # Check whether --with-subdirs was given.
4278 if test "${with_subdirs+set}" = set; then :
4279 withval
=$with_subdirs;
4280 if test "$withval" = yes; then
4281 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4283 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4288 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4293 eval "$wx_cv_use_subdirs"
4295 if test x"$withstring" = xwithout; then
4296 if test $wxWITH_SUBDIRS = yes; then
4302 result=$wxWITH_SUBDIRS
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4306 $as_echo "$result" >&6; }
4309 # Check whether --with-flavour was given.
4310 if test "${with_flavour+set}" = set; then :
4311 withval=$with_flavour; WX_FLAVOUR="$withval"
4317 if test -z "$defaultval"; then
4318 if test x"$enablestring" = xdisable; then
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4326 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4327 # Check whether --enable-official_build was given.
4328 if test "${enable_official_build+set}" = set; then :
4329 enableval=$enable_official_build;
4330 if test "$enableval" = yes; then
4331 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4333 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4338 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4343 eval "$wx_cv_use_official_build"
4345 if test x"$enablestring" = xdisable; then
4346 if test $wxUSE_OFFICIAL_BUILD = no; then
4352 result=$wxUSE_OFFICIAL_BUILD
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4356 $as_echo "$result" >&6; }
4358 # Check whether --enable-vendor was given.
4359 if test "${enable_vendor+set}" = set; then :
4360 enableval=$enable_vendor; VENDOR="$enableval"
4363 if test "x
$VENDOR" = "x
"; then
4368 enablestring=disable
4370 if test -z "$defaultval"; then
4371 if test x"$enablestring" = xdisable; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4379 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4380 # Check whether --enable-all-features was given.
4381 if test "${enable_all_features+set}" = set; then :
4382 enableval=$enable_all_features;
4383 if test "$enableval" = yes; then
4384 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4386 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4391 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4396 eval "$wx_cv_use_all_features"
4398 if test x
"$enablestring" = xdisable
; then
4399 if test $wxUSE_ALL_FEATURES = no
; then
4405 result
=$wxUSE_ALL_FEATURES
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4409 $as_echo "$result" >&6; }
4412 if test "$wxUSE_ALL_FEATURES" = "no"; then
4413 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4414 DEFAULT_wxUSE_MEDIACTRL
=no
4418 if test "$wxUSE_GUI" = "yes"; then
4423 if test -z "$defaultval"; then
4424 if test x
"$enablestring" = xdisable
; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4432 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4433 # Check whether --enable-universal was given.
4434 if test "${enable_universal+set}" = set; then :
4435 enableval
=$enable_universal;
4436 if test "$enableval" = yes; then
4437 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4439 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4444 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4449 eval "$wx_cv_use_universal"
4451 if test x"$enablestring" = xdisable; then
4452 if test $wxUSE_UNIVERSAL = no; then
4458 result=$wxUSE_UNIVERSAL
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4462 $as_echo "$result" >&6; }
4464 if test "$wxUSE_UNIVERSAL" = "yes"; then
4466 # Check whether --with-themes was given.
4467 if test "${with_themes+set}" = set; then :
4468 withval=$with_themes; wxUNIV_THEMES="$withval"
4474 # Check whether --with-gtk was given.
4475 if test "${with_gtk+set}" = set; then :
4476 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4480 # Check whether --with-motif was given.
4481 if test "${with_motif+set}" = set; then :
4482 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4486 # Check whether --with-osx_carbon was given.
4487 if test "${with_osx_carbon+set}" = set; then :
4488 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4492 # Check whether --with-osx_cocoa was given.
4493 if test "${with_osx_cocoa+set}" = set; then :
4494 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4498 # Check whether --with-osx_iphone was given.
4499 if test "${with_osx_iphone+set}" = set; then :
4500 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4504 # Check whether --with-osx was given.
4505 if test "${with_osx+set}" = set; then :
4506 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4510 # Check whether --with-carbon was given.
4511 if test "${with_carbon+set}" = set; then :
4512 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4516 # Check whether --with-cocoa was given.
4517 if test "${with_cocoa+set}" = set; then :
4518 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4522 # Check whether --with-iphone was given.
4523 if test "${with_iphone+set}" = set; then :
4524 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4528 # Check whether --with-mac was given.
4529 if test "${with_mac+set}" = set; then :
4530 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4534 # Check whether --with-old_cocoa was given.
4535 if test "${with_old_cocoa+set}" = set; then :
4536 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4540 # Check whether --with-wine was given.
4541 if test "${with_wine+set}" = set; then :
4542 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4546 # Check whether --with-msw was given.
4547 if test "${with_msw+set}" = set; then :
4548 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4552 # Check whether --with-pm was given.
4553 if test "${with_pm+set}" = set; then :
4554 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4558 # Check whether --with-directfb was given.
4559 if test "${with_directfb+set}" = set; then :
4560 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4564 # Check whether --with-microwin was given.
4565 if test "${with_microwin+set}" = set; then :
4566 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4570 # Check whether --with-x11 was given.
4571 if test "${with_x11+set}" = set; then :
4572 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4578 if test -z "$defaultval"; then
4579 if test x"$enablestring" = xdisable; then
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4587 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4588 # Check whether --enable-nanox was given.
4589 if test "${enable_nanox+set}" = set; then :
4590 enableval=$enable_nanox;
4591 if test "$enableval" = yes; then
4592 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4594 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4599 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4604 eval "$wx_cv_use_nanox"
4606 if test x"$enablestring" = xdisable; then
4607 if test $wxUSE_NANOX = no; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4617 $as_echo "$result" >&6; }
4620 # Check whether --enable-gtk2 was given.
4621 if test "${enable_gtk2+set}" = set; then :
4622 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
4628 if test -z "$defaultval"; then
4629 if test x"$enablestring" = xdisable; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4637 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4638 # Check whether --enable-gpe was given.
4639 if test "${enable_gpe+set}" = set; then :
4640 enableval=$enable_gpe;
4641 if test "$enableval" = yes; then
4642 wx_cv_use_gpe='wxUSE_GPE=yes'
4644 wx_cv_use_gpe='wxUSE_GPE=no'
4649 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4654 eval "$wx_cv_use_gpe"
4656 if test x
"$enablestring" = xdisable
; then
4657 if test $wxUSE_GPE = no
; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4667 $as_echo "$result" >&6; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4672 $as_echo_n "checking for toolkit... " >&6; }
4676 # In Wine, we need to default to MSW, not GTK or MOTIF
4677 if test "$wxUSE_WINE" = "yes"; then
4678 DEFAULT_DEFAULT_wxUSE_GTK
=0
4679 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4680 DEFAULT_DEFAULT_wxUSE_MSW
=1
4687 if test "$wxUSE_GUI" = "yes"; then
4689 if test "$USE_BEOS" = 1; then
4690 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4693 if test "$TOOLKIT_GIVEN" = 1; then
4694 for toolkit
in $ALL_TOOLKITS; do
4696 eval "value=\$${var}"
4697 if test "x$value" = "xno"; then
4699 elif test "x$value" != "x"; then
4703 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4704 eval "wx${toolkit}_VERSION=$value"
4708 for toolkit
in $ALL_TOOLKITS; do
4709 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4710 eval "wxUSE_$toolkit=\$${var}"
4714 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4715 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4716 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4719 *-pc-os2_emx | *-pc-os2-emx )
4720 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4723 case "$NUM_TOOLKITS" in
4727 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4730 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4733 # to be removed when --disable-gtk2 isn't needed
4734 if test "x$wxUSE_GTK2" = "xyes"; then
4737 elif test "x$wxUSE_GTK2" = "xno"; then
4742 for toolkit
in $ALL_TOOLKITS; do
4744 eval "value=\$${var}"
4745 if test "$value" = 1; then
4746 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4748 $as_echo "$toolkit_echo" >&6; }
4752 if test "x$host_alias" != "x"; then
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4754 $as_echo "base ($host_alias hosted) only" >&6; }
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4757 $as_echo "base only" >&6; }
4762 if test "$wxUSE_OSX_CARBON" = 1 \
4763 -o "$wxUSE_OSX_COCOA" = 1 \
4764 -o "$wxUSE_OSX_IPHONE" = 1; then
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4771 $as_echo_n "checking for --with-libpng... " >&6; }
4773 # Check whether --with-libpng was given.
4774 if test "${with_libpng+set}" = set; then :
4775 withval
=$with_libpng;
4776 if test "$withval" = yes; then
4777 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4778 elif test "$withval" = no
; then
4779 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4780 elif test "$withval" = sys
; then
4781 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4782 elif test "$withval" = builtin; then
4783 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4785 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4790 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4795 eval "$wx_cv_use_libpng"
4797 if test "$wxUSE_LIBPNG" = yes; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4799 $as_echo "yes" >&6; }
4800 elif test "$wxUSE_LIBPNG" = no; then
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4803 elif test "$wxUSE_LIBPNG" = sys; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4805 $as_echo "system version" >&6; }
4806 elif test "$wxUSE_LIBPNG" = builtin; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4808 $as_echo "builtin version" >&6; }
4810 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4815 $as_echo_n "checking for --with-libjpeg... " >&6; }
4817 # Check whether --with-libjpeg was given.
4818 if test "${with_libjpeg+set}" = set; then :
4819 withval=$with_libjpeg;
4820 if test "$withval" = yes; then
4821 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4822 elif test "$withval" = no; then
4823 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4824 elif test "$withval" = sys; then
4825 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4826 elif test "$withval" = builtin; then
4827 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4829 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4834 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4839 eval "$wx_cv_use_libjpeg"
4841 if test "$wxUSE_LIBJPEG" = yes; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4843 $as_echo "yes" >&6; }
4844 elif test "$wxUSE_LIBJPEG" = no; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4846 $as_echo "no
" >&6; }
4847 elif test "$wxUSE_LIBJPEG" = sys; then
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4849 $as_echo "system version
" >&6; }
4850 elif test "$wxUSE_LIBJPEG" = builtin; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4852 $as_echo "builtin version
" >&6; }
4854 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4859 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4861 # Check whether --with-libtiff was given.
4862 if test "${with_libtiff+set}" = set; then :
4863 withval=$with_libtiff;
4864 if test "$withval" = yes; then
4865 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4866 elif test "$withval" = no; then
4867 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4868 elif test "$withval" = sys; then
4869 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4870 elif test "$withval" = builtin; then
4871 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4873 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4878 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4883 eval "$wx_cv_use_libtiff"
4885 if test "$wxUSE_LIBTIFF" = yes; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4887 $as_echo "yes" >&6; }
4888 elif test "$wxUSE_LIBTIFF" = no
; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4891 elif test "$wxUSE_LIBTIFF" = sys
; then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4893 $as_echo "system version" >&6; }
4894 elif test "$wxUSE_LIBTIFF" = builtin; then
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4896 $as_echo "builtin version" >&6; }
4898 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4903 $as_echo_n "checking for --with-libxpm... " >&6; }
4905 # Check whether --with-libxpm was given.
4906 if test "${with_libxpm+set}" = set; then :
4907 withval
=$with_libxpm;
4908 if test "$withval" = yes; then
4909 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
4910 elif test "$withval" = no
; then
4911 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
4912 elif test "$withval" = sys
; then
4913 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
4914 elif test "$withval" = builtin; then
4915 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
4917 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4922 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4927 eval "$wx_cv_use_libxpm"
4929 if test "$wxUSE_LIBXPM" = yes; then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4931 $as_echo "yes" >&6; }
4932 elif test "$wxUSE_LIBXPM" = no; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4935 elif test "$wxUSE_LIBXPM" = sys; then
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4937 $as_echo "system version" >&6; }
4938 elif test "$wxUSE_LIBXPM" = builtin; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4940 $as_echo "builtin version" >&6; }
4942 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4947 defaultval=$wxUSE_ALL_FEATURES
4948 if test -z "$defaultval"; then
4949 if test x"$withstring" = xwithout; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4956 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4958 # Check whether --with-libiconv was given.
4959 if test "${with_libiconv+set}" = set; then :
4960 withval=$with_libiconv;
4961 if test "$withval" = yes; then
4962 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
4964 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
4969 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4974 eval "$wx_cv_use_libiconv"
4976 if test x"$withstring" = xwithout; then
4977 if test $wxUSE_LIBICONV = yes; then
4983 result=$wxUSE_LIBICONV
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4987 $as_echo "$result" >&6; }
4991 defaultval=$wxUSE_ALL_FEATURES
4992 if test -z "$defaultval"; then
4993 if test x"$withstring" = xwithout; then
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libmspack" >&5
5000 $as_echo_n "checking
for --${withstring:-with}-libmspack...
" >&6; }
5002 # Check whether --with-libmspack was given.
5003 if test "${with_libmspack+set}" = set; then :
5004 withval=$with_libmspack;
5005 if test "$withval" = yes; then
5006 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5008 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5013 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5018 eval "$wx_cv_use_libmspack"
5020 if test x
"$withstring" = xwithout
; then
5021 if test $wxUSE_LIBMSPACK = yes; then
5027 result
=$wxUSE_LIBMSPACK
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5031 $as_echo "$result" >&6; }
5035 defaultval
=$wxUSE_ALL_FEATURES
5036 if test -z "$defaultval"; then
5037 if test x
"$withstring" = xwithout
; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5044 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5046 # Check whether --with-gtkprint was given.
5047 if test "${with_gtkprint+set}" = set; then :
5048 withval
=$with_gtkprint;
5049 if test "$withval" = yes; then
5050 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
5052 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
5057 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5062 eval "$wx_cv_use_gtkprint"
5064 if test x"$withstring" = xwithout; then
5065 if test $wxUSE_GTKPRINT = yes; then
5071 result=$wxUSE_GTKPRINT
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5075 $as_echo "$result" >&6; }
5079 defaultval=$wxUSE_ALL_FEATURES
5080 if test -z "$defaultval"; then
5081 if test x"$withstring" = xwithout; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5088 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5090 # Check whether --with-gnomeprint was given.
5091 if test "${with_gnomeprint+set}" = set; then :
5092 withval=$with_gnomeprint;
5093 if test "$withval" = yes; then
5094 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
5096 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
5101 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5106 eval "$wx_cv_use_gnomeprint"
5108 if test x"$withstring" = xwithout; then
5109 if test $wxUSE_LIBGNOMEPRINT = yes; then
5115 result=$wxUSE_LIBGNOMEPRINT
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5119 $as_echo "$result" >&6; }
5123 defaultval=$wxUSE_ALL_FEATURES
5124 if test -z "$defaultval"; then
5125 if test x"$withstring" = xwithout; then
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gnomevfs" >&5
5132 $as_echo_n "checking
for --${withstring:-with}-gnomevfs...
" >&6; }
5134 # Check whether --with-gnomevfs was given.
5135 if test "${with_gnomevfs+set}" = set; then :
5136 withval=$with_gnomevfs;
5137 if test "$withval" = yes; then
5138 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5140 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5145 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5150 eval "$wx_cv_use_gnomevfs"
5152 if test x
"$withstring" = xwithout
; then
5153 if test $wxUSE_LIBGNOMEVFS = yes; then
5159 result
=$wxUSE_LIBGNOMEVFS
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5163 $as_echo "$result" >&6; }
5167 defaultval
=$wxUSE_ALL_FEATURES
5168 if test -z "$defaultval"; then
5169 if test x
"$withstring" = xwithout
; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5176 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5178 # Check whether --with-hildon was given.
5179 if test "${with_hildon+set}" = set; then :
5180 withval
=$with_hildon;
5181 if test "$withval" = yes; then
5182 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
5184 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
5189 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5194 eval "$wx_cv_use_hildon"
5196 if test x"$withstring" = xwithout; then
5197 if test $wxUSE_LIBHILDON = yes; then
5203 result=$wxUSE_LIBHILDON
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5207 $as_echo "$result" >&6; }
5211 defaultval=$wxUSE_ALL_FEATURES
5212 if test -z "$defaultval"; then
5213 if test x"$withstring" = xwithout; then
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5220 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5222 # Check whether --with-opengl was given.
5223 if test "${with_opengl+set}" = set; then :
5224 withval=$with_opengl;
5225 if test "$withval" = yes; then
5226 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
5228 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
5233 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5238 eval "$wx_cv_use_opengl"
5240 if test x"$withstring" = xwithout; then
5241 if test $wxUSE_OPENGL = yes; then
5247 result=$wxUSE_OPENGL
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5251 $as_echo "$result" >&6; }
5258 defaultval=$wxUSE_ALL_FEATURES
5259 if test -z "$defaultval"; then
5260 if test x"$withstring" = xwithout; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-dmalloc" >&5
5267 $as_echo_n "checking
for --${withstring:-with}-dmalloc...
" >&6; }
5269 # Check whether --with-dmalloc was given.
5270 if test "${with_dmalloc+set}" = set; then :
5271 withval=$with_dmalloc;
5272 if test "$withval" = yes; then
5273 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5275 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5280 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5285 eval "$wx_cv_use_dmalloc"
5287 if test x
"$withstring" = xwithout
; then
5288 if test $wxUSE_DMALLOC = yes; then
5294 result
=$wxUSE_DMALLOC
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5298 $as_echo "$result" >&6; }
5302 defaultval
=$wxUSE_ALL_FEATURES
5303 if test -z "$defaultval"; then
5304 if test x
"$withstring" = xwithout
; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5311 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5313 # Check whether --with-sdl was given.
5314 if test "${with_sdl+set}" = set; then :
5316 if test "$withval" = yes; then
5317 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
5319 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
5324 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5329 eval "$wx_cv_use_sdl"
5331 if test x"$withstring" = xwithout; then
5332 if test $wxUSE_LIBSDL = yes; then
5338 result=$wxUSE_LIBSDL
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5342 $as_echo "$result" >&6; }
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5346 $as_echo_n "checking for --with-regex... " >&6; }
5348 # Check whether --with-regex was given.
5349 if test "${with_regex+set}" = set; then :
5350 withval=$with_regex;
5351 if test "$withval" = yes; then
5352 wx_cv_use_regex='wxUSE_REGEX
=yes'
5353 elif test "$withval" = no; then
5354 wx_cv_use_regex='wxUSE_REGEX
=no
'
5355 elif test "$withval" = sys; then
5356 wx_cv_use_regex='wxUSE_REGEX
=sys
'
5357 elif test "$withval" = builtin; then
5358 wx_cv_use_regex='wxUSE_REGEX
=builtin'
5360 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5365 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5370 eval "$wx_cv_use_regex"
5372 if test "$wxUSE_REGEX" = yes; then
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5374 $as_echo "yes" >&6; }
5375 elif test "$wxUSE_REGEX" = no; then
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5377 $as_echo "no
" >&6; }
5378 elif test "$wxUSE_REGEX" = sys; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5380 $as_echo "system version
" >&6; }
5381 elif test "$wxUSE_REGEX" = builtin; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5383 $as_echo "builtin version
" >&6; }
5385 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-zlib" >&5
5390 $as_echo_n "checking
for --with-zlib...
" >&6; }
5392 # Check whether --with-zlib was given.
5393 if test "${with_zlib+set}" = set; then :
5395 if test "$withval" = yes; then
5396 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5397 elif test "$withval" = no; then
5398 wx_cv_use_zlib='wxUSE_ZLIB=no'
5399 elif test "$withval" = sys; then
5400 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5401 elif test "$withval" = builtin; then
5402 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5404 as_fn_error $? "Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5409 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5414 eval "$wx_cv_use_zlib"
5416 if test "$wxUSE_ZLIB" = yes; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5418 $as_echo "yes" >&6; }
5419 elif test "$wxUSE_ZLIB" = no
; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5422 elif test "$wxUSE_ZLIB" = sys
; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5424 $as_echo "system version" >&6; }
5425 elif test "$wxUSE_ZLIB" = builtin; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5427 $as_echo "builtin version" >&6; }
5429 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5434 $as_echo_n "checking for --with-expat... " >&6; }
5436 # Check whether --with-expat was given.
5437 if test "${with_expat+set}" = set; then :
5438 withval
=$with_expat;
5439 if test "$withval" = yes; then
5440 wx_cv_use_expat
='wxUSE_EXPAT=yes'
5441 elif test "$withval" = no
; then
5442 wx_cv_use_expat
='wxUSE_EXPAT=no'
5443 elif test "$withval" = sys
; then
5444 wx_cv_use_expat
='wxUSE_EXPAT=sys'
5445 elif test "$withval" = builtin; then
5446 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
5448 as_fn_error $?
"Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5453 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5458 eval "$wx_cv_use_expat"
5460 if test "$wxUSE_EXPAT" = yes; then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5462 $as_echo "yes" >&6; }
5463 elif test "$wxUSE_EXPAT" = no; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 $as_echo "no" >&6; }
5466 elif test "$wxUSE_EXPAT" = sys; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5468 $as_echo "system version" >&6; }
5469 elif test "$wxUSE_EXPAT" = builtin; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5471 $as_echo "builtin version" >&6; }
5473 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5478 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5480 # Check whether --with-macosx-sdk was given.
5481 if test "${with_macosx_sdk+set}" = set; then :
5482 withval=$with_macosx_sdk;
5483 wxUSE_MACOSX_SDK=$withval
5484 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5489 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5492 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5494 # Check whether --with-macosx-version-min was given.
5495 if test "${with_macosx_version_min+set}" = set; then :
5496 withval=$with_macosx_version_min;
5497 wxUSE_MACOSX_VERSION_MIN=$withval
5498 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5503 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5507 $as_echo_n "checking for --enable-debug... " >&6; }
5508 # Check whether --enable-debug was given.
5509 if test "${enable_debug+set}" = set; then :
5510 enableval=$enable_debug;
5511 if test "$enableval" = yes; then
5513 elif test "$enableval" = no; then
5515 elif test "$enableval" = max; then
5517 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5519 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5528 $as_echo "${enable_debug-default}" >&6; }
5530 case "$wxUSE_DEBUG" in
5532 DEFAULT_wxUSE_DEBUG_FLAG=yes
5533 DEFAULT_wxUSE_DEBUG_INFO=yes
5535 DEFAULT_wxUSE_OPTIMISE=no
5539 DEFAULT_wxUSE_DEBUG_FLAG=no
5540 DEFAULT_wxUSE_DEBUG_INFO=no
5544 DEFAULT_wxUSE_DEBUG_FLAG=yes
5545 DEFAULT_wxUSE_DEBUG_INFO=no
5550 enablestring=disable
5552 if test -z "$defaultval"; then
5553 if test x"$enablestring" = xdisable; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5561 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5562 # Check whether --enable-debug_flag was given.
5563 if test "${enable_debug_flag+set}" = set; then :
5564 enableval=$enable_debug_flag;
5565 if test "$enableval" = yes; then
5566 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
5568 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
5573 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5578 eval "$wx_cv_use_debug_flag"
5580 if test x"$enablestring" = xdisable; then
5581 if test $wxUSE_DEBUG_FLAG = no; then
5587 result=$wxUSE_DEBUG_FLAG
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5591 $as_echo "$result" >&6; }
5596 if test -z "$defaultval"; then
5597 if test x"$enablestring" = xdisable; then
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_info" >&5
5605 $as_echo_n "checking
for --${enablestring:-enable}-debug_info...
" >&6; }
5606 # Check whether --enable-debug_info was given.
5607 if test "${enable_debug_info+set}" = set; then :
5608 enableval=$enable_debug_info;
5609 if test "$enableval" = yes; then
5610 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5612 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5617 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5622 eval "$wx_cv_use_debug_info"
5624 if test x
"$enablestring" = xdisable
; then
5625 if test $wxUSE_DEBUG_INFO = no
; then
5631 result
=$wxUSE_DEBUG_INFO
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5635 $as_echo "$result" >&6; }
5642 if test -z "$defaultval"; then
5643 if test x
"$enablestring" = xdisable
; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5651 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5652 # Check whether --enable-debug_gdb was given.
5653 if test "${enable_debug_gdb+set}" = set; then :
5654 enableval
=$enable_debug_gdb;
5655 if test "$enableval" = yes; then
5656 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
5658 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
5663 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5668 eval "$wx_cv_use_debug_gdb"
5670 if test x"$enablestring" = xdisable; then
5671 if test $wxUSE_DEBUG_GDB = no; then
5677 result=$wxUSE_DEBUG_GDB
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5681 $as_echo "$result" >&6; }
5686 if test -z "$defaultval"; then
5687 if test x"$enablestring" = xdisable; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5695 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5696 # Check whether --enable-debug_cntxt was given.
5697 if test "${enable_debug_cntxt+set}" = set; then :
5698 enableval=$enable_debug_cntxt;
5699 if test "$enableval" = yes; then
5700 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
5702 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
5707 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5712 eval "$wx_cv_use_debug_cntxt"
5714 if test x"$enablestring" = xdisable; then
5715 if test $wxUSE_DEBUG_CONTEXT = no; then
5721 result=$wxUSE_DEBUG_CONTEXT
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5725 $as_echo "$result" >&6; }
5730 if test -z "$defaultval"; then
5731 if test x"$enablestring" = xdisable; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mem_tracing" >&5
5739 $as_echo_n "checking
for --${enablestring:-enable}-mem_tracing...
" >&6; }
5740 # Check whether --enable-mem_tracing was given.
5741 if test "${enable_mem_tracing+set}" = set; then :
5742 enableval=$enable_mem_tracing;
5743 if test "$enableval" = yes; then
5744 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5746 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5751 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5756 eval "$wx_cv_use_mem_tracing"
5758 if test x
"$enablestring" = xdisable
; then
5759 if test $wxUSE_MEM_TRACING = no
; then
5765 result
=$wxUSE_MEM_TRACING
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5769 $as_echo "$result" >&6; }
5774 enablestring
=disable
5776 if test -z "$defaultval"; then
5777 if test x
"$enablestring" = xdisable
; then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5785 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5786 # Check whether --enable-shared was given.
5787 if test "${enable_shared+set}" = set; then :
5788 enableval
=$enable_shared;
5789 if test "$enableval" = yes; then
5790 wx_cv_use_shared
='wxUSE_SHARED=yes'
5792 wx_cv_use_shared
='wxUSE_SHARED=no'
5797 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5802 eval "$wx_cv_use_shared"
5804 if test x"$enablestring" = xdisable; then
5805 if test $wxUSE_SHARED = no; then
5811 result=$wxUSE_SHARED
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5815 $as_echo "$result" >&6; }
5820 if test -z "$defaultval"; then
5821 if test x"$enablestring" = xdisable; then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5829 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5830 # Check whether --enable-stl was given.
5831 if test "${enable_stl+set}" = set; then :
5832 enableval=$enable_stl;
5833 if test "$enableval" = yes; then
5834 wx_cv_use_stl='wxUSE_STL
=yes'
5836 wx_cv_use_stl='wxUSE_STL
=no
'
5841 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
5846 eval "$wx_cv_use_stl"
5848 if test x"$enablestring" = xdisable; then
5849 if test $wxUSE_STL = no; then
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5859 $as_echo "$result" >&6; }
5861 if test "$wxUSE_STL" = "yes"; then
5862 DEFAULT_wxUSE_STD_CONTAINERS=yes
5863 DEFAULT_wxUSE_STD_IOSTREAM=yes
5864 DEFAULT_wxUSE_STD_STRING=yes
5869 if test -z "$defaultval"; then
5870 if test x"$enablestring" = xdisable; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_containers" >&5
5878 $as_echo_n "checking
for --${enablestring:-enable}-std_containers...
" >&6; }
5879 # Check whether --enable-std_containers was given.
5880 if test "${enable_std_containers+set}" = set; then :
5881 enableval=$enable_std_containers;
5882 if test "$enableval" = yes; then
5883 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5885 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5890 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5895 eval "$wx_cv_use_std_containers"
5897 if test x
"$enablestring" = xdisable
; then
5898 if test $wxUSE_STD_CONTAINERS = no
; then
5904 result
=$wxUSE_STD_CONTAINERS
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5908 $as_echo "$result" >&6; }
5913 if test -z "$defaultval"; then
5914 if test x
"$enablestring" = xdisable
; then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5922 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5923 # Check whether --enable-std_iostreams was given.
5924 if test "${enable_std_iostreams+set}" = set; then :
5925 enableval
=$enable_std_iostreams;
5926 if test "$enableval" = yes; then
5927 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5929 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5934 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5939 eval "$wx_cv_use_std_iostreams"
5941 if test x"$enablestring" = xdisable; then
5942 if test $wxUSE_STD_IOSTREAM = no; then
5948 result=$wxUSE_STD_IOSTREAM
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5952 $as_echo "$result" >&6; }
5957 if test -z "$defaultval"; then
5958 if test x"$enablestring" = xdisable; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5966 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5967 # Check whether --enable-std_string was given.
5968 if test "${enable_std_string+set}" = set; then :
5969 enableval=$enable_std_string;
5970 if test "$enableval" = yes; then
5971 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
5973 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
5978 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
5983 eval "$wx_cv_use_std_string"
5985 if test x"$enablestring" = xdisable; then
5986 if test $wxUSE_STD_STRING = no; then
5992 result=$wxUSE_STD_STRING
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5996 $as_echo "$result" >&6; }
6001 if test -z "$defaultval"; then
6002 if test x"$enablestring" = xdisable; then
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6010 $as_echo_n "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
" >&6; }
6011 # Check whether --enable-std_string_conv_in_wxstring was given.
6012 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6013 enableval=$enable_std_string_conv_in_wxstring;
6014 if test "$enableval" = yes; then
6015 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6017 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6022 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6027 eval "$wx_cv_use_std_string_conv_in_wxstring"
6029 if test x
"$enablestring" = xdisable
; then
6030 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
6036 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6040 $as_echo "$result" >&6; }
6043 enablestring
=disable
6045 if test -z "$defaultval"; then
6046 if test x
"$enablestring" = xdisable
; then
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6054 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6055 # Check whether --enable-unicode was given.
6056 if test "${enable_unicode+set}" = set; then :
6057 enableval
=$enable_unicode;
6058 if test "$enableval" = yes; then
6059 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
6061 wx_cv_use_unicode
='wxUSE_UNICODE=no'
6066 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6071 eval "$wx_cv_use_unicode"
6073 if test x"$enablestring" = xdisable; then
6074 if test $wxUSE_UNICODE = no; then
6080 result=$wxUSE_UNICODE
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6084 $as_echo "$result" >&6; }
6089 if test -z "$defaultval"; then
6090 if test x"$enablestring" = xdisable; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6098 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6099 # Check whether --enable-mslu was given.
6100 if test "${enable_mslu+set}" = set; then :
6101 enableval=$enable_mslu;
6102 if test "$enableval" = yes; then
6103 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
6105 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
6110 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6115 eval "$wx_cv_use_mslu"
6117 if test x"$enablestring" = xdisable; then
6118 if test $wxUSE_UNICODE_MSLU = no; then
6124 result=$wxUSE_UNICODE_MSLU
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6128 $as_echo "$result" >&6; }
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8" >&5
6133 $as_echo_n "checking
for --${enablestring:-enable}-utf8...
" >&6; }
6134 # Check whether --enable-utf8 was given.
6135 if test "${enable_utf8+set}" = set; then :
6136 enableval=$enable_utf8;
6137 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
6141 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6146 eval "$wx_cv_use_utf8"
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_UNICODE_UTF8" >&5
6149 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6154 if test -z "$defaultval"; then
6155 if test x"$enablestring" = xdisable; then
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8only" >&5
6163 $as_echo_n "checking
for --${enablestring:-enable}-utf8only...
" >&6; }
6164 # Check whether --enable-utf8only was given.
6165 if test "${enable_utf8only+set}" = set; then :
6166 enableval=$enable_utf8only;
6167 if test "$enableval" = yes; then
6168 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6170 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6175 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6180 eval "$wx_cv_use_utf8only"
6182 if test x
"$enablestring" = xdisable
; then
6183 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
6189 result
=$wxUSE_UNICODE_UTF8_LOCALE
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6193 $as_echo "$result" >&6; }
6198 if test -z "$defaultval"; then
6199 if test x
"$enablestring" = xdisable
; then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6207 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6208 # Check whether --enable-extended_rtti was given.
6209 if test "${enable_extended_rtti+set}" = set; then :
6210 enableval
=$enable_extended_rtti;
6211 if test "$enableval" = yes; then
6212 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
6214 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
6219 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6224 eval "$wx_cv_use_extended_rtti"
6226 if test x"$enablestring" = xdisable; then
6227 if test $wxUSE_EXTENDED_RTTI = no; then
6233 result=$wxUSE_EXTENDED_RTTI
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6237 $as_echo "$result" >&6; }
6239 if test "$USE_OS2" = 1; then
6240 DEFAULT_wxUSE_OMF=no
6244 if test -z "$defaultval"; then
6245 if test x"$enablestring" = xdisable; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6253 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6254 # Check whether --enable-omf was given.
6255 if test "${enable_omf+set}" = set; then :
6256 enableval=$enable_omf;
6257 if test "$enableval" = yes; then
6258 wx_cv_use_omf='wxUSE_OMF
=yes'
6260 wx_cv_use_omf='wxUSE_OMF
=no
'
6265 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6270 eval "$wx_cv_use_omf"
6272 if test x"$enablestring" = xdisable; then
6273 if test $wxUSE_OMF = no; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6283 $as_echo "$result" >&6; }
6288 enablestring=disable
6290 if test -z "$defaultval"; then
6291 if test x"$enablestring" = xdisable; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-optimise" >&5
6299 $as_echo_n "checking
for --${enablestring:-enable}-optimise...
" >&6; }
6300 # Check whether --enable-optimise was given.
6301 if test "${enable_optimise+set}" = set; then :
6302 enableval=$enable_optimise;
6303 if test "$enableval" = yes; then
6304 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6306 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6311 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6316 eval "$wx_cv_use_optimise"
6318 if test x
"$enablestring" = xdisable
; then
6319 if test $wxUSE_OPTIMISE = no
; then
6325 result
=$wxUSE_OPTIMISE
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6329 $as_echo "$result" >&6; }
6335 if test -z "$defaultval"; then
6336 if test x
"$enablestring" = xdisable
; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6344 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6345 # Check whether --enable-profile was given.
6346 if test "${enable_profile+set}" = set; then :
6347 enableval
=$enable_profile;
6348 if test "$enableval" = yes; then
6349 wx_cv_use_profile
='wxUSE_PROFILE=yes'
6351 wx_cv_use_profile
='wxUSE_PROFILE=no'
6356 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6361 eval "$wx_cv_use_profile"
6363 if test x"$enablestring" = xdisable; then
6364 if test $wxUSE_PROFILE = no; then
6370 result=$wxUSE_PROFILE
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6374 $as_echo "$result" >&6; }
6379 if test -z "$defaultval"; then
6380 if test x"$enablestring" = xdisable; then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6388 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6389 # Check whether --enable-no_rtti was given.
6390 if test "${enable_no_rtti+set}" = set; then :
6391 enableval=$enable_no_rtti;
6392 if test "$enableval" = yes; then
6393 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
6395 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
6400 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6405 eval "$wx_cv_use_no_rtti"
6407 if test x"$enablestring" = xdisable; then
6408 if test $wxUSE_NO_RTTI = no; then
6414 result=$wxUSE_NO_RTTI
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6418 $as_echo "$result" >&6; }
6423 if test -z "$defaultval"; then
6424 if test x"$enablestring" = xdisable; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_exceptions" >&5
6432 $as_echo_n "checking
for --${enablestring:-enable}-no_exceptions...
" >&6; }
6433 # Check whether --enable-no_exceptions was given.
6434 if test "${enable_no_exceptions+set}" = set; then :
6435 enableval=$enable_no_exceptions;
6436 if test "$enableval" = yes; then
6437 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6439 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6444 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6449 eval "$wx_cv_use_no_exceptions"
6451 if test x
"$enablestring" = xdisable
; then
6452 if test $wxUSE_NO_EXCEPTIONS = no
; then
6458 result
=$wxUSE_NO_EXCEPTIONS
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6462 $as_echo "$result" >&6; }
6467 if test -z "$defaultval"; then
6468 if test x
"$enablestring" = xdisable
; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6476 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6477 # Check whether --enable-permissive was given.
6478 if test "${enable_permissive+set}" = set; then :
6479 enableval
=$enable_permissive;
6480 if test "$enableval" = yes; then
6481 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
6483 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
6488 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6493 eval "$wx_cv_use_permissive"
6495 if test x"$enablestring" = xdisable; then
6496 if test $wxUSE_PERMISSIVE = no; then
6502 result=$wxUSE_PERMISSIVE
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6506 $as_echo "$result" >&6; }
6511 if test -z "$defaultval"; then
6512 if test x"$enablestring" = xdisable; then
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6520 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6521 # Check whether --enable-no_deps was given.
6522 if test "${enable_no_deps+set}" = set; then :
6523 enableval=$enable_no_deps;
6524 if test "$enableval" = yes; then
6525 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
6527 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
6532 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6537 eval "$wx_cv_use_no_deps"
6539 if test x"$enablestring" = xdisable; then
6540 if test $wxUSE_NO_DEPS = no; then
6546 result=$wxUSE_NO_DEPS
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6550 $as_echo "$result" >&6; }
6553 enablestring=disable
6555 if test -z "$defaultval"; then
6556 if test x"$enablestring" = xdisable; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-vararg_macros" >&5
6564 $as_echo_n "checking
for --${enablestring:-enable}-vararg_macros...
" >&6; }
6565 # Check whether --enable-vararg_macros was given.
6566 if test "${enable_vararg_macros+set}" = set; then :
6567 enableval=$enable_vararg_macros;
6568 if test "$enableval" = yes; then
6569 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6571 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6576 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6581 eval "$wx_cv_use_vararg_macros"
6583 if test x
"$enablestring" = xdisable
; then
6584 if test $wxUSE_VARARG_MACROS = no
; then
6590 result
=$wxUSE_VARARG_MACROS
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6594 $as_echo "$result" >&6; }
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6600 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6601 # Check whether --enable-universal_binary was given.
6602 if test "${enable_universal_binary+set}" = set; then :
6603 enableval
=$enable_universal_binary;
6604 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
6608 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6613 eval "$wx_cv_use_universal_binary"
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6616 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6621 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6622 # Check whether --enable-macosx_arch was given.
6623 if test "${enable_macosx_arch+set}" = set; then :
6624 enableval
=$enable_macosx_arch;
6625 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
6629 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6634 eval "$wx_cv_use_macosx_arch"
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6637 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6643 if test -z "$defaultval"; then
6644 if test x
"$enablestring" = xdisable
; then
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6652 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6653 # Check whether --enable-compat26 was given.
6654 if test "${enable_compat26+set}" = set; then :
6655 enableval
=$enable_compat26;
6656 if test "$enableval" = yes; then
6657 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
6659 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
6664 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6669 eval "$wx_cv_use_compat26"
6671 if test x"$enablestring" = xdisable; then
6672 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6678 result=$WXWIN_COMPATIBILITY_2_6
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6682 $as_echo "$result" >&6; }
6685 enablestring=disable
6687 if test -z "$defaultval"; then
6688 if test x"$enablestring" = xdisable; then
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6696 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6697 # Check whether --enable-compat28 was given.
6698 if test "${enable_compat28+set}" = set; then :
6699 enableval=$enable_compat28;
6700 if test "$enableval" = yes; then
6701 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
6703 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
6708 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6713 eval "$wx_cv_use_compat28"
6715 if test x"$enablestring" = xdisable; then
6716 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6722 result=$WXWIN_COMPATIBILITY_2_8
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6726 $as_echo "$result" >&6; }
6730 enablestring=disable
6732 if test -z "$defaultval"; then
6733 if test x"$enablestring" = xdisable; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rpath" >&5
6741 $as_echo_n "checking
for --${enablestring:-enable}-rpath...
" >&6; }
6742 # Check whether --enable-rpath was given.
6743 if test "${enable_rpath+set}" = set; then :
6744 enableval=$enable_rpath;
6745 if test "$enableval" = yes; then
6746 wx_cv_use_rpath='wxUSE_RPATH=yes'
6748 wx_cv_use_rpath='wxUSE_RPATH=no'
6753 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6758 eval "$wx_cv_use_rpath"
6760 if test x
"$enablestring" = xdisable
; then
6761 if test $wxUSE_RPATH = no
; then
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6771 $as_echo "$result" >&6; }
6777 if test -z "$defaultval"; then
6778 if test x
"$enablestring" = xdisable
; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6786 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6787 # Check whether --enable-objc_uniquifying was given.
6788 if test "${enable_objc_uniquifying+set}" = set; then :
6789 enableval
=$enable_objc_uniquifying;
6790 if test "$enableval" = yes; then
6791 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
6793 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
6798 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6803 eval "$wx_cv_use_objc_uniquifying"
6805 if test x"$enablestring" = xdisable; then
6806 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6812 result=$wxUSE_OBJC_UNIQUIFYING
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6816 $as_echo "$result" >&6; }
6820 enablestring=disable
6822 if test -z "$defaultval"; then
6823 if test x"$enablestring" = xdisable; then
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6831 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6832 # Check whether --enable-visibility was given.
6833 if test "${enable_visibility+set}" = set; then :
6834 enableval=$enable_visibility;
6835 if test "$enableval" = yes; then
6836 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
6838 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
6843 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6848 eval "$wx_cv_use_visibility"
6850 if test x"$enablestring" = xdisable; then
6851 if test $wxUSE_VISIBILITY = no; then
6857 result=$wxUSE_VISIBILITY
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6861 $as_echo "$result" >&6; }
6864 enablestring=disable
6866 if test -z "$defaultval"; then
6867 if test x"$enablestring" = xdisable; then
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tls" >&5
6875 $as_echo_n "checking
for --${enablestring:-enable}-tls...
" >&6; }
6876 # Check whether --enable-tls was given.
6877 if test "${enable_tls+set}" = set; then :
6878 enableval=$enable_tls;
6879 if test "$enableval" = yes; then
6880 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6882 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6887 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6892 eval "$wx_cv_use_tls"
6894 if test x
"$enablestring" = xdisable
; then
6895 if test $wxUSE_COMPILER_TLS = no
; then
6901 result
=$wxUSE_COMPILER_TLS
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6905 $as_echo "$result" >&6; }
6911 defaultval
=$wxUSE_ALL_FEATURES
6912 if test -z "$defaultval"; then
6913 if test x
"$enablestring" = xdisable
; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6921 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6922 # Check whether --enable-intl was given.
6923 if test "${enable_intl+set}" = set; then :
6924 enableval
=$enable_intl;
6925 if test "$enableval" = yes; then
6926 wx_cv_use_intl
='wxUSE_INTL=yes'
6928 wx_cv_use_intl
='wxUSE_INTL=no'
6933 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6938 eval "$wx_cv_use_intl"
6940 if test x"$enablestring" = xdisable; then
6941 if test $wxUSE_INTL = no; then
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6951 $as_echo "$result" >&6; }
6955 defaultval=$wxUSE_ALL_FEATURES
6956 if test -z "$defaultval"; then
6957 if test x"$enablestring" = xdisable; then
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6965 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6966 # Check whether --enable-xlocale was given.
6967 if test "${enable_xlocale+set}" = set; then :
6968 enableval=$enable_xlocale;
6969 if test "$enableval" = yes; then
6970 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
6972 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
6977 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
6982 eval "$wx_cv_use_xlocale"
6984 if test x"$enablestring" = xdisable; then
6985 if test $wxUSE_XLOCALE = no; then
6991 result=$wxUSE_XLOCALE
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6995 $as_echo "$result" >&6; }
6999 defaultval=$wxUSE_ALL_FEATURES
7000 if test -z "$defaultval"; then
7001 if test x"$enablestring" = xdisable; then
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-config" >&5
7009 $as_echo_n "checking
for --${enablestring:-enable}-config...
" >&6; }
7010 # Check whether --enable-config was given.
7011 if test "${enable_config+set}" = set; then :
7012 enableval=$enable_config;
7013 if test "$enableval" = yes; then
7014 wx_cv_use_config='wxUSE_CONFIG=yes'
7016 wx_cv_use_config='wxUSE_CONFIG=no'
7021 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7026 eval "$wx_cv_use_config"
7028 if test x
"$enablestring" = xdisable
; then
7029 if test $wxUSE_CONFIG = no
; then
7035 result
=$wxUSE_CONFIG
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7039 $as_echo "$result" >&6; }
7044 defaultval
=$wxUSE_ALL_FEATURES
7045 if test -z "$defaultval"; then
7046 if test x
"$enablestring" = xdisable
; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7054 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7055 # Check whether --enable-protocols was given.
7056 if test "${enable_protocols+set}" = set; then :
7057 enableval
=$enable_protocols;
7058 if test "$enableval" = yes; then
7059 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
7061 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
7066 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7071 eval "$wx_cv_use_protocols"
7073 if test x"$enablestring" = xdisable; then
7074 if test $wxUSE_PROTOCOL = no; then
7080 result=$wxUSE_PROTOCOL
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7084 $as_echo "$result" >&6; }
7088 defaultval=$wxUSE_ALL_FEATURES
7089 if test -z "$defaultval"; then
7090 if test x"$enablestring" = xdisable; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7098 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7099 # Check whether --enable-ftp was given.
7100 if test "${enable_ftp+set}" = set; then :
7101 enableval=$enable_ftp;
7102 if test "$enableval" = yes; then
7103 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
7105 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
7110 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7115 eval "$wx_cv_use_ftp"
7117 if test x"$enablestring" = xdisable; then
7118 if test $wxUSE_PROTOCOL_FTP = no; then
7124 result=$wxUSE_PROTOCOL_FTP
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7128 $as_echo "$result" >&6; }
7132 defaultval=$wxUSE_ALL_FEATURES
7133 if test -z "$defaultval"; then
7134 if test x"$enablestring" = xdisable; then
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-http" >&5
7142 $as_echo_n "checking
for --${enablestring:-enable}-http...
" >&6; }
7143 # Check whether --enable-http was given.
7144 if test "${enable_http+set}" = set; then :
7145 enableval=$enable_http;
7146 if test "$enableval" = yes; then
7147 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7149 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7154 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7159 eval "$wx_cv_use_http"
7161 if test x
"$enablestring" = xdisable
; then
7162 if test $wxUSE_PROTOCOL_HTTP = no
; then
7168 result
=$wxUSE_PROTOCOL_HTTP
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7172 $as_echo "$result" >&6; }
7176 defaultval
=$wxUSE_ALL_FEATURES
7177 if test -z "$defaultval"; then
7178 if test x
"$enablestring" = xdisable
; then
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7186 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7187 # Check whether --enable-fileproto was given.
7188 if test "${enable_fileproto+set}" = set; then :
7189 enableval
=$enable_fileproto;
7190 if test "$enableval" = yes; then
7191 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
7193 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
7198 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7203 eval "$wx_cv_use_fileproto"
7205 if test x"$enablestring" = xdisable; then
7206 if test $wxUSE_PROTOCOL_FILE = no; then
7212 result=$wxUSE_PROTOCOL_FILE
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7216 $as_echo "$result" >&6; }
7220 defaultval=$wxUSE_ALL_FEATURES
7221 if test -z "$defaultval"; then
7222 if test x"$enablestring" = xdisable; then
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7230 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7231 # Check whether --enable-sockets was given.
7232 if test "${enable_sockets+set}" = set; then :
7233 enableval=$enable_sockets;
7234 if test "$enableval" = yes; then
7235 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
7237 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
7242 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7247 eval "$wx_cv_use_sockets"
7249 if test x"$enablestring" = xdisable; then
7250 if test $wxUSE_SOCKETS = no; then
7256 result=$wxUSE_SOCKETS
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7260 $as_echo "$result" >&6; }
7264 defaultval=$wxUSE_ALL_FEATURES
7265 if test -z "$defaultval"; then
7266 if test x"$enablestring" = xdisable; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipv6" >&5
7274 $as_echo_n "checking
for --${enablestring:-enable}-ipv6...
" >&6; }
7275 # Check whether --enable-ipv6 was given.
7276 if test "${enable_ipv6+set}" = set; then :
7277 enableval=$enable_ipv6;
7278 if test "$enableval" = yes; then
7279 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7281 wx_cv_use_ipv6='wxUSE_IPV6=no'
7286 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7291 eval "$wx_cv_use_ipv6"
7293 if test x
"$enablestring" = xdisable
; then
7294 if test $wxUSE_IPV6 = no
; then
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7304 $as_echo "$result" >&6; }
7308 defaultval
=$wxUSE_ALL_FEATURES
7309 if test -z "$defaultval"; then
7310 if test x
"$enablestring" = xdisable
; then
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7318 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7319 # Check whether --enable-ole was given.
7320 if test "${enable_ole+set}" = set; then :
7321 enableval
=$enable_ole;
7322 if test "$enableval" = yes; then
7323 wx_cv_use_ole
='wxUSE_OLE=yes'
7325 wx_cv_use_ole
='wxUSE_OLE=no'
7330 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7335 eval "$wx_cv_use_ole"
7337 if test x"$enablestring" = xdisable; then
7338 if test $wxUSE_OLE = no; then
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7348 $as_echo "$result" >&6; }
7352 defaultval=$wxUSE_ALL_FEATURES
7353 if test -z "$defaultval"; then
7354 if test x"$enablestring" = xdisable; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7362 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7363 # Check whether --enable-dataobj was given.
7364 if test "${enable_dataobj+set}" = set; then :
7365 enableval=$enable_dataobj;
7366 if test "$enableval" = yes; then
7367 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
7369 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
7374 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7379 eval "$wx_cv_use_dataobj"
7381 if test x"$enablestring" = xdisable; then
7382 if test $wxUSE_DATAOBJ = no; then
7388 result=$wxUSE_DATAOBJ
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7392 $as_echo "$result" >&6; }
7397 defaultval=$wxUSE_ALL_FEATURES
7398 if test -z "$defaultval"; then
7399 if test x"$enablestring" = xdisable; then
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipc" >&5
7407 $as_echo_n "checking
for --${enablestring:-enable}-ipc...
" >&6; }
7408 # Check whether --enable-ipc was given.
7409 if test "${enable_ipc+set}" = set; then :
7410 enableval=$enable_ipc;
7411 if test "$enableval" = yes; then
7412 wx_cv_use_ipc='wxUSE_IPC=yes'
7414 wx_cv_use_ipc='wxUSE_IPC=no'
7419 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7424 eval "$wx_cv_use_ipc"
7426 if test x
"$enablestring" = xdisable
; then
7427 if test $wxUSE_IPC = no
; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7437 $as_echo "$result" >&6; }
7442 defaultval
=$wxUSE_ALL_FEATURES
7443 if test -z "$defaultval"; then
7444 if test x
"$enablestring" = xdisable
; then
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7452 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7453 # Check whether --enable-baseevtloop was given.
7454 if test "${enable_baseevtloop+set}" = set; then :
7455 enableval
=$enable_baseevtloop;
7456 if test "$enableval" = yes; then
7457 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
7459 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
7464 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7469 eval "$wx_cv_use_baseevtloop"
7471 if test x"$enablestring" = xdisable; then
7472 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7478 result=$wxUSE_CONSOLE_EVENTLOOP
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7482 $as_echo "$result" >&6; }
7486 defaultval=$wxUSE_ALL_FEATURES
7487 if test -z "$defaultval"; then
7488 if test x"$enablestring" = xdisable; then
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7496 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7497 # Check whether --enable-epollloop was given.
7498 if test "${enable_epollloop+set}" = set; then :
7499 enableval=$enable_epollloop;
7500 if test "$enableval" = yes; then
7501 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
7503 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
7508 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7513 eval "$wx_cv_use_epollloop"
7515 if test x"$enablestring" = xdisable; then
7516 if test $wxUSE_EPOLL_DISPATCHER = no; then
7522 result=$wxUSE_EPOLL_DISPATCHER
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7526 $as_echo "$result" >&6; }
7530 defaultval=$wxUSE_ALL_FEATURES
7531 if test -z "$defaultval"; then
7532 if test x"$enablestring" = xdisable; then
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-selectloop" >&5
7540 $as_echo_n "checking
for --${enablestring:-enable}-selectloop...
" >&6; }
7541 # Check whether --enable-selectloop was given.
7542 if test "${enable_selectloop+set}" = set; then :
7543 enableval=$enable_selectloop;
7544 if test "$enableval" = yes; then
7545 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7547 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7552 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7557 eval "$wx_cv_use_selectloop"
7559 if test x
"$enablestring" = xdisable
; then
7560 if test $wxUSE_SELECT_DISPATCHER = no
; then
7566 result
=$wxUSE_SELECT_DISPATCHER
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7570 $as_echo "$result" >&6; }
7575 defaultval
=$wxUSE_ALL_FEATURES
7576 if test -z "$defaultval"; then
7577 if test x
"$enablestring" = xdisable
; then
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7585 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7586 # Check whether --enable-any was given.
7587 if test "${enable_any+set}" = set; then :
7588 enableval
=$enable_any;
7589 if test "$enableval" = yes; then
7590 wx_cv_use_any
='wxUSE_ANY=yes'
7592 wx_cv_use_any
='wxUSE_ANY=no'
7597 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7602 eval "$wx_cv_use_any"
7604 if test x"$enablestring" = xdisable; then
7605 if test $wxUSE_ANY = no; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7615 $as_echo "$result" >&6; }
7619 defaultval=$wxUSE_ALL_FEATURES
7620 if test -z "$defaultval"; then
7621 if test x"$enablestring" = xdisable; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7629 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7630 # Check whether --enable-apple_ieee was given.
7631 if test "${enable_apple_ieee+set}" = set; then :
7632 enableval=$enable_apple_ieee;
7633 if test "$enableval" = yes; then
7634 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
7636 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
7641 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7646 eval "$wx_cv_use_apple_ieee"
7648 if test x"$enablestring" = xdisable; then
7649 if test $wxUSE_APPLE_IEEE = no; then
7655 result=$wxUSE_APPLE_IEEE
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7659 $as_echo "$result" >&6; }
7663 defaultval=$wxUSE_ALL_FEATURES
7664 if test -z "$defaultval"; then
7665 if test x"$enablestring" = xdisable; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-arcstream" >&5
7673 $as_echo_n "checking
for --${enablestring:-enable}-arcstream...
" >&6; }
7674 # Check whether --enable-arcstream was given.
7675 if test "${enable_arcstream+set}" = set; then :
7676 enableval=$enable_arcstream;
7677 if test "$enableval" = yes; then
7678 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7680 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7685 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7690 eval "$wx_cv_use_arcstream"
7692 if test x
"$enablestring" = xdisable
; then
7693 if test $wxUSE_ARCHIVE_STREAMS = no
; then
7699 result
=$wxUSE_ARCHIVE_STREAMS
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7703 $as_echo "$result" >&6; }
7707 defaultval
=$wxUSE_ALL_FEATURES
7708 if test -z "$defaultval"; then
7709 if test x
"$enablestring" = xdisable
; then
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7717 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7718 # Check whether --enable-base64 was given.
7719 if test "${enable_base64+set}" = set; then :
7720 enableval
=$enable_base64;
7721 if test "$enableval" = yes; then
7722 wx_cv_use_base64
='wxUSE_BASE64=yes'
7724 wx_cv_use_base64
='wxUSE_BASE64=no'
7729 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7734 eval "$wx_cv_use_base64"
7736 if test x"$enablestring" = xdisable; then
7737 if test $wxUSE_BASE64 = no; then
7743 result=$wxUSE_BASE64
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7747 $as_echo "$result" >&6; }
7751 defaultval=$wxUSE_ALL_FEATURES
7752 if test -z "$defaultval"; then
7753 if test x"$enablestring" = xdisable; then
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7761 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7762 # Check whether --enable-backtrace was given.
7763 if test "${enable_backtrace+set}" = set; then :
7764 enableval=$enable_backtrace;
7765 if test "$enableval" = yes; then
7766 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7768 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7773 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7778 eval "$wx_cv_use_backtrace"
7780 if test x"$enablestring" = xdisable; then
7781 if test $wxUSE_STACKWALKER = no; then
7787 result=$wxUSE_STACKWALKER
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7791 $as_echo "$result" >&6; }
7795 defaultval=$wxUSE_ALL_FEATURES
7796 if test -z "$defaultval"; then
7797 if test x"$enablestring" = xdisable; then
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-catch_segvs" >&5
7805 $as_echo_n "checking
for --${enablestring:-enable}-catch_segvs...
" >&6; }
7806 # Check whether --enable-catch_segvs was given.
7807 if test "${enable_catch_segvs+set}" = set; then :
7808 enableval=$enable_catch_segvs;
7809 if test "$enableval" = yes; then
7810 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7812 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7817 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7822 eval "$wx_cv_use_catch_segvs"
7824 if test x
"$enablestring" = xdisable
; then
7825 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
7831 result
=$wxUSE_ON_FATAL_EXCEPTION
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7835 $as_echo "$result" >&6; }
7839 defaultval
=$wxUSE_ALL_FEATURES
7840 if test -z "$defaultval"; then
7841 if test x
"$enablestring" = xdisable
; then
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7849 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7850 # Check whether --enable-cmdline was given.
7851 if test "${enable_cmdline+set}" = set; then :
7852 enableval
=$enable_cmdline;
7853 if test "$enableval" = yes; then
7854 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
7856 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
7861 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7866 eval "$wx_cv_use_cmdline"
7868 if test x"$enablestring" = xdisable; then
7869 if test $wxUSE_CMDLINE_PARSER = no; then
7875 result=$wxUSE_CMDLINE_PARSER
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7879 $as_echo "$result" >&6; }
7883 defaultval=$wxUSE_ALL_FEATURES
7884 if test -z "$defaultval"; then
7885 if test x"$enablestring" = xdisable; then
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7893 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7894 # Check whether --enable-datetime was given.
7895 if test "${enable_datetime+set}" = set; then :
7896 enableval=$enable_datetime;
7897 if test "$enableval" = yes; then
7898 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
7900 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
7905 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7910 eval "$wx_cv_use_datetime"
7912 if test x"$enablestring" = xdisable; then
7913 if test $wxUSE_DATETIME = no; then
7919 result=$wxUSE_DATETIME
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7923 $as_echo "$result" >&6; }
7927 defaultval=$wxUSE_ALL_FEATURES
7928 if test -z "$defaultval"; then
7929 if test x"$enablestring" = xdisable; then
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debugreport" >&5
7937 $as_echo_n "checking
for --${enablestring:-enable}-debugreport...
" >&6; }
7938 # Check whether --enable-debugreport was given.
7939 if test "${enable_debugreport+set}" = set; then :
7940 enableval=$enable_debugreport;
7941 if test "$enableval" = yes; then
7942 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7944 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7949 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7954 eval "$wx_cv_use_debugreport"
7956 if test x
"$enablestring" = xdisable
; then
7957 if test $wxUSE_DEBUGREPORT = no
; then
7963 result
=$wxUSE_DEBUGREPORT
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7967 $as_echo "$result" >&6; }
7971 defaultval
=$wxUSE_ALL_FEATURES
7972 if test -z "$defaultval"; then
7973 if test x
"$enablestring" = xdisable
; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
7981 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
7982 # Check whether --enable-dialupman was given.
7983 if test "${enable_dialupman+set}" = set; then :
7984 enableval
=$enable_dialupman;
7985 if test "$enableval" = yes; then
7986 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
7988 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
7993 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7998 eval "$wx_cv_use_dialupman"
8000 if test x"$enablestring" = xdisable; then
8001 if test $wxUSE_DIALUP_MANAGER = no; then
8007 result=$wxUSE_DIALUP_MANAGER
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8011 $as_echo "$result" >&6; }
8015 defaultval=$wxUSE_ALL_FEATURES
8016 if test -z "$defaultval"; then
8017 if test x"$enablestring" = xdisable; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8025 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8026 # Check whether --enable-dynlib was given.
8027 if test "${enable_dynlib+set}" = set; then :
8028 enableval=$enable_dynlib;
8029 if test "$enableval" = yes; then
8030 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
8032 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
8037 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8042 eval "$wx_cv_use_dynlib"
8044 if test x"$enablestring" = xdisable; then
8045 if test $wxUSE_DYNLIB_CLASS = no; then
8051 result=$wxUSE_DYNLIB_CLASS
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8055 $as_echo "$result" >&6; }
8059 defaultval=$wxUSE_ALL_FEATURES
8060 if test -z "$defaultval"; then
8061 if test x"$enablestring" = xdisable; then
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynamicloader" >&5
8069 $as_echo_n "checking
for --${enablestring:-enable}-dynamicloader...
" >&6; }
8070 # Check whether --enable-dynamicloader was given.
8071 if test "${enable_dynamicloader+set}" = set; then :
8072 enableval=$enable_dynamicloader;
8073 if test "$enableval" = yes; then
8074 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8076 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8081 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8086 eval "$wx_cv_use_dynamicloader"
8088 if test x
"$enablestring" = xdisable
; then
8089 if test $wxUSE_DYNAMIC_LOADER = no
; then
8095 result
=$wxUSE_DYNAMIC_LOADER
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8099 $as_echo "$result" >&6; }
8103 defaultval
=$wxUSE_ALL_FEATURES
8104 if test -z "$defaultval"; then
8105 if test x
"$enablestring" = xdisable
; then
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8113 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8114 # Check whether --enable-exceptions was given.
8115 if test "${enable_exceptions+set}" = set; then :
8116 enableval
=$enable_exceptions;
8117 if test "$enableval" = yes; then
8118 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
8120 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
8125 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8130 eval "$wx_cv_use_exceptions"
8132 if test x"$enablestring" = xdisable; then
8133 if test $wxUSE_EXCEPTIONS = no; then
8139 result=$wxUSE_EXCEPTIONS
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8143 $as_echo "$result" >&6; }
8147 defaultval=$wxUSE_ALL_FEATURES
8148 if test -z "$defaultval"; then
8149 if test x"$enablestring" = xdisable; then
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8157 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8158 # Check whether --enable-ffile was given.
8159 if test "${enable_ffile+set}" = set; then :
8160 enableval=$enable_ffile;
8161 if test "$enableval" = yes; then
8162 wx_cv_use_ffile='wxUSE_FFILE
=yes'
8164 wx_cv_use_ffile='wxUSE_FFILE
=no
'
8169 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8174 eval "$wx_cv_use_ffile"
8176 if test x"$enablestring" = xdisable; then
8177 if test $wxUSE_FFILE = no; then
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8187 $as_echo "$result" >&6; }
8191 defaultval=$wxUSE_ALL_FEATURES
8192 if test -z "$defaultval"; then
8193 if test x"$enablestring" = xdisable; then
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-file" >&5
8201 $as_echo_n "checking
for --${enablestring:-enable}-file...
" >&6; }
8202 # Check whether --enable-file was given.
8203 if test "${enable_file+set}" = set; then :
8204 enableval=$enable_file;
8205 if test "$enableval" = yes; then
8206 wx_cv_use_file='wxUSE_FILE=yes'
8208 wx_cv_use_file='wxUSE_FILE=no'
8213 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8218 eval "$wx_cv_use_file"
8220 if test x
"$enablestring" = xdisable
; then
8221 if test $wxUSE_FILE = no
; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8231 $as_echo "$result" >&6; }
8235 defaultval
=$wxUSE_ALL_FEATURES
8236 if test -z "$defaultval"; then
8237 if test x
"$enablestring" = xdisable
; then
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8245 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8246 # Check whether --enable-filehistory was given.
8247 if test "${enable_filehistory+set}" = set; then :
8248 enableval
=$enable_filehistory;
8249 if test "$enableval" = yes; then
8250 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
8252 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
8257 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8262 eval "$wx_cv_use_filehistory"
8264 if test x"$enablestring" = xdisable; then
8265 if test $wxUSE_FILE_HISTORY = no; then
8271 result=$wxUSE_FILE_HISTORY
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8275 $as_echo "$result" >&6; }
8279 defaultval=$wxUSE_ALL_FEATURES
8280 if test -z "$defaultval"; then
8281 if test x"$enablestring" = xdisable; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8289 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8290 # Check whether --enable-filesystem was given.
8291 if test "${enable_filesystem+set}" = set; then :
8292 enableval=$enable_filesystem;
8293 if test "$enableval" = yes; then
8294 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
8296 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
8301 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8306 eval "$wx_cv_use_filesystem"
8308 if test x"$enablestring" = xdisable; then
8309 if test $wxUSE_FILESYSTEM = no; then
8315 result=$wxUSE_FILESYSTEM
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8319 $as_echo "$result" >&6; }
8323 defaultval=$wxUSE_ALL_FEATURES
8324 if test -z "$defaultval"; then
8325 if test x"$enablestring" = xdisable; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontenum" >&5
8333 $as_echo_n "checking
for --${enablestring:-enable}-fontenum...
" >&6; }
8334 # Check whether --enable-fontenum was given.
8335 if test "${enable_fontenum+set}" = set; then :
8336 enableval=$enable_fontenum;
8337 if test "$enableval" = yes; then
8338 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8340 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8345 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8350 eval "$wx_cv_use_fontenum"
8352 if test x
"$enablestring" = xdisable
; then
8353 if test $wxUSE_FONTENUM = no
; then
8359 result
=$wxUSE_FONTENUM
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8363 $as_echo "$result" >&6; }
8367 defaultval
=$wxUSE_ALL_FEATURES
8368 if test -z "$defaultval"; then
8369 if test x
"$enablestring" = xdisable
; then
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8377 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8378 # Check whether --enable-fontmap was given.
8379 if test "${enable_fontmap+set}" = set; then :
8380 enableval
=$enable_fontmap;
8381 if test "$enableval" = yes; then
8382 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
8384 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
8389 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8394 eval "$wx_cv_use_fontmap"
8396 if test x"$enablestring" = xdisable; then
8397 if test $wxUSE_FONTMAP = no; then
8403 result=$wxUSE_FONTMAP
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8407 $as_echo "$result" >&6; }
8411 defaultval=$wxUSE_ALL_FEATURES
8412 if test -z "$defaultval"; then
8413 if test x"$enablestring" = xdisable; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8421 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8422 # Check whether --enable-fs_archive was given.
8423 if test "${enable_fs_archive+set}" = set; then :
8424 enableval=$enable_fs_archive;
8425 if test "$enableval" = yes; then
8426 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
8428 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
8433 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8438 eval "$wx_cv_use_fs_archive"
8440 if test x"$enablestring" = xdisable; then
8441 if test $wxUSE_FS_ARCHIVE = no; then
8447 result=$wxUSE_FS_ARCHIVE
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8451 $as_echo "$result" >&6; }
8455 defaultval=$wxUSE_ALL_FEATURES
8456 if test -z "$defaultval"; then
8457 if test x"$enablestring" = xdisable; then
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_inet" >&5
8465 $as_echo_n "checking
for --${enablestring:-enable}-fs_inet...
" >&6; }
8466 # Check whether --enable-fs_inet was given.
8467 if test "${enable_fs_inet+set}" = set; then :
8468 enableval=$enable_fs_inet;
8469 if test "$enableval" = yes; then
8470 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8472 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8477 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8482 eval "$wx_cv_use_fs_inet"
8484 if test x
"$enablestring" = xdisable
; then
8485 if test $wxUSE_FS_INET = no
; then
8491 result
=$wxUSE_FS_INET
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8495 $as_echo "$result" >&6; }
8499 defaultval
=$wxUSE_ALL_FEATURES
8500 if test -z "$defaultval"; then
8501 if test x
"$enablestring" = xdisable
; then
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8509 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8510 # Check whether --enable-fs_zip was given.
8511 if test "${enable_fs_zip+set}" = set; then :
8512 enableval
=$enable_fs_zip;
8513 if test "$enableval" = yes; then
8514 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
8516 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
8521 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8526 eval "$wx_cv_use_fs_zip"
8528 if test x"$enablestring" = xdisable; then
8529 if test $wxUSE_FS_ZIP = no; then
8535 result=$wxUSE_FS_ZIP
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8539 $as_echo "$result" >&6; }
8543 defaultval=$wxUSE_ALL_FEATURES
8544 if test -z "$defaultval"; then
8545 if test x"$enablestring" = xdisable; then
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8553 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8554 # Check whether --enable-fswatcher was given.
8555 if test "${enable_fswatcher+set}" = set; then :
8556 enableval=$enable_fswatcher;
8557 if test "$enableval" = yes; then
8558 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
8560 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
8565 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8570 eval "$wx_cv_use_fswatcher"
8572 if test x"$enablestring" = xdisable; then
8573 if test $wxUSE_FSWATCHER = no; then
8579 result=$wxUSE_FSWATCHER
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8583 $as_echo "$result" >&6; }
8587 defaultval=$wxUSE_ALL_FEATURES
8588 if test -z "$defaultval"; then
8589 if test x"$enablestring" = xdisable; then
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-geometry" >&5
8597 $as_echo_n "checking
for --${enablestring:-enable}-geometry...
" >&6; }
8598 # Check whether --enable-geometry was given.
8599 if test "${enable_geometry+set}" = set; then :
8600 enableval=$enable_geometry;
8601 if test "$enableval" = yes; then
8602 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8604 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8609 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8614 eval "$wx_cv_use_geometry"
8616 if test x
"$enablestring" = xdisable
; then
8617 if test $wxUSE_GEOMETRY = no
; then
8623 result
=$wxUSE_GEOMETRY
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8627 $as_echo "$result" >&6; }
8631 defaultval
=$wxUSE_ALL_FEATURES
8632 if test -z "$defaultval"; then
8633 if test x
"$enablestring" = xdisable
; then
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8641 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8642 # Check whether --enable-log was given.
8643 if test "${enable_log+set}" = set; then :
8644 enableval
=$enable_log;
8645 if test "$enableval" = yes; then
8646 wx_cv_use_log
='wxUSE_LOG=yes'
8648 wx_cv_use_log
='wxUSE_LOG=no'
8653 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8658 eval "$wx_cv_use_log"
8660 if test x"$enablestring" = xdisable; then
8661 if test $wxUSE_LOG = no; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8671 $as_echo "$result" >&6; }
8675 defaultval=$wxUSE_ALL_FEATURES
8676 if test -z "$defaultval"; then
8677 if test x"$enablestring" = xdisable; then
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8685 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8686 # Check whether --enable-longlong was given.
8687 if test "${enable_longlong+set}" = set; then :
8688 enableval=$enable_longlong;
8689 if test "$enableval" = yes; then
8690 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
8692 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
8697 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8702 eval "$wx_cv_use_longlong"
8704 if test x"$enablestring" = xdisable; then
8705 if test $wxUSE_LONGLONG = no; then
8711 result=$wxUSE_LONGLONG
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8715 $as_echo "$result" >&6; }
8719 defaultval=$wxUSE_ALL_FEATURES
8720 if test -z "$defaultval"; then
8721 if test x"$enablestring" = xdisable; then
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mimetype" >&5
8729 $as_echo_n "checking
for --${enablestring:-enable}-mimetype...
" >&6; }
8730 # Check whether --enable-mimetype was given.
8731 if test "${enable_mimetype+set}" = set; then :
8732 enableval=$enable_mimetype;
8733 if test "$enableval" = yes; then
8734 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8736 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8741 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8746 eval "$wx_cv_use_mimetype"
8748 if test x
"$enablestring" = xdisable
; then
8749 if test $wxUSE_MIMETYPE = no
; then
8755 result
=$wxUSE_MIMETYPE
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8759 $as_echo "$result" >&6; }
8763 defaultval
=$wxUSE_ALL_FEATURES
8764 if test -z "$defaultval"; then
8765 if test x
"$enablestring" = xdisable
; then
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8773 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8774 # Check whether --enable-printfposparam was given.
8775 if test "${enable_printfposparam+set}" = set; then :
8776 enableval
=$enable_printfposparam;
8777 if test "$enableval" = yes; then
8778 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
8780 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
8785 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8790 eval "$wx_cv_use_printfposparam"
8792 if test x"$enablestring" = xdisable; then
8793 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8799 result=$wxUSE_PRINTF_POS_PARAMS
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8803 $as_echo "$result" >&6; }
8807 defaultval=$wxUSE_ALL_FEATURES
8808 if test -z "$defaultval"; then
8809 if test x"$enablestring" = xdisable; then
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8817 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8818 # Check whether --enable-snglinst was given.
8819 if test "${enable_snglinst+set}" = set; then :
8820 enableval=$enable_snglinst;
8821 if test "$enableval" = yes; then
8822 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
8824 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
8829 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8834 eval "$wx_cv_use_snglinst"
8836 if test x"$enablestring" = xdisable; then
8837 if test $wxUSE_SNGLINST_CHECKER = no; then
8843 result=$wxUSE_SNGLINST_CHECKER
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8847 $as_echo "$result" >&6; }
8851 defaultval=$wxUSE_ALL_FEATURES
8852 if test -z "$defaultval"; then
8853 if test x"$enablestring" = xdisable; then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sound" >&5
8861 $as_echo_n "checking
for --${enablestring:-enable}-sound...
" >&6; }
8862 # Check whether --enable-sound was given.
8863 if test "${enable_sound+set}" = set; then :
8864 enableval=$enable_sound;
8865 if test "$enableval" = yes; then
8866 wx_cv_use_sound='wxUSE_SOUND=yes'
8868 wx_cv_use_sound='wxUSE_SOUND=no'
8873 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8878 eval "$wx_cv_use_sound"
8880 if test x
"$enablestring" = xdisable
; then
8881 if test $wxUSE_SOUND = no
; then
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8891 $as_echo "$result" >&6; }
8895 defaultval
=$wxUSE_ALL_FEATURES
8896 if test -z "$defaultval"; then
8897 if test x
"$enablestring" = xdisable
; then
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8905 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8906 # Check whether --enable-stdpaths was given.
8907 if test "${enable_stdpaths+set}" = set; then :
8908 enableval
=$enable_stdpaths;
8909 if test "$enableval" = yes; then
8910 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
8912 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
8917 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8922 eval "$wx_cv_use_stdpaths"
8924 if test x"$enablestring" = xdisable; then
8925 if test $wxUSE_STDPATHS = no; then
8931 result=$wxUSE_STDPATHS
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8935 $as_echo "$result" >&6; }
8939 defaultval=$wxUSE_ALL_FEATURES
8940 if test -z "$defaultval"; then
8941 if test x"$enablestring" = xdisable; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8949 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8950 # Check whether --enable-stopwatch was given.
8951 if test "${enable_stopwatch+set}" = set; then :
8952 enableval=$enable_stopwatch;
8953 if test "$enableval" = yes; then
8954 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
8956 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
8961 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8966 eval "$wx_cv_use_stopwatch"
8968 if test x"$enablestring" = xdisable; then
8969 if test $wxUSE_STOPWATCH = no; then
8975 result=$wxUSE_STOPWATCH
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8979 $as_echo "$result" >&6; }
8983 defaultval=$wxUSE_ALL_FEATURES
8984 if test -z "$defaultval"; then
8985 if test x"$enablestring" = xdisable; then
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-streams" >&5
8993 $as_echo_n "checking
for --${enablestring:-enable}-streams...
" >&6; }
8994 # Check whether --enable-streams was given.
8995 if test "${enable_streams+set}" = set; then :
8996 enableval=$enable_streams;
8997 if test "$enableval" = yes; then
8998 wx_cv_use_streams='wxUSE_STREAMS=yes'
9000 wx_cv_use_streams='wxUSE_STREAMS=no'
9005 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9010 eval "$wx_cv_use_streams"
9012 if test x
"$enablestring" = xdisable
; then
9013 if test $wxUSE_STREAMS = no
; then
9019 result
=$wxUSE_STREAMS
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9023 $as_echo "$result" >&6; }
9027 defaultval
=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x
"$enablestring" = xdisable
; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9037 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9038 # Check whether --enable-sysoptions was given.
9039 if test "${enable_sysoptions+set}" = set; then :
9040 enableval
=$enable_sysoptions;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
9044 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
9049 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9054 eval "$wx_cv_use_sysoptions"
9056 if test x"$enablestring" = xdisable; then
9057 if test $wxUSE_SYSTEM_OPTIONS = no; then
9063 result=$wxUSE_SYSTEM_OPTIONS
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9067 $as_echo "$result" >&6; }
9071 defaultval=$wxUSE_ALL_FEATURES
9072 if test -z "$defaultval"; then
9073 if test x"$enablestring" = xdisable; then
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9081 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9082 # Check whether --enable-tarstream was given.
9083 if test "${enable_tarstream+set}" = set; then :
9084 enableval=$enable_tarstream;
9085 if test "$enableval" = yes; then
9086 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
9088 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
9093 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9098 eval "$wx_cv_use_tarstream"
9100 if test x"$enablestring" = xdisable; then
9101 if test $wxUSE_TARSTREAM = no; then
9107 result=$wxUSE_TARSTREAM
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9111 $as_echo "$result" >&6; }
9115 defaultval=$wxUSE_ALL_FEATURES
9116 if test -z "$defaultval"; then
9117 if test x"$enablestring" = xdisable; then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textbuf" >&5
9125 $as_echo_n "checking
for --${enablestring:-enable}-textbuf...
" >&6; }
9126 # Check whether --enable-textbuf was given.
9127 if test "${enable_textbuf+set}" = set; then :
9128 enableval=$enable_textbuf;
9129 if test "$enableval" = yes; then
9130 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9132 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9137 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9142 eval "$wx_cv_use_textbuf"
9144 if test x
"$enablestring" = xdisable
; then
9145 if test $wxUSE_TEXTBUFFER = no
; then
9151 result
=$wxUSE_TEXTBUFFER
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9155 $as_echo "$result" >&6; }
9159 defaultval
=$wxUSE_ALL_FEATURES
9160 if test -z "$defaultval"; then
9161 if test x
"$enablestring" = xdisable
; then
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9169 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9170 # Check whether --enable-textfile was given.
9171 if test "${enable_textfile+set}" = set; then :
9172 enableval
=$enable_textfile;
9173 if test "$enableval" = yes; then
9174 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
9176 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
9181 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9186 eval "$wx_cv_use_textfile"
9188 if test x"$enablestring" = xdisable; then
9189 if test $wxUSE_TEXTFILE = no; then
9195 result=$wxUSE_TEXTFILE
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9199 $as_echo "$result" >&6; }
9203 defaultval=$wxUSE_ALL_FEATURES
9204 if test -z "$defaultval"; then
9205 if test x"$enablestring" = xdisable; then
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9213 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9214 # Check whether --enable-timer was given.
9215 if test "${enable_timer+set}" = set; then :
9216 enableval=$enable_timer;
9217 if test "$enableval" = yes; then
9218 wx_cv_use_timer='wxUSE_TIMER
=yes'
9220 wx_cv_use_timer='wxUSE_TIMER
=no
'
9225 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9230 eval "$wx_cv_use_timer"
9232 if test x"$enablestring" = xdisable; then
9233 if test $wxUSE_TIMER = no; then
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9243 $as_echo "$result" >&6; }
9247 defaultval=$wxUSE_ALL_FEATURES
9248 if test -z "$defaultval"; then
9249 if test x"$enablestring" = xdisable; then
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-variant" >&5
9257 $as_echo_n "checking
for --${enablestring:-enable}-variant...
" >&6; }
9258 # Check whether --enable-variant was given.
9259 if test "${enable_variant+set}" = set; then :
9260 enableval=$enable_variant;
9261 if test "$enableval" = yes; then
9262 wx_cv_use_variant='wxUSE_VARIANT=yes'
9264 wx_cv_use_variant='wxUSE_VARIANT=no'
9269 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9274 eval "$wx_cv_use_variant"
9276 if test x
"$enablestring" = xdisable
; then
9277 if test $wxUSE_VARIANT = no
; then
9283 result
=$wxUSE_VARIANT
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9287 $as_echo "$result" >&6; }
9291 defaultval
=$wxUSE_ALL_FEATURES
9292 if test -z "$defaultval"; then
9293 if test x
"$enablestring" = xdisable
; then
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9301 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9302 # Check whether --enable-zipstream was given.
9303 if test "${enable_zipstream+set}" = set; then :
9304 enableval
=$enable_zipstream;
9305 if test "$enableval" = yes; then
9306 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
9308 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
9313 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9318 eval "$wx_cv_use_zipstream"
9320 if test x"$enablestring" = xdisable; then
9321 if test $wxUSE_ZIPSTREAM = no; then
9327 result=$wxUSE_ZIPSTREAM
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9331 $as_echo "$result" >&6; }
9336 defaultval=$wxUSE_ALL_FEATURES
9337 if test -z "$defaultval"; then
9338 if test x"$enablestring" = xdisable; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9346 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9347 # Check whether --enable-url was given.
9348 if test "${enable_url+set}" = set; then :
9349 enableval=$enable_url;
9350 if test "$enableval" = yes; then
9351 wx_cv_use_url='wxUSE_URL
=yes'
9353 wx_cv_use_url='wxUSE_URL
=no
'
9358 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
9363 eval "$wx_cv_use_url"
9365 if test x"$enablestring" = xdisable; then
9366 if test $wxUSE_URL = no; then
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9376 $as_echo "$result" >&6; }
9380 defaultval=$wxUSE_ALL_FEATURES
9381 if test -z "$defaultval"; then
9382 if test x"$enablestring" = xdisable; then
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol" >&5
9390 $as_echo_n "checking
for --${enablestring:-enable}-protocol...
" >&6; }
9391 # Check whether --enable-protocol was given.
9392 if test "${enable_protocol+set}" = set; then :
9393 enableval=$enable_protocol;
9394 if test "$enableval" = yes; then
9395 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9397 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9402 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9407 eval "$wx_cv_use_protocol"
9409 if test x
"$enablestring" = xdisable
; then
9410 if test $wxUSE_PROTOCOL = no
; then
9416 result
=$wxUSE_PROTOCOL
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9420 $as_echo "$result" >&6; }
9424 defaultval
=$wxUSE_ALL_FEATURES
9425 if test -z "$defaultval"; then
9426 if test x
"$enablestring" = xdisable
; then
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9434 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9435 # Check whether --enable-protocol_http was given.
9436 if test "${enable_protocol_http+set}" = set; then :
9437 enableval
=$enable_protocol_http;
9438 if test "$enableval" = yes; then
9439 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
9441 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
9446 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9451 eval "$wx_cv_use_protocol_http"
9453 if test x"$enablestring" = xdisable; then
9454 if test $wxUSE_PROTOCOL_HTTP = no; then
9460 result=$wxUSE_PROTOCOL_HTTP
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9464 $as_echo "$result" >&6; }
9468 defaultval=$wxUSE_ALL_FEATURES
9469 if test -z "$defaultval"; then
9470 if test x"$enablestring" = xdisable; then
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9478 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9479 # Check whether --enable-protocol_ftp was given.
9480 if test "${enable_protocol_ftp+set}" = set; then :
9481 enableval=$enable_protocol_ftp;
9482 if test "$enableval" = yes; then
9483 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
9485 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
9490 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9495 eval "$wx_cv_use_protocol_ftp"
9497 if test x"$enablestring" = xdisable; then
9498 if test $wxUSE_PROTOCOL_FTP = no; then
9504 result=$wxUSE_PROTOCOL_FTP
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9508 $as_echo "$result" >&6; }
9512 defaultval=$wxUSE_ALL_FEATURES
9513 if test -z "$defaultval"; then
9514 if test x"$enablestring" = xdisable; then
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_file" >&5
9522 $as_echo_n "checking
for --${enablestring:-enable}-protocol_file...
" >&6; }
9523 # Check whether --enable-protocol_file was given.
9524 if test "${enable_protocol_file+set}" = set; then :
9525 enableval=$enable_protocol_file;
9526 if test "$enableval" = yes; then
9527 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9529 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9534 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9539 eval "$wx_cv_use_protocol_file"
9541 if test x
"$enablestring" = xdisable
; then
9542 if test $wxUSE_PROTOCOL_FILE = no
; then
9548 result
=$wxUSE_PROTOCOL_FILE
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9552 $as_echo "$result" >&6; }
9557 defaultval
=$wxUSE_ALL_FEATURES
9558 if test -z "$defaultval"; then
9559 if test x
"$enablestring" = xdisable
; then
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9567 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9568 # Check whether --enable-threads was given.
9569 if test "${enable_threads+set}" = set; then :
9570 enableval
=$enable_threads;
9571 if test "$enableval" = yes; then
9572 wx_cv_use_threads
='wxUSE_THREADS=yes'
9574 wx_cv_use_threads
='wxUSE_THREADS=no'
9579 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9584 eval "$wx_cv_use_threads"
9586 if test x"$enablestring" = xdisable; then
9587 if test $wxUSE_THREADS = no; then
9593 result=$wxUSE_THREADS
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9597 $as_echo "$result" >&6; }
9603 if test -z "$defaultval"; then
9604 if test x"$enablestring" = xdisable; then
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9612 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9613 # Check whether --enable-iniconf was given.
9614 if test "${enable_iniconf+set}" = set; then :
9615 enableval=$enable_iniconf;
9616 if test "$enableval" = yes; then
9617 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
9619 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
9624 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9629 eval "$wx_cv_use_iniconf"
9631 if test x"$enablestring" = xdisable; then
9632 if test $wxUSE_INICONF = no; then
9638 result=$wxUSE_INICONF
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9642 $as_echo "$result" >&6; }
9646 defaultval=$wxUSE_ALL_FEATURES
9647 if test -z "$defaultval"; then
9648 if test x"$enablestring" = xdisable; then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-regkey" >&5
9656 $as_echo_n "checking
for --${enablestring:-enable}-regkey...
" >&6; }
9657 # Check whether --enable-regkey was given.
9658 if test "${enable_regkey+set}" = set; then :
9659 enableval=$enable_regkey;
9660 if test "$enableval" = yes; then
9661 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9663 wx_cv_use_regkey='wxUSE_REGKEY=no'
9668 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9673 eval "$wx_cv_use_regkey"
9675 if test x
"$enablestring" = xdisable
; then
9676 if test $wxUSE_REGKEY = no
; then
9682 result
=$wxUSE_REGKEY
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9686 $as_echo "$result" >&6; }
9689 if test "$wxUSE_GUI" = "yes"; then
9694 defaultval
=$wxUSE_ALL_FEATURES
9695 if test -z "$defaultval"; then
9696 if test x
"$enablestring" = xdisable
; then
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9704 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9705 # Check whether --enable-docview was given.
9706 if test "${enable_docview+set}" = set; then :
9707 enableval
=$enable_docview;
9708 if test "$enableval" = yes; then
9709 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9711 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9716 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9721 eval "$wx_cv_use_docview"
9723 if test x"$enablestring" = xdisable; then
9724 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9730 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9734 $as_echo "$result" >&6; }
9738 defaultval=$wxUSE_ALL_FEATURES
9739 if test -z "$defaultval"; then
9740 if test x"$enablestring" = xdisable; then
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9748 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9749 # Check whether --enable-help was given.
9750 if test "${enable_help+set}" = set; then :
9751 enableval=$enable_help;
9752 if test "$enableval" = yes; then
9753 wx_cv_use_help='wxUSE_HELP
=yes'
9755 wx_cv_use_help='wxUSE_HELP
=no
'
9760 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9765 eval "$wx_cv_use_help"
9767 if test x"$enablestring" = xdisable; then
9768 if test $wxUSE_HELP = no; then
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9778 $as_echo "$result" >&6; }
9782 defaultval=$wxUSE_ALL_FEATURES
9783 if test -z "$defaultval"; then
9784 if test x"$enablestring" = xdisable; then
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
9792 $as_echo_n "checking
for --${enablestring:-enable}-mshtmlhelp...
" >&6; }
9793 # Check whether --enable-mshtmlhelp was given.
9794 if test "${enable_mshtmlhelp+set}" = set; then :
9795 enableval=$enable_mshtmlhelp;
9796 if test "$enableval" = yes; then
9797 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9799 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9804 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9809 eval "$wx_cv_use_mshtmlhelp"
9811 if test x
"$enablestring" = xdisable
; then
9812 if test $wxUSE_MS_HTML_HELP = no
; then
9818 result
=$wxUSE_MS_HTML_HELP
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9822 $as_echo "$result" >&6; }
9826 defaultval
=$wxUSE_ALL_FEATURES
9827 if test -z "$defaultval"; then
9828 if test x
"$enablestring" = xdisable
; then
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9836 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9837 # Check whether --enable-html was given.
9838 if test "${enable_html+set}" = set; then :
9839 enableval
=$enable_html;
9840 if test "$enableval" = yes; then
9841 wx_cv_use_html
='wxUSE_HTML=yes'
9843 wx_cv_use_html
='wxUSE_HTML=no'
9848 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9853 eval "$wx_cv_use_html"
9855 if test x"$enablestring" = xdisable; then
9856 if test $wxUSE_HTML = no; then
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9866 $as_echo "$result" >&6; }
9870 defaultval=$wxUSE_ALL_FEATURES
9871 if test -z "$defaultval"; then
9872 if test x"$enablestring" = xdisable; then
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9880 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9881 # Check whether --enable-htmlhelp was given.
9882 if test "${enable_htmlhelp+set}" = set; then :
9883 enableval=$enable_htmlhelp;
9884 if test "$enableval" = yes; then
9885 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
9887 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
9892 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9897 eval "$wx_cv_use_htmlhelp"
9899 if test x"$enablestring" = xdisable; then
9900 if test $wxUSE_WXHTML_HELP = no; then
9906 result=$wxUSE_WXHTML_HELP
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9910 $as_echo "$result" >&6; }
9914 defaultval=$wxUSE_ALL_FEATURES
9915 if test -z "$defaultval"; then
9916 if test x"$enablestring" = xdisable; then
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-xrc" >&5
9924 $as_echo_n "checking
for --${enablestring:-enable}-xrc...
" >&6; }
9925 # Check whether --enable-xrc was given.
9926 if test "${enable_xrc+set}" = set; then :
9927 enableval=$enable_xrc;
9928 if test "$enableval" = yes; then
9929 wx_cv_use_xrc='wxUSE_XRC=yes'
9931 wx_cv_use_xrc='wxUSE_XRC=no'
9936 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9941 eval "$wx_cv_use_xrc"
9943 if test x
"$enablestring" = xdisable
; then
9944 if test $wxUSE_XRC = no
; then
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9954 $as_echo "$result" >&6; }
9958 defaultval
=$wxUSE_ALL_FEATURES
9959 if test -z "$defaultval"; then
9960 if test x
"$enablestring" = xdisable
; then
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9968 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9969 # Check whether --enable-aui was given.
9970 if test "${enable_aui+set}" = set; then :
9971 enableval
=$enable_aui;
9972 if test "$enableval" = yes; then
9973 wx_cv_use_aui
='wxUSE_AUI=yes'
9975 wx_cv_use_aui
='wxUSE_AUI=no'
9980 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9985 eval "$wx_cv_use_aui"
9987 if test x"$enablestring" = xdisable; then
9988 if test $wxUSE_AUI = no; then
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9998 $as_echo "$result" >&6; }
10002 defaultval=$wxUSE_ALL_FEATURES
10003 if test -z "$defaultval"; then
10004 if test x"$enablestring" = xdisable; then
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10012 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10013 # Check whether --enable-propgrid was given.
10014 if test "${enable_propgrid+set}" = set; then :
10015 enableval=$enable_propgrid;
10016 if test "$enableval" = yes; then
10017 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
10019 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
10024 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10029 eval "$wx_cv_use_propgrid"
10031 if test x"$enablestring" = xdisable; then
10032 if test $wxUSE_PROPGRID = no; then
10038 result=$wxUSE_PROPGRID
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10042 $as_echo "$result" >&6; }
10046 defaultval=$wxUSE_ALL_FEATURES
10047 if test -z "$defaultval"; then
10048 if test x"$enablestring" = xdisable; then
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ribbon" >&5
10056 $as_echo_n "checking
for --${enablestring:-enable}-ribbon...
" >&6; }
10057 # Check whether --enable-ribbon was given.
10058 if test "${enable_ribbon+set}" = set; then :
10059 enableval=$enable_ribbon;
10060 if test "$enableval" = yes; then
10061 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10063 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10068 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10073 eval "$wx_cv_use_ribbon"
10075 if test x
"$enablestring" = xdisable
; then
10076 if test $wxUSE_RIBBON = no
; then
10082 result
=$wxUSE_RIBBON
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10086 $as_echo "$result" >&6; }
10090 defaultval
=$wxUSE_ALL_FEATURES
10091 if test -z "$defaultval"; then
10092 if test x
"$enablestring" = xdisable
; then
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10100 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10101 # Check whether --enable-stc was given.
10102 if test "${enable_stc+set}" = set; then :
10103 enableval
=$enable_stc;
10104 if test "$enableval" = yes; then
10105 wx_cv_use_stc
='wxUSE_STC=yes'
10107 wx_cv_use_stc
='wxUSE_STC=no'
10112 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10117 eval "$wx_cv_use_stc"
10119 if test x"$enablestring" = xdisable; then
10120 if test $wxUSE_STC = no; then
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10130 $as_echo "$result" >&6; }
10134 defaultval=$wxUSE_ALL_FEATURES
10135 if test -z "$defaultval"; then
10136 if test x"$enablestring" = xdisable; then
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10144 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10145 # Check whether --enable-constraints was given.
10146 if test "${enable_constraints+set}" = set; then :
10147 enableval=$enable_constraints;
10148 if test "$enableval" = yes; then
10149 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
10151 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
10156 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10161 eval "$wx_cv_use_constraints"
10163 if test x"$enablestring" = xdisable; then
10164 if test $wxUSE_CONSTRAINTS = no; then
10170 result=$wxUSE_CONSTRAINTS
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10174 $as_echo "$result" >&6; }
10178 defaultval=$wxUSE_ALL_FEATURES
10179 if test -z "$defaultval"; then
10180 if test x"$enablestring" = xdisable; then
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-loggui" >&5
10188 $as_echo_n "checking
for --${enablestring:-enable}-loggui...
" >&6; }
10189 # Check whether --enable-loggui was given.
10190 if test "${enable_loggui+set}" = set; then :
10191 enableval=$enable_loggui;
10192 if test "$enableval" = yes; then
10193 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10195 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10200 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10205 eval "$wx_cv_use_loggui"
10207 if test x
"$enablestring" = xdisable
; then
10208 if test $wxUSE_LOGGUI = no
; then
10214 result
=$wxUSE_LOGGUI
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10218 $as_echo "$result" >&6; }
10222 defaultval
=$wxUSE_ALL_FEATURES
10223 if test -z "$defaultval"; then
10224 if test x
"$enablestring" = xdisable
; then
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10232 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10233 # Check whether --enable-logwin was given.
10234 if test "${enable_logwin+set}" = set; then :
10235 enableval
=$enable_logwin;
10236 if test "$enableval" = yes; then
10237 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
10239 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
10244 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10249 eval "$wx_cv_use_logwin"
10251 if test x"$enablestring" = xdisable; then
10252 if test $wxUSE_LOGWINDOW = no; then
10258 result=$wxUSE_LOGWINDOW
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10262 $as_echo "$result" >&6; }
10266 defaultval=$wxUSE_ALL_FEATURES
10267 if test -z "$defaultval"; then
10268 if test x"$enablestring" = xdisable; then
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10276 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10277 # Check whether --enable-logdialog was given.
10278 if test "${enable_logdialog+set}" = set; then :
10279 enableval=$enable_logdialog;
10280 if test "$enableval" = yes; then
10281 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
10283 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
10288 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10293 eval "$wx_cv_use_logdialog"
10295 if test x"$enablestring" = xdisable; then
10296 if test $wxUSE_LOGDIALOG = no; then
10302 result=$wxUSE_LOGDIALOG
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10306 $as_echo "$result" >&6; }
10310 defaultval=$wxUSE_ALL_FEATURES
10311 if test -z "$defaultval"; then
10312 if test x"$enablestring" = xdisable; then
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mdi" >&5
10320 $as_echo_n "checking
for --${enablestring:-enable}-mdi...
" >&6; }
10321 # Check whether --enable-mdi was given.
10322 if test "${enable_mdi+set}" = set; then :
10323 enableval=$enable_mdi;
10324 if test "$enableval" = yes; then
10325 wx_cv_use_mdi='wxUSE_MDI=yes'
10327 wx_cv_use_mdi='wxUSE_MDI=no'
10332 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10337 eval "$wx_cv_use_mdi"
10339 if test x
"$enablestring" = xdisable
; then
10340 if test $wxUSE_MDI = no
; then
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10350 $as_echo "$result" >&6; }
10354 defaultval
=$wxUSE_ALL_FEATURES
10355 if test -z "$defaultval"; then
10356 if test x
"$enablestring" = xdisable
; then
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10364 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10365 # Check whether --enable-mdidoc was given.
10366 if test "${enable_mdidoc+set}" = set; then :
10367 enableval
=$enable_mdidoc;
10368 if test "$enableval" = yes; then
10369 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
10371 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
10376 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10381 eval "$wx_cv_use_mdidoc"
10383 if test x"$enablestring" = xdisable; then
10384 if test $wxUSE_MDI_ARCHITECTURE = no; then
10390 result=$wxUSE_MDI_ARCHITECTURE
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10394 $as_echo "$result" >&6; }
10398 defaultval=$wxUSE_ALL_FEATURES
10399 if test -z "$defaultval"; then
10400 if test x"$enablestring" = xdisable; then
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10408 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10409 # Check whether --enable-mediactrl was given.
10410 if test "${enable_mediactrl+set}" = set; then :
10411 enableval=$enable_mediactrl;
10412 if test "$enableval" = yes; then
10413 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
10415 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
10420 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10425 eval "$wx_cv_use_mediactrl"
10427 if test x"$enablestring" = xdisable; then
10428 if test $wxUSE_MEDIACTRL = no; then
10434 result=$wxUSE_MEDIACTRL
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10438 $as_echo "$result" >&6; }
10442 defaultval=$wxUSE_ALL_FEATURES
10443 if test -z "$defaultval"; then
10444 if test x"$enablestring" = xdisable; then
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gstreamer8" >&5
10452 $as_echo_n "checking
for --${enablestring:-enable}-gstreamer8...
" >&6; }
10453 # Check whether --enable-gstreamer8 was given.
10454 if test "${enable_gstreamer8+set}" = set; then :
10455 enableval=$enable_gstreamer8;
10456 if test "$enableval" = yes; then
10457 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10459 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10464 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10469 eval "$wx_cv_use_gstreamer8"
10471 if test x
"$enablestring" = xdisable
; then
10472 if test $wxUSE_GSTREAMER8 = no
; then
10478 result
=$wxUSE_GSTREAMER8
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10482 $as_echo "$result" >&6; }
10486 defaultval
=$wxUSE_ALL_FEATURES
10487 if test -z "$defaultval"; then
10488 if test x
"$enablestring" = xdisable
; then
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10496 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10497 # Check whether --enable-richtext was given.
10498 if test "${enable_richtext+set}" = set; then :
10499 enableval
=$enable_richtext;
10500 if test "$enableval" = yes; then
10501 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
10503 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
10508 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10513 eval "$wx_cv_use_richtext"
10515 if test x"$enablestring" = xdisable; then
10516 if test $wxUSE_RICHTEXT = no; then
10522 result=$wxUSE_RICHTEXT
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10526 $as_echo "$result" >&6; }
10530 defaultval=$wxUSE_ALL_FEATURES
10531 if test -z "$defaultval"; then
10532 if test x"$enablestring" = xdisable; then
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10540 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10541 # Check whether --enable-postscript was given.
10542 if test "${enable_postscript+set}" = set; then :
10543 enableval=$enable_postscript;
10544 if test "$enableval" = yes; then
10545 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
10547 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
10552 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10557 eval "$wx_cv_use_postscript"
10559 if test x"$enablestring" = xdisable; then
10560 if test $wxUSE_POSTSCRIPT = no; then
10566 result=$wxUSE_POSTSCRIPT
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10570 $as_echo "$result" >&6; }
10574 defaultval=$wxUSE_ALL_FEATURES
10575 if test -z "$defaultval"; then
10576 if test x"$enablestring" = xdisable; then
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-printarch" >&5
10584 $as_echo_n "checking
for --${enablestring:-enable}-printarch...
" >&6; }
10585 # Check whether --enable-printarch was given.
10586 if test "${enable_printarch+set}" = set; then :
10587 enableval=$enable_printarch;
10588 if test "$enableval" = yes; then
10589 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10591 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10596 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10601 eval "$wx_cv_use_printarch"
10603 if test x
"$enablestring" = xdisable
; then
10604 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
10610 result
=$wxUSE_PRINTING_ARCHITECTURE
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10614 $as_echo "$result" >&6; }
10618 defaultval
=$wxUSE_ALL_FEATURES
10619 if test -z "$defaultval"; then
10620 if test x
"$enablestring" = xdisable
; then
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10628 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10629 # Check whether --enable-svg was given.
10630 if test "${enable_svg+set}" = set; then :
10631 enableval
=$enable_svg;
10632 if test "$enableval" = yes; then
10633 wx_cv_use_svg
='wxUSE_SVG=yes'
10635 wx_cv_use_svg
='wxUSE_SVG=no'
10640 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10645 eval "$wx_cv_use_svg"
10647 if test x"$enablestring" = xdisable; then
10648 if test $wxUSE_SVG = no; then
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10658 $as_echo "$result" >&6; }
10662 defaultval=$wxUSE_ALL_FEATURES
10663 if test -z "$defaultval"; then
10664 if test x"$enablestring" = xdisable; then
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10672 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10673 # Check whether --enable-webkit was given.
10674 if test "${enable_webkit+set}" = set; then :
10675 enableval=$enable_webkit;
10676 if test "$enableval" = yes; then
10677 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
10679 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
10684 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10689 eval "$wx_cv_use_webkit"
10691 if test x"$enablestring" = xdisable; then
10692 if test $wxUSE_WEBKIT = no; then
10698 result=$wxUSE_WEBKIT
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10702 $as_echo "$result" >&6; }
10706 defaultval=$wxUSE_ALL_FEATURES
10707 if test -z "$defaultval"; then
10708 if test x"$enablestring" = xdisable; then
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webview" >&5
10716 $as_echo_n "checking
for --${enablestring:-enable}-webview...
" >&6; }
10717 # Check whether --enable-webview was given.
10718 if test "${enable_webview+set}" = set; then :
10719 enableval=$enable_webview;
10720 if test "$enableval" = yes; then
10721 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10723 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10728 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10733 eval "$wx_cv_use_webview"
10735 if test x
"$enablestring" = xdisable
; then
10736 if test $wxUSE_WEBVIEW = no
; then
10742 result
=$wxUSE_WEBVIEW
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10746 $as_echo "$result" >&6; }
10749 if test "$wxUSE_MAC" != 1; then
10752 defaultval
=$wxUSE_ALL_FEATURES
10753 if test -z "$defaultval"; then
10754 if test x
"$enablestring" = xdisable
; then
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10762 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10763 # Check whether --enable-graphics_ctx was given.
10764 if test "${enable_graphics_ctx+set}" = set; then :
10765 enableval
=$enable_graphics_ctx;
10766 if test "$enableval" = yes; then
10767 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
10769 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
10774 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10779 eval "$wx_cv_use_graphics_ctx"
10781 if test x"$enablestring" = xdisable; then
10782 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10788 result=$wxUSE_GRAPHICS_CONTEXT
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10792 $as_echo "$result" >&6; }
10799 defaultval=$wxUSE_ALL_FEATURES
10800 if test -z "$defaultval"; then
10801 if test x"$enablestring" = xdisable; then
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10809 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10810 # Check whether --enable-clipboard was given.
10811 if test "${enable_clipboard+set}" = set; then :
10812 enableval=$enable_clipboard;
10813 if test "$enableval" = yes; then
10814 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
10816 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
10821 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10826 eval "$wx_cv_use_clipboard"
10828 if test x"$enablestring" = xdisable; then
10829 if test $wxUSE_CLIPBOARD = no; then
10835 result=$wxUSE_CLIPBOARD
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10839 $as_echo "$result" >&6; }
10843 defaultval=$wxUSE_ALL_FEATURES
10844 if test -z "$defaultval"; then
10845 if test x"$enablestring" = xdisable; then
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dnd" >&5
10853 $as_echo_n "checking
for --${enablestring:-enable}-dnd...
" >&6; }
10854 # Check whether --enable-dnd was given.
10855 if test "${enable_dnd+set}" = set; then :
10856 enableval=$enable_dnd;
10857 if test "$enableval" = yes; then
10858 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10860 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10865 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10870 eval "$wx_cv_use_dnd"
10872 if test x
"$enablestring" = xdisable
; then
10873 if test $wxUSE_DRAG_AND_DROP = no
; then
10879 result
=$wxUSE_DRAG_AND_DROP
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10883 $as_echo "$result" >&6; }
10887 DEFAULT_wxUSE_CONTROLS
=none
10889 enablestring
=disable
10891 if test -z "$defaultval"; then
10892 if test x
"$enablestring" = xdisable
; then
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10900 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10901 # Check whether --enable-controls was given.
10902 if test "${enable_controls+set}" = set; then :
10903 enableval
=$enable_controls;
10904 if test "$enableval" = yes; then
10905 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
10907 wx_cv_use_controls
='wxUSE_CONTROLS=no'
10912 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10917 eval "$wx_cv_use_controls"
10919 if test x"$enablestring" = xdisable; then
10920 if test $wxUSE_CONTROLS = no; then
10926 result=$wxUSE_CONTROLS
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10930 $as_echo "$result" >&6; }
10933 if test "$wxUSE_CONTROLS" = "no"; then
10934 DEFAULT_wxUSE_ACCEL=no
10935 DEFAULT_wxUSE_ANIMATIONCTRL=no
10936 DEFAULT_wxUSE_BANNERWINDOW=no
10937 DEFAULT_wxUSE_BMPBUTTON=no
10938 DEFAULT_wxUSE_BUTTON=no
10939 DEFAULT_wxUSE_CALCTRL=no
10940 DEFAULT_wxUSE_CARET=no
10941 DEFAULT_wxUSE_CHECKBOX=no
10942 DEFAULT_wxUSE_CHECKLISTBOX=no
10943 DEFAULT_wxUSE_CHOICE=no
10944 DEFAULT_wxUSE_CHOICEBOOK=no
10945 DEFAULT_wxUSE_COLLPANE=no
10946 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10947 DEFAULT_wxUSE_COMBOBOX=no
10948 DEFAULT_wxUSE_COMBOBOX=no
10949 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10950 DEFAULT_wxUSE_DATAVIEWCTRL=no
10951 DEFAULT_wxUSE_DATEPICKCTRL=no
10952 DEFAULT_wxUSE_DETECT_SM=no
10953 DEFAULT_wxUSE_DIRPICKERCTRL=no
10954 DEFAULT_wxUSE_DISPLAY=no
10955 DEFAULT_wxUSE_FILECTRL=no
10956 DEFAULT_wxUSE_FILEPICKERCTRL=no
10957 DEFAULT_wxUSE_FONTPICKERCTRL=no
10958 DEFAULT_wxUSE_GAUGE=no
10959 DEFAULT_wxUSE_GRID=no
10960 DEFAULT_wxUSE_HEADERCTRL=no
10961 DEFAULT_wxUSE_HYPERLINKCTRL=no
10962 DEFAULT_wxUSE_IMAGLIST=no
10963 DEFAULT_wxUSE_LISTBOOK=no
10964 DEFAULT_wxUSE_LISTBOX=no
10965 DEFAULT_wxUSE_LISTCTRL=no
10966 DEFAULT_wxUSE_MARKUP=no
10967 DEFAULT_wxUSE_NOTEBOOK=no
10968 DEFAULT_wxUSE_POPUPWIN=no
10969 DEFAULT_wxUSE_RADIOBOX=no
10970 DEFAULT_wxUSE_RADIOBTN=no
10971 DEFAULT_wxUSE_RICHMSGDLG=no
10972 DEFAULT_wxUSE_RICHTOOLTIP=no
10973 DEFAULT_wxUSE_REARRANGECTRL=no
10974 DEFAULT_wxUSE_SASH=no
10975 DEFAULT_wxUSE_SCROLLBAR=no
10976 DEFAULT_wxUSE_SEARCHCTRL=no
10977 DEFAULT_wxUSE_SLIDER=no
10978 DEFAULT_wxUSE_SPINBTN=no
10979 DEFAULT_wxUSE_SPINCTRL=no
10980 DEFAULT_wxUSE_SPLITTER=no
10981 DEFAULT_wxUSE_STATBMP=no
10982 DEFAULT_wxUSE_STATBOX=no
10983 DEFAULT_wxUSE_STATLINE=no
10984 DEFAULT_wxUSE_STATUSBAR=no
10985 DEFAULT_wxUSE_TIMEPICKCTRL=no
10986 DEFAULT_wxUSE_TIPWINDOW=no
10987 DEFAULT_wxUSE_TOGGLEBTN=no
10988 DEFAULT_wxUSE_TOOLBAR=no
10989 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10990 DEFAULT_wxUSE_TOOLBOOK=no
10991 DEFAULT_wxUSE_TOOLTIPS=no
10992 DEFAULT_wxUSE_TREEBOOK=no
10993 DEFAULT_wxUSE_TREECTRL=no
10994 DEFAULT_wxUSE_TREELISTCTRL=no
10999 defaultval=$wxUSE_ALL_FEATURES
11000 if test -z "$defaultval"; then
11001 if test x"$enablestring" = xdisable; then
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11009 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11010 # Check whether --enable-markup was given.
11011 if test "${enable_markup+set}" = set; then :
11012 enableval=$enable_markup;
11013 if test "$enableval" = yes; then
11014 wx_cv_use_markup='wxUSE_MARKUP
=yes'
11016 wx_cv_use_markup='wxUSE_MARKUP
=no
'
11021 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11026 eval "$wx_cv_use_markup"
11028 if test x"$enablestring" = xdisable; then
11029 if test $wxUSE_MARKUP = no; then
11035 result=$wxUSE_MARKUP
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11039 $as_echo "$result" >&6; }
11044 defaultval=$wxUSE_ALL_FEATURES
11045 if test -z "$defaultval"; then
11046 if test x"$enablestring" = xdisable; then
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-accel" >&5
11054 $as_echo_n "checking
for --${enablestring:-enable}-accel...
" >&6; }
11055 # Check whether --enable-accel was given.
11056 if test "${enable_accel+set}" = set; then :
11057 enableval=$enable_accel;
11058 if test "$enableval" = yes; then
11059 wx_cv_use_accel='wxUSE_ACCEL=yes'
11061 wx_cv_use_accel='wxUSE_ACCEL=no'
11066 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11071 eval "$wx_cv_use_accel"
11073 if test x
"$enablestring" = xdisable
; then
11074 if test $wxUSE_ACCEL = no
; then
11080 result
=$wxUSE_ACCEL
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11084 $as_echo "$result" >&6; }
11088 defaultval
=$wxUSE_ALL_FEATURES
11089 if test -z "$defaultval"; then
11090 if test x
"$enablestring" = xdisable
; then
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11098 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11099 # Check whether --enable-animatectrl was given.
11100 if test "${enable_animatectrl+set}" = set; then :
11101 enableval
=$enable_animatectrl;
11102 if test "$enableval" = yes; then
11103 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
11105 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
11110 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11115 eval "$wx_cv_use_animatectrl"
11117 if test x"$enablestring" = xdisable; then
11118 if test $wxUSE_ANIMATIONCTRL = no; then
11124 result=$wxUSE_ANIMATIONCTRL
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11128 $as_echo "$result" >&6; }
11132 defaultval=$wxUSE_ALL_FEATURES
11133 if test -z "$defaultval"; then
11134 if test x"$enablestring" = xdisable; then
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11142 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11143 # Check whether --enable-bannerwindow was given.
11144 if test "${enable_bannerwindow+set}" = set; then :
11145 enableval=$enable_bannerwindow;
11146 if test "$enableval" = yes; then
11147 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=yes'
11149 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=no
'
11154 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11159 eval "$wx_cv_use_bannerwindow"
11161 if test x"$enablestring" = xdisable; then
11162 if test $wxUSE_BANNERWINDOW = no; then
11168 result=$wxUSE_BANNERWINDOW
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11172 $as_echo "$result" >&6; }
11176 defaultval=$wxUSE_ALL_FEATURES
11177 if test -z "$defaultval"; then
11178 if test x"$enablestring" = xdisable; then
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-artstd" >&5
11186 $as_echo_n "checking
for --${enablestring:-enable}-artstd...
" >&6; }
11187 # Check whether --enable-artstd was given.
11188 if test "${enable_artstd+set}" = set; then :
11189 enableval=$enable_artstd;
11190 if test "$enableval" = yes; then
11191 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11193 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11198 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11203 eval "$wx_cv_use_artstd"
11205 if test x
"$enablestring" = xdisable
; then
11206 if test $wxUSE_ARTPROVIDER_STD = no
; then
11212 result
=$wxUSE_ARTPROVIDER_STD
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11216 $as_echo "$result" >&6; }
11220 defaultval
=$wxUSE_ALL_FEATURES
11221 if test -z "$defaultval"; then
11222 if test x
"$enablestring" = xdisable
; then
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11230 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11231 # Check whether --enable-arttango was given.
11232 if test "${enable_arttango+set}" = set; then :
11233 enableval
=$enable_arttango;
11234 if test "$enableval" = yes; then
11235 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
11237 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
11242 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11247 eval "$wx_cv_use_arttango"
11249 if test x"$enablestring" = xdisable; then
11250 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11256 result=$wxUSE_ARTPROVIDER_TANGO
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11260 $as_echo "$result" >&6; }
11264 defaultval=$wxUSE_ALL_FEATURES
11265 if test -z "$defaultval"; then
11266 if test x"$enablestring" = xdisable; then
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11274 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11275 # Check whether --enable-bmpbutton was given.
11276 if test "${enable_bmpbutton+set}" = set; then :
11277 enableval=$enable_bmpbutton;
11278 if test "$enableval" = yes; then
11279 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
11281 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
11286 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11291 eval "$wx_cv_use_bmpbutton"
11293 if test x"$enablestring" = xdisable; then
11294 if test $wxUSE_BMPBUTTON = no; then
11300 result=$wxUSE_BMPBUTTON
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11304 $as_echo "$result" >&6; }
11308 defaultval=$wxUSE_ALL_FEATURES
11309 if test -z "$defaultval"; then
11310 if test x"$enablestring" = xdisable; then
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bmpcombobox" >&5
11318 $as_echo_n "checking
for --${enablestring:-enable}-bmpcombobox...
" >&6; }
11319 # Check whether --enable-bmpcombobox was given.
11320 if test "${enable_bmpcombobox+set}" = set; then :
11321 enableval=$enable_bmpcombobox;
11322 if test "$enableval" = yes; then
11323 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11325 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11330 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11335 eval "$wx_cv_use_bmpcombobox"
11337 if test x
"$enablestring" = xdisable
; then
11338 if test $wxUSE_BITMAPCOMBOBOX = no
; then
11344 result
=$wxUSE_BITMAPCOMBOBOX
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11348 $as_echo "$result" >&6; }
11352 defaultval
=$wxUSE_ALL_FEATURES
11353 if test -z "$defaultval"; then
11354 if test x
"$enablestring" = xdisable
; then
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11362 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11363 # Check whether --enable-button was given.
11364 if test "${enable_button+set}" = set; then :
11365 enableval
=$enable_button;
11366 if test "$enableval" = yes; then
11367 wx_cv_use_button
='wxUSE_BUTTON=yes'
11369 wx_cv_use_button
='wxUSE_BUTTON=no'
11374 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11379 eval "$wx_cv_use_button"
11381 if test x"$enablestring" = xdisable; then
11382 if test $wxUSE_BUTTON = no; then
11388 result=$wxUSE_BUTTON
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11392 $as_echo "$result" >&6; }
11396 defaultval=$wxUSE_ALL_FEATURES
11397 if test -z "$defaultval"; then
11398 if test x"$enablestring" = xdisable; then
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11406 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11407 # Check whether --enable-calendar was given.
11408 if test "${enable_calendar+set}" = set; then :
11409 enableval=$enable_calendar;
11410 if test "$enableval" = yes; then
11411 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
11413 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
11418 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11423 eval "$wx_cv_use_calendar"
11425 if test x"$enablestring" = xdisable; then
11426 if test $wxUSE_CALCTRL = no; then
11432 result=$wxUSE_CALCTRL
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11436 $as_echo "$result" >&6; }
11440 defaultval=$wxUSE_ALL_FEATURES
11441 if test -z "$defaultval"; then
11442 if test x"$enablestring" = xdisable; then
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-caret" >&5
11450 $as_echo_n "checking
for --${enablestring:-enable}-caret...
" >&6; }
11451 # Check whether --enable-caret was given.
11452 if test "${enable_caret+set}" = set; then :
11453 enableval=$enable_caret;
11454 if test "$enableval" = yes; then
11455 wx_cv_use_caret='wxUSE_CARET=yes'
11457 wx_cv_use_caret='wxUSE_CARET=no'
11462 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11467 eval "$wx_cv_use_caret"
11469 if test x
"$enablestring" = xdisable
; then
11470 if test $wxUSE_CARET = no
; then
11476 result
=$wxUSE_CARET
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11480 $as_echo "$result" >&6; }
11484 defaultval
=$wxUSE_ALL_FEATURES
11485 if test -z "$defaultval"; then
11486 if test x
"$enablestring" = xdisable
; then
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11494 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11495 # Check whether --enable-checkbox was given.
11496 if test "${enable_checkbox+set}" = set; then :
11497 enableval
=$enable_checkbox;
11498 if test "$enableval" = yes; then
11499 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
11501 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
11506 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11511 eval "$wx_cv_use_checkbox"
11513 if test x"$enablestring" = xdisable; then
11514 if test $wxUSE_CHECKBOX = no; then
11520 result=$wxUSE_CHECKBOX
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11524 $as_echo "$result" >&6; }
11528 defaultval=$wxUSE_ALL_FEATURES
11529 if test -z "$defaultval"; then
11530 if test x"$enablestring" = xdisable; then
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11538 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11539 # Check whether --enable-checklst was given.
11540 if test "${enable_checklst+set}" = set; then :
11541 enableval=$enable_checklst;
11542 if test "$enableval" = yes; then
11543 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
11545 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
11550 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11555 eval "$wx_cv_use_checklst"
11557 if test x"$enablestring" = xdisable; then
11558 if test $wxUSE_CHECKLST = no; then
11564 result=$wxUSE_CHECKLST
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11568 $as_echo "$result" >&6; }
11572 defaultval=$wxUSE_ALL_FEATURES
11573 if test -z "$defaultval"; then
11574 if test x"$enablestring" = xdisable; then
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-choice" >&5
11582 $as_echo_n "checking
for --${enablestring:-enable}-choice...
" >&6; }
11583 # Check whether --enable-choice was given.
11584 if test "${enable_choice+set}" = set; then :
11585 enableval=$enable_choice;
11586 if test "$enableval" = yes; then
11587 wx_cv_use_choice='wxUSE_CHOICE=yes'
11589 wx_cv_use_choice='wxUSE_CHOICE=no'
11594 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11599 eval "$wx_cv_use_choice"
11601 if test x
"$enablestring" = xdisable
; then
11602 if test $wxUSE_CHOICE = no
; then
11608 result
=$wxUSE_CHOICE
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11612 $as_echo "$result" >&6; }
11616 defaultval
=$wxUSE_ALL_FEATURES
11617 if test -z "$defaultval"; then
11618 if test x
"$enablestring" = xdisable
; then
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11626 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11627 # Check whether --enable-choicebook was given.
11628 if test "${enable_choicebook+set}" = set; then :
11629 enableval
=$enable_choicebook;
11630 if test "$enableval" = yes; then
11631 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
11633 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
11638 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11643 eval "$wx_cv_use_choicebook"
11645 if test x"$enablestring" = xdisable; then
11646 if test $wxUSE_CHOICEBOOK = no; then
11652 result=$wxUSE_CHOICEBOOK
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11656 $as_echo "$result" >&6; }
11660 defaultval=$wxUSE_ALL_FEATURES
11661 if test -z "$defaultval"; then
11662 if test x"$enablestring" = xdisable; then
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11670 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11671 # Check whether --enable-collpane was given.
11672 if test "${enable_collpane+set}" = set; then :
11673 enableval=$enable_collpane;
11674 if test "$enableval" = yes; then
11675 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
11677 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
11682 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11687 eval "$wx_cv_use_collpane"
11689 if test x"$enablestring" = xdisable; then
11690 if test $wxUSE_COLLPANE = no; then
11696 result=$wxUSE_COLLPANE
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11700 $as_echo "$result" >&6; }
11704 defaultval=$wxUSE_ALL_FEATURES
11705 if test -z "$defaultval"; then
11706 if test x"$enablestring" = xdisable; then
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-colourpicker" >&5
11714 $as_echo_n "checking
for --${enablestring:-enable}-colourpicker...
" >&6; }
11715 # Check whether --enable-colourpicker was given.
11716 if test "${enable_colourpicker+set}" = set; then :
11717 enableval=$enable_colourpicker;
11718 if test "$enableval" = yes; then
11719 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11721 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11726 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11731 eval "$wx_cv_use_colourpicker"
11733 if test x
"$enablestring" = xdisable
; then
11734 if test $wxUSE_COLOURPICKERCTRL = no
; then
11740 result
=$wxUSE_COLOURPICKERCTRL
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11744 $as_echo "$result" >&6; }
11748 defaultval
=$wxUSE_ALL_FEATURES
11749 if test -z "$defaultval"; then
11750 if test x
"$enablestring" = xdisable
; then
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11758 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11759 # Check whether --enable-combobox was given.
11760 if test "${enable_combobox+set}" = set; then :
11761 enableval
=$enable_combobox;
11762 if test "$enableval" = yes; then
11763 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
11765 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
11770 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11775 eval "$wx_cv_use_combobox"
11777 if test x"$enablestring" = xdisable; then
11778 if test $wxUSE_COMBOBOX = no; then
11784 result=$wxUSE_COMBOBOX
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11788 $as_echo "$result" >&6; }
11792 defaultval=$wxUSE_ALL_FEATURES
11793 if test -z "$defaultval"; then
11794 if test x"$enablestring" = xdisable; then
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11802 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11803 # Check whether --enable-comboctrl was given.
11804 if test "${enable_comboctrl+set}" = set; then :
11805 enableval=$enable_comboctrl;
11806 if test "$enableval" = yes; then
11807 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
11809 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
11814 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11819 eval "$wx_cv_use_comboctrl"
11821 if test x"$enablestring" = xdisable; then
11822 if test $wxUSE_COMBOCTRL = no; then
11828 result=$wxUSE_COMBOCTRL
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11832 $as_echo "$result" >&6; }
11836 defaultval=$wxUSE_ALL_FEATURES
11837 if test -z "$defaultval"; then
11838 if test x"$enablestring" = xdisable; then
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
11846 $as_echo_n "checking
for --${enablestring:-enable}-commandlinkbutton...
" >&6; }
11847 # Check whether --enable-commandlinkbutton was given.
11848 if test "${enable_commandlinkbutton+set}" = set; then :
11849 enableval=$enable_commandlinkbutton;
11850 if test "$enableval" = yes; then
11851 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11853 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11858 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11863 eval "$wx_cv_use_commandlinkbutton"
11865 if test x
"$enablestring" = xdisable
; then
11866 if test $wxUSE_COMMANDLINKBUTTON = no
; then
11872 result
=$wxUSE_COMMANDLINKBUTTON
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11876 $as_echo "$result" >&6; }
11880 defaultval
=$wxUSE_ALL_FEATURES
11881 if test -z "$defaultval"; then
11882 if test x
"$enablestring" = xdisable
; then
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11890 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11891 # Check whether --enable-dataviewctrl was given.
11892 if test "${enable_dataviewctrl+set}" = set; then :
11893 enableval
=$enable_dataviewctrl;
11894 if test "$enableval" = yes; then
11895 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
11897 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
11902 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11907 eval "$wx_cv_use_dataviewctrl"
11909 if test x"$enablestring" = xdisable; then
11910 if test $wxUSE_DATAVIEWCTRL = no; then
11916 result=$wxUSE_DATAVIEWCTRL
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11920 $as_echo "$result" >&6; }
11924 defaultval=$wxUSE_ALL_FEATURES
11925 if test -z "$defaultval"; then
11926 if test x"$enablestring" = xdisable; then
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11934 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11935 # Check whether --enable-datepick was given.
11936 if test "${enable_datepick+set}" = set; then :
11937 enableval=$enable_datepick;
11938 if test "$enableval" = yes; then
11939 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
11941 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
11946 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11951 eval "$wx_cv_use_datepick"
11953 if test x"$enablestring" = xdisable; then
11954 if test $wxUSE_DATEPICKCTRL = no; then
11960 result=$wxUSE_DATEPICKCTRL
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11964 $as_echo "$result" >&6; }
11968 defaultval=$wxUSE_ALL_FEATURES
11969 if test -z "$defaultval"; then
11970 if test x"$enablestring" = xdisable; then
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-detect_sm" >&5
11978 $as_echo_n "checking
for --${enablestring:-enable}-detect_sm...
" >&6; }
11979 # Check whether --enable-detect_sm was given.
11980 if test "${enable_detect_sm+set}" = set; then :
11981 enableval=$enable_detect_sm;
11982 if test "$enableval" = yes; then
11983 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11985 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11990 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11995 eval "$wx_cv_use_detect_sm"
11997 if test x
"$enablestring" = xdisable
; then
11998 if test $wxUSE_DETECT_SM = no
; then
12004 result
=$wxUSE_DETECT_SM
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12008 $as_echo "$result" >&6; }
12012 defaultval
=$wxUSE_ALL_FEATURES
12013 if test -z "$defaultval"; then
12014 if test x
"$enablestring" = xdisable
; then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12022 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12023 # Check whether --enable-dirpicker was given.
12024 if test "${enable_dirpicker+set}" = set; then :
12025 enableval
=$enable_dirpicker;
12026 if test "$enableval" = yes; then
12027 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
12029 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
12034 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12039 eval "$wx_cv_use_dirpicker"
12041 if test x"$enablestring" = xdisable; then
12042 if test $wxUSE_DIRPICKERCTRL = no; then
12048 result=$wxUSE_DIRPICKERCTRL
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12052 $as_echo "$result" >&6; }
12056 defaultval=$wxUSE_ALL_FEATURES
12057 if test -z "$defaultval"; then
12058 if test x"$enablestring" = xdisable; then
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12066 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12067 # Check whether --enable-display was given.
12068 if test "${enable_display+set}" = set; then :
12069 enableval=$enable_display;
12070 if test "$enableval" = yes; then
12071 wx_cv_use_display='wxUSE_DISPLAY
=yes'
12073 wx_cv_use_display='wxUSE_DISPLAY
=no
'
12078 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12083 eval "$wx_cv_use_display"
12085 if test x"$enablestring" = xdisable; then
12086 if test $wxUSE_DISPLAY = no; then
12092 result=$wxUSE_DISPLAY
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12096 $as_echo "$result" >&6; }
12100 defaultval=$wxUSE_ALL_FEATURES
12101 if test -z "$defaultval"; then
12102 if test x"$enablestring" = xdisable; then
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-editablebox" >&5
12110 $as_echo_n "checking
for --${enablestring:-enable}-editablebox...
" >&6; }
12111 # Check whether --enable-editablebox was given.
12112 if test "${enable_editablebox+set}" = set; then :
12113 enableval=$enable_editablebox;
12114 if test "$enableval" = yes; then
12115 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12117 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12122 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12127 eval "$wx_cv_use_editablebox"
12129 if test x
"$enablestring" = xdisable
; then
12130 if test $wxUSE_EDITABLELISTBOX = no
; then
12136 result
=$wxUSE_EDITABLELISTBOX
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12140 $as_echo "$result" >&6; }
12144 defaultval
=$wxUSE_ALL_FEATURES
12145 if test -z "$defaultval"; then
12146 if test x
"$enablestring" = xdisable
; then
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12154 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12155 # Check whether --enable-filectrl was given.
12156 if test "${enable_filectrl+set}" = set; then :
12157 enableval
=$enable_filectrl;
12158 if test "$enableval" = yes; then
12159 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
12161 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
12166 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12171 eval "$wx_cv_use_filectrl"
12173 if test x"$enablestring" = xdisable; then
12174 if test $wxUSE_FILECTRL = no; then
12180 result=$wxUSE_FILECTRL
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12184 $as_echo "$result" >&6; }
12188 defaultval=$wxUSE_ALL_FEATURES
12189 if test -z "$defaultval"; then
12190 if test x"$enablestring" = xdisable; then
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12198 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12199 # Check whether --enable-filepicker was given.
12200 if test "${enable_filepicker+set}" = set; then :
12201 enableval=$enable_filepicker;
12202 if test "$enableval" = yes; then
12203 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
12205 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
12210 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12215 eval "$wx_cv_use_filepicker"
12217 if test x"$enablestring" = xdisable; then
12218 if test $wxUSE_FILEPICKERCTRL = no; then
12224 result=$wxUSE_FILEPICKERCTRL
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12228 $as_echo "$result" >&6; }
12232 defaultval=$wxUSE_ALL_FEATURES
12233 if test -z "$defaultval"; then
12234 if test x"$enablestring" = xdisable; then
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontpicker" >&5
12242 $as_echo_n "checking
for --${enablestring:-enable}-fontpicker...
" >&6; }
12243 # Check whether --enable-fontpicker was given.
12244 if test "${enable_fontpicker+set}" = set; then :
12245 enableval=$enable_fontpicker;
12246 if test "$enableval" = yes; then
12247 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12249 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12254 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12259 eval "$wx_cv_use_fontpicker"
12261 if test x
"$enablestring" = xdisable
; then
12262 if test $wxUSE_FONTPICKERCTRL = no
; then
12268 result
=$wxUSE_FONTPICKERCTRL
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12272 $as_echo "$result" >&6; }
12276 defaultval
=$wxUSE_ALL_FEATURES
12277 if test -z "$defaultval"; then
12278 if test x
"$enablestring" = xdisable
; then
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12286 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12287 # Check whether --enable-gauge was given.
12288 if test "${enable_gauge+set}" = set; then :
12289 enableval
=$enable_gauge;
12290 if test "$enableval" = yes; then
12291 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
12293 wx_cv_use_gauge
='wxUSE_GAUGE=no'
12298 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12303 eval "$wx_cv_use_gauge"
12305 if test x"$enablestring" = xdisable; then
12306 if test $wxUSE_GAUGE = no; then
12312 result=$wxUSE_GAUGE
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12316 $as_echo "$result" >&6; }
12320 defaultval=$wxUSE_ALL_FEATURES
12321 if test -z "$defaultval"; then
12322 if test x"$enablestring" = xdisable; then
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12330 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12331 # Check whether --enable-grid was given.
12332 if test "${enable_grid+set}" = set; then :
12333 enableval=$enable_grid;
12334 if test "$enableval" = yes; then
12335 wx_cv_use_grid='wxUSE_GRID
=yes'
12337 wx_cv_use_grid='wxUSE_GRID
=no
'
12342 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12347 eval "$wx_cv_use_grid"
12349 if test x"$enablestring" = xdisable; then
12350 if test $wxUSE_GRID = no; then
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12360 $as_echo "$result" >&6; }
12364 defaultval=$wxUSE_ALL_FEATURES
12365 if test -z "$defaultval"; then
12366 if test x"$enablestring" = xdisable; then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-headerctrl" >&5
12374 $as_echo_n "checking
for --${enablestring:-enable}-headerctrl...
" >&6; }
12375 # Check whether --enable-headerctrl was given.
12376 if test "${enable_headerctrl+set}" = set; then :
12377 enableval=$enable_headerctrl;
12378 if test "$enableval" = yes; then
12379 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12381 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12386 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12391 eval "$wx_cv_use_headerctrl"
12393 if test x
"$enablestring" = xdisable
; then
12394 if test $wxUSE_HEADERCTRL = no
; then
12400 result
=$wxUSE_HEADERCTRL
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12404 $as_echo "$result" >&6; }
12408 defaultval
=$wxUSE_ALL_FEATURES
12409 if test -z "$defaultval"; then
12410 if test x
"$enablestring" = xdisable
; then
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12418 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12419 # Check whether --enable-hyperlink was given.
12420 if test "${enable_hyperlink+set}" = set; then :
12421 enableval
=$enable_hyperlink;
12422 if test "$enableval" = yes; then
12423 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
12425 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
12430 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12435 eval "$wx_cv_use_hyperlink"
12437 if test x"$enablestring" = xdisable; then
12438 if test $wxUSE_HYPERLINKCTRL = no; then
12444 result=$wxUSE_HYPERLINKCTRL
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12448 $as_echo "$result" >&6; }
12452 defaultval=$wxUSE_ALL_FEATURES
12453 if test -z "$defaultval"; then
12454 if test x"$enablestring" = xdisable; then
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12462 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12463 # Check whether --enable-imaglist was given.
12464 if test "${enable_imaglist+set}" = set; then :
12465 enableval=$enable_imaglist;
12466 if test "$enableval" = yes; then
12467 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
12469 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
12474 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12479 eval "$wx_cv_use_imaglist"
12481 if test x"$enablestring" = xdisable; then
12482 if test $wxUSE_IMAGLIST = no; then
12488 result=$wxUSE_IMAGLIST
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12492 $as_echo "$result" >&6; }
12496 defaultval=$wxUSE_ALL_FEATURES
12497 if test -z "$defaultval"; then
12498 if test x"$enablestring" = xdisable; then
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-infobar" >&5
12506 $as_echo_n "checking
for --${enablestring:-enable}-infobar...
" >&6; }
12507 # Check whether --enable-infobar was given.
12508 if test "${enable_infobar+set}" = set; then :
12509 enableval=$enable_infobar;
12510 if test "$enableval" = yes; then
12511 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12513 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12518 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12523 eval "$wx_cv_use_infobar"
12525 if test x
"$enablestring" = xdisable
; then
12526 if test $wxUSE_INFOBAR = no
; then
12532 result
=$wxUSE_INFOBAR
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12536 $as_echo "$result" >&6; }
12540 defaultval
=$wxUSE_ALL_FEATURES
12541 if test -z "$defaultval"; then
12542 if test x
"$enablestring" = xdisable
; then
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12550 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12551 # Check whether --enable-listbook was given.
12552 if test "${enable_listbook+set}" = set; then :
12553 enableval
=$enable_listbook;
12554 if test "$enableval" = yes; then
12555 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
12557 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
12562 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12567 eval "$wx_cv_use_listbook"
12569 if test x"$enablestring" = xdisable; then
12570 if test $wxUSE_LISTBOOK = no; then
12576 result=$wxUSE_LISTBOOK
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12580 $as_echo "$result" >&6; }
12584 defaultval=$wxUSE_ALL_FEATURES
12585 if test -z "$defaultval"; then
12586 if test x"$enablestring" = xdisable; then
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12594 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12595 # Check whether --enable-listbox was given.
12596 if test "${enable_listbox+set}" = set; then :
12597 enableval=$enable_listbox;
12598 if test "$enableval" = yes; then
12599 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
12601 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
12606 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12611 eval "$wx_cv_use_listbox"
12613 if test x"$enablestring" = xdisable; then
12614 if test $wxUSE_LISTBOX = no; then
12620 result=$wxUSE_LISTBOX
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12624 $as_echo "$result" >&6; }
12628 defaultval=$wxUSE_ALL_FEATURES
12629 if test -z "$defaultval"; then
12630 if test x"$enablestring" = xdisable; then
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listctrl" >&5
12638 $as_echo_n "checking
for --${enablestring:-enable}-listctrl...
" >&6; }
12639 # Check whether --enable-listctrl was given.
12640 if test "${enable_listctrl+set}" = set; then :
12641 enableval=$enable_listctrl;
12642 if test "$enableval" = yes; then
12643 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12645 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12650 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12655 eval "$wx_cv_use_listctrl"
12657 if test x
"$enablestring" = xdisable
; then
12658 if test $wxUSE_LISTCTRL = no
; then
12664 result
=$wxUSE_LISTCTRL
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12668 $as_echo "$result" >&6; }
12672 defaultval
=$wxUSE_ALL_FEATURES
12673 if test -z "$defaultval"; then
12674 if test x
"$enablestring" = xdisable
; then
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12682 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12683 # Check whether --enable-notebook was given.
12684 if test "${enable_notebook+set}" = set; then :
12685 enableval
=$enable_notebook;
12686 if test "$enableval" = yes; then
12687 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
12689 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
12694 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12699 eval "$wx_cv_use_notebook"
12701 if test x"$enablestring" = xdisable; then
12702 if test $wxUSE_NOTEBOOK = no; then
12708 result=$wxUSE_NOTEBOOK
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12712 $as_echo "$result" >&6; }
12716 defaultval=$wxUSE_ALL_FEATURES
12717 if test -z "$defaultval"; then
12718 if test x"$enablestring" = xdisable; then
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12726 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12727 # Check whether --enable-notifmsg was given.
12728 if test "${enable_notifmsg+set}" = set; then :
12729 enableval=$enable_notifmsg;
12730 if test "$enableval" = yes; then
12731 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
12733 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
12738 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12743 eval "$wx_cv_use_notifmsg"
12745 if test x"$enablestring" = xdisable; then
12746 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12752 result=$wxUSE_NOTIFICATION_MESSAGE
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12756 $as_echo "$result" >&6; }
12760 defaultval=$wxUSE_ALL_FEATURES
12761 if test -z "$defaultval"; then
12762 if test x"$enablestring" = xdisable; then
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-odcombobox" >&5
12770 $as_echo_n "checking
for --${enablestring:-enable}-odcombobox...
" >&6; }
12771 # Check whether --enable-odcombobox was given.
12772 if test "${enable_odcombobox+set}" = set; then :
12773 enableval=$enable_odcombobox;
12774 if test "$enableval" = yes; then
12775 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12777 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12782 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12787 eval "$wx_cv_use_odcombobox"
12789 if test x
"$enablestring" = xdisable
; then
12790 if test $wxUSE_ODCOMBOBOX = no
; then
12796 result
=$wxUSE_ODCOMBOBOX
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12800 $as_echo "$result" >&6; }
12804 defaultval
=$wxUSE_ALL_FEATURES
12805 if test -z "$defaultval"; then
12806 if test x
"$enablestring" = xdisable
; then
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12814 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12815 # Check whether --enable-popupwin was given.
12816 if test "${enable_popupwin+set}" = set; then :
12817 enableval
=$enable_popupwin;
12818 if test "$enableval" = yes; then
12819 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
12821 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
12826 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12831 eval "$wx_cv_use_popupwin"
12833 if test x"$enablestring" = xdisable; then
12834 if test $wxUSE_POPUPWIN = no; then
12840 result=$wxUSE_POPUPWIN
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12844 $as_echo "$result" >&6; }
12848 defaultval=$wxUSE_ALL_FEATURES
12849 if test -z "$defaultval"; then
12850 if test x"$enablestring" = xdisable; then
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12858 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12859 # Check whether --enable-radiobox was given.
12860 if test "${enable_radiobox+set}" = set; then :
12861 enableval=$enable_radiobox;
12862 if test "$enableval" = yes; then
12863 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
12865 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
12870 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12875 eval "$wx_cv_use_radiobox"
12877 if test x"$enablestring" = xdisable; then
12878 if test $wxUSE_RADIOBOX = no; then
12884 result=$wxUSE_RADIOBOX
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12888 $as_echo "$result" >&6; }
12892 defaultval=$wxUSE_ALL_FEATURES
12893 if test -z "$defaultval"; then
12894 if test x"$enablestring" = xdisable; then
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-radiobtn" >&5
12902 $as_echo_n "checking
for --${enablestring:-enable}-radiobtn...
" >&6; }
12903 # Check whether --enable-radiobtn was given.
12904 if test "${enable_radiobtn+set}" = set; then :
12905 enableval=$enable_radiobtn;
12906 if test "$enableval" = yes; then
12907 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12909 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12914 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12919 eval "$wx_cv_use_radiobtn"
12921 if test x
"$enablestring" = xdisable
; then
12922 if test $wxUSE_RADIOBTN = no
; then
12928 result
=$wxUSE_RADIOBTN
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12932 $as_echo "$result" >&6; }
12936 defaultval
=$wxUSE_ALL_FEATURES
12937 if test -z "$defaultval"; then
12938 if test x
"$enablestring" = xdisable
; then
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12946 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12947 # Check whether --enable-richmsgdlg was given.
12948 if test "${enable_richmsgdlg+set}" = set; then :
12949 enableval
=$enable_richmsgdlg;
12950 if test "$enableval" = yes; then
12951 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
12953 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
12958 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12963 eval "$wx_cv_use_richmsgdlg"
12965 if test x"$enablestring" = xdisable; then
12966 if test $wxUSE_RICHMSGDLG = no; then
12972 result=$wxUSE_RICHMSGDLG
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12976 $as_echo "$result" >&6; }
12980 defaultval=$wxUSE_ALL_FEATURES
12981 if test -z "$defaultval"; then
12982 if test x"$enablestring" = xdisable; then
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
12990 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
12991 # Check whether --enable-richtooltip was given.
12992 if test "${enable_richtooltip+set}" = set; then :
12993 enableval=$enable_richtooltip;
12994 if test "$enableval" = yes; then
12995 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=yes'
12997 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=no
'
13002 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13007 eval "$wx_cv_use_richtooltip"
13009 if test x"$enablestring" = xdisable; then
13010 if test $wxUSE_RICHTOOLTIP = no; then
13016 result=$wxUSE_RICHTOOLTIP
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13020 $as_echo "$result" >&6; }
13024 defaultval=$wxUSE_ALL_FEATURES
13025 if test -z "$defaultval"; then
13026 if test x"$enablestring" = xdisable; then
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rearrangectrl" >&5
13034 $as_echo_n "checking
for --${enablestring:-enable}-rearrangectrl...
" >&6; }
13035 # Check whether --enable-rearrangectrl was given.
13036 if test "${enable_rearrangectrl+set}" = set; then :
13037 enableval=$enable_rearrangectrl;
13038 if test "$enableval" = yes; then
13039 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13041 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13046 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13051 eval "$wx_cv_use_rearrangectrl"
13053 if test x
"$enablestring" = xdisable
; then
13054 if test $wxUSE_REARRANGECTRL = no
; then
13060 result
=$wxUSE_REARRANGECTRL
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13064 $as_echo "$result" >&6; }
13068 defaultval
=$wxUSE_ALL_FEATURES
13069 if test -z "$defaultval"; then
13070 if test x
"$enablestring" = xdisable
; then
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13078 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13079 # Check whether --enable-sash was given.
13080 if test "${enable_sash+set}" = set; then :
13081 enableval
=$enable_sash;
13082 if test "$enableval" = yes; then
13083 wx_cv_use_sash
='wxUSE_SASH=yes'
13085 wx_cv_use_sash
='wxUSE_SASH=no'
13090 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13095 eval "$wx_cv_use_sash"
13097 if test x"$enablestring" = xdisable; then
13098 if test $wxUSE_SASH = no; then
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13108 $as_echo "$result" >&6; }
13112 defaultval=$wxUSE_ALL_FEATURES
13113 if test -z "$defaultval"; then
13114 if test x"$enablestring" = xdisable; then
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13122 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13123 # Check whether --enable-scrollbar was given.
13124 if test "${enable_scrollbar+set}" = set; then :
13125 enableval=$enable_scrollbar;
13126 if test "$enableval" = yes; then
13127 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
13129 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
13134 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13139 eval "$wx_cv_use_scrollbar"
13141 if test x"$enablestring" = xdisable; then
13142 if test $wxUSE_SCROLLBAR = no; then
13148 result=$wxUSE_SCROLLBAR
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13152 $as_echo "$result" >&6; }
13156 defaultval=$wxUSE_ALL_FEATURES
13157 if test -z "$defaultval"; then
13158 if test x"$enablestring" = xdisable; then
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-searchctrl" >&5
13166 $as_echo_n "checking
for --${enablestring:-enable}-searchctrl...
" >&6; }
13167 # Check whether --enable-searchctrl was given.
13168 if test "${enable_searchctrl+set}" = set; then :
13169 enableval=$enable_searchctrl;
13170 if test "$enableval" = yes; then
13171 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13173 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13178 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13183 eval "$wx_cv_use_searchctrl"
13185 if test x
"$enablestring" = xdisable
; then
13186 if test $wxUSE_SEARCHCTRL = no
; then
13192 result
=$wxUSE_SEARCHCTRL
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13196 $as_echo "$result" >&6; }
13200 defaultval
=$wxUSE_ALL_FEATURES
13201 if test -z "$defaultval"; then
13202 if test x
"$enablestring" = xdisable
; then
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13210 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13211 # Check whether --enable-slider was given.
13212 if test "${enable_slider+set}" = set; then :
13213 enableval
=$enable_slider;
13214 if test "$enableval" = yes; then
13215 wx_cv_use_slider
='wxUSE_SLIDER=yes'
13217 wx_cv_use_slider
='wxUSE_SLIDER=no'
13222 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13227 eval "$wx_cv_use_slider"
13229 if test x"$enablestring" = xdisable; then
13230 if test $wxUSE_SLIDER = no; then
13236 result=$wxUSE_SLIDER
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13240 $as_echo "$result" >&6; }
13244 defaultval=$wxUSE_ALL_FEATURES
13245 if test -z "$defaultval"; then
13246 if test x"$enablestring" = xdisable; then
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13254 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13255 # Check whether --enable-spinbtn was given.
13256 if test "${enable_spinbtn+set}" = set; then :
13257 enableval=$enable_spinbtn;
13258 if test "$enableval" = yes; then
13259 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
13261 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
13266 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13271 eval "$wx_cv_use_spinbtn"
13273 if test x"$enablestring" = xdisable; then
13274 if test $wxUSE_SPINBTN = no; then
13280 result=$wxUSE_SPINBTN
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13284 $as_echo "$result" >&6; }
13288 defaultval=$wxUSE_ALL_FEATURES
13289 if test -z "$defaultval"; then
13290 if test x"$enablestring" = xdisable; then
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-spinctrl" >&5
13298 $as_echo_n "checking
for --${enablestring:-enable}-spinctrl...
" >&6; }
13299 # Check whether --enable-spinctrl was given.
13300 if test "${enable_spinctrl+set}" = set; then :
13301 enableval=$enable_spinctrl;
13302 if test "$enableval" = yes; then
13303 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13305 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13310 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13315 eval "$wx_cv_use_spinctrl"
13317 if test x
"$enablestring" = xdisable
; then
13318 if test $wxUSE_SPINCTRL = no
; then
13324 result
=$wxUSE_SPINCTRL
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13328 $as_echo "$result" >&6; }
13332 defaultval
=$wxUSE_ALL_FEATURES
13333 if test -z "$defaultval"; then
13334 if test x
"$enablestring" = xdisable
; then
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13342 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13343 # Check whether --enable-splitter was given.
13344 if test "${enable_splitter+set}" = set; then :
13345 enableval
=$enable_splitter;
13346 if test "$enableval" = yes; then
13347 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
13349 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
13354 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13359 eval "$wx_cv_use_splitter"
13361 if test x"$enablestring" = xdisable; then
13362 if test $wxUSE_SPLITTER = no; then
13368 result=$wxUSE_SPLITTER
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13372 $as_echo "$result" >&6; }
13376 defaultval=$wxUSE_ALL_FEATURES
13377 if test -z "$defaultval"; then
13378 if test x"$enablestring" = xdisable; then
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13386 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13387 # Check whether --enable-statbmp was given.
13388 if test "${enable_statbmp+set}" = set; then :
13389 enableval=$enable_statbmp;
13390 if test "$enableval" = yes; then
13391 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
13393 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
13398 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13403 eval "$wx_cv_use_statbmp"
13405 if test x"$enablestring" = xdisable; then
13406 if test $wxUSE_STATBMP = no; then
13412 result=$wxUSE_STATBMP
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13416 $as_echo "$result" >&6; }
13420 defaultval=$wxUSE_ALL_FEATURES
13421 if test -z "$defaultval"; then
13422 if test x"$enablestring" = xdisable; then
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statbox" >&5
13430 $as_echo_n "checking
for --${enablestring:-enable}-statbox...
" >&6; }
13431 # Check whether --enable-statbox was given.
13432 if test "${enable_statbox+set}" = set; then :
13433 enableval=$enable_statbox;
13434 if test "$enableval" = yes; then
13435 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13437 wx_cv_use_statbox='wxUSE_STATBOX=no'
13442 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13447 eval "$wx_cv_use_statbox"
13449 if test x
"$enablestring" = xdisable
; then
13450 if test $wxUSE_STATBOX = no
; then
13456 result
=$wxUSE_STATBOX
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13460 $as_echo "$result" >&6; }
13464 defaultval
=$wxUSE_ALL_FEATURES
13465 if test -z "$defaultval"; then
13466 if test x
"$enablestring" = xdisable
; then
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13474 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13475 # Check whether --enable-statline was given.
13476 if test "${enable_statline+set}" = set; then :
13477 enableval
=$enable_statline;
13478 if test "$enableval" = yes; then
13479 wx_cv_use_statline
='wxUSE_STATLINE=yes'
13481 wx_cv_use_statline
='wxUSE_STATLINE=no'
13486 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13491 eval "$wx_cv_use_statline"
13493 if test x"$enablestring" = xdisable; then
13494 if test $wxUSE_STATLINE = no; then
13500 result=$wxUSE_STATLINE
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13504 $as_echo "$result" >&6; }
13508 defaultval=$wxUSE_ALL_FEATURES
13509 if test -z "$defaultval"; then
13510 if test x"$enablestring" = xdisable; then
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13518 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13519 # Check whether --enable-stattext was given.
13520 if test "${enable_stattext+set}" = set; then :
13521 enableval=$enable_stattext;
13522 if test "$enableval" = yes; then
13523 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
13525 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
13530 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13535 eval "$wx_cv_use_stattext"
13537 if test x"$enablestring" = xdisable; then
13538 if test $wxUSE_STATTEXT = no; then
13544 result=$wxUSE_STATTEXT
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13548 $as_echo "$result" >&6; }
13552 defaultval=$wxUSE_ALL_FEATURES
13553 if test -z "$defaultval"; then
13554 if test x"$enablestring" = xdisable; then
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statusbar" >&5
13562 $as_echo_n "checking
for --${enablestring:-enable}-statusbar...
" >&6; }
13563 # Check whether --enable-statusbar was given.
13564 if test "${enable_statusbar+set}" = set; then :
13565 enableval=$enable_statusbar;
13566 if test "$enableval" = yes; then
13567 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13569 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13574 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13579 eval "$wx_cv_use_statusbar"
13581 if test x
"$enablestring" = xdisable
; then
13582 if test $wxUSE_STATUSBAR = no
; then
13588 result
=$wxUSE_STATUSBAR
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13592 $as_echo "$result" >&6; }
13596 defaultval
=$wxUSE_ALL_FEATURES
13597 if test -z "$defaultval"; then
13598 if test x
"$enablestring" = xdisable
; then
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13606 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13607 # Check whether --enable-taskbaricon was given.
13608 if test "${enable_taskbaricon+set}" = set; then :
13609 enableval
=$enable_taskbaricon;
13610 if test "$enableval" = yes; then
13611 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
13613 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
13618 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13623 eval "$wx_cv_use_taskbaricon"
13625 if test x"$enablestring" = xdisable; then
13626 if test $wxUSE_TASKBARICON = no; then
13632 result=$wxUSE_TASKBARICON
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13636 $as_echo "$result" >&6; }
13640 defaultval=$wxUSE_ALL_FEATURES
13641 if test -z "$defaultval"; then
13642 if test x"$enablestring" = xdisable; then
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13650 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13651 # Check whether --enable-tbarnative was given.
13652 if test "${enable_tbarnative+set}" = set; then :
13653 enableval=$enable_tbarnative;
13654 if test "$enableval" = yes; then
13655 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
13657 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
13662 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13667 eval "$wx_cv_use_tbarnative"
13669 if test x"$enablestring" = xdisable; then
13670 if test $wxUSE_TOOLBAR_NATIVE = no; then
13676 result=$wxUSE_TOOLBAR_NATIVE
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13680 $as_echo "$result" >&6; }
13684 defaultval=$wxUSE_ALL_FEATURES
13685 if test -z "$defaultval"; then
13686 if test x"$enablestring" = xdisable; then
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textctrl" >&5
13694 $as_echo_n "checking
for --${enablestring:-enable}-textctrl...
" >&6; }
13695 # Check whether --enable-textctrl was given.
13696 if test "${enable_textctrl+set}" = set; then :
13697 enableval=$enable_textctrl;
13698 if test "$enableval" = yes; then
13699 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13701 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13706 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13711 eval "$wx_cv_use_textctrl"
13713 if test x
"$enablestring" = xdisable
; then
13714 if test $wxUSE_TEXTCTRL = no
; then
13720 result
=$wxUSE_TEXTCTRL
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13724 $as_echo "$result" >&6; }
13728 defaultval
=$wxUSE_ALL_FEATURES
13729 if test -z "$defaultval"; then
13730 if test x
"$enablestring" = xdisable
; then
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13738 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13739 # Check whether --enable-datepick was given.
13740 if test "${enable_datepick+set}" = set; then :
13741 enableval
=$enable_datepick;
13742 if test "$enableval" = yes; then
13743 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=yes'
13745 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=no'
13750 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13755 eval "$wx_cv_use_datepick"
13757 if test x"$enablestring" = xdisable; then
13758 if test $wxUSE_TIMEPICKCTRL = no; then
13764 result=$wxUSE_TIMEPICKCTRL
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13768 $as_echo "$result" >&6; }
13772 defaultval=$wxUSE_ALL_FEATURES
13773 if test -z "$defaultval"; then
13774 if test x"$enablestring" = xdisable; then
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13782 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13783 # Check whether --enable-tipwindow was given.
13784 if test "${enable_tipwindow+set}" = set; then :
13785 enableval=$enable_tipwindow;
13786 if test "$enableval" = yes; then
13787 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
13789 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
13794 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13799 eval "$wx_cv_use_tipwindow"
13801 if test x"$enablestring" = xdisable; then
13802 if test $wxUSE_TIPWINDOW = no; then
13808 result=$wxUSE_TIPWINDOW
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13812 $as_echo "$result" >&6; }
13816 defaultval=$wxUSE_ALL_FEATURES
13817 if test -z "$defaultval"; then
13818 if test x"$enablestring" = xdisable; then
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-togglebtn" >&5
13826 $as_echo_n "checking
for --${enablestring:-enable}-togglebtn...
" >&6; }
13827 # Check whether --enable-togglebtn was given.
13828 if test "${enable_togglebtn+set}" = set; then :
13829 enableval=$enable_togglebtn;
13830 if test "$enableval" = yes; then
13831 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13833 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13838 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13843 eval "$wx_cv_use_togglebtn"
13845 if test x
"$enablestring" = xdisable
; then
13846 if test $wxUSE_TOGGLEBTN = no
; then
13852 result
=$wxUSE_TOGGLEBTN
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13856 $as_echo "$result" >&6; }
13860 defaultval
=$wxUSE_ALL_FEATURES
13861 if test -z "$defaultval"; then
13862 if test x
"$enablestring" = xdisable
; then
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13870 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13871 # Check whether --enable-toolbar was given.
13872 if test "${enable_toolbar+set}" = set; then :
13873 enableval
=$enable_toolbar;
13874 if test "$enableval" = yes; then
13875 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
13877 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
13882 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13887 eval "$wx_cv_use_toolbar"
13889 if test x"$enablestring" = xdisable; then
13890 if test $wxUSE_TOOLBAR = no; then
13896 result=$wxUSE_TOOLBAR
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13900 $as_echo "$result" >&6; }
13904 defaultval=$wxUSE_ALL_FEATURES
13905 if test -z "$defaultval"; then
13906 if test x"$enablestring" = xdisable; then
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13914 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13915 # Check whether --enable-toolbook was given.
13916 if test "${enable_toolbook+set}" = set; then :
13917 enableval=$enable_toolbook;
13918 if test "$enableval" = yes; then
13919 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
13921 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
13926 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13931 eval "$wx_cv_use_toolbook"
13933 if test x"$enablestring" = xdisable; then
13934 if test $wxUSE_TOOLBOOK = no; then
13940 result=$wxUSE_TOOLBOOK
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13944 $as_echo "$result" >&6; }
13948 defaultval=$wxUSE_ALL_FEATURES
13949 if test -z "$defaultval"; then
13950 if test x"$enablestring" = xdisable; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treebook" >&5
13958 $as_echo_n "checking
for --${enablestring:-enable}-treebook...
" >&6; }
13959 # Check whether --enable-treebook was given.
13960 if test "${enable_treebook+set}" = set; then :
13961 enableval=$enable_treebook;
13962 if test "$enableval" = yes; then
13963 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13965 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13970 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13975 eval "$wx_cv_use_treebook"
13977 if test x
"$enablestring" = xdisable
; then
13978 if test $wxUSE_TREEBOOK = no
; then
13984 result
=$wxUSE_TREEBOOK
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13988 $as_echo "$result" >&6; }
13992 defaultval
=$wxUSE_ALL_FEATURES
13993 if test -z "$defaultval"; then
13994 if test x
"$enablestring" = xdisable
; then
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14002 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14003 # Check whether --enable-treectrl was given.
14004 if test "${enable_treectrl+set}" = set; then :
14005 enableval
=$enable_treectrl;
14006 if test "$enableval" = yes; then
14007 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
14009 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
14014 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14019 eval "$wx_cv_use_treectrl"
14021 if test x"$enablestring" = xdisable; then
14022 if test $wxUSE_TREECTRL = no; then
14028 result=$wxUSE_TREECTRL
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14032 $as_echo "$result" >&6; }
14036 defaultval=$wxUSE_ALL_FEATURES
14037 if test -z "$defaultval"; then
14038 if test x"$enablestring" = xdisable; then
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14046 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14047 # Check whether --enable-treelist was given.
14048 if test "${enable_treelist+set}" = set; then :
14049 enableval=$enable_treelist;
14050 if test "$enableval" = yes; then
14051 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=yes'
14053 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=no
'
14058 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14063 eval "$wx_cv_use_treelist"
14065 if test x"$enablestring" = xdisable; then
14066 if test $wxUSE_TREELISTCTRL = no; then
14072 result=$wxUSE_TREELISTCTRL
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14076 $as_echo "$result" >&6; }
14082 defaultval=$wxUSE_ALL_FEATURES
14083 if test -z "$defaultval"; then
14084 if test x"$enablestring" = xdisable; then
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-commondlg" >&5
14092 $as_echo_n "checking
for --${enablestring:-enable}-commondlg...
" >&6; }
14093 # Check whether --enable-commondlg was given.
14094 if test "${enable_commondlg+set}" = set; then :
14095 enableval=$enable_commondlg;
14096 if test "$enableval" = yes; then
14097 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14099 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14104 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14109 eval "$wx_cv_use_commondlg"
14111 if test x
"$enablestring" = xdisable
; then
14112 if test $wxUSE_COMMONDLGS = no
; then
14118 result
=$wxUSE_COMMONDLGS
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14122 $as_echo "$result" >&6; }
14126 defaultval
=$wxUSE_ALL_FEATURES
14127 if test -z "$defaultval"; then
14128 if test x
"$enablestring" = xdisable
; then
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14136 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14137 # Check whether --enable-aboutdlg was given.
14138 if test "${enable_aboutdlg+set}" = set; then :
14139 enableval
=$enable_aboutdlg;
14140 if test "$enableval" = yes; then
14141 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
14143 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
14148 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14153 eval "$wx_cv_use_aboutdlg"
14155 if test x"$enablestring" = xdisable; then
14156 if test $wxUSE_ABOUTDLG = no; then
14162 result=$wxUSE_ABOUTDLG
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14166 $as_echo "$result" >&6; }
14170 defaultval=$wxUSE_ALL_FEATURES
14171 if test -z "$defaultval"; then
14172 if test x"$enablestring" = xdisable; then
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14180 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14181 # Check whether --enable-choicedlg was given.
14182 if test "${enable_choicedlg+set}" = set; then :
14183 enableval=$enable_choicedlg;
14184 if test "$enableval" = yes; then
14185 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
14187 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
14192 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14197 eval "$wx_cv_use_choicedlg"
14199 if test x"$enablestring" = xdisable; then
14200 if test $wxUSE_CHOICEDLG = no; then
14206 result=$wxUSE_CHOICEDLG
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14210 $as_echo "$result" >&6; }
14214 defaultval=$wxUSE_ALL_FEATURES
14215 if test -z "$defaultval"; then
14216 if test x"$enablestring" = xdisable; then
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-coldlg" >&5
14224 $as_echo_n "checking
for --${enablestring:-enable}-coldlg...
" >&6; }
14225 # Check whether --enable-coldlg was given.
14226 if test "${enable_coldlg+set}" = set; then :
14227 enableval=$enable_coldlg;
14228 if test "$enableval" = yes; then
14229 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14231 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14236 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14241 eval "$wx_cv_use_coldlg"
14243 if test x
"$enablestring" = xdisable
; then
14244 if test $wxUSE_COLOURDLG = no
; then
14250 result
=$wxUSE_COLOURDLG
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14254 $as_echo "$result" >&6; }
14258 defaultval
=$wxUSE_ALL_FEATURES
14259 if test -z "$defaultval"; then
14260 if test x
"$enablestring" = xdisable
; then
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14268 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14269 # Check whether --enable-filedlg was given.
14270 if test "${enable_filedlg+set}" = set; then :
14271 enableval
=$enable_filedlg;
14272 if test "$enableval" = yes; then
14273 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
14275 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
14280 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14285 eval "$wx_cv_use_filedlg"
14287 if test x"$enablestring" = xdisable; then
14288 if test $wxUSE_FILEDLG = no; then
14294 result=$wxUSE_FILEDLG
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14298 $as_echo "$result" >&6; }
14302 defaultval=$wxUSE_ALL_FEATURES
14303 if test -z "$defaultval"; then
14304 if test x"$enablestring" = xdisable; then
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14312 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14313 # Check whether --enable-finddlg was given.
14314 if test "${enable_finddlg+set}" = set; then :
14315 enableval=$enable_finddlg;
14316 if test "$enableval" = yes; then
14317 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
14319 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
14324 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14329 eval "$wx_cv_use_finddlg"
14331 if test x"$enablestring" = xdisable; then
14332 if test $wxUSE_FINDREPLDLG = no; then
14338 result=$wxUSE_FINDREPLDLG
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14342 $as_echo "$result" >&6; }
14346 defaultval=$wxUSE_ALL_FEATURES
14347 if test -z "$defaultval"; then
14348 if test x"$enablestring" = xdisable; then
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontdlg" >&5
14356 $as_echo_n "checking
for --${enablestring:-enable}-fontdlg...
" >&6; }
14357 # Check whether --enable-fontdlg was given.
14358 if test "${enable_fontdlg+set}" = set; then :
14359 enableval=$enable_fontdlg;
14360 if test "$enableval" = yes; then
14361 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14363 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14368 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14373 eval "$wx_cv_use_fontdlg"
14375 if test x
"$enablestring" = xdisable
; then
14376 if test $wxUSE_FONTDLG = no
; then
14382 result
=$wxUSE_FONTDLG
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14386 $as_echo "$result" >&6; }
14390 defaultval
=$wxUSE_ALL_FEATURES
14391 if test -z "$defaultval"; then
14392 if test x
"$enablestring" = xdisable
; then
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14400 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14401 # Check whether --enable-dirdlg was given.
14402 if test "${enable_dirdlg+set}" = set; then :
14403 enableval
=$enable_dirdlg;
14404 if test "$enableval" = yes; then
14405 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
14407 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
14412 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14417 eval "$wx_cv_use_dirdlg"
14419 if test x"$enablestring" = xdisable; then
14420 if test $wxUSE_DIRDLG = no; then
14426 result=$wxUSE_DIRDLG
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14430 $as_echo "$result" >&6; }
14434 defaultval=$wxUSE_ALL_FEATURES
14435 if test -z "$defaultval"; then
14436 if test x"$enablestring" = xdisable; then
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14444 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14445 # Check whether --enable-msgdlg was given.
14446 if test "${enable_msgdlg+set}" = set; then :
14447 enableval=$enable_msgdlg;
14448 if test "$enableval" = yes; then
14449 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
14451 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
14456 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14461 eval "$wx_cv_use_msgdlg"
14463 if test x"$enablestring" = xdisable; then
14464 if test $wxUSE_MSGDLG = no; then
14470 result=$wxUSE_MSGDLG
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14474 $as_echo "$result" >&6; }
14478 defaultval=$wxUSE_ALL_FEATURES
14479 if test -z "$defaultval"; then
14480 if test x"$enablestring" = xdisable; then
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-numberdlg" >&5
14488 $as_echo_n "checking
for --${enablestring:-enable}-numberdlg...
" >&6; }
14489 # Check whether --enable-numberdlg was given.
14490 if test "${enable_numberdlg+set}" = set; then :
14491 enableval=$enable_numberdlg;
14492 if test "$enableval" = yes; then
14493 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14495 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14500 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14505 eval "$wx_cv_use_numberdlg"
14507 if test x
"$enablestring" = xdisable
; then
14508 if test $wxUSE_NUMBERDLG = no
; then
14514 result
=$wxUSE_NUMBERDLG
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14518 $as_echo "$result" >&6; }
14522 defaultval
=$wxUSE_ALL_FEATURES
14523 if test -z "$defaultval"; then
14524 if test x
"$enablestring" = xdisable
; then
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14532 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14533 # Check whether --enable-splash was given.
14534 if test "${enable_splash+set}" = set; then :
14535 enableval
=$enable_splash;
14536 if test "$enableval" = yes; then
14537 wx_cv_use_splash
='wxUSE_SPLASH=yes'
14539 wx_cv_use_splash
='wxUSE_SPLASH=no'
14544 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14549 eval "$wx_cv_use_splash"
14551 if test x"$enablestring" = xdisable; then
14552 if test $wxUSE_SPLASH = no; then
14558 result=$wxUSE_SPLASH
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14562 $as_echo "$result" >&6; }
14566 defaultval=$wxUSE_ALL_FEATURES
14567 if test -z "$defaultval"; then
14568 if test x"$enablestring" = xdisable; then
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14576 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14577 # Check whether --enable-textdlg was given.
14578 if test "${enable_textdlg+set}" = set; then :
14579 enableval=$enable_textdlg;
14580 if test "$enableval" = yes; then
14581 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
14583 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
14588 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14593 eval "$wx_cv_use_textdlg"
14595 if test x"$enablestring" = xdisable; then
14596 if test $wxUSE_TEXTDLG = no; then
14602 result=$wxUSE_TEXTDLG
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14606 $as_echo "$result" >&6; }
14610 defaultval=$wxUSE_ALL_FEATURES
14611 if test -z "$defaultval"; then
14612 if test x"$enablestring" = xdisable; then
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tipdlg" >&5
14620 $as_echo_n "checking
for --${enablestring:-enable}-tipdlg...
" >&6; }
14621 # Check whether --enable-tipdlg was given.
14622 if test "${enable_tipdlg+set}" = set; then :
14623 enableval=$enable_tipdlg;
14624 if test "$enableval" = yes; then
14625 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14627 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14632 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14637 eval "$wx_cv_use_tipdlg"
14639 if test x
"$enablestring" = xdisable
; then
14640 if test $wxUSE_STARTUP_TIPS = no
; then
14646 result
=$wxUSE_STARTUP_TIPS
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14650 $as_echo "$result" >&6; }
14654 defaultval
=$wxUSE_ALL_FEATURES
14655 if test -z "$defaultval"; then
14656 if test x
"$enablestring" = xdisable
; then
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14664 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14665 # Check whether --enable-progressdlg was given.
14666 if test "${enable_progressdlg+set}" = set; then :
14667 enableval
=$enable_progressdlg;
14668 if test "$enableval" = yes; then
14669 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
14671 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
14676 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14681 eval "$wx_cv_use_progressdlg"
14683 if test x"$enablestring" = xdisable; then
14684 if test $wxUSE_PROGRESSDLG = no; then
14690 result=$wxUSE_PROGRESSDLG
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14694 $as_echo "$result" >&6; }
14698 defaultval=$wxUSE_ALL_FEATURES
14699 if test -z "$defaultval"; then
14700 if test x"$enablestring" = xdisable; then
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14708 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14709 # Check whether --enable-wizarddlg was given.
14710 if test "${enable_wizarddlg+set}" = set; then :
14711 enableval=$enable_wizarddlg;
14712 if test "$enableval" = yes; then
14713 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
14715 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
14720 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14725 eval "$wx_cv_use_wizarddlg"
14727 if test x"$enablestring" = xdisable; then
14728 if test $wxUSE_WIZARDDLG = no; then
14734 result=$wxUSE_WIZARDDLG
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14738 $as_echo "$result" >&6; }
14744 defaultval=$wxUSE_ALL_FEATURES
14745 if test -z "$defaultval"; then
14746 if test x"$enablestring" = xdisable; then
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-menus" >&5
14754 $as_echo_n "checking
for --${enablestring:-enable}-menus...
" >&6; }
14755 # Check whether --enable-menus was given.
14756 if test "${enable_menus+set}" = set; then :
14757 enableval=$enable_menus;
14758 if test "$enableval" = yes; then
14759 wx_cv_use_menus='wxUSE_MENUS=yes'
14761 wx_cv_use_menus='wxUSE_MENUS=no'
14766 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14771 eval "$wx_cv_use_menus"
14773 if test x
"$enablestring" = xdisable
; then
14774 if test $wxUSE_MENUS = no
; then
14780 result
=$wxUSE_MENUS
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14784 $as_echo "$result" >&6; }
14788 defaultval
=$wxUSE_ALL_FEATURES
14789 if test -z "$defaultval"; then
14790 if test x
"$enablestring" = xdisable
; then
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14798 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14799 # Check whether --enable-miniframe was given.
14800 if test "${enable_miniframe+set}" = set; then :
14801 enableval
=$enable_miniframe;
14802 if test "$enableval" = yes; then
14803 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
14805 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
14810 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14815 eval "$wx_cv_use_miniframe"
14817 if test x"$enablestring" = xdisable; then
14818 if test $wxUSE_MINIFRAME = no; then
14824 result=$wxUSE_MINIFRAME
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14828 $as_echo "$result" >&6; }
14832 defaultval=$wxUSE_ALL_FEATURES
14833 if test -z "$defaultval"; then
14834 if test x"$enablestring" = xdisable; then
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14842 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14843 # Check whether --enable-tooltips was given.
14844 if test "${enable_tooltips+set}" = set; then :
14845 enableval=$enable_tooltips;
14846 if test "$enableval" = yes; then
14847 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
14849 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
14854 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14859 eval "$wx_cv_use_tooltips"
14861 if test x"$enablestring" = xdisable; then
14862 if test $wxUSE_TOOLTIPS = no; then
14868 result=$wxUSE_TOOLTIPS
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14872 $as_echo "$result" >&6; }
14876 defaultval=$wxUSE_ALL_FEATURES
14877 if test -z "$defaultval"; then
14878 if test x"$enablestring" = xdisable; then
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-splines" >&5
14886 $as_echo_n "checking
for --${enablestring:-enable}-splines...
" >&6; }
14887 # Check whether --enable-splines was given.
14888 if test "${enable_splines+set}" = set; then :
14889 enableval=$enable_splines;
14890 if test "$enableval" = yes; then
14891 wx_cv_use_splines='wxUSE_SPLINES=yes'
14893 wx_cv_use_splines='wxUSE_SPLINES=no'
14898 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14903 eval "$wx_cv_use_splines"
14905 if test x
"$enablestring" = xdisable
; then
14906 if test $wxUSE_SPLINES = no
; then
14912 result
=$wxUSE_SPLINES
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14916 $as_echo "$result" >&6; }
14920 defaultval
=$wxUSE_ALL_FEATURES
14921 if test -z "$defaultval"; then
14922 if test x
"$enablestring" = xdisable
; then
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14930 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14931 # Check whether --enable-mousewheel was given.
14932 if test "${enable_mousewheel+set}" = set; then :
14933 enableval
=$enable_mousewheel;
14934 if test "$enableval" = yes; then
14935 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
14937 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
14942 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14947 eval "$wx_cv_use_mousewheel"
14949 if test x"$enablestring" = xdisable; then
14950 if test $wxUSE_MOUSEWHEEL = no; then
14956 result=$wxUSE_MOUSEWHEEL
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14960 $as_echo "$result" >&6; }
14964 defaultval=$wxUSE_ALL_FEATURES
14965 if test -z "$defaultval"; then
14966 if test x"$enablestring" = xdisable; then
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14974 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14975 # Check whether --enable-validators was given.
14976 if test "${enable_validators+set}" = set; then :
14977 enableval=$enable_validators;
14978 if test "$enableval" = yes; then
14979 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
14981 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
14986 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14991 eval "$wx_cv_use_validators"
14993 if test x"$enablestring" = xdisable; then
14994 if test $wxUSE_VALIDATORS = no; then
15000 result=$wxUSE_VALIDATORS
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15004 $as_echo "$result" >&6; }
15008 defaultval=$wxUSE_ALL_FEATURES
15009 if test -z "$defaultval"; then
15010 if test x"$enablestring" = xdisable; then
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-busyinfo" >&5
15018 $as_echo_n "checking
for --${enablestring:-enable}-busyinfo...
" >&6; }
15019 # Check whether --enable-busyinfo was given.
15020 if test "${enable_busyinfo+set}" = set; then :
15021 enableval=$enable_busyinfo;
15022 if test "$enableval" = yes; then
15023 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15025 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15030 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15035 eval "$wx_cv_use_busyinfo"
15037 if test x
"$enablestring" = xdisable
; then
15038 if test $wxUSE_BUSYINFO = no
; then
15044 result
=$wxUSE_BUSYINFO
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15048 $as_echo "$result" >&6; }
15052 defaultval
=$wxUSE_ALL_FEATURES
15053 if test -z "$defaultval"; then
15054 if test x
"$enablestring" = xdisable
; then
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15062 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15063 # Check whether --enable-hotkey was given.
15064 if test "${enable_hotkey+set}" = set; then :
15065 enableval
=$enable_hotkey;
15066 if test "$enableval" = yes; then
15067 wx_cv_use_hotkey
='wxUSE_HOTKEY=yes'
15069 wx_cv_use_hotkey
='wxUSE_HOTKEY=no'
15074 wx_cv_use_hotkey
='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15079 eval "$wx_cv_use_hotkey"
15081 if test x"$enablestring" = xdisable; then
15082 if test $wxUSE_HOTKEY = no; then
15088 result=$wxUSE_HOTKEY
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15092 $as_echo "$result" >&6; }
15096 defaultval=$wxUSE_ALL_FEATURES
15097 if test -z "$defaultval"; then
15098 if test x"$enablestring" = xdisable; then
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15106 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15107 # Check whether --enable-joystick was given.
15108 if test "${enable_joystick+set}" = set; then :
15109 enableval=$enable_joystick;
15110 if test "$enableval" = yes; then
15111 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
15113 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
15118 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15123 eval "$wx_cv_use_joystick"
15125 if test x"$enablestring" = xdisable; then
15126 if test $wxUSE_JOYSTICK = no; then
15132 result=$wxUSE_JOYSTICK
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15136 $as_echo "$result" >&6; }
15140 defaultval=$wxUSE_ALL_FEATURES
15141 if test -z "$defaultval"; then
15142 if test x"$enablestring" = xdisable; then
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-metafile" >&5
15150 $as_echo_n "checking
for --${enablestring:-enable}-metafile...
" >&6; }
15151 # Check whether --enable-metafile was given.
15152 if test "${enable_metafile+set}" = set; then :
15153 enableval=$enable_metafile;
15154 if test "$enableval" = yes; then
15155 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15157 wx_cv_use_metafile='wxUSE_METAFILE=no'
15162 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15167 eval "$wx_cv_use_metafile"
15169 if test x
"$enablestring" = xdisable
; then
15170 if test $wxUSE_METAFILE = no
; then
15176 result
=$wxUSE_METAFILE
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15180 $as_echo "$result" >&6; }
15184 defaultval
=$wxUSE_ALL_FEATURES
15185 if test -z "$defaultval"; then
15186 if test x
"$enablestring" = xdisable
; then
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15194 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15195 # Check whether --enable-dragimage was given.
15196 if test "${enable_dragimage+set}" = set; then :
15197 enableval
=$enable_dragimage;
15198 if test "$enableval" = yes; then
15199 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
15201 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
15206 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15211 eval "$wx_cv_use_dragimage"
15213 if test x"$enablestring" = xdisable; then
15214 if test $wxUSE_DRAGIMAGE = no; then
15220 result=$wxUSE_DRAGIMAGE
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15224 $as_echo "$result" >&6; }
15228 defaultval=$wxUSE_ALL_FEATURES
15229 if test -z "$defaultval"; then
15230 if test x"$enablestring" = xdisable; then
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15238 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15239 # Check whether --enable-accessibility was given.
15240 if test "${enable_accessibility+set}" = set; then :
15241 enableval=$enable_accessibility;
15242 if test "$enableval" = yes; then
15243 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
15245 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
15250 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15255 eval "$wx_cv_use_accessibility"
15257 if test x"$enablestring" = xdisable; then
15258 if test $wxUSE_ACCESSIBILITY = no; then
15264 result=$wxUSE_ACCESSIBILITY
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15268 $as_echo "$result" >&6; }
15272 defaultval=$wxUSE_ALL_FEATURES
15273 if test -z "$defaultval"; then
15274 if test x"$enablestring" = xdisable; then
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-uiactionsim" >&5
15282 $as_echo_n "checking
for --${enablestring:-enable}-uiactionsim...
" >&6; }
15283 # Check whether --enable-uiactionsim was given.
15284 if test "${enable_uiactionsim+set}" = set; then :
15285 enableval=$enable_uiactionsim;
15286 if test "$enableval" = yes; then
15287 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15289 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15294 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15299 eval "$wx_cv_use_uiactionsim"
15301 if test x
"$enablestring" = xdisable
; then
15302 if test $wxUSE_UIACTIONSIMULATOR = no
; then
15308 result
=$wxUSE_UIACTIONSIMULATOR
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15312 $as_echo "$result" >&6; }
15316 defaultval
=$wxUSE_ALL_FEATURES
15317 if test -z "$defaultval"; then
15318 if test x
"$enablestring" = xdisable
; then
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15326 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15327 # Check whether --enable-dctransform was given.
15328 if test "${enable_dctransform+set}" = set; then :
15329 enableval
=$enable_dctransform;
15330 if test "$enableval" = yes; then
15331 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=yes'
15333 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=no'
15338 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15343 eval "$wx_cv_use_dctransform"
15345 if test x"$enablestring" = xdisable; then
15346 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15352 result=$wxUSE_DC_TRANSFORM_MATRIX
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15356 $as_echo "$result" >&6; }
15360 defaultval=$wxUSE_ALL_FEATURES
15361 if test -z "$defaultval"; then
15362 if test x"$enablestring" = xdisable; then
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15370 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15371 # Check whether --enable-webviewwebkit was given.
15372 if test "${enable_webviewwebkit+set}" = set; then :
15373 enableval=$enable_webviewwebkit;
15374 if test "$enableval" = yes; then
15375 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=yes'
15377 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=no
'
15382 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15387 eval "$wx_cv_use_webviewwebkit"
15389 if test x"$enablestring" = xdisable; then
15390 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15396 result=$wxUSE_WEBVIEW_WEBKIT
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15400 $as_echo "$result" >&6; }
15406 defaultval=$wxUSE_ALL_FEATURES
15407 if test -z "$defaultval"; then
15408 if test x"$enablestring" = xdisable; then
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-palette" >&5
15416 $as_echo_n "checking
for --${enablestring:-enable}-palette...
" >&6; }
15417 # Check whether --enable-palette was given.
15418 if test "${enable_palette+set}" = set; then :
15419 enableval=$enable_palette;
15420 if test "$enableval" = yes; then
15421 wx_cv_use_palette='wxUSE_PALETTE=yes'
15423 wx_cv_use_palette='wxUSE_PALETTE=no'
15428 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15433 eval "$wx_cv_use_palette"
15435 if test x
"$enablestring" = xdisable
; then
15436 if test $wxUSE_PALETTE = no
; then
15442 result
=$wxUSE_PALETTE
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15446 $as_echo "$result" >&6; }
15450 defaultval
=$wxUSE_ALL_FEATURES
15451 if test -z "$defaultval"; then
15452 if test x
"$enablestring" = xdisable
; then
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15460 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15461 # Check whether --enable-image was given.
15462 if test "${enable_image+set}" = set; then :
15463 enableval
=$enable_image;
15464 if test "$enableval" = yes; then
15465 wx_cv_use_image
='wxUSE_IMAGE=yes'
15467 wx_cv_use_image
='wxUSE_IMAGE=no'
15472 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15477 eval "$wx_cv_use_image"
15479 if test x"$enablestring" = xdisable; then
15480 if test $wxUSE_IMAGE = no; then
15486 result=$wxUSE_IMAGE
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15490 $as_echo "$result" >&6; }
15494 defaultval=$wxUSE_ALL_FEATURES
15495 if test -z "$defaultval"; then
15496 if test x"$enablestring" = xdisable; then
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15504 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15505 # Check whether --enable-gif was given.
15506 if test "${enable_gif+set}" = set; then :
15507 enableval=$enable_gif;
15508 if test "$enableval" = yes; then
15509 wx_cv_use_gif='wxUSE_GIF
=yes'
15511 wx_cv_use_gif='wxUSE_GIF
=no
'
15516 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15521 eval "$wx_cv_use_gif"
15523 if test x"$enablestring" = xdisable; then
15524 if test $wxUSE_GIF = no; then
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15534 $as_echo "$result" >&6; }
15538 defaultval=$wxUSE_ALL_FEATURES
15539 if test -z "$defaultval"; then
15540 if test x"$enablestring" = xdisable; then
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-pcx" >&5
15548 $as_echo_n "checking
for --${enablestring:-enable}-pcx...
" >&6; }
15549 # Check whether --enable-pcx was given.
15550 if test "${enable_pcx+set}" = set; then :
15551 enableval=$enable_pcx;
15552 if test "$enableval" = yes; then
15553 wx_cv_use_pcx='wxUSE_PCX=yes'
15555 wx_cv_use_pcx='wxUSE_PCX=no'
15560 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15565 eval "$wx_cv_use_pcx"
15567 if test x
"$enablestring" = xdisable
; then
15568 if test $wxUSE_PCX = no
; then
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15578 $as_echo "$result" >&6; }
15582 defaultval
=$wxUSE_ALL_FEATURES
15583 if test -z "$defaultval"; then
15584 if test x
"$enablestring" = xdisable
; then
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15592 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15593 # Check whether --enable-tga was given.
15594 if test "${enable_tga+set}" = set; then :
15595 enableval
=$enable_tga;
15596 if test "$enableval" = yes; then
15597 wx_cv_use_tga
='wxUSE_TGA=yes'
15599 wx_cv_use_tga
='wxUSE_TGA=no'
15604 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15609 eval "$wx_cv_use_tga"
15611 if test x"$enablestring" = xdisable; then
15612 if test $wxUSE_TGA = no; then
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15622 $as_echo "$result" >&6; }
15626 defaultval=$wxUSE_ALL_FEATURES
15627 if test -z "$defaultval"; then
15628 if test x"$enablestring" = xdisable; then
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15636 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15637 # Check whether --enable-iff was given.
15638 if test "${enable_iff+set}" = set; then :
15639 enableval=$enable_iff;
15640 if test "$enableval" = yes; then
15641 wx_cv_use_iff='wxUSE_IFF
=yes'
15643 wx_cv_use_iff='wxUSE_IFF
=no
'
15648 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15653 eval "$wx_cv_use_iff"
15655 if test x"$enablestring" = xdisable; then
15656 if test $wxUSE_IFF = no; then
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15666 $as_echo "$result" >&6; }
15670 defaultval=$wxUSE_ALL_FEATURES
15671 if test -z "$defaultval"; then
15672 if test x"$enablestring" = xdisable; then
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-pnm" >&5
15680 $as_echo_n "checking
for --${enablestring:-enable}-pnm...
" >&6; }
15681 # Check whether --enable-pnm was given.
15682 if test "${enable_pnm+set}" = set; then :
15683 enableval=$enable_pnm;
15684 if test "$enableval" = yes; then
15685 wx_cv_use_pnm='wxUSE_PNM=yes'
15687 wx_cv_use_pnm='wxUSE_PNM=no'
15692 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15697 eval "$wx_cv_use_pnm"
15699 if test x
"$enablestring" = xdisable
; then
15700 if test $wxUSE_PNM = no
; then
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15710 $as_echo "$result" >&6; }
15714 defaultval
=$wxUSE_ALL_FEATURES
15715 if test -z "$defaultval"; then
15716 if test x
"$enablestring" = xdisable
; then
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15724 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15725 # Check whether --enable-xpm was given.
15726 if test "${enable_xpm+set}" = set; then :
15727 enableval
=$enable_xpm;
15728 if test "$enableval" = yes; then
15729 wx_cv_use_xpm
='wxUSE_XPM=yes'
15731 wx_cv_use_xpm
='wxUSE_XPM=no'
15736 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15741 eval "$wx_cv_use_xpm"
15743 if test x"$enablestring" = xdisable; then
15744 if test $wxUSE_XPM = no; then
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15754 $as_echo "$result" >&6; }
15758 defaultval=$wxUSE_ALL_FEATURES
15759 if test -z "$defaultval"; then
15760 if test x"$enablestring" = xdisable; then
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15768 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15769 # Check whether --enable-ico_cur was given.
15770 if test "${enable_ico_cur+set}" = set; then :
15771 enableval=$enable_ico_cur;
15772 if test "$enableval" = yes; then
15773 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
15775 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
15780 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15785 eval "$wx_cv_use_ico_cur"
15787 if test x"$enablestring" = xdisable; then
15788 if test $wxUSE_ICO_CUR = no; then
15794 result=$wxUSE_ICO_CUR
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15798 $as_echo "$result" >&6; }
15804 defaultval=$wxUSE_ALL_FEATURES
15805 if test -z "$defaultval"; then
15806 if test x"$enablestring" = xdisable; then
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dccache" >&5
15814 $as_echo_n "checking
for --${enablestring:-enable}-dccache...
" >&6; }
15815 # Check whether --enable-dccache was given.
15816 if test "${enable_dccache+set}" = set; then :
15817 enableval=$enable_dccache;
15818 if test "$enableval" = yes; then
15819 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15821 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15826 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15831 eval "$wx_cv_use_dccache"
15833 if test x
"$enablestring" = xdisable
; then
15834 if test $wxUSE_DC_CACHEING = no
; then
15840 result
=$wxUSE_DC_CACHEING
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15844 $as_echo "$result" >&6; }
15848 defaultval
=$wxUSE_ALL_FEATURES
15849 if test -z "$defaultval"; then
15850 if test x
"$enablestring" = xdisable
; then
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15858 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15859 # Check whether --enable-ps-in-msw was given.
15860 if test "${enable_ps_in_msw+set}" = set; then :
15861 enableval
=$enable_ps_in_msw;
15862 if test "$enableval" = yes; then
15863 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15865 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15870 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15875 eval "$wx_cv_use_ps_in_msw"
15877 if test x"$enablestring" = xdisable; then
15878 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15884 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15888 $as_echo "$result" >&6; }
15892 defaultval=$wxUSE_ALL_FEATURES
15893 if test -z "$defaultval"; then
15894 if test x"$enablestring" = xdisable; then
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15902 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15903 # Check whether --enable-ownerdrawn was given.
15904 if test "${enable_ownerdrawn+set}" = set; then :
15905 enableval=$enable_ownerdrawn;
15906 if test "$enableval" = yes; then
15907 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
15909 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
15914 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15919 eval "$wx_cv_use_ownerdrawn"
15921 if test x"$enablestring" = xdisable; then
15922 if test $wxUSE_OWNER_DRAWN = no; then
15928 result=$wxUSE_OWNER_DRAWN
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15932 $as_echo "$result" >&6; }
15936 defaultval=$wxUSE_ALL_FEATURES
15937 if test -z "$defaultval"; then
15938 if test x"$enablestring" = xdisable; then
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-uxtheme" >&5
15946 $as_echo_n "checking
for --${enablestring:-enable}-uxtheme...
" >&6; }
15947 # Check whether --enable-uxtheme was given.
15948 if test "${enable_uxtheme+set}" = set; then :
15949 enableval=$enable_uxtheme;
15950 if test "$enableval" = yes; then
15951 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15953 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15958 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15963 eval "$wx_cv_use_uxtheme"
15965 if test x
"$enablestring" = xdisable
; then
15966 if test $wxUSE_UXTHEME = no
; then
15972 result
=$wxUSE_UXTHEME
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15976 $as_echo "$result" >&6; }
15980 defaultval
=$wxUSE_ALL_FEATURES
15981 if test -z "$defaultval"; then
15982 if test x
"$enablestring" = xdisable
; then
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
15990 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
15991 # Check whether --enable-wxdib was given.
15992 if test "${enable_wxdib+set}" = set; then :
15993 enableval
=$enable_wxdib;
15994 if test "$enableval" = yes; then
15995 wx_cv_use_wxdib
='wxUSE_DIB=yes'
15997 wx_cv_use_wxdib
='wxUSE_DIB=no'
16002 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16007 eval "$wx_cv_use_wxdib"
16009 if test x"$enablestring" = xdisable; then
16010 if test $wxUSE_DIB = no; then
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16020 $as_echo "$result" >&6; }
16024 defaultval=$wxUSE_ALL_FEATURES
16025 if test -z "$defaultval"; then
16026 if test x"$enablestring" = xdisable; then
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16034 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16035 # Check whether --enable-webviewie was given.
16036 if test "${enable_webviewie+set}" = set; then :
16037 enableval=$enable_webviewie;
16038 if test "$enableval" = yes; then
16039 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=yes'
16041 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=no
'
16046 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16051 eval "$wx_cv_use_webviewie"
16053 if test x"$enablestring" = xdisable; then
16054 if test $wxUSE_WEBVIEW_IE = no; then
16060 result=$wxUSE_WEBVIEW_IE
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16064 $as_echo "$result" >&6; }
16067 if test "$wxUSE_MSW" != 1; then
16068 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16073 defaultval=$wxUSE_ALL_FEATURES
16074 if test -z "$defaultval"; then
16075 if test x"$enablestring" = xdisable; then
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-autoidman" >&5
16083 $as_echo_n "checking
for --${enablestring:-enable}-autoidman...
" >&6; }
16084 # Check whether --enable-autoidman was given.
16085 if test "${enable_autoidman+set}" = set; then :
16086 enableval=$enable_autoidman;
16087 if test "$enableval" = yes; then
16088 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16090 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16095 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16100 eval "$wx_cv_use_autoidman"
16102 if test x
"$enablestring" = xdisable
; then
16103 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
16109 result
=$wxUSE_AUTOID_MANAGEMENT
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16113 $as_echo "$result" >&6; }
16119 cat >confcache
<<\_ACEOF
16120 # This file is a shell script that caches the results of configure
16121 # tests run on this system so they can be shared between configure
16122 # scripts and configure runs, see configure's option --config-cache.
16123 # It is not useful on other systems. If it contains results you don't
16124 # want to keep, you may remove or edit it.
16126 # config.status only pays attention to the cache file if you give it
16127 # the --recheck option to rerun configure.
16129 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16130 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16131 # following values.
16135 # The following way of writing the cache mishandles newlines in values,
16136 # but we know of no workaround that is simple, portable, and efficient.
16137 # So, we kill variables containing newlines.
16138 # Ultrix sh set writes to stderr and can't be redirected directly,
16139 # and sets the high bit in the cache file unless we assign to the vars.
16141 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16142 eval ac_val
=\$
$ac_var
16146 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16147 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16150 _
| IFS
| as_nl
) ;; #(
16151 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16152 *) { eval $ac_var=; unset $ac_var;} ;;
16158 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16159 *${as_nl}ac_space
=\
*)
16160 # `set' does not quote correctly, so add quotes: double-quote
16161 # substitution turns \\\\ into \\, and sed turns \\ into \.
16164 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16167 # `set' quotes correctly as required by POSIX, so do not add quotes.
16168 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16177 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16179 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16181 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16182 if test -w "$cache_file"; then
16183 test "x$cache_file" != "x/dev/null" &&
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16185 $as_echo "$as_me: updating cache $cache_file" >&6;}
16186 cat confcache
>$cache_file
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16189 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16196 ac_cpp
='$CPP $CPPFLAGS'
16197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16200 if test -n "$ac_tool_prefix"; then
16201 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16202 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16204 $as_echo_n "checking for $ac_word... " >&6; }
16205 if test "${ac_cv_prog_CC+set}" = set; then :
16206 $as_echo_n "(cached) " >&6
16208 if test -n "$CC"; then
16209 ac_cv_prog_CC
="$CC" # Let the user override the test.
16211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16212 for as_dir
in $PATH
16215 test -z "$as_dir" && as_dir
=.
16216 for ac_exec_ext
in '' $ac_executable_extensions; do
16217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16218 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16229 if test -n "$CC"; then
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16231 $as_echo "$CC" >&6; }
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16234 $as_echo "no" >&6; }
16239 if test -z "$ac_cv_prog_CC"; then
16241 # Extract the first word of "gcc", so it can be a program name with args.
16242 set dummy gcc
; ac_word
=$2
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16244 $as_echo_n "checking for $ac_word... " >&6; }
16245 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16246 $as_echo_n "(cached) " >&6
16248 if test -n "$ac_ct_CC"; then
16249 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16252 for as_dir
in $PATH
16255 test -z "$as_dir" && as_dir
=.
16256 for ac_exec_ext
in '' $ac_executable_extensions; do
16257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16258 ac_cv_prog_ac_ct_CC
="gcc"
16259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16268 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16269 if test -n "$ac_ct_CC"; then
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16271 $as_echo "$ac_ct_CC" >&6; }
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16274 $as_echo "no" >&6; }
16277 if test "x$ac_ct_CC" = x
; then
16280 case $cross_compiling:$ac_tool_warned in
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16284 ac_tool_warned
=yes ;;
16289 CC
="$ac_cv_prog_CC"
16292 if test -z "$CC"; then
16293 if test -n "$ac_tool_prefix"; then
16294 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16295 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16297 $as_echo_n "checking for $ac_word... " >&6; }
16298 if test "${ac_cv_prog_CC+set}" = set; then :
16299 $as_echo_n "(cached) " >&6
16301 if test -n "$CC"; then
16302 ac_cv_prog_CC
="$CC" # Let the user override the test.
16304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16305 for as_dir
in $PATH
16308 test -z "$as_dir" && as_dir
=.
16309 for ac_exec_ext
in '' $ac_executable_extensions; do
16310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16311 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16322 if test -n "$CC"; then
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16324 $as_echo "$CC" >&6; }
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16327 $as_echo "no" >&6; }
16333 if test -z "$CC"; then
16334 # Extract the first word of "cc", so it can be a program name with args.
16335 set dummy cc
; ac_word
=$2
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16337 $as_echo_n "checking for $ac_word... " >&6; }
16338 if test "${ac_cv_prog_CC+set}" = set; then :
16339 $as_echo_n "(cached) " >&6
16341 if test -n "$CC"; then
16342 ac_cv_prog_CC
="$CC" # Let the user override the test.
16344 ac_prog_rejected
=no
16345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16346 for as_dir
in $PATH
16349 test -z "$as_dir" && as_dir
=.
16350 for ac_exec_ext
in '' $ac_executable_extensions; do
16351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16352 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16353 ac_prog_rejected
=yes
16357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16364 if test $ac_prog_rejected = yes; then
16365 # We found a bogon in the path, so make sure we never use it.
16366 set dummy
$ac_cv_prog_CC
16368 if test $# != 0; then
16369 # We chose a different compiler from the bogus one.
16370 # However, it has the same basename, so the bogon will be chosen
16371 # first if we set CC to just the basename; use the full file name.
16373 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16379 if test -n "$CC"; then
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16381 $as_echo "$CC" >&6; }
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16384 $as_echo "no" >&6; }
16389 if test -z "$CC"; then
16390 if test -n "$ac_tool_prefix"; then
16391 for ac_prog
in cl.exe
16393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16394 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16396 $as_echo_n "checking for $ac_word... " >&6; }
16397 if test "${ac_cv_prog_CC+set}" = set; then :
16398 $as_echo_n "(cached) " >&6
16400 if test -n "$CC"; then
16401 ac_cv_prog_CC
="$CC" # Let the user override the test.
16403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16404 for as_dir
in $PATH
16407 test -z "$as_dir" && as_dir
=.
16408 for ac_exec_ext
in '' $ac_executable_extensions; do
16409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16410 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16421 if test -n "$CC"; then
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16423 $as_echo "$CC" >&6; }
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16426 $as_echo "no" >&6; }
16430 test -n "$CC" && break
16433 if test -z "$CC"; then
16435 for ac_prog
in cl.exe
16437 # Extract the first word of "$ac_prog", so it can be a program name with args.
16438 set dummy
$ac_prog; ac_word
=$2
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16440 $as_echo_n "checking for $ac_word... " >&6; }
16441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16442 $as_echo_n "(cached) " >&6
16444 if test -n "$ac_ct_CC"; then
16445 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16448 for as_dir
in $PATH
16451 test -z "$as_dir" && as_dir
=.
16452 for ac_exec_ext
in '' $ac_executable_extensions; do
16453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16454 ac_cv_prog_ac_ct_CC
="$ac_prog"
16455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16464 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16465 if test -n "$ac_ct_CC"; then
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16467 $as_echo "$ac_ct_CC" >&6; }
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16470 $as_echo "no" >&6; }
16474 test -n "$ac_ct_CC" && break
16477 if test "x$ac_ct_CC" = x
; then
16480 case $cross_compiling:$ac_tool_warned in
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16484 ac_tool_warned
=yes ;;
16493 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16495 as_fn_error $?
"no acceptable C compiler found in \$PATH
16496 See \`config.log' for more details" "$LINENO" 5 ; }
16498 # Provide some information about the compiler.
16499 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16502 for ac_option
in --version -v -V -qversion; do
16503 { { ac_try
="$ac_compiler $ac_option >&5"
16504 case "(($ac_try" in
16505 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16506 *) ac_try_echo=$ac_try;;
16508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16509 $as_echo "$ac_try_echo"; } >&5
16510 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16512 if test -s conftest.err; then
16514 ... rest of stderr output deleted ...
16515 10q' conftest.err >conftest.er1
16516 cat conftest.er1 >&5
16518 rm -f conftest.er1 conftest.err
16519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16520 test $ac_status = 0; }
16523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16524 /* end confdefs.h. */
16534 ac_clean_files_save=$ac_clean_files
16535 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16536 # Try to create an executable without -o first, disregard a.out.
16537 # It will help us diagnose broken compilers, and finding out an intuition
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16540 $as_echo_n "checking whether the C compiler works... " >&6; }
16541 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16543 # The possible output files:
16544 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16547 for ac_file in $ac_files
16550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16551 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16556 if { { ac_try="$ac_link_default"
16557 case "(($ac_try" in
16558 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16559 *) ac_try_echo
=$ac_try;;
16561 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16562 $as_echo "$ac_try_echo"; } >&5
16563 (eval "$ac_link_default") 2>&5
16565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16566 test $ac_status = 0; }; then :
16567 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16568 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16569 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16570 # so that the user can short-circuit this test for compilers unknown to
16572 for ac_file
in $ac_files ''
16574 test -f "$ac_file" || continue
16576 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
16579 # We found the default executable, but exeext='' is most
16583 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16585 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16587 # We set ac_cv_exeext here because the later test for it is not
16588 # safe: cross compilers may not add the suffix if given an `-o'
16589 # argument, so we may need to know it at that point already.
16590 # Even if this section looks crufty: it has the advantage of
16591 # actually working.
16597 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16602 if test -z "$ac_file"; then :
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16604 $as_echo "no" >&6; }
16605 $as_echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.
$ac_ext >&5
16608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16610 as_fn_error
77 "C compiler cannot create executables
16611 See \`config.log' for more details" "$LINENO" 5 ; }
16613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16614 $as_echo "yes" >&6; }
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16617 $as_echo_n "checking for C compiler default output file name... " >&6; }
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16619 $as_echo "$ac_file" >&6; }
16620 ac_exeext
=$ac_cv_exeext
16622 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
16623 ac_clean_files
=$ac_clean_files_save
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16625 $as_echo_n "checking for suffix of executables... " >&6; }
16626 if { { ac_try
="$ac_link"
16627 case "(($ac_try" in
16628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16629 *) ac_try_echo=$ac_try;;
16631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16632 $as_echo "$ac_try_echo"; } >&5
16633 (eval "$ac_link") 2>&5
16635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16636 test $ac_status = 0; }; then :
16637 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
16638 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
16639 # work properly (i.e., refer to `conftest.exe'), while it won't with
16641 for ac_file
in conftest.exe conftest conftest.
*; do
16642 test -f "$ac_file" || continue
16644 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
16645 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16653 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
16654 See \`config.log' for more details" "$LINENO" 5 ; }
16656 rm -f conftest conftest
$ac_cv_exeext
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16658 $as_echo "$ac_cv_exeext" >&6; }
16660 rm -f conftest.
$ac_ext
16661 EXEEXT
=$ac_cv_exeext
16663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16669 FILE *f = fopen ("conftest.out", "w");
16670 return ferror (f) || fclose (f) != 0;
16676 ac_clean_files
="$ac_clean_files conftest.out"
16677 # Check that the compiler produces executables we can run. If not, either
16678 # the compiler is broken, or we cross compile.
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16680 $as_echo_n "checking whether we are cross compiling... " >&6; }
16681 if test "$cross_compiling" != yes; then
16682 { { ac_try
="$ac_link"
16683 case "(($ac_try" in
16684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16685 *) ac_try_echo=$ac_try;;
16687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16688 $as_echo "$ac_try_echo"; } >&5
16689 (eval "$ac_link") 2>&5
16691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16692 test $ac_status = 0; }
16693 if { ac_try='./conftest$ac_cv_exeext'
16694 { { case "(($ac_try" in
16695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16696 *) ac_try_echo
=$ac_try;;
16698 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16699 $as_echo "$ac_try_echo"; } >&5
16700 (eval "$ac_try") 2>&5
16702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16703 test $ac_status = 0; }; }; then
16706 if test "$cross_compiling" = maybe
; then
16707 cross_compiling
=yes
16709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16711 as_fn_error $?
"cannot run C compiled programs.
16712 If you meant to cross compile, use \`--host'.
16713 See \`config.log' for more details" "$LINENO" 5 ; }
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16718 $as_echo "$cross_compiling" >&6; }
16720 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
16721 ac_clean_files
=$ac_clean_files_save
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16723 $as_echo_n "checking for suffix of object files... " >&6; }
16724 if test "${ac_cv_objext+set}" = set; then :
16725 $as_echo_n "(cached) " >&6
16727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16728 /* end confdefs.h. */
16738 rm -f conftest.o conftest.obj
16739 if { { ac_try
="$ac_compile"
16740 case "(($ac_try" in
16741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16742 *) ac_try_echo=$ac_try;;
16744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16745 $as_echo "$ac_try_echo"; } >&5
16746 (eval "$ac_compile") 2>&5
16748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16749 test $ac_status = 0; }; then :
16750 for ac_file in conftest.o conftest.obj conftest.*; do
16751 test -f "$ac_file" || continue;
16753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16754 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16759 $as_echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.$ac_ext >&5
16762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16764 as_fn_error $? "cannot compute suffix of object files
: cannot compile
16765 See \
`config.log' for more details" "$LINENO" 5 ; }
16767 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16770 $as_echo "$ac_cv_objext" >&6; }
16771 OBJEXT=$ac_cv_objext
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16774 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16775 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
16776 $as_echo_n "(cached) " >&6
16778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16792 if ac_fn_c_try_compile "$LINENO"; then :
16793 ac_compiler_gnu=yes
16797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16798 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16802 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16803 if test $ac_compiler_gnu = yes; then
16808 ac_test_CFLAGS=${CFLAGS+set}
16809 ac_save_CFLAGS=$CFLAGS
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16811 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16812 if test "${ac_cv_prog_cc_g+set}" = set; then :
16813 $as_echo_n "(cached) " >&6
16815 ac_save_c_werror_flag=$ac_c_werror_flag
16816 ac_c_werror_flag=yes
16819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16820 /* end confdefs.h. */
16830 if ac_fn_c_try_compile "$LINENO"; then :
16831 ac_cv_prog_cc_g=yes
16834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h. */
16845 if ac_fn_c_try_compile "$LINENO"; then :
16848 ac_c_werror_flag=$ac_save_c_werror_flag
16850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h. */
16861 if ac_fn_c_try_compile "$LINENO"; then :
16862 ac_cv_prog_cc_g=yes
16864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16869 ac_c_werror_flag=$ac_save_c_werror_flag
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16872 $as_echo "$ac_cv_prog_cc_g" >&6; }
16873 if test "$ac_test_CFLAGS" = set; then
16874 CFLAGS=$ac_save_CFLAGS
16875 elif test $ac_cv_prog_cc_g = yes; then
16876 if test "$GCC" = yes; then
16882 if test "$GCC" = yes; then
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16889 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16890 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16891 $as_echo_n "(cached) " >&6
16893 ac_cv_prog_cc_c89=no
16895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896 /* end confdefs.h. */
16897 #include <stdarg.h>
16899 #include <sys/types.h>
16900 #include <sys/stat.h>
16901 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16902 struct buf { int x; };
16903 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16904 static char *e (p, i)
16910 static char *f (char * (*g) (char **, int), char **p, ...)
16915 s = g (p, va_arg (v,int));
16920 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16921 function prototypes and stuff, but not '\xHH' hex character constants.
16922 These don't provoke an error unfortunately, instead are silently treated
16923 as 'x'. The following induces an error, until -std is added to get
16924 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16925 array size at least. It's necessary to write '\x00'==0 to get something
16926 that's true only with -std. */
16927 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16929 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16930 inside strings and character constants. */
16932 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16934 int test (int i, double x);
16935 struct s1 {int (*f) (int a);};
16936 struct s2 {int (*f) (double a);};
16937 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16943 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16948 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16949 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16951 CC="$ac_save_CC $ac_arg"
16952 if ac_fn_c_try_compile "$LINENO"; then :
16953 ac_cv_prog_cc_c89=$ac_arg
16955 rm -f core conftest.err conftest.$ac_objext
16956 test "x$ac_cv_prog_cc_c89" != "xno" && break
16958 rm -f conftest.$ac_ext
16963 case "x$ac_cv_prog_cc_c89" in
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16966 $as_echo "none needed" >&6; } ;;
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16969 $as_echo "unsupported" >&6; } ;;
16971 CC="$CC $ac_cv_prog_cc_c89"
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16973 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16975 if test "x$ac_cv_prog_cc_c89" != xno; then :
16980 ac_cpp='$CPP $CPPFLAGS'
16981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16993 ac_cpp='$CPP $CPPFLAGS'
16994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
16999 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17000 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then :
17001 $as_echo_n "(cached) " >&6
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17010 #ifndef __INTEL_COMPILER
17018 if ac_fn_c_try_compile "$LINENO"; then :
17019 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17021 bakefile_cv_c_compiler___INTEL_COMPILER=no
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17029 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17030 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17036 ac_cpp='$CPP $CPPFLAGS'
17037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17044 if test "$INTELCC" = "yes"; then
17048 ac_cpp='$CPP $CPPFLAGS'
17049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17054 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17055 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
17056 $as_echo_n "(cached) " >&6
17058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17059 /* end confdefs.h. */
17065 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17073 if ac_fn_c_try_compile "$LINENO"; then :
17074 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17076 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17084 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17085 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17091 ac_cpp='$CPP $CPPFLAGS'
17092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17101 ac_cpp='$CPP $CPPFLAGS'
17102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17107 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17108 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
17109 $as_echo_n "(cached) " >&6
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17118 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17126 if ac_fn_c_try_compile "$LINENO"; then :
17127 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17129 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17137 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17138 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17144 ac_cpp='$CPP $CPPFLAGS'
17145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17153 if test "x$GCC" != "xyes"; then
17154 if test "xCC" = "xC"; then
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17156 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17157 if test "${bakefile_cv_c_exto+set}" = set; then :
17158 $as_echo_n "(cached) " >&6
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17171 rm -f conftest.$ac_objext conftest.$ac_ext.o
17172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17173 (eval $ac_compile) 2>&5
17175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17176 test $ac_status = 0; }; then :
17177 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
17179 conftest.$ac_ext.o)
17180 bakefile_cv_c_exto="-ext o"
17187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17189 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
17190 See \
`config.log' for more details" "$LINENO" 5 ; }
17193 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17197 $as_echo "$bakefile_cv_c_exto" >&6; }
17198 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17199 if test "c" = "c"; then
17200 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17202 if test "c" = "cxx"; then
17203 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17207 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17208 unset ac_cv_prog_cc_g
17209 ac_test_CFLAGS=${CFLAGS+set}
17210 ac_save_CFLAGS=$CFLAGS
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17212 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17213 if test "${ac_cv_prog_cc_g+set}" = set; then :
17214 $as_echo_n "(cached) " >&6
17216 ac_save_c_werror_flag=$ac_c_werror_flag
17217 ac_c_werror_flag=yes
17220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17221 /* end confdefs.h. */
17231 if ac_fn_c_try_compile "$LINENO"; then :
17232 ac_cv_prog_cc_g=yes
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17246 if ac_fn_c_try_compile "$LINENO"; then :
17249 ac_c_werror_flag=$ac_save_c_werror_flag
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17262 if ac_fn_c_try_compile "$LINENO"; then :
17263 ac_cv_prog_cc_g=yes
17265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17270 ac_c_werror_flag=$ac_save_c_werror_flag
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17273 $as_echo "$ac_cv_prog_cc_g" >&6; }
17274 if test "$ac_test_CFLAGS" = set; then
17275 CFLAGS=$ac_save_CFLAGS
17276 elif test $ac_cv_prog_cc_g = yes; then
17277 if test "$GCC" = yes; then
17283 if test "$GCC" = yes; then
17297 ac_cpp='$CPP $CPPFLAGS'
17298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17303 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17304 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17305 $as_echo_n "(cached) " >&6
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17322 if ac_fn_c_try_compile "$LINENO"; then :
17323 bakefile_cv_c_compiler___xlC__=yes
17325 bakefile_cv_c_compiler___xlC__=no
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17333 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17334 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17340 ac_cpp='$CPP $CPPFLAGS'
17341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17353 ac_cpp='$CPP $CPPFLAGS'
17354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17359 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17360 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then :
17361 $as_echo_n "(cached) " >&6
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17378 if ac_fn_c_try_compile "$LINENO"; then :
17379 bakefile_cv_c_compiler___MWERKS__=yes
17381 bakefile_cv_c_compiler___MWERKS__=no
17384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17389 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17390 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17396 ac_cpp='$CPP $CPPFLAGS'
17397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17403 if test "$MWCC" != "yes"; then
17407 ac_cpp='$CPP $CPPFLAGS'
17408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17413 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17414 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17415 $as_echo_n "(cached) " >&6
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17432 if ac_fn_c_try_compile "$LINENO"; then :
17433 bakefile_cv_c_compiler___xlC__=yes
17435 bakefile_cv_c_compiler___xlC__=no
17438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17443 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17444 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17450 ac_cpp='$CPP $CPPFLAGS'
17451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17464 ac_cpp='$CPP $CPPFLAGS'
17465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17470 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17471 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then :
17472 $as_echo_n "(cached) " >&6
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17481 #ifndef _SGI_COMPILER_VERSION
17489 if ac_fn_c_try_compile "$LINENO"; then :
17490 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17492 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17500 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17501 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17507 ac_cpp='$CPP $CPPFLAGS'
17508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17517 if test "$INTELCC" != "yes"; then
17521 ac_cpp='$CPP $CPPFLAGS'
17522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17527 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17528 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17529 $as_echo_n "(cached) " >&6
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17546 if ac_fn_c_try_compile "$LINENO"; then :
17547 bakefile_cv_c_compiler___SUNPRO_C=yes
17549 bakefile_cv_c_compiler___SUNPRO_C=no
17552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17557 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17558 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17564 ac_cpp='$CPP $CPPFLAGS'
17565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17578 ac_cpp='$CPP $CPPFLAGS'
17579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17584 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17585 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then :
17586 $as_echo_n "(cached) " >&6
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17603 if ac_fn_c_try_compile "$LINENO"; then :
17604 bakefile_cv_c_compiler___HP_cc=yes
17606 bakefile_cv_c_compiler___HP_cc=no
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17614 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17615 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17621 ac_cpp='$CPP $CPPFLAGS'
17622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17634 ac_cpp='$CPP $CPPFLAGS'
17635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17640 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17641 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then :
17642 $as_echo_n "(cached) " >&6
17644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17645 /* end confdefs.h. */
17659 if ac_fn_c_try_compile "$LINENO"; then :
17660 bakefile_cv_c_compiler___DECC=yes
17662 bakefile_cv_c_compiler___DECC=no
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17670 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17671 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17677 ac_cpp='$CPP $CPPFLAGS'
17678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17690 ac_cpp='$CPP $CPPFLAGS'
17691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17696 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17697 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17698 $as_echo_n "(cached) " >&6
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h. */
17715 if ac_fn_c_try_compile "$LINENO"; then :
17716 bakefile_cv_c_compiler___SUNPRO_C=yes
17718 bakefile_cv_c_compiler___SUNPRO_C=no
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17726 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17727 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17733 ac_cpp='$CPP $CPPFLAGS'
17734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17747 ac_cpp='$CPP $CPPFLAGS'
17748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17752 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17753 # On Suns, sometimes $CPP names a directory.
17754 if test -n "$CPP" && test -d "$CPP"; then
17757 if test -z "$CPP"; then
17758 if test "${ac_cv_prog_CPP+set}" = set; then :
17759 $as_echo_n "(cached) " >&6
17761 # Double quotes because CPP needs to be expanded
17762 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17764 ac_preproc_ok=false
17765 for ac_c_preproc_warn_flag in '' yes
17767 # Use a header file that comes with gcc, so configuring glibc
17768 # with a fresh cross-compiler works.
17769 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17770 # <limits.h> exists even on freestanding compilers.
17771 # On the NeXT, cc -E runs the code through the compiler's parser,
17772 # not just through cpp. "Syntax error" is here to catch this case.
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17776 # include <limits.h>
17778 # include <assert.h>
17782 if ac_fn_c_try_cpp "$LINENO"; then :
17785 # Broken: fails on valid input.
17788 rm -f conftest.err conftest.i conftest.$ac_ext
17790 # OK, works on sane cases. Now check whether nonexistent headers
17791 # can be detected and how.
17792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17793 /* end confdefs.h. */
17794 #include <ac_nonexistent.h>
17796 if ac_fn_c_try_cpp "$LINENO"; then :
17797 # Broken: success on invalid input.
17800 # Passes both tests.
17804 rm -f conftest.err conftest.i conftest.$ac_ext
17807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17808 rm -f conftest.i conftest.err conftest.
$ac_ext
17809 if $ac_preproc_ok; then :
17814 ac_cv_prog_CPP
=$CPP
17817 CPP
=$ac_cv_prog_CPP
17819 ac_cv_prog_CPP
=$CPP
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17822 $as_echo "$CPP" >&6; }
17823 ac_preproc_ok
=false
17824 for ac_c_preproc_warn_flag
in '' yes
17826 # Use a header file that comes with gcc, so configuring glibc
17827 # with a fresh cross-compiler works.
17828 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17829 # <limits.h> exists even on freestanding compilers.
17830 # On the NeXT, cc -E runs the code through the compiler's parser,
17831 # not just through cpp. "Syntax error" is here to catch this case.
17832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17833 /* end confdefs.h. */
17835 # include <limits.h>
17837 # include <assert.h>
17841 if ac_fn_c_try_cpp
"$LINENO"; then :
17844 # Broken: fails on valid input.
17847 rm -f conftest.err conftest.i conftest.
$ac_ext
17849 # OK, works on sane cases. Now check whether nonexistent headers
17850 # can be detected and how.
17851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17853 #include <ac_nonexistent.h>
17855 if ac_fn_c_try_cpp
"$LINENO"; then :
17856 # Broken: success on invalid input.
17859 # Passes both tests.
17863 rm -f conftest.err conftest.i conftest.
$ac_ext
17866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17867 rm -f conftest.i conftest.err conftest.
$ac_ext
17868 if $ac_preproc_ok; then :
17871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17873 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
17874 See \`config.log' for more details" "$LINENO" 5 ; }
17878 ac_cpp
='$CPP $CPPFLAGS'
17879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17885 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17886 if test "${ac_cv_path_GREP+set}" = set; then :
17887 $as_echo_n "(cached) " >&6
17889 if test -z "$GREP"; then
17890 ac_path_GREP_found
=false
17891 # Loop through the user's path and test for each of PROGNAME-LIST
17892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17893 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17896 test -z "$as_dir" && as_dir
=.
17897 for ac_prog
in grep ggrep
; do
17898 for ac_exec_ext
in '' $ac_executable_extensions; do
17899 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17900 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17901 # Check for GNU ac_path_GREP and select it if it is found.
17902 # Check for GNU $ac_path_GREP
17903 case `"$ac_path_GREP" --version 2>&1` in
17905 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17908 $as_echo_n 0123456789 >"conftest.in"
17911 cat "conftest.in" "conftest.in" >"conftest.tmp"
17912 mv "conftest.tmp" "conftest.in"
17913 cp "conftest.in" "conftest.nl"
17914 $as_echo 'GREP' >> "conftest.nl"
17915 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17916 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17917 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
17918 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17919 # Best one so far, save it but keep looking for a better one
17920 ac_cv_path_GREP
="$ac_path_GREP"
17921 ac_path_GREP_max
=$ac_count
17923 # 10*(2^10) chars as input seems more than enough
17924 test $ac_count -gt 10 && break
17926 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17929 $ac_path_GREP_found && break 3
17934 if test -z "$ac_cv_path_GREP"; then
17935 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17938 ac_cv_path_GREP
=$GREP
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17943 $as_echo "$ac_cv_path_GREP" >&6; }
17944 GREP
="$ac_cv_path_GREP"
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17948 $as_echo_n "checking for egrep... " >&6; }
17949 if test "${ac_cv_path_EGREP+set}" = set; then :
17950 $as_echo_n "(cached) " >&6
17952 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17953 then ac_cv_path_EGREP
="$GREP -E"
17955 if test -z "$EGREP"; then
17956 ac_path_EGREP_found
=false
17957 # Loop through the user's path and test for each of PROGNAME-LIST
17958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17959 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17962 test -z "$as_dir" && as_dir
=.
17963 for ac_prog
in egrep; do
17964 for ac_exec_ext
in '' $ac_executable_extensions; do
17965 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17966 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17967 # Check for GNU ac_path_EGREP and select it if it is found.
17968 # Check for GNU $ac_path_EGREP
17969 case `"$ac_path_EGREP" --version 2>&1` in
17971 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17974 $as_echo_n 0123456789 >"conftest.in"
17977 cat "conftest.in" "conftest.in" >"conftest.tmp"
17978 mv "conftest.tmp" "conftest.in"
17979 cp "conftest.in" "conftest.nl"
17980 $as_echo 'EGREP' >> "conftest.nl"
17981 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17982 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17983 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
17984 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17985 # Best one so far, save it but keep looking for a better one
17986 ac_cv_path_EGREP
="$ac_path_EGREP"
17987 ac_path_EGREP_max
=$ac_count
17989 # 10*(2^10) chars as input seems more than enough
17990 test $ac_count -gt 10 && break
17992 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17995 $ac_path_EGREP_found && break 3
18000 if test -z "$ac_cv_path_EGREP"; then
18001 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18004 ac_cv_path_EGREP
=$EGREP
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18010 $as_echo "$ac_cv_path_EGREP" >&6; }
18011 EGREP
="$ac_cv_path_EGREP"
18014 if test $ac_cv_c_compiler_gnu = yes; then
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18016 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18017 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
18018 $as_echo_n "(cached) " >&6
18020 ac_pattern
="Autoconf.*'x'"
18021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18022 /* end confdefs.h. */
18026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18027 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18028 ac_cv_prog_gcc_traditional
=yes
18030 ac_cv_prog_gcc_traditional
=no
18035 if test $ac_cv_prog_gcc_traditional = no
; then
18036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18037 /* end confdefs.h. */
18038 #include <termio.h>
18041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18042 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18043 ac_cv_prog_gcc_traditional
=yes
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18050 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18051 if test $ac_cv_prog_gcc_traditional = yes; then
18052 CC
="$CC -traditional"
18057 CXXFLAGS
=${CXXFLAGS:=}
18059 ac_cpp
='$CXXCPP $CPPFLAGS'
18060 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18061 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18062 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18063 if test -z "$CXX"; then
18064 if test -n "$CCC"; then
18067 if test -n "$ac_tool_prefix"; then
18068 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18070 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18071 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18073 $as_echo_n "checking for $ac_word... " >&6; }
18074 if test "${ac_cv_prog_CXX+set}" = set; then :
18075 $as_echo_n "(cached) " >&6
18077 if test -n "$CXX"; then
18078 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18081 for as_dir
in $PATH
18084 test -z "$as_dir" && as_dir
=.
18085 for ac_exec_ext
in '' $ac_executable_extensions; do
18086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18087 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18097 CXX
=$ac_cv_prog_CXX
18098 if test -n "$CXX"; then
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18100 $as_echo "$CXX" >&6; }
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18103 $as_echo "no" >&6; }
18107 test -n "$CXX" && break
18110 if test -z "$CXX"; then
18112 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18114 # Extract the first word of "$ac_prog", so it can be a program name with args.
18115 set dummy
$ac_prog; ac_word
=$2
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18117 $as_echo_n "checking for $ac_word... " >&6; }
18118 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
18119 $as_echo_n "(cached) " >&6
18121 if test -n "$ac_ct_CXX"; then
18122 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18125 for as_dir
in $PATH
18128 test -z "$as_dir" && as_dir
=.
18129 for ac_exec_ext
in '' $ac_executable_extensions; do
18130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18131 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18141 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18142 if test -n "$ac_ct_CXX"; then
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18144 $as_echo "$ac_ct_CXX" >&6; }
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18147 $as_echo "no" >&6; }
18151 test -n "$ac_ct_CXX" && break
18154 if test "x$ac_ct_CXX" = x
; then
18157 case $cross_compiling:$ac_tool_warned in
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18161 ac_tool_warned
=yes ;;
18169 # Provide some information about the compiler.
18170 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18173 for ac_option
in --version -v -V -qversion; do
18174 { { ac_try
="$ac_compiler $ac_option >&5"
18175 case "(($ac_try" in
18176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18177 *) ac_try_echo=$ac_try;;
18179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18180 $as_echo "$ac_try_echo"; } >&5
18181 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18183 if test -s conftest.err; then
18185 ... rest of stderr output deleted ...
18186 10q' conftest.err >conftest.er1
18187 cat conftest.er1 >&5
18189 rm -f conftest.er1 conftest.err
18190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18191 test $ac_status = 0; }
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18195 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18196 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
18197 $as_echo_n "(cached) " >&6
18199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18200 /* end confdefs.h. */
18213 if ac_fn_cxx_try_compile "$LINENO"; then :
18214 ac_compiler_gnu=yes
18218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18223 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18224 if test $ac_compiler_gnu = yes; then
18229 ac_test_CXXFLAGS=${CXXFLAGS+set}
18230 ac_save_CXXFLAGS=$CXXFLAGS
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18232 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18233 if test "${ac_cv_prog_cxx_g+set}" = set; then :
18234 $as_echo_n "(cached) " >&6
18236 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18237 ac_cxx_werror_flag=yes
18238 ac_cv_prog_cxx_g=no
18240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18241 /* end confdefs.h. */
18251 if ac_fn_cxx_try_compile "$LINENO"; then :
18252 ac_cv_prog_cxx_g=yes
18255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h. */
18266 if ac_fn_cxx_try_compile "$LINENO"; then :
18269 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18272 /* end confdefs.h. */
18282 if ac_fn_cxx_try_compile "$LINENO"; then :
18283 ac_cv_prog_cxx_g=yes
18285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18290 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18293 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18294 if test "$ac_test_CXXFLAGS" = set; then
18295 CXXFLAGS=$ac_save_CXXFLAGS
18296 elif test $ac_cv_prog_cxx_g = yes; then
18297 if test "$GXX" = yes; then
18303 if test "$GXX" = yes; then
18310 ac_cpp='$CPP $CPPFLAGS'
18311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18323 ac_cpp='$CXXCPP $CPPFLAGS'
18324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18329 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18330 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then :
18331 $as_echo_n "(cached) " >&6
18333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18334 /* end confdefs.h. */
18340 #ifndef __INTEL_COMPILER
18348 if ac_fn_cxx_try_compile "$LINENO"; then :
18349 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18351 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18359 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18360 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18366 ac_cpp='$CPP $CPPFLAGS'
18367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18374 if test "$INTELCXX" = "yes"; then
18378 ac_cpp='$CXXCPP $CPPFLAGS'
18379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18384 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18385 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
18386 $as_echo_n "(cached) " >&6
18388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18389 /* end confdefs.h. */
18395 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18403 if ac_fn_cxx_try_compile "$LINENO"; then :
18404 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18406 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18414 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18415 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18421 ac_cpp='$CPP $CPPFLAGS'
18422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18431 ac_cpp='$CXXCPP $CPPFLAGS'
18432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18437 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18438 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
18439 $as_echo_n "(cached) " >&6
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18448 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18456 if ac_fn_cxx_try_compile "$LINENO"; then :
18457 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18459 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18467 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18468 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18474 ac_cpp='$CPP $CPPFLAGS'
18475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18483 if test "x$GCXX" != "xyes"; then
18484 if test "xCXX" = "xC"; then
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18486 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18487 if test "${bakefile_cv_c_exto+set}" = set; then :
18488 $as_echo_n "(cached) " >&6
18490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h. */
18501 rm -f conftest.$ac_objext conftest.$ac_ext.o
18502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18503 (eval $ac_compile) 2>&5
18505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18506 test $ac_status = 0; }; then :
18507 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18509 conftest.$ac_ext.o)
18510 bakefile_cv_c_exto="-ext o"
18517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18519 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18520 See \
`config.log' for more details" "$LINENO" 5 ; }
18523 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18527 $as_echo "$bakefile_cv_c_exto" >&6; }
18528 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18529 if test "c" = "c"; then
18530 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18532 if test "c" = "cxx"; then
18533 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18537 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18538 unset ac_cv_prog_cc_g
18539 ac_test_CFLAGS=${CFLAGS+set}
18540 ac_save_CFLAGS=$CFLAGS
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18542 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18543 if test "${ac_cv_prog_cc_g+set}" = set; then :
18544 $as_echo_n "(cached) " >&6
18546 ac_save_c_werror_flag=$ac_c_werror_flag
18547 ac_c_werror_flag=yes
18550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18551 /* end confdefs.h. */
18561 if ac_fn_c_try_compile "$LINENO"; then :
18562 ac_cv_prog_cc_g=yes
18565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h. */
18576 if ac_fn_c_try_compile "$LINENO"; then :
18579 ac_c_werror_flag=$ac_save_c_werror_flag
18581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18582 /* end confdefs.h. */
18592 if ac_fn_c_try_compile "$LINENO"; then :
18593 ac_cv_prog_cc_g=yes
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600 ac_c_werror_flag=$ac_save_c_werror_flag
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18603 $as_echo "$ac_cv_prog_cc_g" >&6; }
18604 if test "$ac_test_CFLAGS" = set; then
18605 CFLAGS=$ac_save_CFLAGS
18606 elif test $ac_cv_prog_cc_g = yes; then
18607 if test "$GCC" = yes; then
18613 if test "$GCC" = yes; then
18627 ac_cpp='$CXXCPP $CPPFLAGS'
18628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18633 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18634 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18635 $as_echo_n "(cached) " >&6
18637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18638 /* end confdefs.h. */
18652 if ac_fn_cxx_try_compile "$LINENO"; then :
18653 bakefile_cv_cxx_compiler___xlC__=yes
18655 bakefile_cv_cxx_compiler___xlC__=no
18658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18663 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18664 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18670 ac_cpp='$CPP $CPPFLAGS'
18671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18683 ac_cpp='$CXXCPP $CPPFLAGS'
18684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18689 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18690 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then :
18691 $as_echo_n "(cached) " >&6
18693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18694 /* end confdefs.h. */
18708 if ac_fn_cxx_try_compile "$LINENO"; then :
18709 bakefile_cv_cxx_compiler___MWERKS__=yes
18711 bakefile_cv_cxx_compiler___MWERKS__=no
18714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18719 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18720 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18726 ac_cpp='$CPP $CPPFLAGS'
18727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18733 if test "$MWCXX" != "yes"; then
18737 ac_cpp='$CXXCPP $CPPFLAGS'
18738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18743 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18744 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18745 $as_echo_n "(cached) " >&6
18747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748 /* end confdefs.h. */
18762 if ac_fn_cxx_try_compile "$LINENO"; then :
18763 bakefile_cv_cxx_compiler___xlC__=yes
18765 bakefile_cv_cxx_compiler___xlC__=no
18768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18773 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18774 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18780 ac_cpp='$CPP $CPPFLAGS'
18781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18794 ac_cpp='$CXXCPP $CPPFLAGS'
18795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18800 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18801 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then :
18802 $as_echo_n "(cached) " >&6
18804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18805 /* end confdefs.h. */
18811 #ifndef _SGI_COMPILER_VERSION
18819 if ac_fn_cxx_try_compile "$LINENO"; then :
18820 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18822 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18830 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18831 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18837 ac_cpp='$CPP $CPPFLAGS'
18838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18847 if test "$INTELCXX" != "yes"; then
18851 ac_cpp='$CXXCPP $CPPFLAGS'
18852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18857 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18858 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
18859 $as_echo_n "(cached) " >&6
18861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h. */
18868 #ifndef __SUNPRO_CC
18876 if ac_fn_cxx_try_compile "$LINENO"; then :
18877 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18879 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18887 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18888 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18894 ac_cpp='$CPP $CPPFLAGS'
18895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18908 ac_cpp='$CXXCPP $CPPFLAGS'
18909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18914 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18915 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then :
18916 $as_echo_n "(cached) " >&6
18918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18919 /* end confdefs.h. */
18933 if ac_fn_cxx_try_compile "$LINENO"; then :
18934 bakefile_cv_cxx_compiler___HP_aCC=yes
18936 bakefile_cv_cxx_compiler___HP_aCC=no
18939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18944 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18945 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18951 ac_cpp='$CPP $CPPFLAGS'
18952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18964 ac_cpp='$CXXCPP $CPPFLAGS'
18965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
18970 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
18971 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then :
18972 $as_echo_n "(cached) " >&6
18974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h. */
18989 if ac_fn_cxx_try_compile "$LINENO"; then :
18990 bakefile_cv_cxx_compiler___DECCXX=yes
18992 bakefile_cv_cxx_compiler___DECCXX=no
18995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19000 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19001 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19007 ac_cpp='$CPP $CPPFLAGS'
19008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19020 ac_cpp='$CXXCPP $CPPFLAGS'
19021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19026 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19027 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
19028 $as_echo_n "(cached) " >&6
19030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19031 /* end confdefs.h. */
19037 #ifndef __SUNPRO_CC
19045 if ac_fn_cxx_try_compile "$LINENO"; then :
19046 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19048 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19056 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19057 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19063 ac_cpp='$CPP $CPPFLAGS'
19064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19076 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19077 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19080 if test "x$SUNCXX" != xyes; then
19081 if test -n "$ac_tool_prefix"; then
19082 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19083 set dummy ${ac_tool_prefix}ar; ac_word=$2
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19085 $as_echo_n "checking for $ac_word... " >&6; }
19086 if test "${ac_cv_prog_AR+set}" = set; then :
19087 $as_echo_n "(cached) " >&6
19089 if test -n "$AR"; then
19090 ac_cv_prog_AR="$AR" # Let the user override the test.
19092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19093 for as_dir in $PATH
19096 test -z "$as_dir" && as_dir=.
19097 for ac_exec_ext in '' $ac_executable_extensions; do
19098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19099 ac_cv_prog_AR="${ac_tool_prefix}ar"
19100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19110 if test -n "$AR"; then
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19112 $as_echo "$AR" >&6; }
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19115 $as_echo "no" >&6; }
19120 if test -z "$ac_cv_prog_AR"; then
19122 # Extract the first word of "ar", so it can be a program name with args.
19123 set dummy ar; ac_word=$2
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19125 $as_echo_n "checking for $ac_word... " >&6; }
19126 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
19127 $as_echo_n "(cached) " >&6
19129 if test -n "$ac_ct_AR"; then
19130 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19133 for as_dir in $PATH
19136 test -z "$as_dir" && as_dir=.
19137 for ac_exec_ext in '' $ac_executable_extensions; do
19138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19139 ac_cv_prog_ac_ct_AR="ar"
19140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19149 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19150 if test -n "$ac_ct_AR"; then
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19152 $as_echo "$ac_ct_AR" >&6; }
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19155 $as_echo "no" >&6; }
19158 if test "x$ac_ct_AR" = x; then
19161 case $cross_compiling:$ac_tool_warned in
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19165 ac_tool_warned=yes ;;
19170 AR="$ac_cv_prog_AR"
19173 if test "x$AR" = "x" ; then
19174 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19179 if test "$wxUSE_MAC" = 1; then
19181 retest_macosx_linking=no
19185 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19186 if test "x$wxUSE_MAC_ARCH" != xno; then
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19188 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19191 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19192 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19193 else OSX_ARCH_OPTS="ppc,i386"
19194 if test "$wxUSE_OSX_COCOA" = 1; then
19195 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19200 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19202 $as_echo "$OSX_ARCH_OPTS" >&6; }
19204 retest_macosx_linking=yes
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19207 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19210 if test "x$wxUSE_MAC_ARCH" != xno; then
19211 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19215 if test "x$OSX_ARCH_OPTS" != "x"; then
19216 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19218 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19219 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19220 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19221 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19222 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19225 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19227 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19228 # TODO: Search for most recent SDK and use it.
19229 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19233 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19235 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19236 if ! test -d "$wxUSE_MACOSX_SDK"; then
19237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19239 as_fn_error $? "not found
19240 See \
`config.log' for more details" "$LINENO" 5 ; }
19242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19243 $as_echo "exists" >&6; }
19245 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19246 retest_macosx_linking=yes
19249 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19250 wxUSE_MACOSX_VERSION_MIN=
19251 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19252 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19254 $as_echo_n "checking SDK deployment version... " >&6; }
19256 MACOSX_SDK_PLIST_VERSION_MIN=`defaults
read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings
| grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19258 # If that failed, try again with the new key
19259 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19261 MACOSX_SDK_PLIST_VERSION_MIN=`defaults
read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties
| grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19265 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19266 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19268 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19271 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19272 wxUSE_MACOSX_VERSION_MIN=
19275 wxUSE_MACOSX_VERSION_MIN=
19277 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19278 for ac_prog in sw_vers
19280 # Extract the first word of "$ac_prog", so it can be a program name with args.
19281 set dummy $ac_prog; ac_word=$2
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19283 $as_echo_n "checking for $ac_word... " >&6; }
19284 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then :
19285 $as_echo_n "(cached) " >&6
19287 if test -n "$OSX_SW_VERS"; then
19288 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19291 for as_dir in $PATH
19294 test -z "$as_dir" && as_dir=.
19295 for ac_exec_ext in '' $ac_executable_extensions; do
19296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19297 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19307 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19308 if test -n "$OSX_SW_VERS"; then
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_SW_VERS" >&5
19310 $as_echo "$OSX_SW_VERS" >&6; }
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19313 $as_echo "no" >&6; }
19317 test -n "$OSX_SW_VERS" && break
19320 if test "$OSX_SW_VERS" != ""; then
19321 OSX_VERSION=`sw_vers
-productVersion | grep 10.
[0-9]`
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19324 $as_echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19328 case "$OSX_VERSION" in
19330 wxUSE_MACOSX_VERSION_MIN=10.4
19334 if test "$wxUSE_OSX_CARBON" = 1; then
19335 # otherwise configure stops on leopard for universal_binary
19336 wxUSE_MACOSX_VERSION_MIN=10.4
19338 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19339 wxUSE_MACOSX_VERSION_MIN=10.5
19346 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19350 if test "$wxUSE_OSX_CARBON" = 1; then
19354 if test "x$NEEDS_GCC40" == "xyes"; then
19355 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19356 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19357 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19358 if test "x$CC" = "xgcc"; then
19359 CCVERSION=`$CC --version | grep 4.
[2-9].
`
19360 if test "x$CCVERSION" != "x"; then
19361 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19366 if test "x$CXX" = "xg++"; then
19367 CCVERSION=`$CXX --version | grep 4.
[2-9].
`
19368 if test "x$CCVERSION" != "x"; then
19374 if test "x$MACOSX_SDK_OPTS" != "x"; then
19375 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19376 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19377 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19380 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19381 if test "$wxUSE_OSX_IPHONE" = 1; then
19382 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19384 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19386 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19387 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19388 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19389 retest_macosx_linking=yes
19392 if test "x$retest_macosx_linking" = "xyes"; then
19394 ac_cpp='$CPP $CPPFLAGS'
19395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler works with SDK/version options" >&5
19400 $as_echo_n "checking if C compiler works with SDK/version options... " >&6; }
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19412 if ac_fn_c_try_link "$LINENO"; then :
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19414 $as_echo "yes" >&6; }
19416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19418 as_fn_error $? "no. Try a different SDK
19419 See \
`config.log' for more details" "$LINENO" 5 ; }; exit 1
19421 rm -f core conftest.err conftest.$ac_objext \
19422 conftest$ac_exeext conftest.$ac_ext
19424 ac_cpp='$CPP $CPPFLAGS'
19425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19431 ac_cpp='$CXXCPP $CPPFLAGS'
19432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler works with SDK/version options" >&5
19437 $as_echo_n "checking if C++ compiler works with SDK/version options... " >&6; }
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19449 if ac_fn_cxx_try_link "$LINENO"; then :
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19451 $as_echo "yes" >&6; }
19453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19455 as_fn_error $? "no. Try a different SDK
19456 See \
`config.log' for more details" "$LINENO" 5 ; }; exit 1
19458 rm -f core conftest.err conftest.$ac_objext \
19459 conftest$ac_exeext conftest.$ac_ext
19461 ac_cpp='$CPP $CPPFLAGS'
19462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19472 INSTALL_PROGRAM="cp -fp"
19473 INSTALL_DATA="cp -fp"
19480 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19481 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19484 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19485 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19488 if test "x$USE_AIX" = "x1"; then
19489 if test "x$XLCXX" = "xyes"; then
19490 CXXFLAGS="-qunique $CXXFLAGS"
19493 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19497 powerpc-*-darwin* )
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19499 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h. */
19506 #ifndef __POWERPC__
19507 choke me for lack of PowerPC
19514 if ac_fn_c_try_compile "$LINENO"; then :
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19516 $as_echo "yes" >&6; }
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19519 $as_echo "no" >&6; }
19520 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19531 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19533 /* end confdefs.h. */
19534 #include <CoreFoundation/CFBase.h>
19544 if ac_fn_c_try_compile "$LINENO"; then :
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19546 $as_echo "yes" >&6; }
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19549 $as_echo "no" >&6; }
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19551 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19554 #define __CF_USE_FRAMEWORK_INCLUDES__
19555 #include <CoreFoundation/CFBase.h>
19565 if ac_fn_c_try_compile "$LINENO"; then :
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19567 $as_echo "yes" >&6; }
19568 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19572 as_fn_error $? "no. CoreFoundation not available.
19573 See \
`config.log' for more details" "$LINENO" 5 ; }
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585 doesnt_want_win32=0
19588 if test "$wxUSE_MSW" = 1 ; then
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19592 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19593 if test "${wx_cv_nocygwin+set}" = set; then :
19594 $as_echo_n "(cached) " >&6
19597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19598 /* end confdefs.h. */
19612 if ac_fn_c_try_compile "$LINENO"; then :
19618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19623 $as_echo "$wx_cv_nocygwin" >&6; }
19625 if test "$wx_cv_nocygwin" = "yes"; then
19628 doesnt_want_win32=1
19631 if test "$wants_win32" = 1 ; then
19632 BAKEFILE_FORCE_PLATFORM=win32
19640 if test "$wxUSE_WINE" = "yes"; then
19642 LDFLAGS_GUI="-mwindows"
19645 if test "$wants_win32" = 1 ; then
19648 $as_echo "#define __WIN32__ 1" >>confdefs.h
19650 $as_echo "#define __WIN95__ 1" >>confdefs.h
19652 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19654 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19656 $as_echo "#define STRICT 1" >>confdefs.h
19659 if test "$doesnt_want_win32" = 1 ; then
19664 if test "$USE_UNIX" = 1 ; then
19666 $as_echo "#define __UNIX__ 1" >>confdefs.h
19671 *-pc-os2_emx | *-pc-os2-emx )
19672 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19674 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19675 if test "${ac_cv_lib_cExt_drand48+set}" = set; then :
19676 $as_echo_n "(cached) " >&6
19678 ac_check_lib_save_LIBS=$LIBS
19679 LIBS="-lcExt $LIBS"
19680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681 /* end confdefs.h. */
19683 /* Override any GCC internal prototype to avoid an error.
19684 Use char because int might match the return type of a GCC
19685 builtin and then its argument prototype would still apply. */
19698 if ac_fn_c_try_link "$LINENO"; then :
19699 ac_cv_lib_cExt_drand48=yes
19701 ac_cv_lib_cExt_drand48=no
19703 rm -f core conftest.err conftest.$ac_objext \
19704 conftest$ac_exeext conftest.$ac_ext
19705 LIBS=$ac_check_lib_save_LIBS
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19708 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19709 if test "x$ac_cv_lib_cExt_drand48" = x""yes; then :
19710 LIBS="$LIBS -lcExt"
19714 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19717 $as_echo_n "checking for gcc/libc version... " >&6; }
19718 if test "${wx_cv_gccversion+set}" = set; then :
19719 $as_echo_n "(cached) " >&6
19722 if test "$cross_compiling" = yes; then :
19723 wx_cv_gccversion="EMX2"
19726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19727 /* end confdefs.h. */
19733 FILE *f=fopen("conftestval", "w");
19738 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19740 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19750 if ac_fn_c_try_run "$LINENO"; then :
19751 wx_cv_gccversion=`cat conftestval
`
19753 wx_cv_gccversion="EMX2"
19755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19756 conftest.$ac_objext conftest.beam conftest.$ac_ext
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19762 $as_echo "$wx_cv_gccversion" >&6; }
19763 if test "$wx_cv_gccversion" = "EMX2"; then
19764 LIBS="$LIBS -lstdcpp"
19765 LDFLAGS="$LDFLAGS -Zsysv-signals"
19767 if test "$wx_cv_gccversion" = "EMX3"; then
19768 LIBS="$LIBS -lstdcxx -lgcc"
19769 LDFLAGS="$LDFLAGS -Zsysv-signals"
19771 LIBS="$LIBS -lstdc++"
19774 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19776 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19784 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19785 if test "${ac_cv_string_strcasecmp+set}" = set; then :
19786 $as_echo_n "(cached) " >&6
19789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19792 #include <string.h>
19798 strcasecmp("foo", "bar");
19804 if ac_fn_c_try_link "$LINENO"; then :
19805 ac_cv_string_strcasecmp=yes
19807 ac_cv_string_strcasecmp=no
19810 rm -f core conftest.err conftest.$ac_objext \
19811 conftest$ac_exeext conftest.$ac_ext
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19815 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19817 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19818 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19822 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19823 if test "${ac_cv_strings_strcasecmp+set}" = set; then :
19824 $as_echo_n "(cached) " >&6
19827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19828 /* end confdefs.h. */
19830 #include <strings.h>
19836 strcasecmp("foo", "bar");
19842 if ac_fn_c_try_link "$LINENO"; then :
19843 ac_cv_strings_strcasecmp=yes
19845 ac_cv_strings_strcasecmp=no
19848 rm -f core conftest.err conftest.$ac_objext \
19849 conftest$ac_exeext conftest.$ac_ext
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19853 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19855 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19856 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19859 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19868 $as_echo_n "checking for ANSI C header files... " >&6; }
19869 if test "${ac_cv_header_stdc+set}" = set; then :
19870 $as_echo_n "(cached) " >&6
19872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19874 #include <stdlib.h>
19875 #include <stdarg.h>
19876 #include <string.h>
19887 if ac_fn_c_try_compile "$LINENO"; then :
19888 ac_cv_header_stdc=yes
19890 ac_cv_header_stdc=no
19892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894 if test $ac_cv_header_stdc = yes; then
19895 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19898 #include <string.h>
19901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19902 $EGREP "memchr" >/dev/null 2>&1; then :
19905 ac_cv_header_stdc=no
19911 if test $ac_cv_header_stdc = yes; then
19912 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19914 /* end confdefs.h. */
19915 #include <stdlib.h>
19918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19919 $EGREP "free" >/dev/null 2>&1; then :
19922 ac_cv_header_stdc=no
19928 if test $ac_cv_header_stdc = yes; then
19929 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19930 if test "$cross_compiling" = yes; then :
19933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19934 /* end confdefs.h. */
19936 #include <stdlib.h>
19937 #if ((' ' & 0x0FF) == 0x020)
19938 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19939 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19941 # define ISLOWER(c) \
19942 (('a' <= (c) && (c) <= 'i') \
19943 || ('j' <= (c) && (c) <= 'r') \
19944 || ('s' <= (c) && (c) <= 'z'))
19945 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19948 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19953 for (i = 0; i < 256; i++)
19954 if (XOR (islower (i), ISLOWER (i))
19955 || toupper (i) != TOUPPER (i))
19960 if ac_fn_c_try_run "$LINENO"; then :
19963 ac_cv_header_stdc=no
19965 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19966 conftest.$ac_objext conftest.beam conftest.$ac_ext
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19972 $as_echo "$ac_cv_header_stdc" >&6; }
19973 if test $ac_cv_header_stdc = yes; then
19975 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19979 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19980 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19981 inttypes.h stdint.h unistd.h
19983 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19984 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19986 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19987 cat >>confdefs.h <<_ACEOF
19988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19996 for ac_header in langinfo.h wchar.h
19998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20001 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20002 cat >>confdefs.h <<_ACEOF
20003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20011 if test "$ac_cv_header_wchar_h" != "yes"; then
20012 for ac_header in wcstr.h
20014 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20016 if test "x$ac_cv_header_wcstr_h" = x""yes; then :
20017 cat >>confdefs.h <<_ACEOF
20018 #define HAVE_WCSTR_H 1
20028 *-pc-os2_emx | *-pc-os2-emx )
20029 if test $ac_cv_header_langinfo_h = "yes" \
20030 -a \( "$wx_cv_gccversion" = "EMX2" \
20031 -o "$wx_cv_gccversion" = "EMX3" \
20032 -o "$wx_cv_gccversion" = "Innotek5" \); then
20033 LIBS="$LIBS -lintl"
20038 if test "$USE_UNIX" = 1 ; then
20039 for ac_header in sys/select.h
20041 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20043 if test "x$ac_cv_header_sys_select_h" = x""yes; then :
20044 cat >>confdefs.h <<_ACEOF
20045 #define HAVE_SYS_SELECT_H 1
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20056 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20057 if test "${ac_cv_c_const+set}" = set; then :
20058 $as_echo_n "(cached) " >&6
20060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20061 /* end confdefs.h. */
20066 /* FIXME: Include the comments suggested by Paul. */
20067 #ifndef __cplusplus
20068 /* Ultrix mips cc rejects this. */
20069 typedef int charset[2];
20071 /* SunOS 4.1.1 cc rejects this. */
20072 char const *const *pcpcc;
20074 /* NEC SVR4.0.2 mips cc rejects this. */
20075 struct point {int x, y;};
20076 static struct point const zero = {0,0};
20077 /* AIX XL C 1.02.0.0 rejects this.
20078 It does not let you subtract one const X* pointer from another in
20079 an arm of an if-expression whose if-part is not a constant
20081 const char *g = "string";
20082 pcpcc = &g + (g ? g-g : 0);
20083 /* HPUX 7.0 cc rejects these. */
20085 ppc = (char**) pcpcc;
20086 pcpcc = (char const *const *) ppc;
20087 { /* SCO 3.2v4 cc rejects this. */
20089 char const *s = 0 ? (char *) 0 : (char const *) 0;
20094 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20095 int x[] = {25, 17};
20096 const int *foo = &x[0];
20099 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20100 typedef const int *iptr;
20104 { /* AIX XL C 1.02.0.0 rejects this saying
20105 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20106 struct s { int j; const int *ap[3]; };
20107 struct s *b; b->j = 5;
20109 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20110 const int foo = 10;
20111 if (!foo) return 0;
20113 return !cs[0] && !zero.x;
20120 if ac_fn_c_try_compile "$LINENO"; then :
20125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20128 $as_echo "$ac_cv_c_const" >&6; }
20129 if test $ac_cv_c_const = no; then
20131 $as_echo "#define const /**/" >>confdefs.h
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20136 $as_echo_n "checking for inline... " >&6; }
20137 if test "${ac_cv_c_inline+set}" = set; then :
20138 $as_echo_n "(cached) " >&6
20141 for ac_kw in inline __inline__ __inline; do
20142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20143 /* end confdefs.h. */
20144 #ifndef __cplusplus
20146 static $ac_kw foo_t static_foo () {return 0; }
20147 $ac_kw foo_t foo () {return 0; }
20151 if ac_fn_c_try_compile "$LINENO"; then :
20152 ac_cv_c_inline=$ac_kw
20154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20155 test "$ac_cv_c_inline" != no && break
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20160 $as_echo "$ac_cv_c_inline" >&6; }
20162 case $ac_cv_c_inline in
20165 case $ac_cv_c_inline in
20167 *) ac_val=$ac_cv_c_inline;;
20169 cat >>confdefs.h <<_ACEOF
20170 #ifndef __cplusplus
20171 #define inline $ac_val
20178 # The cast to long int works around a bug in the HP C Compiler
20179 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20180 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20181 # This bug is HP SR number 8606223364.
20182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20183 $as_echo_n "checking size of short... " >&6; }
20184 if test "${ac_cv_sizeof_short+set}" = set; then :
20185 $as_echo_n "(cached) " >&6
20187 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20190 if test "$ac_cv_type_short" = yes; then
20191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20192 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20193 as_fn_error 77 "cannot compute sizeof (short)
20194 See \`config.log
' for more details" "$LINENO" 5 ; }
20196 ac_cv_sizeof_short=0
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20202 $as_echo "$ac_cv_sizeof_short" >&6; }
20206 cat >>confdefs.h <<_ACEOF
20207 #define SIZEOF_SHORT $ac_cv_sizeof_short
20211 # The cast to long int works around a bug in the HP C Compiler
20212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20214 # This bug is HP SR number 8606223364.
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20216 $as_echo_n "checking size of void *... " >&6; }
20217 if test "${ac_cv_sizeof_void_p+set}" = set; then :
20218 $as_echo_n "(cached) " >&6
20220 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20223 if test "$ac_cv_type_void_p" = yes; then
20224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20226 as_fn_error
77 "cannot compute sizeof (void *)
20227 See \`config.log' for more details" "$LINENO" 5 ; }
20229 ac_cv_sizeof_void_p
=0
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20235 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20239 cat >>confdefs.h
<<_ACEOF
20240 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20244 # The cast to long int works around a bug in the HP C Compiler
20245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20247 # This bug is HP SR number 8606223364.
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20249 $as_echo_n "checking size of int... " >&6; }
20250 if test "${ac_cv_sizeof_int+set}" = set; then :
20251 $as_echo_n "(cached) " >&6
20253 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20256 if test "$ac_cv_type_int" = yes; then
20257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20259 as_fn_error
77 "cannot compute sizeof (int)
20260 See \`config.log' for more details" "$LINENO" 5 ; }
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20268 $as_echo "$ac_cv_sizeof_int" >&6; }
20272 cat >>confdefs.h
<<_ACEOF
20273 #define SIZEOF_INT $ac_cv_sizeof_int
20277 # The cast to long int works around a bug in the HP C Compiler
20278 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20279 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20280 # This bug is HP SR number 8606223364.
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20282 $as_echo_n "checking size of long... " >&6; }
20283 if test "${ac_cv_sizeof_long+set}" = set; then :
20284 $as_echo_n "(cached) " >&6
20286 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20289 if test "$ac_cv_type_long" = yes; then
20290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20292 as_fn_error
77 "cannot compute sizeof (long)
20293 See \`config.log' for more details" "$LINENO" 5 ; }
20295 ac_cv_sizeof_long
=0
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20301 $as_echo "$ac_cv_sizeof_long" >&6; }
20305 cat >>confdefs.h
<<_ACEOF
20306 #define SIZEOF_LONG $ac_cv_sizeof_long
20310 # The cast to long int works around a bug in the HP C Compiler
20311 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20312 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20313 # This bug is HP SR number 8606223364.
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20315 $as_echo_n "checking size of size_t... " >&6; }
20316 if test "${ac_cv_sizeof_size_t+set}" = set; then :
20317 $as_echo_n "(cached) " >&6
20319 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20322 if test "$ac_cv_type_size_t" = yes; then
20323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20325 as_fn_error
77 "cannot compute sizeof (size_t)
20326 See \`config.log' for more details" "$LINENO" 5 ; }
20328 ac_cv_sizeof_size_t
=0
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20334 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20338 cat >>confdefs.h
<<_ACEOF
20339 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20346 # The cast to long int works around a bug in the HP C Compiler
20347 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20348 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20349 # This bug is HP SR number 8606223364.
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20351 $as_echo_n "checking size of long long... " >&6; }
20352 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20353 $as_echo_n "(cached) " >&6
20355 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20358 if test "$ac_cv_type_long_long" = yes; then
20359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20361 as_fn_error
77 "cannot compute sizeof (long long)
20362 See \`config.log' for more details" "$LINENO" 5 ; }
20364 ac_cv_sizeof_long_long
=0
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20370 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20374 cat >>confdefs.h
<<_ACEOF
20375 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20381 # The cast to long int works around a bug in the HP C Compiler
20382 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20383 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20384 # This bug is HP SR number 8606223364.
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20386 $as_echo_n "checking size of long long... " >&6; }
20387 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20388 $as_echo_n "(cached) " >&6
20390 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20393 if test "$ac_cv_type_long_long" = yes; then
20394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20396 as_fn_error
77 "cannot compute sizeof (long long)
20397 See \`config.log' for more details" "$LINENO" 5 ; }
20399 ac_cv_sizeof_long_long
=0
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20405 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20409 cat >>confdefs.h
<<_ACEOF
20410 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20414 if test "$ac_cv_sizeof_long_long" != 0; then
20415 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20419 # The cast to long int works around a bug in the HP C Compiler
20420 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20421 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20422 # This bug is HP SR number 8606223364.
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20424 $as_echo_n "checking size of long long... " >&6; }
20425 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20426 $as_echo_n "(cached) " >&6
20428 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20431 if test "$ac_cv_type_long_long" = yes; then
20432 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20434 as_fn_error
77 "cannot compute sizeof (long long)
20435 See \`config.log' for more details" "$LINENO" 5 ; }
20437 ac_cv_sizeof_long_long
=0
20442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20443 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20447 cat >>confdefs.h
<<_ACEOF
20448 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20454 # The cast to long int works around a bug in the HP C Compiler
20455 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20456 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20457 # This bug is HP SR number 8606223364.
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20459 $as_echo_n "checking size of wchar_t... " >&6; }
20460 if test "${ac_cv_sizeof_wchar_t+set}" = set; then :
20461 $as_echo_n "(cached) " >&6
20463 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20464 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20465 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20466 # error \"fake wchar_t\"
20468 #ifdef HAVE_WCHAR_H
20470 # include <stddef.h>
20472 # include <wchar.h>
20474 #ifdef HAVE_STDLIB_H
20475 # include <stdlib.h>
20483 if test "$ac_cv_type_wchar_t" = yes; then
20484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20486 as_fn_error
77 "cannot compute sizeof (wchar_t)
20487 See \`config.log' for more details" "$LINENO" 5 ; }
20489 ac_cv_sizeof_wchar_t
=0
20494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20495 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20499 cat >>confdefs.h
<<_ACEOF
20500 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20504 if test "$ac_cv_sizeof_wchar_t" = 0; then
20505 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20507 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20511 $as_echo_n "checking for va_copy... " >&6; }
20512 if test "${wx_cv_func_va_copy+set}" = set; then :
20513 $as_echo_n "(cached) " >&6
20517 ac_cpp
='$CXXCPP $CPPFLAGS'
20518 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20519 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20520 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20523 /* end confdefs.h. */
20526 #include <stdarg.h>
20527 void foo(char *f, ...)
20542 if ac_fn_cxx_try_link
"$LINENO"; then :
20543 wx_cv_func_va_copy
=yes
20545 wx_cv_func_va_copy
=no
20548 rm -f core conftest.err conftest.
$ac_objext \
20549 conftest
$ac_exeext conftest.
$ac_ext
20551 ac_cpp
='$CPP $CPPFLAGS'
20552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20560 $as_echo "$wx_cv_func_va_copy" >&6; }
20562 if test $wx_cv_func_va_copy = "yes"; then
20563 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20567 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20568 if test "${wx_cv_type_va_list_lvalue+set}" = set; then :
20569 $as_echo_n "(cached) " >&6
20572 if test "$cross_compiling" = yes; then :
20573 wx_cv_type_va_list_lvalue
=yes
20576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20577 /* end confdefs.h. */
20580 #include <stdarg.h>
20581 int foo(char *f, ...)
20586 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20594 return foo("hi", 17);
20598 if ac_fn_c_try_run
"$LINENO"; then :
20599 wx_cv_type_va_list_lvalue
=yes
20601 wx_cv_type_va_list_lvalue
=no
20603 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20604 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20611 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20613 if test $wx_cv_type_va_list_lvalue != "yes"; then
20614 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20619 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20622 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20623 if test "${wx_cv_have_variadic_macros+set}" = set; then :
20624 $as_echo_n "(cached) " >&6
20628 ac_cpp
='$CXXCPP $CPPFLAGS'
20629 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20630 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20631 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20634 /* end confdefs.h. */
20638 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20644 test("%s %d %p", "test", 1, 0);
20651 if ac_fn_cxx_try_compile
"$LINENO"; then :
20652 wx_cv_have_variadic_macros
=yes
20654 wx_cv_have_variadic_macros
=no
20657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20659 ac_cpp
='$CPP $CPPFLAGS'
20660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20668 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20670 if test $wx_cv_have_variadic_macros = "yes"; then
20671 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20677 LARGEFILE_CPPFLAGS
=
20678 # Check whether --enable-largefile was given.
20679 if test "${enable_largefile+set}" = set; then :
20680 enableval
=$enable_largefile;
20683 if test "$enable_largefile" != no
; then
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20687 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20688 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
20689 $as_echo_n "(cached) " >&6
20692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20693 /* end confdefs.h. */
20694 #define _FILE_OFFSET_BITS 64
20695 #include <sys/types.h>
20700 unsigned int field: sizeof(off_t) == 8;
20707 if ac_fn_c_try_compile
"$LINENO"; then :
20708 ac_cv_sys_file_offset_bits
=64
20710 ac_cv_sys_file_offset_bits
=no
20712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20717 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20719 if test "$ac_cv_sys_file_offset_bits" != no
; then
20721 cat >>confdefs.h
<<_ACEOF
20722 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20727 if test "x$wx_largefile" != "xyes"; then
20729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20730 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20731 if test "${ac_cv_sys_large_files+set}" = set; then :
20732 $as_echo_n "(cached) " >&6
20735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20736 /* end confdefs.h. */
20737 #define _LARGE_FILES 1
20738 #include <sys/types.h>
20743 unsigned int field: sizeof(off_t) == 8;
20750 if ac_fn_c_try_compile
"$LINENO"; then :
20751 ac_cv_sys_large_files
=1
20753 ac_cv_sys_large_files
=no
20755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20760 $as_echo "$ac_cv_sys_large_files" >&6; }
20762 if test "$ac_cv_sys_large_files" != no
; then
20764 cat >>confdefs.h
<<_ACEOF
20765 #define _LARGE_FILES $ac_cv_sys_large_files
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20773 $as_echo_n "checking if large file support is available... " >&6; }
20774 if test "x$wx_largefile" = "xyes"; then
20775 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20779 $as_echo "$wx_largefile" >&6; }
20782 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20783 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20784 elif test "$ac_cv_sys_large_files" = 1; then
20785 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20788 if test -n "$LARGEFILE_CPPFLAGS"; then
20789 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20791 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20793 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20794 if test "${wx_cv_STDC_EXT_required+set}" = set; then :
20795 $as_echo_n "(cached) " >&6
20799 ac_cpp
='$CXXCPP $CPPFLAGS'
20800 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20801 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20802 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20805 /* end confdefs.h. */
20811 #ifndef __STDC_EXT__
20819 if ac_fn_cxx_try_compile
"$LINENO"; then :
20820 wx_cv_STDC_EXT_required
=no
20822 wx_cv_STDC_EXT_required
=yes
20825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20827 ac_cpp
='$CPP $CPPFLAGS'
20828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20836 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20837 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20838 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20844 ac_cpp
='$CXXCPP $CPPFLAGS'
20845 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20846 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20847 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20849 old_CPPFLAGS
="$CPPFLAGS"
20850 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20852 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20853 if test "${ac_cv_sys_largefile_source+set}" = set; then :
20854 $as_echo_n "(cached) " >&6
20857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h. */
20859 #include <sys/types.h> /* for off_t */
20864 int (*fp) (FILE *, off_t, int) = fseeko;
20865 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20870 if ac_fn_cxx_try_link
"$LINENO"; then :
20871 ac_cv_sys_largefile_source
=no
; break
20873 rm -f core conftest.err conftest.
$ac_objext \
20874 conftest
$ac_exeext conftest.
$ac_ext
20875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20876 /* end confdefs.h. */
20877 #define _LARGEFILE_SOURCE 1
20878 #include <sys/types.h> /* for off_t */
20883 int (*fp) (FILE *, off_t, int) = fseeko;
20884 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20889 if ac_fn_cxx_try_link
"$LINENO"; then :
20890 ac_cv_sys_largefile_source
=1; break
20892 rm -f core conftest.err conftest.
$ac_objext \
20893 conftest
$ac_exeext conftest.
$ac_ext
20894 ac_cv_sys_largefile_source
=unknown
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20899 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20900 case $ac_cv_sys_largefile_source in #(
20903 cat >>confdefs.h
<<_ACEOF
20904 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20910 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20911 # in glibc 2.1.3, but that breaks too many other things.
20912 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20913 if test $ac_cv_sys_largefile_source != unknown
; then
20915 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20919 CPPFLAGS
="$old_CPPFLAGS"
20921 ac_cpp
='$CPP $CPPFLAGS'
20922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20926 if test "$ac_cv_sys_largefile_source" != no
; then
20927 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20931 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20932 if test "${ac_cv_c_bigendian+set}" = set; then :
20933 $as_echo_n "(cached) " >&6
20935 ac_cv_c_bigendian
=unknown
20936 # See if sys/param.h defines the BYTE_ORDER macro.
20937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20938 /* end confdefs.h. */
20939 #include <sys/types.h>
20940 #include <sys/param.h>
20945 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20946 bogus endian macros
20952 if ac_fn_c_try_compile
"$LINENO"; then :
20953 # It does; now see whether it defined to BIG_ENDIAN or not.
20954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20956 #include <sys/types.h>
20957 #include <sys/param.h>
20962 #if BYTE_ORDER != BIG_ENDIAN
20969 if ac_fn_c_try_compile
"$LINENO"; then :
20970 ac_cv_c_bigendian
=yes
20972 ac_cv_c_bigendian
=no
20974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20977 if test $ac_cv_c_bigendian = unknown
; then
20978 if test "$cross_compiling" = yes; then :
20979 ac_cv_c_bigendian
=unknown
20981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20982 /* end confdefs.h. */
20984 /* Are we little or big endian? From Harbison&Steele. */
20988 char c[sizeof (long)];
20991 exit (u.c[sizeof (long) - 1] == 1);
20994 if ac_fn_c_try_run
"$LINENO"; then :
20995 ac_cv_c_bigendian
=no
20997 ac_cv_c_bigendian
=yes
20999 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21000 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21006 $as_echo "$ac_cv_c_bigendian" >&6; }
21007 if test $ac_cv_c_bigendian = unknown
; then
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
21009 $as_echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
21011 if test $ac_cv_c_bigendian = yes; then
21012 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21020 ac_cpp
='$CXXCPP $CPPFLAGS'
21021 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21022 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21023 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21026 for ac_header
in iostream
21028 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
21030 if test "x$ac_cv_header_iostream" = x
""yes; then :
21031 cat >>confdefs.h
<<_ACEOF
21032 #define HAVE_IOSTREAM 1
21040 if test "$ac_cv_header_iostream" = "yes" ; then
21043 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21048 ac_cpp
='$CPP $CPPFLAGS'
21049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21057 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21058 if test "${wx_cv_explicit+set}" = set; then :
21059 $as_echo_n "(cached) " >&6
21064 ac_cpp
='$CXXCPP $CPPFLAGS'
21065 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h. */
21073 class Foo { public: explicit Foo(int) {} };
21085 if ac_fn_cxx_try_compile
"$LINENO"; then :
21087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21088 /* end confdefs.h. */
21090 class Foo { public: explicit Foo(int) {} };
21091 static void TakeFoo(const Foo& foo) { }
21104 if ac_fn_cxx_try_compile
"$LINENO"; then :
21110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21119 ac_cpp
='$CPP $CPPFLAGS'
21120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21127 $as_echo "$wx_cv_explicit" >&6; }
21129 if test "$wx_cv_explicit" = "yes"; then
21130 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21135 if test "x$SUNCXX" = xyes
; then
21136 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21139 if test "x$SUNCC" = xyes
; then
21140 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21143 if test "x$SGICC" = "xyes"; then
21144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21145 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21146 if test "${wx_cv_prog_sgicc744+set}" = set; then :
21147 $as_echo_n "(cached) " >&6
21150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21151 /* end confdefs.h. */
21157 #if _SGI_COMPILER_VERSION >= 744
21158 chock me: mipsPro is 7.4.4 or later
21165 if ac_fn_c_try_compile
"$LINENO"; then :
21166 wx_cv_prog_sgicc744
=no
21168 wx_cv_prog_sgicc744
=yes
21171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21176 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21178 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21179 CFLAGS
="-woff 3970 $CFLAGS"
21182 if test "x$SGICXX" = "xyes"; then
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21184 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21185 if test "${wx_cv_prog_sgicxx744+set}" = set; then :
21186 $as_echo_n "(cached) " >&6
21190 ac_cpp
='$CXXCPP $CPPFLAGS'
21191 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21196 /* end confdefs.h. */
21202 #if _SGI_COMPILER_VERSION >= 744
21203 chock me: mipsPro is 7.4.4 or later
21210 if ac_fn_cxx_try_compile
"$LINENO"; then :
21211 wx_cv_prog_sgicxx744
=no
21213 wx_cv_prog_sgicxx744
=yes
21216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21218 ac_cpp
='$CPP $CPPFLAGS'
21219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21227 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21229 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21230 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21234 if test "x$HPCC" = "xyes"; then
21235 CFLAGS
="+W 2011,2450 $CFLAGS"
21237 if test "x$HPCXX" = "xyes"; then
21238 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21241 if test "x$COMPAQCXX" = "xyes"; then
21242 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21246 ac_cpp
='$CXXCPP $CPPFLAGS'
21247 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21248 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21249 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21252 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21253 if test "$wxUSE_UNICODE" = "yes"; then
21254 std_string
="std::wstring"
21255 char_type
="wchar_t"
21257 std_string
="std::string"
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21262 $as_echo_n "checking for $std_string in <string>... " >&6; }
21263 if test "${wx_cv_class_stdstring+set}" = set; then :
21264 $as_echo_n "(cached) " >&6
21267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21268 /* end confdefs.h. */
21278 if ac_fn_cxx_try_compile
"$LINENO"; then :
21279 wx_cv_class_stdstring
=yes
21281 wx_cv_class_stdstring
=no
21284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21289 $as_echo "$wx_cv_class_stdstring" >&6; }
21291 if test "$wx_cv_class_stdstring" = yes; then
21292 if test "$wxUSE_UNICODE" = "yes"; then
21293 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21298 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21299 if test "${wx_cv_class_stdbasicstring+set}" = set; then :
21300 $as_echo_n "(cached) " >&6
21303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21304 /* end confdefs.h. */
21306 #ifdef HAVE_WCHAR_H
21308 # include <stddef.h>
21310 # include <wchar.h>
21312 #ifdef HAVE_STDLIB_H
21313 # include <stdlib.h>
21321 std::basic_string<$char_type> foo;
21322 const $char_type* dummy = foo.c_str();
21327 if ac_fn_cxx_try_compile
"$LINENO"; then :
21328 wx_cv_class_stdbasicstring
=yes
21330 wx_cv_class_stdbasicstring
=no
21333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21338 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21340 if test "$wx_cv_class_stdbasicstring" != yes; then
21341 if test "$wxUSE_STL" = "yes"; then
21342 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21343 elif test "$wxUSE_STD_STRING" = "yes"; then
21344 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21347 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21348 wxUSE_STD_STRING
=no
21354 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21355 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21357 if test "x$ac_cv_type_std__istream" = x
""yes; then :
21359 cat >>confdefs.h
<<_ACEOF
21360 #define HAVE_STD__ISTREAM 1
21365 wxUSE_STD_IOSTREAM
=no
21367 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21369 if test "x$ac_cv_type_std__ostream" = x
""yes; then :
21371 cat >>confdefs.h
<<_ACEOF
21372 #define HAVE_STD__OSTREAM 1
21377 wxUSE_STD_IOSTREAM
=no
21381 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21382 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21383 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21386 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21391 if test "$wxUSE_STL" = "yes"; then
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21393 $as_echo_n "checking for basic STL functionality... " >&6; }
21394 if test "${wx_cv_lib_stl+set}" = set; then :
21395 $as_echo_n "(cached) " >&6
21397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21398 /* end confdefs.h. */
21400 #include <functional>
21401 #include <algorithm>
21407 std::vector<int> moo;
21408 std::list<int> foo;
21409 std::vector<int>::iterator it =
21410 std::find_if(moo.begin(), moo.end(),
21411 std::bind2nd(std::less<int>(), 3));
21416 if ac_fn_cxx_try_compile
"$LINENO"; then :
21422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21426 $as_echo "$wx_cv_lib_stl" >&6; }
21428 if test "$wx_cv_lib_stl" != yes; then
21429 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21433 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21434 if test "${wx_cv_func_stdstring_compare+set}" = set; then :
21435 $as_echo_n "(cached) " >&6
21437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21438 /* end confdefs.h. */
21443 std::string foo, bar;
21445 foo.compare(1, 1, bar);
21446 foo.compare(1, 1, bar, 1, 1);
21448 foo.compare(1, 1, "");
21449 foo.compare(1, 1, "", 2);
21454 if ac_fn_cxx_try_compile
"$LINENO"; then :
21455 wx_cv_func_stdstring_compare
=yes
21457 wx_cv_func_stdstring_compare
=no
21460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21464 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21466 if test "$wx_cv_func_stdstring_compare" = yes; then
21467 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21471 if test "$wx_cv_class_gnuhashmapset" = yes; then
21472 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21474 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21478 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21481 if test "x$ac_cv_header_unordered_map" = x
""yes; then :
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21483 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21484 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then :
21485 $as_echo_n "(cached) " >&6
21487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h. */
21489 #include <unordered_map>
21490 #include <unordered_set>
21494 std::unordered_map<double*, char*> test1;
21495 std::unordered_set<char*> test2;
21500 if ac_fn_cxx_try_compile
"$LINENO"; then :
21501 wx_cv_class_stdunorderedmapset
=yes
21503 wx_cv_class_stdunorderedmapset
=no
21505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21510 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21515 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21516 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21518 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21521 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21524 if test "x$ac_cv_header_tr1_unordered_map" = x
""yes; then :
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21526 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21527 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then :
21528 $as_echo_n "(cached) " >&6
21530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21531 /* end confdefs.h. */
21532 #include <tr1/unordered_map>
21533 #include <tr1/unordered_set>
21537 std::tr1::unordered_map<double*, char*> test1;
21538 std::tr1::unordered_set<char*> test2;
21539 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21540 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21546 if ac_fn_cxx_try_compile
"$LINENO"; then :
21547 wx_cv_class_tr1unorderedmapset
=yes
21549 wx_cv_class_tr1unorderedmapset
=no
21551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21556 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21561 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21562 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21564 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21567 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21570 if test "x$ac_cv_header_hash_map" = x
""yes; then :
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21572 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21573 if test "${wx_cv_class_stdhashmapset+set}" = set; then :
21574 $as_echo_n "(cached) " >&6
21576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21577 /* end confdefs.h. */
21578 #include <hash_map>
21579 #include <hash_set>
21583 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21584 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21589 if ac_fn_cxx_try_compile
"$LINENO"; then :
21590 wx_cv_class_stdhashmapset
=yes
21592 wx_cv_class_stdhashmapset
=no
21594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21599 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21604 if test "$wx_cv_class_stdhashmapset" = yes; then
21605 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21607 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21611 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21614 if test "x$ac_cv_header_ext_hash_map" = x
""yes; then :
21615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21616 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21617 if test "${wx_cv_class_gnuhashmapset+set}" = set; then :
21618 $as_echo_n "(cached) " >&6
21620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21621 /* end confdefs.h. */
21622 #include <ext/hash_map>
21623 #include <ext/hash_set>
21627 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21628 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21633 if ac_fn_cxx_try_compile
"$LINENO"; then :
21634 wx_cv_class_gnuhashmapset
=yes
21636 wx_cv_class_gnuhashmapset
=no
21638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21643 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21653 ac_cpp
='$CXXCPP $CPPFLAGS'
21654 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21658 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21659 if test -z "$CXXCPP"; then
21660 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
21661 $as_echo_n "(cached) " >&6
21663 # Double quotes because CXXCPP needs to be expanded
21664 for CXXCPP
in "$CXX -E" "/lib/cpp"
21666 ac_preproc_ok
=false
21667 for ac_cxx_preproc_warn_flag
in '' yes
21669 # Use a header file that comes with gcc, so configuring glibc
21670 # with a fresh cross-compiler works.
21671 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21672 # <limits.h> exists even on freestanding compilers.
21673 # On the NeXT, cc -E runs the code through the compiler's parser,
21674 # not just through cpp. "Syntax error" is here to catch this case.
21675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21676 /* end confdefs.h. */
21678 # include <limits.h>
21680 # include <assert.h>
21684 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21687 # Broken: fails on valid input.
21690 rm -f conftest.err conftest.i conftest.
$ac_ext
21692 # OK, works on sane cases. Now check whether nonexistent headers
21693 # can be detected and how.
21694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21695 /* end confdefs.h. */
21696 #include <ac_nonexistent.h>
21698 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21699 # Broken: success on invalid input.
21702 # Passes both tests.
21706 rm -f conftest.err conftest.i conftest.
$ac_ext
21709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21710 rm -f conftest.i conftest.err conftest.
$ac_ext
21711 if $ac_preproc_ok; then :
21716 ac_cv_prog_CXXCPP
=$CXXCPP
21719 CXXCPP
=$ac_cv_prog_CXXCPP
21721 ac_cv_prog_CXXCPP
=$CXXCPP
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21724 $as_echo "$CXXCPP" >&6; }
21725 ac_preproc_ok
=false
21726 for ac_cxx_preproc_warn_flag
in '' yes
21728 # Use a header file that comes with gcc, so configuring glibc
21729 # with a fresh cross-compiler works.
21730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21731 # <limits.h> exists even on freestanding compilers.
21732 # On the NeXT, cc -E runs the code through the compiler's parser,
21733 # not just through cpp. "Syntax error" is here to catch this case.
21734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21737 # include <limits.h>
21739 # include <assert.h>
21743 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21746 # Broken: fails on valid input.
21749 rm -f conftest.err conftest.i conftest.
$ac_ext
21751 # OK, works on sane cases. Now check whether nonexistent headers
21752 # can be detected and how.
21753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21754 /* end confdefs.h. */
21755 #include <ac_nonexistent.h>
21757 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21758 # Broken: success on invalid input.
21761 # Passes both tests.
21765 rm -f conftest.err conftest.i conftest.
$ac_ext
21768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21769 rm -f conftest.i conftest.err conftest.
$ac_ext
21770 if $ac_preproc_ok; then :
21773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21775 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21776 See \`config.log' for more details" "$LINENO" 5 ; }
21780 ac_cpp
='$CXXCPP $CPPFLAGS'
21781 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21782 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21783 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21786 for ac_header
in type_traits tr
1/type_traits
21788 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21789 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21790 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21791 cat >>confdefs.h
<<_ACEOF
21792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21802 if test -n "$GCC"; then
21803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21804 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21805 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then :
21806 $as_echo_n "(cached) " >&6
21809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21810 /* end confdefs.h. */
21816 unsigned int value=0;
21817 /* wxAtomicInc doesn't use return value here */
21818 __sync_fetch_and_add(&value, 2);
21819 __sync_sub_and_fetch(&value, 1);
21820 /* but wxAtomicDec does, so mimic that: */
21821 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21827 if ac_fn_cxx_try_link
"$LINENO"; then :
21828 wx_cv_cc_gcc_atomic_builtins
=yes
21830 wx_cv_cc_gcc_atomic_builtins
=no
21832 rm -f core conftest.err conftest.
$ac_objext \
21833 conftest
$ac_exeext conftest.
$ac_ext
21837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21838 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21839 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21840 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21847 ac_cpp
='$CPP $CPPFLAGS'
21848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21855 /usr/local/include \
21856 /usr/local/X11/include \
21857 /usr/local/include/X11 \
21858 /usr/local/X11R7/include \
21859 /usr/local/X11R6/include \
21860 /usr/local/include/X11R7 \
21861 /usr/local/include/X11R6 \
21863 /usr/Motif-2.1/include \
21864 /usr/Motif-1.2/include \
21865 /usr/include/Motif1.2 \
21868 /usr/openwin/include \
21872 /usr/X11R7/include \
21873 /usr/X11R6/include \
21874 /usr/X11R6.4/include \
21876 /usr/include/X11R7 \
21877 /usr/include/X11R6 \
21882 /usr/XFree86/include/X11 \
21885 /usr/local/X1R5/include \
21886 /usr/local/include/X11R5 \
21887 /usr/X11R5/include \
21888 /usr/include/X11R5 \
21890 /usr/local/X11R4/include \
21891 /usr/local/include/X11R4 \
21892 /usr/X11R4/include \
21893 /usr/include/X11R4 \
21895 /usr/openwin/share/include"
21897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21898 $as_echo_n "checking for libraries directories... " >&6; }
21902 if test "${wx_cv_std_libpath+set}" = set; then :
21903 $as_echo_n "(cached) " >&6
21906 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
21907 for e
in a so sl dylib dll.a
; do
21909 if test -f $libc; then
21912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21913 /* end confdefs.h. */
21915 int main() { return 0; }
21918 if ac_fn_c_try_link
"$LINENO"; then :
21919 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
21921 rm -f core conftest.err conftest.
$ac_objext \
21922 conftest
$ac_exeext conftest.
$ac_ext
21924 if test "x$wx_cv_std_libpath" != "x"; then
21937 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21938 wx_cv_std_libpath
="lib/64"
21943 if test "$ac_cv_sizeof_void_p" = 8; then
21944 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21945 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
21946 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21947 wx_cv_std_libpath
="lib64"
21952 if test -d '/usr/lib/i386-linux-gnu'; then
21953 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
21958 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21959 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
21964 if test -z "$wx_cv_std_libpath"; then
21965 wx_cv_std_libpath
="lib"
21968 if test -z "$wx_cv_std_libfullpath"; then
21969 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21974 $as_echo "$wx_cv_std_libfullpath" >&6; }
21976 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21978 if test "$build" != "$host" -a "$GCC" = yes; then
21979 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
21980 cross_root
=`dirname $cross_root`
21981 cross_root
=`dirname $cross_root`
21983 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21984 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21985 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
21987 if test -z "$PKG_CONFIG_PATH"; then
21988 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21989 export PKG_CONFIG_PATH
21992 if test -z "$x_includes" -o "$x_includes" = NONE
; then
21995 for ac_dir
in $SEARCH_INCLUDE /usr
/include
21997 if test -f "$ac_dir/X11/Intrinsic.h"; then
21998 ac_find_includes
=$ac_dir
22003 x_includes
=$ac_find_includes
22005 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22008 for ac_dir
in $SEARCH_LIB
22010 for ac_extension
in a so sl dylib dll.a
; do
22011 if test -f "$ac_dir/libXt.$ac_extension"; then
22012 ac_find_libraries
=$ac_dir
22018 x_libraries
=$ac_find_libraries
22024 cat >confcache
<<\_ACEOF
22025 # This file is a shell script that caches the results of configure
22026 # tests run on this system so they can be shared between configure
22027 # scripts and configure runs, see configure's option --config-cache.
22028 # It is not useful on other systems. If it contains results you don't
22029 # want to keep, you may remove or edit it.
22031 # config.status only pays attention to the cache file if you give it
22032 # the --recheck option to rerun configure.
22034 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22035 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22036 # following values.
22040 # The following way of writing the cache mishandles newlines in values,
22041 # but we know of no workaround that is simple, portable, and efficient.
22042 # So, we kill variables containing newlines.
22043 # Ultrix sh set writes to stderr and can't be redirected directly,
22044 # and sets the high bit in the cache file unless we assign to the vars.
22046 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22047 eval ac_val
=\$
$ac_var
22051 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22052 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22055 _
| IFS
| as_nl
) ;; #(
22056 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22057 *) { eval $ac_var=; unset $ac_var;} ;;
22063 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22064 *${as_nl}ac_space
=\
*)
22065 # `set' does not quote correctly, so add quotes: double-quote
22066 # substitution turns \\\\ into \\, and sed turns \\ into \.
22069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22072 # `set' quotes correctly as required by POSIX, so do not add quotes.
22073 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22082 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22084 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22086 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22087 if test -w "$cache_file"; then
22088 test "x$cache_file" != "x/dev/null" &&
22089 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22090 $as_echo "$as_me: updating cache $cache_file" >&6;}
22091 cat confcache
>$cache_file
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22094 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22103 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22104 if test "x$ac_cv_func_cos" = x
""yes; then :
22105 cat >>confdefs.h
<<_ACEOF
22112 for ac_func
in floor
22114 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22115 if test "x$ac_cv_func_floor" = x
""yes; then :
22116 cat >>confdefs.h
<<_ACEOF
22117 #define HAVE_FLOOR 1
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22124 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22125 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22127 $as_echo "yes" >&6; }
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22130 $as_echo "no" >&6; }
22132 # use different functions to avoid configure caching
22137 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22138 if test "x$ac_cv_func_sin" = x
""yes; then :
22139 cat >>confdefs.h
<<_ACEOF
22146 for ac_func
in ceil
22148 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22149 if test "x$ac_cv_func_ceil" = x
""yes; then :
22150 cat >>confdefs.h
<<_ACEOF
22151 #define HAVE_CEIL 1
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22158 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22159 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22161 $as_echo "yes" >&6; }
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22164 $as_echo "no" >&6; }
22165 # not sure we should warn the user, crash, etc.
22170 ac_cpp
='$CXXCPP $CPPFLAGS'
22171 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22175 if test "wxUSE_UNICODE" = "yes"; then
22177 for wx_func
in wcstoull
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22180 $as_echo_n "checking for $wx_func... " >&6; }
22181 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22182 $as_echo_n "(cached) " >&6
22185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22186 /* end confdefs.h. */
22190 $ac_includes_default
22206 if ac_fn_cxx_try_link
"$LINENO"; then :
22207 eval wx_cv_func_
$wx_func=yes
22209 eval wx_cv_func_
$wx_func=no
22211 rm -f core conftest.err conftest.
$ac_objext \
22212 conftest
$ac_exeext conftest.
$ac_ext
22215 eval ac_res
=\
$wx_cv_func_$wx_func
22216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22217 $as_echo "$ac_res" >&6; }
22219 if eval test \
$wx_cv_func_$wx_func = yes
22221 cat >>confdefs.h
<<_ACEOF
22222 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22234 for wx_func
in strtoull
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22237 $as_echo_n "checking for $wx_func... " >&6; }
22238 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22239 $as_echo_n "(cached) " >&6
22242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22243 /* end confdefs.h. */
22247 $ac_includes_default
22263 if ac_fn_cxx_try_link
"$LINENO"; then :
22264 eval wx_cv_func_
$wx_func=yes
22266 eval wx_cv_func_
$wx_func=no
22268 rm -f core conftest.err conftest.
$ac_objext \
22269 conftest
$ac_exeext conftest.
$ac_ext
22272 eval ac_res
=\
$wx_cv_func_$wx_func
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22274 $as_echo "$ac_res" >&6; }
22276 if eval test \
$wx_cv_func_$wx_func = yes
22278 cat >>confdefs.h
<<_ACEOF
22279 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22291 ac_cpp
='$CPP $CPPFLAGS'
22292 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22299 if test "$wxUSE_REGEX" != "no"; then
22300 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22303 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22305 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22306 wxUSE_REGEX
=builtin
22309 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22310 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22312 if test "x$ac_cv_header_regex_h" = x
""yes; then :
22313 for ac_func
in regcomp re_search
22315 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22316 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22317 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22318 cat >>confdefs.h
<<_ACEOF
22319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22329 if test "x$ac_cv_func_regcomp" != "xyes"; then
22330 if test "$wxUSE_REGEX" = "sys" ; then
22331 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22334 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22335 wxUSE_REGEX
=builtin
22339 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22347 if test "$wxUSE_ZLIB" != "no" ; then
22348 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22351 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22352 if test "$USE_DARWIN" = 1; then
22353 system_zlib_h_ok
="yes"
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22356 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22357 if test "${ac_cv_header_zlib_h+set}" = set; then :
22358 $as_echo_n "(cached) " >&6
22360 if test "$cross_compiling" = yes; then :
22361 unset ac_cv_header_zlib_h
22364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22365 /* end confdefs.h. */
22372 FILE *f=fopen("conftestval", "w");
22375 ZLIB_VERSION[0] == '1' &&
22376 (ZLIB_VERSION[2] > '1' ||
22377 (ZLIB_VERSION[2] == '1' &&
22378 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22383 if ac_fn_c_try_run
"$LINENO"; then :
22384 ac_cv_header_zlib_h
=`cat conftestval`
22386 ac_cv_header_zlib_h
=no
22388 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22389 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22395 $as_echo "$ac_cv_header_zlib_h" >&6; }
22396 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22398 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
22404 system_zlib_h_ok
=$ac_cv_header_zlib_h
22407 if test "$system_zlib_h_ok" = "yes"; then
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22409 $as_echo_n "checking for deflate in -lz... " >&6; }
22410 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22411 $as_echo_n "(cached) " >&6
22413 ac_check_lib_save_LIBS
=$LIBS
22415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22416 /* end confdefs.h. */
22418 /* Override any GCC internal prototype to avoid an error.
22419 Use char because int might match the return type of a GCC
22420 builtin and then its argument prototype would still apply. */
22433 if ac_fn_c_try_link
"$LINENO"; then :
22434 ac_cv_lib_z_deflate
=yes
22436 ac_cv_lib_z_deflate
=no
22438 rm -f core conftest.err conftest.
$ac_objext \
22439 conftest
$ac_exeext conftest.
$ac_ext
22440 LIBS
=$ac_check_lib_save_LIBS
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22443 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22444 if test "x$ac_cv_lib_z_deflate" = x
""yes; then :
22450 if test "x$ZLIB_LINK" = "x" ; then
22451 if test "$wxUSE_ZLIB" = "sys" ; then
22452 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22455 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22466 if test "$wxUSE_LIBPNG" != "no" ; then
22467 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22470 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22472 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22473 wxUSE_LIBPNG
=builtin
22476 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22478 $as_echo_n "checking for png.h > 0.90... " >&6; }
22479 if test "${ac_cv_header_png_h+set}" = set; then :
22480 $as_echo_n "(cached) " >&6
22482 if test "$cross_compiling" = yes; then :
22483 unset ac_cv_header_png_h
22486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22487 /* end confdefs.h. */
22494 FILE *f=fopen("conftestval", "w");
22497 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22502 if ac_fn_c_try_run
"$LINENO"; then :
22503 ac_cv_header_png_h
=`cat conftestval`
22505 ac_cv_header_png_h
=no
22507 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22508 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22514 $as_echo "$ac_cv_header_png_h" >&6; }
22515 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22517 if test "x$ac_cv_header_png_h" = x
""yes; then :
22523 if test "$ac_cv_header_png_h" = "yes"; then
22524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22525 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22526 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then :
22527 $as_echo_n "(cached) " >&6
22529 ac_check_lib_save_LIBS
=$LIBS
22530 LIBS
="-lpng -lz -lm $LIBS"
22531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22532 /* end confdefs.h. */
22534 /* Override any GCC internal prototype to avoid an error.
22535 Use char because int might match the return type of a GCC
22536 builtin and then its argument prototype would still apply. */
22540 char png_sig_cmp ();
22544 return png_sig_cmp ();
22549 if ac_fn_c_try_link
"$LINENO"; then :
22550 ac_cv_lib_png_png_sig_cmp
=yes
22552 ac_cv_lib_png_png_sig_cmp
=no
22554 rm -f core conftest.err conftest.
$ac_objext \
22555 conftest
$ac_exeext conftest.
$ac_ext
22556 LIBS
=$ac_check_lib_save_LIBS
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22559 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22560 if test "x$ac_cv_lib_png_png_sig_cmp" = x
""yes; then :
22561 PNG_LINK
=" -lpng -lz"
22566 if test "x$PNG_LINK" = "x" ; then
22567 if test "$wxUSE_LIBPNG" = "sys" ; then
22568 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22571 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22572 wxUSE_LIBPNG
=builtin
22582 if test "$wxUSE_LIBJPEG" != "no" ; then
22583 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22586 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22588 $as_echo_n "checking for jpeglib.h... " >&6; }
22589 if test "${ac_cv_header_jpeglib_h+set}" = set; then :
22590 $as_echo_n "(cached) " >&6
22592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h. */
22595 #undef HAVE_STDLIB_H
22597 #include <jpeglib.h>
22608 if ac_fn_c_try_compile
"$LINENO"; then :
22609 ac_cv_header_jpeglib_h
=yes
22611 ac_cv_header_jpeglib_h
=no
22614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22619 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22621 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22623 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22624 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then :
22625 $as_echo_n "(cached) " >&6
22627 ac_check_lib_save_LIBS
=$LIBS
22628 LIBS
="-ljpeg $LIBS"
22629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22630 /* end confdefs.h. */
22632 /* Override any GCC internal prototype to avoid an error.
22633 Use char because int might match the return type of a GCC
22634 builtin and then its argument prototype would still apply. */
22638 char jpeg_read_header ();
22642 return jpeg_read_header ();
22647 if ac_fn_c_try_link
"$LINENO"; then :
22648 ac_cv_lib_jpeg_jpeg_read_header
=yes
22650 ac_cv_lib_jpeg_jpeg_read_header
=no
22652 rm -f core conftest.err conftest.
$ac_objext \
22653 conftest
$ac_exeext conftest.
$ac_ext
22654 LIBS
=$ac_check_lib_save_LIBS
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22657 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22658 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = x
""yes; then :
22659 JPEG_LINK
=" -ljpeg"
22664 if test "x$JPEG_LINK" = "x" ; then
22665 if test "$wxUSE_LIBJPEG" = "sys" ; then
22666 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22669 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22670 wxUSE_LIBJPEG
=builtin
22675 if test "$wxUSE_MSW" = 1; then
22676 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22678 if test "x$ac_cv_type_boolean" = x
""yes; then :
22680 cat >>confdefs.h
<<_ACEOF
22681 #define HAVE_BOOLEAN 1
22685 # The cast to long int works around a bug in the HP C Compiler
22686 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22687 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22688 # This bug is HP SR number 8606223364.
22689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22690 $as_echo_n "checking size of boolean... " >&6; }
22691 if test "${ac_cv_sizeof_boolean+set}" = set; then :
22692 $as_echo_n "(cached) " >&6
22694 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22695 #undef HAVE_BOOLEAN
22697 #include <jpeglib.h>
22702 if test "$ac_cv_type_boolean" = yes; then
22703 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22705 as_fn_error
77 "cannot compute sizeof (boolean)
22706 See \`config.log' for more details" "$LINENO" 5 ; }
22708 ac_cv_sizeof_boolean
=0
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22714 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22718 cat >>confdefs.h
<<_ACEOF
22719 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22723 cat >>confdefs.h
<<_ACEOF
22724 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22737 TIFF_PREREQ_LINKS
=-lm
22738 if test "$wxUSE_LIBTIFF" != "no" ; then
22739 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22742 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22743 if test "$wxUSE_LIBJPEG" = "sys"; then
22744 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22746 if test "$wxUSE_ZLIB" = "sys"; then
22747 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22749 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22752 if test "x$ac_cv_header_tiffio_h" = x
""yes; then :
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22755 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22756 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then :
22757 $as_echo_n "(cached) " >&6
22759 ac_check_lib_save_LIBS
=$LIBS
22760 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22762 /* end confdefs.h. */
22764 /* Override any GCC internal prototype to avoid an error.
22765 Use char because int might match the return type of a GCC
22766 builtin and then its argument prototype would still apply. */
22774 return TIFFError ();
22779 if ac_fn_c_try_link
"$LINENO"; then :
22780 ac_cv_lib_tiff_TIFFError
=yes
22782 ac_cv_lib_tiff_TIFFError
=no
22784 rm -f core conftest.err conftest.
$ac_objext \
22785 conftest
$ac_exeext conftest.
$ac_ext
22786 LIBS
=$ac_check_lib_save_LIBS
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22789 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22790 if test "x$ac_cv_lib_tiff_TIFFError" = x
""yes; then :
22791 TIFF_LINK
=" -ltiff"
22799 if test "x$TIFF_LINK" = "x" ; then
22800 if test "$wxUSE_LIBTIFF" = "sys" ; then
22801 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22804 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22805 wxUSE_LIBTIFF
=builtin
22811 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22812 if test "$wxUSE_LIBJPEG" = "no"; then
22813 ac_configure_args
="$ac_configure_args --disable-jpeg"
22817 subdirs
="$subdirs src/tiff"
22823 if test "$wxUSE_EXPAT" != "no"; then
22825 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22827 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22830 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22831 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
22833 if test "x$ac_cv_header_expat_h" = x
""yes; then :
22838 if test "x$found_expat_h" = "x1"; then
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22840 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22841 if test "${wx_cv_expat_is_not_broken+set}" = set; then :
22842 $as_echo_n "(cached) " >&6
22846 ac_cpp
='$CXXCPP $CPPFLAGS'
22847 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22849 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22852 /* end confdefs.h. */
22862 if ac_fn_cxx_try_compile
"$LINENO"; then :
22863 wx_cv_expat_is_not_broken
=yes
22865 wx_cv_expat_is_not_broken
=no
22868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22870 ac_cpp
='$CPP $CPPFLAGS'
22871 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22872 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22873 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22879 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22880 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22882 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22883 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
22884 $as_echo_n "(cached) " >&6
22886 ac_check_lib_save_LIBS
=$LIBS
22887 LIBS
="-lexpat $LIBS"
22888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22889 /* end confdefs.h. */
22891 /* Override any GCC internal prototype to avoid an error.
22892 Use char because int might match the return type of a GCC
22893 builtin and then its argument prototype would still apply. */
22897 char XML_ParserCreate ();
22901 return XML_ParserCreate ();
22906 if ac_fn_c_try_link
"$LINENO"; then :
22907 ac_cv_lib_expat_XML_ParserCreate
=yes
22909 ac_cv_lib_expat_XML_ParserCreate
=no
22911 rm -f core conftest.err conftest.
$ac_objext \
22912 conftest
$ac_exeext conftest.
$ac_ext
22913 LIBS
=$ac_check_lib_save_LIBS
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22916 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22917 if test "x$ac_cv_lib_expat_XML_ParserCreate" = x
""yes; then :
22918 EXPAT_LINK
=" -lexpat"
22923 if test "x$EXPAT_LINK" = "x" ; then
22924 if test "$wxUSE_EXPAT" = "sys" ; then
22925 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22928 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22929 wxUSE_EXPAT
=builtin
22935 if test "$wxUSE_EXPAT" = "builtin" ; then
22936 subdirs
="$subdirs src/expat"
22943 if test "$wxUSE_LIBMSPACK" != "no"; then
22944 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22946 if test "x$ac_cv_header_mspack_h" = x
""yes; then :
22951 if test "x$found_mspack_h" = "x1"; then
22952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22953 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22954 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then :
22955 $as_echo_n "(cached) " >&6
22957 ac_check_lib_save_LIBS
=$LIBS
22958 LIBS
="-lmspack $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. */
22968 char mspack_create_chm_decompressor ();
22972 return mspack_create_chm_decompressor ();
22977 if ac_fn_c_try_link
"$LINENO"; then :
22978 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22980 ac_cv_lib_mspack_mspack_create_chm_decompressor
=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_mspack_mspack_create_chm_decompressor" >&5
22987 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22988 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = x
""yes; then :
22989 MSPACK_LINK
=" -lmspack"
22993 if test "x$MSPACK_LINK" = "x" ; then
22998 if test "$wxUSE_LIBMSPACK" != "no"; then
22999 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23012 if test "$USE_WIN32" = 1 ; then
23013 for ac_header
in w32api.h
23015 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23017 if test "x$ac_cv_header_w32api_h" = x
""yes; then :
23018 cat >>confdefs.h
<<_ACEOF
23019 #define HAVE_W32API_H 1
23026 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
23028 if test "x$ac_cv_header_windows_h" = x
""yes; then :
23032 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23038 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23040 x86_64
-*-mingw32* )
23041 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
23044 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23045 LIBS
="$LIBS -loleacc"
23050 LIBS
="$LIBS -lkernel32 -luser32"
23053 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23054 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
23056 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23058 WIN32INSTALL
=win32install
23061 if test "$wxUSE_GUI" = "yes"; then
23070 if test "$wxUSE_OLD_COCOA" = 1 ; then
23071 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23073 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23074 wxUSE_PRINTING_ARCHITECTURE
=no
23076 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23078 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23079 wxUSE_DRAG_AND_DROP
=no
23081 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23083 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23088 if test "$wxUSE_MSW" = 1 ; then
23094 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23098 if test "$wxUSE_GTK" = 1; then
23099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23100 $as_echo_n "checking for GTK+ version... " >&6; }
23102 gtk_version_cached
=1
23103 if test "${wx_cv_lib_gtk+set}" = set; then :
23104 $as_echo_n "(cached) " >&6
23107 gtk_version_cached
=0
23108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23112 if test "$wxUSE_THREADS" = "yes"; then
23113 GTK_MODULES
=gthread
23117 if test "x$wxGTK_VERSION" != "x1"
23121 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23126 # Check whether --enable-gtktest was given.
23127 if test "${enable_gtktest+set}" = set; then :
23128 enableval
=$enable_gtktest;
23134 pkg_config_args
=gtk
+-2.0
23135 for module
in .
$GTK_MODULES
23139 pkg_config_args
="$pkg_config_args gthread-2.0"
23146 # Extract the first word of "pkg-config", so it can be a program name with args.
23147 set dummy pkg
-config; ac_word
=$2
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23149 $as_echo_n "checking for $ac_word... " >&6; }
23150 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23151 $as_echo_n "(cached) " >&6
23153 case $PKG_CONFIG in
23155 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23159 for as_dir
in $PATH
23162 test -z "$as_dir" && as_dir
=.
23163 for ac_exec_ext
in '' $ac_executable_extensions; do
23164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23165 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23173 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23177 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23178 if test -n "$PKG_CONFIG"; then
23179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23180 $as_echo "$PKG_CONFIG" >&6; }
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23183 $as_echo "no" >&6; }
23188 if test x
$PKG_CONFIG != xno
; then
23189 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23192 echo "*** pkg-config too old; version 0.7 or better required."
23200 min_gtk_version
=2.4.0
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23202 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23204 if test x
$PKG_CONFIG != xno
; then
23205 ## don't try to run the test against uninstalled libtool libs
23206 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23207 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23211 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23218 if test x
"$no_gtk" = x
; then
23219 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23220 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23221 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23222 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23223 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23224 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23225 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23226 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23227 if test "x$enable_gtktest" = "xyes" ; then
23228 ac_save_CFLAGS
="$CFLAGS"
23229 ac_save_LIBS
="$LIBS"
23230 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23231 LIBS
="$GTK_LIBS $LIBS"
23233 if test "$cross_compiling" = yes; then :
23234 echo $ac_n "cross compiling; assumed OK... $ac_c"
23236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23237 /* end confdefs.h. */
23239 #include <gtk/gtk.h>
23241 #include <stdlib.h>
23246 int major, minor, micro;
23249 system ("touch conf.gtktest");
23251 /* HP/UX 9 (%@#!) writes to sscanf strings */
23252 tmp_version = g_strdup("$min_gtk_version");
23253 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23254 printf("%s, bad version string\n", "$min_gtk_version");
23258 if ((gtk_major_version != $gtk_config_major_version) ||
23259 (gtk_minor_version != $gtk_config_minor_version) ||
23260 (gtk_micro_version != $gtk_config_micro_version))
23262 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23263 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23264 gtk_major_version, gtk_minor_version, gtk_micro_version);
23265 printf ("*** was found! If pkg-config was correct, then it is best\n");
23266 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23267 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23268 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23269 printf("*** required on your system.\n");
23270 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23271 printf("*** to point to the correct configuration files\n");
23273 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23274 (gtk_minor_version != GTK_MINOR_VERSION) ||
23275 (gtk_micro_version != GTK_MICRO_VERSION))
23277 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23278 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23279 printf("*** library (version %d.%d.%d)\n",
23280 gtk_major_version, gtk_minor_version, gtk_micro_version);
23284 if ((gtk_major_version > major) ||
23285 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23286 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23292 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23293 gtk_major_version, gtk_minor_version, gtk_micro_version);
23294 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23295 major, minor, micro);
23296 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23298 printf("*** If you have already installed a sufficiently new version, this error\n");
23299 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23300 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23301 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23302 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23303 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23304 printf("*** so that the correct libraries are found at run-time))\n");
23311 if ac_fn_c_try_run
"$LINENO"; then :
23316 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23317 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23320 CFLAGS
="$ac_save_CFLAGS"
23321 LIBS
="$ac_save_LIBS"
23324 if test "x$no_gtk" = x
; then
23325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23326 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23330 $as_echo "no" >&6; }
23331 if test "$PKG_CONFIG" = "no" ; then
23332 echo "*** A new enough version of pkg-config was not found."
23333 echo "*** See http://pkgconfig.sourceforge.net"
23335 if test -f conf.gtktest
; then
23338 echo "*** Could not run GTK+ test program, checking why..."
23339 ac_save_CFLAGS
="$CFLAGS"
23340 ac_save_LIBS
="$LIBS"
23341 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23342 LIBS
="$LIBS $GTK_LIBS"
23343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23344 /* end confdefs.h. */
23346 #include <gtk/gtk.h>
23352 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23357 if ac_fn_c_try_link
"$LINENO"; then :
23358 echo "*** The test program compiled, but did not run. This usually means"
23359 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23360 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23361 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23362 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23363 echo "*** is required on your system"
23365 echo "*** If you have an old version installed, it is best to remove it, although"
23366 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23368 echo "*** The test program failed to compile or link. See the file config.log for the"
23369 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23371 rm -f core conftest.err conftest.
$ac_objext \
23372 conftest
$ac_exeext conftest.
$ac_ext
23373 CFLAGS
="$ac_save_CFLAGS"
23374 LIBS
="$ac_save_LIBS"
23387 if test -z "$wx_cv_lib_gtk"; then
23388 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23390 # Check whether --with-gtk-prefix was given.
23391 if test "${with_gtk_prefix+set}" = set; then :
23392 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23394 gtk_config_prefix
=""
23398 # Check whether --with-gtk-exec-prefix was given.
23399 if test "${with_gtk_exec_prefix+set}" = set; then :
23400 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23402 gtk_config_exec_prefix
=""
23405 # Check whether --enable-gtktest was given.
23406 if test "${enable_gtktest+set}" = set; then :
23407 enableval
=$enable_gtktest;
23413 for module
in .
$GTK_MODULES
23417 gtk_config_args
="$gtk_config_args gthread"
23422 if test x
$gtk_config_exec_prefix != x
; then
23423 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23424 if test x
${GTK_CONFIG+set} != xset
; then
23425 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23428 if test x
$gtk_config_prefix != x
; then
23429 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23430 if test x
${GTK_CONFIG+set} != xset
; then
23431 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23435 # Extract the first word of "gtk-config", so it can be a program name with args.
23436 set dummy gtk
-config; ac_word
=$2
23437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23438 $as_echo_n "checking for $ac_word... " >&6; }
23439 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23440 $as_echo_n "(cached) " >&6
23442 case $GTK_CONFIG in
23444 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23448 for as_dir
in $PATH
23451 test -z "$as_dir" && as_dir
=.
23452 for ac_exec_ext
in '' $ac_executable_extensions; do
23453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23454 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23462 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23466 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23467 if test -n "$GTK_CONFIG"; then
23468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23469 $as_echo "$GTK_CONFIG" >&6; }
23471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23472 $as_echo "no" >&6; }
23476 min_gtk_version
=1.2.7
23477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23478 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23480 if test "$GTK_CONFIG" = "no" ; then
23483 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23484 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23485 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23486 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23487 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23488 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23489 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23490 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23491 if test "x$enable_gtktest" = "xyes" ; then
23492 ac_save_CFLAGS
="$CFLAGS"
23493 ac_save_LIBS
="$LIBS"
23494 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23495 LIBS
="$GTK_LIBS $LIBS"
23497 if test "$cross_compiling" = yes; then :
23498 echo $ac_n "cross compiling; assumed OK... $ac_c"
23500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23501 /* end confdefs.h. */
23503 #include <gtk/gtk.h>
23505 #include <stdlib.h>
23510 int major, minor, micro;
23513 system ("touch conf.gtktest");
23515 /* HP/UX 9 (%@#!) writes to sscanf strings */
23516 tmp_version = g_strdup("$min_gtk_version");
23517 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23518 printf("%s, bad version string\n", "$min_gtk_version");
23522 if ((gtk_major_version != $gtk_config_major_version) ||
23523 (gtk_minor_version != $gtk_config_minor_version) ||
23524 (gtk_micro_version != $gtk_config_micro_version))
23526 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23527 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23528 gtk_major_version, gtk_minor_version, gtk_micro_version);
23529 printf ("*** was found! If gtk-config was correct, then it is best\n");
23530 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23531 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23532 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23533 printf("*** required on your system.\n");
23534 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23535 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23536 printf("*** before re-running configure\n");
23538 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23539 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23540 (gtk_minor_version != GTK_MINOR_VERSION) ||
23541 (gtk_micro_version != GTK_MICRO_VERSION))
23543 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23544 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23545 printf("*** library (version %d.%d.%d)\n",
23546 gtk_major_version, gtk_minor_version, gtk_micro_version);
23548 #endif /* defined (GTK_MAJOR_VERSION) ... */
23551 if ((gtk_major_version > major) ||
23552 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23553 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23559 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23560 gtk_major_version, gtk_minor_version, gtk_micro_version);
23561 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23562 major, minor, micro);
23563 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23565 printf("*** If you have already installed a sufficiently new version, this error\n");
23566 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23567 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23568 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23569 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23570 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23571 printf("*** so that the correct libraries are found at run-time))\n");
23578 if ac_fn_c_try_run
"$LINENO"; then :
23583 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23584 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23587 CFLAGS
="$ac_save_CFLAGS"
23588 LIBS
="$ac_save_LIBS"
23591 if test "x$no_gtk" = x
; then
23592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23593 $as_echo "yes" >&6; }
23594 wx_cv_lib_gtk
=1.2.7
23596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23597 $as_echo "no" >&6; }
23598 if test "$GTK_CONFIG" = "no" ; then
23599 echo "*** The gtk-config script installed by GTK could not be found"
23600 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23601 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23602 echo "*** full path to gtk-config."
23604 if test -f conf.gtktest
; then
23607 echo "*** Could not run GTK test program, checking why..."
23608 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23609 LIBS
="$LIBS $GTK_LIBS"
23610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23611 /* end confdefs.h. */
23613 #include <gtk/gtk.h>
23619 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23624 if ac_fn_c_try_link
"$LINENO"; then :
23625 echo "*** The test program compiled, but did not run. This usually means"
23626 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23627 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23628 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23629 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23630 echo "*** is required on your system"
23632 echo "*** If you have an old version installed, it is best to remove it, although"
23633 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23635 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23636 echo "*** came with the system with the command"
23638 echo "*** rpm --erase --nodeps gtk gtk-devel"
23640 echo "*** The test program failed to compile or link. See the file config.log for the"
23641 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23642 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23643 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23645 rm -f core conftest.err conftest.
$ac_objext \
23646 conftest
$ac_exeext conftest.
$ac_ext
23647 CFLAGS
="$ac_save_CFLAGS"
23648 LIBS
="$ac_save_LIBS"
23660 if test -z "$wx_cv_lib_gtk"; then
23662 # Check whether --with-gtk-prefix was given.
23663 if test "${with_gtk_prefix+set}" = set; then :
23664 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23666 gtk_config_prefix
=""
23670 # Check whether --with-gtk-exec-prefix was given.
23671 if test "${with_gtk_exec_prefix+set}" = set; then :
23672 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23674 gtk_config_exec_prefix
=""
23677 # Check whether --enable-gtktest was given.
23678 if test "${enable_gtktest+set}" = set; then :
23679 enableval
=$enable_gtktest;
23685 for module
in .
$GTK_MODULES
23689 gtk_config_args
="$gtk_config_args gthread"
23694 if test x
$gtk_config_exec_prefix != x
; then
23695 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23696 if test x
${GTK_CONFIG+set} != xset
; then
23697 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23700 if test x
$gtk_config_prefix != x
; then
23701 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23702 if test x
${GTK_CONFIG+set} != xset
; then
23703 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23707 # Extract the first word of "gtk-config", so it can be a program name with args.
23708 set dummy gtk
-config; ac_word
=$2
23709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23710 $as_echo_n "checking for $ac_word... " >&6; }
23711 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23712 $as_echo_n "(cached) " >&6
23714 case $GTK_CONFIG in
23716 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23720 for as_dir
in $PATH
23723 test -z "$as_dir" && as_dir
=.
23724 for ac_exec_ext
in '' $ac_executable_extensions; do
23725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23726 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23734 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23738 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23739 if test -n "$GTK_CONFIG"; then
23740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23741 $as_echo "$GTK_CONFIG" >&6; }
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23744 $as_echo "no" >&6; }
23748 min_gtk_version
=1.2.3
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23750 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23752 if test "$GTK_CONFIG" = "no" ; then
23755 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23756 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23757 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23758 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23759 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23760 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23761 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23762 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23763 if test "x$enable_gtktest" = "xyes" ; then
23764 ac_save_CFLAGS
="$CFLAGS"
23765 ac_save_LIBS
="$LIBS"
23766 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23767 LIBS
="$GTK_LIBS $LIBS"
23769 if test "$cross_compiling" = yes; then :
23770 echo $ac_n "cross compiling; assumed OK... $ac_c"
23772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23773 /* end confdefs.h. */
23775 #include <gtk/gtk.h>
23777 #include <stdlib.h>
23782 int major, minor, micro;
23785 system ("touch conf.gtktest");
23787 /* HP/UX 9 (%@#!) writes to sscanf strings */
23788 tmp_version = g_strdup("$min_gtk_version");
23789 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23790 printf("%s, bad version string\n", "$min_gtk_version");
23794 if ((gtk_major_version != $gtk_config_major_version) ||
23795 (gtk_minor_version != $gtk_config_minor_version) ||
23796 (gtk_micro_version != $gtk_config_micro_version))
23798 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23799 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23800 gtk_major_version, gtk_minor_version, gtk_micro_version);
23801 printf ("*** was found! If gtk-config was correct, then it is best\n");
23802 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23803 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23804 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23805 printf("*** required on your system.\n");
23806 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23807 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23808 printf("*** before re-running configure\n");
23810 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23811 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23812 (gtk_minor_version != GTK_MINOR_VERSION) ||
23813 (gtk_micro_version != GTK_MICRO_VERSION))
23815 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23816 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23817 printf("*** library (version %d.%d.%d)\n",
23818 gtk_major_version, gtk_minor_version, gtk_micro_version);
23820 #endif /* defined (GTK_MAJOR_VERSION) ... */
23823 if ((gtk_major_version > major) ||
23824 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23825 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23831 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23832 gtk_major_version, gtk_minor_version, gtk_micro_version);
23833 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23834 major, minor, micro);
23835 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23837 printf("*** If you have already installed a sufficiently new version, this error\n");
23838 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23839 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23840 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23841 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23842 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23843 printf("*** so that the correct libraries are found at run-time))\n");
23850 if ac_fn_c_try_run
"$LINENO"; then :
23855 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23856 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23859 CFLAGS
="$ac_save_CFLAGS"
23860 LIBS
="$ac_save_LIBS"
23863 if test "x$no_gtk" = x
; then
23864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23865 $as_echo "yes" >&6; }
23866 wx_cv_lib_gtk
=1.2.3
23868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23869 $as_echo "no" >&6; }
23870 if test "$GTK_CONFIG" = "no" ; then
23871 echo "*** The gtk-config script installed by GTK could not be found"
23872 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23873 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23874 echo "*** full path to gtk-config."
23876 if test -f conf.gtktest
; then
23879 echo "*** Could not run GTK test program, checking why..."
23880 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23881 LIBS
="$LIBS $GTK_LIBS"
23882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23883 /* end confdefs.h. */
23885 #include <gtk/gtk.h>
23891 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23896 if ac_fn_c_try_link
"$LINENO"; then :
23897 echo "*** The test program compiled, but did not run. This usually means"
23898 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23899 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23900 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23901 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23902 echo "*** is required on your system"
23904 echo "*** If you have an old version installed, it is best to remove it, although"
23905 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23907 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23908 echo "*** came with the system with the command"
23910 echo "*** rpm --erase --nodeps gtk gtk-devel"
23912 echo "*** The test program failed to compile or link. See the file config.log for the"
23913 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23914 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23915 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23917 rm -f core conftest.err conftest.
$ac_objext \
23918 conftest
$ac_exeext conftest.
$ac_ext
23919 CFLAGS
="$ac_save_CFLAGS"
23920 LIBS
="$ac_save_LIBS"
23935 if test -z "$wx_cv_lib_gtk"; then
23938 GTK_LIBS
="$GTK_LIBS -lX11"
23940 wx_cv_cflags_gtk
=$GTK_CFLAGS
23941 wx_cv_libs_gtk
=$GTK_LIBS
23948 if test "$gtk_version_cached" = 1; then
23949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
23950 $as_echo "$wx_cv_lib_gtk" >&6; }
23953 case "$wx_cv_lib_gtk" in
23960 *) as_fn_error $?
"
23961 The development files for GTK+ were not found. For GTK+ 2, please
23962 ensure that pkg-config is in the path and that gtk+-2.0.pc is
23963 installed. For GTK+ 1.2 please check that gtk-config is in the path,
23964 and that the version is 1.2.3 or above. Also check that the
23965 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
23966 --libs' are in the LD_LIBRARY_PATH or equivalent.
23971 if test "$WXGTK2" = 1; then
23972 save_CFLAGS
="$CFLAGS"
23974 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
23975 LIBS
="$LIBS $wx_cv_libs_gtk"
23977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
23978 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
23979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23980 /* end confdefs.h. */
23982 #include <gtk/gtk.h>
23988 #if !GTK_CHECK_VERSION(2,18,0)
23996 if ac_fn_c_try_compile
"$LINENO"; then :
23998 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24000 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24002 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24005 $as_echo "yes" >&6; }
24010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24011 $as_echo "no" >&6; }
24015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24017 if test "$ac_wxgtk218" = 0; then
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24019 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24021 /* end confdefs.h. */
24023 #include <gtk/gtk.h>
24029 #if !GTK_CHECK_VERSION(2,10,0)
24037 if ac_fn_c_try_compile
"$LINENO"; then :
24039 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24041 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24044 $as_echo "yes" >&6; }
24049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24050 $as_echo "no" >&6; }
24054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24056 if test "$ac_wxgtk210" = 0; then
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.6" >&5
24058 $as_echo_n "checking if GTK+ is version >= 2.6... " >&6; }
24059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24060 /* end confdefs.h. */
24062 #include <gtk/gtk.h>
24068 #if !GTK_CHECK_VERSION(2,6,0)
24076 if ac_fn_c_try_compile
"$LINENO"; then :
24078 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24081 $as_echo "yes" >&6; }
24086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24087 $as_echo "no" >&6; }
24091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24095 CFLAGS
="$save_CFLAGS"
24098 if test "$wxUSE_UNICODE" = "yes"; then
24099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24100 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24105 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24106 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then :
24107 $as_echo_n "(cached) " >&6
24109 ac_check_lib_save_LIBS
=$LIBS
24111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24112 /* end confdefs.h. */
24114 /* Override any GCC internal prototype to avoid an error.
24115 Use char because int might match the return type of a GCC
24116 builtin and then its argument prototype would still apply. */
24120 char gdk_im_open ();
24124 return gdk_im_open ();
24129 if ac_fn_c_try_link
"$LINENO"; then :
24130 ac_cv_lib_gdk_gdk_im_open
=yes
24132 ac_cv_lib_gdk_gdk_im_open
=no
24134 rm -f core conftest.err conftest.
$ac_objext \
24135 conftest
$ac_exeext conftest.
$ac_ext
24136 LIBS
=$ac_check_lib_save_LIBS
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24139 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24140 if test "x$ac_cv_lib_gdk_gdk_im_open" = x
""yes; then :
24141 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24146 if test "$USE_DARWIN" != 1; then
24147 for ac_func
in poll
24149 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24150 if test "x$ac_cv_func_poll" = x
""yes; then :
24151 cat >>confdefs.h
<<_ACEOF
24152 #define HAVE_POLL 1
24161 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24162 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24163 AFMINSTALL
=afminstall
24167 if test "$wxUSE_GPE" = "yes"; then
24168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24169 $as_echo_n "checking for gpewidget library... " >&6; }
24172 for ac_dir
in $SEARCH_LIB
24174 for ac_extension
in a so sl dylib dll.a
; do
24175 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24176 ac_find_libraries
=$ac_dir
24182 if test "$ac_find_libraries" != "" ; then
24184 if test "$ac_find_libraries" = "default location"; then
24187 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24189 if test $result = 0; then
24192 ac_path_to_link
=" -L$ac_find_libraries"
24196 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24199 $as_echo "found in $ac_find_libraries" >&6; }
24201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24202 $as_echo "not found" >&6; }
24208 if test "$wxUSE_DFB" = 1; then
24211 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24212 if test -n "$ac_tool_prefix"; then
24213 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24214 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24216 $as_echo_n "checking for $ac_word... " >&6; }
24217 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
24218 $as_echo_n "(cached) " >&6
24220 case $PKG_CONFIG in
24222 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24226 for as_dir
in $PATH
24229 test -z "$as_dir" && as_dir
=.
24230 for ac_exec_ext
in '' $ac_executable_extensions; do
24231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24232 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24243 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24244 if test -n "$PKG_CONFIG"; then
24245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24246 $as_echo "$PKG_CONFIG" >&6; }
24248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24249 $as_echo "no" >&6; }
24254 if test -z "$ac_cv_path_PKG_CONFIG"; then
24255 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24256 # Extract the first word of "pkg-config", so it can be a program name with args.
24257 set dummy pkg
-config; ac_word
=$2
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24259 $as_echo_n "checking for $ac_word... " >&6; }
24260 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
24261 $as_echo_n "(cached) " >&6
24263 case $ac_pt_PKG_CONFIG in
24265 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24269 for as_dir
in $PATH
24272 test -z "$as_dir" && as_dir
=.
24273 for ac_exec_ext
in '' $ac_executable_extensions; do
24274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24275 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24286 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24287 if test -n "$ac_pt_PKG_CONFIG"; then
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24289 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24292 $as_echo "no" >&6; }
24295 if test "x$ac_pt_PKG_CONFIG" = x
; then
24298 case $cross_compiling:$ac_tool_warned in
24300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24302 ac_tool_warned
=yes ;;
24304 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24307 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24311 if test -n "$PKG_CONFIG"; then
24312 _pkg_min_version
=0.9.0
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24314 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24315 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24317 $as_echo "yes" >&6; }
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24320 $as_echo "no" >&6; }
24328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24329 $as_echo_n "checking for DIRECTFB... " >&6; }
24331 if test -n "$PKG_CONFIG"; then
24332 if test -n "$DIRECTFB_CFLAGS"; then
24333 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24335 if test -n "$PKG_CONFIG" && \
24336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24337 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24340 test $ac_status = 0; }; then
24341 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24349 if test -n "$PKG_CONFIG"; then
24350 if test -n "$DIRECTFB_LIBS"; then
24351 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24353 if test -n "$PKG_CONFIG" && \
24354 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24355 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24358 test $ac_status = 0; }; then
24359 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24370 if test $pkg_failed = yes; then
24372 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24373 _pkg_short_errors_supported
=yes
24375 _pkg_short_errors_supported
=no
24377 if test $_pkg_short_errors_supported = yes; then
24378 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24380 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24382 # Put the nasty error message in config.log where it belongs
24383 echo "$DIRECTFB_PKG_ERRORS" >&5
24386 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24389 elif test $pkg_failed = untried
; then
24391 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24395 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24396 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24398 $as_echo "yes" >&6; }
24400 wxUSE_UNIVERSAL
="yes"
24401 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24402 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24409 if test "$wxUSE_MICROWIN" = 1; then
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24411 $as_echo_n "checking for MicroWindows... " >&6; }
24412 if test "x$MICROWINDOWS" = x
; then
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24414 $as_echo "not found" >&6; }
24415 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24418 $as_echo "$MICROWINDOWS" >&6; }
24421 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24423 $as_echo "MicroWindows' libraries found." >&6; }
24425 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24428 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24429 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24431 wxUSE_UNIVERSAL
="yes"
24433 AFMINSTALL
=afminstall
24435 GUIDIST
=MICROWIN_DIST
24437 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24440 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24442 $as_echo_n "checking for X... " >&6; }
24445 # Check whether --with-x was given.
24446 if test "${with_x+set}" = set; then :
24450 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24451 if test "x$with_x" = xno
; then
24452 # The user explicitly disabled X.
24455 case $x_includes,$x_libraries in #(
24456 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
24457 *,NONE
| NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
24458 $as_echo_n "(cached) " >&6
24460 # One or both of the vars are not set, and there is no cached value.
24461 ac_x_includes
=no ac_x_libraries
=no
24462 rm -f -r conftest.dir
24463 if mkdir conftest.dir
; then
24465 cat >Imakefile
<<'_ACEOF'
24467 @echo incroot='${INCROOT}'
24469 @echo usrlibdir='${USRLIBDIR}'
24471 @echo libdir='${LIBDIR}'
24473 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24474 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24475 for ac_var
in incroot usrlibdir libdir
; do
24476 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24478 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24479 for ac_extension
in a so sl dylib la dll
; do
24480 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24481 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24482 ac_im_usrlibdir
=$ac_im_libdir; break
24485 # Screen out bogus values from the imake configuration. They are
24486 # bogus both because they are the default anyway, and because
24487 # using them would break gcc on systems where it needs fixed includes.
24488 case $ac_im_incroot in
24489 /usr
/include
) ac_x_includes
= ;;
24490 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24492 case $ac_im_usrlibdir in
24493 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24494 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24498 rm -f -r conftest.dir
24501 # Standard set of common directories for X headers.
24502 # Check X11 before X11Rn because it is often a symlink to the current release.
24516 /usr/local/X11/include
24517 /usr/local/X11R7/include
24518 /usr/local/X11R6/include
24519 /usr/local/X11R5/include
24520 /usr/local/X11R4/include
24522 /usr/local/include/X11
24523 /usr/local/include/X11R7
24524 /usr/local/include/X11R6
24525 /usr/local/include/X11R5
24526 /usr/local/include/X11R4
24530 /usr/XFree86/include/X11
24534 /usr/unsupported/include
24535 /usr/athena/include
24536 /usr/local/x11r5/include
24537 /usr/lpp/Xamples/include
24539 /usr/openwin/include
24540 /usr/openwin/share/include'
24542 if test "$ac_x_includes" = no
; then
24543 # Guess where to find include files, by looking for Xlib.h.
24544 # First, try using that file with no special directory specified.
24545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24546 /* end confdefs.h. */
24547 #include <X11/Xlib.h>
24549 if ac_fn_c_try_cpp
"$LINENO"; then :
24550 # We can compile using X headers with no special include directory.
24553 for ac_dir
in $ac_x_header_dirs; do
24554 if test -r "$ac_dir/X11/Xlib.h"; then
24555 ac_x_includes
=$ac_dir
24560 rm -f conftest.err conftest.i conftest.
$ac_ext
24561 fi # $ac_x_includes = no
24563 if test "$ac_x_libraries" = no
; then
24564 # Check for the libraries.
24565 # See if we find them without any special options.
24566 # Don't add to $LIBS permanently.
24569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24570 /* end confdefs.h. */
24571 #include <X11/Xlib.h>
24580 if ac_fn_c_try_link
"$LINENO"; then :
24582 # We can link X programs with no special library path.
24586 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24588 # Don't even attempt the hair of trying to link an X program!
24589 for ac_extension
in a so sl dylib la dll
; do
24590 if test -r "$ac_dir/libX11.$ac_extension"; then
24591 ac_x_libraries
=$ac_dir
24597 rm -f core conftest.err conftest.
$ac_objext \
24598 conftest
$ac_exeext conftest.
$ac_ext
24599 fi # $ac_x_libraries = no
24601 case $ac_x_includes,$ac_x_libraries in #(
24602 no
,* | *,no
| *\'*)
24603 # Didn't find X, or a directory has "'" in its name.
24604 ac_cv_have_x
="have_x=no";; #(
24606 # Record where we found X for the cache.
24607 ac_cv_have_x
="have_x=yes\
24608 ac_x_includes='$ac_x_includes'\
24609 ac_x_libraries='$ac_x_libraries'"
24615 eval "$ac_cv_have_x"
24618 if test "$have_x" != yes; then
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24620 $as_echo "$have_x" >&6; }
24623 # If each of the values was on the command line, it overrides each guess.
24624 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24625 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24626 # Update the cache value to reflect the command line values.
24627 ac_cv_have_x
="have_x=yes\
24628 ac_x_includes='$x_includes'\
24629 ac_x_libraries='$x_libraries'"
24630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24631 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24634 if test "$no_x" = yes; then
24635 # Not all programs may use this symbol, but it does not hurt to define it.
24637 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24639 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24641 if test -n "$x_includes"; then
24642 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24645 # It would also be nice to do this for all -L options, not just this one.
24646 if test -n "$x_libraries"; then
24647 X_LIBS
="$X_LIBS -L$x_libraries"
24648 # For Solaris; some versions of Sun CC require a space after -R and
24649 # others require no space. Words are not sufficient . . . .
24650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24651 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24652 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24653 ac_xsave_c_werror_flag
=$ac_c_werror_flag
24654 ac_c_werror_flag
=yes
24655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24656 /* end confdefs.h. */
24666 if ac_fn_c_try_link
"$LINENO"; then :
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24668 $as_echo "no" >&6; }
24669 X_LIBS
="$X_LIBS -R$x_libraries"
24671 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24673 /* end confdefs.h. */
24683 if ac_fn_c_try_link
"$LINENO"; then :
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24685 $as_echo "yes" >&6; }
24686 X_LIBS
="$X_LIBS -R $x_libraries"
24688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24689 $as_echo "neither works" >&6; }
24691 rm -f core conftest.err conftest.
$ac_objext \
24692 conftest
$ac_exeext conftest.
$ac_ext
24694 rm -f core conftest.err conftest.
$ac_objext \
24695 conftest
$ac_exeext conftest.
$ac_ext
24696 ac_c_werror_flag
=$ac_xsave_c_werror_flag
24697 LIBS
=$ac_xsave_LIBS
24700 # Check for system-dependent libraries X programs must link with.
24701 # Do this before checking for the system-independent R6 libraries
24702 # (-lICE), since we may need -lsocket or whatever for X linking.
24704 if test "$ISC" = yes; then
24705 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24707 # Martyn Johnson says this is needed for Ultrix, if the X
24708 # libraries were built with DECnet support. And Karl Berry says
24709 # the Alpha needs dnet_stub (dnet does not exist).
24710 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24712 /* end confdefs.h. */
24714 /* Override any GCC internal prototype to avoid an error.
24715 Use char because int might match the return type of a GCC
24716 builtin and then its argument prototype would still apply. */
24720 char XOpenDisplay ();
24724 return XOpenDisplay ();
24729 if ac_fn_c_try_link
"$LINENO"; then :
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24733 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24734 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
24735 $as_echo_n "(cached) " >&6
24737 ac_check_lib_save_LIBS
=$LIBS
24738 LIBS
="-ldnet $LIBS"
24739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24740 /* end confdefs.h. */
24742 /* Override any GCC internal prototype to avoid an error.
24743 Use char because int might match the return type of a GCC
24744 builtin and then its argument prototype would still apply. */
24752 return dnet_ntoa ();
24757 if ac_fn_c_try_link
"$LINENO"; then :
24758 ac_cv_lib_dnet_dnet_ntoa
=yes
24760 ac_cv_lib_dnet_dnet_ntoa
=no
24762 rm -f core conftest.err conftest.
$ac_objext \
24763 conftest
$ac_exeext conftest.
$ac_ext
24764 LIBS
=$ac_check_lib_save_LIBS
24766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24767 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24768 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
24769 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24772 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24774 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24775 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
24776 $as_echo_n "(cached) " >&6
24778 ac_check_lib_save_LIBS
=$LIBS
24779 LIBS
="-ldnet_stub $LIBS"
24780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24781 /* end confdefs.h. */
24783 /* Override any GCC internal prototype to avoid an error.
24784 Use char because int might match the return type of a GCC
24785 builtin and then its argument prototype would still apply. */
24793 return dnet_ntoa ();
24798 if ac_fn_c_try_link
"$LINENO"; then :
24799 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24801 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24803 rm -f core conftest.err conftest.
$ac_objext \
24804 conftest
$ac_exeext conftest.
$ac_ext
24805 LIBS
=$ac_check_lib_save_LIBS
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24808 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24809 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
24810 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24815 rm -f core conftest.err conftest.
$ac_objext \
24816 conftest
$ac_exeext conftest.
$ac_ext
24817 LIBS
="$ac_xsave_LIBS"
24819 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24820 # to get the SysV transport functions.
24821 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24823 # The nsl library prevents programs from opening the X display
24824 # on Irix 5.2, according to T.E. Dickey.
24825 # The functions gethostbyname, getservbyname, and inet_addr are
24826 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24827 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
24828 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
24832 if test $ac_cv_func_gethostbyname = no
; then
24833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
24834 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
24835 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
24836 $as_echo_n "(cached) " >&6
24838 ac_check_lib_save_LIBS
=$LIBS
24840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24841 /* end confdefs.h. */
24843 /* Override any GCC internal prototype to avoid an error.
24844 Use char because int might match the return type of a GCC
24845 builtin and then its argument prototype would still apply. */
24849 char gethostbyname ();
24853 return gethostbyname ();
24858 if ac_fn_c_try_link
"$LINENO"; then :
24859 ac_cv_lib_nsl_gethostbyname
=yes
24861 ac_cv_lib_nsl_gethostbyname
=no
24863 rm -f core conftest.err conftest.
$ac_objext \
24864 conftest
$ac_exeext conftest.
$ac_ext
24865 LIBS
=$ac_check_lib_save_LIBS
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
24868 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
24869 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
24870 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24873 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
24875 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
24876 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
24877 $as_echo_n "(cached) " >&6
24879 ac_check_lib_save_LIBS
=$LIBS
24881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24882 /* end confdefs.h. */
24884 /* Override any GCC internal prototype to avoid an error.
24885 Use char because int might match the return type of a GCC
24886 builtin and then its argument prototype would still apply. */
24890 char gethostbyname ();
24894 return gethostbyname ();
24899 if ac_fn_c_try_link
"$LINENO"; then :
24900 ac_cv_lib_bsd_gethostbyname
=yes
24902 ac_cv_lib_bsd_gethostbyname
=no
24904 rm -f core conftest.err conftest.
$ac_objext \
24905 conftest
$ac_exeext conftest.
$ac_ext
24906 LIBS
=$ac_check_lib_save_LIBS
24908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
24909 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
24910 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
24911 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24917 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24918 # socket/setsockopt and other routines are undefined under SCO ODT
24919 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24920 # on later versions), says Simon Leinen: it contains gethostby*
24921 # variants that don't use the name server (or something). -lsocket
24922 # must be given before -lnsl if both are needed. We assume that
24923 # if connect needs -lnsl, so does gethostbyname.
24924 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
24925 if test "x$ac_cv_func_connect" = x
""yes; then :
24929 if test $ac_cv_func_connect = no
; then
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
24931 $as_echo_n "checking for connect in -lsocket... " >&6; }
24932 if test "${ac_cv_lib_socket_connect+set}" = set; then :
24933 $as_echo_n "(cached) " >&6
24935 ac_check_lib_save_LIBS
=$LIBS
24936 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24938 /* end confdefs.h. */
24940 /* Override any GCC internal prototype to avoid an error.
24941 Use char because int might match the return type of a GCC
24942 builtin and then its argument prototype would still apply. */
24955 if ac_fn_c_try_link
"$LINENO"; then :
24956 ac_cv_lib_socket_connect
=yes
24958 ac_cv_lib_socket_connect
=no
24960 rm -f core conftest.err conftest.
$ac_objext \
24961 conftest
$ac_exeext conftest.
$ac_ext
24962 LIBS
=$ac_check_lib_save_LIBS
24964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
24965 $as_echo "$ac_cv_lib_socket_connect" >&6; }
24966 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
24967 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24972 # Guillermo Gomez says -lposix is necessary on A/UX.
24973 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
24974 if test "x$ac_cv_func_remove" = x
""yes; then :
24978 if test $ac_cv_func_remove = no
; then
24979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
24980 $as_echo_n "checking for remove in -lposix... " >&6; }
24981 if test "${ac_cv_lib_posix_remove+set}" = set; then :
24982 $as_echo_n "(cached) " >&6
24984 ac_check_lib_save_LIBS
=$LIBS
24985 LIBS
="-lposix $LIBS"
24986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24987 /* end confdefs.h. */
24989 /* Override any GCC internal prototype to avoid an error.
24990 Use char because int might match the return type of a GCC
24991 builtin and then its argument prototype would still apply. */
25004 if ac_fn_c_try_link
"$LINENO"; then :
25005 ac_cv_lib_posix_remove
=yes
25007 ac_cv_lib_posix_remove
=no
25009 rm -f core conftest.err conftest.
$ac_objext \
25010 conftest
$ac_exeext conftest.
$ac_ext
25011 LIBS
=$ac_check_lib_save_LIBS
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25014 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25015 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
25016 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25021 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25022 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25023 if test "x$ac_cv_func_shmat" = x
""yes; then :
25027 if test $ac_cv_func_shmat = no
; then
25028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25029 $as_echo_n "checking for shmat in -lipc... " >&6; }
25030 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
25031 $as_echo_n "(cached) " >&6
25033 ac_check_lib_save_LIBS
=$LIBS
25035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25036 /* end confdefs.h. */
25038 /* Override any GCC internal prototype to avoid an error.
25039 Use char because int might match the return type of a GCC
25040 builtin and then its argument prototype would still apply. */
25053 if ac_fn_c_try_link
"$LINENO"; then :
25054 ac_cv_lib_ipc_shmat
=yes
25056 ac_cv_lib_ipc_shmat
=no
25058 rm -f core conftest.err conftest.
$ac_objext \
25059 conftest
$ac_exeext conftest.
$ac_ext
25060 LIBS
=$ac_check_lib_save_LIBS
25062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25063 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25064 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
25065 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25071 # Check for libraries that X11R6 Xt/Xaw programs need.
25072 ac_save_LDFLAGS
=$LDFLAGS
25073 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25074 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25075 # check for ICE first), but we must link in the order -lSM -lICE or
25076 # we get undefined symbols. So assume we have SM if we have ICE.
25077 # These have to be linked with before -lX11, unlike the other
25078 # libraries we check for below, so use a different variable.
25079 # John Interrante, Karl Berry
25080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25081 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25082 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
25083 $as_echo_n "(cached) " >&6
25085 ac_check_lib_save_LIBS
=$LIBS
25086 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25088 /* end confdefs.h. */
25090 /* Override any GCC internal prototype to avoid an error.
25091 Use char because int might match the return type of a GCC
25092 builtin and then its argument prototype would still apply. */
25096 char IceConnectionNumber ();
25100 return IceConnectionNumber ();
25105 if ac_fn_c_try_link
"$LINENO"; then :
25106 ac_cv_lib_ICE_IceConnectionNumber
=yes
25108 ac_cv_lib_ICE_IceConnectionNumber
=no
25110 rm -f core conftest.err conftest.
$ac_objext \
25111 conftest
$ac_exeext conftest.
$ac_ext
25112 LIBS
=$ac_check_lib_save_LIBS
25114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25115 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25116 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
25117 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25120 LDFLAGS
=$ac_save_LDFLAGS
25125 if test "$no_x" = "yes"; then
25126 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25129 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25130 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25131 AFMINSTALL
=afminstall
25132 COMPILED_X_PROGRAM
=0
25136 if test "$wxUSE_X11" = 1; then
25137 if test "$wxUSE_NANOX" = "yes"; then
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25139 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25140 if test "x$MICROWIN" = x
; then
25141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25142 $as_echo "not found" >&6; }
25143 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25146 $as_echo "$MICROWIN" >&6; }
25147 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25152 if test "$wxUSE_UNICODE" = "yes"; then
25155 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25156 if test -n "$ac_tool_prefix"; then
25157 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25158 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25160 $as_echo_n "checking for $ac_word... " >&6; }
25161 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
25162 $as_echo_n "(cached) " >&6
25164 case $PKG_CONFIG in
25166 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25170 for as_dir
in $PATH
25173 test -z "$as_dir" && as_dir
=.
25174 for ac_exec_ext
in '' $ac_executable_extensions; do
25175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25176 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25187 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25188 if test -n "$PKG_CONFIG"; then
25189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25190 $as_echo "$PKG_CONFIG" >&6; }
25192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25193 $as_echo "no" >&6; }
25198 if test -z "$ac_cv_path_PKG_CONFIG"; then
25199 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25200 # Extract the first word of "pkg-config", so it can be a program name with args.
25201 set dummy pkg
-config; ac_word
=$2
25202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25203 $as_echo_n "checking for $ac_word... " >&6; }
25204 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
25205 $as_echo_n "(cached) " >&6
25207 case $ac_pt_PKG_CONFIG in
25209 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25213 for as_dir
in $PATH
25216 test -z "$as_dir" && as_dir
=.
25217 for ac_exec_ext
in '' $ac_executable_extensions; do
25218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25219 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25230 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25231 if test -n "$ac_pt_PKG_CONFIG"; then
25232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25233 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25236 $as_echo "no" >&6; }
25239 if test "x$ac_pt_PKG_CONFIG" = x
; then
25242 case $cross_compiling:$ac_tool_warned in
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25246 ac_tool_warned
=yes ;;
25248 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25251 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25255 if test -n "$PKG_CONFIG"; then
25256 _pkg_min_version
=0.9.0
25257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25258 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25259 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25261 $as_echo "yes" >&6; }
25263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25264 $as_echo "no" >&6; }
25272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25273 $as_echo_n "checking for PANGOX... " >&6; }
25275 if test -n "$PKG_CONFIG"; then
25276 if test -n "$PANGOX_CFLAGS"; then
25277 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25279 if test -n "$PKG_CONFIG" && \
25280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25281 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25284 test $ac_status = 0; }; then
25285 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25293 if test -n "$PKG_CONFIG"; then
25294 if test -n "$PANGOX_LIBS"; then
25295 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25297 if test -n "$PKG_CONFIG" && \
25298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25299 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25302 test $ac_status = 0; }; then
25303 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25314 if test $pkg_failed = yes; then
25316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25317 _pkg_short_errors_supported
=yes
25319 _pkg_short_errors_supported
=no
25321 if test $_pkg_short_errors_supported = yes; then
25322 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25324 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25326 # Put the nasty error message in config.log where it belongs
25327 echo "$PANGOX_PKG_ERRORS" >&5
25330 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25333 elif test $pkg_failed = untried
; then
25335 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25339 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25340 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25342 $as_echo "yes" >&6; }
25344 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25345 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25346 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25352 $as_echo_n "checking for PANGOFT2... " >&6; }
25354 if test -n "$PKG_CONFIG"; then
25355 if test -n "$PANGOFT2_CFLAGS"; then
25356 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25358 if test -n "$PKG_CONFIG" && \
25359 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25360 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25363 test $ac_status = 0; }; then
25364 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25372 if test -n "$PKG_CONFIG"; then
25373 if test -n "$PANGOFT2_LIBS"; then
25374 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25376 if test -n "$PKG_CONFIG" && \
25377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25378 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25381 test $ac_status = 0; }; then
25382 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25393 if test $pkg_failed = yes; then
25395 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25396 _pkg_short_errors_supported
=yes
25398 _pkg_short_errors_supported
=no
25400 if test $_pkg_short_errors_supported = yes; then
25401 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25403 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25405 # Put the nasty error message in config.log where it belongs
25406 echo "$PANGOFT2_PKG_ERRORS" >&5
25409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25410 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25411 wxUSE_PRINTING_ARCHITECTURE
="no"
25414 elif test $pkg_failed = untried
; then
25416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25417 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25418 wxUSE_PRINTING_ARCHITECTURE
="no"
25422 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25423 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25425 $as_echo "yes" >&6; }
25427 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25428 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25429 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25435 $as_echo_n "checking for PANGOXFT... " >&6; }
25437 if test -n "$PKG_CONFIG"; then
25438 if test -n "$PANGOXFT_CFLAGS"; then
25439 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25441 if test -n "$PKG_CONFIG" && \
25442 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25443 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25446 test $ac_status = 0; }; then
25447 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25455 if test -n "$PKG_CONFIG"; then
25456 if test -n "$PANGOXFT_LIBS"; then
25457 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25459 if test -n "$PKG_CONFIG" && \
25460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25461 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25464 test $ac_status = 0; }; then
25465 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25476 if test $pkg_failed = yes; then
25478 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25479 _pkg_short_errors_supported
=yes
25481 _pkg_short_errors_supported
=no
25483 if test $_pkg_short_errors_supported = yes; then
25484 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25486 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25488 # Put the nasty error message in config.log where it belongs
25489 echo "$PANGOXFT_PKG_ERRORS" >&5
25492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25493 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25496 elif test $pkg_failed = untried
; then
25498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25499 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25503 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25504 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25506 $as_echo "yes" >&6; }
25508 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25510 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25511 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25512 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25516 LIBS
="$LIBS $PANGOX_LIBS"
25517 for ac_func
in pango_font_family_is_monospace
25519 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25520 if test "x$ac_cv_func_pango_font_family_is_monospace" = x
""yes; then :
25521 cat >>confdefs.h
<<_ACEOF
25522 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25531 wxUSE_UNIVERSAL
="yes"
25533 if test "$wxUSE_NANOX" = "yes"; then
25534 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25535 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
25536 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25538 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25545 if test "$wxUSE_MOTIF" = 1; then
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25547 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25550 for ac_dir
in $SEARCH_INCLUDE /usr
/include
25552 if test -f "$ac_dir/Xm/Xm.h"; then
25553 ac_find_includes
=$ac_dir
25558 if test "$ac_find_includes" != "" ; then
25559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25560 $as_echo "found in $ac_find_includes" >&6; }
25562 if test "x$ac_find_includes" = "x/usr/include"; then
25563 ac_path_to_include
=""
25565 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25567 if test $result = 0; then
25568 ac_path_to_include
=""
25570 ac_path_to_include
=" -I$ac_find_includes"
25574 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25576 save_CFLAGS
=$CFLAGS
25577 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25580 /* end confdefs.h. */
25589 version = xmUseVersion;
25595 if ac_fn_c_try_compile
"$LINENO"; then :
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25598 $as_echo "found in default search path" >&6; }
25599 COMPILED_X_PROGRAM
=1
25603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25604 $as_echo "no" >&6; }
25605 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25611 CFLAGS
=$save_CFLAGS
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25616 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25619 for ac_dir
in $SEARCH_LIB
25621 for ac_extension
in a so sl dylib dll.a
; do
25622 if test -f "$ac_dir/libXm.$ac_extension"; then
25623 ac_find_libraries
=$ac_dir
25630 if test "x$ac_find_libraries" != "x" ; then
25631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25632 $as_echo "found in $ac_find_libraries" >&6; }
25635 if test "$ac_find_libraries" = "default location"; then
25638 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25640 if test $result = 0; then
25643 ac_path_to_link
=" -L$ac_find_libraries"
25647 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25649 save_CFLAGS
=$CFLAGS
25650 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25652 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25655 /* end confdefs.h. */
25664 version = xmUseVersion;
25670 if ac_fn_c_try_link
"$LINENO"; then :
25672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25673 $as_echo "found in default search path" >&6; }
25674 COMPILED_X_PROGRAM
=1
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25679 $as_echo "no" >&6; }
25680 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25684 rm -f core conftest.err conftest.
$ac_objext \
25685 conftest
$ac_exeext conftest.
$ac_ext
25687 CFLAGS
=$save_CFLAGS
25691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25692 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25696 for libp
in "" " -lXp"; do
25697 if test "$libs_found" = 0; then
25698 for libsm_ice
in "" " -lSM -lICE"; do
25699 if test "$libs_found" = 0; then
25701 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25702 save_CFLAGS
=$CFLAGS
25703 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25706 /* end confdefs.h. */
25709 #include <Xm/List.h>
25715 XmString string = NULL;
25718 XmListAddItem(w, string, position);
25724 if ac_fn_c_try_link
"$LINENO"; then :
25727 libsm_ice_link
="$libsm_ice"
25728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25729 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
25733 rm -f core conftest.err conftest.
$ac_objext \
25734 conftest
$ac_exeext conftest.
$ac_ext
25737 CFLAGS
=$save_CFLAGS
25743 if test "$libs_found" = 0; then
25744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
25745 $as_echo "can't find the right libraries" >&6; }
25746 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
25749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
25750 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
25751 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then :
25752 $as_echo_n "(cached) " >&6
25754 ac_check_lib_save_LIBS
=$LIBS
25756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25757 /* end confdefs.h. */
25759 /* Override any GCC internal prototype to avoid an error.
25760 Use char because int might match the return type of a GCC
25761 builtin and then its argument prototype would still apply. */
25765 char SgCreateList ();
25769 return SgCreateList ();
25774 if ac_fn_c_try_link
"$LINENO"; then :
25775 ac_cv_lib_Sgm_SgCreateList
=yes
25777 ac_cv_lib_Sgm_SgCreateList
=no
25779 rm -f core conftest.err conftest.
$ac_objext \
25780 conftest
$ac_exeext conftest.
$ac_ext
25781 LIBS
=$ac_check_lib_save_LIBS
25783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
25784 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
25785 if test "x$ac_cv_lib_Sgm_SgCreateList" = x
""yes; then :
25786 libsgm_link
=" -lSgm"
25790 save_CFLAGS
=$CFLAGS
25791 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
25794 $as_echo_n "checking for Motif 2... " >&6; }
25795 if test "${wx_cv_lib_motif2+set}" = set; then :
25796 $as_echo_n "(cached) " >&6
25798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25799 /* end confdefs.h. */
25807 #if XmVersion < 2000
25815 if ac_fn_c_try_compile
"$LINENO"; then :
25816 wx_cv_lib_motif2
="yes"
25818 wx_cv_lib_motif2
="no"
25820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
25823 $as_echo "$wx_cv_lib_motif2" >&6; }
25824 if test "$wx_cv_lib_motif2" = "yes"; then
25825 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
25828 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
25832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
25833 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
25834 if test "${wx_cv_lib_lesstif+set}" = set; then :
25835 $as_echo_n "(cached) " >&6
25837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25838 /* end confdefs.h. */
25846 #if !defined(LesstifVersion) || LesstifVersion <= 0
25854 if ac_fn_c_try_compile
"$LINENO"; then :
25855 wx_cv_lib_lesstif
="yes"
25857 wx_cv_lib_lesstif
="no"
25859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
25863 $as_echo "$wx_cv_lib_lesstif" >&6; }
25864 if test "$wx_cv_lib_lesstif" = "yes"; then
25865 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
25868 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
25872 CFLAGS
=$save_CFLAGS
25874 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25879 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25880 if test "$wxUSE_LIBXPM" = "sys"; then
25881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
25882 $as_echo_n "checking for Xpm library... " >&6; }
25885 for ac_dir
in $SEARCH_LIB
25887 for ac_extension
in a so sl dylib dll.a
; do
25888 if test -f "$ac_dir/libXpm.$ac_extension"; then
25889 ac_find_libraries
=$ac_dir
25895 if test "$ac_find_libraries" != "" ; then
25897 if test "$ac_find_libraries" = "default location"; then
25900 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25902 if test $result = 0; then
25905 ac_path_to_link
=" -L$ac_find_libraries"
25909 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25911 $as_echo "found in $ac_find_libraries" >&6; }
25913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
25914 $as_echo_n "checking for X11/xpm.h... " >&6; }
25915 if test "${wx_cv_x11_xpm_h+set}" = set; then :
25916 $as_echo_n "(cached) " >&6
25919 save_CFLAGS
=$CFLAGS
25920 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25923 /* end confdefs.h. */
25925 #include <X11/xpm.h>
25932 version = XpmLibraryVersion();
25938 if ac_fn_c_try_compile
"$LINENO"; then :
25939 wx_cv_x11_xpm_h
=yes
25944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25946 CFLAGS
=$save_CFLAGS
25950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
25951 $as_echo "$wx_cv_x11_xpm_h" >&6; }
25953 if test $wx_cv_x11_xpm_h = "yes"; then
25954 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
25955 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
25958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
25959 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
25966 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
25967 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
25968 $as_echo_n "(cached) " >&6
25970 ac_check_lib_save_LIBS
=$LIBS
25971 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
25972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25973 /* end confdefs.h. */
25975 /* Override any GCC internal prototype to avoid an error.
25976 Use char because int might match the return type of a GCC
25977 builtin and then its argument prototype would still apply. */
25981 char XShapeQueryExtension ();
25985 return XShapeQueryExtension ();
25990 if ac_fn_c_try_link
"$LINENO"; then :
25991 ac_cv_lib_Xext_XShapeQueryExtension
=yes
25993 ac_cv_lib_Xext_XShapeQueryExtension
=no
25995 rm -f core conftest.err conftest.
$ac_objext \
25996 conftest
$ac_exeext conftest.
$ac_ext
25997 LIBS
=$ac_check_lib_save_LIBS
25999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26000 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26001 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x
""yes; then :
26003 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26009 if test "$wxHAVE_XEXT_LIB" = 1; then
26010 save_CFLAGS
="$CFLAGS"
26011 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26014 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26016 /* end confdefs.h. */
26018 #include <X11/Xlib.h>
26019 #include <X11/extensions/shape.h>
26025 int dummy1, dummy2;
26026 XShapeQueryExtension((Display*)NULL,
26027 (int*)NULL, (int*)NULL);
26033 if ac_fn_c_try_compile
"$LINENO"; then :
26035 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26038 $as_echo "found" >&6; }
26042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26043 $as_echo "not found" >&6; }
26046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26047 CFLAGS
="$save_CFLAGS"
26052 if test "$wxUSE_OSX_CARBON" = 1; then
26053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26054 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26055 if test "$GCC" = yes; then
26056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26057 $as_echo "gcc" >&6; }
26058 CPPFLAGS_PASCAL
="-fpascal-strings"
26059 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26061 $as_echo "xlc" >&6; }
26062 CPPFLAGS_PASCAL
="-qmacpstr"
26064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26065 $as_echo "none" >&6; }
26068 if test "x$wxUSE_UNIX" = "xyes"; then
26069 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26071 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26075 GUIDIST
=OSX_CARBON_DIST
26076 WXBASEPORT
="_carbon"
26078 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26081 if test "$wxUSE_OSX_COCOA" = 1; then
26083 GUIDIST
=OSX_COCOA_DIST
26085 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26088 if test "$wxUSE_OSX_IPHONE" = 1; then
26092 if test "$wxUSE_OLD_COCOA" = 1; then
26097 if test "$wxUSE_PM" = 1; then
26100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26101 $as_echo_n "checking for type SPBCDATA... " >&6; }
26102 if test "${wx_cv_spbcdata+set}" = set; then :
26103 $as_echo_n "(cached) " >&6
26106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26107 /* end confdefs.h. */
26122 if ac_fn_c_try_compile
"$LINENO"; then :
26128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26133 $as_echo "$wx_cv_spbcdata" >&6; }
26135 if test $wx_cv_spbcdata = "yes"; then
26136 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26141 if test "$TOOLKIT" = "PM" ; then
26144 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26147 if test "$wxUSE_UNIVERSAL" = "yes"; then
26148 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26152 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26153 DISTDIR
="wx\$(TOOLKIT)"
26159 if test "$USE_WIN32" = 1 ; then
26163 GUIDIST
="BASE_DIST"
26169 if test "$wxUSE_GUI" = "yes"; then
26170 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26171 for ac_header
in X
11/Xlib.h
26173 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26175 if test "x$ac_cv_header_X11_Xlib_h" = x
""yes; then :
26176 cat >>confdefs.h
<<_ACEOF
26177 #define HAVE_X11_XLIB_H 1
26184 for ac_header
in X
11/XKBlib.h
26186 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26187 #if HAVE_X11_XLIB_H
26188 #include <X11/Xlib.h>
26192 if test "x$ac_cv_header_X11_XKBlib_h" = x
""yes; then :
26193 cat >>confdefs.h
<<_ACEOF
26194 #define HAVE_X11_XKBLIB_H 1
26207 if test "$wxUSE_DISPLAY" = "yes"; then
26208 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
26212 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26215 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26216 if test -n "$ac_tool_prefix"; then
26217 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26218 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26220 $as_echo_n "checking for $ac_word... " >&6; }
26221 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26222 $as_echo_n "(cached) " >&6
26224 case $PKG_CONFIG in
26226 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26230 for as_dir
in $PATH
26233 test -z "$as_dir" && as_dir
=.
26234 for ac_exec_ext
in '' $ac_executable_extensions; do
26235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26236 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26247 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26248 if test -n "$PKG_CONFIG"; then
26249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26250 $as_echo "$PKG_CONFIG" >&6; }
26252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26253 $as_echo "no" >&6; }
26258 if test -z "$ac_cv_path_PKG_CONFIG"; then
26259 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26260 # Extract the first word of "pkg-config", so it can be a program name with args.
26261 set dummy pkg
-config; ac_word
=$2
26262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26263 $as_echo_n "checking for $ac_word... " >&6; }
26264 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26265 $as_echo_n "(cached) " >&6
26267 case $ac_pt_PKG_CONFIG in
26269 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26273 for as_dir
in $PATH
26276 test -z "$as_dir" && as_dir
=.
26277 for ac_exec_ext
in '' $ac_executable_extensions; do
26278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26279 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26290 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26291 if test -n "$ac_pt_PKG_CONFIG"; then
26292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26293 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26296 $as_echo "no" >&6; }
26299 if test "x$ac_pt_PKG_CONFIG" = x
; then
26302 case $cross_compiling:$ac_tool_warned in
26304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26306 ac_tool_warned
=yes ;;
26308 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26311 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26315 if test -n "$PKG_CONFIG"; then
26316 _pkg_min_version
=0.9.0
26317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26318 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26319 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26321 $as_echo "yes" >&6; }
26323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26324 $as_echo "no" >&6; }
26331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26332 $as_echo_n "checking for Xinerama... " >&6; }
26334 if test -n "$PKG_CONFIG"; then
26335 if test -n "$Xinerama_CFLAGS"; then
26336 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26338 if test -n "$PKG_CONFIG" && \
26339 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26340 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26343 test $ac_status = 0; }; then
26344 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26352 if test -n "$PKG_CONFIG"; then
26353 if test -n "$Xinerama_LIBS"; then
26354 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26356 if test -n "$PKG_CONFIG" && \
26357 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26358 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26361 test $ac_status = 0; }; then
26362 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26373 if test $pkg_failed = yes; then
26375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26376 _pkg_short_errors_supported
=yes
26378 _pkg_short_errors_supported
=no
26380 if test $_pkg_short_errors_supported = yes; then
26381 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26383 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26385 # Put the nasty error message in config.log where it belongs
26386 echo "$Xinerama_PKG_ERRORS" >&5
26389 if test "x$ac_find_libraries" = "x"; then
26390 if test "xXineramaQueryScreens" != "x"; then
26391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26392 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26393 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26394 $as_echo_n "(cached) " >&6
26396 ac_check_lib_save_LIBS
=$LIBS
26397 LIBS
="-lXinerama $LIBS"
26398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26399 /* end confdefs.h. */
26401 /* Override any GCC internal prototype to avoid an error.
26402 Use char because int might match the return type of a GCC
26403 builtin and then its argument prototype would still apply. */
26407 char XineramaQueryScreens ();
26411 return XineramaQueryScreens ();
26416 if ac_fn_c_try_link
"$LINENO"; then :
26417 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26419 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26421 rm -f core conftest.err conftest.
$ac_objext \
26422 conftest
$ac_exeext conftest.
$ac_ext
26423 LIBS
=$ac_check_lib_save_LIBS
26425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26426 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26427 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x
""yes; then :
26428 ac_find_libraries
="std"
26434 if test "x$ac_find_libraries" = "x"; then
26435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26436 $as_echo_n "checking elsewhere... " >&6; }
26439 for ac_dir
in $SEARCH_LIB
26441 for ac_extension
in a so sl dylib dll.a
; do
26442 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26443 ac_find_libraries
=$ac_dir
26449 if test "x$ac_find_libraries" != "x"; then
26450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26451 $as_echo "yes" >&6; }
26453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26454 $as_echo "no" >&6; }
26458 elif test $pkg_failed = untried
; then
26460 if test "x$ac_find_libraries" = "x"; then
26461 if test "xXineramaQueryScreens" != "x"; then
26462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26463 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26464 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26465 $as_echo_n "(cached) " >&6
26467 ac_check_lib_save_LIBS
=$LIBS
26468 LIBS
="-lXinerama $LIBS"
26469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26470 /* end confdefs.h. */
26472 /* Override any GCC internal prototype to avoid an error.
26473 Use char because int might match the return type of a GCC
26474 builtin and then its argument prototype would still apply. */
26478 char XineramaQueryScreens ();
26482 return XineramaQueryScreens ();
26487 if ac_fn_c_try_link
"$LINENO"; then :
26488 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26490 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26492 rm -f core conftest.err conftest.
$ac_objext \
26493 conftest
$ac_exeext conftest.
$ac_ext
26494 LIBS
=$ac_check_lib_save_LIBS
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26497 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26498 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x
""yes; then :
26499 ac_find_libraries
="std"
26505 if test "x$ac_find_libraries" = "x"; then
26506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26507 $as_echo_n "checking elsewhere... " >&6; }
26510 for ac_dir
in $SEARCH_LIB
26512 for ac_extension
in a so sl dylib dll.a
; do
26513 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26514 ac_find_libraries
=$ac_dir
26520 if test "x$ac_find_libraries" != "x"; then
26521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26522 $as_echo "yes" >&6; }
26524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26525 $as_echo "no" >&6; }
26530 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
26531 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26533 $as_echo "yes" >&6; }
26535 ac_find_libraries
="std"
26537 eval ac_find_cflags
=\
$Xinerama_CFLAGS
26538 eval fl_libs
=\
$Xinerama_LIBS
26540 for fl_path
in $fl_libs
26542 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26543 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
26549 if test "$ac_find_libraries" != "" ; then
26550 if test "$ac_find_libraries" != "std" ; then
26552 if test "$ac_find_libraries" = "default location"; then
26555 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26557 if test $result = 0; then
26560 ac_path_to_link
=" -L$ac_find_libraries"
26564 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26565 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26569 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26572 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26575 elif test "$wxUSE_MSW" = 1; then
26576 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26578 if test "x$ac_cv_header_ddraw_h" = x
""yes; then :
26586 if test "$wxUSE_DISPLAY" = "yes"; then
26587 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26591 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26594 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26595 if test -n "$ac_tool_prefix"; then
26596 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26597 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26599 $as_echo_n "checking for $ac_word... " >&6; }
26600 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26601 $as_echo_n "(cached) " >&6
26603 case $PKG_CONFIG in
26605 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26609 for as_dir
in $PATH
26612 test -z "$as_dir" && as_dir
=.
26613 for ac_exec_ext
in '' $ac_executable_extensions; do
26614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26615 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26626 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26627 if test -n "$PKG_CONFIG"; then
26628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26629 $as_echo "$PKG_CONFIG" >&6; }
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26632 $as_echo "no" >&6; }
26637 if test -z "$ac_cv_path_PKG_CONFIG"; then
26638 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26639 # Extract the first word of "pkg-config", so it can be a program name with args.
26640 set dummy pkg
-config; ac_word
=$2
26641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26642 $as_echo_n "checking for $ac_word... " >&6; }
26643 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26644 $as_echo_n "(cached) " >&6
26646 case $ac_pt_PKG_CONFIG in
26648 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26652 for as_dir
in $PATH
26655 test -z "$as_dir" && as_dir
=.
26656 for ac_exec_ext
in '' $ac_executable_extensions; do
26657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26658 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26669 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26670 if test -n "$ac_pt_PKG_CONFIG"; then
26671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26672 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26675 $as_echo "no" >&6; }
26678 if test "x$ac_pt_PKG_CONFIG" = x
; then
26681 case $cross_compiling:$ac_tool_warned in
26683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26685 ac_tool_warned
=yes ;;
26687 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26690 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26694 if test -n "$PKG_CONFIG"; then
26695 _pkg_min_version
=0.9.0
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26697 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26698 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26700 $as_echo "yes" >&6; }
26702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26703 $as_echo "no" >&6; }
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26711 $as_echo_n "checking for Xxf86vm... " >&6; }
26713 if test -n "$PKG_CONFIG"; then
26714 if test -n "$Xxf86vm_CFLAGS"; then
26715 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
26717 if test -n "$PKG_CONFIG" && \
26718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26719 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26722 test $ac_status = 0; }; then
26723 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26731 if test -n "$PKG_CONFIG"; then
26732 if test -n "$Xxf86vm_LIBS"; then
26733 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
26735 if test -n "$PKG_CONFIG" && \
26736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26737 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26740 test $ac_status = 0; }; then
26741 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26752 if test $pkg_failed = yes; then
26754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26755 _pkg_short_errors_supported
=yes
26757 _pkg_short_errors_supported
=no
26759 if test $_pkg_short_errors_supported = yes; then
26760 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26762 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26764 # Put the nasty error message in config.log where it belongs
26765 echo "$Xxf86vm_PKG_ERRORS" >&5
26768 if test "x$ac_find_libraries" = "x"; then
26769 if test "xXF86VidModeQueryExtension" != "x"; then
26770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26771 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26772 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
26773 $as_echo_n "(cached) " >&6
26775 ac_check_lib_save_LIBS
=$LIBS
26776 LIBS
="-lXxf86vm $LIBS"
26777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26778 /* end confdefs.h. */
26780 /* Override any GCC internal prototype to avoid an error.
26781 Use char because int might match the return type of a GCC
26782 builtin and then its argument prototype would still apply. */
26786 char XF86VidModeQueryExtension ();
26790 return XF86VidModeQueryExtension ();
26795 if ac_fn_c_try_link
"$LINENO"; then :
26796 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
26798 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
26800 rm -f core conftest.err conftest.
$ac_objext \
26801 conftest
$ac_exeext conftest.
$ac_ext
26802 LIBS
=$ac_check_lib_save_LIBS
26804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
26805 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
26806 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
26807 ac_find_libraries
="std"
26813 if test "x$ac_find_libraries" = "x"; then
26814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26815 $as_echo_n "checking elsewhere... " >&6; }
26818 for ac_dir
in $SEARCH_LIB
26820 for ac_extension
in a so sl dylib dll.a
; do
26821 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26822 ac_find_libraries
=$ac_dir
26828 if test "x$ac_find_libraries" != "x"; then
26829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26830 $as_echo "yes" >&6; }
26832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26833 $as_echo "no" >&6; }
26837 elif test $pkg_failed = untried
; then
26839 if test "x$ac_find_libraries" = "x"; then
26840 if test "xXF86VidModeQueryExtension" != "x"; then
26841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26842 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26843 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
26844 $as_echo_n "(cached) " >&6
26846 ac_check_lib_save_LIBS
=$LIBS
26847 LIBS
="-lXxf86vm $LIBS"
26848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26849 /* end confdefs.h. */
26851 /* Override any GCC internal prototype to avoid an error.
26852 Use char because int might match the return type of a GCC
26853 builtin and then its argument prototype would still apply. */
26857 char XF86VidModeQueryExtension ();
26861 return XF86VidModeQueryExtension ();
26866 if ac_fn_c_try_link
"$LINENO"; then :
26867 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
26869 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
26871 rm -f core conftest.err conftest.
$ac_objext \
26872 conftest
$ac_exeext conftest.
$ac_ext
26873 LIBS
=$ac_check_lib_save_LIBS
26875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
26876 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
26877 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
26878 ac_find_libraries
="std"
26884 if test "x$ac_find_libraries" = "x"; then
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26886 $as_echo_n "checking elsewhere... " >&6; }
26889 for ac_dir
in $SEARCH_LIB
26891 for ac_extension
in a so sl dylib dll.a
; do
26892 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26893 ac_find_libraries
=$ac_dir
26899 if test "x$ac_find_libraries" != "x"; then
26900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26901 $as_echo "yes" >&6; }
26903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26904 $as_echo "no" >&6; }
26909 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
26910 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
26911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26912 $as_echo "yes" >&6; }
26914 ac_find_libraries
="std"
26916 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
26917 eval fl_libs
=\
$Xxf86vm_LIBS
26919 for fl_path
in $fl_libs
26921 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26922 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
26928 if test "$ac_find_libraries" != "" ; then
26929 for ac_header
in X
11/extensions
/xf86vmode.h
26931 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
26932 #if HAVE_X11_XLIB_H
26933 #include <X11/Xlib.h>
26937 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = x
""yes; then :
26938 cat >>confdefs.h
<<_ACEOF
26939 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
26942 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
26952 if test "$wxUSE_DETECT_SM" = "yes"; then
26953 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
26957 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
26960 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26961 if test -n "$ac_tool_prefix"; then
26962 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26963 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26965 $as_echo_n "checking for $ac_word... " >&6; }
26966 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26967 $as_echo_n "(cached) " >&6
26969 case $PKG_CONFIG in
26971 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26975 for as_dir
in $PATH
26978 test -z "$as_dir" && as_dir
=.
26979 for ac_exec_ext
in '' $ac_executable_extensions; do
26980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26981 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26992 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26993 if test -n "$PKG_CONFIG"; then
26994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26995 $as_echo "$PKG_CONFIG" >&6; }
26997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26998 $as_echo "no" >&6; }
27003 if test -z "$ac_cv_path_PKG_CONFIG"; then
27004 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27005 # Extract the first word of "pkg-config", so it can be a program name with args.
27006 set dummy pkg
-config; ac_word
=$2
27007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27008 $as_echo_n "checking for $ac_word... " >&6; }
27009 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27010 $as_echo_n "(cached) " >&6
27012 case $ac_pt_PKG_CONFIG in
27014 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27018 for as_dir
in $PATH
27021 test -z "$as_dir" && as_dir
=.
27022 for ac_exec_ext
in '' $ac_executable_extensions; do
27023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27024 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27035 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27036 if test -n "$ac_pt_PKG_CONFIG"; then
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27038 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27041 $as_echo "no" >&6; }
27044 if test "x$ac_pt_PKG_CONFIG" = x
; then
27047 case $cross_compiling:$ac_tool_warned in
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27051 ac_tool_warned
=yes ;;
27053 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27056 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27060 if test -n "$PKG_CONFIG"; then
27061 _pkg_min_version
=0.9.0
27062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27063 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27064 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27066 $as_echo "yes" >&6; }
27068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27069 $as_echo "no" >&6; }
27076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27077 $as_echo_n "checking for SM... " >&6; }
27079 if test -n "$PKG_CONFIG"; then
27080 if test -n "$SM_CFLAGS"; then
27081 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27083 if test -n "$PKG_CONFIG" && \
27084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27085 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27088 test $ac_status = 0; }; then
27089 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27097 if test -n "$PKG_CONFIG"; then
27098 if test -n "$SM_LIBS"; then
27099 pkg_cv_SM_LIBS
="$SM_LIBS"
27101 if test -n "$PKG_CONFIG" && \
27102 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27103 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27106 test $ac_status = 0; }; then
27107 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27118 if test $pkg_failed = yes; then
27120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27121 _pkg_short_errors_supported
=yes
27123 _pkg_short_errors_supported
=no
27125 if test $_pkg_short_errors_supported = yes; then
27126 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27128 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27130 # Put the nasty error message in config.log where it belongs
27131 echo "$SM_PKG_ERRORS" >&5
27134 if test "x$ac_find_libraries" = "x"; then
27135 if test "xSmcOpenConnection" != "x"; then
27136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27137 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27138 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27139 $as_echo_n "(cached) " >&6
27141 ac_check_lib_save_LIBS
=$LIBS
27143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27144 /* end confdefs.h. */
27146 /* Override any GCC internal prototype to avoid an error.
27147 Use char because int might match the return type of a GCC
27148 builtin and then its argument prototype would still apply. */
27152 char SmcOpenConnection ();
27156 return SmcOpenConnection ();
27161 if ac_fn_c_try_link
"$LINENO"; then :
27162 ac_cv_lib_SM_SmcOpenConnection
=yes
27164 ac_cv_lib_SM_SmcOpenConnection
=no
27166 rm -f core conftest.err conftest.
$ac_objext \
27167 conftest
$ac_exeext conftest.
$ac_ext
27168 LIBS
=$ac_check_lib_save_LIBS
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27171 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27172 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x
""yes; then :
27173 ac_find_libraries
="std"
27179 if test "x$ac_find_libraries" = "x"; then
27180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27181 $as_echo_n "checking elsewhere... " >&6; }
27184 for ac_dir
in $SEARCH_LIB
27186 for ac_extension
in a so sl dylib dll.a
; do
27187 if test -f "$ac_dir/libSM.$ac_extension"; then
27188 ac_find_libraries
=$ac_dir
27194 if test "x$ac_find_libraries" != "x"; then
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27196 $as_echo "yes" >&6; }
27198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27199 $as_echo "no" >&6; }
27203 elif test $pkg_failed = untried
; then
27205 if test "x$ac_find_libraries" = "x"; then
27206 if test "xSmcOpenConnection" != "x"; then
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27208 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27209 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27210 $as_echo_n "(cached) " >&6
27212 ac_check_lib_save_LIBS
=$LIBS
27214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27215 /* end confdefs.h. */
27217 /* Override any GCC internal prototype to avoid an error.
27218 Use char because int might match the return type of a GCC
27219 builtin and then its argument prototype would still apply. */
27223 char SmcOpenConnection ();
27227 return SmcOpenConnection ();
27232 if ac_fn_c_try_link
"$LINENO"; then :
27233 ac_cv_lib_SM_SmcOpenConnection
=yes
27235 ac_cv_lib_SM_SmcOpenConnection
=no
27237 rm -f core conftest.err conftest.
$ac_objext \
27238 conftest
$ac_exeext conftest.
$ac_ext
27239 LIBS
=$ac_check_lib_save_LIBS
27241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27242 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27243 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x
""yes; then :
27244 ac_find_libraries
="std"
27250 if test "x$ac_find_libraries" = "x"; then
27251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27252 $as_echo_n "checking elsewhere... " >&6; }
27255 for ac_dir
in $SEARCH_LIB
27257 for ac_extension
in a so sl dylib dll.a
; do
27258 if test -f "$ac_dir/libSM.$ac_extension"; then
27259 ac_find_libraries
=$ac_dir
27265 if test "x$ac_find_libraries" != "x"; then
27266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27267 $as_echo "yes" >&6; }
27269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27270 $as_echo "no" >&6; }
27275 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27276 SM_LIBS
=$pkg_cv_SM_LIBS
27277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27278 $as_echo "yes" >&6; }
27280 ac_find_libraries
="std"
27282 eval ac_find_cflags
=\
$SM_CFLAGS
27283 eval fl_libs
=\
$SM_LIBS
27285 for fl_path
in $fl_libs
27287 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27288 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27294 if test "$ac_find_libraries" != "" ; then
27295 if test "$ac_find_libraries" != "std" ; then
27297 if test "$ac_find_libraries" = "default location"; then
27300 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27302 if test $result = 0; then
27305 ac_path_to_link
=" -L$ac_find_libraries"
27309 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27310 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27313 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27316 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27317 wxUSE_DETECT_SM
="no"
27320 wxUSE_DETECT_SM
="no"
27327 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27330 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27331 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27332 elif test "$wxUSE_MSW" = 1; then
27333 OPENGL_LIBS
="-lopengl32 -lglu32"
27334 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
27336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27337 $as_echo_n "checking for OpenGL headers... " >&6; }
27340 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27342 if test -f "$ac_dir/GL/gl.h"; then
27343 ac_find_includes
=$ac_dir
27348 if test "$ac_find_includes" != "" ; then
27349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27350 $as_echo "found in $ac_find_includes" >&6; }
27352 if test "x$ac_find_includes" = "x/usr/include"; then
27353 ac_path_to_include
=""
27355 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27357 if test $result = 0; then
27358 ac_path_to_include
=""
27360 ac_path_to_include
=" -I$ac_find_includes"
27364 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27367 $as_echo "not found" >&6; }
27370 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27372 if test "x$ac_cv_header_GL_gl_h" = x
""yes; then :
27374 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27376 if test "x$ac_cv_header_GL_glu_h" = x
""yes; then :
27383 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27386 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27387 if test -n "$ac_tool_prefix"; then
27388 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27389 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27391 $as_echo_n "checking for $ac_word... " >&6; }
27392 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27393 $as_echo_n "(cached) " >&6
27395 case $PKG_CONFIG in
27397 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27401 for as_dir
in $PATH
27404 test -z "$as_dir" && as_dir
=.
27405 for ac_exec_ext
in '' $ac_executable_extensions; do
27406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27407 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27418 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27419 if test -n "$PKG_CONFIG"; then
27420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27421 $as_echo "$PKG_CONFIG" >&6; }
27423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27424 $as_echo "no" >&6; }
27429 if test -z "$ac_cv_path_PKG_CONFIG"; then
27430 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27431 # Extract the first word of "pkg-config", so it can be a program name with args.
27432 set dummy pkg
-config; ac_word
=$2
27433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27434 $as_echo_n "checking for $ac_word... " >&6; }
27435 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27436 $as_echo_n "(cached) " >&6
27438 case $ac_pt_PKG_CONFIG in
27440 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27444 for as_dir
in $PATH
27447 test -z "$as_dir" && as_dir
=.
27448 for ac_exec_ext
in '' $ac_executable_extensions; do
27449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27450 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27461 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27462 if test -n "$ac_pt_PKG_CONFIG"; then
27463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27464 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27467 $as_echo "no" >&6; }
27470 if test "x$ac_pt_PKG_CONFIG" = x
; then
27473 case $cross_compiling:$ac_tool_warned in
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27477 ac_tool_warned
=yes ;;
27479 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27482 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27486 if test -n "$PKG_CONFIG"; then
27487 _pkg_min_version
=0.9.0
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27489 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27490 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27492 $as_echo "yes" >&6; }
27494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27495 $as_echo "no" >&6; }
27502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27503 $as_echo_n "checking for GL... " >&6; }
27505 if test -n "$PKG_CONFIG"; then
27506 if test -n "$GL_CFLAGS"; then
27507 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27509 if test -n "$PKG_CONFIG" && \
27510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27511 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27514 test $ac_status = 0; }; then
27515 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27523 if test -n "$PKG_CONFIG"; then
27524 if test -n "$GL_LIBS"; then
27525 pkg_cv_GL_LIBS
="$GL_LIBS"
27527 if test -n "$PKG_CONFIG" && \
27528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27529 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27532 test $ac_status = 0; }; then
27533 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27544 if test $pkg_failed = yes; then
27546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27547 _pkg_short_errors_supported
=yes
27549 _pkg_short_errors_supported
=no
27551 if test $_pkg_short_errors_supported = yes; then
27552 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27554 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27556 # Put the nasty error message in config.log where it belongs
27557 echo "$GL_PKG_ERRORS" >&5
27560 if test "x$ac_find_libraries" = "x"; then
27561 if test "xglBegin" != "x"; then
27562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27563 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27564 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27565 $as_echo_n "(cached) " >&6
27567 ac_check_lib_save_LIBS
=$LIBS
27569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27570 /* end confdefs.h. */
27572 /* Override any GCC internal prototype to avoid an error.
27573 Use char because int might match the return type of a GCC
27574 builtin and then its argument prototype would still apply. */
27587 if ac_fn_c_try_link
"$LINENO"; then :
27588 ac_cv_lib_GL_glBegin
=yes
27590 ac_cv_lib_GL_glBegin
=no
27592 rm -f core conftest.err conftest.
$ac_objext \
27593 conftest
$ac_exeext conftest.
$ac_ext
27594 LIBS
=$ac_check_lib_save_LIBS
27596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27597 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27598 if test "x$ac_cv_lib_GL_glBegin" = x
""yes; then :
27599 ac_find_libraries
="std"
27605 if test "x$ac_find_libraries" = "x"; then
27606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27607 $as_echo_n "checking elsewhere... " >&6; }
27610 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27612 for ac_extension
in a so sl dylib dll.a
; do
27613 if test -f "$ac_dir/libGL.$ac_extension"; then
27614 ac_find_libraries
=$ac_dir
27620 if test "x$ac_find_libraries" != "x"; then
27621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27622 $as_echo "yes" >&6; }
27624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27625 $as_echo "no" >&6; }
27629 elif test $pkg_failed = untried
; then
27631 if test "x$ac_find_libraries" = "x"; then
27632 if test "xglBegin" != "x"; then
27633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27634 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27635 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27636 $as_echo_n "(cached) " >&6
27638 ac_check_lib_save_LIBS
=$LIBS
27640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27641 /* end confdefs.h. */
27643 /* Override any GCC internal prototype to avoid an error.
27644 Use char because int might match the return type of a GCC
27645 builtin and then its argument prototype would still apply. */
27658 if ac_fn_c_try_link
"$LINENO"; then :
27659 ac_cv_lib_GL_glBegin
=yes
27661 ac_cv_lib_GL_glBegin
=no
27663 rm -f core conftest.err conftest.
$ac_objext \
27664 conftest
$ac_exeext conftest.
$ac_ext
27665 LIBS
=$ac_check_lib_save_LIBS
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27668 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27669 if test "x$ac_cv_lib_GL_glBegin" = x
""yes; then :
27670 ac_find_libraries
="std"
27676 if test "x$ac_find_libraries" = "x"; then
27677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27678 $as_echo_n "checking elsewhere... " >&6; }
27681 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27683 for ac_extension
in a so sl dylib dll.a
; do
27684 if test -f "$ac_dir/libGL.$ac_extension"; then
27685 ac_find_libraries
=$ac_dir
27691 if test "x$ac_find_libraries" != "x"; then
27692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27693 $as_echo "yes" >&6; }
27695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27696 $as_echo "no" >&6; }
27701 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
27702 GL_LIBS
=$pkg_cv_GL_LIBS
27703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27704 $as_echo "yes" >&6; }
27706 ac_find_libraries
="std"
27708 eval ac_find_cflags
=\
$GL_CFLAGS
27709 eval fl_libs
=\
$GL_LIBS
27711 for fl_path
in $fl_libs
27713 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27714 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27720 if test "$ac_find_libraries" != "" ; then
27721 if test "$ac_find_libraries" != "std" ; then
27723 if test "$ac_find_libraries" = "default location"; then
27726 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27728 if test $result = 0; then
27731 ac_path_to_link
=" -L$ac_find_libraries"
27735 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27736 LDFLAGS_GL
="$ac_path_to_link"
27743 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
27746 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27747 if test -n "$ac_tool_prefix"; then
27748 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27749 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27751 $as_echo_n "checking for $ac_word... " >&6; }
27752 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27753 $as_echo_n "(cached) " >&6
27755 case $PKG_CONFIG in
27757 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27761 for as_dir
in $PATH
27764 test -z "$as_dir" && as_dir
=.
27765 for ac_exec_ext
in '' $ac_executable_extensions; do
27766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27767 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27778 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27779 if test -n "$PKG_CONFIG"; then
27780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27781 $as_echo "$PKG_CONFIG" >&6; }
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27784 $as_echo "no" >&6; }
27789 if test -z "$ac_cv_path_PKG_CONFIG"; then
27790 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27791 # Extract the first word of "pkg-config", so it can be a program name with args.
27792 set dummy pkg
-config; ac_word
=$2
27793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27794 $as_echo_n "checking for $ac_word... " >&6; }
27795 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27796 $as_echo_n "(cached) " >&6
27798 case $ac_pt_PKG_CONFIG in
27800 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27804 for as_dir
in $PATH
27807 test -z "$as_dir" && as_dir
=.
27808 for ac_exec_ext
in '' $ac_executable_extensions; do
27809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27810 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27821 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27822 if test -n "$ac_pt_PKG_CONFIG"; then
27823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27824 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27827 $as_echo "no" >&6; }
27830 if test "x$ac_pt_PKG_CONFIG" = x
; then
27833 case $cross_compiling:$ac_tool_warned in
27835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27837 ac_tool_warned
=yes ;;
27839 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27842 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27846 if test -n "$PKG_CONFIG"; then
27847 _pkg_min_version
=0.9.0
27848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27849 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27850 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27852 $as_echo "yes" >&6; }
27854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27855 $as_echo "no" >&6; }
27862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
27863 $as_echo_n "checking for GLU... " >&6; }
27865 if test -n "$PKG_CONFIG"; then
27866 if test -n "$GLU_CFLAGS"; then
27867 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
27869 if test -n "$PKG_CONFIG" && \
27870 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27871 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27874 test $ac_status = 0; }; then
27875 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27883 if test -n "$PKG_CONFIG"; then
27884 if test -n "$GLU_LIBS"; then
27885 pkg_cv_GLU_LIBS
="$GLU_LIBS"
27887 if test -n "$PKG_CONFIG" && \
27888 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27889 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27892 test $ac_status = 0; }; then
27893 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27904 if test $pkg_failed = yes; then
27906 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27907 _pkg_short_errors_supported
=yes
27909 _pkg_short_errors_supported
=no
27911 if test $_pkg_short_errors_supported = yes; then
27912 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27914 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27916 # Put the nasty error message in config.log where it belongs
27917 echo "$GLU_PKG_ERRORS" >&5
27920 if test "x$ac_find_libraries" = "x"; then
27921 if test "xgluBeginCurve" != "x"; then
27922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
27923 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
27924 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
27925 $as_echo_n "(cached) " >&6
27927 ac_check_lib_save_LIBS
=$LIBS
27929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27930 /* end confdefs.h. */
27932 /* Override any GCC internal prototype to avoid an error.
27933 Use char because int might match the return type of a GCC
27934 builtin and then its argument prototype would still apply. */
27938 char gluBeginCurve ();
27942 return gluBeginCurve ();
27947 if ac_fn_c_try_link
"$LINENO"; then :
27948 ac_cv_lib_GLU_gluBeginCurve
=yes
27950 ac_cv_lib_GLU_gluBeginCurve
=no
27952 rm -f core conftest.err conftest.
$ac_objext \
27953 conftest
$ac_exeext conftest.
$ac_ext
27954 LIBS
=$ac_check_lib_save_LIBS
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
27957 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
27958 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x
""yes; then :
27959 ac_find_libraries
="std"
27965 if test "x$ac_find_libraries" = "x"; then
27966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27967 $as_echo_n "checking elsewhere... " >&6; }
27970 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27972 for ac_extension
in a so sl dylib dll.a
; do
27973 if test -f "$ac_dir/libGLU.$ac_extension"; then
27974 ac_find_libraries
=$ac_dir
27980 if test "x$ac_find_libraries" != "x"; then
27981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27982 $as_echo "yes" >&6; }
27984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27985 $as_echo "no" >&6; }
27989 elif test $pkg_failed = untried
; then
27991 if test "x$ac_find_libraries" = "x"; then
27992 if test "xgluBeginCurve" != "x"; then
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
27994 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
27995 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
27996 $as_echo_n "(cached) " >&6
27998 ac_check_lib_save_LIBS
=$LIBS
28000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28001 /* end confdefs.h. */
28003 /* Override any GCC internal prototype to avoid an error.
28004 Use char because int might match the return type of a GCC
28005 builtin and then its argument prototype would still apply. */
28009 char gluBeginCurve ();
28013 return gluBeginCurve ();
28018 if ac_fn_c_try_link
"$LINENO"; then :
28019 ac_cv_lib_GLU_gluBeginCurve
=yes
28021 ac_cv_lib_GLU_gluBeginCurve
=no
28023 rm -f core conftest.err conftest.
$ac_objext \
28024 conftest
$ac_exeext conftest.
$ac_ext
28025 LIBS
=$ac_check_lib_save_LIBS
28027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28028 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28029 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x
""yes; then :
28030 ac_find_libraries
="std"
28036 if test "x$ac_find_libraries" = "x"; then
28037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28038 $as_echo_n "checking elsewhere... " >&6; }
28041 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28043 for ac_extension
in a so sl dylib dll.a
; do
28044 if test -f "$ac_dir/libGLU.$ac_extension"; then
28045 ac_find_libraries
=$ac_dir
28051 if test "x$ac_find_libraries" != "x"; then
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28053 $as_echo "yes" >&6; }
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28056 $as_echo "no" >&6; }
28061 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28062 GLU_LIBS
=$pkg_cv_GLU_LIBS
28063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28064 $as_echo "yes" >&6; }
28066 ac_find_libraries
="std"
28068 eval ac_find_cflags
=\
$GLU_CFLAGS
28069 eval fl_libs
=\
$GLU_LIBS
28071 for fl_path
in $fl_libs
28073 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28074 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28080 if test "$ac_find_libraries" != "" ; then
28081 if test "$ac_find_libraries" != "std" ; then
28083 if test "$ac_find_libraries" = "default location"; then
28086 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28088 if test $result = 0; then
28091 ac_path_to_link
=" -L$ac_find_libraries"
28095 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28096 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28097 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28102 OPENGL_LIBS
="-lGL -lGLU"
28106 if test "$found_gl" != 1; then
28110 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28113 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28114 if test -n "$ac_tool_prefix"; then
28115 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28116 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28118 $as_echo_n "checking for $ac_word... " >&6; }
28119 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
28120 $as_echo_n "(cached) " >&6
28122 case $PKG_CONFIG in
28124 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28128 for as_dir
in $PATH
28131 test -z "$as_dir" && as_dir
=.
28132 for ac_exec_ext
in '' $ac_executable_extensions; do
28133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28134 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28145 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28146 if test -n "$PKG_CONFIG"; then
28147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28148 $as_echo "$PKG_CONFIG" >&6; }
28150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28151 $as_echo "no" >&6; }
28156 if test -z "$ac_cv_path_PKG_CONFIG"; then
28157 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28158 # Extract the first word of "pkg-config", so it can be a program name with args.
28159 set dummy pkg
-config; ac_word
=$2
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28161 $as_echo_n "checking for $ac_word... " >&6; }
28162 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
28163 $as_echo_n "(cached) " >&6
28165 case $ac_pt_PKG_CONFIG in
28167 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28171 for as_dir
in $PATH
28174 test -z "$as_dir" && as_dir
=.
28175 for ac_exec_ext
in '' $ac_executable_extensions; do
28176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28177 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28188 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28189 if test -n "$ac_pt_PKG_CONFIG"; then
28190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28191 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28194 $as_echo "no" >&6; }
28197 if test "x$ac_pt_PKG_CONFIG" = x
; then
28200 case $cross_compiling:$ac_tool_warned in
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28204 ac_tool_warned
=yes ;;
28206 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28209 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28213 if test -n "$PKG_CONFIG"; then
28214 _pkg_min_version
=0.9.0
28215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28216 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28217 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28219 $as_echo "yes" >&6; }
28221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28222 $as_echo "no" >&6; }
28229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28230 $as_echo_n "checking for MesaGL... " >&6; }
28232 if test -n "$PKG_CONFIG"; then
28233 if test -n "$MesaGL_CFLAGS"; then
28234 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28236 if test -n "$PKG_CONFIG" && \
28237 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28238 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28241 test $ac_status = 0; }; then
28242 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28250 if test -n "$PKG_CONFIG"; then
28251 if test -n "$MesaGL_LIBS"; then
28252 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28254 if test -n "$PKG_CONFIG" && \
28255 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28256 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28259 test $ac_status = 0; }; then
28260 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28271 if test $pkg_failed = yes; then
28273 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28274 _pkg_short_errors_supported
=yes
28276 _pkg_short_errors_supported
=no
28278 if test $_pkg_short_errors_supported = yes; then
28279 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28281 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28283 # Put the nasty error message in config.log where it belongs
28284 echo "$MesaGL_PKG_ERRORS" >&5
28287 if test "x$ac_find_libraries" = "x"; then
28288 if test "xglEnable" != "x"; then
28289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28290 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28291 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28292 $as_echo_n "(cached) " >&6
28294 ac_check_lib_save_LIBS
=$LIBS
28295 LIBS
="-lMesaGL $LIBS"
28296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28297 /* end confdefs.h. */
28299 /* Override any GCC internal prototype to avoid an error.
28300 Use char because int might match the return type of a GCC
28301 builtin and then its argument prototype would still apply. */
28309 return glEnable ();
28314 if ac_fn_c_try_link
"$LINENO"; then :
28315 ac_cv_lib_MesaGL_glEnable
=yes
28317 ac_cv_lib_MesaGL_glEnable
=no
28319 rm -f core conftest.err conftest.
$ac_objext \
28320 conftest
$ac_exeext conftest.
$ac_ext
28321 LIBS
=$ac_check_lib_save_LIBS
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28324 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28325 if test "x$ac_cv_lib_MesaGL_glEnable" = x
""yes; then :
28326 ac_find_libraries
="std"
28332 if test "x$ac_find_libraries" = "x"; then
28333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28334 $as_echo_n "checking elsewhere... " >&6; }
28337 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28339 for ac_extension
in a so sl dylib dll.a
; do
28340 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28341 ac_find_libraries
=$ac_dir
28347 if test "x$ac_find_libraries" != "x"; then
28348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28349 $as_echo "yes" >&6; }
28351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28352 $as_echo "no" >&6; }
28356 elif test $pkg_failed = untried
; then
28358 if test "x$ac_find_libraries" = "x"; then
28359 if test "xglEnable" != "x"; then
28360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28361 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28362 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28363 $as_echo_n "(cached) " >&6
28365 ac_check_lib_save_LIBS
=$LIBS
28366 LIBS
="-lMesaGL $LIBS"
28367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28368 /* end confdefs.h. */
28370 /* Override any GCC internal prototype to avoid an error.
28371 Use char because int might match the return type of a GCC
28372 builtin and then its argument prototype would still apply. */
28380 return glEnable ();
28385 if ac_fn_c_try_link
"$LINENO"; then :
28386 ac_cv_lib_MesaGL_glEnable
=yes
28388 ac_cv_lib_MesaGL_glEnable
=no
28390 rm -f core conftest.err conftest.
$ac_objext \
28391 conftest
$ac_exeext conftest.
$ac_ext
28392 LIBS
=$ac_check_lib_save_LIBS
28394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28395 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28396 if test "x$ac_cv_lib_MesaGL_glEnable" = x
""yes; then :
28397 ac_find_libraries
="std"
28403 if test "x$ac_find_libraries" = "x"; then
28404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28405 $as_echo_n "checking elsewhere... " >&6; }
28408 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28410 for ac_extension
in a so sl dylib dll.a
; do
28411 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28412 ac_find_libraries
=$ac_dir
28418 if test "x$ac_find_libraries" != "x"; then
28419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28420 $as_echo "yes" >&6; }
28422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28423 $as_echo "no" >&6; }
28428 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28429 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28431 $as_echo "yes" >&6; }
28433 ac_find_libraries
="std"
28435 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28436 eval fl_libs
=\
$MesaGL_LIBS
28438 for fl_path
in $fl_libs
28440 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28441 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28447 if test "$ac_find_libraries" != "" ; then
28448 if test "$ac_find_libraries" != "std" ; then
28450 if test "$ac_find_libraries" = "default location"; then
28453 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28455 if test $result = 0; then
28458 ac_path_to_link
=" -L$ac_find_libraries"
28462 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28463 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28466 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28478 if test "x$OPENGL_LIBS" = "x"; then
28479 if test "$wxUSE_OPENGL" = "yes"; then
28480 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28483 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28490 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28494 if test "$wxUSE_OPENGL" = "auto"; then
28498 if test "$wxUSE_OPENGL" = "yes"; then
28500 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28502 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28509 if test -n "$TOOLKIT" ; then
28510 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28515 if test "$wxUSE_SHARED" = "yes"; then
28519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28520 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28525 if test "$wxUSE_SHARED" = "yes"; then
28529 *-*-cygwin* | *-*-mingw* )
28530 wx_cv_version_script
=no
28534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28535 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28536 if test "${wx_cv_version_script+set}" = set; then :
28537 $as_echo_n "(cached) " >&6
28540 echo "VER_1 { *; };" >conftest.sym
28541 echo "int main() { return 0; }" >conftest.cpp
28544 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28545 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28546 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28547 (eval $ac_try) 2>&5
28549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28550 test $ac_status = 0; }; } ; then
28551 if test -s conftest.stderr
; then
28552 wx_cv_version_script
=no
28554 wx_cv_version_script
=yes
28557 wx_cv_version_script
=no
28560 if test $wx_cv_version_script = yes
28562 echo "struct B { virtual ~B() { } }; \
28563 struct D : public B { }; \
28564 void F() { D d; }" > conftest.cpp
28567 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28568 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28569 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28570 (eval $ac_try) 2>&5
28572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28573 test $ac_status = 0; }; } &&
28575 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28576 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28577 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28578 (eval $ac_try) 2>&5
28580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28581 test $ac_status = 0; }; }
28584 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28585 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28586 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28587 (eval $ac_try) 2>&5
28589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28590 test $ac_status = 0; }; }
28592 wx_cv_version_script
=yes
28594 wx_cv_version_script
=no
28599 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28600 rm -f conftest1.output conftest2.output conftest3.output
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28604 $as_echo "$wx_cv_version_script" >&6; }
28606 if test $wx_cv_version_script = yes ; then
28607 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28613 if test "$wxUSE_VISIBILITY" != "no"; then
28616 if test -n "$GCC"; then
28617 CFLAGS_VISIBILITY
="-fvisibility=hidden"
28618 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
28619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28620 $as_echo_n "checking for symbols visibility support... " >&6; }
28621 if test "${wx_cv_cc_visibility+set}" = set; then :
28622 $as_echo_n "(cached) " >&6
28625 wx_save_CXXFLAGS
="$CXXFLAGS"
28626 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28628 ac_cpp
='$CXXCPP $CPPFLAGS'
28629 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28630 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28631 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28634 /* end confdefs.h. */
28636 /* we need gcc >= 4.0, older versions with visibility support
28637 didn't have class visibility: */
28638 #if defined(__GNUC__) && __GNUC__ < 4
28639 error this gcc is too old;
28642 /* visibility only makes sense for ELF shared libs: */
28643 #if !defined(__ELF__) && !defined(__APPLE__)
28644 error this platform has no visibility;
28647 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28648 #if defined(__clang__)
28649 clang compiler is still broken w.r.t. visibility;
28652 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28653 extern __attribute__((__visibility__("default"))) int exportedvar;
28654 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28655 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28656 class __attribute__((__visibility__("default"))) Foo {
28668 if ac_fn_cxx_try_compile
"$LINENO"; then :
28669 wx_cv_cc_visibility
=yes
28671 wx_cv_cc_visibility
=no
28673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28675 ac_cpp
='$CPP $CPPFLAGS'
28676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28680 CXXFLAGS
="$wx_save_CXXFLAGS"
28683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28684 $as_echo "$wx_cv_cc_visibility" >&6; }
28685 if test $wx_cv_cc_visibility = yes; then
28686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28687 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28688 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then :
28689 $as_echo_n "(cached) " >&6
28692 wx_save_CXXFLAGS
="$CXXFLAGS"
28693 wx_save_LDFLAGS
="$LDFLAGS"
28694 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28695 LDFLAGS
="$LDFLAGS -shared -fPIC"
28697 ac_cpp
='$CXXCPP $CPPFLAGS'
28698 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28699 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28700 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28703 /* end confdefs.h. */
28711 std::string s("hello");
28718 if ac_fn_cxx_try_link
"$LINENO"; then :
28719 wx_cv_cc_broken_libstdcxx_visibility
=no
28721 wx_cv_cc_broken_libstdcxx_visibility
=yes
28723 rm -f core conftest.err conftest.
$ac_objext \
28724 conftest
$ac_exeext conftest.
$ac_ext
28726 ac_cpp
='$CPP $CPPFLAGS'
28727 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28728 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28731 CXXFLAGS
="$wx_save_CXXFLAGS"
28732 LDFLAGS
="$wx_save_LDFLAGS"
28735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
28736 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
28738 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
28740 $as_echo_n "checking whether we can work around it... " >&6; }
28741 if test "${wx_cv_cc_visibility_workaround+set}" = set; then :
28742 $as_echo_n "(cached) " >&6
28746 ac_cpp
='$CXXCPP $CPPFLAGS'
28747 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28748 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28749 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28752 /* end confdefs.h. */
28754 #pragma GCC visibility push(default)
28756 #pragma GCC visibility pop
28762 std::string s("hello");
28769 if ac_fn_cxx_try_link
"$LINENO"; then :
28770 wx_cv_cc_visibility_workaround
=no
28772 wx_cv_cc_visibility_workaround
=yes
28774 rm -f core conftest.err conftest.
$ac_objext \
28775 conftest
$ac_exeext conftest.
$ac_ext
28777 ac_cpp
='$CPP $CPPFLAGS'
28778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
28786 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
28788 if test $wx_cv_cc_visibility_workaround = no
; then
28789 wx_cv_cc_visibility
=no
28794 if test $wx_cv_cc_visibility = yes; then
28795 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
28797 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28798 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
28802 CFLAGS_VISIBILITY
=""
28803 CXXFLAGS_VISIBILITY
=""
28811 if test "x$SUNCXX" = xyes
; then
28812 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
28813 WXCONFIG_RPATH
="-R\$libdir"
28816 *-*-linux* | *-*-gnu* )
28817 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
28818 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28823 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
28825 saveLdflags
="$LDFLAGS"
28826 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
28828 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
28829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28830 /* end confdefs.h. */
28840 if ac_fn_c_try_link
"$LINENO"; then :
28842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28843 $as_echo "yes" >&6; }
28844 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
28845 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28850 $as_echo "no" >&6; }
28851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
28852 $as_echo_n "checking if the linker accepts -R... " >&6; }
28853 LDFLAGS
="$saveLdflags -Wl,-R,/"
28854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28855 /* end confdefs.h. */
28865 if ac_fn_c_try_link
"$LINENO"; then :
28867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28868 $as_echo "yes" >&6; }
28869 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
28870 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28875 $as_echo "no" >&6; }
28878 rm -f core conftest.err conftest.
$ac_objext \
28879 conftest
$ac_exeext conftest.
$ac_ext
28882 rm -f core conftest.err conftest.
$ac_objext \
28883 conftest
$ac_exeext conftest.
$ac_ext
28884 LDFLAGS
="$saveLdflags"
28888 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
28889 if test "$install_name_tool" -a -x "$install_name_tool"; then
28890 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
28891 cat <<EOF >change-install-names
28893 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28894 for i in \${libnames} ; do
28895 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
28896 for dep in \${libnames} ; do
28897 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
28901 chmod +x change
-install-names
28902 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
28905 HEADER_PAD_OPTION
="-headerpad_max_install_names"
28908 *-*-cygwin* | *-*-mingw32* )
28912 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
28913 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
28919 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
28921 if test $wxUSE_RPATH = "no"; then
28922 SAMPLES_RPATH_FLAG
=''
28923 DYLIB_PATH_POSTLINK
=''
28931 config_linkage_component
="-static"
28938 lib_unicode_suffix
=
28940 if test "$wxUSE_UNICODE" = "yes"; then
28941 lib_unicode_suffix
=u
28942 WX_CHARTYPE
="unicode"
28946 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
28947 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
28950 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28954 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
28956 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
28958 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28961 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
28962 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
28964 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
28966 if test "${TOOLKIT_DIR}" = "os2"; then
28967 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
28969 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
28974 if test "$wxUSE_OLD_COCOA" = 1; then
28977 ac_cpp
='$CPP $CPPFLAGS'
28978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
28985 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
28986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28987 /* end confdefs.h. */
28988 #include <AppKit/NSEvent.h>
28989 #include <CoreFoundation/CoreFoundation.h>
28999 if ac_fn_c_try_compile
"$LINENO"; then :
29000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29001 $as_echo "no" >&6; }
29003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29004 $as_echo "yes" >&6; }
29005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29006 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29008 /* end confdefs.h. */
29009 #define __Point__ 1
29010 #include <AppKit/NSEvent.h>
29011 #include <CoreFoundation/CoreFoundation.h>
29021 if ac_fn_c_try_compile
"$LINENO"; then :
29022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29023 $as_echo "yes" >&6; }
29024 $as_echo "#define __Point__ 1" >>confdefs.h
29028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29031 See \`config.log' for more details" "$LINENO" 5 ; }
29034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29039 ac_cpp
='$CPP $CPPFLAGS'
29040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29047 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29048 if test "x$ac_cv_type_mode_t" = x
""yes; then :
29052 cat >>confdefs.h
<<_ACEOF
29058 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29059 if test "x$ac_cv_type_off_t" = x
""yes; then :
29063 cat >>confdefs.h
<<_ACEOF
29064 #define off_t long int
29069 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29070 if test "x$ac_cv_type_pid_t" = x
""yes; then :
29074 cat >>confdefs.h
<<_ACEOF
29080 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29081 if test "x$ac_cv_type_size_t" = x
""yes; then :
29085 cat >>confdefs.h
<<_ACEOF
29086 #define size_t unsigned int
29092 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29093 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
29095 cat >>confdefs.h
<<_ACEOF
29096 #define HAVE_SSIZE_T 1
29104 ac_cpp
='$CXXCPP $CPPFLAGS'
29105 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29106 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29107 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29109 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29110 if test "${wx_cv_size_t_is_uint+set}" = set; then :
29111 $as_echo_n "(cached) " >&6
29114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29115 /* end confdefs.h. */
29116 #include <stddef.h>
29123 struct Foo { void foo(size_t); void foo(unsigned int); };
29131 if ac_fn_cxx_try_compile
"$LINENO"; then :
29132 wx_cv_size_t_is_uint
=no
29134 wx_cv_size_t_is_uint
=yes
29137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29142 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29144 if test "$wx_cv_size_t_is_uint" = "yes"; then
29145 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29149 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29150 if test "${wx_cv_size_t_is_ulong+set}" = set; then :
29151 $as_echo_n "(cached) " >&6
29153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29154 /* end confdefs.h. */
29155 #include <stddef.h>
29162 struct Foo { void foo(size_t); void foo(unsigned long); };
29170 if ac_fn_cxx_try_compile
"$LINENO"; then :
29171 wx_cv_size_t_is_ulong
=no
29173 wx_cv_size_t_is_ulong
=yes
29176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29180 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29182 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29183 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29189 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29190 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then :
29191 $as_echo_n "(cached) " >&6
29193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29194 /* end confdefs.h. */
29202 struct Foo { void foo(wchar_t);
29203 void foo(unsigned short);
29204 void foo(unsigned int);
29205 void foo(unsigned long); };
29213 if ac_fn_cxx_try_compile
"$LINENO"; then :
29214 wx_cv_wchar_t_is_separate_type
=yes
29216 wx_cv_wchar_t_is_separate_type
=no
29219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29223 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29225 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29226 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29229 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29234 ac_cpp
='$CPP $CPPFLAGS'
29235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29241 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29242 if test "${wx_cv_struct_pw_gecos+set}" = set; then :
29243 $as_echo_n "(cached) " >&6
29246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29247 /* end confdefs.h. */
29261 if ac_fn_c_try_compile
"$LINENO"; then :
29263 wx_cv_struct_pw_gecos
=yes
29267 wx_cv_struct_pw_gecos
=no
29271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29276 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29278 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29279 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29286 for ac_func
in wcslen
29288 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29289 if test "x$ac_cv_func_wcslen" = x
""yes; then :
29290 cat >>confdefs.h
<<_ACEOF
29291 #define HAVE_WCSLEN 1
29298 if test "$WCSLEN_FOUND" = 0; then
29299 if test "$TOOLKIT" = "MSW"; then
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29301 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29302 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then :
29303 $as_echo_n "(cached) " >&6
29305 ac_check_lib_save_LIBS
=$LIBS
29306 LIBS
="-lmsvcrt $LIBS"
29307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29308 /* end confdefs.h. */
29310 /* Override any GCC internal prototype to avoid an error.
29311 Use char because int might match the return type of a GCC
29312 builtin and then its argument prototype would still apply. */
29325 if ac_fn_c_try_link
"$LINENO"; then :
29326 ac_cv_lib_msvcrt_wcslen
=yes
29328 ac_cv_lib_msvcrt_wcslen
=no
29330 rm -f core conftest.err conftest.
$ac_objext \
29331 conftest
$ac_exeext conftest.
$ac_ext
29332 LIBS
=$ac_check_lib_save_LIBS
29334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29335 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29336 if test "x$ac_cv_lib_msvcrt_wcslen" = x
""yes; then :
29341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29342 $as_echo_n "checking for wcslen in -lw... " >&6; }
29343 if test "${ac_cv_lib_w_wcslen+set}" = set; then :
29344 $as_echo_n "(cached) " >&6
29346 ac_check_lib_save_LIBS
=$LIBS
29348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29349 /* end confdefs.h. */
29351 /* Override any GCC internal prototype to avoid an error.
29352 Use char because int might match the return type of a GCC
29353 builtin and then its argument prototype would still apply. */
29366 if ac_fn_c_try_link
"$LINENO"; then :
29367 ac_cv_lib_w_wcslen
=yes
29369 ac_cv_lib_w_wcslen
=no
29371 rm -f core conftest.err conftest.
$ac_objext \
29372 conftest
$ac_exeext conftest.
$ac_ext
29373 LIBS
=$ac_check_lib_save_LIBS
29375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29376 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29377 if test "x$ac_cv_lib_w_wcslen" = x
""yes; then :
29387 if test "$WCSLEN_FOUND" = 1; then
29388 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29392 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29394 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29395 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29396 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29397 cat >>confdefs.h
<<_ACEOF
29398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29405 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29406 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29409 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29411 if test "x$ac_cv_type_mbstate_t" = x
""yes; then :
29413 cat >>confdefs.h
<<_ACEOF
29414 #define HAVE_MBSTATE_T 1
29417 for ac_func
in wcsrtombs
29419 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29420 if test "x$ac_cv_func_wcsrtombs" = x
""yes; then :
29421 cat >>confdefs.h
<<_ACEOF
29422 #define HAVE_WCSRTOMBS 1
29431 for ac_func
in snprintf vsnprintf vsscanf
29433 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29434 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29435 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29436 cat >>confdefs.h
<<_ACEOF
29437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29445 ac_cpp
='$CXXCPP $CPPFLAGS'
29446 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29447 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29448 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29450 if test "$ac_cv_func_vsnprintf" = "yes"; then
29451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29452 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29453 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then :
29454 $as_echo_n "(cached) " >&6
29457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29458 /* end confdefs.h. */
29461 #include <stdarg.h>
29469 vsnprintf(buf, 10u, "%s", ap);
29475 if ac_fn_cxx_try_compile
"$LINENO"; then :
29476 wx_cv_func_vsnprintf_decl
=yes
29478 wx_cv_func_vsnprintf_decl
=no
29481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29486 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29488 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29489 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29493 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29494 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then :
29495 $as_echo_n "(cached) " >&6
29498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29499 /* end confdefs.h. */
29502 #include <stdarg.h>
29504 #if __MSL__ >= 0x6000
29506 using namespace std;
29516 const char *fmt = "%s";
29517 vsnprintf(buf, 10u, fmt, ap);
29523 if ac_fn_cxx_try_compile
"$LINENO"; then :
29524 wx_cv_func_broken_vsnprintf_decl
=no
29526 wx_cv_func_broken_vsnprintf_decl
=yes
29529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29534 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29536 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29537 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29543 if test "$ac_cv_func_snprintf" = "yes"; then
29544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29545 $as_echo_n "checking for snprintf declaration... " >&6; }
29546 if test "${wx_cv_func_snprintf_decl+set}" = set; then :
29547 $as_echo_n "(cached) " >&6
29550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29551 /* end confdefs.h. */
29554 #include <stdarg.h>
29556 #if __MSL__ >= 0x6000
29558 using namespace std;
29567 snprintf(buf, 10u, "%s", "wx");
29573 if ac_fn_cxx_try_compile
"$LINENO"; then :
29574 wx_cv_func_snprintf_decl
=yes
29576 wx_cv_func_snprintf_decl
=no
29579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29584 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29586 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29587 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29591 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29594 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29595 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then :
29596 $as_echo_n "(cached) " >&6
29599 if test "$cross_compiling" = yes; then :
29601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29602 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29603 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29604 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29605 wx_cv_func_snprintf_pos_params
=no
29609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29610 /* end confdefs.h. */
29617 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29618 if (strcmp ("2 3 1", buffer) == 0)
29624 if ac_fn_cxx_try_run
"$LINENO"; then :
29625 wx_cv_func_snprintf_pos_params
=no
29627 wx_cv_func_snprintf_pos_params
=yes
29629 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
29630 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
29636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29637 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29639 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29640 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29646 if test "$ac_cv_func_vsscanf" = "yes"; then
29647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29648 $as_echo_n "checking for vsscanf declaration... " >&6; }
29649 if test "${wx_cv_func_vsscanf_decl+set}" = set; then :
29650 $as_echo_n "(cached) " >&6
29653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29654 /* end confdefs.h. */
29657 #include <stdarg.h>
29659 #if __MSL__ >= 0x6000
29661 using namespace std;
29671 vsscanf(buf, "%s", args);
29677 if ac_fn_cxx_try_compile
"$LINENO"; then :
29678 wx_cv_func_vsscanf_decl
=yes
29680 wx_cv_func_vsscanf_decl
=no
29683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29688 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29690 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29691 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29696 ac_cpp
='$CPP $CPPFLAGS'
29697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29702 if test "$wxUSE_UNICODE" = yes; then
29704 wchar_headers
="#include <stdio.h>
29705 #include <wchar.h>"
29708 for ac_header
in widec.h
29710 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29712 if test "x$ac_cv_header_widec_h" = x
""yes; then :
29713 cat >>confdefs.h
<<_ACEOF
29714 #define HAVE_WIDEC_H 1
29721 if test "$ac_cv_header_widec_h" = "yes"; then
29722 wchar_headers
="$wchar_headers
29723 #include <widec.h>"
29728 for wx_func
in putws fputws wprintf vswprintf vswscanf
29730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29731 $as_echo_n "checking for $wx_func... " >&6; }
29732 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
29733 $as_echo_n "(cached) " >&6
29736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29737 /* end confdefs.h. */
29741 $ac_includes_default
29757 if ac_fn_c_try_link
"$LINENO"; then :
29758 eval wx_cv_func_
$wx_func=yes
29760 eval wx_cv_func_
$wx_func=no
29762 rm -f core conftest.err conftest.
$ac_objext \
29763 conftest
$ac_exeext conftest.
$ac_ext
29766 eval ac_res
=\
$wx_cv_func_$wx_func
29767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29768 $as_echo "$ac_res" >&6; }
29770 if eval test \
$wx_cv_func_$wx_func = yes
29772 cat >>confdefs.h
<<_ACEOF
29773 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
29785 $as_echo_n "checking for _vsnwprintf... " >&6; }
29786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29787 /* end confdefs.h. */
29797 if ac_fn_c_try_compile
"$LINENO"; then :
29798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29799 $as_echo "yes" >&6; }
29800 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
29803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29804 $as_echo "no" >&6; }
29806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29809 if test "$wxUSE_FILE" = "yes"; then
29811 for wx_func
in fsync
29813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29814 $as_echo_n "checking for $wx_func... " >&6; }
29815 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
29816 $as_echo_n "(cached) " >&6
29819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29820 /* end confdefs.h. */
29824 $ac_includes_default
29840 if ac_fn_c_try_link
"$LINENO"; then :
29841 eval wx_cv_func_
$wx_func=yes
29843 eval wx_cv_func_
$wx_func=no
29845 rm -f core conftest.err conftest.
$ac_objext \
29846 conftest
$ac_exeext conftest.
$ac_ext
29849 eval ac_res
=\
$wx_cv_func_$wx_func
29850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29851 $as_echo "$ac_res" >&6; }
29853 if eval test \
$wx_cv_func_$wx_func = yes
29855 cat >>confdefs.h
<<_ACEOF
29856 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29869 ac_cpp
='$CXXCPP $CPPFLAGS'
29870 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29871 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29872 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29875 for wx_func
in round
29877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29878 $as_echo_n "checking for $wx_func... " >&6; }
29879 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
29880 $as_echo_n "(cached) " >&6
29883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29884 /* end confdefs.h. */
29888 $ac_includes_default
29904 if ac_fn_cxx_try_link
"$LINENO"; then :
29905 eval wx_cv_func_
$wx_func=yes
29907 eval wx_cv_func_
$wx_func=no
29909 rm -f core conftest.err conftest.
$ac_objext \
29910 conftest
$ac_exeext conftest.
$ac_ext
29913 eval ac_res
=\
$wx_cv_func_$wx_func
29914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29915 $as_echo "$ac_res" >&6; }
29917 if eval test \
$wx_cv_func_$wx_func = yes
29919 cat >>confdefs.h
<<_ACEOF
29920 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29931 ac_cpp
='$CPP $CPPFLAGS'
29932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29937 if test "$TOOLKIT" != "MSW"; then
29939 if test "$wxUSE_LIBICONV" != "no" ; then
29943 # Check whether --with-libiconv-prefix was given.
29944 if test "${with_libiconv_prefix+set}" = set; then :
29945 withval
=$with_libiconv_prefix;
29946 for dir
in `echo "$withval" | tr : ' '`; do
29947 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29948 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29955 $as_echo_n "checking for iconv... " >&6; }
29956 if test "${am_cv_func_iconv+set}" = set; then :
29957 $as_echo_n "(cached) " >&6
29960 am_cv_func_iconv
="no, consider installing GNU libiconv"
29962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29963 /* end confdefs.h. */
29964 #include <stdlib.h>
29969 iconv_t cd = iconv_open("","");
29970 iconv(cd,NULL,NULL,NULL,NULL);
29976 if ac_fn_c_try_link
"$LINENO"; then :
29977 am_cv_func_iconv
=yes
29979 rm -f core conftest.err conftest.
$ac_objext \
29980 conftest
$ac_exeext conftest.
$ac_ext
29981 if test "$am_cv_func_iconv" != yes; then
29982 am_save_LIBS
="$LIBS"
29983 LIBS
="$LIBS -liconv"
29984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29985 /* end confdefs.h. */
29986 #include <stdlib.h>
29991 iconv_t cd = iconv_open("","");
29992 iconv(cd,NULL,NULL,NULL,NULL);
29998 if ac_fn_c_try_link
"$LINENO"; then :
29999 am_cv_lib_iconv
=yes
30000 am_cv_func_iconv
=yes
30002 rm -f core conftest.err conftest.
$ac_objext \
30003 conftest
$ac_exeext conftest.
$ac_ext
30004 LIBS
="$am_save_LIBS"
30008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30009 $as_echo "$am_cv_func_iconv" >&6; }
30010 if test "$am_cv_func_iconv" = yes; then
30012 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30015 $as_echo_n "checking if iconv needs const... " >&6; }
30016 if test "${wx_cv_func_iconv_const+set}" = set; then :
30017 $as_echo_n "(cached) " >&6
30019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30020 /* end confdefs.h. */
30022 #include <stdlib.h>
30028 #if defined(__STDC__) || defined(__cplusplus)
30029 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30042 if ac_fn_c_try_compile
"$LINENO"; then :
30043 wx_cv_func_iconv_const
="no"
30045 wx_cv_func_iconv_const
="yes"
30048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30052 $as_echo "$wx_cv_func_iconv_const" >&6; }
30055 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30056 iconv_const
="const"
30060 cat >>confdefs.h
<<_ACEOF
30061 #define ICONV_CONST $iconv_const
30066 if test "$am_cv_lib_iconv" = yes; then
30071 LIBS
="$LIBICONV $LIBS"
30074 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30075 for ac_func
in sigaction
30077 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30078 if test "x$ac_cv_func_sigaction" = x
""yes; then :
30079 cat >>confdefs.h
<<_ACEOF
30080 #define HAVE_SIGACTION 1
30087 if test "$ac_cv_func_sigaction" = "no"; then
30088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30089 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30090 wxUSE_ON_FATAL_EXCEPTION
=no
30093 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30095 $as_echo_n "checking for sa_handler type... " >&6; }
30096 if test "${wx_cv_type_sa_handler+set}" = set; then :
30097 $as_echo_n "(cached) " >&6
30101 ac_cpp
='$CXXCPP $CPPFLAGS'
30102 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30103 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30104 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30107 /* end confdefs.h. */
30108 #include <signal.h>
30113 extern void testSigHandler(int);
30115 struct sigaction sa;
30116 sa.sa_handler = testSigHandler;
30122 if ac_fn_cxx_try_compile
"$LINENO"; then :
30124 wx_cv_type_sa_handler
=int
30128 wx_cv_type_sa_handler
=void
30131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30133 ac_cpp
='$CPP $CPPFLAGS'
30134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30141 $as_echo "$wx_cv_type_sa_handler" >&6; }
30143 cat >>confdefs.h
<<_ACEOF
30144 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30150 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30152 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30153 if test "${wx_cv_func_backtrace+set}" = set; then :
30154 $as_echo_n "(cached) " >&6
30158 ac_cpp
='$CXXCPP $CPPFLAGS'
30159 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30160 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30161 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30164 /* end confdefs.h. */
30165 #include <execinfo.h>
30173 backtrace(trace, 1);
30174 messages = backtrace_symbols(trace, 1);
30180 if ac_fn_cxx_try_compile
"$LINENO"; then :
30181 wx_cv_func_backtrace
=yes
30183 wx_cv_func_backtrace
=no
30186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30188 ac_cpp
='$CPP $CPPFLAGS'
30189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30197 $as_echo "$wx_cv_func_backtrace" >&6; }
30200 if test "$wx_cv_func_backtrace" = "no"; then
30201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30202 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30203 wxUSE_STACKWALKER
=no
30205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30206 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30207 if test "${wx_cv_func_cxa_demangle+set}" = set; then :
30208 $as_echo_n "(cached) " >&6
30212 ac_cpp
='$CXXCPP $CPPFLAGS'
30213 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30214 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30215 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30218 /* end confdefs.h. */
30219 #include <cxxabi.h>
30225 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30231 if ac_fn_cxx_try_link
"$LINENO"; then :
30232 wx_cv_func_cxa_demangle
=yes
30234 wx_cv_func_cxa_demangle
=no
30237 rm -f core conftest.err conftest.
$ac_objext \
30238 conftest
$ac_exeext conftest.
$ac_ext
30240 ac_cpp
='$CPP $CPPFLAGS'
30241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30249 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30251 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30252 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30258 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30260 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30261 wxUSE_STACKWALKER
=no
30265 for ac_func
in mkstemp mktemp
30267 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30268 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30269 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30270 cat >>confdefs.h
<<_ACEOF
30271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30279 $as_echo_n "checking for statfs... " >&6; }
30280 if test "${wx_cv_func_statfs+set}" = set; then :
30281 $as_echo_n "(cached) " >&6
30283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30284 /* end confdefs.h. */
30286 #if defined(__BSD__)
30287 #include <sys/param.h>
30288 #include <sys/mount.h>
30290 #include <sys/vfs.h>
30308 if ac_fn_c_try_compile
"$LINENO"; then :
30309 wx_cv_func_statfs
=yes
30311 wx_cv_func_statfs
=no
30314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30318 $as_echo "$wx_cv_func_statfs" >&6; }
30320 if test "$wx_cv_func_statfs" = "yes"; then
30321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30322 $as_echo_n "checking for statfs declaration... " >&6; }
30323 if test "${wx_cv_func_statfs_decl+set}" = set; then :
30324 $as_echo_n "(cached) " >&6
30327 ac_cpp
='$CXXCPP $CPPFLAGS'
30328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30333 /* end confdefs.h. */
30335 #if defined(__BSD__)
30336 #include <sys/param.h>
30337 #include <sys/mount.h>
30339 #include <sys/vfs.h>
30353 if ac_fn_cxx_try_compile
"$LINENO"; then :
30354 wx_cv_func_statfs_decl
=yes
30356 wx_cv_func_statfs_decl
=no
30359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30361 ac_cpp
='$CPP $CPPFLAGS'
30362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30369 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30371 if test "$wx_cv_func_statfs_decl" = "yes"; then
30372 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30376 wx_cv_type_statvfs_t
="struct statfs"
30377 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30381 $as_echo_n "checking for statvfs... " >&6; }
30382 if test "${wx_cv_func_statvfs+set}" = set; then :
30383 $as_echo_n "(cached) " >&6
30385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30386 /* end confdefs.h. */
30388 #include <stddef.h>
30389 #include <sys/statvfs.h>
30395 statvfs("/", NULL);
30401 if ac_fn_c_try_compile
"$LINENO"; then :
30402 wx_cv_func_statvfs
=yes
30404 wx_cv_func_statvfs
=no
30407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30411 $as_echo "$wx_cv_func_statvfs" >&6; }
30413 if test "$wx_cv_func_statvfs" = "yes"; then
30414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30415 $as_echo_n "checking for statvfs argument type... " >&6; }
30416 if test "${wx_cv_type_statvfs_t+set}" = set; then :
30417 $as_echo_n "(cached) " >&6
30420 ac_cpp
='$CXXCPP $CPPFLAGS'
30421 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30422 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30423 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30426 /* end confdefs.h. */
30428 #include <sys/statvfs.h>
30445 if ac_fn_cxx_try_compile
"$LINENO"; then :
30446 wx_cv_type_statvfs_t
=statvfs_t
30449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30450 /* end confdefs.h. */
30452 #include <sys/statvfs.h>
30469 if ac_fn_cxx_try_compile
"$LINENO"; then :
30470 wx_cv_type_statvfs_t
="struct statvfs"
30472 wx_cv_type_statvfs_t
="unknown"
30475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30481 ac_cpp
='$CPP $CPPFLAGS'
30482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30489 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30491 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30492 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30496 wx_cv_type_statvfs_t
="unknown"
30500 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30501 cat >>confdefs.h
<<_ACEOF
30502 #define WX_STATFS_T $wx_cv_type_statvfs_t
30506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30507 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30510 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30511 for ac_func
in fcntl flock
30513 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30514 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30515 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30516 cat >>confdefs.h
<<_ACEOF
30517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30524 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30526 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30527 wxUSE_SNGLINST_CHECKER
=no
30531 for ac_func
in setenv putenv
30533 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30534 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30535 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30536 cat >>confdefs.h
<<_ACEOF
30537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30543 if test "$ac_cv_func_setenv" = "yes"; then
30544 for ac_func
in unsetenv
30546 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30547 if test "x$ac_cv_func_unsetenv" = x
""yes; then :
30548 cat >>confdefs.h
<<_ACEOF
30549 #define HAVE_UNSETENV 1
30557 HAVE_SOME_SLEEP_FUNC
=0
30558 if test "$USE_BEOS" = 1; then
30559 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30561 HAVE_SOME_SLEEP_FUNC
=1
30564 if test "$USE_DARWIN" = 1; then
30565 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30567 HAVE_SOME_SLEEP_FUNC
=1
30570 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30572 for ac_func
in nanosleep
30574 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30575 if test "x$ac_cv_func_nanosleep" = x
""yes; then :
30576 cat >>confdefs.h
<<_ACEOF
30577 #define HAVE_NANOSLEEP 1
30579 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30584 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30585 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then :
30586 $as_echo_n "(cached) " >&6
30588 ac_check_lib_save_LIBS
=$LIBS
30589 LIBS
="-lposix4 $LIBS"
30590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30591 /* end confdefs.h. */
30593 /* Override any GCC internal prototype to avoid an error.
30594 Use char because int might match the return type of a GCC
30595 builtin and then its argument prototype would still apply. */
30603 return nanosleep ();
30608 if ac_fn_c_try_link
"$LINENO"; then :
30609 ac_cv_lib_posix4_nanosleep
=yes
30611 ac_cv_lib_posix4_nanosleep
=no
30613 rm -f core conftest.err conftest.
$ac_objext \
30614 conftest
$ac_exeext conftest.
$ac_ext
30615 LIBS
=$ac_check_lib_save_LIBS
30617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30618 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30619 if test "x$ac_cv_lib_posix4_nanosleep" = x
""yes; then :
30621 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30623 POSIX4_LINK
=" -lposix4"
30628 for wx_func
in usleep
30630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30631 $as_echo_n "checking for $wx_func... " >&6; }
30632 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30633 $as_echo_n "(cached) " >&6
30636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30637 /* end confdefs.h. */
30641 $ac_includes_default
30657 if ac_fn_c_try_link
"$LINENO"; then :
30658 eval wx_cv_func_
$wx_func=yes
30660 eval wx_cv_func_
$wx_func=no
30662 rm -f core conftest.err conftest.
$ac_objext \
30663 conftest
$ac_exeext conftest.
$ac_ext
30666 eval ac_res
=\
$wx_cv_func_$wx_func
30667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30668 $as_echo "$ac_res" >&6; }
30670 if eval test \
$wx_cv_func_$wx_func = yes
30672 cat >>confdefs.h
<<_ACEOF
30673 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30680 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30697 for wx_func
in uname
30699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30700 $as_echo_n "checking for $wx_func... " >&6; }
30701 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30702 $as_echo_n "(cached) " >&6
30705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30706 /* end confdefs.h. */
30709 #include <sys/utsname.h>
30710 $ac_includes_default
30726 if ac_fn_c_try_link
"$LINENO"; then :
30727 eval wx_cv_func_
$wx_func=yes
30729 eval wx_cv_func_
$wx_func=no
30731 rm -f core conftest.err conftest.
$ac_objext \
30732 conftest
$ac_exeext conftest.
$ac_ext
30735 eval ac_res
=\
$wx_cv_func_$wx_func
30736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30737 $as_echo "$ac_res" >&6; }
30739 if eval test \
$wx_cv_func_$wx_func = yes
30741 cat >>confdefs.h
<<_ACEOF
30742 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30752 if test "$wx_cv_func_uname" != yes; then
30754 for wx_func
in gethostname
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30757 $as_echo_n "checking for $wx_func... " >&6; }
30758 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30759 $as_echo_n "(cached) " >&6
30762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30763 /* end confdefs.h. */
30767 $ac_includes_default
30783 if ac_fn_c_try_link
"$LINENO"; then :
30784 eval wx_cv_func_
$wx_func=yes
30786 eval wx_cv_func_
$wx_func=no
30788 rm -f core conftest.err conftest.
$ac_objext \
30789 conftest
$ac_exeext conftest.
$ac_ext
30792 eval ac_res
=\
$wx_cv_func_$wx_func
30793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30794 $as_echo "$ac_res" >&6; }
30796 if eval test \
$wx_cv_func_$wx_func = yes
30798 cat >>confdefs.h
<<_ACEOF
30799 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30812 for wx_func
in strtok_r
30814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30815 $as_echo_n "checking for $wx_func... " >&6; }
30816 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30817 $as_echo_n "(cached) " >&6
30820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30821 /* end confdefs.h. */
30825 $ac_includes_default
30841 if ac_fn_c_try_link
"$LINENO"; then :
30842 eval wx_cv_func_
$wx_func=yes
30844 eval wx_cv_func_
$wx_func=no
30846 rm -f core conftest.err conftest.
$ac_objext \
30847 conftest
$ac_exeext conftest.
$ac_ext
30850 eval ac_res
=\
$wx_cv_func_$wx_func
30851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30852 $as_echo "$ac_res" >&6; }
30854 if eval test \
$wx_cv_func_$wx_func = yes
30856 cat >>confdefs.h
<<_ACEOF
30857 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30869 for ac_func
in inet_addr
30871 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
30872 if test "x$ac_cv_func_inet_addr" = x
""yes; then :
30873 cat >>confdefs.h
<<_ACEOF
30874 #define HAVE_INET_ADDR 1
30876 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
30880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
30881 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
30882 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then :
30883 $as_echo_n "(cached) " >&6
30885 ac_check_lib_save_LIBS
=$LIBS
30887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30888 /* end confdefs.h. */
30890 /* Override any GCC internal prototype to avoid an error.
30891 Use char because int might match the return type of a GCC
30892 builtin and then its argument prototype would still apply. */
30900 return inet_addr ();
30905 if ac_fn_c_try_link
"$LINENO"; then :
30906 ac_cv_lib_nsl_inet_addr
=yes
30908 ac_cv_lib_nsl_inet_addr
=no
30910 rm -f core conftest.err conftest.
$ac_objext \
30911 conftest
$ac_exeext conftest.
$ac_ext
30912 LIBS
=$ac_check_lib_save_LIBS
30914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
30915 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
30916 if test "x$ac_cv_lib_nsl_inet_addr" = x
""yes; then :
30920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
30921 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
30922 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then :
30923 $as_echo_n "(cached) " >&6
30925 ac_check_lib_save_LIBS
=$LIBS
30926 LIBS
="-lresolv $LIBS"
30927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30928 /* end confdefs.h. */
30930 /* Override any GCC internal prototype to avoid an error.
30931 Use char because int might match the return type of a GCC
30932 builtin and then its argument prototype would still apply. */
30940 return inet_addr ();
30945 if ac_fn_c_try_link
"$LINENO"; then :
30946 ac_cv_lib_resolv_inet_addr
=yes
30948 ac_cv_lib_resolv_inet_addr
=no
30950 rm -f core conftest.err conftest.
$ac_objext \
30951 conftest
$ac_exeext conftest.
$ac_ext
30952 LIBS
=$ac_check_lib_save_LIBS
30954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
30955 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
30956 if test "x$ac_cv_lib_resolv_inet_addr" = x
""yes; then :
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
30961 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
30962 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then :
30963 $as_echo_n "(cached) " >&6
30965 ac_check_lib_save_LIBS
=$LIBS
30966 LIBS
="-lsocket $LIBS"
30967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30968 /* end confdefs.h. */
30970 /* Override any GCC internal prototype to avoid an error.
30971 Use char because int might match the return type of a GCC
30972 builtin and then its argument prototype would still apply. */
30980 return inet_addr ();
30985 if ac_fn_c_try_link
"$LINENO"; then :
30986 ac_cv_lib_socket_inet_addr
=yes
30988 ac_cv_lib_socket_inet_addr
=no
30990 rm -f core conftest.err conftest.
$ac_objext \
30991 conftest
$ac_exeext conftest.
$ac_ext
30992 LIBS
=$ac_check_lib_save_LIBS
30994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
30995 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
30996 if test "x$ac_cv_lib_socket_inet_addr" = x
""yes; then :
31015 for ac_func
in inet_aton
31017 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31018 if test "x$ac_cv_func_inet_aton" = x
""yes; then :
31019 cat >>confdefs.h
<<_ACEOF
31020 #define HAVE_INET_ATON 1
31022 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31026 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31028 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31029 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
31030 $as_echo_n "(cached) " >&6
31032 ac_check_lib_save_LIBS
=$LIBS
31033 LIBS
="-l$INET_LINK $LIBS"
31034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31035 /* end confdefs.h. */
31037 /* Override any GCC internal prototype to avoid an error.
31038 Use char because int might match the return type of a GCC
31039 builtin and then its argument prototype would still apply. */
31047 return inet_aton ();
31052 if ac_fn_c_try_link
"$LINENO"; then :
31053 eval "$as_ac_Lib=yes"
31055 eval "$as_ac_Lib=no"
31057 rm -f core conftest.err conftest.
$ac_objext \
31058 conftest
$ac_exeext conftest.
$ac_ext
31059 LIBS
=$ac_check_lib_save_LIBS
31061 eval ac_res
=\$
$as_ac_Lib
31062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31063 $as_echo "$ac_res" >&6; }
31064 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31065 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31074 if test "x$INET_LINK" != "x"; then
31075 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31077 INET_LINK
=" -l$INET_LINK"
31081 for wx_func
in fdopen
31083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31084 $as_echo_n "checking for $wx_func... " >&6; }
31085 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31086 $as_echo_n "(cached) " >&6
31089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31090 /* end confdefs.h. */
31094 $ac_includes_default
31110 if ac_fn_c_try_link
"$LINENO"; then :
31111 eval wx_cv_func_
$wx_func=yes
31113 eval wx_cv_func_
$wx_func=no
31115 rm -f core conftest.err conftest.
$ac_objext \
31116 conftest
$ac_exeext conftest.
$ac_ext
31119 eval ac_res
=\
$wx_cv_func_$wx_func
31120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31121 $as_echo "$ac_res" >&6; }
31123 if eval test \
$wx_cv_func_$wx_func = yes
31125 cat >>confdefs.h
<<_ACEOF
31126 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31137 if test "$wxUSE_TARSTREAM" = "yes"; then
31139 for wx_func
in sysconf
31141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31142 $as_echo_n "checking for $wx_func... " >&6; }
31143 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31144 $as_echo_n "(cached) " >&6
31147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31148 /* end confdefs.h. */
31152 $ac_includes_default
31168 if ac_fn_c_try_link
"$LINENO"; then :
31169 eval wx_cv_func_
$wx_func=yes
31171 eval wx_cv_func_
$wx_func=no
31173 rm -f core conftest.err conftest.
$ac_objext \
31174 conftest
$ac_exeext conftest.
$ac_ext
31177 eval ac_res
=\
$wx_cv_func_$wx_func
31178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31179 $as_echo "$ac_res" >&6; }
31181 if eval test \
$wx_cv_func_$wx_func = yes
31183 cat >>confdefs.h
<<_ACEOF
31184 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31196 for wx_func
in getpwuid_r
31198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31199 $as_echo_n "checking for $wx_func... " >&6; }
31200 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31201 $as_echo_n "(cached) " >&6
31204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31205 /* end confdefs.h. */
31212 $ac_includes_default
31222 struct passwd pw, *ppw;
31224 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31232 if ac_fn_c_try_link
"$LINENO"; then :
31233 eval wx_cv_func_
$wx_func=yes
31235 eval wx_cv_func_
$wx_func=no
31237 rm -f core conftest.err conftest.
$ac_objext \
31238 conftest
$ac_exeext conftest.
$ac_ext
31241 eval ac_res
=\
$wx_cv_func_$wx_func
31242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31243 $as_echo "$ac_res" >&6; }
31245 if eval test \
$wx_cv_func_$wx_func = yes
31247 cat >>confdefs.h
<<_ACEOF
31248 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31260 for wx_func
in getgrgid_r
31262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31263 $as_echo_n "checking for $wx_func... " >&6; }
31264 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31265 $as_echo_n "(cached) " >&6
31268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31269 /* end confdefs.h. */
31276 $ac_includes_default
31286 struct group grp, *pgrp;
31288 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31296 if ac_fn_c_try_link
"$LINENO"; then :
31297 eval wx_cv_func_
$wx_func=yes
31299 eval wx_cv_func_
$wx_func=no
31301 rm -f core conftest.err conftest.
$ac_objext \
31302 conftest
$ac_exeext conftest.
$ac_ext
31305 eval ac_res
=\
$wx_cv_func_$wx_func
31306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31307 $as_echo "$ac_res" >&6; }
31309 if eval test \
$wx_cv_func_$wx_func = yes
31311 cat >>confdefs.h
<<_ACEOF
31312 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31328 cat >confcache
<<\_ACEOF
31329 # This file is a shell script that caches the results of configure
31330 # tests run on this system so they can be shared between configure
31331 # scripts and configure runs, see configure's option --config-cache.
31332 # It is not useful on other systems. If it contains results you don't
31333 # want to keep, you may remove or edit it.
31335 # config.status only pays attention to the cache file if you give it
31336 # the --recheck option to rerun configure.
31338 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31339 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31340 # following values.
31344 # The following way of writing the cache mishandles newlines in values,
31345 # but we know of no workaround that is simple, portable, and efficient.
31346 # So, we kill variables containing newlines.
31347 # Ultrix sh set writes to stderr and can't be redirected directly,
31348 # and sets the high bit in the cache file unless we assign to the vars.
31350 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31351 eval ac_val
=\$
$ac_var
31355 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31356 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31359 _
| IFS
| as_nl
) ;; #(
31360 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31361 *) { eval $ac_var=; unset $ac_var;} ;;
31367 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31368 *${as_nl}ac_space
=\
*)
31369 # `set' does not quote correctly, so add quotes: double-quote
31370 # substitution turns \\\\ into \\, and sed turns \\ into \.
31373 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31376 # `set' quotes correctly as required by POSIX, so do not add quotes.
31377 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31386 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31388 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31390 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31391 if test -w "$cache_file"; then
31392 test "x$cache_file" != "x/dev/null" &&
31393 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31394 $as_echo "$as_me: updating cache $cache_file" >&6;}
31395 cat confcache
>$cache_file
31397 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31398 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31404 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31410 if test "$wxUSE_THREADS" = "yes" ; then
31411 if test "$USE_BEOS" = 1; then
31412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31413 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31418 if test "$wxUSE_THREADS" = "yes" ; then
31421 THREAD_OPTS
="-pthread"
31422 if test "x$SUNCXX" = xyes
; then
31423 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31427 *-*-solaris2* | *-*-sunos4* )
31428 if test "x$GCC" = "xyes"; then
31429 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31433 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31435 *-*-darwin* | *-*-cygwin* )
31439 THREAD_OPTS
="pthreads"
31442 if test "x$GCC" = "xyes"; then
31443 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
31451 if test "x$GCC" = "xyes"; then
31461 if test "x$GCC" != "xyes"; then
31462 THREAD_OPTS
="-Ethread"
31469 THREAD_OPTS
="none pthread"
31473 THREAD_OPTS
="$THREAD_OPTS pthread none"
31478 for flag
in $THREAD_OPTS; do
31481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31482 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31487 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31488 THREADS_CFLAGS
="$flag"
31492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31493 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31494 THREADS_LINK
="-l$flag"
31499 save_CFLAGS
="$CFLAGS"
31500 LIBS
="$THREADS_LINK $LIBS"
31501 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31504 /* end confdefs.h. */
31505 #include <pthread.h>
31509 pthread_create(0,0,0,0);
31514 if ac_fn_c_try_link
"$LINENO"; then :
31517 rm -f core conftest.err conftest.
$ac_objext \
31518 conftest
$ac_exeext conftest.
$ac_ext
31521 CFLAGS
="$save_CFLAGS"
31523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31524 $as_echo "$THREADS_OK" >&6; }
31525 if test "x$THREADS_OK" = "xyes"; then
31533 if test "x$THREADS_OK" != "xyes"; then
31535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31536 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31538 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31539 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31540 LIBS
="$THREADS_LINK $LIBS"
31542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31543 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31547 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31548 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31549 flag
="-D_THREAD_SAFE"
31552 flag
="-D_THREAD_SAFE"
31555 flag
="-D_REENTRANT"
31556 if test "x$GCC" != "xyes"; then
31557 flag
="$flag -D_RWSTD_MULTI_THREAD"
31560 *solaris
* | alpha
*-osf*)
31561 flag
="-D_REENTRANT"
31564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31565 $as_echo "${flag}" >&6; }
31566 if test "x$flag" != xno
; then
31567 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31570 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31574 if test "$wxUSE_THREADS" = "yes" ; then
31575 for ac_func
in pthread_setconcurrency
31577 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31578 if test "x$ac_cv_func_pthread_setconcurrency" = x
""yes; then :
31579 cat >>confdefs.h
<<_ACEOF
31580 #define HAVE_PTHREAD_SETCONCURRENCY 1
31582 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31586 for ac_func
in thr_setconcurrency
31588 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31589 if test "x$ac_cv_func_thr_setconcurrency" = x
""yes; then :
31590 cat >>confdefs.h
<<_ACEOF
31591 #define HAVE_THR_SETCONCURRENCY 1
31593 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31597 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31607 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31608 if test "${wx_cv_func_pthread_cleanup+set}" = set; then :
31609 $as_echo_n "(cached) " >&6
31613 ac_cpp
='$CXXCPP $CPPFLAGS'
31614 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31615 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31616 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31619 /* end confdefs.h. */
31620 #include <pthread.h>
31621 void ThreadCleanupFunc(void *p);
31628 pthread_cleanup_push(ThreadCleanupFunc, p);
31629 pthread_cleanup_pop(0);
31635 if ac_fn_cxx_try_compile
"$LINENO"; then :
31637 wx_cv_func_pthread_cleanup
=yes
31641 wx_cv_func_pthread_cleanup
=no
31645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31647 ac_cpp
='$CPP $CPPFLAGS'
31648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31655 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31656 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31657 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31661 for ac_header
in sched.h
31663 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31665 if test "x$ac_cv_header_sched_h" = x
""yes; then :
31666 cat >>confdefs.h
<<_ACEOF
31667 #define HAVE_SCHED_H 1
31674 if test "$ac_cv_header_sched_h" = "yes"; then
31675 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31676 if test "x$ac_cv_func_sched_yield" = x
""yes; then :
31677 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31682 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31683 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
31684 $as_echo_n "(cached) " >&6
31686 ac_check_lib_save_LIBS
=$LIBS
31687 LIBS
="-lposix4 $LIBS"
31688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31689 /* end confdefs.h. */
31691 /* Override any GCC internal prototype to avoid an error.
31692 Use char because int might match the return type of a GCC
31693 builtin and then its argument prototype would still apply. */
31697 char sched_yield ();
31701 return sched_yield ();
31706 if ac_fn_c_try_link
"$LINENO"; then :
31707 ac_cv_lib_posix4_sched_yield
=yes
31709 ac_cv_lib_posix4_sched_yield
=no
31711 rm -f core conftest.err conftest.
$ac_objext \
31712 conftest
$ac_exeext conftest.
$ac_ext
31713 LIBS
=$ac_check_lib_save_LIBS
31715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31716 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31717 if test "x$ac_cv_lib_posix4_sched_yield" = x
""yes; then :
31718 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31719 POSIX4_LINK
=" -lposix4"
31721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31722 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31733 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
31734 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = x
""yes; then :
31735 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
31736 if test "x$ac_cv_func_pthread_attr_setschedparam" = x
""yes; then :
31737 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
31738 if test "x$ac_cv_func_sched_get_priority_max" = x
""yes; then :
31741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
31742 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
31743 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then :
31744 $as_echo_n "(cached) " >&6
31746 ac_check_lib_save_LIBS
=$LIBS
31747 LIBS
="-lposix4 $LIBS"
31748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31749 /* end confdefs.h. */
31751 /* Override any GCC internal prototype to avoid an error.
31752 Use char because int might match the return type of a GCC
31753 builtin and then its argument prototype would still apply. */
31757 char sched_get_priority_max ();
31761 return sched_get_priority_max ();
31766 if ac_fn_c_try_link
"$LINENO"; then :
31767 ac_cv_lib_posix4_sched_get_priority_max
=yes
31769 ac_cv_lib_posix4_sched_get_priority_max
=no
31771 rm -f core conftest.err conftest.
$ac_objext \
31772 conftest
$ac_exeext conftest.
$ac_ext
31773 LIBS
=$ac_check_lib_save_LIBS
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
31776 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
31777 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = x
""yes; then :
31780 POSIX4_LINK
=" -lposix4"
31794 if test "$HAVE_PRIOR_FUNCS" = 1; then
31795 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
31798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
31799 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
31802 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
31803 if test "x$ac_cv_func_pthread_cancel" = x
""yes; then :
31804 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
31807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
31808 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
31812 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
31813 if test "x$ac_cv_func_pthread_mutex_timedlock" = x
""yes; then :
31814 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
31817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
31818 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
31822 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
31823 if test "x$ac_cv_func_pthread_attr_setstacksize" = x
""yes; then :
31824 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
31830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
31831 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
31832 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then :
31833 $as_echo_n "(cached) " >&6
31836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31837 /* end confdefs.h. */
31838 #include <pthread.h>
31843 pthread_mutexattr_t attr;
31844 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
31850 if ac_fn_c_try_compile
"$LINENO"; then :
31851 wx_cv_type_pthread_mutexattr_t
=yes
31853 wx_cv_type_pthread_mutexattr_t
=no
31856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
31860 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
31862 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
31863 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
31866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
31867 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
31868 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then :
31869 $as_echo_n "(cached) " >&6
31872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31873 /* end confdefs.h. */
31874 #include <pthread.h>
31879 pthread_mutexattr_t attr;
31880 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
31886 if ac_fn_c_try_compile
"$LINENO"; then :
31887 wx_cv_func_pthread_mutexattr_settype_decl
=yes
31889 wx_cv_func_pthread_mutexattr_settype_decl
=no
31892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
31896 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
31897 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
31898 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
31902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
31903 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
31904 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then :
31905 $as_echo_n "(cached) " >&6
31908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31909 /* end confdefs.h. */
31910 #include <pthread.h>
31915 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
31921 if ac_fn_c_try_compile
"$LINENO"; then :
31923 wx_cv_type_pthread_rec_mutex_init
=yes
31927 wx_cv_type_pthread_rec_mutex_init
=no
31931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
31935 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
31936 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
31937 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
31940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
31941 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
31945 if test "$wxUSE_COMPILER_TLS" = "auto"; then
31946 if test "$USE_NETBSD" = 1; then
31947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
31948 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
31949 wxUSE_COMPILER_TLS
=no
31951 wxUSE_COMPILER_TLS
=yes
31955 if test "$wxUSE_COMPILER_TLS" = "yes"; then
31956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
31957 $as_echo_n "checking for __thread keyword... " >&6; }
31958 if test "${wx_cv_cc___thread+set}" = set; then :
31959 $as_echo_n "(cached) " >&6
31962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31963 /* end confdefs.h. */
31964 #include <pthread.h>
31969 static __thread int n = 0;
31970 static __thread int *p = 0;
31976 if ac_fn_c_try_compile
"$LINENO"; then :
31977 wx_cv_cc___thread
=yes
31979 wx_cv_cc___thread
=no
31982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
31987 $as_echo "$wx_cv_cc___thread" >&6; }
31989 if test "$wx_cv_cc___thread" = "yes"; then
31995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
31996 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
31998 if test "x$GCC" = "xyes" ; then :
32000 if test -z "" ; then :
32002 ax_gcc_option_test
="int main()
32009 ax_gcc_option_test
=""
32013 # Dump the test program to file
32014 cat <<EOF > conftest.c
32015 $ax_gcc_option_test
32018 # Dump back the file to the log, useful for debugging purposes
32019 { ac_try
='cat conftest.c 1>&5'
32020 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32021 (eval $ac_try) 2>&5
32023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32024 test $ac_status = 0; }; }
32026 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32027 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32028 (eval $ac_try) 2>&5
32030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32031 test $ac_status = 0; }; } ; then :
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32034 $as_echo "yes" >&6; }
32036 ax_gcc_version_option
=yes
32041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32042 $as_echo "no" >&6; }
32044 ax_gcc_version_option
=no
32051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32052 $as_echo "no gcc available" >&6; }
32056 if test "x$GXX" = "xyes"; then :
32058 if test "x$ax_gxx_version_option" != "no"; then :
32060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32061 $as_echo_n "checking gxx version... " >&6; }
32062 if test "${ax_cv_gxx_version+set}" = set; then :
32063 $as_echo_n "(cached) " >&6
32066 ax_cv_gxx_version
="`$CXX -dumpversion`"
32067 if test "x$ax_cv_gxx_version" = "x"; then :
32069 ax_cv_gxx_version
=""
32074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32075 $as_echo "$ax_cv_gxx_version" >&6; }
32076 GXX_VERSION
=$ax_cv_gxx_version
32083 if test -n "$ax_cv_gxx_version"; then
32084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32085 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32086 case "$ax_cv_gxx_version" in
32088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32089 $as_echo "no, it's broken" >&6; }
32090 wx_cv_cc___thread
=no
32093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32094 $as_echo "yes, it works" >&6; }
32100 if test "$wx_cv_cc___thread" = "yes"; then
32101 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32108 if test "$wxUSE_THREADS" = "yes" ; then
32110 x86_64
-*-mingw32* )
32113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32114 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32115 if test "${wx_cv_cflags_mthread+set}" = set; then :
32116 $as_echo_n "(cached) " >&6
32119 CFLAGS_OLD
="$CFLAGS"
32120 CFLAGS
="-mthreads $CFLAGS"
32121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32122 /* end confdefs.h. */
32132 if ac_fn_c_try_compile
"$LINENO"; then :
32133 wx_cv_cflags_mthread
=yes
32135 wx_cv_cflags_mthread
=no
32138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32143 $as_echo "$wx_cv_cflags_mthread" >&6; }
32145 if test "$wx_cv_cflags_mthread" = "yes"; then
32146 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32147 LDFLAGS
="$LDFLAGS -mthreads"
32149 CFLAGS
="$CFLAGS_OLD"
32153 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32154 LDFLAGS
="$LDFLAGS -Zmt"
32160 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32161 if test "x$ac_cv_func_localtime_r" = x
""yes; then :
32162 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32166 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32167 if test "x$ac_cv_func_gmtime_r" = x
""yes; then :
32168 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32176 ac_cpp
='$CPP $CPPFLAGS'
32177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32182 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32184 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
32185 $as_echo_n "(cached) " >&6
32189 ################################################################
32191 ac_cv_func_which_gethostbyname_r
=unknown
32194 # ONE ARGUMENT (sanity check)
32197 # This should fail, as there is no variant of gethostbyname_r() that takes
32198 # a single argument. If it actually compiles, then we can assume that
32199 # netdb.h is not declaring the function, and the compiler is thereby
32200 # assuming an implicit prototype. In which case, we're out of luck.
32202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32203 /* end confdefs.h. */
32209 char *name = "www.gnu.org";
32210 (void)gethostbyname_r(name) /* ; */
32217 if ac_fn_c_try_compile
"$LINENO"; then :
32218 ac_cv_func_which_gethostbyname_r
=no
32221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32228 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32231 /* end confdefs.h. */
32237 char *name = "www.gnu.org";
32238 struct hostent ret, *retp;
32242 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32249 if ac_fn_c_try_compile
"$LINENO"; then :
32250 ac_cv_func_which_gethostbyname_r
=six
32253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32262 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32265 /* end confdefs.h. */
32271 char *name = "www.gnu.org";
32272 struct hostent ret;
32276 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32283 if ac_fn_c_try_compile
"$LINENO"; then :
32284 ac_cv_func_which_gethostbyname_r
=five
32287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32293 # (e.g. AIX, HP-UX, Tru64)
32296 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32299 /* end confdefs.h. */
32305 char *name = "www.gnu.org";
32306 struct hostent ret;
32307 struct hostent_data data;
32308 (void)gethostbyname_r(name, &ret, &data) /* ; */
32315 if ac_fn_c_try_compile
"$LINENO"; then :
32316 ac_cv_func_which_gethostbyname_r
=three
32319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32323 ################################################################
32328 case "$ac_cv_func_which_gethostbyname_r" in
32330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32331 $as_echo "three" >&6; }
32332 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32338 $as_echo "five" >&6; }
32339 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32345 $as_echo "six" >&6; }
32346 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32352 $as_echo "cannot find function declaration in netdb.h" >&6; }
32356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32357 $as_echo "can't tell" >&6; }
32361 as_fn_error $?
"internal error" "$LINENO" 5
32366 ac_cpp
='$CPP $CPPFLAGS'
32367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32373 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32374 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32375 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32376 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
32377 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32384 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32385 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then :
32386 $as_echo_n "(cached) " >&6
32390 ac_cpp
='$CXXCPP $CPPFLAGS'
32391 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32392 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32393 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32397 /* end confdefs.h. */
32405 struct servent *se, *res;
32408 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32414 if ac_fn_cxx_try_compile
"$LINENO"; then :
32415 ac_cv_func_which_getservbyname_r
=six
32418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32419 /* end confdefs.h. */
32427 struct servent *se;
32430 (void) getservbyname_r(name, proto, se, buffer, buflen)
32436 if ac_fn_cxx_try_compile
"$LINENO"; then :
32437 ac_cv_func_which_getservbyname_r
=five
32440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32441 /* end confdefs.h. */
32449 struct servent *se;
32450 struct servent_data data;
32451 (void) getservbyname_r(name, proto, se, &data);
32457 if ac_fn_cxx_try_compile
"$LINENO"; then :
32458 ac_cv_func_which_getservbyname_r
=four
32460 ac_cv_func_which_getservbyname_r
=no
32463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32473 ac_cpp
='$CPP $CPPFLAGS'
32474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32482 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32484 if test $ac_cv_func_which_getservbyname_r = six
; then
32485 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32487 elif test $ac_cv_func_which_getservbyname_r = five
; then
32488 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32490 elif test $ac_cv_func_which_getservbyname_r = four
; then
32491 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32496 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32497 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32498 for ac_func
in getservbyname
32500 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32501 if test "x$ac_cv_func_getservbyname" = x
""yes; then :
32502 cat >>confdefs.h
<<_ACEOF
32503 #define HAVE_GETSERVBYNAME 1
32505 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32512 if test "$wxUSE_THREADS" = "yes"; then
32513 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
32518 if test "$wx_cv_func_strtok_r" = "yes"; then
32519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32520 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32521 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32522 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32524 $as_echo "yes" >&6; }
32526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32527 $as_echo "no" >&6; }
32532 if test "$WXGTK2" = 1 ; then
32533 cat >>confdefs.h
<<_ACEOF
32534 #define __WXGTK20__ $WXGTK2
32539 if test "$WXGTK127" = 1 ; then
32540 cat >>confdefs.h
<<_ACEOF
32541 #define __WXGTK127__ $WXGTK127
32546 if test "$WXGPE" = 1 ; then
32547 cat >>confdefs.h
<<_ACEOF
32548 #define __WXGPE__ $WXGPE
32554 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32556 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32557 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32561 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32562 wxUSE_DEBUG_INFO
=yes
32563 if test "$GCC" = yes; then
32564 DEBUG_CFLAGS
="-ggdb"
32568 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32569 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32571 if test "$wxUSE_GTK" = 1 ; then
32572 if test "x$wxGTK_VERSION" = "x1" ; then
32573 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32575 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32580 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32581 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32583 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32585 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
32590 if test "$wxUSE_DMALLOC" = "yes" ; then
32591 DMALLOC_LIBS
="-ldmallocthcxx"
32595 if test "$wxUSE_PROFILE" = "yes" ; then
32596 PROFILE_FLAGS
=" -pg"
32599 if test "$GCC" = "yes" ; then
32600 if test "$wxUSE_NO_RTTI" = "yes" ; then
32601 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32603 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32604 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
32606 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32607 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
32612 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
32615 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
32621 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32623 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32625 if test "$wxUSE_OPTIMISE" = "no" ; then
32626 if test "$GCC" = yes ; then
32627 OPTIMISE_CFLAGS
="-O0"
32630 if test "$GCC" = yes ; then
32632 *-pc-os2_emx | *-pc-os2-emx )
32633 OPTIMISE_CFLAGS
="-O2"
32636 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
32640 OPTIMISE_CFLAGS
="-O"
32646 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32647 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32650 WXWIN_COMPATIBILITY_2_8
="yes"
32653 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32654 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32659 if test "$wxUSE_GUI" = "yes"; then
32660 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32666 if test "$wxUSE_UNIX" = "yes"; then
32667 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32672 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32676 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32677 if test "$USE_DOS" = 1; then
32680 for ac_func
in dlopen
32682 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
32683 if test "x$ac_cv_func_dlopen" = x
""yes; then :
32684 cat >>confdefs.h
<<_ACEOF
32685 #define HAVE_DLOPEN 1
32688 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32695 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32696 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
32697 $as_echo_n "(cached) " >&6
32699 ac_check_lib_save_LIBS
=$LIBS
32701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32702 /* end confdefs.h. */
32704 /* Override any GCC internal prototype to avoid an error.
32705 Use char because int might match the return type of a GCC
32706 builtin and then its argument prototype would still apply. */
32719 if ac_fn_c_try_link
"$LINENO"; then :
32720 ac_cv_lib_dl_dlopen
=yes
32722 ac_cv_lib_dl_dlopen
=no
32724 rm -f core conftest.err conftest.
$ac_objext \
32725 conftest
$ac_exeext conftest.
$ac_ext
32726 LIBS
=$ac_check_lib_save_LIBS
32728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32729 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32730 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
32732 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32735 DL_LINK
=" -ldl$DL_LINK"
32739 for ac_func
in shl_load
32741 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
32742 if test "x$ac_cv_func_shl_load" = x
""yes; then :
32743 cat >>confdefs.h
<<_ACEOF
32744 #define HAVE_SHL_LOAD 1
32747 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
32753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
32754 $as_echo_n "checking for dld in -lshl_load... " >&6; }
32755 if test "${ac_cv_lib_shl_load_dld+set}" = set; then :
32756 $as_echo_n "(cached) " >&6
32758 ac_check_lib_save_LIBS
=$LIBS
32759 LIBS
="-lshl_load $LIBS"
32760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32761 /* end confdefs.h. */
32763 /* Override any GCC internal prototype to avoid an error.
32764 Use char because int might match the return type of a GCC
32765 builtin and then its argument prototype would still apply. */
32778 if ac_fn_c_try_link
"$LINENO"; then :
32779 ac_cv_lib_shl_load_dld
=yes
32781 ac_cv_lib_shl_load_dld
=no
32783 rm -f core conftest.err conftest.
$ac_objext \
32784 conftest
$ac_exeext conftest.
$ac_ext
32785 LIBS
=$ac_check_lib_save_LIBS
32787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
32788 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
32789 if test "x$ac_cv_lib_shl_load_dld" = x
""yes; then :
32792 DL_LINK
=" -ldld$DL_LINK"
32808 if test "$HAVE_DL_FUNCS" = 1; then
32809 for ac_func
in dlerror
32811 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
32812 if test "x$ac_cv_func_dlerror" = x
""yes; then :
32813 cat >>confdefs.h
<<_ACEOF
32814 #define HAVE_DLERROR 1
32816 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
32820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
32821 $as_echo_n "checking for dlerror in -ldl... " >&6; }
32822 if test "${ac_cv_lib_dl_dlerror+set}" = set; then :
32823 $as_echo_n "(cached) " >&6
32825 ac_check_lib_save_LIBS
=$LIBS
32827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32828 /* end confdefs.h. */
32830 /* Override any GCC internal prototype to avoid an error.
32831 Use char because int might match the return type of a GCC
32832 builtin and then its argument prototype would still apply. */
32845 if ac_fn_c_try_link
"$LINENO"; then :
32846 ac_cv_lib_dl_dlerror
=yes
32848 ac_cv_lib_dl_dlerror
=no
32850 rm -f core conftest.err conftest.
$ac_objext \
32851 conftest
$ac_exeext conftest.
$ac_ext
32852 LIBS
=$ac_check_lib_save_LIBS
32854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
32855 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
32856 if test "x$ac_cv_lib_dl_dlerror" = x
""yes; then :
32857 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
32869 if test "$USE_DARWIN" = 1; then
32873 if test "$HAVE_DL_FUNCS" = 0; then
32874 if test "$HAVE_SHL_FUNCS" = 0; then
32875 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
32876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32877 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32878 wxUSE_DYNAMIC_LOADER
=no
32879 wxUSE_DYNLIB_CLASS
=no
32881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
32882 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32889 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32890 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
32893 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32894 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
32900 if test "$wxUSE_PLUGINS" = "yes" ; then
32901 if test "$wxUSE_SHARED" = "no" ; then
32902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
32903 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
32906 if test "$wxUSE_MONOLITHIC" = "yes" ; then
32907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
32908 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
32911 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
32912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
32913 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
32916 if test "$wxUSE_PLUGINS" = "yes" ; then
32917 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
32923 if test "$wxUSE_FSWATCHER" = "yes"; then
32924 if test "$wxUSE_MSW" != "1"; then
32925 if test "$wxUSE_UNIX" = "yes"; then
32926 for ac_header
in sys
/inotify.h
32928 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
32930 if test "x$ac_cv_header_sys_inotify_h" = x
""yes; then :
32931 cat >>confdefs.h
<<_ACEOF
32932 #define HAVE_SYS_INOTIFY_H 1
32939 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
32940 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
32943 for ac_header
in sys
/event.h
32945 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
32947 if test "x$ac_cv_header_sys_event_h" = x
""yes; then :
32948 cat >>confdefs.h
<<_ACEOF
32949 #define HAVE_SYS_EVENT_H 1
32956 if test "$ac_cv_header_sys_event_h" = "yes"; then
32957 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
32967 if test "$wxUSE_THREADS" != "yes"; then
32968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
32969 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
32974 if test "$wxUSE_FSWATCHER" = "yes"; then
32975 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
32977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
32979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
32980 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
32985 if test "$wxUSE_STL" = "yes"; then
32986 $as_echo "#define wxUSE_STL 1" >>confdefs.h
32990 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
32991 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
32995 if test "$wxUSE_ANY" = "yes"; then
32996 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33000 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33001 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33005 if test "$wxUSE_TIMER" = "yes"; then
33006 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33010 if test "$USE_UNIX" = 1 ; then
33011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33012 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33013 if test "${ac_cv_header_sys_soundcard+set}" = set; then :
33014 $as_echo_n "(cached) " >&6
33017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33018 /* end confdefs.h. */
33020 #include <sys/ioctl.h>
33021 #include <sys/soundcard.h>
33027 ioctl(0, SNDCTL_DSP_SPEED, 0);
33033 if ac_fn_c_try_link
"$LINENO"; then :
33034 ac_cv_header_sys_soundcard
=yes
33038 LIBS
="$saveLibs -lossaudio"
33039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33040 /* end confdefs.h. */
33042 #include <sys/ioctl.h>
33043 #include <sys/soundcard.h>
33049 ioctl(0, SNDCTL_DSP_SPEED, 0);
33055 if ac_fn_c_try_link
"$LINENO"; then :
33056 ac_cv_header_sys_soundcard
=yes
33060 ac_cv_header_sys_soundcard
=no
33064 rm -f core conftest.err conftest.
$ac_objext \
33065 conftest
$ac_exeext conftest.
$ac_ext
33069 rm -f core conftest.err conftest.
$ac_objext \
33070 conftest
$ac_exeext conftest.
$ac_ext
33073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33074 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33076 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33077 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33083 if test "$wxUSE_SOUND" = "yes"; then
33084 if test "$USE_UNIX" = 1 ; then
33085 if test "$wxUSE_LIBSDL" != "no"; then
33087 # Check whether --with-sdl-prefix was given.
33088 if test "${with_sdl_prefix+set}" = set; then :
33089 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33095 # Check whether --with-sdl-exec-prefix was given.
33096 if test "${with_sdl_exec_prefix+set}" = set; then :
33097 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33102 # Check whether --enable-sdltest was given.
33103 if test "${enable_sdltest+set}" = set; then :
33104 enableval
=$enable_sdltest;
33110 if test x
$sdl_exec_prefix != x
; then
33111 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33112 if test x
${SDL_CONFIG+set} != xset
; then
33113 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33116 if test x
$sdl_prefix != x
; then
33117 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33118 if test x
${SDL_CONFIG+set} != xset
; then
33119 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33123 if test "x$prefix" != xNONE
; then
33124 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33126 # Extract the first word of "sdl-config", so it can be a program name with args.
33127 set dummy sdl
-config; ac_word
=$2
33128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33129 $as_echo_n "checking for $ac_word... " >&6; }
33130 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
33131 $as_echo_n "(cached) " >&6
33133 case $SDL_CONFIG in
33135 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33139 for as_dir
in $PATH
33142 test -z "$as_dir" && as_dir
=.
33143 for ac_exec_ext
in '' $ac_executable_extensions; do
33144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33145 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33153 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33157 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33158 if test -n "$SDL_CONFIG"; then
33159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33160 $as_echo "$SDL_CONFIG" >&6; }
33162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33163 $as_echo "no" >&6; }
33167 min_sdl_version
=1.2.0
33168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33169 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33171 if test "$SDL_CONFIG" = "no" ; then
33174 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33175 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33177 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33178 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33179 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33180 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33181 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33182 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33183 if test "x$enable_sdltest" = "xyes" ; then
33184 ac_save_CFLAGS
="$CFLAGS"
33185 ac_save_CXXFLAGS
="$CXXFLAGS"
33186 ac_save_LIBS
="$LIBS"
33187 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33188 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33189 LIBS
="$LIBS $SDL_LIBS"
33191 if test "$cross_compiling" = yes; then :
33192 echo $ac_n "cross compiling; assumed OK... $ac_c"
33194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33195 /* end confdefs.h. */
33198 #include <stdlib.h>
33199 #include <string.h>
33203 my_strdup (char *str)
33209 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33210 strcpy (new_str, str);
33218 int main (int argc, char *argv[])
33220 int major, minor, micro;
33223 /* This hangs on some systems (?)
33224 system ("touch conf.sdltest");
33226 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33228 /* HP/UX 9 (%@#!) writes to sscanf strings */
33229 tmp_version = my_strdup("$min_sdl_version");
33230 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33231 printf("%s, bad version string\n", "$min_sdl_version");
33235 if (($sdl_major_version > major) ||
33236 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33237 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33243 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33244 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33245 printf("*** best to upgrade to the required version.\n");
33246 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33247 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33248 printf("*** config.cache before re-running configure\n");
33255 if ac_fn_c_try_run
"$LINENO"; then :
33260 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33261 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33264 CFLAGS
="$ac_save_CFLAGS"
33265 CXXFLAGS
="$ac_save_CXXFLAGS"
33266 LIBS
="$ac_save_LIBS"
33269 if test "x$no_sdl" = x
; then
33270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33271 $as_echo "yes" >&6; }
33273 EXTRALIBS_SDL
="$SDL_LIBS"
33274 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33275 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33276 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33281 $as_echo "no" >&6; }
33282 if test "$SDL_CONFIG" = "no" ; then
33283 echo "*** The sdl-config script installed by SDL could not be found"
33284 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33285 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33286 echo "*** full path to sdl-config."
33288 if test -f conf.sdltest
; then
33291 echo "*** Could not run SDL test program, checking why..."
33292 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33293 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33294 LIBS
="$LIBS $SDL_LIBS"
33295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33296 /* end confdefs.h. */
33301 int main(int argc, char *argv[])
33304 #define main K_and_R_C_main
33314 if ac_fn_c_try_link
"$LINENO"; then :
33315 echo "*** The test program compiled, but did not run. This usually means"
33316 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33317 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33318 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33319 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33320 echo "*** is required on your system"
33322 echo "*** If you have an old version installed, it is best to remove it, although"
33323 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33325 echo "*** The test program failed to compile or link. See the file config.log for the"
33326 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33327 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33328 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33330 rm -f core conftest.err conftest.
$ac_objext \
33331 conftest
$ac_exeext conftest.
$ac_ext
33332 CFLAGS
="$ac_save_CFLAGS"
33333 CXXFLAGS
="$ac_save_CXXFLAGS"
33334 LIBS
="$ac_save_LIBS"
33345 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33352 if test "$wxUSE_SOUND" = "yes"; then
33353 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33358 if test "$WXGTK2" = 1; then
33361 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33362 if test -n "$ac_tool_prefix"; then
33363 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33364 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33366 $as_echo_n "checking for $ac_word... " >&6; }
33367 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
33368 $as_echo_n "(cached) " >&6
33370 case $PKG_CONFIG in
33372 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33376 for as_dir
in $PATH
33379 test -z "$as_dir" && as_dir
=.
33380 for ac_exec_ext
in '' $ac_executable_extensions; do
33381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33382 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33393 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33394 if test -n "$PKG_CONFIG"; then
33395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33396 $as_echo "$PKG_CONFIG" >&6; }
33398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33399 $as_echo "no" >&6; }
33404 if test -z "$ac_cv_path_PKG_CONFIG"; then
33405 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33406 # Extract the first word of "pkg-config", so it can be a program name with args.
33407 set dummy pkg
-config; ac_word
=$2
33408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33409 $as_echo_n "checking for $ac_word... " >&6; }
33410 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
33411 $as_echo_n "(cached) " >&6
33413 case $ac_pt_PKG_CONFIG in
33415 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33419 for as_dir
in $PATH
33422 test -z "$as_dir" && as_dir
=.
33423 for ac_exec_ext
in '' $ac_executable_extensions; do
33424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33425 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33436 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33437 if test -n "$ac_pt_PKG_CONFIG"; then
33438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33439 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33442 $as_echo "no" >&6; }
33445 if test "x$ac_pt_PKG_CONFIG" = x
; then
33448 case $cross_compiling:$ac_tool_warned in
33450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33452 ac_tool_warned
=yes ;;
33454 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33457 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33461 if test -n "$PKG_CONFIG"; then
33462 _pkg_min_version
=0.9.0
33463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33464 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33465 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33467 $as_echo "yes" >&6; }
33469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33470 $as_echo "no" >&6; }
33476 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33478 if test "$wxUSE_GTKPRINT" = "yes" ; then
33482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33483 $as_echo_n "checking for GTKPRINT... " >&6; }
33485 if test -n "$PKG_CONFIG"; then
33486 if test -n "$GTKPRINT_CFLAGS"; then
33487 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
33489 if test -n "$PKG_CONFIG" && \
33490 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\""; } >&5
33491 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
33493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33494 test $ac_status = 0; }; then
33495 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
33503 if test -n "$PKG_CONFIG"; then
33504 if test -n "$GTKPRINT_LIBS"; then
33505 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
33507 if test -n "$PKG_CONFIG" && \
33508 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\""; } >&5
33509 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
33511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33512 test $ac_status = 0; }; then
33513 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
33524 if test $pkg_failed = yes; then
33526 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33527 _pkg_short_errors_supported
=yes
33529 _pkg_short_errors_supported
=no
33531 if test $_pkg_short_errors_supported = yes; then
33532 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
33534 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
33536 # Put the nasty error message in config.log where it belongs
33537 echo "$GTKPRINT_PKG_ERRORS" >&5
33540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
33541 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33542 wxUSE_GTKPRINT
="no"
33545 elif test $pkg_failed = untried
; then
33547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
33548 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33549 wxUSE_GTKPRINT
="no"
33553 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
33554 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
33555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33556 $as_echo "yes" >&6; }
33558 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
33559 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
33560 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33566 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33571 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33573 if test -n "$PKG_CONFIG"; then
33574 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33575 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
33577 if test -n "$PKG_CONFIG" && \
33578 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33579 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33582 test $ac_status = 0; }; then
33583 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33591 if test -n "$PKG_CONFIG"; then
33592 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33593 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
33595 if test -n "$PKG_CONFIG" && \
33596 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33597 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33600 test $ac_status = 0; }; then
33601 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33612 if test $pkg_failed = yes; then
33614 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33615 _pkg_short_errors_supported
=yes
33617 _pkg_short_errors_supported
=no
33619 if test $_pkg_short_errors_supported = yes; then
33620 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33622 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33624 # Put the nasty error message in config.log where it belongs
33625 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33628 if test "$wxUSE_GTKPRINT" = yes; then
33629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33630 $as_echo "no" >&6; }
33632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33633 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33635 wxUSE_LIBGNOMEPRINT
="no"
33638 elif test $pkg_failed = untried
; then
33640 if test "$wxUSE_GTKPRINT" = yes; then
33641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33642 $as_echo "no" >&6; }
33644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33645 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33647 wxUSE_LIBGNOMEPRINT
="no"
33651 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33652 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33654 $as_echo "yes" >&6; }
33656 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33657 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33658 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33665 if test "$wxUSE_MIMETYPE" = "yes" ; then
33666 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33671 $as_echo_n "checking for GNOMEVFS... " >&6; }
33673 if test -n "$PKG_CONFIG"; then
33674 if test -n "$GNOMEVFS_CFLAGS"; then
33675 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
33677 if test -n "$PKG_CONFIG" && \
33678 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33679 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33682 test $ac_status = 0; }; then
33683 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33691 if test -n "$PKG_CONFIG"; then
33692 if test -n "$GNOMEVFS_LIBS"; then
33693 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
33695 if test -n "$PKG_CONFIG" && \
33696 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33697 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33700 test $ac_status = 0; }; then
33701 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33712 if test $pkg_failed = yes; then
33714 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33715 _pkg_short_errors_supported
=yes
33717 _pkg_short_errors_supported
=no
33719 if test $_pkg_short_errors_supported = yes; then
33720 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33722 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33724 # Put the nasty error message in config.log where it belongs
33725 echo "$GNOMEVFS_PKG_ERRORS" >&5
33728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33729 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33730 wxUSE_LIBGNOMEVFS
="no"
33733 elif test $pkg_failed = untried
; then
33735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33736 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33737 wxUSE_LIBGNOMEVFS
="no"
33741 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
33742 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
33743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33744 $as_echo "yes" >&6; }
33746 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
33747 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
33748 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
33755 if test "$wxUSE_LIBHILDON" = "yes" ; then
33758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
33759 $as_echo_n "checking for HILDON... " >&6; }
33761 if test -n "$PKG_CONFIG"; then
33762 if test -n "$HILDON_CFLAGS"; then
33763 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
33765 if test -n "$PKG_CONFIG" && \
33766 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33767 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33770 test $ac_status = 0; }; then
33771 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
33779 if test -n "$PKG_CONFIG"; then
33780 if test -n "$HILDON_LIBS"; then
33781 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
33783 if test -n "$PKG_CONFIG" && \
33784 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33785 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33788 test $ac_status = 0; }; then
33789 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
33800 if test $pkg_failed = yes; then
33802 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33803 _pkg_short_errors_supported
=yes
33805 _pkg_short_errors_supported
=no
33807 if test $_pkg_short_errors_supported = yes; then
33808 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
33810 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
33812 # Put the nasty error message in config.log where it belongs
33813 echo "$HILDON_PKG_ERRORS" >&5
33816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
33817 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
33818 wxUSE_LIBHILDON
="no"
33822 elif test $pkg_failed = untried
; then
33824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
33825 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
33826 wxUSE_LIBHILDON
="no"
33831 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
33832 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
33833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33834 $as_echo "yes" >&6; }
33836 EXTRALIBS_HILDON
="$HILDON_LIBS"
33837 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
33838 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
33839 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
33845 if test "$ac_hildon_lgpl" = 0 ; then
33848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
33849 $as_echo_n "checking for HILDON2... " >&6; }
33851 if test -n "$PKG_CONFIG"; then
33852 if test -n "$HILDON2_CFLAGS"; then
33853 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
33855 if test -n "$PKG_CONFIG" && \
33856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
33857 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
33859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33860 test $ac_status = 0; }; then
33861 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
33869 if test -n "$PKG_CONFIG"; then
33870 if test -n "$HILDON2_LIBS"; then
33871 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
33873 if test -n "$PKG_CONFIG" && \
33874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
33875 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
33877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33878 test $ac_status = 0; }; then
33879 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
33890 if test $pkg_failed = yes; then
33892 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33893 _pkg_short_errors_supported
=yes
33895 _pkg_short_errors_supported
=no
33897 if test $_pkg_short_errors_supported = yes; then
33898 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
33900 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
33902 # Put the nasty error message in config.log where it belongs
33903 echo "$HILDON2_PKG_ERRORS" >&5
33906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
33907 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
33908 wxUSE_LIBHILDON2
="no"
33911 elif test $pkg_failed = untried
; then
33913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
33914 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
33915 wxUSE_LIBHILDON2
="no"
33919 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
33920 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
33921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33922 $as_echo "yes" >&6; }
33924 EXTRALIBS_HILDON
="$HILDON2_LIBS"
33925 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
33926 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
33927 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
33935 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
33936 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
33940 if test "$wxUSE_STOPWATCH" = "yes"; then
33941 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
33945 if test "$wxUSE_DATETIME" = "yes"; then
33946 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
33950 if test "$wxUSE_FILE" = "yes"; then
33951 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
33955 if test "$wxUSE_FFILE" = "yes"; then
33956 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
33960 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
33961 if test "$wxUSE_STREAMS" != yes; then
33962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
33963 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
33964 wxUSE_ARCHIVE_STREAMS
=no
33966 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
33971 if test "$wxUSE_ZIPSTREAM" = "yes"; then
33972 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
33973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
33974 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
33975 elif test "$wxUSE_ZLIB" = "no"; then
33976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
33977 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
33979 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
33984 if test "$wxUSE_TARSTREAM" = "yes"; then
33985 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
33986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
33987 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
33989 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
33994 if test "$wxUSE_FILE_HISTORY" = "yes"; then
33995 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
33999 if test "$wxUSE_FILESYSTEM" = "yes"; then
34000 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34002 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34003 wxUSE_FILESYSTEM
=no
34005 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34010 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34011 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34013 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34015 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34020 if test "$wxUSE_FS_ZIP" = "yes"; then
34021 if test "$wxUSE_FS_ARCHIVE" != yes; then
34022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34023 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34025 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34030 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34031 if test "$USE_UNIX" != 1; then
34032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34033 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34034 wxUSE_ON_FATAL_EXCEPTION
=no
34036 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34041 if test "$wxUSE_STACKWALKER" = "yes"; then
34042 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34046 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34047 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34049 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34050 wxUSE_DEBUGREPORT
=no
34052 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34054 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34060 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34061 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34065 if test "$wxUSE_BUSYINFO" = "yes"; then
34066 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34070 if test "$wxUSE_HOTKEY" = "yes"; then
34071 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34073 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34076 elif test "$wxUSE_HOTKEY" = "auto"; then
34077 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34081 if test "$wxUSE_HOTKEY" = "yes"; then
34082 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34086 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34087 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34091 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34092 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34096 if test "$wxUSE_STD_STRING" = "yes"; then
34097 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34101 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34102 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34106 if test "$wxUSE_STDPATHS" = "yes"; then
34107 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34111 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34112 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34116 if test "$wxUSE_TEXTFILE" = "yes"; then
34117 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34119 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34121 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34126 if test "$wxUSE_CONFIG" = "yes" ; then
34127 if test "$wxUSE_TEXTFILE" != "yes"; then
34128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34129 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34131 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34133 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34139 if test "$wxUSE_INTL" = "yes" ; then
34140 if test "$wxUSE_FILE" != "yes"; then
34141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34142 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34144 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34147 GUIDIST
="$GUIDIST INTL_DIST"
34151 if test "$wxUSE_XLOCALE" = "yes" ; then
34152 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34154 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34155 #include <locale.h>
34157 if test "x$ac_cv_type_locale_t" = x
""yes; then :
34159 cat >>confdefs.h
<<_ACEOF
34160 #define HAVE_LOCALE_T 1
34168 if test "$wxUSE_LOG" = "yes"; then
34169 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34172 if test "$wxUSE_LOGGUI" = "yes"; then
34173 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34177 if test "$wxUSE_LOGWINDOW" = "yes"; then
34178 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34182 if test "$wxUSE_LOGDIALOG" = "yes"; then
34183 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34187 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
34190 if test "$wxUSE_LONGLONG" = "yes"; then
34191 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34195 if test "$wxUSE_GEOMETRY" = "yes"; then
34196 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34200 if test "$wxUSE_BASE64" = "yes"; then
34201 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34205 if test "$wxUSE_STREAMS" = "yes" ; then
34206 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34210 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34211 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34215 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34216 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34221 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34222 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34225 if test "$wxUSE_UNIX" = "yes"; then
34226 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34227 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34231 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34232 for ac_header
in sys
/epoll.h
34234 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34236 if test "x$ac_cv_header_sys_epoll_h" = x
""yes; then :
34237 cat >>confdefs.h
<<_ACEOF
34238 #define HAVE_SYS_EPOLL_H 1
34245 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34246 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34250 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34257 for ac_func
in gettimeofday ftime
34259 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34260 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
34261 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
34262 cat >>confdefs.h
<<_ACEOF
34263 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34270 if test "$ac_cv_func_gettimeofday" = "yes"; then
34271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34272 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34273 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then :
34274 $as_echo_n "(cached) " >&6
34277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34278 /* end confdefs.h. */
34280 #include <sys/time.h>
34281 #include <unistd.h>
34288 gettimeofday(&tv, NULL);
34294 if ac_fn_c_try_compile
"$LINENO"; then :
34295 wx_cv_func_gettimeofday_has_2_args
=yes
34297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34298 /* end confdefs.h. */
34300 #include <sys/time.h>
34301 #include <unistd.h>
34314 if ac_fn_c_try_compile
"$LINENO"; then :
34315 wx_cv_func_gettimeofday_has_2_args
=no
34318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34319 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34320 wx_cv_func_gettimeofday_has_2_args
=unknown
34324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34331 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34333 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34334 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34339 if test "$wxUSE_DATETIME" = "yes"; then
34340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34341 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34342 if test "${wx_cv_var_timezone+set}" = set; then :
34343 $as_echo_n "(cached) " >&6
34347 ac_cpp
='$CXXCPP $CPPFLAGS'
34348 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34349 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34350 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34353 /* end confdefs.h. */
34368 if ac_fn_cxx_try_compile
"$LINENO"; then :
34370 wx_cv_var_timezone
=timezone
34374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34375 /* end confdefs.h. */
34390 if ac_fn_cxx_try_compile
"$LINENO"; then :
34392 wx_cv_var_timezone
=_timezone
34396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34397 /* end confdefs.h. */
34412 if ac_fn_cxx_try_compile
"$LINENO"; then :
34414 wx_cv_var_timezone
=__timezone
34418 if test "$USE_DOS" = 0 ; then
34419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34420 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34435 ac_cpp
='$CPP $CPPFLAGS'
34436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34444 $as_echo "$wx_cv_var_timezone" >&6; }
34446 if test "x$wx_cv_var_timezone" != x
; then
34447 cat >>confdefs.h
<<_ACEOF
34448 #define WX_TIMEZONE $wx_cv_var_timezone
34453 for ac_func
in localtime
34455 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
34456 if test "x$ac_cv_func_localtime" = x
""yes; then :
34457 cat >>confdefs.h
<<_ACEOF
34458 #define HAVE_LOCALTIME 1
34465 if test "$ac_cv_func_localtime" = "yes"; then
34466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34467 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34468 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then :
34469 $as_echo_n "(cached) " >&6
34472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34473 /* end confdefs.h. */
34488 if ac_fn_c_try_compile
"$LINENO"; then :
34490 wx_cv_struct_tm_has_gmtoff
=yes
34493 wx_cv_struct_tm_has_gmtoff
=no
34496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34500 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34503 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34504 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
34512 if test "$wxUSE_SOCKETS" = "yes"; then
34513 if test "$TOOLKIT" != "MSW"; then
34514 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
34515 if test "x$ac_cv_func_socket" = x
""yes; then :
34519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34520 $as_echo_n "checking for socket in -lsocket... " >&6; }
34521 if test "${ac_cv_lib_socket_socket+set}" = set; then :
34522 $as_echo_n "(cached) " >&6
34524 ac_check_lib_save_LIBS
=$LIBS
34525 LIBS
="-lsocket $LIBS"
34526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34527 /* end confdefs.h. */
34529 /* Override any GCC internal prototype to avoid an error.
34530 Use char because int might match the return type of a GCC
34531 builtin and then its argument prototype would still apply. */
34544 if ac_fn_c_try_link
"$LINENO"; then :
34545 ac_cv_lib_socket_socket
=yes
34547 ac_cv_lib_socket_socket
=no
34549 rm -f core conftest.err conftest.
$ac_objext \
34550 conftest
$ac_exeext conftest.
$ac_ext
34551 LIBS
=$ac_check_lib_save_LIBS
34553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34554 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34555 if test "x$ac_cv_lib_socket_socket" = x
""yes; then :
34556 if test "$INET_LINK" != " -lsocket"; then
34557 INET_LINK
="$INET_LINK -lsocket"
34561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34562 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34575 if test "$wxUSE_SOCKETS" = "yes" ; then
34576 if test "$TOOLKIT" != "MSW"; then
34577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34578 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34579 if test "${wx_cv_type_getsockname3+set}" = set; then :
34580 $as_echo_n "(cached) " >&6
34584 ac_cpp
='$CXXCPP $CPPFLAGS'
34585 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34586 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34587 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34590 /* end confdefs.h. */
34592 #include <sys/types.h>
34593 #include <sys/socket.h>
34600 getsockname(0, 0, &len);
34606 if ac_fn_cxx_try_compile
"$LINENO"; then :
34607 wx_cv_type_getsockname3
=socklen_t
34610 CFLAGS_OLD
="$CFLAGS"
34611 if test "$GCC" = yes ; then
34612 CFLAGS
="-Werror $CFLAGS"
34615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34616 /* end confdefs.h. */
34618 #include <sys/types.h>
34619 #include <sys/socket.h>
34626 getsockname(0, 0, &len);
34632 if ac_fn_cxx_try_compile
"$LINENO"; then :
34633 wx_cv_type_getsockname3
=size_t
34635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34636 /* end confdefs.h. */
34638 #include <sys/types.h>
34639 #include <sys/socket.h>
34646 getsockname(0, 0, &len);
34652 if ac_fn_cxx_try_compile
"$LINENO"; then :
34653 wx_cv_type_getsockname3
=int
34655 wx_cv_type_getsockname3
=unknown
34658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34663 CFLAGS
="$CFLAGS_OLD"
34667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34669 ac_cpp
='$CPP $CPPFLAGS'
34670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
34677 $as_echo "$wx_cv_type_getsockname3" >&6; }
34679 if test "$wx_cv_type_getsockname3" = "unknown"; then
34681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34682 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34684 cat >>confdefs.h
<<_ACEOF
34685 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
34690 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
34691 if test "${wx_cv_type_getsockopt5+set}" = set; then :
34692 $as_echo_n "(cached) " >&6
34696 ac_cpp
='$CXXCPP $CPPFLAGS'
34697 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34702 /* end confdefs.h. */
34704 #include <sys/types.h>
34705 #include <sys/socket.h>
34712 getsockopt(0, 0, 0, 0, &len);
34718 if ac_fn_cxx_try_compile
"$LINENO"; then :
34719 wx_cv_type_getsockopt5
=socklen_t
34722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34723 /* end confdefs.h. */
34725 #include <sys/types.h>
34726 #include <sys/socket.h>
34733 getsockopt(0, 0, 0, 0, &len);
34739 if ac_fn_cxx_try_compile
"$LINENO"; then :
34740 wx_cv_type_getsockopt5
=size_t
34742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34743 /* end confdefs.h. */
34745 #include <sys/types.h>
34746 #include <sys/socket.h>
34753 getsockopt(0, 0, 0, 0, &len);
34759 if ac_fn_cxx_try_compile
"$LINENO"; then :
34760 wx_cv_type_getsockopt5
=int
34762 wx_cv_type_getsockopt5
=unknown
34765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34774 ac_cpp
='$CPP $CPPFLAGS'
34775 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34776 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34777 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
34782 $as_echo "$wx_cv_type_getsockopt5" >&6; }
34784 if test "$wx_cv_type_getsockopt5" = "unknown"; then
34786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34787 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34789 cat >>confdefs.h
<<_ACEOF
34790 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
34797 if test "$wxUSE_SOCKETS" = "yes" ; then
34798 if test "$wxUSE_IPV6" = "yes"; then
34799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
34800 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
34801 if test "${wx_cv_type_sockaddr_in6+set}" = set; then :
34802 $as_echo_n "(cached) " >&6
34805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34806 /* end confdefs.h. */
34808 #include <sys/types.h>
34809 #include <sys/socket.h>
34810 #include <netinet/in.h>
34816 struct sockaddr_in6 sa6;
34822 if ac_fn_c_try_compile
"$LINENO"; then :
34823 wx_cv_type_sockaddr_in6
=yes
34825 wx_cv_type_sockaddr_in6
=no
34828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
34833 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
34835 if test "$wx_cv_type_sockaddr_in6"="yes"; then
34836 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
34839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
34840 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
34844 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
34846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
34849 if test "$wxUSE_PROTOCOL" = "yes"; then
34850 if test "$wxUSE_SOCKETS" != "yes"; then
34851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
34852 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
34857 if test "$wxUSE_PROTOCOL" = "yes"; then
34858 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
34861 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
34862 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
34865 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
34866 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
34869 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
34870 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
34874 if test "$wxUSE_FS_INET" = "yes"; then
34875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
34876 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
34881 if test "$wxUSE_URL" = "yes"; then
34882 if test "$wxUSE_PROTOCOL" != "yes"; then
34883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
34884 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
34887 if test "$wxUSE_URL" = "yes"; then
34888 $as_echo "#define wxUSE_URL 1" >>confdefs.h
34893 if test "$wxUSE_VARIANT" = "yes"; then
34894 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
34898 if test "$wxUSE_FS_INET" = "yes"; then
34899 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
34904 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
34907 if test "$TOOLKIT" = "MSW"; then
34910 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
34911 if test "$USE_DARWIN" = 1; then
34912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
34913 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
34915 ac_cpp
='$CXXCPP $CPPFLAGS'
34916 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34917 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34918 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34921 /* end confdefs.h. */
34922 #include <IOKit/hid/IOHIDLib.h>
34926 IOHIDQueueInterface *qi = NULL;
34927 IOHIDCallbackFunction cb = NULL;
34928 qi->setEventCallout(NULL, cb, NULL, NULL);
34933 if ac_fn_cxx_try_compile
"$LINENO"; then :
34937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34939 ac_cpp
='$CPP $CPPFLAGS'
34940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
34945 $as_echo "$wxUSE_JOYSTICK" >&6; }
34949 for ac_header
in linux
/joystick.h
34951 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
34953 if test "x$ac_cv_header_linux_joystick_h" = x
""yes; then :
34954 cat >>confdefs.h
<<_ACEOF
34955 #define HAVE_LINUX_JOYSTICK_H 1
34964 if test "$wxUSE_JOYSTICK" = "yes"; then
34965 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
34967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
34969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
34970 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
34976 if test "$wxUSE_FONTENUM" = "yes" ; then
34977 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
34981 if test "$wxUSE_FONTMAP" = "yes" ; then
34982 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
34986 if test "$wxUSE_UNICODE" = "yes" ; then
34987 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
34990 if test "$USE_WIN32" != 1; then
34991 wxUSE_UNICODE_MSLU
=no
34994 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
34995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
34996 $as_echo_n "checking for main in -lunicows... " >&6; }
34997 if test "${ac_cv_lib_unicows_main+set}" = set; then :
34998 $as_echo_n "(cached) " >&6
35000 ac_check_lib_save_LIBS
=$LIBS
35001 LIBS
="-lunicows $LIBS"
35002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35003 /* end confdefs.h. */
35014 if ac_fn_c_try_link
"$LINENO"; then :
35015 ac_cv_lib_unicows_main
=yes
35017 ac_cv_lib_unicows_main
=no
35019 rm -f core conftest.err conftest.
$ac_objext \
35020 conftest
$ac_exeext conftest.
$ac_ext
35021 LIBS
=$ac_check_lib_save_LIBS
35023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35024 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35025 if test "x$ac_cv_lib_unicows_main" = x
""yes; then :
35027 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35033 Applications will only run on Windows NT/2000/XP!" >&5
35034 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35035 Applications will only run on Windows NT/2000/XP!" >&2;}
35036 wxUSE_UNICODE_MSLU
=no
35043 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35044 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35047 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35048 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35054 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35055 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35060 if test "$wxUSE_MDI" = "yes"; then
35061 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35064 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35065 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35071 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35072 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35077 if test "$wxUSE_HELP" = "yes"; then
35078 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35082 if test "$wxUSE_MSW" = 1; then
35083 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35084 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35089 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35090 if test "$wxUSE_HTML" = "yes"; then
35091 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35095 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35096 wxUSE_WXHTML_HELP
=no
35101 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35102 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35107 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35108 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35112 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35115 if test "$wxUSE_SVG" = "yes"; then
35116 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35121 if test "$wxUSE_METAFILE" = "yes"; then
35122 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35124 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35127 elif test "$wxUSE_METAFILE" = "auto"; then
35128 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35133 if test "$wxUSE_METAFILE" = "yes"; then
35134 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35136 if test "$wxUSE_MSW" = 1; then
35137 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35143 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35144 -o "$wxUSE_CLIPBOARD" = "yes" \
35145 -o "$wxUSE_OLE" = "yes" \
35146 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35147 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35149 if test "x$ac_cv_header_ole2_h" = x
""yes; then :
35155 if test "$ac_cv_header_ole2_h" = "yes" ; then
35156 if test "$GCC" = yes ; then
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35158 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35160 /* end confdefs.h. */
35161 #include <windows.h>
35171 if ac_fn_c_try_compile
"$LINENO"; then :
35172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35173 $as_echo "no" >&6; }
35175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35176 $as_echo "yes" >&6; }
35177 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35180 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35181 if test "$wxUSE_OLE" = "yes" ; then
35182 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35184 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35186 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
35192 if test "$wxUSE_DATAOBJ" = "yes" ; then
35193 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35198 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35201 wxUSE_DRAG_AND_DROP
=no
35207 if test "$wxUSE_IPC" = "yes"; then
35208 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35210 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35214 if test "$wxUSE_IPC" = "yes"; then
35215 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
35221 if test "$wxUSE_DATAOBJ" = "yes"; then
35222 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35226 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35228 wxUSE_DRAG_AND_DROP
=no
35231 if test "$wxUSE_CLIPBOARD" = "yes"; then
35232 if test "$wxUSE_DFB" = 1; then
35233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35234 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35238 if test "$wxUSE_CLIPBOARD" = "yes"; then
35239 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35244 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35245 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35247 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35248 wxUSE_DRAG_AND_DROP
=no
35251 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35252 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35258 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
35262 if test "$wxUSE_CLIPBOARD" = "yes"; then
35263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
35266 if test "$wxUSE_SPLINES" = "yes" ; then
35267 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35271 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35272 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35276 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35277 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35279 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
35282 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35283 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35289 if test "$wxUSE_CONTROLS" = "yes"; then
35293 if test "$wxUSE_MARKUP" = "yes"; then
35294 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35298 if test "$wxUSE_ACCEL" = "yes"; then
35299 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35304 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35305 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35308 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
35311 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35312 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35316 if test "$wxUSE_BUTTON" = "yes"; then
35317 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35322 if test "$wxUSE_BMPBUTTON" = "yes"; then
35323 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35328 if test "$wxUSE_CALCTRL" = "yes"; then
35329 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
35335 if test "$wxUSE_CARET" = "yes"; then
35336 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
35342 if test "$wxUSE_COLLPANE" = "yes"; then
35343 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
35349 if test "$wxUSE_COMBOBOX" = "yes"; then
35350 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35355 if test "$wxUSE_COMBOCTRL" = "yes"; then
35356 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35361 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35362 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35367 if test "$wxUSE_CHOICE" = "yes"; then
35368 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35373 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35374 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35379 if test "$wxUSE_CHECKBOX" = "yes"; then
35380 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35385 if test "$wxUSE_CHECKLST" = "yes"; then
35386 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35391 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35392 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35397 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35398 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35403 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35404 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35409 if test "$wxUSE_FILECTRL" = "yes"; then
35410 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35415 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35416 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35421 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35422 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35427 if test "$wxUSE_DISPLAY" = "yes"; then
35428 if test "$wxUSE_DFB" = 1; then
35429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35430 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35433 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
35439 if test "$wxUSE_DETECT_SM" = "yes"; then
35440 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35444 if test "$wxUSE_GAUGE" = "yes"; then
35445 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35450 if test "$wxUSE_GRID" = "yes"; then
35451 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
35457 if test "$wxUSE_HEADERCTRL" = "yes"; then
35458 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35463 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35464 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35469 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35470 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35475 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35476 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
35482 if test "$wxUSE_IMAGLIST" = "yes"; then
35483 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35487 if test "$wxUSE_INFOBAR" = "yes"; then
35488 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35492 if test "$wxUSE_LISTBOOK" = "yes"; then
35493 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35498 if test "$wxUSE_LISTBOX" = "yes"; then
35499 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35504 if test "$wxUSE_LISTCTRL" = "yes"; then
35505 if test "$wxUSE_IMAGLIST" = "yes"; then
35506 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35509 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
35511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35512 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35516 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35517 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35522 if test "$wxUSE_NOTEBOOK" = "yes"; then
35523 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35526 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
35529 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35530 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35534 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35535 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
35541 if test "$wxUSE_RADIOBOX" = "yes"; then
35542 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35547 if test "$wxUSE_RADIOBTN" = "yes"; then
35548 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35553 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35554 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35558 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35559 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35563 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35564 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35568 if test "$wxUSE_SASH" = "yes"; then
35569 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
35574 if test "$wxUSE_SCROLLBAR" = "yes"; then
35575 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
35581 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35582 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35587 if test "$wxUSE_SLIDER" = "yes"; then
35588 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35593 if test "$wxUSE_SPINBTN" = "yes"; then
35594 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35599 if test "$wxUSE_SPINCTRL" = "yes"; then
35600 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35605 if test "$wxUSE_SPLITTER" = "yes"; then
35606 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35608 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
35611 if test "$wxUSE_STATBMP" = "yes"; then
35612 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35617 if test "$wxUSE_STATBOX" = "yes"; then
35618 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35623 if test "$wxUSE_STATTEXT" = "yes"; then
35624 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35629 if test "$wxUSE_STATLINE" = "yes"; then
35630 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35635 if test "$wxUSE_STATUSBAR" = "yes"; then
35636 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35638 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35642 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
35645 if test "$wxUSE_TEXTCTRL" = "yes"; then
35646 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35649 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
35651 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35653 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35657 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35658 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35663 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35664 if test "$wxUSE_OLD_COCOA" = 1 ; then
35665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35666 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35670 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35671 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
35677 if test "$wxUSE_TOOLBAR" = "yes"; then
35678 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
35682 if test "$wxUSE_UNIVERSAL" = "yes"; then
35683 wxUSE_TOOLBAR_NATIVE
="no"
35685 wxUSE_TOOLBAR_NATIVE
="yes"
35686 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
35690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
35693 if test "$wxUSE_TOOLTIPS" = "yes"; then
35694 if test "$wxUSE_MOTIF" = 1; then
35695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35696 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35698 if test "$wxUSE_UNIVERSAL" = "yes"; then
35699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35700 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35702 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
35708 if test "$wxUSE_TREEBOOK" = "yes"; then
35709 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
35714 if test "$wxUSE_TOOLBOOK" = "yes"; then
35715 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
35720 if test "$wxUSE_TREECTRL" = "yes"; then
35721 if test "$wxUSE_IMAGLIST" = "yes"; then
35722 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
35725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
35727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35728 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35732 if test "$wxUSE_TREELISTCTRL" = "yes"; then
35733 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
35736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
35739 if test "$wxUSE_POPUPWIN" = "yes"; then
35740 if test "$wxUSE_OLD_COCOA" = 1 ; then
35741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35742 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35744 if test "$wxUSE_PM" = 1; then
35745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35746 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35748 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
35750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
35757 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
35758 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
35760 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
35762 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
35764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35768 if test "$wxUSE_TIPWINDOW" = "yes"; then
35769 if test "$wxUSE_PM" = 1; then
35770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35771 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35773 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
35778 if test "$USES_CONTROLS" = 1; then
35779 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
35784 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
35785 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
35787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
35790 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
35791 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
35795 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
35796 if test "$wxUSE_GTK" != 1; then
35797 if test "$wxUSE_LIBPNG" != no
-a \
35798 "$wxUSE_IMAGE" = yes -a \
35799 "$wxUSE_STREAMS" = yes; then
35800 wxUSE_ARTPROVIDER_TANGO
="yes"
35805 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
35806 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
35810 if test "$wxUSE_DRAGIMAGE" = "yes"; then
35811 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
35813 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
35816 if test "$wxUSE_EXCEPTIONS" = "yes"; then
35817 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
35819 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
35821 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
35823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
35828 if test "$wxUSE_HTML" = "yes"; then
35829 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
35832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
35834 if test "$wxUSE_WEBKIT" = "yes"; then
35835 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
35836 old_CPPFLAGS
="$CPPFLAGS"
35837 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
35838 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
35839 #include <Carbon/Carbon.h>
35840 #include <WebKit/WebKit.h>
35843 if test "x$ac_cv_header_WebKit_HIWebView_h" = x
""yes; then :
35845 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
35847 WEBKIT_LINK
="-framework WebKit"
35851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
35852 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
35858 CPPFLAGS
="$old_CPPFLAGS"
35859 elif test "$wxUSE_OLD_COCOA" = 1; then
35860 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
35865 if test "$wxUSE_WEBKIT" = "yes"; then
35866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
35871 if test "$wxUSE_XRC" = "yes"; then
35872 if test "$wxUSE_XML" != "yes"; then
35873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
35874 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
35877 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
35880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
35885 if test "$wxUSE_AUI" = "yes"; then
35886 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
35889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
35893 if test "$wxUSE_PROPGRID" = "yes"; then
35894 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
35897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
35901 if test "$wxUSE_RIBBON" = "yes"; then
35902 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
35905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
35909 if test "$wxUSE_STC" = "yes"; then
35910 $as_echo "#define wxUSE_STC 1" >>confdefs.h
35913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
35915 # Extract the first word of "python", so it can be a program name with args.
35916 set dummy python
; ac_word
=$2
35917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
35918 $as_echo_n "checking for $ac_word... " >&6; }
35919 if test "${ac_cv_path_PYTHON+set}" = set; then :
35920 $as_echo_n "(cached) " >&6
35924 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
35927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35928 for as_dir
in $PATH
35931 test -z "$as_dir" && as_dir
=.
35932 for ac_exec_ext
in '' $ac_executable_extensions; do
35933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35934 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
35935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35945 PYTHON
=$ac_cv_path_PYTHON
35946 if test -n "$PYTHON"; then
35947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
35948 $as_echo "$PYTHON" >&6; }
35950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35951 $as_echo "no" >&6; }
35955 if test "x$PYTHON" = "x"; then
35961 if test "$wxUSE_MENUS" = "yes"; then
35962 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
35964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
35967 if test "$wxUSE_MIMETYPE" = "yes"; then
35968 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
35972 if test "$wxUSE_MINIFRAME" = "yes"; then
35973 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
35977 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
35978 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
35982 if test "$wxUSE_TASKBARICON" = "yes"; then
35983 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
35985 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
35987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
35991 if test "$wxUSE_VALIDATORS" = "yes"; then
35992 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
35994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
35997 if test "$wxUSE_PALETTE" = "yes" ; then
35998 if test "$wxUSE_DFB" = 1; then
35999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36000 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36003 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36008 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36009 LIBS
=" -lunicows $LIBS"
36013 if test "$wxUSE_RICHTEXT" = "yes"; then
36014 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36020 if test "$wxUSE_WEBVIEW" = "yes"; then
36021 USE_WEBVIEW_WEBKIT
=0
36022 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36023 if test "$wxUSE_GTK" = 1; then
36026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36027 $as_echo_n "checking for WEBKIT... " >&6; }
36029 if test -n "$PKG_CONFIG"; then
36030 if test -n "$WEBKIT_CFLAGS"; then
36031 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36033 if test -n "$PKG_CONFIG" && \
36034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\""; } >&5
36035 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
36037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36038 test $ac_status = 0; }; then
36039 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0 >= 1.3.1" 2>/dev/null`
36047 if test -n "$PKG_CONFIG"; then
36048 if test -n "$WEBKIT_LIBS"; then
36049 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36051 if test -n "$PKG_CONFIG" && \
36052 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\""; } >&5
36053 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
36055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36056 test $ac_status = 0; }; then
36057 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0 >= 1.3.1" 2>/dev/null`
36068 if test $pkg_failed = yes; then
36070 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36071 _pkg_short_errors_supported
=yes
36073 _pkg_short_errors_supported
=no
36075 if test $_pkg_short_errors_supported = yes; then
36076 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
36078 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
36080 # Put the nasty error message in config.log where it belongs
36081 echo "$WEBKIT_PKG_ERRORS" >&5
36084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36085 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36087 elif test $pkg_failed = untried
; then
36089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36090 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36093 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36094 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36096 $as_echo "yes" >&6; }
36098 USE_WEBVIEW_WEBKIT
=1
36099 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36100 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36103 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36104 old_CPPFLAGS
="$CPPFLAGS"
36105 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36106 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36107 #include <Carbon/Carbon.h>
36108 #include <WebKit/WebKit.h>
36111 if test "x$ac_cv_header_WebKit_HIWebView_h" = x
""yes; then :
36113 USE_WEBVIEW_WEBKIT
=1
36114 WEBKIT_LINK
="-framework WebKit"
36118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36119 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36124 CPPFLAGS
="$old_CPPFLAGS"
36129 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36130 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36131 wxUSE_WEBVIEW
="yes"
36132 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36136 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36138 elif test "$wxUSE_MSW" = 1; then
36139 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36140 wxUSE_WEBVIEW
="yes"
36141 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36147 if test "$wxUSE_WEBVIEW" = "yes"; then
36149 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
36157 if test "$wxUSE_IMAGE" = "yes" ; then
36158 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36161 if test "$wxUSE_GIF" = "yes" ; then
36162 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36166 if test "$wxUSE_PCX" = "yes" ; then
36167 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36171 if test "$wxUSE_TGA" = "yes" ; then
36172 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36176 if test "$wxUSE_IFF" = "yes" ; then
36177 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36181 if test "$wxUSE_PNM" = "yes" ; then
36182 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36186 if test "$wxUSE_XPM" = "yes" ; then
36187 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36191 if test "$wxUSE_ICO_CUR" = "yes" ; then
36192 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36198 if test "$wxUSE_ABOUTDLG" = "yes"; then
36199 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36203 if test "$wxUSE_CHOICEDLG" = "yes"; then
36204 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36208 if test "$wxUSE_COLOURDLG" = "yes"; then
36209 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36213 if test "$wxUSE_FILEDLG" = "yes"; then
36214 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36218 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36219 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36223 if test "$wxUSE_FONTDLG" = "yes"; then
36224 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36228 if test "$wxUSE_DIRDLG" = "yes"; then
36229 if test "$wxUSE_TREECTRL" != "yes"; then
36230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36231 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36233 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36238 if test "$wxUSE_MSGDLG" = "yes"; then
36239 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36243 if test "$wxUSE_NUMBERDLG" = "yes"; then
36244 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36248 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36249 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36253 if test "$wxUSE_SPLASH" = "yes"; then
36254 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36256 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
36259 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36260 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36264 if test "$wxUSE_TEXTDLG" = "yes"; then
36265 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36269 if test "$wxUSE_WIZARDDLG" = "yes"; then
36270 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
36276 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36277 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36278 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36284 if test "$wxUSE_MSW" = 1 ; then
36286 if test "$wxUSE_DC_CACHEING" = "yes"; then
36287 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36291 if test "$wxUSE_DIB" = "yes"; then
36292 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36296 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36297 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36301 if test "$wxUSE_UXTHEME" = "yes"; then
36302 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36308 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36309 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36313 if test "$USE_WIN32" = 1 ; then
36314 if test "$wxUSE_INICONF" = "yes"; then
36315 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36319 if test "$wxUSE_REGKEY" = "yes"; then
36320 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36326 if test "$wxUSE_MAC" = 1; then
36327 wxUSE_GRAPHICS_CONTEXT
="yes"
36330 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36332 if test "$wxUSE_MSW" = 1; then
36333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36334 $as_echo_n "checking if GDI+ is available... " >&6; }
36335 if test "${wx_cv_lib_gdiplus+set}" = set; then :
36336 $as_echo_n "(cached) " >&6
36340 ac_cpp
='$CXXCPP $CPPFLAGS'
36341 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36342 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36343 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36346 /* end confdefs.h. */
36347 #include <windows.h>
36348 #include <gdiplus.h>
36353 using namespace Gdiplus;
36359 if ac_fn_cxx_try_compile
"$LINENO"; then :
36360 wx_cv_lib_gdiplus
=yes
36362 wx_cv_lib_gdiplus
=no
36365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36367 ac_cpp
='$CPP $CPPFLAGS'
36368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36376 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36377 if test "$wx_cv_lib_gdiplus" = "yes"; then
36380 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36384 $as_echo_n "checking for CAIRO... " >&6; }
36386 if test -n "$PKG_CONFIG"; then
36387 if test -n "$CAIRO_CFLAGS"; then
36388 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
36390 if test -n "$PKG_CONFIG" && \
36391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36392 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36395 test $ac_status = 0; }; then
36396 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36404 if test -n "$PKG_CONFIG"; then
36405 if test -n "$CAIRO_LIBS"; then
36406 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
36408 if test -n "$PKG_CONFIG" && \
36409 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36410 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36413 test $ac_status = 0; }; then
36414 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36425 if test $pkg_failed = yes; then
36427 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36428 _pkg_short_errors_supported
=yes
36430 _pkg_short_errors_supported
=no
36432 if test $_pkg_short_errors_supported = yes; then
36433 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36435 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36437 # Put the nasty error message in config.log where it belongs
36438 echo "$CAIRO_PKG_ERRORS" >&5
36440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36441 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36443 elif test $pkg_failed = untried
; then
36444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36445 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36448 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
36449 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
36450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36451 $as_echo "yes" >&6; }
36454 if test "$wx_has_graphics" = 1; then
36456 LIBS
="$LIBS $CAIRO_LIBS"
36457 for ac_func
in cairo_push_group
36459 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36460 if test "x$ac_cv_func_cairo_push_group" = x
""yes; then :
36461 cat >>confdefs.h
<<_ACEOF
36462 #define HAVE_CAIRO_PUSH_GROUP 1
36469 if test "$ac_cv_func_cairo_push_group" = "no"; then
36471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36472 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36474 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36477 if test "$wxUSE_GTK" != 1; then
36478 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
36479 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
36487 if test "$wx_has_graphics" = 1; then
36488 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36492 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36499 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36502 if test "$wxUSE_GTK" = 1; then
36503 wxUSE_GSTREAMER
="no"
36505 GST_VERSION_MAJOR
=0
36506 GST_VERSION_MINOR
=10
36507 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
36509 if test "$wxUSE_GSTREAMER8" = "no"; then
36512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36513 $as_echo_n "checking for GST... " >&6; }
36515 if test -n "$PKG_CONFIG"; then
36516 if test -n "$GST_CFLAGS"; then
36517 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
36519 if test -n "$PKG_CONFIG" && \
36520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36521 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36524 test $ac_status = 0; }; then
36525 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36533 if test -n "$PKG_CONFIG"; then
36534 if test -n "$GST_LIBS"; then
36535 pkg_cv_GST_LIBS
="$GST_LIBS"
36537 if test -n "$PKG_CONFIG" && \
36538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36539 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36542 test $ac_status = 0; }; then
36543 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36554 if test $pkg_failed = yes; then
36556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36557 _pkg_short_errors_supported
=yes
36559 _pkg_short_errors_supported
=no
36561 if test $_pkg_short_errors_supported = yes; then
36562 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36564 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36566 # Put the nasty error message in config.log where it belongs
36567 echo "$GST_PKG_ERRORS" >&5
36570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36571 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36572 GST_VERSION_MINOR
=8
36575 elif test $pkg_failed = untried
; then
36577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36578 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36579 GST_VERSION_MINOR
=8
36583 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
36584 GST_LIBS
=$pkg_cv_GST_LIBS
36585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36586 $as_echo "yes" >&6; }
36588 wxUSE_GSTREAMER
="yes"
36589 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36593 GST_VERSION_MINOR
=8
36596 if test $GST_VERSION_MINOR = "8"; then
36597 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
36600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36601 $as_echo_n "checking for GST... " >&6; }
36603 if test -n "$PKG_CONFIG"; then
36604 if test -n "$GST_CFLAGS"; then
36605 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
36607 if test -n "$PKG_CONFIG" && \
36608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36609 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36612 test $ac_status = 0; }; then
36613 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36621 if test -n "$PKG_CONFIG"; then
36622 if test -n "$GST_LIBS"; then
36623 pkg_cv_GST_LIBS
="$GST_LIBS"
36625 if test -n "$PKG_CONFIG" && \
36626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36627 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36630 test $ac_status = 0; }; then
36631 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36642 if test $pkg_failed = yes; then
36644 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36645 _pkg_short_errors_supported
=yes
36647 _pkg_short_errors_supported
=no
36649 if test $_pkg_short_errors_supported = yes; then
36650 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36652 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36654 # Put the nasty error message in config.log where it belongs
36655 echo "$GST_PKG_ERRORS" >&5
36658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36659 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36661 elif test $pkg_failed = untried
; then
36663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36664 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36667 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
36668 GST_LIBS
=$pkg_cv_GST_LIBS
36669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36670 $as_echo "yes" >&6; }
36671 wxUSE_GSTREAMER
="yes"
36676 if test "$wxUSE_GSTREAMER" = "yes"; then
36677 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
36678 EXTRALIBS_MEDIA
="$GST_LIBS"
36680 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
36687 if test $USE_MEDIA = 1; then
36688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
36689 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
36692 if test "$wxUSE_MEDIACTRL" = "yes"; then
36693 as_fn_error $?
"GStreamer not available" "$LINENO" 5
36695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
36696 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
36702 if test "$cross_compiling" != "no"; then
36705 OSINFO
=`uname -s -r -m`
36706 OSINFO
="\"$OSINFO\""
36709 cat >>confdefs.h
<<_ACEOF
36710 #define WXWIN_OS_DESCRIPTION $OSINFO
36715 if test "x$prefix" != "xNONE"; then
36718 wxPREFIX
=$ac_default_prefix
36721 cat >>confdefs.h
<<_ACEOF
36722 #define wxINSTALL_PREFIX "$wxPREFIX"
36728 STD_BASE_LIBS
="base"
36730 BUILT_WX_LIBS
="base"
36731 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
36733 if test "$wxUSE_SOCKETS" = "yes" ; then
36734 STD_BASE_LIBS
="net $STD_BASE_LIBS"
36735 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
36737 if test "$wxUSE_XML" = "yes" ; then
36738 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
36739 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
36742 if test "$wxUSE_GUI" = "yes"; then
36743 STD_GUI_LIBS
="adv core"
36744 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
36746 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
36747 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
36748 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
36750 if test "$wxUSE_HTML" = "yes" ; then
36751 STD_GUI_LIBS
="html $STD_GUI_LIBS"
36752 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
36754 if test "$wxUSE_MEDIACTRL" = "yes" ; then
36755 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
36757 if test "$wxUSE_OPENGL" = "yes" ; then
36758 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
36760 if test "$wxUSE_AUI" = "yes" ; then
36761 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
36763 if test "$wxUSE_PROPGRID" = "yes" ; then
36764 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
36766 if test "$wxUSE_RIBBON" = "yes" ; then
36767 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
36769 if test "$wxUSE_RICHTEXT" = "yes" ; then
36770 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
36772 if test "$wxUSE_STC" = "yes" ; then
36773 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
36775 if test "$wxUSE_WEBVIEW" = "yes" ; then
36776 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
36777 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
36779 if test "$wxUSE_XRC" = "yes" ; then
36780 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
36781 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
36792 if test "$wxUSE_MAC" = 1 ; then
36793 if test "$USE_DARWIN" = 1; then
36794 if test "$wxUSE_OSX_IPHONE" = 1; then
36795 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
36797 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
36800 if test "$cross_compiling" != "no"; then
36801 wx_cv_target_x86_64
=no
36803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
36804 $as_echo_n "checking if we target only x86_64... " >&6; }
36805 if test "${wx_cv_target_x86_64+set}" = set; then :
36806 $as_echo_n "(cached) " >&6
36808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36809 /* end confdefs.h. */
36810 int main() { return 0; }
36812 if ac_fn_c_try_link
"$LINENO"; then :
36813 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
36814 wx_cv_target_x86_64
=no
36816 wx_cv_target_x86_64
=yes
36820 rm -f core conftest.err conftest.
$ac_objext \
36821 conftest
$ac_exeext conftest.
$ac_ext
36824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
36825 $as_echo "$wx_cv_target_x86_64" >&6; }
36828 if test "$wx_cv_target_x86_64" != "yes"; then
36829 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
36834 if test "$wxUSE_OLD_COCOA" = 1 ; then
36835 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
36836 if test "$wxUSE_MEDIACTRL" = "yes"; then
36837 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
36840 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
36841 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
36844 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
36845 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
36847 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
36849 if test "$wxUSE_GUI" = "yes"; then
36852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
36853 erase event exec font image minimal render \
36854 shaped svg taborder vscroll widgets wrapsizer"
36856 if test "$wxUSE_MONOLITHIC" != "yes"; then
36857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
36859 if test "$TOOLKIT" = "MSW"; then
36860 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
36861 if test "$wxUSE_UNIVERSAL" != "yes"; then
36862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
36865 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
36866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
36869 SAMPLES_SUBDIRS
="console"
36870 if test "$wxUSE_SOCKETS" = "yes" ; then
36871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36873 if test "$wxUSE_IPC" = "yes" ; then
36874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
36879 if test "x$INTELCC" = "xyes" ; then
36880 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
36881 elif test "$GCC" = yes ; then
36882 CWARNINGS
="-Wall -Wundef"
36885 if test "x$INTELCXX" = "xyes" ; then
36886 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
36887 elif test "$GXX" = yes ; then
36888 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
36889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
36890 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
36891 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then :
36892 $as_echo_n "(cached) " >&6
36894 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
36897 ac_cpp
='$CXXCPP $CPPFLAGS'
36898 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36899 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36900 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36902 ac_save_CXXFLAGS
="$CXXFLAGS"
36903 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
36904 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
36905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36906 /* end confdefs.h. */
36916 if ac_fn_cxx_try_compile
"$LINENO"; then :
36917 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
36919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36921 CXXFLAGS
="$ac_save_CXXFLAGS"
36923 ac_cpp
='$CPP $CPPFLAGS'
36924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
36931 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
36932 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
36936 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
36937 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
36938 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
36940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36941 test $ac_status = 0; }
36942 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
36943 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
36945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36946 test $ac_status = 0; }
36947 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
36953 if test "$wxUSE_MAC" = 1 ; then
36954 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
36959 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
36960 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
36963 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
36964 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
36965 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
36968 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
36969 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
36970 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
36971 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
36972 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
36974 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
36977 if test "x$MWCC" = "xyes"; then
36979 CC
="$CC -cwd source -I-"
36980 CXX
="$CXX -cwd source -I-"
36985 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
36986 EXTRALIBS_XML
="$EXPAT_LINK"
36987 EXTRALIBS_HTML
="$MSPACK_LINK"
36988 EXTRALIBS_MEDIA
="$GST_LIBS"
36989 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
36990 if test "$wxUSE_GUI" = "yes"; then
36991 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
36993 if test "$wxUSE_OPENGL" = "yes"; then
36994 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
36997 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
36999 WXCONFIG_LIBS
="$LIBS"
37001 if test "$wxUSE_REGEX" = "builtin" ; then
37002 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37004 if test "$wxUSE_EXPAT" = "builtin" ; then
37005 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37007 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37008 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37010 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37011 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37013 if test "$wxUSE_LIBPNG" = "builtin" ; then
37014 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37016 if test "$wxUSE_ZLIB" = "builtin" ; then
37017 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37020 for i
in $wxconfig_3rdparty ; do
37021 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37025 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37028 case "$wxUNIV_THEMES" in
37030 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37035 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37036 cat >>confdefs.h
<<_ACEOF
37037 #define wxUSE_THEME_$t 1
37053 if test $wxUSE_MONOLITHIC = "yes" ; then
37059 if test $wxUSE_PLUGINS = "yes" ; then
37065 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37071 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37103 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37116 TOOLKIT_DESC
="GTK+"
37117 if test "$WXGTK2" = 1; then
37118 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
37119 if test "$wxUSE_GTKPRINT" = "yes" ; then
37120 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
37122 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37123 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
37125 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37126 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
37128 if test "$wxUSE_LIBHILDON" = "yes"; then
37129 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37131 if test "$wxUSE_LIBHILDON2" = "yes"; then
37132 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37135 if test "$TOOLKIT_EXTRA" != ""; then
37136 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37142 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
37146 TOOLKIT_DESC
="base only"
37150 if test "$wxUSE_WINE" = "yes"; then
37151 BAKEFILE_FORCE_PLATFORM
=win32
37154 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37157 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37158 if test "${wx_cv_gcc_pch_bug+set}" = set; then :
37159 $as_echo_n "(cached) " >&6
37162 echo '#include <stdio.h>
37163 const wchar_t test_var[] = L"awidetest";' > conftest.h
37165 echo '#include "conftest.h"
37168 printf("%ls", test_var);
37172 wx_cv_gcc_pch_bug
="pch not supported"
37174 if $CXX conftest.h
>/dev
/null
2>&1
37178 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
37180 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
37181 grep awidetest
>/dev
/null
37183 wx_cv_gcc_pch_bug
=no
37185 wx_cv_gcc_pch_bug
=yes
37190 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
37193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37194 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37196 if test "$wx_cv_gcc_pch_bug" = yes; then
37201 # Find a good install program. We prefer a C program (faster),
37202 # so one script is as good as another. But avoid the broken or
37203 # incompatible versions:
37204 # SysV /etc/install, /usr/sbin/install
37205 # SunOS /usr/etc/install
37206 # IRIX /sbin/install
37208 # AmigaOS /C/install, which installs bootblocks on floppy discs
37209 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37210 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37211 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37212 # OS/2's system install, which has a completely different semantic
37213 # ./install, which can be erroneously created by make from ./install.sh.
37214 # Reject install programs that cannot install multiple files.
37215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37216 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37217 if test -z "$INSTALL"; then
37218 if test "${ac_cv_path_install+set}" = set; then :
37219 $as_echo_n "(cached) " >&6
37221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37222 for as_dir
in $PATH
37225 test -z "$as_dir" && as_dir
=.
37226 # Account for people who put trailing slashes in PATH elements.
37227 case $as_dir/ in #((
37228 .
/ | .
// | /[cC
]/* | \
37229 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37230 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
37233 # OSF1 and SCO ODT 3.0 have their own names for install.
37234 # Don't use installbsd from OSF since it installs stuff as root
37236 for ac_prog
in ginstall scoinst
install; do
37237 for ac_exec_ext
in '' $ac_executable_extensions; do
37238 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
37239 if test $ac_prog = install &&
37240 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37241 # AIX install. It has an incompatible calling convention.
37243 elif test $ac_prog = install &&
37244 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37245 # program-specific install script used by HP pwplus--don't use.
37248 rm -rf conftest.one conftest.two conftest.dir
37249 echo one
> conftest.one
37250 echo two
> conftest.two
37252 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
37253 test -s conftest.one
&& test -s conftest.two
&&
37254 test -s conftest.dir
/conftest.one
&&
37255 test -s conftest.dir
/conftest.two
37257 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37270 rm -rf conftest.one conftest.two conftest.dir
37273 if test "${ac_cv_path_install+set}" = set; then
37274 INSTALL
=$ac_cv_path_install
37276 # As a last resort, use the slow shell script. Don't cache a
37277 # value for INSTALL within a source directory, because that will
37278 # break other packages using the cache if that directory is
37279 # removed, or if the value is a relative name.
37280 INSTALL
=$ac_install_sh
37283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37284 $as_echo "$INSTALL" >&6; }
37286 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37287 # It thinks the first close brace ends the variable substitution.
37288 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37290 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37292 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37300 if test "x$BAKEFILE_HOST" = "x"; then
37301 if test "x${host}" = "x" ; then
37302 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37305 BAKEFILE_HOST
="${host}"
37308 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37310 if test -n "$ac_tool_prefix"; then
37311 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37312 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37314 $as_echo_n "checking for $ac_word... " >&6; }
37315 if test "${ac_cv_prog_RANLIB+set}" = set; then :
37316 $as_echo_n "(cached) " >&6
37318 if test -n "$RANLIB"; then
37319 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37322 for as_dir
in $PATH
37325 test -z "$as_dir" && as_dir
=.
37326 for ac_exec_ext
in '' $ac_executable_extensions; do
37327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37328 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37338 RANLIB
=$ac_cv_prog_RANLIB
37339 if test -n "$RANLIB"; then
37340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37341 $as_echo "$RANLIB" >&6; }
37343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37344 $as_echo "no" >&6; }
37349 if test -z "$ac_cv_prog_RANLIB"; then
37350 ac_ct_RANLIB
=$RANLIB
37351 # Extract the first word of "ranlib", so it can be a program name with args.
37352 set dummy ranlib
; ac_word
=$2
37353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37354 $as_echo_n "checking for $ac_word... " >&6; }
37355 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
37356 $as_echo_n "(cached) " >&6
37358 if test -n "$ac_ct_RANLIB"; then
37359 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37362 for as_dir
in $PATH
37365 test -z "$as_dir" && as_dir
=.
37366 for ac_exec_ext
in '' $ac_executable_extensions; do
37367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37368 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37378 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37379 if test -n "$ac_ct_RANLIB"; then
37380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37381 $as_echo "$ac_ct_RANLIB" >&6; }
37383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37384 $as_echo "no" >&6; }
37387 if test "x$ac_ct_RANLIB" = x
; then
37390 case $cross_compiling:$ac_tool_warned in
37392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37394 ac_tool_warned
=yes ;;
37396 RANLIB
=$ac_ct_RANLIB
37399 RANLIB
="$ac_cv_prog_RANLIB"
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37404 $as_echo_n "checking whether ln -s works... " >&6; }
37406 if test "$LN_S" = "ln -s"; then
37407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37408 $as_echo "yes" >&6; }
37410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37411 $as_echo "no, using $LN_S" >&6; }
37415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37416 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37418 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37419 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
37420 $as_echo_n "(cached) " >&6
37422 cat >conftest.
make <<\_ACEOF
37425 @
echo '@@@%%%=$(MAKE)=@@@%%%'
37427 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37428 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37429 *@@@
%%%=?
*=@@@
%%%*)
37430 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
37432 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
37434 rm -f conftest.
make
37436 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
37437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37438 $as_echo "yes" >&6; }
37441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37442 $as_echo "no" >&6; }
37443 SET_MAKE
="MAKE=${MAKE-make}"
37448 if test "x$SUNCXX" = "xyes"; then
37450 AROPTIONS
="-xar -o"
37452 elif test "x$SGICC" = "xyes"; then
37457 if test -n "$ac_tool_prefix"; then
37458 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37459 set dummy
${ac_tool_prefix}ar; ac_word
=$2
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37461 $as_echo_n "checking for $ac_word... " >&6; }
37462 if test "${ac_cv_prog_AR+set}" = set; then :
37463 $as_echo_n "(cached) " >&6
37465 if test -n "$AR"; then
37466 ac_cv_prog_AR
="$AR" # Let the user override the test.
37468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37469 for as_dir
in $PATH
37472 test -z "$as_dir" && as_dir
=.
37473 for ac_exec_ext
in '' $ac_executable_extensions; do
37474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37475 ac_cv_prog_AR
="${ac_tool_prefix}ar"
37476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37486 if test -n "$AR"; then
37487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37488 $as_echo "$AR" >&6; }
37490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37491 $as_echo "no" >&6; }
37496 if test -z "$ac_cv_prog_AR"; then
37498 # Extract the first word of "ar", so it can be a program name with args.
37499 set dummy
ar; ac_word
=$2
37500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37501 $as_echo_n "checking for $ac_word... " >&6; }
37502 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
37503 $as_echo_n "(cached) " >&6
37505 if test -n "$ac_ct_AR"; then
37506 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
37508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37509 for as_dir
in $PATH
37512 test -z "$as_dir" && as_dir
=.
37513 for ac_exec_ext
in '' $ac_executable_extensions; do
37514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37515 ac_cv_prog_ac_ct_AR
="ar"
37516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37525 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
37526 if test -n "$ac_ct_AR"; then
37527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37528 $as_echo "$ac_ct_AR" >&6; }
37530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37531 $as_echo "no" >&6; }
37534 if test "x$ac_ct_AR" = x
; then
37537 case $cross_compiling:$ac_tool_warned in
37539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37541 ac_tool_warned
=yes ;;
37546 AR
="$ac_cv_prog_AR"
37553 if test -n "$ac_tool_prefix"; then
37554 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37555 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
37556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37557 $as_echo_n "checking for $ac_word... " >&6; }
37558 if test "${ac_cv_prog_STRIP+set}" = set; then :
37559 $as_echo_n "(cached) " >&6
37561 if test -n "$STRIP"; then
37562 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
37564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37565 for as_dir
in $PATH
37568 test -z "$as_dir" && as_dir
=.
37569 for ac_exec_ext
in '' $ac_executable_extensions; do
37570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37571 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
37572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37581 STRIP
=$ac_cv_prog_STRIP
37582 if test -n "$STRIP"; then
37583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37584 $as_echo "$STRIP" >&6; }
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37587 $as_echo "no" >&6; }
37592 if test -z "$ac_cv_prog_STRIP"; then
37594 # Extract the first word of "strip", so it can be a program name with args.
37595 set dummy strip
; ac_word
=$2
37596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37597 $as_echo_n "checking for $ac_word... " >&6; }
37598 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
37599 $as_echo_n "(cached) " >&6
37601 if test -n "$ac_ct_STRIP"; then
37602 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
37604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37605 for as_dir
in $PATH
37608 test -z "$as_dir" && as_dir
=.
37609 for ac_exec_ext
in '' $ac_executable_extensions; do
37610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37611 ac_cv_prog_ac_ct_STRIP
="strip"
37612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37621 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
37622 if test -n "$ac_ct_STRIP"; then
37623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37624 $as_echo "$ac_ct_STRIP" >&6; }
37626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37627 $as_echo "no" >&6; }
37630 if test "x$ac_ct_STRIP" = x
; then
37633 case $cross_compiling:$ac_tool_warned in
37635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37637 ac_tool_warned
=yes ;;
37642 STRIP
="$ac_cv_prog_STRIP"
37645 if test -n "$ac_tool_prefix"; then
37646 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37647 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37649 $as_echo_n "checking for $ac_word... " >&6; }
37650 if test "${ac_cv_prog_NM+set}" = set; then :
37651 $as_echo_n "(cached) " >&6
37653 if test -n "$NM"; then
37654 ac_cv_prog_NM
="$NM" # Let the user override the test.
37656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37657 for as_dir
in $PATH
37660 test -z "$as_dir" && as_dir
=.
37661 for ac_exec_ext
in '' $ac_executable_extensions; do
37662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37663 ac_cv_prog_NM
="${ac_tool_prefix}nm"
37664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37674 if test -n "$NM"; then
37675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
37676 $as_echo "$NM" >&6; }
37678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37679 $as_echo "no" >&6; }
37684 if test -z "$ac_cv_prog_NM"; then
37686 # Extract the first word of "nm", so it can be a program name with args.
37687 set dummy nm
; ac_word
=$2
37688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37689 $as_echo_n "checking for $ac_word... " >&6; }
37690 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
37691 $as_echo_n "(cached) " >&6
37693 if test -n "$ac_ct_NM"; then
37694 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
37696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37697 for as_dir
in $PATH
37700 test -z "$as_dir" && as_dir
=.
37701 for ac_exec_ext
in '' $ac_executable_extensions; do
37702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37703 ac_cv_prog_ac_ct_NM
="nm"
37704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37713 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
37714 if test -n "$ac_ct_NM"; then
37715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
37716 $as_echo "$ac_ct_NM" >&6; }
37718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37719 $as_echo "no" >&6; }
37722 if test "x$ac_ct_NM" = x
; then
37725 case $cross_compiling:$ac_tool_warned in
37727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37729 ac_tool_warned
=yes ;;
37734 NM
="$ac_cv_prog_NM"
37738 INSTALL_DIR
="mkdir -p"
37742 case ${BAKEFILE_HOST} in
37743 *-*-cygwin* | *-*-mingw32* )
37744 LDFLAGS_GUI
="-mwindows"
37750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
37751 $as_echo_n "checking if make is GNU make... " >&6; }
37752 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then :
37753 $as_echo_n "(cached) " >&6
37756 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
37757 egrep -s GNU
> /dev
/null
); then
37758 bakefile_cv_prog_makeisgnu
="yes"
37760 bakefile_cv_prog_makeisgnu
="no"
37764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
37765 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
37767 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
37784 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
37785 case "${BAKEFILE_HOST}" in
37792 *-pc-os2_emx | *-pc-os2-emx )
37802 powerpc
-apple-macos* )
37811 case "$BAKEFILE_FORCE_PLATFORM" in
37832 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
37847 # Check whether --enable-omf was given.
37848 if test "${enable_omf+set}" = set; then :
37849 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
37853 case "${BAKEFILE_HOST}" in
37855 if test "x$GCC" = "xyes"; then
37856 CFLAGS
="$CFLAGS -fno-common"
37857 CXXFLAGS
="$CXXFLAGS -fno-common"
37859 if test "x$XLCC" = "xyes"; then
37860 CFLAGS
="$CFLAGS -qnocommon"
37861 CXXFLAGS
="$CXXFLAGS -qnocommon"
37865 *-pc-os2_emx | *-pc-os2-emx )
37866 if test "x$bk_os2_use_omf" = "xyes" ; then
37869 LDFLAGS
="-Zomf $LDFLAGS"
37870 CFLAGS
="-Zomf $CFLAGS"
37871 CXXFLAGS
="-Zomf $CXXFLAGS"
37879 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
37885 SO_SUFFIX_MODULE
="so"
37890 DLLPREFIX_MODULE
=""
37894 case "${BAKEFILE_HOST}" in
37899 SO_SUFFIX_MODULE
="sl"
37903 SO_SUFFIX_MODULE
="a"
37907 SO_SUFFIX_MODULE
="dll"
37908 DLLIMP_SUFFIX
="dll.a"
37915 SO_SUFFIX_MODULE
="dll"
37916 DLLIMP_SUFFIX
="dll.a"
37926 *-pc-os2_emx | *-pc-os2-emx )
37928 SO_SUFFIX_MODULE
="dll"
37929 DLLIMP_SUFFIX
=$OS2_LIBEXT
37933 LIBEXT
=".$OS2_LIBEXT"
37938 SO_SUFFIX_MODULE
="bundle"
37942 if test "x$DLLIMP_SUFFIX" = "x" ; then
37943 DLLIMP_SUFFIX
="$SO_SUFFIX"
37958 if test "x$GCC" = "xyes"; then
37962 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
37963 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
37966 case "${BAKEFILE_HOST}" in
37968 if test "x$GCC" != "xyes"; then
37969 LDFLAGS
="$LDFLAGS -L/usr/lib"
37971 SHARED_LD_CC
="${CC} -b -o"
37972 SHARED_LD_CXX
="${CXX} -b -o"
37978 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
37980 elif test "x$SUNCXX" = "xyes"; then
37981 SHARED_LD_CC
="${CC} -G -o"
37982 SHARED_LD_CXX
="${CXX} -G -o"
37988 if test "x$SUNCXX" = xyes
; then
37989 SHARED_LD_CC
="${CC} -G -o"
37990 SHARED_LD_CXX
="${CXX} -G -o"
37998 cat <<EOF >shared-ld-sh
38000 #-----------------------------------------------------------------------------
38001 #-- Name: distrib/mac/shared-ld-sh
38002 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38003 #-- Author: Gilles Depeyrot
38004 #-- Copyright: (c) 2002 Gilles Depeyrot
38005 #-- Licence: any use permitted
38006 #-----------------------------------------------------------------------------
38011 linking_flag="-dynamiclib"
38012 ldargs="-r -keep_private_externs -nostdlib"
38014 if test "x${D}CXX" = "x"; then
38018 while test ${D}# -gt 0; do
38025 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38026 # collect these options and values
38027 args="${D}{args} ${D}1 ${D}2"
38032 # collect these options and values
38033 ldargs="${D}{ldargs} ${D}1 ${D}2"
38038 # collect these load args
38039 ldargs="${D}{ldargs} ${D}1"
38042 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38043 # collect these options
38044 args="${D}{args} ${D}1"
38047 -dynamiclib|-bundle)
38048 linking_flag="${D}1"
38052 echo "shared-ld: unhandled option '${D}1'"
38056 *.o | *.a | *.dylib)
38057 # collect object files
38058 objects="${D}{objects} ${D}1"
38062 echo "shared-ld: unhandled argument '${D}1'"
38073 # Link one module containing all the others
38075 if test ${D}{verbose} = 1; then
38076 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38078 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38082 # Link the shared library from the single module created, but only if the
38083 # previous command didn't fail:
38085 if test ${D}{status} = 0; then
38086 if test ${D}{verbose} = 1; then
38087 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38089 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38094 # Remove intermediate module
38096 rm -f master.${D}${D}.o
38101 chmod +x shared
-ld-sh
38103 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38104 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38108 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38109 if test "${bakefile_cv_gcc31+set}" = set; then :
38110 $as_echo_n "(cached) " >&6
38113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38114 /* end confdefs.h. */
38120 #if (__GNUC__ < 3) || \
38121 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38129 if ac_fn_c_try_compile
"$LINENO"; then :
38131 bakefile_cv_gcc31
=yes
38135 bakefile_cv_gcc31
=no
38139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38143 $as_echo "$bakefile_cv_gcc31" >&6; }
38144 if test "$bakefile_cv_gcc31" = "no"; then
38145 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38146 SHARED_LD_CXX
="$SHARED_LD_CC"
38148 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38149 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38152 if test "x$GCC" == "xyes"; then
38153 PIC_FLAG
="-dynamic -fPIC"
38155 if test "x$XLCC" = "xyes"; then
38156 PIC_FLAG
="-dynamic -DPIC"
38161 if test "x$GCC" = "xyes"; then
38164 case "${BAKEFILE_HOST}" in
38166 LD_EXPFULL
="-Wl,-bexpfull"
38170 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
38171 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
38173 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38174 set dummy makeC
++SharedLib
; ac_word
=$2
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38176 $as_echo_n "checking for $ac_word... " >&6; }
38177 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then :
38178 $as_echo_n "(cached) " >&6
38180 if test -n "$AIX_CXX_LD"; then
38181 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38184 for as_dir
in $PATH
38187 test -z "$as_dir" && as_dir
=.
38188 for ac_exec_ext
in '' $ac_executable_extensions; do
38189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38190 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38198 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38201 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38202 if test -n "$AIX_CXX_LD"; then
38203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38204 $as_echo "$AIX_CXX_LD" >&6; }
38206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38207 $as_echo "no" >&6; }
38211 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38212 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38217 SHARED_LD_CC
="${LD} -nostart -o"
38218 SHARED_LD_CXX
="${LD} -nostart -o"
38222 if test "x$GCC" != "xyes"; then
38227 *-*-cygwin* | *-*-mingw32* )
38229 SHARED_LD_CC
="\$(CC) -shared -o"
38230 SHARED_LD_CXX
="\$(CXX) -shared -o"
38234 *-pc-os2_emx | *-pc-os2-emx )
38235 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38236 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38240 cat <<EOF >dllar.sh
38243 # dllar - a tool to build both a .dll and an .a file
38244 # from a set of object (.o) files for EMX/OS2.
38246 # Written by Andrew Zabolotny, bit@freya.etu.ru
38247 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38249 # This script will accept a set of files on the command line.
38250 # All the public symbols from the .o files will be exported into
38251 # a .DEF file, then linker will be run (through gcc) against them to
38252 # build a shared library consisting of all given .o files. All libraries
38253 # (.a) will be first decompressed into component .o files then act as
38254 # described above. You can optionally give a description (-d "description")
38255 # which will be put into .DLL. To see the list of accepted options (as well
38256 # as command-line format) simply run this program without options. The .DLL
38257 # is built to be imported by name (there is no guarantee that new versions
38258 # of the library you build will have same ordinals for same symbols).
38260 # dllar is free software; you can redistribute it and/or modify
38261 # it under the terms of the GNU General Public License as published by
38262 # the Free Software Foundation; either version 2, or (at your option)
38263 # any later version.
38265 # dllar is distributed in the hope that it will be useful,
38266 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38267 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38268 # GNU General Public License for more details.
38270 # You should have received a copy of the GNU General Public License
38271 # along with dllar; see the file COPYING. If not, write to the Free
38272 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38275 # To successfuly run this program you will need:
38276 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38277 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38279 # (used to build the .dll)
38281 # (used to create .def file from .o files)
38283 # (used to create .a file from .def file)
38284 # - GNU text utilites (cat, sort, uniq)
38285 # used to process emxexp output
38286 # - GNU file utilities (mv, rm)
38288 # - lxlite (optional, see flag below)
38289 # (used for general .dll cleanup)
38296 # basnam, variant of basename, which does _not_ remove the path, _iff_
38297 # second argument (suffix to remove) is given
38301 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38304 echo ${D}1 | sed 's/'${D}2'${D}//'
38307 echo "error in basnam ${D}*"
38313 # Cleanup temporary files and output
38316 for i in ${D}inputFiles ; do
38319 rm -rf \`basnam ${D}i !\`
38326 # Kill result in case of failure as there is just to many stupid make/nmake
38327 # things out there which doesn't do this.
38328 if [ ${D}# -eq 0 ]; then
38329 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38333 # Print usage and exit script with rc=1.
38335 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38336 echo ' [-name-mangler-script script.sh]'
38337 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38338 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38339 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38340 echo ' [*.o] [*.a]'
38341 echo '*> "output_file" should have no extension.'
38342 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38343 echo ' The import library name is derived from this and is set to "name".a,'
38344 echo ' unless overridden by -import'
38345 echo '*> "importlib_name" should have no extension.'
38346 echo ' If it has the .o, or .a extension, it is automatically removed.'
38347 echo ' This name is used as the import library name and may be longer and'
38348 echo ' more descriptive than the DLL name which has to follow the old '
38349 echo ' 8.3 convention of FAT.'
38350 echo '*> "script.sh may be given to override the output_file name by a'
38351 echo ' different name. It is mainly useful if the regular make process'
38352 echo ' of some package does not take into account OS/2 restriction of'
38353 echo ' DLL name lengths. It takes the importlib name as input and is'
38354 echo ' supposed to procude a shorter name as output. The script should'
38355 echo ' expect to get importlib_name without extension and should produce'
38356 echo ' a (max.) 8 letter name without extension.'
38357 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38358 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38359 echo ' These flags will be put at the start of GCC command line.'
38360 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38361 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38362 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38363 echo ' If the last character of a symbol is "*", all symbols beginning'
38364 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38365 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38366 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38367 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38368 echo ' C runtime DLLs.'
38369 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38370 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38371 echo ' unchanged to GCC at the end of command line.'
38372 echo '*> If you create a DLL from a library and you do not specify -o,'
38373 echo ' the basename for DLL and import library will be set to library name,'
38374 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38375 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38376 echo ' library will be renamed into gcc_s.a.'
38379 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38380 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38385 # Execute a command.
38386 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38387 # @Uses Whatever CleanUp() uses.
38393 if [ ${D}rcCmd -ne 0 ]; then
38394 echo "command failed, exit code="${D}rcCmd
38409 CFLAGS="-s -Zcrtdll"
38411 EXPORT_BY_ORDINALS=0
38416 case ${D}curDirS in
38420 curDirS=${D}{curDirS}"/"
38423 # Parse commandline
38426 while [ ${D}1 ]; do
38429 EXPORT_BY_ORDINALS=1;
38439 -name-mangler-script)
38460 exclude_symbols=${D}{exclude_symbols}${D}1" "
38464 library_flags=${D}{library_flags}${D}1" "
38483 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38486 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38487 if [ ${D}omfLinking -eq 1 ]; then
38488 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38490 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38495 if [ ${D}libsToLink -ne 0 ]; then
38496 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38498 for file in ${D}1 ; do
38499 if [ -f ${D}file ]; then
38500 inputFiles="${D}{inputFiles} ${D}file"
38504 if [ ${D}found -eq 0 ]; then
38505 echo "ERROR: No file(s) found: "${D}1
38512 done # iterate cmdline words
38515 if [ -z "${D}inputFiles" ]; then
38516 echo "dllar: no input files"
38520 # Now extract all .o files from .a files
38522 for file in ${D}inputFiles ; do
38533 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38538 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38540 if [ ${D}? -ne 0 ]; then
38541 echo "Failed to create subdirectory ./${D}dirname"
38545 # Append '!' to indicate archive
38546 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38547 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38550 for subfile in ${D}dirname/*.o* ; do
38551 if [ -f ${D}subfile ]; then
38553 if [ -s ${D}subfile ]; then
38554 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38555 newInputFiles="${D}newInputFiles ${D}subfile"
38559 if [ ${D}found -eq 0 ]; then
38560 echo "WARNING: there are no files in archive \\'${D}file\\'"
38564 newInputFiles="${D}{newInputFiles} ${D}file"
38568 inputFiles="${D}newInputFiles"
38570 # Output filename(s).
38572 if [ -z ${D}outFile ]; then
38574 set outFile ${D}inputFiles; outFile=${D}2
38577 # If it is an archive, remove the '!' and the '_%' suffixes
38578 case ${D}outFile in
38580 outFile=\`basnam ${D}outFile _%!\`
38585 case ${D}outFile in
38587 outFile=\`basnam ${D}outFile .dll\`
38590 outFile=\`basnam ${D}outFile .DLL\`
38593 outFile=\`basnam ${D}outFile .o\`
38596 outFile=\`basnam ${D}outFile .obj\`
38599 outFile=\`basnam ${D}outFile .a\`
38602 outFile=\`basnam ${D}outFile .lib\`
38607 case ${D}outimpFile in
38609 outimpFile=\`basnam ${D}outimpFile .a\`
38612 outimpFile=\`basnam ${D}outimpFile .lib\`
38617 if [ -z ${D}outimpFile ]; then
38618 outimpFile=${D}outFile
38620 defFile="${D}{outFile}.def"
38621 arcFile="${D}{outimpFile}.a"
38622 arcFile2="${D}{outimpFile}.lib"
38624 #create ${D}dllFile as something matching 8.3 restrictions,
38625 if [ -z ${D}renameScript ] ; then
38626 dllFile="${D}outFile"
38628 dllFile=\`${D}renameScript ${D}outimpFile\`
38631 if [ ${D}do_backup -ne 0 ] ; then
38632 if [ -f ${D}arcFile ] ; then
38633 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38635 if [ -f ${D}arcFile2 ] ; then
38636 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38640 # Extract public symbols from all the object files.
38641 tmpdefFile=${D}{defFile}_%
38642 rm -f ${D}tmpdefFile
38643 for file in ${D}inputFiles ; do
38648 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38653 # Create the def file.
38655 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38656 dllFile="${D}{dllFile}.dll"
38657 if [ ! -z ${D}description ]; then
38658 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
38660 echo "EXPORTS" >> ${D}defFile
38662 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38663 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38665 # Checks if the export is ok or not.
38666 for word in ${D}exclude_symbols; do
38667 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38668 mv ${D}{tmpdefFile}% ${D}tmpdefFile
38672 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38673 sed "=" < ${D}tmpdefFile | \\
38677 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
38679 ' > ${D}{tmpdefFile}%
38680 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38682 rm -f ${D}{tmpdefFile}%
38684 cat ${D}tmpdefFile >> ${D}defFile
38685 rm -f ${D}tmpdefFile
38687 # Do linking, create implib, and apply lxlite.
38689 for file in ${D}inputFiles ; do
38694 gccCmdl="${D}gccCmdl ${D}file"
38698 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38699 touch "${D}{outFile}.dll"
38701 doCommand "emximp -o ${D}arcFile ${D}defFile"
38702 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
38704 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38707 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
38709 doCommand "emxomf -s -l ${D}arcFile"
38719 powerpc
-apple-macos* | \
38720 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
38730 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
38733 if test "x$PIC_FLAG" != "x" ; then
38734 PIC_FLAG
="$PIC_FLAG -DPIC"
38737 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38738 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
38740 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38741 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
38756 USE_SOTWOSYMLINKS
=0
38760 case "${BAKEFILE_HOST}" in
38761 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38762 *-*-k*bsd
*-gnu | *-*-mirbsd* )
38763 if test "x$SUNCXX" = "xyes"; then
38766 SONAME_FLAG
="-Wl,-soname,"
38770 USE_SOTWOSYMLINKS
=1
38782 USE_SOTWOSYMLINKS
=1
38800 # Check whether --enable-dependency-tracking was given.
38801 if test "${enable_dependency_tracking+set}" = set; then :
38802 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
38806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
38807 $as_echo_n "checking for dependency tracking method... " >&6; }
38810 if test "x$bk_use_trackdeps" = "xno" ; then
38812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
38813 $as_echo "disabled" >&6; }
38817 if test "x$GCC" = "xyes"; then
38820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
38821 $as_echo "gcc" >&6; }
38822 elif test "x$MWCC" = "xyes"; then
38825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
38826 $as_echo "mwcc" >&6; }
38827 elif test "x$SUNCC" = "xyes"; then
38830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
38831 $as_echo "Sun cc" >&6; }
38832 elif test "x$SGICC" = "xyes"; then
38835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
38836 $as_echo "SGI cc" >&6; }
38837 elif test "x$HPCC" = "xyes"; then
38840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
38841 $as_echo "HP cc" >&6; }
38842 elif test "x$COMPAQCC" = "xyes"; then
38845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
38846 $as_echo "Compaq cc" >&6; }
38849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
38850 $as_echo "none" >&6; }
38853 if test $DEPS_TRACKING = 1 ; then
38859 # This script is part of Bakefile (http://www.bakefile.org) autoconf
38860 # script. It is used to track C/C++ files dependencies in portable way.
38862 # Permission is given to use this file in any way.
38864 DEPSMODE=${DEPSMODE}
38865 DEPSFLAG="${DEPSFLAG}"
38868 if test ${D}DEPSMODE = gcc ; then
38869 ${D}* ${D}{DEPSFLAG}
38872 # determine location of created files:
38873 while test ${D}# -gt 0; do
38887 objfilebase=\`basename ${D}objfile\`
38888 builddir=\`dirname ${D}objfile\`
38889 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
38890 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
38891 depsdir=${D}builddir/${D}DEPSDIRBASE
38892 mkdir -p ${D}depsdir
38894 # if the compiler failed, we're done:
38895 if test ${D}{status} != 0 ; then
38900 # move created file to the location we want it in:
38901 if test -f ${D}depfile ; then
38902 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
38905 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
38906 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
38907 if test ! -f ${D}depfile ; then
38908 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
38909 depfile="${D}objfile.d"
38911 if test -f ${D}depfile ; then
38912 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
38918 elif test ${D}DEPSMODE = mwcc ; then
38919 ${D}* || exit ${D}?
38920 # Run mwcc again with -MM and redirect into the dep file we want
38921 # NOTE: We can't use shift here because we need ${D}* to be valid
38923 for arg in ${D}* ; do
38924 if test "${D}prevarg" = "-o"; then
38938 objfilebase=\`basename ${D}objfile\`
38939 builddir=\`dirname ${D}objfile\`
38940 depsdir=${D}builddir/${D}DEPSDIRBASE
38941 mkdir -p ${D}depsdir
38943 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
38946 elif test ${D}DEPSMODE = unixcc; then
38947 ${D}* || exit ${D}?
38948 # Run compiler again with deps flag and redirect into the dep file.
38949 # It doesn't work if the '-o FILE' option is used, but without it the
38950 # dependency file will contain the wrong name for the object. So it is
38951 # removed from the command line, and the dep file is fixed with sed.
38953 while test ${D}# -gt 0; do
38960 eval arg${D}#=\\${D}1
38961 cmd="${D}cmd \\${D}arg${D}#"
38967 objfilebase=\`basename ${D}objfile\`
38968 builddir=\`dirname ${D}objfile\`
38969 depsdir=${D}builddir/${D}DEPSDIRBASE
38970 mkdir -p ${D}depsdir
38972 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
38982 BK_DEPS
="`pwd`/bk-deps"
38990 case ${BAKEFILE_HOST} in
38991 *-*-cygwin* | *-*-mingw32* )
38992 if test -n "$ac_tool_prefix"; then
38993 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
38994 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
38995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38996 $as_echo_n "checking for $ac_word... " >&6; }
38997 if test "${ac_cv_prog_WINDRES+set}" = set; then :
38998 $as_echo_n "(cached) " >&6
39000 if test -n "$WINDRES"; then
39001 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39004 for as_dir
in $PATH
39007 test -z "$as_dir" && as_dir
=.
39008 for ac_exec_ext
in '' $ac_executable_extensions; do
39009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39010 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39020 WINDRES
=$ac_cv_prog_WINDRES
39021 if test -n "$WINDRES"; then
39022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39023 $as_echo "$WINDRES" >&6; }
39025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39026 $as_echo "no" >&6; }
39031 if test -z "$ac_cv_prog_WINDRES"; then
39032 ac_ct_WINDRES
=$WINDRES
39033 # Extract the first word of "windres", so it can be a program name with args.
39034 set dummy windres
; ac_word
=$2
39035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39036 $as_echo_n "checking for $ac_word... " >&6; }
39037 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
39038 $as_echo_n "(cached) " >&6
39040 if test -n "$ac_ct_WINDRES"; then
39041 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39044 for as_dir
in $PATH
39047 test -z "$as_dir" && as_dir
=.
39048 for ac_exec_ext
in '' $ac_executable_extensions; do
39049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39050 ac_cv_prog_ac_ct_WINDRES
="windres"
39051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39060 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39061 if test -n "$ac_ct_WINDRES"; then
39062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39063 $as_echo "$ac_ct_WINDRES" >&6; }
39065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39066 $as_echo "no" >&6; }
39069 if test "x$ac_ct_WINDRES" = x
; then
39072 case $cross_compiling:$ac_tool_warned in
39074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39076 ac_tool_warned
=yes ;;
39078 WINDRES
=$ac_ct_WINDRES
39081 WINDRES
="$ac_cv_prog_WINDRES"
39086 *-*-darwin* | powerpc
-apple-macos* )
39087 # Extract the first word of "Rez", so it can be a program name with args.
39088 set dummy Rez
; ac_word
=$2
39089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39090 $as_echo_n "checking for $ac_word... " >&6; }
39091 if test "${ac_cv_prog_REZ+set}" = set; then :
39092 $as_echo_n "(cached) " >&6
39094 if test -n "$REZ"; then
39095 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39098 for as_dir
in $PATH
39101 test -z "$as_dir" && as_dir
=.
39102 for ac_exec_ext
in '' $ac_executable_extensions; do
39103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39104 ac_cv_prog_REZ
="Rez"
39105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39112 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
39115 REZ
=$ac_cv_prog_REZ
39116 if test -n "$REZ"; then
39117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39118 $as_echo "$REZ" >&6; }
39120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39121 $as_echo "no" >&6; }
39125 # Extract the first word of "SetFile", so it can be a program name with args.
39126 set dummy SetFile
; ac_word
=$2
39127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39128 $as_echo_n "checking for $ac_word... " >&6; }
39129 if test "${ac_cv_prog_SETFILE+set}" = set; then :
39130 $as_echo_n "(cached) " >&6
39132 if test -n "$SETFILE"; then
39133 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39136 for as_dir
in $PATH
39139 test -z "$as_dir" && as_dir
=.
39140 for ac_exec_ext
in '' $ac_executable_extensions; do
39141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39142 ac_cv_prog_SETFILE
="SetFile"
39143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39150 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39153 SETFILE
=$ac_cv_prog_SETFILE
39154 if test -n "$SETFILE"; then
39155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39156 $as_echo "$SETFILE" >&6; }
39158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39159 $as_echo "no" >&6; }
39174 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
39177 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
39181 # Check whether --enable-precomp-headers was given.
39182 if test "${enable_precomp_headers+set}" = set; then :
39183 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
39192 case ${BAKEFILE_HOST} in
39198 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39199 if test "x$GCC" = "xyes"; then
39200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39201 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39203 /* end confdefs.h. */
39209 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39210 There is no PCH support
39213 There is no PCH support
39215 #if (__GNUC__ == 3) && \
39216 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39217 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39218 ( defined(__INTEL_COMPILER) )
39219 There is no PCH support
39226 if ac_fn_c_try_compile
"$LINENO"; then :
39228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39229 $as_echo "yes" >&6; }
39234 if test "$INTELCXX8" = "yes"; then
39235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39236 $as_echo "yes" >&6; }
39238 if test "$INTELCXX10" = "yes"; then
39239 ICC_PCH_CREATE_SWITCH
="-pch-create"
39240 ICC_PCH_USE_SWITCH
="-pch-use"
39242 ICC_PCH_CREATE_SWITCH
="-create-pch"
39243 ICC_PCH_USE_SWITCH
="-use-pch"
39246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39247 $as_echo "no" >&6; }
39251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39252 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39256 cat <<EOF >bk-make-pch
39259 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39260 # script. It is used to generated precompiled headers.
39262 # Permission is given to use this file in any way.
39269 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39274 while test ${D}{#} -gt 0; do
39278 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39279 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39280 headerfile="${D}{incdir}/${D}{header}"
39283 -use-pch|-use_pch|-pch-use )
39288 if test ${D}add_to_cmdline = 1 ; then
39289 compiler="${D}{compiler} ${D}{1}"
39294 if test "x${D}{headerfile}" = "x" ; then
39295 echo "error: can't find header ${D}{header} in include paths" >&2
39297 if test -f ${D}{outfile} ; then
39298 rm -f ${D}{outfile}
39300 mkdir -p \`dirname ${D}{outfile}\`
39302 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39303 mkdir -p ${D}{builddir}/.deps
39304 if test "x${GCC_PCH}" = "x1" ; then
39305 # can do this because gcc is >= 3.4:
39306 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39307 elif test "x${ICC_PCH}" = "x1" ; then
39308 filename=pch_gen-${D}${D}
39309 file=${D}{filename}.c
39310 dfile=${D}{filename}.d
39311 cat > ${D}file <<EOT
39312 #include "${D}header"
39314 # using -MF icc complains about differing command lines in creation/use
39315 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39316 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39317 rm -f ${D}file ${D}dfile ${D}{filename}.o
39323 chmod +x bk
-make-pch
39324 BK_MAKE_PCH
="`pwd`/bk-make-pch"
39335 COND_BUILD_DEBUG
="#"
39336 if test "x$BUILD" = "xdebug" ; then
39337 COND_BUILD_DEBUG
=""
39340 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39341 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39342 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39345 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39346 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39347 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39350 COND_BUILD_DEBUG_UNICODE_0
="#"
39351 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39352 COND_BUILD_DEBUG_UNICODE_0
=""
39355 COND_BUILD_DEBUG_UNICODE_1
="#"
39356 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39357 COND_BUILD_DEBUG_UNICODE_1
=""
39360 COND_BUILD_RELEASE
="#"
39361 if test "x$BUILD" = "xrelease" ; then
39362 COND_BUILD_RELEASE
=""
39365 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39366 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39367 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39370 COND_BUILD_RELEASE_UNICODE_0
="#"
39371 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39372 COND_BUILD_RELEASE_UNICODE_0
=""
39375 COND_BUILD_RELEASE_UNICODE_1
="#"
39376 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39377 COND_BUILD_RELEASE_UNICODE_1
=""
39380 COND_BUILD_debug
="#"
39381 if test "x$BUILD" = "xdebug" ; then
39382 COND_BUILD_debug
=""
39385 COND_BUILD_debug_DEBUG_FLAG_default
="#"
39386 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39387 COND_BUILD_debug_DEBUG_FLAG_default
=""
39390 COND_BUILD_debug_DEBUG_INFO_default
="#"
39391 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39392 COND_BUILD_debug_DEBUG_INFO_default
=""
39395 COND_BUILD_debug_UNICODE_0
="#"
39396 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39397 COND_BUILD_debug_UNICODE_0
=""
39400 COND_BUILD_debug_UNICODE_1
="#"
39401 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39402 COND_BUILD_debug_UNICODE_1
=""
39405 COND_BUILD_release
="#"
39406 if test "x$BUILD" = "xrelease" ; then
39407 COND_BUILD_release
=""
39410 COND_BUILD_release_DEBUG_INFO_default
="#"
39411 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39412 COND_BUILD_release_DEBUG_INFO_default
=""
39415 COND_BUILD_release_UNICODE_0
="#"
39416 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39417 COND_BUILD_release_UNICODE_0
=""
39420 COND_BUILD_release_UNICODE_1
="#"
39421 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39422 COND_BUILD_release_UNICODE_1
=""
39425 COND_DEBUG_FLAG_0
="#"
39426 if test "x$DEBUG_FLAG" = "x0" ; then
39427 COND_DEBUG_FLAG_0
=""
39430 COND_DEBUG_FLAG_1
="#"
39431 if test "x$DEBUG_FLAG" = "x1" ; then
39432 COND_DEBUG_FLAG_1
=""
39435 COND_DEBUG_INFO_0
="#"
39436 if test "x$DEBUG_INFO" = "x0" ; then
39437 COND_DEBUG_INFO_0
=""
39440 COND_DEBUG_INFO_1
="#"
39441 if test "x$DEBUG_INFO" = "x1" ; then
39442 COND_DEBUG_INFO_1
=""
39445 COND_DEPS_TRACKING_0
="#"
39446 if test "x$DEPS_TRACKING" = "x0" ; then
39447 COND_DEPS_TRACKING_0
=""
39450 COND_DEPS_TRACKING_1
="#"
39451 if test "x$DEPS_TRACKING" = "x1" ; then
39452 COND_DEPS_TRACKING_1
=""
39456 if test "x$GCC_PCH" = "x1" ; then
39461 if test "x$ICC_PCH" = "x1" ; then
39465 COND_MONOLITHIC_0
="#"
39466 if test "x$MONOLITHIC" = "x0" ; then
39467 COND_MONOLITHIC_0
=""
39470 COND_MONOLITHIC_0_SHARED_0
="#"
39471 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39472 COND_MONOLITHIC_0_SHARED_0
=""
39475 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
39476 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39477 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
39480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39481 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39482 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
39486 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39487 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
39490 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
39491 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39492 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
39495 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
39496 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39497 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
39500 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
39501 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39502 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
39505 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
39506 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39507 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
39510 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
39511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39512 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
39515 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
39516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39517 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
39520 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
39521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39522 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
39525 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
39526 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39527 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
39530 COND_MONOLITHIC_0_SHARED_1
="#"
39531 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39532 COND_MONOLITHIC_0_SHARED_1
=""
39535 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
39536 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39537 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
39540 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39541 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39542 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39545 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
39546 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39547 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
39550 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
39551 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39552 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
39555 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
39556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39557 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
39560 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
39561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39562 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
39565 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
39566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39567 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
39570 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
39571 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39572 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
39575 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
39576 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39577 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
39580 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
39581 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39582 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
39585 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
39586 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39587 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
39590 COND_MONOLITHIC_0_USE_AUI_1
="#"
39591 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39592 COND_MONOLITHIC_0_USE_AUI_1
=""
39595 COND_MONOLITHIC_0_USE_GUI_1
="#"
39596 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39597 COND_MONOLITHIC_0_USE_GUI_1
=""
39600 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
39601 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39602 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
39605 COND_MONOLITHIC_0_USE_HTML_1
="#"
39606 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39607 COND_MONOLITHIC_0_USE_HTML_1
=""
39610 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
39611 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39612 COND_MONOLITHIC_0_USE_MEDIA_1
=""
39615 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
39616 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39617 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
39620 COND_MONOLITHIC_0_USE_QA_1
="#"
39621 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39622 COND_MONOLITHIC_0_USE_QA_1
=""
39625 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
39626 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39627 COND_MONOLITHIC_0_USE_RIBBON_1
=""
39630 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
39631 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39632 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
39635 COND_MONOLITHIC_0_USE_STC_1
="#"
39636 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39637 COND_MONOLITHIC_0_USE_STC_1
=""
39640 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
39641 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39642 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
39645 COND_MONOLITHIC_0_USE_XRC_1
="#"
39646 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39647 COND_MONOLITHIC_0_USE_XRC_1
=""
39650 COND_MONOLITHIC_1
="#"
39651 if test "x$MONOLITHIC" = "x1" ; then
39652 COND_MONOLITHIC_1
=""
39655 COND_MONOLITHIC_1_SHARED_0
="#"
39656 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39657 COND_MONOLITHIC_1_SHARED_0
=""
39660 COND_MONOLITHIC_1_SHARED_1
="#"
39661 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39662 COND_MONOLITHIC_1_SHARED_1
=""
39665 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39666 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39667 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39670 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39671 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39672 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39675 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
39676 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39677 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
39680 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39681 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39682 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39685 COND_PLATFORM_MACOSX_1
="#"
39686 if test "x$PLATFORM_MACOSX" = "x1" ; then
39687 COND_PLATFORM_MACOSX_1
=""
39690 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
39691 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
39692 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
39695 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
39696 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39697 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
39700 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
39701 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
39702 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
39705 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
39706 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39707 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
39710 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
39711 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
39712 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
39715 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
39716 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39717 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
39720 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
39721 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
39722 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
39725 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
39726 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39727 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
39730 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39731 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39732 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39735 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
39736 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39737 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
39740 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39741 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39742 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39745 COND_PLATFORM_MACOS_1
="#"
39746 if test "x$PLATFORM_MACOS" = "x1" ; then
39747 COND_PLATFORM_MACOS_1
=""
39750 COND_PLATFORM_MAC_0
="#"
39751 if test "x$PLATFORM_MAC" = "x0" ; then
39752 COND_PLATFORM_MAC_0
=""
39755 COND_PLATFORM_MAC_1
="#"
39756 if test "x$PLATFORM_MAC" = "x1" ; then
39757 COND_PLATFORM_MAC_1
=""
39760 COND_PLATFORM_MSDOS_0
="#"
39761 if test "x$PLATFORM_MSDOS" = "x0" ; then
39762 COND_PLATFORM_MSDOS_0
=""
39765 COND_PLATFORM_MSDOS_1
="#"
39766 if test "x$PLATFORM_MSDOS" = "x1" ; then
39767 COND_PLATFORM_MSDOS_1
=""
39770 COND_PLATFORM_OS2_1
="#"
39771 if test "x$PLATFORM_OS2" = "x1" ; then
39772 COND_PLATFORM_OS2_1
=""
39775 COND_PLATFORM_UNIX_0
="#"
39776 if test "x$PLATFORM_UNIX" = "x0" ; then
39777 COND_PLATFORM_UNIX_0
=""
39780 COND_PLATFORM_UNIX_1
="#"
39781 if test "x$PLATFORM_UNIX" = "x1" ; then
39782 COND_PLATFORM_UNIX_1
=""
39785 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
39786 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39787 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
39790 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
39791 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39792 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
39795 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
39796 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39797 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
39800 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
39801 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39802 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
39805 COND_PLATFORM_WIN32_0
="#"
39806 if test "x$PLATFORM_WIN32" = "x0" ; then
39807 COND_PLATFORM_WIN32_0
=""
39810 COND_PLATFORM_WIN32_1
="#"
39811 if test "x$PLATFORM_WIN32" = "x1" ; then
39812 COND_PLATFORM_WIN32_1
=""
39815 COND_PLATFORM_WIN32_1_SHARED_0
="#"
39816 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39817 COND_PLATFORM_WIN32_1_SHARED_0
=""
39821 if test "x$SHARED" = "x0" ; then
39825 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
39826 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
39827 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
39830 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
39831 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
39832 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
39835 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
39836 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
39837 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
39840 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
39841 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39842 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
39845 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
39846 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39847 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
39850 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
39851 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39852 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
39855 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
39856 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39857 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
39860 COND_SHARED_0_USE_STC_1
="#"
39861 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39862 COND_SHARED_0_USE_STC_1
=""
39865 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
39866 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39867 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
39870 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
39871 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39872 COND_SHARED_0_wxUSE_REGEX_builtin
=""
39875 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
39876 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39877 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
39881 if test "x$SHARED" = "x1" ; then
39885 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
39886 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39887 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
39891 if test "x$TOOLKIT" = "x" ; then
39895 COND_TOOLKIT_COCOA
="#"
39896 if test "x$TOOLKIT" = "xCOCOA" ; then
39897 COND_TOOLKIT_COCOA
=""
39900 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
39901 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
39902 COND_TOOLKIT_COCOA_USE_GUI_1
=""
39905 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
39906 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
39910 COND_TOOLKIT_DFB
="#"
39911 if test "x$TOOLKIT" = "xDFB" ; then
39912 COND_TOOLKIT_DFB
=""
39915 COND_TOOLKIT_DFB_USE_GUI_1
="#"
39916 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
39917 COND_TOOLKIT_DFB_USE_GUI_1
=""
39920 COND_TOOLKIT_GTK
="#"
39921 if test "x$TOOLKIT" = "xGTK" ; then
39922 COND_TOOLKIT_GTK
=""
39925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
39926 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
39927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
39930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
39931 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
39935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
39936 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
39940 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
39941 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39942 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
39945 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
39946 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
39947 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
39950 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
39951 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39952 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
39955 COND_TOOLKIT_GTK_USE_GUI_1
="#"
39956 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39957 COND_TOOLKIT_GTK_USE_GUI_1
=""
39960 COND_TOOLKIT_MAC
="#"
39961 if test "x$TOOLKIT" = "xMAC" ; then
39962 COND_TOOLKIT_MAC
=""
39965 COND_TOOLKIT_MOTIF
="#"
39966 if test "x$TOOLKIT" = "xMOTIF" ; then
39967 COND_TOOLKIT_MOTIF
=""
39970 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
39971 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39972 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
39975 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
39976 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39977 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
39980 COND_TOOLKIT_MSW
="#"
39981 if test "x$TOOLKIT" = "xMSW" ; then
39982 COND_TOOLKIT_MSW
=""
39985 COND_TOOLKIT_MSW_USE_GUI_1
="#"
39986 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39987 COND_TOOLKIT_MSW_USE_GUI_1
=""
39990 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
39991 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39992 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
39995 COND_TOOLKIT_MSW_WXUNIV_0
="#"
39996 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
39997 COND_TOOLKIT_MSW_WXUNIV_0
=""
40000 COND_TOOLKIT_OSX_CARBON
="#"
40001 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40002 COND_TOOLKIT_OSX_CARBON
=""
40005 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40006 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40007 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40010 COND_TOOLKIT_OSX_COCOA
="#"
40011 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40012 COND_TOOLKIT_OSX_COCOA
=""
40015 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40016 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40017 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40020 COND_TOOLKIT_OSX_IPHONE
="#"
40021 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40022 COND_TOOLKIT_OSX_IPHONE
=""
40025 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40026 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40027 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40030 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40031 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40032 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40035 COND_TOOLKIT_PM
="#"
40036 if test "x$TOOLKIT" = "xPM" ; then
40040 COND_TOOLKIT_PM_USE_GUI_1
="#"
40041 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40042 COND_TOOLKIT_PM_USE_GUI_1
=""
40045 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40046 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40047 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40050 COND_TOOLKIT_WINCE
="#"
40051 if test "x$TOOLKIT" = "xWINCE" ; then
40052 COND_TOOLKIT_WINCE
=""
40055 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40056 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40057 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40060 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40061 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40062 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40065 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40066 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40067 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40070 COND_TOOLKIT_X11
="#"
40071 if test "x$TOOLKIT" = "xX11" ; then
40072 COND_TOOLKIT_X11
=""
40075 COND_TOOLKIT_X11_USE_GUI_1
="#"
40076 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40077 COND_TOOLKIT_X11_USE_GUI_1
=""
40081 if test "x$UNICODE" = "x1" ; then
40085 COND_USE_CAIRO_1
="#"
40086 if test "x$USE_CAIRO" = "x1" ; then
40087 COND_USE_CAIRO_1
=""
40090 COND_USE_EXCEPTIONS_0
="#"
40091 if test "x$USE_EXCEPTIONS" = "x0" ; then
40092 COND_USE_EXCEPTIONS_0
=""
40095 COND_USE_EXCEPTIONS_1
="#"
40096 if test "x$USE_EXCEPTIONS" = "x1" ; then
40097 COND_USE_EXCEPTIONS_1
=""
40101 if test "x$USE_GUI" = "x0" ; then
40106 if test "x$USE_GUI" = "x1" ; then
40110 COND_USE_GUI_1_USE_OPENGL_1
="#"
40111 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40112 COND_USE_GUI_1_USE_OPENGL_1
=""
40115 COND_USE_GUI_1_WXUNIV_0
="#"
40116 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40117 COND_USE_GUI_1_WXUNIV_0
=""
40120 COND_USE_GUI_1_WXUNIV_1
="#"
40121 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40122 COND_USE_GUI_1_WXUNIV_1
=""
40125 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40126 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40127 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40130 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40131 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40132 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40135 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40136 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40137 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40140 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40141 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40142 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40145 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40146 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40147 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40150 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40151 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40152 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40155 COND_USE_OPENGL_1
="#"
40156 if test "x$USE_OPENGL" = "x1" ; then
40157 COND_USE_OPENGL_1
=""
40161 if test "x$USE_PCH" = "x1" ; then
40165 COND_USE_PLUGINS_0
="#"
40166 if test "x$USE_PLUGINS" = "x0" ; then
40167 COND_USE_PLUGINS_0
=""
40170 COND_USE_RTTI_0
="#"
40171 if test "x$USE_RTTI" = "x0" ; then
40175 COND_USE_RTTI_1
="#"
40176 if test "x$USE_RTTI" = "x1" ; then
40180 COND_USE_SOTWOSYMLINKS_1
="#"
40181 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40182 COND_USE_SOTWOSYMLINKS_1
=""
40185 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
40186 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40187 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
40190 COND_USE_SOVERLINUX_1
="#"
40191 if test "x$USE_SOVERLINUX" = "x1" ; then
40192 COND_USE_SOVERLINUX_1
=""
40195 COND_USE_SOVERSION_0
="#"
40196 if test "x$USE_SOVERSION" = "x0" ; then
40197 COND_USE_SOVERSION_0
=""
40200 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
40201 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40202 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
40205 COND_USE_SOVERSOLARIS_1
="#"
40206 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40207 COND_USE_SOVERSOLARIS_1
=""
40211 if test "x$USE_STC" = "x1" ; then
40215 COND_USE_THREADS_0
="#"
40216 if test "x$USE_THREADS" = "x0" ; then
40217 COND_USE_THREADS_0
=""
40220 COND_USE_THREADS_1
="#"
40221 if test "x$USE_THREADS" = "x1" ; then
40222 COND_USE_THREADS_1
=""
40226 if test "x$USE_XRC" = "x1" ; then
40230 COND_WINDOWS_IMPLIB_1
="#"
40231 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40232 COND_WINDOWS_IMPLIB_1
=""
40235 COND_WITH_PLUGIN_SDL_1
="#"
40236 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40237 COND_WITH_PLUGIN_SDL_1
=""
40241 if test "x$WXUNIV" = "x0" ; then
40246 if test "x$WXUNIV" = "x1" ; then
40250 COND_WXUSE_EXPAT_BUILTIN
="#"
40251 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40252 COND_WXUSE_EXPAT_BUILTIN
=""
40255 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40256 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40257 COND_WXUSE_LIBJPEG_BUILTIN
=""
40260 COND_WXUSE_LIBPNG_BUILTIN
="#"
40261 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40262 COND_WXUSE_LIBPNG_BUILTIN
=""
40265 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40266 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40267 COND_WXUSE_LIBTIFF_BUILTIN
=""
40270 COND_WXUSE_REGEX_BUILTIN
="#"
40271 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40272 COND_WXUSE_REGEX_BUILTIN
=""
40275 COND_WXUSE_ZLIB_BUILTIN
="#"
40276 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40277 COND_WXUSE_ZLIB_BUILTIN
=""
40280 COND_wxUSE_EXPAT_builtin
="#"
40281 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40282 COND_wxUSE_EXPAT_builtin
=""
40285 COND_wxUSE_LIBJPEG_builtin
="#"
40286 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40287 COND_wxUSE_LIBJPEG_builtin
=""
40290 COND_wxUSE_LIBPNG_builtin
="#"
40291 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40292 COND_wxUSE_LIBPNG_builtin
=""
40295 COND_wxUSE_LIBTIFF_builtin
="#"
40296 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40297 COND_wxUSE_LIBTIFF_builtin
=""
40300 COND_wxUSE_REGEX_builtin
="#"
40301 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40302 COND_wxUSE_REGEX_builtin
=""
40305 COND_wxUSE_ZLIB_builtin
="#"
40306 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40307 COND_wxUSE_ZLIB_builtin
=""
40312 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40313 as_fn_error $?
"No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" "$LINENO" 5
40316 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40317 as_fn_error $?
"Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." "$LINENO" 5
40324 ?
:* ) # Drive letter, considered as absolute.
40327 INSTALL
=`pwd`/${INSTALL} ;;
40330 if test "$wxUSE_GUI" = "yes"; then
40332 if test "$wxUSE_MSW" = 1 ; then
40333 if test "x$WINDRES" = "x"; then
40334 as_fn_error $?
"Required windres program not found" "$LINENO" 5
40340 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40341 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40342 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40344 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40346 # Extract the first word of "DeRez", so it can be a program name with args.
40347 set dummy DeRez
; ac_word
=$2
40348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40349 $as_echo_n "checking for $ac_word... " >&6; }
40350 if test "${ac_cv_prog_DEREZ+set}" = set; then :
40351 $as_echo_n "(cached) " >&6
40353 if test -n "$DEREZ"; then
40354 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
40356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40357 for as_dir
in $PATH
40360 test -z "$as_dir" && as_dir
=.
40361 for ac_exec_ext
in '' $ac_executable_extensions; do
40362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40363 ac_cv_prog_DEREZ
="DeRez"
40364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40371 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
40374 DEREZ
=$ac_cv_prog_DEREZ
40375 if test -n "$DEREZ"; then
40376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40377 $as_echo "$DEREZ" >&6; }
40379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40380 $as_echo "no" >&6; }
40385 MACSETFILE
="\$(SETFILE)"
40387 if test "$wxUSE_OSX_CARBON" = 1; then
40388 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40390 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
40392 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40393 RESCOMP
="cat /dev/null \| $REZ"
40394 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40400 if test "$wxUSE_PM" = 1; then
40402 WXCONFIG_RESFLAGS
="-ep"
40404 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
40406 POSTLINK_COMMAND
="@true"
40413 if test $GCC_PCH = 1
40415 if test "$wx_cv_gcc_pch_bug" = yes; then
40416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40417 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40419 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40421 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40424 # Our WX_PRECOMP flag does not make sense for any language except C++ because
40425 # the headers that benefit from precompilation are mostly C++ headers.
40426 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
40427 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40428 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40432 if test "$wxUSE_MAC" = 1 ; then
40433 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40434 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
40440 if test "$wxUSE_SHARED" = "yes"; then
40442 *-pc-os2_emx | *-pc-os2-emx )
40443 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40444 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40445 cp -p ${srcdir}/src
/os
2/dllnames.sh .
40446 cp -p ${srcdir}/src
/os
2/dllar.sh .
40450 if test "$wxUSE_OMF" = "yes"; then
40452 *-pc-os2_emx | *-pc-os2-emx )
40453 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
40454 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
40455 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
40460 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40465 if test "$GCC" = yes; then
40466 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
40467 LIBS
=`echo $LIBS | sed 's/-mt//g'`
40468 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40473 if test "x$SUNCXX" = xyes
; then
40474 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
40475 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
40476 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40481 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
40482 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40483 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
40484 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40486 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40548 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40550 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40551 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
40552 $as_echo_n "(cached) " >&6
40554 cat >conftest.
make <<\_ACEOF
40557 @
echo '@@@%%%=$(MAKE)=@@@%%%'
40559 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40560 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40561 *@@@
%%%=?
*=@@@
%%%*)
40562 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
40564 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
40566 rm -f conftest.
make
40568 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
40569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40570 $as_echo "yes" >&6; }
40573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40574 $as_echo "no" >&6; }
40575 SET_MAKE
="MAKE=${MAKE-make}"
40580 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40583 if test "$USE_WIN32" = 1; then
40584 ac_config_commands
="$ac_config_commands rcdefs.h"
40588 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40591 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40594 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
40597 if test "$wx_cv_version_script" = "yes"; then
40598 ac_config_files
="$ac_config_files version-script"
40601 ac_config_files
="$ac_config_files Makefile"
40604 ac_config_commands
="$ac_config_commands wx-config"
40608 if test "$wxWITH_SUBDIRS" != "no"; then
40609 if test "$wxUSE_GUI" = "yes"; then
40610 SUBDIRS
="samples demos utils"
40612 SUBDIRS
="samples utils"
40617 # Check whether --with-cppunit-prefix was given.
40618 if test "${with_cppunit_prefix+set}" = set; then :
40619 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
40621 cppunit_config_prefix
=""
40625 # Check whether --with-cppunit-exec-prefix was given.
40626 if test "${with_cppunit_exec_prefix+set}" = set; then :
40627 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
40629 cppunit_config_exec_prefix
=""
40633 if test x
$cppunit_config_exec_prefix != x
; then
40634 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40635 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40636 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
40639 if test x
$cppunit_config_prefix != x
; then
40640 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
40641 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40642 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
40646 # Extract the first word of "cppunit-config", so it can be a program name with args.
40647 set dummy cppunit
-config; ac_word
=$2
40648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40649 $as_echo_n "checking for $ac_word... " >&6; }
40650 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then :
40651 $as_echo_n "(cached) " >&6
40653 case $CPPUNIT_CONFIG in
40655 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40659 for as_dir
in $PATH
40662 test -z "$as_dir" && as_dir
=.
40663 for ac_exec_ext
in '' $ac_executable_extensions; do
40664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40665 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40673 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
40677 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
40678 if test -n "$CPPUNIT_CONFIG"; then
40679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
40680 $as_echo "$CPPUNIT_CONFIG" >&6; }
40682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40683 $as_echo "no" >&6; }
40687 cppunit_version_min
=1.8.0
40689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
40690 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
40692 if test "$CPPUNIT_CONFIG" = "no" ; then
40693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40694 $as_echo "no" >&6; }
40697 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
40698 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
40699 cppunit_version
=`$CPPUNIT_CONFIG --version`
40701 cppunit_major_version
=`echo $cppunit_version | \
40702 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40703 cppunit_minor_version
=`echo $cppunit_version | \
40704 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40705 cppunit_micro_version
=`echo $cppunit_version | \
40706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40708 cppunit_major_min
=`echo $cppunit_version_min | \
40709 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40710 cppunit_minor_min
=`echo $cppunit_version_min | \
40711 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40712 cppunit_micro_min
=`echo $cppunit_version_min | \
40713 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40715 cppunit_version_proper
=`expr \
40716 $cppunit_major_version \> $cppunit_major_min \| \
40717 $cppunit_major_version \= $cppunit_major_min \& \
40718 $cppunit_minor_version \> $cppunit_minor_min \| \
40719 $cppunit_major_version \= $cppunit_major_min \& \
40720 $cppunit_minor_version \= $cppunit_minor_min \& \
40721 $cppunit_micro_version \>= $cppunit_micro_min `
40723 if test "$cppunit_version_proper" = "1" ; then
40724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40725 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
40727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40728 $as_echo "no" >&6; }
40733 if test "x$no_cppunit" = x
; then
40734 SUBDIRS
="$SUBDIRS tests"
40745 for subdir
in $SUBDIRS; do
40746 if test -d ${srcdir}/${subdir} ; then
40747 if test "$wxUSE_GUI" = "yes"; then
40748 if test ${subdir} = "samples"; then
40749 makefiles
="samples/Makefile.in $makefiles"
40750 for sample
in $SAMPLES_SUBDIRS; do
40751 if test -d $srcdir/samples
/$sample; then
40752 makefiles
="samples/$sample/Makefile.in $makefiles"
40756 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
40757 eval "disabled=\$$disabled_var"
40758 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
40759 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
40762 if test ${subdir} = "samples"; then
40763 makefiles
="samples/Makefile.in $makefiles"
40764 for sample
in `echo $SAMPLES_SUBDIRS`; do
40765 if test -d $srcdir/samples
/$sample; then
40766 makefiles
="samples/$sample/Makefile.in $makefiles"
40769 elif test ${subdir} = "utils"; then
40771 for util
in ifacecheck
; do
40772 if test -d $srcdir/utils
/$util ; then
40773 makefiles
="utils/$util/src/Makefile.in \
40778 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
40782 for mkin
in $makefiles ; do
40783 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
40784 ac_config_files
="$ac_config_files $mk"
40790 cat >confcache
<<\_ACEOF
40791 # This file is a shell script that caches the results of configure
40792 # tests run on this system so they can be shared between configure
40793 # scripts and configure runs, see configure's option --config-cache.
40794 # It is not useful on other systems. If it contains results you don't
40795 # want to keep, you may remove or edit it.
40797 # config.status only pays attention to the cache file if you give it
40798 # the --recheck option to rerun configure.
40800 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40801 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40802 # following values.
40806 # The following way of writing the cache mishandles newlines in values,
40807 # but we know of no workaround that is simple, portable, and efficient.
40808 # So, we kill variables containing newlines.
40809 # Ultrix sh set writes to stderr and can't be redirected directly,
40810 # and sets the high bit in the cache file unless we assign to the vars.
40812 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40813 eval ac_val
=\$
$ac_var
40817 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
40818 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
40821 _
| IFS
| as_nl
) ;; #(
40822 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
40823 *) { eval $ac_var=; unset $ac_var;} ;;
40829 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40830 *${as_nl}ac_space
=\
*)
40831 # `set' does not quote correctly, so add quotes: double-quote
40832 # substitution turns \\\\ into \\, and sed turns \\ into \.
40835 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40838 # `set' quotes correctly as required by POSIX, so do not add quotes.
40839 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40848 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40850 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40852 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
40853 if test -w "$cache_file"; then
40854 test "x$cache_file" != "x/dev/null" &&
40855 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
40856 $as_echo "$as_me: updating cache $cache_file" >&6;}
40857 cat confcache
>$cache_file
40859 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
40860 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40865 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
40866 # Let make expand exec_prefix.
40867 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
40869 DEFS
=-DHAVE_CONFIG_H
40874 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
40875 # 1. Remove the extension, and $U if already installed.
40876 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
40877 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
40878 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
40879 # will be set to the directory where LIBOBJS objects are built.
40880 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
40881 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
40883 LIBOBJS
=$ac_libobjs
40885 LTLIBOBJS
=$ac_ltlibobjs
40889 : ${CONFIG_STATUS=./config.status}
40891 ac_clean_files_save
=$ac_clean_files
40892 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
40893 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
40894 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
40896 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
40898 # Generated by $as_me.
40899 # Run this file to recreate the current configuration.
40900 # Compiler output produced by configure, useful for debugging
40901 # configure, is in config.log if it exists.
40904 ac_cs_recheck=false
40907 SHELL=\${CONFIG_SHELL-$SHELL}
40910 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
40911 ## -------------------- ##
40912 ## M4sh Initialization. ##
40913 ## -------------------- ##
40915 # Be more Bourne compatible
40916 DUALCASE
=1; export DUALCASE
# for MKS sh
40917 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
40920 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
40921 # is contrary to our usage. Disable this feature.
40922 alias -g '${1+"$@"}'='"$@"'
40923 setopt NO_GLOB_SUBST
40925 case `(set -o) 2>/dev/null` in #(
40937 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40938 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40939 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40940 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40941 # Prefer a ksh shell builtin over an external printf program on Solaris,
40942 # but without wasting forks for bash or zsh.
40943 if test -z "$BASH_VERSION$ZSH_VERSION" \
40944 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
40945 as_echo='print
-r --'
40946 as_echo_n='print
-rn --'
40947 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
40948 as_echo='printf %s
\n'
40949 as_echo_n='printf %s
'
40951 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
40952 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
40953 as_echo_n='/usr
/ucb
/echo -n'
40955 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
40956 as_echo_n_body='eval
40960 expr "X$arg" : "X\\(.*\\)$as_nl";
40961 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
40963 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
40965 export as_echo_n_body
40966 as_echo_n='sh
-c $as_echo_n_body as_echo
'
40968 export as_echo_body
40969 as_echo='sh
-c $as_echo_body as_echo
'
40972 # The user is always right.
40973 if test "${PATH_SEPARATOR+set}" != set; then
40975 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
40976 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
40983 # We need space, tab and new line, in precisely that order. Quoting is
40984 # there to prevent editors from complaining about space-tab.
40985 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
40986 # splitting by setting IFS to empty value.)
40989 # Find who we are. Look in the path if we contain no directory separator.
40991 *[\\/]* ) as_myself=$0 ;;
40992 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40993 for as_dir in $PATH
40996 test -z "$as_dir" && as_dir=.
40997 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41003 # We did not find ourselves, most probably we were run as `sh COMMAND'
41004 # in which case we are not to be found in the path.
41005 if test "x$as_myself" = x
; then
41008 if test ! -f "$as_myself"; then
41009 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41013 # Unset variables that we do not need and which cause bugs (e.g. in
41014 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41015 # suppresses any "Segmentation fault" message there. '((' could
41016 # trigger a bug in pdksh 5.2.14.
41017 for as_var
in BASH_ENV ENV MAIL MAILPATH
41018 do eval test x\
${$as_var+set} = xset \
41019 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41032 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41035 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41036 # ----------------------------------------
41037 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41038 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41039 # script with STATUS, using 1 if that was 0.
41042 as_status
=$1; test $as_status -eq 0 && as_status
=1
41044 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41045 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41047 $as_echo "$as_me: error: $2" >&2
41048 as_fn_exit
$as_status
41052 # as_fn_set_status STATUS
41053 # -----------------------
41054 # Set $? to STATUS, without forking.
41055 as_fn_set_status
()
41058 } # as_fn_set_status
41060 # as_fn_exit STATUS
41061 # -----------------
41062 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41066 as_fn_set_status
$1
41072 # Portably unset VAR.
41075 { eval $1=; unset $1;}
41077 as_unset
=as_fn_unset
41078 # as_fn_append VAR VALUE
41079 # ----------------------
41080 # Append the text in VALUE to the end of the definition contained in VAR. Take
41081 # advantage of any shell optimizations that allow amortized linear growth over
41082 # repeated appends, instead of the typical quadratic growth present in naive
41084 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41085 eval 'as_fn_append ()
41096 # as_fn_arith ARG...
41097 # ------------------
41098 # Perform arithmetic evaluation on the ARGs, and store the result in the
41099 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41100 # must be portable across $(()) and expr.
41101 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41102 eval 'as_fn_arith ()
41109 as_val
=`expr "$@" || test $? -eq 1`
41114 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41115 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
41121 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41122 as_basename
=basename
41127 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
41133 as_me
=`$as_basename -- "$0" ||
41134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41135 X"$0" : 'X\(//\)$' \| \
41136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41138 sed '/^.*\/\([^/][^/]*\)\/*$/{
41152 # Avoid depending upon Character Ranges.
41153 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41154 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41155 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41156 as_cr_digits
='0123456789'
41157 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41159 ECHO_C
= ECHO_N
= ECHO_T
=
41160 case `echo -n x` in #(((((
41162 case `echo 'xy\c'` in
41163 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
41165 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
41172 rm -f conf$$ conf$$.exe conf$$.
file
41173 if test -d conf$$.dir
; then
41174 rm -f conf$$.dir
/conf$$.
file
41177 mkdir conf$$.dir
2>/dev
/null
41179 if (echo >conf$$.
file) 2>/dev
/null
; then
41180 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41182 # ... but there are two gotchas:
41183 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41184 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41185 # In both cases, we have to default to `cp -p'.
41186 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
41188 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41196 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
41197 rmdir conf$$.dir
2>/dev
/null
41202 # Create "$as_dir" as a directory, including parents if necessary.
41207 -*) as_dir
=.
/$as_dir;;
41209 test -d "$as_dir" || eval $as_mkdir_p || {
41213 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41214 *) as_qdir
=$as_dir;;
41216 as_dirs
="'$as_qdir' $as_dirs"
41217 as_dir
=`$as_dirname -- "$as_dir" ||
41218 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41219 X"$as_dir" : 'X\(//\)[^/]' \| \
41220 X"$as_dir" : 'X\(//\)$' \| \
41221 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41222 $as_echo X"$as_dir" |
41223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41227 /^X\(\/\/\)[^/].*/{
41240 test -d "$as_dir" && break
41242 test -z "$as_dirs" || eval "mkdir $as_dirs"
41243 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
41247 if mkdir -p .
2>/dev
/null
; then
41248 as_mkdir_p
='mkdir -p "$as_dir"'
41250 test -d .
/-p && rmdir .
/-p
41254 if test -x / >/dev
/null
2>&1; then
41255 as_test_x
='test -x'
41257 if ls -dL / >/dev
/null
2>&1; then
41264 if test -d "$1"; then
41270 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
41271 ???[sx]*):;;*)false;;esac;fi
41275 as_executable_p
=$as_test_x
41277 # Sed expression to map a string onto a valid CPP name.
41278 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41280 # Sed expression to map a string onto a valid variable name.
41281 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41285 ## ----------------------------------- ##
41286 ## Main body of $CONFIG_STATUS script. ##
41287 ## ----------------------------------- ##
41289 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
41291 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41292 # Save the log message, to keep $0 and so on meaningful, and to
41293 # report actual input values of CONFIG_FILES etc. instead of their
41294 # values after options handling.
41296 This file was extended by wxWidgets $as_me 2.9.4, which was
41297 generated by GNU Autoconf 2.67. Invocation command line was
41299 CONFIG_FILES = $CONFIG_FILES
41300 CONFIG_HEADERS = $CONFIG_HEADERS
41301 CONFIG_LINKS = $CONFIG_LINKS
41302 CONFIG_COMMANDS = $CONFIG_COMMANDS
41305 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41310 case $ac_config_files in *"
41311 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
41314 case $ac_config_headers in *"
41315 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
41319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41320 # Files that config.status was made for.
41321 config_files="$ac_config_files"
41322 config_headers="$ac_config_headers"
41323 config_commands="$ac_config_commands"
41327 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41329 \`$as_me' instantiates files and other configuration actions
41330 from templates according to the current configuration. Unless the files
41331 and actions are specified as TAGs, all are instantiated by default.
41333 Usage: $0 [OPTION]... [TAG]...
41335 -h, --help print this help, then exit
41336 -V, --version print version number and configuration settings, then exit
41337 --config print configuration, then exit
41338 -q, --quiet, --silent
41339 do not print progress messages
41340 -d, --debug don't remove temporary files
41341 --recheck update $as_me by reconfiguring in the same conditions
41342 --file=FILE[:TEMPLATE]
41343 instantiate the configuration file FILE
41344 --header=FILE[:TEMPLATE]
41345 instantiate the configuration header FILE
41347 Configuration files:
41350 Configuration headers:
41353 Configuration commands:
41356 Report bugs to <wx-dev@lists.wxwidgets.org>."
41359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41360 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41362 wxWidgets config.status 2.9.4
41363 configured by $0, generated by GNU Autoconf 2.67,
41364 with options \\"\$ac_cs_config\\"
41366 Copyright (C) 2010 Free Software Foundation, Inc.
41367 This config.status script is free software; the Free Software Foundation
41368 gives unlimited permission to copy, distribute and modify it."
41373 test -n "\$AWK" || AWK=awk
41376 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41377 # The default lists apply if the user does not specify any file.
41383 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
41384 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
41388 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
41400 # Handling of the options.
41401 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41403 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41404 $as_echo "$ac_cs_version"; exit ;;
41405 --config | --confi | --conf | --con | --co | --c )
41406 $as_echo "$ac_cs_config"; exit ;;
41407 --debug | --debu | --deb | --de | --d | -d )
41409 --file | --fil | --fi | --f )
41412 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41413 '') as_fn_error $?
"missing file argument" ;;
41415 as_fn_append CONFIG_FILES
" '$ac_optarg'"
41416 ac_need_defaults
=false
;;
41417 --header | --heade | --head | --hea )
41420 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41422 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
41423 ac_need_defaults
=false
;;
41425 # Conflict between --help and --header
41426 as_fn_error $?
"ambiguous option: \`$1'
41427 Try \`$0 --help' for more information.";;
41428 --help | --hel | -h )
41429 $as_echo "$ac_cs_usage"; exit ;;
41430 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41431 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41434 # This is an error.
41435 -*) as_fn_error $?
"unrecognized option: \`$1'
41436 Try \`$0 --help' for more information." ;;
41438 *) as_fn_append ac_config_targets
" $1"
41439 ac_need_defaults
=false
;;
41445 ac_configure_extra_args
=
41447 if $ac_cs_silent; then
41449 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41454 if \$ac_cs_recheck; then
41455 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41457 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41458 CONFIG_SHELL='$SHELL'
41459 export CONFIG_SHELL
41464 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41468 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41469 ## Running $as_me. ##
41475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41481 infile="$srcdir/include/wx/msw/genrcdefs.h"
41482 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41485 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41486 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41487 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41493 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41495 # Handling of arguments.
41496 for ac_config_target
in $ac_config_targets
41498 case $ac_config_target in
41499 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41500 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
41501 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41502 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41503 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41504 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41505 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41506 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
41507 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41509 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
41514 # If the user did not use the arguments to specify the items to instantiate,
41515 # then the envvar interface is used. Set only those that are not.
41516 # We use the long form for the default assignment because of an extremely
41517 # bizarre bug on SunOS 4.1.3.
41518 if $ac_need_defaults; then
41519 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41520 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41521 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41524 # Have a temporary directory for convenience. Make it in the build tree
41525 # simply because there is no reason against having it here, and in addition,
41526 # creating and moving files from /tmp can sometimes cause problems.
41527 # Hook for its removal unless debugging.
41528 # Note that there is a small window in which the directory will not be cleaned:
41529 # after its creation but before its name has been assigned to `$tmp'.
41533 trap 'exit_status=$?
41534 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
41536 trap 'as_fn_exit 1' 1 2 13 15
41538 # Create a (secure) tmp directory for tmp files.
41541 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41542 test -n "$tmp" && test -d "$tmp"
41545 tmp
=.
/conf$$
-$RANDOM
41546 (umask 077 && mkdir "$tmp")
41547 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
41549 # Set up the scripts for CONFIG_FILES section.
41550 # No need to generate them if there are no CONFIG_FILES.
41551 # This happens for instance with `./config.status config.h'.
41552 if test -n "$CONFIG_FILES"; then
41555 ac_cr
=`echo X | tr X '\015'`
41556 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41557 # But we know of no other shell where ac_cr would be empty at this
41558 # point, so we can use a bashism as a fallback.
41559 if test "x$ac_cr" = x
; then
41560 eval ac_cr
=\$
\'\\r
\'
41562 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41563 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41566 ac_cs_awk_cr
=$ac_cr
41569 echo 'BEGIN {' >"$tmp/subs1.awk" &&
41574 echo "cat >conf$$subs.awk <<_ACEOF" &&
41575 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41577 } >conf$$subs.sh ||
41578 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41579 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41581 for ac_last_try in false false false false false :; do
41582 . ./conf$$subs.sh ||
41583 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41585 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
41586 if test $ac_delim_n = $ac_delim_num; then
41588 elif $ac_last_try; then
41589 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41591 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
41594 rm -f conf$$subs.sh
41596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41597 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
41601 s/^/S["/; s
/!.
*/"]=/
41611 s/\(.\{148\}\)..*/\1/
41613 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
41618 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
41625 s/\(.\{148\}\)..*/\1/
41627 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
41631 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
41636 ' <conf$$subs.awk | sed '
41641 ' >>$CONFIG_STATUS || ac_write_fail=1
41642 rm -f conf$$subs.awk
41643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41645 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
41646 for (key in S) S_is_set[key] = 1
41652 nfields = split(line, field, "@
")
41654 len = length(field[1])
41655 for (i = 2; i < nfields; i++) {
41657 keylen = length(key)
41658 if (S_is_set[key]) {
41660 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41661 len += length(value) + length(field[++i])
41672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41673 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
41674 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
41677 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
41678 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
41681 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
41682 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
41683 # trailing colons and then remove the whole line if VPATH becomes empty
41684 # (actually we leave an empty line to preserve line numbers).
41685 if test "x
$srcdir" = x.; then
41686 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
41704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41705 fi # test -n "$CONFIG_FILES"
41707 # Set up the scripts for CONFIG_HEADERS section.
41708 # No need to generate them if there are no CONFIG_HEADERS.
41709 # This happens for instance with `./config.status Makefile'.
41710 if test -n "$CONFIG_HEADERS"; then
41711 cat >"$tmp/defines.
awk" <<\_ACAWK ||
41715 # Transform confdefs.h into an awk script `defines.awk', embedded as
41716 # here-document in config.status, that substitutes the proper values into
41717 # config.h.in to produce config.h.
41719 # Create a delimiter string that does not exist in confdefs.h, to ease
41720 # handling of long lines.
41722 for ac_last_try in false false :; do
41723 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
41724 if test -z "$ac_t"; then
41726 elif $ac_last_try; then
41727 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
41729 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
41733 # For the awk script, D is an array of macro values keyed by name,
41734 # likewise P contains macro parameters if any. Preserve backslash
41735 # newline sequences.
41737 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
41739 s/.\{148\}/&'"$ac_delim"'/g
41742 s/^[ ]*#[ ]*define[ ][ ]*/ /
41749 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
41751 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
41755 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
41756 D["\
1"]=" \
3\\\\\\n
"\\/p
41758 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
41763 s/.\{148\}/&'"$ac_delim"'/g
41768 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
41771 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
41773 ' <confdefs.h | sed '
41774 s/'"$ac_delim"'/"\\\
41775 "/g' >>$CONFIG_STATUS || ac_write_fail=1
41777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41778 for (key in D) D_is_set[key] = 1
41781 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
41783 split(line, arg, " ")
41784 if (arg[1] == "#") {
41788 defundef
= substr
(arg
[1], 2)
41791 split(mac1
, mac2
, "(") #)
41793 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
41794 if (D_is_set
[macro
]) {
41795 # Preserve the white space surrounding the "#".
41796 print prefix
"define", macro P
[macro
] D
[macro
]
41799 # Replace #undef with comments. This is necessary, for example,
41800 # in the case of _POSIX_SOURCE, which is predefined and required
41801 # on some systems where configure will not decide to define it.
41802 if (defundef
== "undef") {
41803 print
"/*", prefix defundef
, macro
, "*/"
41811 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41812 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
41813 fi # test -n "$CONFIG_HEADERS"
41816 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
41821 :[FHLC
]) ac_mode
=$ac_tag; continue;;
41823 case $ac_mode$ac_tag in
41825 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
41826 :[FH
]-) ac_tag
=-:-;;
41827 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
41844 -) ac_f
="$tmp/stdin";;
41845 *) # Look for the file first in the build tree, then in the source tree
41846 # (if the path is not absolute). The absolute path cannot be DOS-style,
41847 # because $ac_f cannot contain `:'.
41851 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
41853 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
41855 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
41856 as_fn_append ac_file_inputs
" '$ac_f'"
41859 # Let's still pretend it is `configure' which instantiates (i.e., don't
41860 # use $as_me), people would be surprised to read:
41861 # /* config.h. Generated by config.status. */
41862 configure_input
='Generated from '`
41863 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
41865 if test x
"$ac_file" != x
-; then
41866 configure_input
="$ac_file. $configure_input"
41867 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
41868 $as_echo "$as_me: creating $ac_file" >&6;}
41870 # Neutralize special characters interpreted by sed in replacement strings.
41871 case $configure_input in #(
41872 *\
&* | *\
|* | *\\* )
41873 ac_sed_conf_input
=`$as_echo "$configure_input" |
41874 sed 's/[\\\\&|]/\\\\&/g'`;; #(
41875 *) ac_sed_conf_input
=$configure_input;;
41879 *:-:* | *:-) cat >"$tmp/stdin" \
41880 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
41885 ac_dir
=`$as_dirname -- "$ac_file" ||
41886 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41887 X"$ac_file" : 'X\(//\)[^/]' \| \
41888 X"$ac_file" : 'X\(//\)$' \| \
41889 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
41890 $as_echo X"$ac_file" |
41891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41895 /^X\(\/\/\)[^/].*/{
41908 as_dir
="$ac_dir"; as_fn_mkdir_p
41912 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
41914 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
41915 # A ".." for each directory in $ac_dir_suffix.
41916 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
41917 case $ac_top_builddir_sub in
41918 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
41919 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
41922 ac_abs_top_builddir
=$ac_pwd
41923 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
41924 # for backward compatibility:
41925 ac_top_builddir
=$ac_top_build_prefix
41928 .
) # We are building in place.
41930 ac_top_srcdir
=$ac_top_builddir_sub
41931 ac_abs_top_srcdir
=$ac_pwd ;;
41932 [\\/]* | ?
:[\\/]* ) # Absolute name.
41933 ac_srcdir
=$srcdir$ac_dir_suffix;
41934 ac_top_srcdir
=$srcdir
41935 ac_abs_top_srcdir
=$srcdir ;;
41936 *) # Relative name.
41937 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
41938 ac_top_srcdir
=$ac_top_build_prefix$srcdir
41939 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
41941 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
41951 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
41952 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
41956 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41957 # If the template does not know about datarootdir, expand it.
41958 # FIXME: This hack should be removed a few years after 2.60.
41959 ac_datarootdir_hack
=; ac_datarootdir_seen
=
41970 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
41971 *datarootdir
*) ac_datarootdir_seen
=yes;;
41972 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
41973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
41974 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
41976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41977 ac_datarootdir_hack='
41978 s&@datadir@&$datadir&g
41979 s&@docdir@&$docdir&g
41980 s&@infodir@&$infodir&g
41981 s&@localedir@&$localedir&g
41982 s&@mandir@&$mandir&g
41983 s&\\\${datarootdir}&$datarootdir&g' ;;
41987 # Neutralize VPATH when `$srcdir' = `.'.
41988 # Shell code in configure.ac might set extrasub.
41989 # FIXME: do we really want to maintain this feature?
41990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41991 ac_sed_extra="$ac_vpsub
41994 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41996 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
41997 s
|@configure_input@
|$ac_sed_conf_input|;t t
41998 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
41999 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42000 s
&@srcdir@
&$ac_srcdir&;t t
42001 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42002 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42003 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42004 s
&@builddir@
&$ac_builddir&;t t
42005 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42006 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42007 s
&@INSTALL@
&$ac_INSTALL&;t t
42008 $ac_datarootdir_hack
42010 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
42011 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42013 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42014 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
42015 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
42016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42017 which seems to be undefined. Please make sure it is defined" >&5
42018 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42019 which seems to be undefined. Please make sure it is defined" >&2;}
42023 -) cat "$tmp/out" && rm -f "$tmp/out";;
42024 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
42026 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42032 if test x"$ac_file" != x-; then
42034 $as_echo "/* $configure_input */" \
42035 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
42036 } >"$tmp/config.h" \
42037 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42038 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
42039 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42040 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42043 mv "$tmp/config.h" "$ac_file" \
42044 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42047 $as_echo "/* $configure_input */" \
42048 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
42049 || as_fn_error $? "could not create -" "$LINENO" 5
42053 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42054 $as_echo "$as_me: executing $ac_file commands" >&6;}
42059 case $ac_file$ac_mode in
42061 mkdir -p $outdir &&
42062 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42064 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42065 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42066 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42067 "wx-config":C
) rm -f wx
-config
42068 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42077 ac_clean_files
=$ac_clean_files_save
42079 test $ac_write_fail = 0 ||
42080 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42083 # configure is writing to config.log, and then calls config.status.
42084 # config.status does its own redirection, appending to config.log.
42085 # Unfortunately, on DOS this fails, as config.log is still kept open
42086 # by configure, so config.status won't be able to write to it; its
42087 # output is simply discarded. So we exec the FD to /dev/null,
42088 # effectively closing config.log, so it can be properly (re)opened and
42089 # appended to by config.status. When coming back to configure, we
42090 # need to make the FD available again.
42091 if test "$no_create" != yes; then
42093 ac_config_status_args
=
42094 test "$silent" = yes &&
42095 ac_config_status_args
="$ac_config_status_args --quiet"
42097 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42099 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42100 # would make configure fail if this is the last instruction.
42101 $ac_cs_success || as_fn_exit
1
42105 # CONFIG_SUBDIRS section.
42107 if test "$no_recursion" != yes; then
42109 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42110 # so they do not pile up.
42111 ac_sub_configure_args
=
42113 eval "set x $ac_configure_args"
42117 if test -n "$ac_prev"; then
42122 -cache-file | --cache-file | --cache-fil | --cache-fi \
42123 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42124 ac_prev
=cache_file
;;
42125 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42126 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42129 --config-cache | -C)
42131 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42133 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42135 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42137 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42139 --disable-option-checking)
42143 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42145 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
42149 # Always prepend --prefix to ensure using the same prefix
42150 # in subdir configurations.
42151 ac_arg
="--prefix=$prefix"
42153 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42155 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
42158 if test "$silent" = yes; then
42159 ac_sub_configure_args
="--silent $ac_sub_configure_args"
42162 # Always prepend --disable-option-checking to silence warnings, since
42163 # different subdirs can have different --enable and --with options.
42164 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
42167 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42169 # Do not complain, so a configure script can configure whichever
42170 # parts of a large source tree are present.
42171 test -d "$srcdir/$ac_dir" || continue
42173 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42174 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42175 $as_echo "$ac_msg" >&6
42176 as_dir
="$ac_dir"; as_fn_mkdir_p
42180 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42182 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42183 # A ".." for each directory in $ac_dir_suffix.
42184 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42185 case $ac_top_builddir_sub in
42186 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42187 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42190 ac_abs_top_builddir
=$ac_pwd
42191 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42192 # for backward compatibility:
42193 ac_top_builddir
=$ac_top_build_prefix
42196 .
) # We are building in place.
42198 ac_top_srcdir
=$ac_top_builddir_sub
42199 ac_abs_top_srcdir
=$ac_pwd ;;
42200 [\\/]* | ?
:[\\/]* ) # Absolute name.
42201 ac_srcdir
=$srcdir$ac_dir_suffix;
42202 ac_top_srcdir
=$srcdir
42203 ac_abs_top_srcdir
=$srcdir ;;
42204 *) # Relative name.
42205 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42206 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42207 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42209 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42214 # Check for guested configure; otherwise get Cygnus style configure.
42215 if test -f "$ac_srcdir/configure.gnu"; then
42216 ac_sub_configure
=$ac_srcdir/configure.gnu
42217 elif test -f "$ac_srcdir/configure"; then
42218 ac_sub_configure
=$ac_srcdir/configure
42219 elif test -f "$ac_srcdir/configure.in"; then
42220 # This should be Cygnus configure.
42221 ac_sub_configure
=$ac_aux_dir/configure
42223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42224 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42228 # The recursion is here.
42229 if test -n "$ac_sub_configure"; then
42230 # Make the cache file name correct relative to the subdirectory.
42231 case $cache_file in
42232 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42233 *) # Relative name.
42234 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
42237 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42238 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42239 # The eval makes quoting arguments work.
42240 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42241 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42242 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42248 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
42249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42250 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42255 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42257 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42258 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42259 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42260 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42261 if test "$wxUSE_UNICODE" = "yes"; then
42262 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42263 echo " (using UTF-8)"
42265 echo " (using wchar_t)"
42271 echo " What level of wxWidgets compatibility should be enabled?"
42272 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42273 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42275 echo " Which libraries should wxWidgets use?"
42276 echo " STL ${wxUSE_STL}"
42277 echo " jpeg ${wxUSE_LIBJPEG-none}"
42278 echo " png ${wxUSE_LIBPNG-none}"
42279 echo " regex ${wxUSE_REGEX}"
42280 echo " tiff ${wxUSE_LIBTIFF-none}"
42281 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42282 echo " xpm ${wxUSE_LIBXPM-none}"
42284 echo " zlib ${wxUSE_ZLIB}"
42285 echo " expat ${wxUSE_EXPAT}"
42286 echo " libmspack ${wxUSE_LIBMSPACK}"
42287 echo " sdl ${wxUSE_LIBSDL}"