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_3_WXUNIV_0
718 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
719 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
720 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
721 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
722 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
723 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
724 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
725 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
727 COND_TOOLKIT_DFB_USE_GUI_1
729 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
730 COND_TOOLKIT_COCOA_USE_GUI_1
733 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
735 COND_SHARED_0_wxUSE_ZLIB_builtin
736 COND_SHARED_0_wxUSE_REGEX_builtin
737 COND_SHARED_0_wxUSE_EXPAT_builtin
738 COND_SHARED_0_USE_STC_1
739 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
740 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
741 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
742 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
743 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
744 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
745 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
747 COND_PLATFORM_WIN32_1_SHARED_0
748 COND_PLATFORM_WIN32_1
749 COND_PLATFORM_WIN32_0
750 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
751 COND_PLATFORM_UNIX_1_USE_GUI_1
752 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
753 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
754 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
755 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
759 COND_PLATFORM_MSDOS_1
760 COND_PLATFORM_MSDOS_0
763 COND_PLATFORM_MACOS_1
764 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
765 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
766 COND_PLATFORM_MACOSX_1_USE_GUI_1
767 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
768 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
769 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
770 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
771 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
772 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
773 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
774 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
775 COND_PLATFORM_MACOSX_1
776 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
777 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
778 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
779 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
780 COND_MONOLITHIC_1_SHARED_1
781 COND_MONOLITHIC_1_SHARED_0
783 COND_MONOLITHIC_0_USE_XRC_1
784 COND_MONOLITHIC_0_USE_WEBVIEW_1
785 COND_MONOLITHIC_0_USE_STC_1
786 COND_MONOLITHIC_0_USE_RICHTEXT_1
787 COND_MONOLITHIC_0_USE_RIBBON_1
788 COND_MONOLITHIC_0_USE_QA_1
789 COND_MONOLITHIC_0_USE_PROPGRID_1
790 COND_MONOLITHIC_0_USE_MEDIA_1
791 COND_MONOLITHIC_0_USE_HTML_1
792 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
793 COND_MONOLITHIC_0_USE_GUI_1
794 COND_MONOLITHIC_0_USE_AUI_1
795 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
796 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
797 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
798 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
799 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
800 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
801 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
802 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
803 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
804 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
805 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
806 COND_MONOLITHIC_0_SHARED_1
807 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
808 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
809 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
810 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
811 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
812 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
813 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
814 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
815 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
816 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
817 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
818 COND_MONOLITHIC_0_SHARED_0
828 COND_BUILD_release_UNICODE_1
829 COND_BUILD_release_UNICODE_0
830 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_debug_UNICODE_0
834 COND_BUILD_debug_DEBUG_INFO_default
835 COND_BUILD_debug_DEBUG_FLAG_default
837 COND_BUILD_RELEASE_UNICODE_1
838 COND_BUILD_RELEASE_UNICODE_0
839 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
841 COND_BUILD_DEBUG_UNICODE_1
842 COND_BUILD_DEBUG_UNICODE_0
843 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
844 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
848 ICC_PCH_CREATE_SWITCH
958 LIBGNOMEPRINTUI_CFLAGS
1050 program_transform_name
1063 enable_option_checking
1069 enable_official_build
1110 with_macosx_version_min
1119 enable_std_containers
1120 enable_std_iostreams
1122 enable_std_string_conv_in_wxstring
1127 enable_extended_rtti
1132 enable_no_exceptions
1135 enable_vararg_macros
1136 enable_universal_binary
1141 enable_objc_uniquifying
1170 enable_dynamicloader
1186 enable_printfposparam
1201 enable_protocol_http
1203 enable_protocol_file
1254 enable_commandlinkbutton
1281 enable_rearrangectrl
1330 enable_accessibility
1333 enable_webviewwebkit
1353 with_gtk_exec_prefix
1355 with_libiconv_prefix
1357 with_sdl_exec_prefix
1359 enable_dependency_tracking
1360 enable_precomp_headers
1362 with_cppunit_exec_prefix
1364 ac_precious_vars='build_alias
1401 LIBGNOMEPRINTUI_CFLAGS
1402 LIBGNOMEPRINTUI_LIBS
1415 ac_subdirs_all='src/tiff
1418 # Initialize some variables set by options.
1420 ac_init_version=false
1421 ac_unrecognized_opts=
1422 ac_unrecognized_sep=
1423 # The variables have the same names as the options, with
1424 # dashes changed to underlines.
1425 cache_file=/dev/null
1432 program_transform_name=s,x,x,
1440 # Installation directory options.
1441 # These are left unexpanded so users can "make install exec_prefix=/foo"
1442 # and all the variables that are supposed to be based on exec_prefix
1443 # by default will actually change.
1444 # Use braces instead of parens because sh, perl, etc. also accept them.
1445 # (The list follows the same order as the GNU Coding Standards.)
1446 bindir='${exec_prefix}/bin'
1447 sbindir='${exec_prefix}/sbin'
1448 libexecdir='${exec_prefix}/libexec'
1449 datarootdir='${prefix}/share'
1450 datadir='${datarootdir}'
1451 sysconfdir='${prefix}/etc'
1452 sharedstatedir='${prefix}/com'
1453 localstatedir='${prefix}/var'
1454 includedir='${prefix}/include'
1455 oldincludedir='/usr/include'
1456 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1457 infodir='${datarootdir}/info'
1462 libdir='${exec_prefix}/lib'
1463 localedir='${datarootdir}/locale'
1464 mandir='${datarootdir}/man'
1470 # If the previous option needs an argument, assign it.
1471 if test -n "$ac_prev"; then
1472 eval $ac_prev=\$ac_option
1478 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1483 # Accept the important Cygnus configure options, so we can diagnose typos.
1485 case $ac_dashdash$ac_option in
1489 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1491 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1492 bindir=$ac_optarg ;;
1494 -build | --build | --buil | --bui | --bu)
1495 ac_prev=build_alias ;;
1496 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1497 build_alias=$ac_optarg ;;
1499 -cache-file | --cache-file | --cache-fil | --cache-fi \
1500 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1501 ac_prev=cache_file ;;
1502 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1503 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1504 cache_file=$ac_optarg ;;
1506 --config-cache | -C)
1507 cache_file=config.cache ;;
1509 -datadir | --datadir | --datadi | --datad)
1511 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1512 datadir=$ac_optarg ;;
1514 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1515 | --dataroo | --dataro | --datar)
1516 ac_prev=datarootdir ;;
1517 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1518 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1519 datarootdir=$ac_optarg ;;
1521 -disable-* | --disable-*)
1522 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1523 # Reject names that are not valid shell variable names.
1524 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1525 as_fn_error $? "invalid feature name: $ac_useropt"
1526 ac_useropt_orig=$ac_useropt
1527 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1528 case $ac_user_opts in
1530 "enable_$ac_useropt"
1532 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1533 ac_unrecognized_sep=', ';;
1535 eval enable_$ac_useropt=no ;;
1537 -docdir | --docdir | --docdi | --doc | --do)
1539 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1540 docdir=$ac_optarg ;;
1542 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1544 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1545 dvidir=$ac_optarg ;;
1547 -enable-* | --enable-*)
1548 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1549 # Reject names that are not valid shell variable names.
1550 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1551 as_fn_error $? "invalid feature name: $ac_useropt"
1552 ac_useropt_orig=$ac_useropt
1553 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1554 case $ac_user_opts in
1556 "enable_$ac_useropt"
1558 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1559 ac_unrecognized_sep=', ';;
1561 eval enable_$ac_useropt=\$ac_optarg ;;
1563 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1564 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1565 | --exec | --exe | --ex)
1566 ac_prev=exec_prefix ;;
1567 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1568 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1569 | --exec=* | --exe=* | --ex=*)
1570 exec_prefix=$ac_optarg ;;
1572 -gas | --gas | --ga | --g)
1573 # Obsolete; use --with-gas.
1576 -help | --help | --hel | --he | -h)
1577 ac_init_help=long ;;
1578 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1579 ac_init_help=recursive ;;
1580 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1581 ac_init_help=short ;;
1583 -host | --host | --hos | --ho)
1584 ac_prev=host_alias ;;
1585 -host=* | --host=* | --hos=* | --ho=*)
1586 host_alias=$ac_optarg ;;
1588 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1590 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1592 htmldir=$ac_optarg ;;
1594 -includedir | --includedir | --includedi | --included | --include \
1595 | --includ | --inclu | --incl | --inc)
1596 ac_prev=includedir ;;
1597 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1598 | --includ=* | --inclu=* | --incl=* | --inc=*)
1599 includedir=$ac_optarg ;;
1601 -infodir | --infodir | --infodi | --infod | --info | --inf)
1603 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1604 infodir=$ac_optarg ;;
1606 -libdir | --libdir | --libdi | --libd)
1608 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1609 libdir=$ac_optarg ;;
1611 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1612 | --libexe | --libex | --libe)
1613 ac_prev=libexecdir ;;
1614 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1615 | --libexe=* | --libex=* | --libe=*)
1616 libexecdir=$ac_optarg ;;
1618 -localedir | --localedir | --localedi | --localed | --locale)
1619 ac_prev=localedir ;;
1620 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1621 localedir=$ac_optarg ;;
1623 -localstatedir | --localstatedir | --localstatedi | --localstated \
1624 | --localstate | --localstat | --localsta | --localst | --locals)
1625 ac_prev=localstatedir ;;
1626 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1627 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1628 localstatedir=$ac_optarg ;;
1630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1633 mandir=$ac_optarg ;;
1635 -nfp | --nfp | --nf)
1636 # Obsolete; use --without-fp.
1639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1640 | --no-cr | --no-c | -n)
1643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1649 | --oldin | --oldi | --old | --ol | --o)
1650 ac_prev=oldincludedir ;;
1651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1654 oldincludedir=$ac_optarg ;;
1656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1659 prefix=$ac_optarg ;;
1661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1662 | --program-pre | --program-pr | --program-p)
1663 ac_prev=program_prefix ;;
1664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1666 program_prefix=$ac_optarg ;;
1668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1669 | --program-suf | --program-su | --program-s)
1670 ac_prev=program_suffix ;;
1671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1673 program_suffix=$ac_optarg ;;
1675 -program-transform-name | --program-transform-name \
1676 | --program-transform-nam | --program-transform-na \
1677 | --program-transform-n | --program-transform- \
1678 | --program-transform | --program-transfor \
1679 | --program-transfo | --program-transf \
1680 | --program-trans | --program-tran \
1681 | --progr-tra | --program-tr | --program-t)
1682 ac_prev=program_transform_name ;;
1683 -program-transform-name=* | --program-transform-name=* \
1684 | --program-transform-nam=* | --program-transform-na=* \
1685 | --program-transform-n=* | --program-transform-=* \
1686 | --program-transform=* | --program-transfor=* \
1687 | --program-transfo=* | --program-transf=* \
1688 | --program-trans=* | --program-tran=* \
1689 | --progr-tra=* | --program-tr=* | --program-t=*)
1690 program_transform_name=$ac_optarg ;;
1692 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1694 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1695 pdfdir=$ac_optarg ;;
1697 -psdir | --psdir | --psdi | --psd | --ps)
1699 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1702 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1703 | -silent | --silent | --silen | --sile | --sil)
1706 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1708 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1710 sbindir=$ac_optarg ;;
1712 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1713 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1714 | --sharedst | --shareds | --shared | --share | --shar \
1716 ac_prev=sharedstatedir ;;
1717 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1718 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1719 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1721 sharedstatedir=$ac_optarg ;;
1723 -site | --site | --sit)
1725 -site=* | --site=* | --sit=*)
1728 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1730 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1731 srcdir=$ac_optarg ;;
1733 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1734 | --syscon | --sysco | --sysc | --sys | --sy)
1735 ac_prev=sysconfdir ;;
1736 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1737 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1738 sysconfdir=$ac_optarg ;;
1740 -target | --target | --targe | --targ | --tar | --ta | --t)
1741 ac_prev=target_alias ;;
1742 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1743 target_alias=$ac_optarg ;;
1745 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1748 -version | --version | --versio | --versi | --vers | -V)
1749 ac_init_version=: ;;
1752 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1753 # Reject names that are not valid shell variable names.
1754 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1755 as_fn_error $? "invalid package name: $ac_useropt"
1756 ac_useropt_orig=$ac_useropt
1757 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1758 case $ac_user_opts in
1762 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1763 ac_unrecognized_sep=', ';;
1765 eval with_$ac_useropt=\$ac_optarg ;;
1767 -without-* | --without-*)
1768 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1769 # Reject names that are not valid shell variable names.
1770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1771 as_fn_error $? "invalid package name: $ac_useropt"
1772 ac_useropt_orig=$ac_useropt
1773 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1774 case $ac_user_opts in
1778 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1779 ac_unrecognized_sep=', ';;
1781 eval with_$ac_useropt=no ;;
1784 # Obsolete; use --with-x.
1787 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1788 | --x-incl | --x-inc | --x-in | --x-i)
1789 ac_prev=x_includes ;;
1790 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1791 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1792 x_includes=$ac_optarg ;;
1794 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1795 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1796 ac_prev=x_libraries ;;
1797 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1798 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1799 x_libraries=$ac_optarg ;;
1801 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1802 Try \`$0 --help' for more information"
1806 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1807 # Reject names that are not valid shell variable names.
1808 case $ac_envvar in #(
1809 '' | [0-9]* | *[!_$as_cr_alnum]* )
1810 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1812 eval $ac_envvar=\$ac_optarg
1813 export $ac_envvar ;;
1816 # FIXME: should be removed in autoconf 3.0.
1817 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1818 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1819 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1820 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1826 if test -n "$ac_prev"; then
1827 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1828 as_fn_error $? "missing argument to $ac_option"
1831 if test -n "$ac_unrecognized_opts"; then
1832 case $enable_option_checking in
1834 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1835 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1839 # Check all directory arguments for consistency.
1840 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1841 datadir sysconfdir sharedstatedir localstatedir includedir \
1842 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1843 libdir localedir mandir
1845 eval ac_val=\$$ac_var
1846 # Remove trailing slashes.
1849 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1850 eval $ac_var=\$ac_val;;
1852 # Be sure to have absolute directory names.
1854 [\\/$]* | ?:[\\/]* ) continue;;
1855 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1857 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1860 # There might be people who depend on the old broken behavior: `$host'
1861 # used to hold the argument of --host etc.
1862 # FIXME: To remove some day.
1865 target=$target_alias
1867 # FIXME: To remove some day.
1868 if test "x$host_alias" != x; then
1869 if test "x$build_alias" = x; then
1870 cross_compiling=maybe
1871 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1872 If a cross compiler is detected then cross compile mode will be used" >&2
1873 elif test "x$build_alias" != "x$host_alias"; then
1879 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1881 test "$silent" = yes && exec 6>/dev/null
1884 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1885 ac_ls_di=`ls -di .` &&
1886 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1887 as_fn_error $? "working directory cannot be determined"
1888 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1889 as_fn_error $? "pwd does not report name of working directory"
1892 # Find the source files, if location was not specified.
1893 if test -z "$srcdir"; then
1894 ac_srcdir_defaulted=yes
1895 # Try the directory containing this script, then the parent directory.
1896 ac_confdir=`$as_dirname -- "$as_myself" ||
1897 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1898 X"$as_myself" : 'X\(//\)[^/]' \| \
1899 X"$as_myself" : 'X\(//\)$' \| \
1900 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1901 $as_echo X"$as_myself" |
1902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1920 if test ! -r "$srcdir/$ac_unique_file"; then
1924 ac_srcdir_defaulted=no
1926 if test ! -r "$srcdir/$ac_unique_file"; then
1927 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1928 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1930 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1932 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1934 # When building in place, set srcdir=.
1935 if test "$ac_abs_confdir" = "$ac_pwd"; then
1938 # Remove unnecessary trailing slashes from srcdir.
1939 # Double slashes in file names in object file debugging info
1940 # mess up M-x gdb in Emacs.
1942 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1944 for ac_var in $ac_precious_vars; do
1945 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1946 eval ac_env_${ac_var}_value=\$${ac_var}
1947 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1948 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1952 # Report the --help message.
1954 if test "$ac_init_help" = "long"; then
1955 # Omit some internal or obsolete options to make the list less imposing.
1956 # This message is too long to be a string in the A/UX 3.1 sh.
1958 \`configure' configures wxWidgets 2.9.4 to adapt to many kinds of systems.
1960 Usage: $0 [OPTION]... [VAR=VALUE]...
1962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1963 VAR=VALUE. See below for descriptions of some of the useful variables.
1965 Defaults for the options are specified in brackets.
1968 -h, --help display this help and exit
1969 --help=short display options specific to this package
1970 --help=recursive display the short help of all the included packages
1971 -V, --version display version information and exit
1972 -q, --quiet, --silent do not print \`checking ...' messages
1973 --cache-file=FILE cache test results in FILE [disabled]
1974 -C, --config-cache alias for \`--cache-file=config.cache'
1975 -n, --no-create do not create output files
1976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1978 Installation directories:
1979 --prefix=PREFIX install architecture-independent files in PREFIX
1980 [$ac_default_prefix]
1981 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1984 By default, \`make install' will install all the files in
1985 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1986 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1987 for instance \`--prefix=\$HOME'.
1989 For better control, use the options below.
1991 Fine tuning of the installation directories:
1992 --bindir=DIR user executables [EPREFIX/bin]
1993 --sbindir=DIR system admin executables [EPREFIX/sbin]
1994 --libexecdir=DIR program executables [EPREFIX/libexec]
1995 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1996 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1997 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1998 --libdir=DIR object code libraries [EPREFIX/lib]
1999 --includedir=DIR C header files [PREFIX/include]
2000 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2001 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2002 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2003 --infodir=DIR info documentation [DATAROOTDIR/info]
2004 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2005 --mandir=DIR man documentation [DATAROOTDIR/man]
2006 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2007 --htmldir=DIR html documentation [DOCDIR]
2008 --dvidir=DIR dvi documentation [DOCDIR]
2009 --pdfdir=DIR pdf documentation [DOCDIR]
2010 --psdir=DIR ps documentation [DOCDIR]
2016 --x-includes=DIR X include files are in DIR
2017 --x-libraries=DIR X library files are in DIR
2020 --build=BUILD configure for building on BUILD [guessed]
2021 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2025 if test -n "$ac_init_help"; then
2026 case $ac_init_help in
2027 short | recursive ) echo "Configuration of wxWidgets 2.9.4:";;
2032 --disable-option-checking ignore unrecognized --enable/--with options
2033 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2034 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2035 --disable-gui don't build GUI parts of the library
2036 --enable-monolithic build wxWidgets as single library
2037 --enable-plugins build parts of wxWidgets as loadable components
2038 --enable-official_build official build of wxWidgets (win32 DLL only)
2039 --enable-vendor=VENDOR vendor name (win32 DLL only)
2040 --disable-all-features disable all optional features to build minimal library
2041 --enable-universal use wxWidgets GUI controls instead of native ones
2042 --enable-nanox use NanoX
2043 --enable-gpe use GNOME PDA Environment features if possible
2044 --enable-debug build library for debugging
2045 --disable-debug_flag disable all debugging support
2046 --enable-debug_info generate debug information
2047 --enable-debug_gdb create code with extra GDB debugging information
2048 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2049 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2050 --disable-shared create static library instead of shared
2051 --enable-stl use standard C++ classes for everything
2052 --enable-std_containers use standard C++ container classes
2053 --enable-std_iostreams use standard C++ stream classes
2054 --enable-std_string use standard C++ string classes
2055 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2056 --disable-unicode compile without Unicode support
2057 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2058 --enable-utf8 use UTF-8 representation for strings (Unix only)
2059 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2060 --enable-extended_rtti use extended RTTI (XTI)
2061 --enable-omf use OMF object format
2062 --disable-optimise compile without optimisations
2063 --enable-profile create code with profiling information
2064 --enable-no_rtti create code without RTTI information
2065 --enable-no_exceptions create code without C++ exceptions handling
2066 --enable-permissive compile code disregarding strict ANSI
2067 --enable-no_deps create code without dependency information
2068 --disable-vararg_macros don't use vararg macros, even if they are supported
2069 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2070 --enable-macosx_arch=ARCH build for just the specified architecture
2071 --enable-compat26 enable wxWidgets 2.6 compatibility
2072 --disable-compat28 disable wxWidgets 2.8 compatibility
2073 --disable-rpath disable use of rpath for uninstalled builds
2074 --enable-objc_uniquifying enable Objective-C class name uniquifying
2075 --disable-visibility disable use of ELF symbols visibility even if supported
2076 --disable-tls disable use of compiler TLS support
2077 --enable-intl use internationalization system
2078 --enable-xlocale use x-locale support (requires wxLocale)
2079 --enable-config use wxConfig (and derived) classes
2080 --enable-protocols use wxProtocol and derived classes
2081 --enable-ftp use wxFTP (requires wxProtocol
2082 --enable-http use wxHTTP (requires wxProtocol
2083 --enable-fileproto use wxFileProto class (requires wxProtocol
2084 --enable-sockets use socket/network classes
2085 --enable-ipv6 enable IPv6 support in wxSocket
2086 --enable-ole use OLE classes (Win32 only)
2087 --enable-dataobj use data object classes
2088 --enable-ipc use interprocess communication (wxSocket etc.)
2089 --enable-baseevtloop use event loop in console programs too
2090 --enable-epollloop use wxEpollDispatcher class (Linux only)
2091 --enable-selectloop use wxSelectDispatcher class
2092 --enable-any use wxAny class
2093 --enable-apple_ieee use the Apple IEEE codec
2094 --enable-arcstream use wxArchive streams
2095 --enable-base64 use base64 encoding/decoding functions
2096 --enable-backtrace use wxStackWalker class for getting backtraces
2097 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2098 --enable-cmdline use wxCmdLineParser class
2099 --enable-datetime use wxDateTime class
2100 --enable-debugreport use wxDebugReport class
2101 --enable-dialupman use dialup network classes
2102 --enable-dynlib use wxLibrary class for DLL loading
2103 --enable-dynamicloader use (new) wxDynamicLibrary class
2104 --enable-exceptions build exception-safe library
2105 --enable-ffile use wxFFile class
2106 --enable-file use wxFile class
2107 --enable-filehistory use wxFileHistory class
2108 --enable-filesystem use virtual file systems classes
2109 --enable-fontenum use wxFontEnumerator class
2110 --enable-fontmap use font encodings conversion classes
2111 --enable-fs_archive use virtual archive filesystems
2112 --enable-fs_inet use virtual HTTP/FTP filesystems
2113 --enable-fs_zip now replaced by fs_archive
2114 --enable-fswatcher use wxFileSystemWatcher class
2115 --enable-geometry use geometry class
2116 --enable-log use logging system
2117 --enable-longlong use wxLongLong class
2118 --enable-mimetype use wxMimeTypesManager
2119 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2120 --enable-snglinst use wxSingleInstanceChecker class
2121 --enable-sound use wxSound class
2122 --enable-stdpaths use wxStandardPaths class
2123 --enable-stopwatch use wxStopWatch class
2124 --enable-streams use wxStream etc classes
2125 --enable-sysoptions use wxSystemOptions
2126 --enable-tarstream use wxTar streams
2127 --enable-textbuf use wxTextBuffer class
2128 --enable-textfile use wxTextFile class
2129 --enable-timer use wxTimer class
2130 --enable-variant use wxVariant class
2131 --enable-zipstream use wxZip streams
2132 --enable-url use wxURL class
2133 --enable-protocol use wxProtocol class
2134 --enable-protocol-http HTTP support in wxProtocol
2135 --enable-protocol-ftp FTP support in wxProtocol
2136 --enable-protocol-file FILE support in wxProtocol
2137 --enable-threads use threads
2138 --enable-iniconf use wxIniConfig (Win32 only)
2139 --enable-regkey use wxRegKey class (Win32 only)
2140 --enable-docview use document view architecture
2141 --enable-help use help subsystem
2142 --enable-mshtmlhelp use MS HTML Help (win32)
2143 --enable-html use wxHTML sub-library
2144 --enable-htmlhelp use wxHTML-based help
2145 --enable-xrc use XRC resources sub-library
2146 --enable-aui use AUI docking library
2147 --enable-propgrid use wxPropertyGrid library
2148 --enable-ribbon use wxRibbon library
2149 --enable-stc use wxStyledTextCtrl library
2150 --enable-constraints use layout-constraints system
2151 --enable-loggui use standard GUI logger
2152 --enable-logwin use wxLogWindow
2153 --enable-logdialog use wxLogDialog
2154 --enable-mdi use multiple document interface architecture
2155 --enable-mdidoc use docview architecture with MDI
2156 --enable-mediactrl use wxMediaCtrl class
2157 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2158 --enable-richtext use wxRichTextCtrl
2159 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2160 --enable-printarch use printing architecture
2161 --enable-svg use wxSVGFileDC device context
2162 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2163 --enable-webview use wxWebView library
2164 --enable-graphics_ctx use graphics context 2D drawing API
2165 --enable-clipboard use wxClipboard class
2166 --enable-dnd use Drag'n'Drop classes
2167 --disable-controls disable compilation of all standard controls
2168 --enable-markup support wxControl::SetLabelMarkup
2169 --enable-accel use accelerators
2170 --enable-animatectrl use wxAnimationCtrl class
2171 --enable-bannerwindow use wxBannerWindow class
2172 --enable-artstd use standard XPM icons in wxArtProvider
2173 --enable-arttango use Tango icons in wxArtProvider
2174 --enable-bmpbutton use wxBitmapButton class
2175 --enable-bmpcombobox use wxBitmapComboBox class
2176 --enable-button use wxButton class
2177 --enable-calendar use wxCalendarCtrl class
2178 --enable-caret use wxCaret class
2179 --enable-checkbox use wxCheckBox class
2180 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2181 --enable-choice use wxChoice class
2182 --enable-choicebook use wxChoicebook class
2183 --enable-collpane use wxCollapsiblePane class
2184 --enable-colourpicker use wxColourPickerCtrl class
2185 --enable-combobox use wxComboBox class
2186 --enable-comboctrl use wxComboCtrl class
2187 --enable-commandlinkbutton use wxCommmandLinkButton class
2188 --enable-dataviewctrl use wxDataViewCtrl class
2189 --enable-datepick use wxDatePickerCtrl class
2190 --enable-detect_sm use code to detect X11 session manager
2191 --enable-dirpicker use wxDirPickerCtrl class
2192 --enable-display use wxDisplay class
2193 --enable-editablebox use wxEditableListBox class
2194 --enable-filectrl use wxFileCtrl class
2195 --enable-filepicker use wxFilePickerCtrl class
2196 --enable-fontpicker use wxFontPickerCtrl class
2197 --enable-gauge use wxGauge class
2198 --enable-grid use wxGrid class
2199 --enable-headerctrl use wxHeaderCtrl class
2200 --enable-hyperlink use wxHyperlinkCtrl class
2201 --enable-imaglist use wxImageList class
2202 --enable-infobar use wxInfoBar class
2203 --enable-listbook use wxListbook class
2204 --enable-listbox use wxListBox class
2205 --enable-listctrl use wxListCtrl class
2206 --enable-notebook use wxNotebook class
2207 --enable-notifmsg use wxNotificationMessage class
2208 --enable-odcombobox use wxOwnerDrawnComboBox class
2209 --enable-popupwin use wxPopUpWindow class
2210 --enable-radiobox use wxRadioBox class
2211 --enable-radiobtn use wxRadioButton class
2212 --enable-richmsgdlg use wxRichMessageDialog class
2213 --enable-richtooltip use wxRichToolTip class
2214 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2215 --enable-sash use wxSashWindow class
2216 --enable-scrollbar use wxScrollBar class and scrollable windows
2217 --enable-searchctrl use wxSearchCtrl class
2218 --enable-slider use wxSlider class
2219 --enable-spinbtn use wxSpinButton class
2220 --enable-spinctrl use wxSpinCtrl class
2221 --enable-splitter use wxSplitterWindow class
2222 --enable-statbmp use wxStaticBitmap class
2223 --enable-statbox use wxStaticBox class
2224 --enable-statline use wxStaticLine class
2225 --enable-stattext use wxStaticText class
2226 --enable-statusbar use wxStatusBar class
2227 --enable-taskbaricon use wxTaskBarIcon class
2228 --enable-tbarnative use native wxToolBar class
2229 --enable-textctrl use wxTextCtrl class
2230 --enable-timepick use wxTimePickerCtrl class
2231 --enable-tipwindow use wxTipWindow class
2232 --enable-togglebtn use wxToggleButton class
2233 --enable-toolbar use wxToolBar class
2234 --enable-toolbook use wxToolbook class
2235 --enable-treebook use wxTreebook class
2236 --enable-treectrl use wxTreeCtrl class
2237 --enable-treelist use wxTreeListCtrl class
2238 --enable-commondlg use all common dialogs
2239 --enable-aboutdlg use wxAboutBox
2240 --enable-choicedlg use wxChoiceDialog
2241 --enable-coldlg use wxColourDialog
2242 --enable-filedlg use wxFileDialog
2243 --enable-finddlg use wxFindReplaceDialog
2244 --enable-fontdlg use wxFontDialog
2245 --enable-dirdlg use wxDirDialog
2246 --enable-msgdlg use wxMessageDialog
2247 --enable-numberdlg use wxNumberEntryDialog
2248 --enable-splash use wxSplashScreen
2249 --enable-textdlg use wxTextDialog
2250 --enable-tipdlg use startup tips
2251 --enable-progressdlg use wxProgressDialog
2252 --enable-wizarddlg use wxWizard
2253 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2254 --enable-miniframe use wxMiniFrame class
2255 --enable-tooltips use wxToolTip class
2256 --enable-splines use spline drawing code
2257 --enable-mousewheel use mousewheel
2258 --enable-validators use wxValidator and derived classes
2259 --enable-busyinfo use wxBusyInfo
2260 --enable-hotkey use wxWindow::RegisterHotKey()
2261 --enable-joystick use wxJoystick
2262 --enable-metafiles use wxMetaFile
2263 --enable-dragimage use wxDragImage
2264 --enable-accessibility enable accessibility support
2265 --enable-uiactionsim use wxUIActionSimulator (experimental)
2266 --enable-dctransform use wxDC::SetTransformMatrix and related
2267 --enable-webview-webkit use wxWebView WebKit backend
2268 --enable-palette use wxPalette class
2269 --enable-image use wxImage class
2270 --enable-gif use gif images (GIF file format)
2271 --enable-pcx use pcx images (PCX file format)
2272 --enable-tga use tga images (TGA file format)
2273 --enable-iff use iff images (IFF file format)
2274 --enable-pnm use pnm images (PNM file format)
2275 --enable-xpm use xpm images (XPM file format)
2276 --enable-ico_cur use Windows ICO and CUR formats
2277 --enable-dccache cache temporary wxDC objects (Win32 only)
2278 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2279 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2280 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2281 --enable-wxdib use wxDIB class (Win32 only)
2282 --enable-webview-ie use wxWebView IE backend (Win32 only)
2283 --enable-autoidman use automatic ids management
2284 --disable-largefile omit support for large files
2285 --disable-gtktest do not try to compile and run a test GTK+ program
2286 --disable-gtktest Do not try to compile and run a test GTK program
2287 --disable-sdltest Do not try to compile and run a test SDL program
2288 --enable-omf use OMF object format (OS/2)
2289 --disable-dependency-tracking
2290 don't use dependency tracking even if the compiler
2292 --disable-precomp-headers
2293 don't use precompiled headers even if compiler can
2296 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2297 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2298 --without-subdirs don't generate makefiles for samples/demos/...
2299 --with-flavour=NAME specify a name to identify this build
2300 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2301 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2302 --with-motif use Motif/Lesstif
2303 --with-osx_carbon use Mac OS X (Carbon)
2304 --with-osx_cocoa use Mac OS X (Cocoa)
2305 --with-osx_iphone use iPhone OS X port
2306 --with-osx use Mac OS X (default port, currently Carbon)
2307 --with-carbon same as --with-osx_carbon
2308 --with-cocoa same as --with-osx_cocoa
2309 --with-iphone same as --with-osx_iphone
2310 --with-mac same as --with-osx
2311 --with-old_cocoa use old, deprecated, Cocoa port
2312 --with-wine use Wine
2313 --with-msw use MS-Windows
2314 --with-pm use OS/2 Presentation Manager
2315 --with-directfb use DirectFB
2316 --with-microwin use MicroWindows
2318 --with-libpng use libpng (PNG image format)
2319 --with-libjpeg use libjpeg (JPEG file format)
2320 --with-libtiff use libtiff (TIFF file format)
2321 --with-libxpm use libxpm (XPM file format)
2322 --with-libiconv use libiconv (character conversion)
2323 --with-libmspack use libmspack (CHM help files loading)
2324 --without-gtkprint don't use GTK printing support
2325 --without-gnomeprint don't use GNOME printing libraries
2326 --with-gnomevfs use GNOME VFS for associating MIME types
2327 --with-hildon use Hildon framework for Nokia 770/800/810
2328 --with-opengl use OpenGL (or Mesa)
2329 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2330 --with-sdl use SDL for audio on Unix
2331 --with-regex enable support for wxRegEx class
2332 --with-zlib use zlib for LZW compression
2333 --with-expat enable XML support using expat parser
2334 --with-macosx-sdk=PATH use an OS X SDK at PATH
2335 --with-macosx-version-min=VER build binaries which require at least this OS X version
2336 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2337 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2338 --with-x use the X Window System
2339 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2340 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2341 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2342 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2343 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2345 Some influential environment variables:
2346 CC C compiler command
2347 CFLAGS C compiler flags
2348 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2349 nonstandard directory <lib dir>
2350 LIBS libraries to pass to the linker, e.g. -l<library>
2351 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2352 you have headers in a nonstandard directory <include dir>
2354 CXX C++ compiler command
2355 CXXFLAGS C++ compiler flags
2356 CXXCPP C++ preprocessor
2357 PKG_CONFIG path to pkg-config utility
2359 C compiler flags for DIRECTFB, overriding pkg-config
2361 linker flags for DIRECTFB, overriding pkg-config
2362 XMKMF Path to xmkmf, Makefile generator for X Window System
2364 C compiler flags for PANGOX, overriding pkg-config
2365 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2367 C compiler flags for PANGOFT2, overriding pkg-config
2369 linker flags for PANGOFT2, overriding pkg-config
2371 C compiler flags for PANGOXFT, overriding pkg-config
2373 linker flags for PANGOXFT, overriding pkg-config
2375 C compiler flags for Xinerama, overriding pkg-config
2377 linker flags for Xinerama, overriding pkg-config
2379 C compiler flags for Xxf86vm, overriding pkg-config
2381 linker flags for Xxf86vm, overriding pkg-config
2382 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2383 SM_LIBS linker flags for SM, overriding pkg-config
2384 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2385 GL_LIBS linker flags for GL, overriding pkg-config
2386 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2387 GLU_LIBS linker flags for GLU, overriding pkg-config
2389 C compiler flags for MesaGL, overriding pkg-config
2390 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2392 C compiler flags for GTKPRINT, overriding pkg-config
2394 linker flags for GTKPRINT, overriding pkg-config
2395 LIBGNOMEPRINTUI_CFLAGS
2396 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2397 LIBGNOMEPRINTUI_LIBS
2398 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2400 C compiler flags for GNOMEVFS, overriding pkg-config
2402 linker flags for GNOMEVFS, overriding pkg-config
2404 C compiler flags for HILDON, overriding pkg-config
2405 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2407 C compiler flags for HILDON2, overriding pkg-config
2409 linker flags for HILDON2, overriding pkg-config
2411 C compiler flags for WEBKIT, overriding pkg-config
2412 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2414 C compiler flags for CAIRO, overriding pkg-config
2415 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2416 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2417 GST_LIBS linker flags for GST, overriding pkg-config
2419 Use these variables to override the choices made by `configure' or to help
2420 it to find libraries and programs with nonstandard names/locations.
2422 Report bugs to <wx-dev@lists.wxwidgets.org>.
2427 if test "$ac_init_help" = "recursive"; then
2428 # If there are subdirs, report their specific --help.
2429 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2430 test -d "$ac_dir" ||
2431 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2436 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2438 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2439 # A ".." for each directory in $ac_dir_suffix.
2440 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2441 case $ac_top_builddir_sub in
2442 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2443 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2446 ac_abs_top_builddir=$ac_pwd
2447 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2448 # for backward compatibility:
2449 ac_top_builddir=$ac_top_build_prefix
2452 .) # We are building in place.
2454 ac_top_srcdir=$ac_top_builddir_sub
2455 ac_abs_top_srcdir=$ac_pwd ;;
2456 [\\/]* | ?:[\\/]* ) # Absolute name.
2457 ac_srcdir=$srcdir$ac_dir_suffix;
2458 ac_top_srcdir=$srcdir
2459 ac_abs_top_srcdir=$srcdir ;;
2461 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2462 ac_top_srcdir=$ac_top_build_prefix$srcdir
2463 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2465 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2467 cd "$ac_dir" || { ac_status=$?; continue; }
2468 # Check for guested configure.
2469 if test -f "$ac_srcdir/configure.gnu"; then
2471 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2472 elif test -f "$ac_srcdir/configure"; then
2474 $SHELL "$ac_srcdir/configure" --help=recursive
2476 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2478 cd "$ac_pwd" || { ac_status=$?; break; }
2482 test -n "$ac_init_help" && exit $ac_status
2483 if $ac_init_version; then
2485 wxWidgets configure 2.9.4
2486 generated by GNU Autoconf 2.67
2488 Copyright (C) 2010 Free Software Foundation, Inc.
2489 This configure script is free software; the Free Software Foundation
2490 gives unlimited permission to copy, distribute and modify it.
2495 ## ------------------------ ##
2496 ## Autoconf initialization. ##
2497 ## ------------------------ ##
2499 # ac_fn_c_try_compile LINENO
2500 # --------------------------
2501 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2502 ac_fn_c_try_compile ()
2504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2505 rm -f conftest.$ac_objext
2506 if { { ac_try="$ac_compile"
2508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2509 *) ac_try_echo=$ac_try;;
2511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2512 $as_echo "$ac_try_echo"; } >&5
2513 (eval "$ac_compile") 2>conftest.err
2515 if test -s conftest.err; then
2516 grep -v '^ *+' conftest.err >conftest.er1
2517 cat conftest.er1 >&5
2518 mv -f conftest.er1 conftest.err
2520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2521 test $ac_status = 0; } && {
2522 test -z "$ac_c_werror_flag" ||
2523 test ! -s conftest.err
2524 } && test -s conftest.$ac_objext; then :
2527 $as_echo "$as_me: failed program was:" >&5
2528 sed 's/^/| /' conftest.$ac_ext >&5
2532 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2533 as_fn_set_status $ac_retval
2535 } # ac_fn_c_try_compile
2537 # ac_fn_c_try_cpp LINENO
2538 # ----------------------
2539 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2543 if { { ac_try="$ac_cpp conftest.$ac_ext"
2545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2546 *) ac_try_echo=$ac_try;;
2548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2549 $as_echo "$ac_try_echo"; } >&5
2550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2552 if test -s conftest.err; then
2553 grep -v '^ *+' conftest.err >conftest.er1
2554 cat conftest.er1 >&5
2555 mv -f conftest.er1 conftest.err
2557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2558 test $ac_status = 0; } > conftest.i && {
2559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2560 test ! -s conftest.err
2564 $as_echo "$as_me: failed program was:" >&5
2565 sed 's/^/| /' conftest.$ac_ext >&5
2569 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2570 as_fn_set_status $ac_retval
2574 # ac_fn_cxx_try_compile LINENO
2575 # ----------------------------
2576 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2577 ac_fn_cxx_try_compile ()
2579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2580 rm -f conftest.$ac_objext
2581 if { { ac_try="$ac_compile"
2583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2584 *) ac_try_echo=$ac_try;;
2586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2587 $as_echo "$ac_try_echo"; } >&5
2588 (eval "$ac_compile") 2>conftest.err
2590 if test -s conftest.err; then
2591 grep -v '^ *+' conftest.err >conftest.er1
2592 cat conftest.er1 >&5
2593 mv -f conftest.er1 conftest.err
2595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2596 test $ac_status = 0; } && {
2597 test -z "$ac_cxx_werror_flag" ||
2598 test ! -s conftest.err
2599 } && test -s conftest.$ac_objext; then :
2602 $as_echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2607 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2608 as_fn_set_status $ac_retval
2610 } # ac_fn_cxx_try_compile
2612 # ac_fn_c_try_link LINENO
2613 # -----------------------
2614 # Try to link conftest.$ac_ext, and return whether this succeeded.
2617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2618 rm -f conftest.$ac_objext conftest$ac_exeext
2619 if { { ac_try="$ac_link"
2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2625 $as_echo "$ac_try_echo"; } >&5
2626 (eval "$ac_link") 2>conftest.err
2628 if test -s conftest.err; then
2629 grep -v '^ *+' conftest.err >conftest.er1
2630 cat conftest.er1 >&5
2631 mv -f conftest.er1 conftest.err
2633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2634 test $ac_status = 0; } && {
2635 test -z "$ac_c_werror_flag" ||
2636 test ! -s conftest.err
2637 } && test -s conftest$ac_exeext && {
2638 test "$cross_compiling" = yes ||
2639 $as_test_x conftest$ac_exeext
2643 $as_echo "$as_me: failed program was:" >&5
2644 sed 's/^/| /' conftest.$ac_ext >&5
2648 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2649 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2650 # interfere with the next link command; also delete a directory that is
2651 # left behind by Apple's compiler. We do this before executing the actions.
2652 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2653 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2654 as_fn_set_status $ac_retval
2656 } # ac_fn_c_try_link
2658 # ac_fn_cxx_try_link LINENO
2659 # -------------------------
2660 # Try to link conftest.$ac_ext, and return whether this succeeded.
2661 ac_fn_cxx_try_link ()
2663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2664 rm -f conftest.$ac_objext conftest$ac_exeext
2665 if { { ac_try="$ac_link"
2667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2668 *) ac_try_echo=$ac_try;;
2670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2671 $as_echo "$ac_try_echo"; } >&5
2672 (eval "$ac_link") 2>conftest.err
2674 if test -s conftest.err; then
2675 grep -v '^ *+' conftest.err >conftest.er1
2676 cat conftest.er1 >&5
2677 mv -f conftest.er1 conftest.err
2679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2680 test $ac_status = 0; } && {
2681 test -z "$ac_cxx_werror_flag" ||
2682 test ! -s conftest.err
2683 } && test -s conftest$ac_exeext && {
2684 test "$cross_compiling" = yes ||
2685 $as_test_x conftest$ac_exeext
2689 $as_echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.$ac_ext >&5
2694 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2695 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2696 # interfere with the next link command; also delete a directory that is
2697 # left behind by Apple's compiler. We do this before executing the actions.
2698 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2699 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2700 as_fn_set_status $ac_retval
2702 } # ac_fn_cxx_try_link
2704 # ac_fn_c_try_run LINENO
2705 # ----------------------
2706 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2707 # that executables *can* be run.
2710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2711 if { { ac_try="$ac_link"
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2717 $as_echo "$ac_try_echo"; } >&5
2718 (eval "$ac_link") 2>&5
2720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2721 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2722 { { case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2727 $as_echo "$ac_try_echo"; } >&5
2728 (eval "$ac_try") 2>&5
2730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2731 test $ac_status = 0; }; }; then :
2734 $as_echo "$as_me: program exited with status $ac_status" >&5
2735 $as_echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2738 ac_retval=$ac_status
2740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2741 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2742 as_fn_set_status $ac_retval
2746 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2747 # -------------------------------------------------------
2748 # Tests whether HEADER exists and can be compiled using the include files in
2749 # INCLUDES, setting the cache variable VAR accordingly.
2750 ac_fn_c_check_header_compile ()
2752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2754 $as_echo_n "checking for $2... " >&6; }
2755 if eval "test \"\${$3+set}\"" = set; then :
2756 $as_echo_n "(cached) " >&6
2758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2759 /* end confdefs.h. */
2763 if ac_fn_c_try_compile "$LINENO"; then :
2768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2772 $as_echo "$ac_res" >&6; }
2773 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2775 } # ac_fn_c_check_header_compile
2777 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2778 # --------------------------------------------
2779 # Tries to find the compile-time value of EXPR in a program that includes
2780 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2782 ac_fn_c_compute_int ()
2784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2785 if test "$cross_compiling" = yes; then
2786 # Depending upon the size, compute the lo and hi bounds.
2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2793 static int test_array [1 - 2 * !(($2) >= 0)];
2800 if ac_fn_c_try_compile "$LINENO"; then :
2803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2804 /* end confdefs.h. */
2809 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2816 if ac_fn_c_try_compile "$LINENO"; then :
2817 ac_hi=$ac_mid; break
2819 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2820 if test $ac_lo -le $ac_mid; then
2824 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h. */
2835 static int test_array [1 - 2 * !(($2) < 0)];
2842 if ac_fn_c_try_compile "$LINENO"; then :
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h. */
2851 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2858 if ac_fn_c_try_compile "$LINENO"; then :
2859 ac_lo=$ac_mid; break
2861 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2862 if test $ac_mid -le $ac_hi; then
2866 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2876 # Binary search between lo and hi bounds.
2877 while test "x$ac_lo" != "x$ac_hi"; do
2878 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2885 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2892 if ac_fn_c_try_compile "$LINENO"; then :
2895 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2900 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2907 static long int longval () { return $2; }
2908 static unsigned long int ulongval () { return $2; }
2915 FILE *f = fopen ("conftest.val", "w");
2920 long int i = longval ();
2923 fprintf (f, "%ld", i);
2927 unsigned long int i = ulongval ();
2930 fprintf (f, "%lu", i);
2932 /* Do not output a trailing newline, as this causes \r\n confusion
2933 on some platforms. */
2934 return ferror (f) || fclose (f) != 0;
2940 if ac_fn_c_try_run "$LINENO"; then :
2941 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2945 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2946 conftest.$ac_objext conftest.beam conftest.$ac_ext
2950 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2951 as_fn_set_status $ac_retval
2953 } # ac_fn_c_compute_int
2955 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2956 # ---------------------------------------------------------
2957 # Tests whether HEADER exists and can be compiled using the include files in
2958 # INCLUDES, setting the cache variable VAR accordingly.
2959 ac_fn_cxx_check_header_compile ()
2961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2963 $as_echo_n "checking for $2... " >&6; }
2964 if eval "test \"\${$3+set}\"" = set; then :
2965 $as_echo_n "(cached) " >&6
2967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2968 /* end confdefs.h. */
2972 if ac_fn_cxx_try_compile "$LINENO"; then :
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2981 $as_echo "$ac_res" >&6; }
2982 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2984 } # ac_fn_cxx_check_header_compile
2986 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2987 # ---------------------------------------------
2988 # Tests whether TYPE exists after having included INCLUDES, setting cache
2989 # variable VAR accordingly.
2990 ac_fn_cxx_check_type ()
2992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2994 $as_echo_n "checking for $2... " >&6; }
2995 if eval "test \"\${$3+set}\"" = set; then :
2996 $as_echo_n "(cached) " >&6
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3011 if ac_fn_cxx_try_compile "$LINENO"; then :
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013 /* end confdefs.h. */
3024 if ac_fn_cxx_try_compile "$LINENO"; then :
3029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3035 $as_echo "$ac_res" >&6; }
3036 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3038 } # ac_fn_cxx_check_type
3040 # ac_fn_cxx_try_cpp LINENO
3041 # ------------------------
3042 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3043 ac_fn_cxx_try_cpp ()
3045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3046 if { { ac_try="$ac_cpp conftest.$ac_ext"
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3052 $as_echo "$ac_try_echo"; } >&5
3053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3055 if test -s conftest.err; then
3056 grep -v '^ *+' conftest.err >conftest.er1
3057 cat conftest.er1 >&5
3058 mv -f conftest.er1 conftest.err
3060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3061 test $ac_status = 0; } > conftest.i && {
3062 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3063 test ! -s conftest.err
3067 $as_echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.$ac_ext >&5
3072 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3073 as_fn_set_status $ac_retval
3075 } # ac_fn_cxx_try_cpp
3077 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3078 # ---------------------------------------------------------
3079 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3080 # the include files in INCLUDES and setting the cache variable VAR
3082 ac_fn_cxx_check_header_mongrel ()
3084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3085 if eval "test \"\${$3+set}\"" = set; then :
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3087 $as_echo_n "checking for $2... " >&6; }
3088 if eval "test \"\${$3+set}\"" = set; then :
3089 $as_echo_n "(cached) " >&6
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3093 $as_echo "$ac_res" >&6; }
3095 # Is the header compilable?
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3097 $as_echo_n "checking $2 usability... " >&6; }
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3103 if ac_fn_cxx_try_compile "$LINENO"; then :
3104 ac_header_compiler=yes
3106 ac_header_compiler=no
3108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3110 $as_echo "$ac_header_compiler" >&6; }
3112 # Is the header present?
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3114 $as_echo_n "checking $2 presence... " >&6; }
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3119 if ac_fn_cxx_try_cpp "$LINENO"; then :
3120 ac_header_preproc=yes
3122 ac_header_preproc=no
3124 rm -f conftest.err conftest.i conftest.$ac_ext
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3126 $as_echo "$ac_header_preproc" >&6; }
3128 # So? What about this header?
3129 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3132 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3134 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3138 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3140 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3142 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3144 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3146 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3147 ( $as_echo "## ----------------------------------------- ##
3148 ## Report this to wx-dev@lists.wxwidgets.org ##
3149 ## ----------------------------------------- ##"
3150 ) | sed "s/^/$as_me: WARNING: /" >&2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3154 $as_echo_n "checking for $2... " >&6; }
3155 if eval "test \"\${$3+set}\"" = set; then :
3156 $as_echo_n "(cached) " >&6
3158 eval "$3=\$ac_header_compiler"
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3162 $as_echo "$ac_res" >&6; }
3164 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3166 } # ac_fn_cxx_check_header_mongrel
3168 # ac_fn_c_check_func LINENO FUNC VAR
3169 # ----------------------------------
3170 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3171 ac_fn_c_check_func ()
3173 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3175 $as_echo_n "checking for $2... " >&6; }
3176 if eval "test \"\${$3+set}\"" = set; then :
3177 $as_echo_n "(cached) " >&6
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3181 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3183 #define $2 innocuous_$2
3185 /* System header to define __stub macros and hopefully few prototypes,
3186 which can conflict with char $2 (); below.
3187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3188 <limits.h> exists even on freestanding compilers. */
3191 # include <limits.h>
3193 # include <assert.h>
3198 /* Override any GCC internal prototype to avoid an error.
3199 Use char because int might match the return type of a GCC
3200 builtin and then its argument prototype would still apply. */
3205 /* The GNU C library defines this for functions which it implements
3206 to always fail with ENOSYS. Some functions are actually named
3207 something starting with __ and the normal name is an alias. */
3208 #if defined __stub_$2 || defined __stub___$2
3220 if ac_fn_c_try_link "$LINENO"; then :
3225 rm -f core conftest.err conftest.$ac_objext \
3226 conftest$ac_exeext conftest.$ac_ext
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3230 $as_echo "$ac_res" >&6; }
3231 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3233 } # ac_fn_c_check_func
3235 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3236 # -------------------------------------------
3237 # Tests whether TYPE exists after having included INCLUDES, setting cache
3238 # variable VAR accordingly.
3239 ac_fn_c_check_type ()
3241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3243 $as_echo_n "checking for $2... " >&6; }
3244 if eval "test \"\${$3+set}\"" = set; then :
3245 $as_echo_n "(cached) " >&6
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3260 if ac_fn_c_try_compile "$LINENO"; then :
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3273 if ac_fn_c_try_compile "$LINENO"; then :
3278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3284 $as_echo "$ac_res" >&6; }
3285 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3287 } # ac_fn_c_check_type
3289 # ac_fn_cxx_try_run LINENO
3290 # ------------------------
3291 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3292 # that executables *can* be run.
3293 ac_fn_cxx_try_run ()
3295 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3296 if { { ac_try="$ac_link"
3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3299 *) ac_try_echo=$ac_try;;
3301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3302 $as_echo "$ac_try_echo"; } >&5
3303 (eval "$ac_link") 2>&5
3305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3306 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3307 { { case "(($ac_try" in
3308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3309 *) ac_try_echo=$ac_try;;
3311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3312 $as_echo "$ac_try_echo"; } >&5
3313 (eval "$ac_try") 2>&5
3315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3316 test $ac_status = 0; }; }; then :
3319 $as_echo "$as_me: program exited with status $ac_status" >&5
3320 $as_echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3323 ac_retval=$ac_status
3325 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3326 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3327 as_fn_set_status $ac_retval
3329 } # ac_fn_cxx_try_run
3330 cat >config.log <<_ACEOF
3331 This file contains any messages produced by compilers while
3332 running configure, to aid debugging if configure makes a mistake.
3334 It was created by wxWidgets $as_me 2.9.4, which was
3335 generated by GNU Autoconf 2.67. Invocation command line was
3347 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3348 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3349 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3350 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3351 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3353 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3354 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3356 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3357 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3358 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3359 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3360 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3361 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3362 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370 test -z "$as_dir" && as_dir=.
3371 $as_echo "PATH: $as_dir"
3387 # Keep a trace of the command line.
3388 # Strip out --no-create and --no-recursion so they do not pile up.
3389 # Strip out --silent because we don't want to record it for future runs.
3390 # Also quote any args containing shell meta-characters.
3391 # Make two passes to allow for proper duplicate-argument suppression.
3395 ac_must_keep_next=false
3401 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3402 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3403 | -silent | --silent | --silen | --sile | --sil)
3406 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3409 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3411 as_fn_append ac_configure_args1 " '$ac_arg'"
3412 if test $ac_must_keep_next = true; then
3413 ac_must_keep_next=false # Got value, back to normal.
3416 *=* | --config-cache | -C | -disable-* | --disable-* \
3417 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3418 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3419 | -with-* | --with-* | -without-* | --without-* | --x)
3420 case "$ac_configure_args0 " in
3421 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3424 -* ) ac_must_keep_next=true ;;
3427 as_fn_append ac_configure_args " '$ac_arg'"
3432 { ac_configure_args0=; unset ac_configure_args0;}
3433 { ac_configure_args1=; unset ac_configure_args1;}
3435 # When interrupted or exit'd, cleanup temporary files, and complete
3436 # config.log. We remove comments because anyway the quotes in there
3437 # would cause problems or look ugly.
3438 # WARNING: Use '\'' to represent an apostrophe within the trap.
3439 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3440 trap 'exit_status=$?
3441 # Save into config.log some information that might help in debugging.
3445 $as_echo "## ---------------- ##
3446 ## Cache variables. ##
3447 ## ---------------- ##"
3449 # The following way of writing the cache mishandles newlines in values,
3451 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3452 eval ac_val=\$$ac_var
3456 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3457 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3460 _ | IFS | as_nl) ;; #(
3461 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3462 *) { eval $ac_var=; unset $ac_var;} ;;
3467 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3468 *${as_nl}ac_space=\ *)
3470 "s/'\''/'\''\\\\'\'''\''/g;
3471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3474 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3481 $as_echo "## ----------------- ##
3482 ## Output variables. ##
3483 ## ----------------- ##"
3485 for ac_var in $ac_subst_vars
3487 eval ac_val=\$$ac_var
3489 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3491 $as_echo "$ac_var='\''$ac_val'\''"
3495 if test -n "$ac_subst_files"; then
3496 $as_echo "## ------------------- ##
3497 ## File substitutions. ##
3498 ## ------------------- ##"
3500 for ac_var in $ac_subst_files
3502 eval ac_val=\$$ac_var
3504 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3506 $as_echo "$ac_var='\''$ac_val'\''"
3511 if test -s confdefs.h; then
3512 $as_echo "## ----------- ##
3519 test "$ac_signal" != 0 &&
3520 $as_echo "$as_me: caught signal $ac_signal"
3521 $as_echo "$as_me: exit $exit_status"
3523 rm -f core *.core core.conftest.* &&
3524 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3527 for ac_signal in 1 2 13 15; do
3528 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3532 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3533 rm -f -r conftest* confdefs.h
3535 $as_echo "/* confdefs.h */" > confdefs.h
3537 # Predefined preprocessor variables.
3539 cat >>confdefs.h <<_ACEOF
3540 #define PACKAGE_NAME "$PACKAGE_NAME"
3543 cat >>confdefs.h <<_ACEOF
3544 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3547 cat >>confdefs.h <<_ACEOF
3548 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3551 cat >>confdefs.h <<_ACEOF
3552 #define PACKAGE_STRING "$PACKAGE_STRING"
3555 cat >>confdefs.h <<_ACEOF
3556 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3559 cat >>confdefs.h <<_ACEOF
3560 #define PACKAGE_URL "$PACKAGE_URL"
3564 # Let the site file select an alternate cache file if it wants to.
3565 # Prefer an explicitly selected file to automatically selected ones.
3568 if test -n "$CONFIG_SITE"; then
3569 # We do not want a PATH search for config.site.
3570 case $CONFIG_SITE in #((
3571 -*) ac_site_file1=./$CONFIG_SITE;;
3572 */*) ac_site_file1=$CONFIG_SITE;;
3573 *) ac_site_file1=./$CONFIG_SITE;;
3575 elif test "x$prefix" != xNONE; then
3576 ac_site_file1=$prefix/share/config.site
3577 ac_site_file2=$prefix/etc/config.site
3579 ac_site_file1=$ac_default_prefix/share/config.site
3580 ac_site_file2=$ac_default_prefix/etc/config.site
3582 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3584 test "x$ac_site_file" = xNONE && continue
3585 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3587 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3588 sed 's/^/| /' "$ac_site_file" >&5
3590 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3592 as_fn_error $? "failed to load site script $ac_site_file
3593 See \`config.log' for more details" "$LINENO" 5; }
3597 if test -r "$cache_file"; then
3598 # Some versions of bash will fail to source /dev/null (special files
3599 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3600 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3602 $as_echo "$as_me: loading cache $cache_file" >&6;}
3604 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3605 *) . "./$cache_file";;
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3610 $as_echo "$as_me: creating cache $cache_file" >&6;}
3614 # Check that the precious variables saved in the cache have kept the same
3616 ac_cache_corrupted=false
3617 for ac_var in $ac_precious_vars; do
3618 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3619 eval ac_new_set=\$ac_env_${ac_var}_set
3620 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3621 eval ac_new_val=\$ac_env_${ac_var}_value
3622 case $ac_old_set,$ac_new_set in
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3625 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3626 ac_cache_corrupted=: ;;
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3629 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3630 ac_cache_corrupted=: ;;
3633 if test "x$ac_old_val" != "x$ac_new_val"; then
3634 # differences in whitespace do not lead to failure.
3635 ac_old_val_w=`echo x $ac_old_val`
3636 ac_new_val_w=`echo x $ac_new_val`
3637 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3639 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3640 ac_cache_corrupted=:
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3643 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3644 eval $ac_var=\$ac_old_val
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3647 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3649 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3652 # Pass precious variables to config.status.
3653 if test "$ac_new_set" = set; then
3655 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3656 *) ac_arg=$ac_var=$ac_new_val ;;
3658 case " $ac_configure_args " in
3659 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3660 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3664 if $ac_cache_corrupted; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3668 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3669 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3671 ## -------------------- ##
3672 ## Main body of script. ##
3673 ## -------------------- ##
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3686 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3687 if test -f "$ac_dir/install-sh"; then
3689 ac_install_sh="$ac_aux_dir/install-sh -c"
3691 elif test -f "$ac_dir/install.sh"; then
3693 ac_install_sh="$ac_aux_dir/install.sh -c"
3695 elif test -f "$ac_dir/shtool"; then
3697 ac_install_sh="$ac_aux_dir/shtool install -c"
3701 if test -z "$ac_aux_dir"; then
3702 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3705 # These three variables are undocumented and unsupported,
3706 # and are intended to be withdrawn in a future Autoconf release.
3707 # They can cause serious problems if a builder's source tree is in a directory
3708 # whose full name contains unusual characters.
3709 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3710 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3711 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3714 # Make sure we can run config.sub.
3715 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3716 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3719 $as_echo_n "checking build system type... " >&6; }
3720 if test "${ac_cv_build+set}" = set; then :
3721 $as_echo_n "(cached) " >&6
3723 ac_build_alias=$build_alias
3724 test "x$ac_build_alias" = x &&
3725 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3726 test "x$ac_build_alias" = x &&
3727 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3728 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3729 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3733 $as_echo "$ac_cv_build" >&6; }
3734 case $ac_cv_build in
3736 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3739 ac_save_IFS=$IFS; IFS='-'
3745 # Remember, the first character of IFS is used to create $*,
3746 # except with old shells:
3749 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3753 $as_echo_n "checking host system type... " >&6; }
3754 if test "${ac_cv_host+set}" = set; then :
3755 $as_echo_n "(cached) " >&6
3757 if test "x$host_alias" = x; then
3758 ac_cv_host=$ac_cv_build
3760 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3761 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3766 $as_echo "$ac_cv_host" >&6; }
3769 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3772 ac_save_IFS=$IFS; IFS='-'
3778 # Remember, the first character of IFS is used to create $*,
3779 # except with old shells:
3782 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3786 if test "$cross_compiling" != "no"; then
3787 HOST_PREFIX="${host_alias}-"
3788 HOST_SUFFIX="-$host_alias"
3795 wx_major_version_number=2
3796 wx_minor_version_number=9
3798 wx_subrelease_number=0
3800 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3801 WX_VERSION=$WX_RELEASE.$wx_release_number
3802 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3804 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3807 wx_top_builddir="`pwd`"
3820 USE_BSD= USE_DARWIN= USE_FREEBSD=
3826 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3832 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3834 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3836 DEFAULT_wxUSE_OLD_COCOA=0
3838 DEFAULT_wxUSE_OSX_CARBON=0
3839 DEFAULT_wxUSE_OSX_COCOA=0
3840 DEFAULT_wxUSE_OSX_IPHONE=0
3841 DEFAULT_wxUSE_MICROWIN=0
3842 DEFAULT_wxUSE_MOTIF=0
3848 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3849 DEFAULT_DEFAULT_wxUSE_GTK=0
3850 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3851 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3852 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3853 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3854 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3855 DEFAULT_DEFAULT_wxUSE_MSW=0
3856 DEFAULT_DEFAULT_wxUSE_PM=0
3857 DEFAULT_DEFAULT_wxUSE_X11=0
3858 DEFAULT_DEFAULT_wxUSE_DFB=0
3862 DYLIB_RPATH_INSTALL=
3863 DYLIB_RPATH_POSTLINK=
3865 DEFAULT_STD_FLAG=yes
3870 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3871 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3872 $as_echo "#define __HPUX__ 1" >>confdefs.h
3875 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3879 $as_echo "#define __LINUX__ 1" >>confdefs.h
3882 if test "x$TMP" = "xalpha"; then
3884 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3887 DEFAULT_DEFAULT_wxUSE_GTK=1
3889 *-*-gnu* | *-*-k*bsd*-gnu )
3892 if test "x$TMP" = "xalpha"; then
3894 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3897 DEFAULT_DEFAULT_wxUSE_GTK=1
3899 *-*-irix5* | *-*-irix6* )
3902 $as_echo "#define __SGI__ 1" >>confdefs.h
3904 $as_echo "#define __SVR4__ 1" >>confdefs.h
3906 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3910 $as_echo "#define __QNX__ 1" >>confdefs.h
3912 DEFAULT_DEFAULT_wxUSE_X11=1
3918 $as_echo "#define __SUN__ 1" >>confdefs.h
3920 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3922 $as_echo "#define __SVR4__ 1" >>confdefs.h
3924 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3925 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3931 $as_echo "#define __SUN__ 1" >>confdefs.h
3933 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3935 $as_echo "#define __BSD__ 1" >>confdefs.h
3937 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3942 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3944 $as_echo "#define __BSD__ 1" >>confdefs.h
3946 DEFAULT_DEFAULT_wxUSE_GTK=1
3948 *-*-openbsd*|*-*-mirbsd*)
3951 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3953 $as_echo "#define __BSD__ 1" >>confdefs.h
3955 DEFAULT_DEFAULT_wxUSE_GTK=1
3960 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3962 $as_echo "#define __BSD__ 1" >>confdefs.h
3964 DEFAULT_DEFAULT_wxUSE_GTK=1
3965 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3967 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3972 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3974 $as_echo "#define __OSF__ 1" >>confdefs.h
3976 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3977 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3982 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3984 $as_echo "#define __SVR4__ 1" >>confdefs.h
3986 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3991 $as_echo "#define __SYSV__ 1" >>confdefs.h
3993 $as_echo "#define __SVR4__ 1" >>confdefs.h
3995 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4001 $as_echo "#define __AIX__ 1" >>confdefs.h
4003 $as_echo "#define __SYSV__ 1" >>confdefs.h
4005 $as_echo "#define __SVR4__ 1" >>confdefs.h
4007 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4014 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4018 *-*-cygwin* | *-*-mingw32* )
4020 DEFAULT_DEFAULT_wxUSE_MSW=1
4026 $as_echo "#define __DOS__ 1" >>confdefs.h
4031 *-pc-os2_emx | *-pc-os2-emx )
4032 $as_echo "#define __EMX__ 1" >>confdefs.h
4035 $as_echo "#define __OS2__ 1" >>confdefs.h
4038 DEFAULT_DEFAULT_wxUSE_PM=1
4040 LDFLAGS="$LDFLAGS -Zcrtdll"
4041 ac_executable_extensions=".exe"
4042 export ac_executable_extensions
4046 for ac_dir in $PATH; do
4048 if test -z "$ac_TEMP_PATH"; then
4049 ac_TEMP_PATH="$ac_dir"
4051 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4054 export PATH="$ac_TEMP_PATH"
4062 $as_echo "#define __BSD__ 1" >>confdefs.h
4064 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4066 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4072 $as_echo "#define __BSD__ 1" >>confdefs.h
4074 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4076 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4078 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4083 $as_echo "#define __BEOS__ 1" >>confdefs.h
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4089 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4091 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4093 DEFAULT_DEFAULT_wxUSE_X11=1
4094 DEFAULT_wxUSE_SHARED=no
4099 DEFAULT_wxUSE_ALL_FEATURES=yes
4101 DEFAULT_wxUSE_STD_CONTAINERS=no
4102 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4103 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4105 DEFAULT_wxUSE_DMALLOC=no
4106 DEFAULT_wxUSE_LIBGNOMEVFS=no
4107 DEFAULT_wxUSE_LIBHILDON=no
4108 DEFAULT_wxUSE_LIBHILDON2=no
4109 DEFAULT_wxUSE_LIBMSPACK=no
4110 DEFAULT_wxUSE_LIBSDL=no
4112 DEFAULT_wxUSE_ACCESSIBILITY=no
4113 DEFAULT_wxUSE_IPV6=no
4114 DEFAULT_wxUSE_GSTREAMER8=no
4115 DEFAULT_wxUSE_UNICODE_UTF8=no
4116 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4118 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4119 DEFAULT_wxUSE_OPENGL=auto
4120 DEFAULT_wxUSE_MEDIACTRL=auto
4121 DEFAULT_wxUSE_COMPILER_TLS=auto
4122 DEFAULT_wxUSE_HOTKEY=auto
4123 DEFAULT_wxUSE_METAFILE=auto
4125 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4126 DEFAULT_wxUSE_MAC_ARCH=no
4128 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4130 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4136 enablestring=disable
4138 if test -z "$defaultval"; then
4139 if test x"$enablestring" = xdisable; then
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4147 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4148 # Check whether --enable-gui was given.
4149 if test "${enable_gui+set}" = set; then :
4150 enableval=$enable_gui;
4151 if test "$enableval" = yes; then
4152 wx_cv_use_gui='wxUSE_GUI=yes'
4154 wx_cv_use_gui='wxUSE_GUI=no'
4159 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4164 eval "$wx_cv_use_gui"
4166 if test x"$enablestring" = xdisable; then
4167 if test $wxUSE_GUI = no; then
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4177 $as_echo "$result" >&6; }
4182 if test -z "$defaultval"; then
4183 if test x"$enablestring" = xdisable; then
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4191 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4192 # Check whether --enable-monolithic was given.
4193 if test "${enable_monolithic+set}" = set; then :
4194 enableval=$enable_monolithic;
4195 if test "$enableval" = yes; then
4196 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4198 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4203 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4208 eval "$wx_cv_use_monolithic"
4210 if test x"$enablestring" = xdisable; then
4211 if test $wxUSE_MONOLITHIC = no; then
4217 result=$wxUSE_MONOLITHIC
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4221 $as_echo "$result" >&6; }
4226 if test -z "$defaultval"; then
4227 if test x"$enablestring" = xdisable; then
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4235 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4236 # Check whether --enable-plugins was given.
4237 if test "${enable_plugins+set}" = set; then :
4238 enableval=$enable_plugins;
4239 if test "$enableval" = yes; then
4240 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4242 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4247 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4252 eval "$wx_cv_use_plugins"
4254 if test x"$enablestring" = xdisable; then
4255 if test $wxUSE_PLUGINS = no; then
4261 result=$wxUSE_PLUGINS
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4265 $as_echo "$result" >&6; }
4269 defaultval=$wxUSE_ALL_FEATURES
4270 if test -z "$defaultval"; then
4271 if test x"$withstring" = xwithout; then
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4278 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4280 # Check whether --with-subdirs was given.
4281 if test "${with_subdirs+set}" = set; then :
4282 withval=$with_subdirs;
4283 if test "$withval" = yes; then
4284 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4286 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4291 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4296 eval "$wx_cv_use_subdirs"
4298 if test x"$withstring" = xwithout; then
4299 if test $wxWITH_SUBDIRS = yes; then
4305 result=$wxWITH_SUBDIRS
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4309 $as_echo "$result" >&6; }
4312 # Check whether --with-flavour was given.
4313 if test "${with_flavour+set}" = set; then :
4314 withval=$with_flavour; WX_FLAVOUR="$withval"
4320 if test -z "$defaultval"; then
4321 if test x"$enablestring" = xdisable; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4329 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4330 # Check whether --enable-official_build was given.
4331 if test "${enable_official_build+set}" = set; then :
4332 enableval=$enable_official_build;
4333 if test "$enableval" = yes; then
4334 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4336 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4341 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4346 eval "$wx_cv_use_official_build"
4348 if test x"$enablestring" = xdisable; then
4349 if test $wxUSE_OFFICIAL_BUILD = no; then
4355 result=$wxUSE_OFFICIAL_BUILD
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4359 $as_echo "$result" >&6; }
4361 # Check whether --enable-vendor was given.
4362 if test "${enable_vendor+set}" = set; then :
4363 enableval=$enable_vendor; VENDOR="$enableval"
4366 if test "x$VENDOR" = "x"; then
4371 enablestring=disable
4373 if test -z "$defaultval"; then
4374 if test x"$enablestring" = xdisable; then
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4382 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4383 # Check whether --enable-all-features was given.
4384 if test "${enable_all_features+set}" = set; then :
4385 enableval=$enable_all_features;
4386 if test "$enableval" = yes; then
4387 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4389 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4394 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4399 eval "$wx_cv_use_all_features"
4401 if test x"$enablestring" = xdisable; then
4402 if test $wxUSE_ALL_FEATURES = no; then
4408 result=$wxUSE_ALL_FEATURES
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4412 $as_echo "$result" >&6; }
4415 if test "$wxUSE_ALL_FEATURES" = "no"; then
4416 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4417 DEFAULT_wxUSE_MEDIACTRL=no
4421 if test "$wxUSE_GUI" = "yes"; then
4426 if test -z "$defaultval"; then
4427 if test x"$enablestring" = xdisable; then
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4435 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4436 # Check whether --enable-universal was given.
4437 if test "${enable_universal+set}" = set; then :
4438 enableval=$enable_universal;
4439 if test "$enableval" = yes; then
4440 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4442 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4447 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4452 eval "$wx_cv_use_universal"
4454 if test x"$enablestring" = xdisable; then
4455 if test $wxUSE_UNIVERSAL = no; then
4461 result=$wxUSE_UNIVERSAL
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4465 $as_echo "$result" >&6; }
4467 if test "$wxUSE_UNIVERSAL" = "yes"; then
4469 # Check whether --with-themes was given.
4470 if test "${with_themes+set}" = set; then :
4471 withval=$with_themes; wxUNIV_THEMES="$withval"
4477 # Check whether --with-gtk was given.
4478 if test "${with_gtk+set}" = set; then :
4479 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4483 # Check whether --with-motif was given.
4484 if test "${with_motif+set}" = set; then :
4485 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4489 # Check whether --with-osx_carbon was given.
4490 if test "${with_osx_carbon+set}" = set; then :
4491 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4495 # Check whether --with-osx_cocoa was given.
4496 if test "${with_osx_cocoa+set}" = set; then :
4497 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4501 # Check whether --with-osx_iphone was given.
4502 if test "${with_osx_iphone+set}" = set; then :
4503 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4507 # Check whether --with-osx was given.
4508 if test "${with_osx+set}" = set; then :
4509 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4513 # Check whether --with-carbon was given.
4514 if test "${with_carbon+set}" = set; then :
4515 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4519 # Check whether --with-cocoa was given.
4520 if test "${with_cocoa+set}" = set; then :
4521 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4525 # Check whether --with-iphone was given.
4526 if test "${with_iphone+set}" = set; then :
4527 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4531 # Check whether --with-mac was given.
4532 if test "${with_mac+set}" = set; then :
4533 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4537 # Check whether --with-old_cocoa was given.
4538 if test "${with_old_cocoa+set}" = set; then :
4539 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4543 # Check whether --with-wine was given.
4544 if test "${with_wine+set}" = set; then :
4545 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4549 # Check whether --with-msw was given.
4550 if test "${with_msw+set}" = set; then :
4551 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4555 # Check whether --with-pm was given.
4556 if test "${with_pm+set}" = set; then :
4557 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4561 # Check whether --with-directfb was given.
4562 if test "${with_directfb+set}" = set; then :
4563 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4567 # Check whether --with-microwin was given.
4568 if test "${with_microwin+set}" = set; then :
4569 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4573 # Check whether --with-x11 was given.
4574 if test "${with_x11+set}" = set; then :
4575 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4581 if test -z "$defaultval"; then
4582 if test x"$enablestring" = xdisable; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4590 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4591 # Check whether --enable-nanox was given.
4592 if test "${enable_nanox+set}" = set; then :
4593 enableval=$enable_nanox;
4594 if test "$enableval" = yes; then
4595 wx_cv_use_nanox='wxUSE_NANOX=yes'
4597 wx_cv_use_nanox='wxUSE_NANOX=no'
4602 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4607 eval "$wx_cv_use_nanox"
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_NANOX = no; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4620 $as_echo "$result" >&6; }
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4634 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4635 # Check whether --enable-gpe was given.
4636 if test "${enable_gpe+set}" = set; then :
4637 enableval=$enable_gpe;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_gpe='wxUSE_GPE=yes'
4641 wx_cv_use_gpe='wxUSE_GPE=no'
4646 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4651 eval "$wx_cv_use_gpe"
4653 if test x"$enablestring" = xdisable; then
4654 if test $wxUSE_GPE = no; then
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4664 $as_echo "$result" >&6; }
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4669 $as_echo_n "checking for toolkit... " >&6; }
4673 # In Wine, we need to default to MSW, not GTK or MOTIF
4674 if test "$wxUSE_WINE" = "yes"; then
4675 DEFAULT_DEFAULT_wxUSE_GTK=0
4676 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4677 DEFAULT_DEFAULT_wxUSE_MSW=1
4684 if test "$wxUSE_GUI" = "yes"; then
4686 if test "$USE_BEOS" = 1; then
4687 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4690 if test "$TOOLKIT_GIVEN" = 1; then
4691 for toolkit in $ALL_TOOLKITS; do
4693 eval "value=\$${var}"
4694 if test "x$value" = "xno"; then
4696 elif test "x$value" != "x"; then
4700 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4701 eval "wx${toolkit}_VERSION=$value"
4705 for toolkit in $ALL_TOOLKITS; do
4706 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4707 eval "wxUSE_$toolkit=\$${var}"
4711 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4712 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4713 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4716 *-pc-os2_emx | *-pc-os2-emx )
4717 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4720 case "$NUM_TOOLKITS" in
4724 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4727 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4730 for toolkit in $ALL_TOOLKITS; do
4732 eval "value=\$${var}"
4733 if test "$value" = 1; then
4734 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4736 $as_echo "$toolkit_echo" >&6; }
4740 if test "x$host_alias" != "x"; then
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4742 $as_echo "base ($host_alias hosted) only" >&6; }
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4745 $as_echo "base only" >&6; }
4750 if test "$wxUSE_OSX_CARBON" = 1 \
4751 -o "$wxUSE_OSX_COCOA" = 1 \
4752 -o "$wxUSE_OSX_IPHONE" = 1; then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4759 $as_echo_n "checking for --with-libpng... " >&6; }
4761 # Check whether --with-libpng was given.
4762 if test "${with_libpng+set}" = set; then :
4763 withval=$with_libpng;
4764 if test "$withval" = yes; then
4765 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4766 elif test "$withval" = no; then
4767 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4768 elif test "$withval" = sys; then
4769 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4770 elif test "$withval" = builtin; then
4771 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4773 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4778 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4783 eval "$wx_cv_use_libpng"
4785 if test "$wxUSE_LIBPNG" = yes; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4787 $as_echo "yes" >&6; }
4788 elif test "$wxUSE_LIBPNG" = no; then
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4791 elif test "$wxUSE_LIBPNG" = sys; then
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4793 $as_echo "system version" >&6; }
4794 elif test "$wxUSE_LIBPNG" = builtin; then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4796 $as_echo "builtin version" >&6; }
4798 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4803 $as_echo_n "checking for --with-libjpeg... " >&6; }
4805 # Check whether --with-libjpeg was given.
4806 if test "${with_libjpeg+set}" = set; then :
4807 withval=$with_libjpeg;
4808 if test "$withval" = yes; then
4809 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4810 elif test "$withval" = no; then
4811 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4812 elif test "$withval" = sys; then
4813 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4814 elif test "$withval" = builtin; then
4815 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4817 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4822 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4827 eval "$wx_cv_use_libjpeg"
4829 if test "$wxUSE_LIBJPEG" = yes; then
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4831 $as_echo "yes" >&6; }
4832 elif test "$wxUSE_LIBJPEG" = no; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 $as_echo "no" >&6; }
4835 elif test "$wxUSE_LIBJPEG" = sys; then
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4837 $as_echo "system version" >&6; }
4838 elif test "$wxUSE_LIBJPEG" = builtin; then
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4840 $as_echo "builtin version" >&6; }
4842 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4847 $as_echo_n "checking for --with-libtiff... " >&6; }
4849 # Check whether --with-libtiff was given.
4850 if test "${with_libtiff+set}" = set; then :
4851 withval=$with_libtiff;
4852 if test "$withval" = yes; then
4853 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4854 elif test "$withval" = no; then
4855 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4856 elif test "$withval" = sys; then
4857 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4858 elif test "$withval" = builtin; then
4859 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4861 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4866 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4871 eval "$wx_cv_use_libtiff"
4873 if test "$wxUSE_LIBTIFF" = yes; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875 $as_echo "yes" >&6; }
4876 elif test "$wxUSE_LIBTIFF" = no; then
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4879 elif test "$wxUSE_LIBTIFF" = sys; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4881 $as_echo "system version" >&6; }
4882 elif test "$wxUSE_LIBTIFF" = builtin; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4884 $as_echo "builtin version" >&6; }
4886 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4891 $as_echo_n "checking for --with-libxpm... " >&6; }
4893 # Check whether --with-libxpm was given.
4894 if test "${with_libxpm+set}" = set; then :
4895 withval=$with_libxpm;
4896 if test "$withval" = yes; then
4897 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4898 elif test "$withval" = no; then
4899 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4900 elif test "$withval" = sys; then
4901 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4902 elif test "$withval" = builtin; then
4903 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4905 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4910 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4915 eval "$wx_cv_use_libxpm"
4917 if test "$wxUSE_LIBXPM" = yes; then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4919 $as_echo "yes" >&6; }
4920 elif test "$wxUSE_LIBXPM" = no; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4923 elif test "$wxUSE_LIBXPM" = sys; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4925 $as_echo "system version" >&6; }
4926 elif test "$wxUSE_LIBXPM" = builtin; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4928 $as_echo "builtin version" >&6; }
4930 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4935 defaultval=$wxUSE_ALL_FEATURES
4936 if test -z "$defaultval"; then
4937 if test x"$withstring" = xwithout; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4944 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4946 # Check whether --with-libiconv was given.
4947 if test "${with_libiconv+set}" = set; then :
4948 withval=$with_libiconv;
4949 if test "$withval" = yes; then
4950 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4952 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
4957 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4962 eval "$wx_cv_use_libiconv"
4964 if test x"$withstring" = xwithout; then
4965 if test $wxUSE_LIBICONV = yes; then
4971 result=$wxUSE_LIBICONV
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4975 $as_echo "$result" >&6; }
4979 defaultval=$wxUSE_ALL_FEATURES
4980 if test -z "$defaultval"; then
4981 if test x"$withstring" = xwithout; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
4988 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
4990 # Check whether --with-libmspack was given.
4991 if test "${with_libmspack+set}" = set; then :
4992 withval=$with_libmspack;
4993 if test "$withval" = yes; then
4994 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
4996 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5001 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5006 eval "$wx_cv_use_libmspack"
5008 if test x"$withstring" = xwithout; then
5009 if test $wxUSE_LIBMSPACK = yes; then
5015 result=$wxUSE_LIBMSPACK
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5019 $as_echo "$result" >&6; }
5023 defaultval=$wxUSE_ALL_FEATURES
5024 if test -z "$defaultval"; then
5025 if test x"$withstring" = xwithout; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5032 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5034 # Check whether --with-gtkprint was given.
5035 if test "${with_gtkprint+set}" = set; then :
5036 withval=$with_gtkprint;
5037 if test "$withval" = yes; then
5038 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5040 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5045 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5050 eval "$wx_cv_use_gtkprint"
5052 if test x"$withstring" = xwithout; then
5053 if test $wxUSE_GTKPRINT = yes; then
5059 result=$wxUSE_GTKPRINT
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5063 $as_echo "$result" >&6; }
5067 defaultval=$wxUSE_ALL_FEATURES
5068 if test -z "$defaultval"; then
5069 if test x"$withstring" = xwithout; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5076 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5078 # Check whether --with-gnomeprint was given.
5079 if test "${with_gnomeprint+set}" = set; then :
5080 withval=$with_gnomeprint;
5081 if test "$withval" = yes; then
5082 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5084 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5089 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5094 eval "$wx_cv_use_gnomeprint"
5096 if test x"$withstring" = xwithout; then
5097 if test $wxUSE_LIBGNOMEPRINT = yes; then
5103 result=$wxUSE_LIBGNOMEPRINT
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5107 $as_echo "$result" >&6; }
5111 defaultval=$wxUSE_ALL_FEATURES
5112 if test -z "$defaultval"; then
5113 if test x"$withstring" = xwithout; then
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5120 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5122 # Check whether --with-gnomevfs was given.
5123 if test "${with_gnomevfs+set}" = set; then :
5124 withval=$with_gnomevfs;
5125 if test "$withval" = yes; then
5126 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5128 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5133 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5138 eval "$wx_cv_use_gnomevfs"
5140 if test x"$withstring" = xwithout; then
5141 if test $wxUSE_LIBGNOMEVFS = yes; then
5147 result=$wxUSE_LIBGNOMEVFS
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5151 $as_echo "$result" >&6; }
5155 defaultval=$wxUSE_ALL_FEATURES
5156 if test -z "$defaultval"; then
5157 if test x"$withstring" = xwithout; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5164 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5166 # Check whether --with-hildon was given.
5167 if test "${with_hildon+set}" = set; then :
5168 withval=$with_hildon;
5169 if test "$withval" = yes; then
5170 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5172 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5177 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5182 eval "$wx_cv_use_hildon"
5184 if test x"$withstring" = xwithout; then
5185 if test $wxUSE_LIBHILDON = yes; then
5191 result=$wxUSE_LIBHILDON
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5195 $as_echo "$result" >&6; }
5199 defaultval=$wxUSE_ALL_FEATURES
5200 if test -z "$defaultval"; then
5201 if test x"$withstring" = xwithout; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5208 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5210 # Check whether --with-opengl was given.
5211 if test "${with_opengl+set}" = set; then :
5212 withval=$with_opengl;
5213 if test "$withval" = yes; then
5214 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5216 wx_cv_use_opengl='wxUSE_OPENGL=no'
5221 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5226 eval "$wx_cv_use_opengl"
5228 if test x"$withstring" = xwithout; then
5229 if test $wxUSE_OPENGL = yes; then
5235 result=$wxUSE_OPENGL
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5239 $as_echo "$result" >&6; }
5246 defaultval=$wxUSE_ALL_FEATURES
5247 if test -z "$defaultval"; then
5248 if test x"$withstring" = xwithout; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5255 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5257 # Check whether --with-dmalloc was given.
5258 if test "${with_dmalloc+set}" = set; then :
5259 withval=$with_dmalloc;
5260 if test "$withval" = yes; then
5261 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5263 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5268 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5273 eval "$wx_cv_use_dmalloc"
5275 if test x"$withstring" = xwithout; then
5276 if test $wxUSE_DMALLOC = yes; then
5282 result=$wxUSE_DMALLOC
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5286 $as_echo "$result" >&6; }
5290 defaultval=$wxUSE_ALL_FEATURES
5291 if test -z "$defaultval"; then
5292 if test x"$withstring" = xwithout; then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5299 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5301 # Check whether --with-sdl was given.
5302 if test "${with_sdl+set}" = set; then :
5304 if test "$withval" = yes; then
5305 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5307 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5312 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5317 eval "$wx_cv_use_sdl"
5319 if test x"$withstring" = xwithout; then
5320 if test $wxUSE_LIBSDL = yes; then
5326 result=$wxUSE_LIBSDL
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5330 $as_echo "$result" >&6; }
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5334 $as_echo_n "checking for --with-regex... " >&6; }
5336 # Check whether --with-regex was given.
5337 if test "${with_regex+set}" = set; then :
5338 withval=$with_regex;
5339 if test "$withval" = yes; then
5340 wx_cv_use_regex='wxUSE_REGEX=yes'
5341 elif test "$withval" = no; then
5342 wx_cv_use_regex='wxUSE_REGEX=no'
5343 elif test "$withval" = sys; then
5344 wx_cv_use_regex='wxUSE_REGEX=sys'
5345 elif test "$withval" = builtin; then
5346 wx_cv_use_regex='wxUSE_REGEX=builtin'
5348 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5353 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5358 eval "$wx_cv_use_regex"
5360 if test "$wxUSE_REGEX" = yes; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5362 $as_echo "yes" >&6; }
5363 elif test "$wxUSE_REGEX" = no; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5366 elif test "$wxUSE_REGEX" = sys; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5368 $as_echo "system version" >&6; }
5369 elif test "$wxUSE_REGEX" = builtin; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5371 $as_echo "builtin version" >&6; }
5373 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5378 $as_echo_n "checking for --with-zlib... " >&6; }
5380 # Check whether --with-zlib was given.
5381 if test "${with_zlib+set}" = set; then :
5383 if test "$withval" = yes; then
5384 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5385 elif test "$withval" = no; then
5386 wx_cv_use_zlib='wxUSE_ZLIB=no'
5387 elif test "$withval" = sys; then
5388 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5389 elif test "$withval" = builtin; then
5390 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5392 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5397 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5402 eval "$wx_cv_use_zlib"
5404 if test "$wxUSE_ZLIB" = yes; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5406 $as_echo "yes" >&6; }
5407 elif test "$wxUSE_ZLIB" = no; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409 $as_echo "no" >&6; }
5410 elif test "$wxUSE_ZLIB" = sys; then
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5412 $as_echo "system version" >&6; }
5413 elif test "$wxUSE_ZLIB" = builtin; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5415 $as_echo "builtin version" >&6; }
5417 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5422 $as_echo_n "checking for --with-expat... " >&6; }
5424 # Check whether --with-expat was given.
5425 if test "${with_expat+set}" = set; then :
5426 withval=$with_expat;
5427 if test "$withval" = yes; then
5428 wx_cv_use_expat='wxUSE_EXPAT=yes'
5429 elif test "$withval" = no; then
5430 wx_cv_use_expat='wxUSE_EXPAT=no'
5431 elif test "$withval" = sys; then
5432 wx_cv_use_expat='wxUSE_EXPAT=sys'
5433 elif test "$withval" = builtin; then
5434 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5436 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5441 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5446 eval "$wx_cv_use_expat"
5448 if test "$wxUSE_EXPAT" = yes; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5450 $as_echo "yes" >&6; }
5451 elif test "$wxUSE_EXPAT" = no; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453 $as_echo "no" >&6; }
5454 elif test "$wxUSE_EXPAT" = sys; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5456 $as_echo "system version" >&6; }
5457 elif test "$wxUSE_EXPAT" = builtin; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5459 $as_echo "builtin version" >&6; }
5461 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5466 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5468 # Check whether --with-macosx-sdk was given.
5469 if test "${with_macosx_sdk+set}" = set; then :
5470 withval=$with_macosx_sdk;
5471 wxUSE_MACOSX_SDK=$withval
5472 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5477 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5480 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5482 # Check whether --with-macosx-version-min was given.
5483 if test "${with_macosx_version_min+set}" = set; then :
5484 withval=$with_macosx_version_min;
5485 wxUSE_MACOSX_VERSION_MIN=$withval
5486 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5491 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5495 $as_echo_n "checking for --enable-debug... " >&6; }
5496 # Check whether --enable-debug was given.
5497 if test "${enable_debug+set}" = set; then :
5498 enableval=$enable_debug;
5499 if test "$enableval" = yes; then
5501 elif test "$enableval" = no; then
5503 elif test "$enableval" = max; then
5505 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5507 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5516 $as_echo "${enable_debug-default}" >&6; }
5518 case "$wxUSE_DEBUG" in
5520 DEFAULT_wxUSE_DEBUG_FLAG=yes
5521 DEFAULT_wxUSE_DEBUG_INFO=yes
5523 DEFAULT_wxUSE_OPTIMISE=no
5527 DEFAULT_wxUSE_DEBUG_FLAG=no
5528 DEFAULT_wxUSE_DEBUG_INFO=no
5532 DEFAULT_wxUSE_DEBUG_FLAG=yes
5533 DEFAULT_wxUSE_DEBUG_INFO=no
5538 enablestring=disable
5540 if test -z "$defaultval"; then
5541 if test x"$enablestring" = xdisable; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5549 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5550 # Check whether --enable-debug_flag was given.
5551 if test "${enable_debug_flag+set}" = set; then :
5552 enableval=$enable_debug_flag;
5553 if test "$enableval" = yes; then
5554 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5556 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5561 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5566 eval "$wx_cv_use_debug_flag"
5568 if test x"$enablestring" = xdisable; then
5569 if test $wxUSE_DEBUG_FLAG = no; then
5575 result=$wxUSE_DEBUG_FLAG
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5579 $as_echo "$result" >&6; }
5584 if test -z "$defaultval"; then
5585 if test x"$enablestring" = xdisable; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5593 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5594 # Check whether --enable-debug_info was given.
5595 if test "${enable_debug_info+set}" = set; then :
5596 enableval=$enable_debug_info;
5597 if test "$enableval" = yes; then
5598 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5600 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5605 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5610 eval "$wx_cv_use_debug_info"
5612 if test x"$enablestring" = xdisable; then
5613 if test $wxUSE_DEBUG_INFO = no; then
5619 result=$wxUSE_DEBUG_INFO
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5623 $as_echo "$result" >&6; }
5630 if test -z "$defaultval"; then
5631 if test x"$enablestring" = xdisable; then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5639 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5640 # Check whether --enable-debug_gdb was given.
5641 if test "${enable_debug_gdb+set}" = set; then :
5642 enableval=$enable_debug_gdb;
5643 if test "$enableval" = yes; then
5644 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5646 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5651 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5656 eval "$wx_cv_use_debug_gdb"
5658 if test x"$enablestring" = xdisable; then
5659 if test $wxUSE_DEBUG_GDB = no; then
5665 result=$wxUSE_DEBUG_GDB
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5669 $as_echo "$result" >&6; }
5674 if test -z "$defaultval"; then
5675 if test x"$enablestring" = xdisable; then
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5683 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5684 # Check whether --enable-debug_cntxt was given.
5685 if test "${enable_debug_cntxt+set}" = set; then :
5686 enableval=$enable_debug_cntxt;
5687 if test "$enableval" = yes; then
5688 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5690 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5695 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5700 eval "$wx_cv_use_debug_cntxt"
5702 if test x"$enablestring" = xdisable; then
5703 if test $wxUSE_DEBUG_CONTEXT = no; then
5709 result=$wxUSE_DEBUG_CONTEXT
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5713 $as_echo "$result" >&6; }
5718 if test -z "$defaultval"; then
5719 if test x"$enablestring" = xdisable; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5727 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5728 # Check whether --enable-mem_tracing was given.
5729 if test "${enable_mem_tracing+set}" = set; then :
5730 enableval=$enable_mem_tracing;
5731 if test "$enableval" = yes; then
5732 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5734 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5739 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5744 eval "$wx_cv_use_mem_tracing"
5746 if test x"$enablestring" = xdisable; then
5747 if test $wxUSE_MEM_TRACING = no; then
5753 result=$wxUSE_MEM_TRACING
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5757 $as_echo "$result" >&6; }
5762 enablestring=disable
5764 if test -z "$defaultval"; then
5765 if test x"$enablestring" = xdisable; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5773 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5774 # Check whether --enable-shared was given.
5775 if test "${enable_shared+set}" = set; then :
5776 enableval=$enable_shared;
5777 if test "$enableval" = yes; then
5778 wx_cv_use_shared='wxUSE_SHARED=yes'
5780 wx_cv_use_shared='wxUSE_SHARED=no'
5785 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5790 eval "$wx_cv_use_shared"
5792 if test x"$enablestring" = xdisable; then
5793 if test $wxUSE_SHARED = no; then
5799 result=$wxUSE_SHARED
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5803 $as_echo "$result" >&6; }
5808 if test -z "$defaultval"; then
5809 if test x"$enablestring" = xdisable; then
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5817 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5818 # Check whether --enable-stl was given.
5819 if test "${enable_stl+set}" = set; then :
5820 enableval=$enable_stl;
5821 if test "$enableval" = yes; then
5822 wx_cv_use_stl='wxUSE_STL=yes'
5824 wx_cv_use_stl='wxUSE_STL=no'
5829 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5834 eval "$wx_cv_use_stl"
5836 if test x"$enablestring" = xdisable; then
5837 if test $wxUSE_STL = no; then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5847 $as_echo "$result" >&6; }
5849 if test "$wxUSE_STL" = "yes"; then
5850 DEFAULT_wxUSE_STD_CONTAINERS=yes
5851 DEFAULT_wxUSE_STD_IOSTREAM=yes
5852 DEFAULT_wxUSE_STD_STRING=yes
5857 if test -z "$defaultval"; then
5858 if test x"$enablestring" = xdisable; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5866 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5867 # Check whether --enable-std_containers was given.
5868 if test "${enable_std_containers+set}" = set; then :
5869 enableval=$enable_std_containers;
5870 if test "$enableval" = yes; then
5871 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5873 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5878 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5883 eval "$wx_cv_use_std_containers"
5885 if test x"$enablestring" = xdisable; then
5886 if test $wxUSE_STD_CONTAINERS = no; then
5892 result=$wxUSE_STD_CONTAINERS
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5896 $as_echo "$result" >&6; }
5901 if test -z "$defaultval"; then
5902 if test x"$enablestring" = xdisable; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5910 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5911 # Check whether --enable-std_iostreams was given.
5912 if test "${enable_std_iostreams+set}" = set; then :
5913 enableval=$enable_std_iostreams;
5914 if test "$enableval" = yes; then
5915 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5917 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5922 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5927 eval "$wx_cv_use_std_iostreams"
5929 if test x"$enablestring" = xdisable; then
5930 if test $wxUSE_STD_IOSTREAM = no; then
5936 result=$wxUSE_STD_IOSTREAM
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5940 $as_echo "$result" >&6; }
5945 if test -z "$defaultval"; then
5946 if test x"$enablestring" = xdisable; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5954 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5955 # Check whether --enable-std_string was given.
5956 if test "${enable_std_string+set}" = set; then :
5957 enableval=$enable_std_string;
5958 if test "$enableval" = yes; then
5959 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
5961 wx_cv_use_std_string='wxUSE_STD_STRING=no'
5966 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
5971 eval "$wx_cv_use_std_string"
5973 if test x"$enablestring" = xdisable; then
5974 if test $wxUSE_STD_STRING = no; then
5980 result=$wxUSE_STD_STRING
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5984 $as_echo "$result" >&6; }
5989 if test -z "$defaultval"; then
5990 if test x"$enablestring" = xdisable; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
5998 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
5999 # Check whether --enable-std_string_conv_in_wxstring was given.
6000 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6001 enableval=$enable_std_string_conv_in_wxstring;
6002 if test "$enableval" = yes; then
6003 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6005 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6010 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6015 eval "$wx_cv_use_std_string_conv_in_wxstring"
6017 if test x"$enablestring" = xdisable; then
6018 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6024 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6028 $as_echo "$result" >&6; }
6031 enablestring=disable
6033 if test -z "$defaultval"; then
6034 if test x"$enablestring" = xdisable; then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6042 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6043 # Check whether --enable-unicode was given.
6044 if test "${enable_unicode+set}" = set; then :
6045 enableval=$enable_unicode;
6046 if test "$enableval" = yes; then
6047 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6049 wx_cv_use_unicode='wxUSE_UNICODE=no'
6054 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6059 eval "$wx_cv_use_unicode"
6061 if test x"$enablestring" = xdisable; then
6062 if test $wxUSE_UNICODE = no; then
6068 result=$wxUSE_UNICODE
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6072 $as_echo "$result" >&6; }
6077 if test -z "$defaultval"; then
6078 if test x"$enablestring" = xdisable; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6086 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6087 # Check whether --enable-mslu was given.
6088 if test "${enable_mslu+set}" = set; then :
6089 enableval=$enable_mslu;
6090 if test "$enableval" = yes; then
6091 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6093 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6098 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6103 eval "$wx_cv_use_mslu"
6105 if test x"$enablestring" = xdisable; then
6106 if test $wxUSE_UNICODE_MSLU = no; then
6112 result=$wxUSE_UNICODE_MSLU
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6116 $as_echo "$result" >&6; }
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6121 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6122 # Check whether --enable-utf8 was given.
6123 if test "${enable_utf8+set}" = set; then :
6124 enableval=$enable_utf8;
6125 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6129 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6134 eval "$wx_cv_use_utf8"
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6137 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6142 if test -z "$defaultval"; then
6143 if test x"$enablestring" = xdisable; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6151 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6152 # Check whether --enable-utf8only was given.
6153 if test "${enable_utf8only+set}" = set; then :
6154 enableval=$enable_utf8only;
6155 if test "$enableval" = yes; then
6156 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6158 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6163 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6168 eval "$wx_cv_use_utf8only"
6170 if test x"$enablestring" = xdisable; then
6171 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6177 result=$wxUSE_UNICODE_UTF8_LOCALE
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6181 $as_echo "$result" >&6; }
6186 if test -z "$defaultval"; then
6187 if test x"$enablestring" = xdisable; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6195 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6196 # Check whether --enable-extended_rtti was given.
6197 if test "${enable_extended_rtti+set}" = set; then :
6198 enableval=$enable_extended_rtti;
6199 if test "$enableval" = yes; then
6200 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6202 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6207 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6212 eval "$wx_cv_use_extended_rtti"
6214 if test x"$enablestring" = xdisable; then
6215 if test $wxUSE_EXTENDED_RTTI = no; then
6221 result=$wxUSE_EXTENDED_RTTI
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6225 $as_echo "$result" >&6; }
6227 if test "$USE_OS2" = 1; then
6228 DEFAULT_wxUSE_OMF=no
6232 if test -z "$defaultval"; then
6233 if test x"$enablestring" = xdisable; then
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6241 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6242 # Check whether --enable-omf was given.
6243 if test "${enable_omf+set}" = set; then :
6244 enableval=$enable_omf;
6245 if test "$enableval" = yes; then
6246 wx_cv_use_omf='wxUSE_OMF=yes'
6248 wx_cv_use_omf='wxUSE_OMF=no'
6253 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6258 eval "$wx_cv_use_omf"
6260 if test x"$enablestring" = xdisable; then
6261 if test $wxUSE_OMF = no; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6271 $as_echo "$result" >&6; }
6276 enablestring=disable
6278 if test -z "$defaultval"; then
6279 if test x"$enablestring" = xdisable; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6287 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6288 # Check whether --enable-optimise was given.
6289 if test "${enable_optimise+set}" = set; then :
6290 enableval=$enable_optimise;
6291 if test "$enableval" = yes; then
6292 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6294 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6299 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6304 eval "$wx_cv_use_optimise"
6306 if test x"$enablestring" = xdisable; then
6307 if test $wxUSE_OPTIMISE = no; then
6313 result=$wxUSE_OPTIMISE
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6317 $as_echo "$result" >&6; }
6323 if test -z "$defaultval"; then
6324 if test x"$enablestring" = xdisable; then
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6332 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6333 # Check whether --enable-profile was given.
6334 if test "${enable_profile+set}" = set; then :
6335 enableval=$enable_profile;
6336 if test "$enableval" = yes; then
6337 wx_cv_use_profile='wxUSE_PROFILE=yes'
6339 wx_cv_use_profile='wxUSE_PROFILE=no'
6344 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6349 eval "$wx_cv_use_profile"
6351 if test x"$enablestring" = xdisable; then
6352 if test $wxUSE_PROFILE = no; then
6358 result=$wxUSE_PROFILE
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6362 $as_echo "$result" >&6; }
6367 if test -z "$defaultval"; then
6368 if test x"$enablestring" = xdisable; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6376 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6377 # Check whether --enable-no_rtti was given.
6378 if test "${enable_no_rtti+set}" = set; then :
6379 enableval=$enable_no_rtti;
6380 if test "$enableval" = yes; then
6381 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6383 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6388 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6393 eval "$wx_cv_use_no_rtti"
6395 if test x"$enablestring" = xdisable; then
6396 if test $wxUSE_NO_RTTI = no; then
6402 result=$wxUSE_NO_RTTI
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6406 $as_echo "$result" >&6; }
6411 if test -z "$defaultval"; then
6412 if test x"$enablestring" = xdisable; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6420 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6421 # Check whether --enable-no_exceptions was given.
6422 if test "${enable_no_exceptions+set}" = set; then :
6423 enableval=$enable_no_exceptions;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6427 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6432 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6437 eval "$wx_cv_use_no_exceptions"
6439 if test x"$enablestring" = xdisable; then
6440 if test $wxUSE_NO_EXCEPTIONS = no; then
6446 result=$wxUSE_NO_EXCEPTIONS
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6450 $as_echo "$result" >&6; }
6455 if test -z "$defaultval"; then
6456 if test x"$enablestring" = xdisable; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6464 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6465 # Check whether --enable-permissive was given.
6466 if test "${enable_permissive+set}" = set; then :
6467 enableval=$enable_permissive;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6471 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6476 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6481 eval "$wx_cv_use_permissive"
6483 if test x"$enablestring" = xdisable; then
6484 if test $wxUSE_PERMISSIVE = no; then
6490 result=$wxUSE_PERMISSIVE
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6494 $as_echo "$result" >&6; }
6499 if test -z "$defaultval"; then
6500 if test x"$enablestring" = xdisable; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6508 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6509 # Check whether --enable-no_deps was given.
6510 if test "${enable_no_deps+set}" = set; then :
6511 enableval=$enable_no_deps;
6512 if test "$enableval" = yes; then
6513 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6515 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6520 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6525 eval "$wx_cv_use_no_deps"
6527 if test x"$enablestring" = xdisable; then
6528 if test $wxUSE_NO_DEPS = no; then
6534 result=$wxUSE_NO_DEPS
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6538 $as_echo "$result" >&6; }
6541 enablestring=disable
6543 if test -z "$defaultval"; then
6544 if test x"$enablestring" = xdisable; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6552 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6553 # Check whether --enable-vararg_macros was given.
6554 if test "${enable_vararg_macros+set}" = set; then :
6555 enableval=$enable_vararg_macros;
6556 if test "$enableval" = yes; then
6557 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6559 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6564 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6569 eval "$wx_cv_use_vararg_macros"
6571 if test x"$enablestring" = xdisable; then
6572 if test $wxUSE_VARARG_MACROS = no; then
6578 result=$wxUSE_VARARG_MACROS
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6582 $as_echo "$result" >&6; }
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6588 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6589 # Check whether --enable-universal_binary was given.
6590 if test "${enable_universal_binary+set}" = set; then :
6591 enableval=$enable_universal_binary;
6592 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6596 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6601 eval "$wx_cv_use_universal_binary"
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6604 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6609 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6610 # Check whether --enable-macosx_arch was given.
6611 if test "${enable_macosx_arch+set}" = set; then :
6612 enableval=$enable_macosx_arch;
6613 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6617 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6622 eval "$wx_cv_use_macosx_arch"
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6625 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6631 if test -z "$defaultval"; then
6632 if test x"$enablestring" = xdisable; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6640 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6641 # Check whether --enable-compat26 was given.
6642 if test "${enable_compat26+set}" = set; then :
6643 enableval=$enable_compat26;
6644 if test "$enableval" = yes; then
6645 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6647 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6652 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6657 eval "$wx_cv_use_compat26"
6659 if test x"$enablestring" = xdisable; then
6660 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6666 result=$WXWIN_COMPATIBILITY_2_6
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6670 $as_echo "$result" >&6; }
6673 enablestring=disable
6675 if test -z "$defaultval"; then
6676 if test x"$enablestring" = xdisable; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6684 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6685 # Check whether --enable-compat28 was given.
6686 if test "${enable_compat28+set}" = set; then :
6687 enableval=$enable_compat28;
6688 if test "$enableval" = yes; then
6689 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6691 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6696 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6701 eval "$wx_cv_use_compat28"
6703 if test x"$enablestring" = xdisable; then
6704 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6710 result=$WXWIN_COMPATIBILITY_2_8
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6714 $as_echo "$result" >&6; }
6718 enablestring=disable
6720 if test -z "$defaultval"; then
6721 if test x"$enablestring" = xdisable; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6729 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6730 # Check whether --enable-rpath was given.
6731 if test "${enable_rpath+set}" = set; then :
6732 enableval=$enable_rpath;
6733 if test "$enableval" = yes; then
6734 wx_cv_use_rpath='wxUSE_RPATH=yes'
6736 wx_cv_use_rpath='wxUSE_RPATH=no'
6741 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6746 eval "$wx_cv_use_rpath"
6748 if test x"$enablestring" = xdisable; then
6749 if test $wxUSE_RPATH = no; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6759 $as_echo "$result" >&6; }
6765 if test -z "$defaultval"; then
6766 if test x"$enablestring" = xdisable; then
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6774 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6775 # Check whether --enable-objc_uniquifying was given.
6776 if test "${enable_objc_uniquifying+set}" = set; then :
6777 enableval=$enable_objc_uniquifying;
6778 if test "$enableval" = yes; then
6779 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6781 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6786 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6791 eval "$wx_cv_use_objc_uniquifying"
6793 if test x"$enablestring" = xdisable; then
6794 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6800 result=$wxUSE_OBJC_UNIQUIFYING
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6804 $as_echo "$result" >&6; }
6808 enablestring=disable
6810 if test -z "$defaultval"; then
6811 if test x"$enablestring" = xdisable; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6819 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6820 # Check whether --enable-visibility was given.
6821 if test "${enable_visibility+set}" = set; then :
6822 enableval=$enable_visibility;
6823 if test "$enableval" = yes; then
6824 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6826 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6831 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6836 eval "$wx_cv_use_visibility"
6838 if test x"$enablestring" = xdisable; then
6839 if test $wxUSE_VISIBILITY = no; then
6845 result=$wxUSE_VISIBILITY
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6849 $as_echo "$result" >&6; }
6852 enablestring=disable
6854 if test -z "$defaultval"; then
6855 if test x"$enablestring" = xdisable; then
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6863 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6864 # Check whether --enable-tls was given.
6865 if test "${enable_tls+set}" = set; then :
6866 enableval=$enable_tls;
6867 if test "$enableval" = yes; then
6868 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6870 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6875 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6880 eval "$wx_cv_use_tls"
6882 if test x"$enablestring" = xdisable; then
6883 if test $wxUSE_COMPILER_TLS = no; then
6889 result=$wxUSE_COMPILER_TLS
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6893 $as_echo "$result" >&6; }
6899 defaultval=$wxUSE_ALL_FEATURES
6900 if test -z "$defaultval"; then
6901 if test x"$enablestring" = xdisable; then
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6909 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6910 # Check whether --enable-intl was given.
6911 if test "${enable_intl+set}" = set; then :
6912 enableval=$enable_intl;
6913 if test "$enableval" = yes; then
6914 wx_cv_use_intl='wxUSE_INTL=yes'
6916 wx_cv_use_intl='wxUSE_INTL=no'
6921 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6926 eval "$wx_cv_use_intl"
6928 if test x"$enablestring" = xdisable; then
6929 if test $wxUSE_INTL = no; then
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6939 $as_echo "$result" >&6; }
6943 defaultval=$wxUSE_ALL_FEATURES
6944 if test -z "$defaultval"; then
6945 if test x"$enablestring" = xdisable; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6953 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6954 # Check whether --enable-xlocale was given.
6955 if test "${enable_xlocale+set}" = set; then :
6956 enableval=$enable_xlocale;
6957 if test "$enableval" = yes; then
6958 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
6960 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
6965 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
6970 eval "$wx_cv_use_xlocale"
6972 if test x"$enablestring" = xdisable; then
6973 if test $wxUSE_XLOCALE = no; then
6979 result=$wxUSE_XLOCALE
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6983 $as_echo "$result" >&6; }
6987 defaultval=$wxUSE_ALL_FEATURES
6988 if test -z "$defaultval"; then
6989 if test x"$enablestring" = xdisable; then
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
6997 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
6998 # Check whether --enable-config was given.
6999 if test "${enable_config+set}" = set; then :
7000 enableval=$enable_config;
7001 if test "$enableval" = yes; then
7002 wx_cv_use_config='wxUSE_CONFIG=yes'
7004 wx_cv_use_config='wxUSE_CONFIG=no'
7009 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7014 eval "$wx_cv_use_config"
7016 if test x"$enablestring" = xdisable; then
7017 if test $wxUSE_CONFIG = no; then
7023 result=$wxUSE_CONFIG
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7027 $as_echo "$result" >&6; }
7032 defaultval=$wxUSE_ALL_FEATURES
7033 if test -z "$defaultval"; then
7034 if test x"$enablestring" = xdisable; then
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7042 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7043 # Check whether --enable-protocols was given.
7044 if test "${enable_protocols+set}" = set; then :
7045 enableval=$enable_protocols;
7046 if test "$enableval" = yes; then
7047 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7049 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7054 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7059 eval "$wx_cv_use_protocols"
7061 if test x"$enablestring" = xdisable; then
7062 if test $wxUSE_PROTOCOL = no; then
7068 result=$wxUSE_PROTOCOL
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7072 $as_echo "$result" >&6; }
7076 defaultval=$wxUSE_ALL_FEATURES
7077 if test -z "$defaultval"; then
7078 if test x"$enablestring" = xdisable; then
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7086 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7087 # Check whether --enable-ftp was given.
7088 if test "${enable_ftp+set}" = set; then :
7089 enableval=$enable_ftp;
7090 if test "$enableval" = yes; then
7091 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7093 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7098 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7103 eval "$wx_cv_use_ftp"
7105 if test x"$enablestring" = xdisable; then
7106 if test $wxUSE_PROTOCOL_FTP = no; then
7112 result=$wxUSE_PROTOCOL_FTP
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7116 $as_echo "$result" >&6; }
7120 defaultval=$wxUSE_ALL_FEATURES
7121 if test -z "$defaultval"; then
7122 if test x"$enablestring" = xdisable; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7130 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7131 # Check whether --enable-http was given.
7132 if test "${enable_http+set}" = set; then :
7133 enableval=$enable_http;
7134 if test "$enableval" = yes; then
7135 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7137 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7142 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7147 eval "$wx_cv_use_http"
7149 if test x"$enablestring" = xdisable; then
7150 if test $wxUSE_PROTOCOL_HTTP = no; then
7156 result=$wxUSE_PROTOCOL_HTTP
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7160 $as_echo "$result" >&6; }
7164 defaultval=$wxUSE_ALL_FEATURES
7165 if test -z "$defaultval"; then
7166 if test x"$enablestring" = xdisable; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7174 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7175 # Check whether --enable-fileproto was given.
7176 if test "${enable_fileproto+set}" = set; then :
7177 enableval=$enable_fileproto;
7178 if test "$enableval" = yes; then
7179 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7181 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7186 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7191 eval "$wx_cv_use_fileproto"
7193 if test x"$enablestring" = xdisable; then
7194 if test $wxUSE_PROTOCOL_FILE = no; then
7200 result=$wxUSE_PROTOCOL_FILE
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7204 $as_echo "$result" >&6; }
7208 defaultval=$wxUSE_ALL_FEATURES
7209 if test -z "$defaultval"; then
7210 if test x"$enablestring" = xdisable; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7218 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7219 # Check whether --enable-sockets was given.
7220 if test "${enable_sockets+set}" = set; then :
7221 enableval=$enable_sockets;
7222 if test "$enableval" = yes; then
7223 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7225 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7230 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7235 eval "$wx_cv_use_sockets"
7237 if test x"$enablestring" = xdisable; then
7238 if test $wxUSE_SOCKETS = no; then
7244 result=$wxUSE_SOCKETS
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7248 $as_echo "$result" >&6; }
7252 defaultval=$wxUSE_ALL_FEATURES
7253 if test -z "$defaultval"; then
7254 if test x"$enablestring" = xdisable; then
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7262 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7263 # Check whether --enable-ipv6 was given.
7264 if test "${enable_ipv6+set}" = set; then :
7265 enableval=$enable_ipv6;
7266 if test "$enableval" = yes; then
7267 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7269 wx_cv_use_ipv6='wxUSE_IPV6=no'
7274 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7279 eval "$wx_cv_use_ipv6"
7281 if test x"$enablestring" = xdisable; then
7282 if test $wxUSE_IPV6 = no; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7292 $as_echo "$result" >&6; }
7296 defaultval=$wxUSE_ALL_FEATURES
7297 if test -z "$defaultval"; then
7298 if test x"$enablestring" = xdisable; then
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7306 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7307 # Check whether --enable-ole was given.
7308 if test "${enable_ole+set}" = set; then :
7309 enableval=$enable_ole;
7310 if test "$enableval" = yes; then
7311 wx_cv_use_ole='wxUSE_OLE=yes'
7313 wx_cv_use_ole='wxUSE_OLE=no'
7318 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7323 eval "$wx_cv_use_ole"
7325 if test x"$enablestring" = xdisable; then
7326 if test $wxUSE_OLE = no; then
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7336 $as_echo "$result" >&6; }
7340 defaultval=$wxUSE_ALL_FEATURES
7341 if test -z "$defaultval"; then
7342 if test x"$enablestring" = xdisable; then
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7350 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7351 # Check whether --enable-dataobj was given.
7352 if test "${enable_dataobj+set}" = set; then :
7353 enableval=$enable_dataobj;
7354 if test "$enableval" = yes; then
7355 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7357 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7362 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7367 eval "$wx_cv_use_dataobj"
7369 if test x"$enablestring" = xdisable; then
7370 if test $wxUSE_DATAOBJ = no; then
7376 result=$wxUSE_DATAOBJ
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7380 $as_echo "$result" >&6; }
7385 defaultval=$wxUSE_ALL_FEATURES
7386 if test -z "$defaultval"; then
7387 if test x"$enablestring" = xdisable; then
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7395 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7396 # Check whether --enable-ipc was given.
7397 if test "${enable_ipc+set}" = set; then :
7398 enableval=$enable_ipc;
7399 if test "$enableval" = yes; then
7400 wx_cv_use_ipc='wxUSE_IPC=yes'
7402 wx_cv_use_ipc='wxUSE_IPC=no'
7407 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7412 eval "$wx_cv_use_ipc"
7414 if test x"$enablestring" = xdisable; then
7415 if test $wxUSE_IPC = no; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7425 $as_echo "$result" >&6; }
7430 defaultval=$wxUSE_ALL_FEATURES
7431 if test -z "$defaultval"; then
7432 if test x"$enablestring" = xdisable; then
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7440 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7441 # Check whether --enable-baseevtloop was given.
7442 if test "${enable_baseevtloop+set}" = set; then :
7443 enableval=$enable_baseevtloop;
7444 if test "$enableval" = yes; then
7445 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7447 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7452 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7457 eval "$wx_cv_use_baseevtloop"
7459 if test x"$enablestring" = xdisable; then
7460 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7466 result=$wxUSE_CONSOLE_EVENTLOOP
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7470 $as_echo "$result" >&6; }
7474 defaultval=$wxUSE_ALL_FEATURES
7475 if test -z "$defaultval"; then
7476 if test x"$enablestring" = xdisable; then
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7484 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7485 # Check whether --enable-epollloop was given.
7486 if test "${enable_epollloop+set}" = set; then :
7487 enableval=$enable_epollloop;
7488 if test "$enableval" = yes; then
7489 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7491 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7496 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7501 eval "$wx_cv_use_epollloop"
7503 if test x"$enablestring" = xdisable; then
7504 if test $wxUSE_EPOLL_DISPATCHER = no; then
7510 result=$wxUSE_EPOLL_DISPATCHER
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7514 $as_echo "$result" >&6; }
7518 defaultval=$wxUSE_ALL_FEATURES
7519 if test -z "$defaultval"; then
7520 if test x"$enablestring" = xdisable; then
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7528 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7529 # Check whether --enable-selectloop was given.
7530 if test "${enable_selectloop+set}" = set; then :
7531 enableval=$enable_selectloop;
7532 if test "$enableval" = yes; then
7533 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7535 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7540 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7545 eval "$wx_cv_use_selectloop"
7547 if test x"$enablestring" = xdisable; then
7548 if test $wxUSE_SELECT_DISPATCHER = no; then
7554 result=$wxUSE_SELECT_DISPATCHER
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7558 $as_echo "$result" >&6; }
7563 defaultval=$wxUSE_ALL_FEATURES
7564 if test -z "$defaultval"; then
7565 if test x"$enablestring" = xdisable; then
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7573 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7574 # Check whether --enable-any was given.
7575 if test "${enable_any+set}" = set; then :
7576 enableval=$enable_any;
7577 if test "$enableval" = yes; then
7578 wx_cv_use_any='wxUSE_ANY=yes'
7580 wx_cv_use_any='wxUSE_ANY=no'
7585 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7590 eval "$wx_cv_use_any"
7592 if test x"$enablestring" = xdisable; then
7593 if test $wxUSE_ANY = no; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7603 $as_echo "$result" >&6; }
7607 defaultval=$wxUSE_ALL_FEATURES
7608 if test -z "$defaultval"; then
7609 if test x"$enablestring" = xdisable; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7617 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7618 # Check whether --enable-apple_ieee was given.
7619 if test "${enable_apple_ieee+set}" = set; then :
7620 enableval=$enable_apple_ieee;
7621 if test "$enableval" = yes; then
7622 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7624 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7629 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7634 eval "$wx_cv_use_apple_ieee"
7636 if test x"$enablestring" = xdisable; then
7637 if test $wxUSE_APPLE_IEEE = no; then
7643 result=$wxUSE_APPLE_IEEE
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7647 $as_echo "$result" >&6; }
7651 defaultval=$wxUSE_ALL_FEATURES
7652 if test -z "$defaultval"; then
7653 if test x"$enablestring" = xdisable; then
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7661 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7662 # Check whether --enable-arcstream was given.
7663 if test "${enable_arcstream+set}" = set; then :
7664 enableval=$enable_arcstream;
7665 if test "$enableval" = yes; then
7666 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7668 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7673 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7678 eval "$wx_cv_use_arcstream"
7680 if test x"$enablestring" = xdisable; then
7681 if test $wxUSE_ARCHIVE_STREAMS = no; then
7687 result=$wxUSE_ARCHIVE_STREAMS
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7691 $as_echo "$result" >&6; }
7695 defaultval=$wxUSE_ALL_FEATURES
7696 if test -z "$defaultval"; then
7697 if test x"$enablestring" = xdisable; then
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7705 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7706 # Check whether --enable-base64 was given.
7707 if test "${enable_base64+set}" = set; then :
7708 enableval=$enable_base64;
7709 if test "$enableval" = yes; then
7710 wx_cv_use_base64='wxUSE_BASE64=yes'
7712 wx_cv_use_base64='wxUSE_BASE64=no'
7717 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7722 eval "$wx_cv_use_base64"
7724 if test x"$enablestring" = xdisable; then
7725 if test $wxUSE_BASE64 = no; then
7731 result=$wxUSE_BASE64
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7735 $as_echo "$result" >&6; }
7739 defaultval=$wxUSE_ALL_FEATURES
7740 if test -z "$defaultval"; then
7741 if test x"$enablestring" = xdisable; then
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7749 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7750 # Check whether --enable-backtrace was given.
7751 if test "${enable_backtrace+set}" = set; then :
7752 enableval=$enable_backtrace;
7753 if test "$enableval" = yes; then
7754 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7756 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7761 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7766 eval "$wx_cv_use_backtrace"
7768 if test x"$enablestring" = xdisable; then
7769 if test $wxUSE_STACKWALKER = no; then
7775 result=$wxUSE_STACKWALKER
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7779 $as_echo "$result" >&6; }
7783 defaultval=$wxUSE_ALL_FEATURES
7784 if test -z "$defaultval"; then
7785 if test x"$enablestring" = xdisable; then
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7793 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7794 # Check whether --enable-catch_segvs was given.
7795 if test "${enable_catch_segvs+set}" = set; then :
7796 enableval=$enable_catch_segvs;
7797 if test "$enableval" = yes; then
7798 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7800 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7805 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7810 eval "$wx_cv_use_catch_segvs"
7812 if test x"$enablestring" = xdisable; then
7813 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7819 result=$wxUSE_ON_FATAL_EXCEPTION
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7823 $as_echo "$result" >&6; }
7827 defaultval=$wxUSE_ALL_FEATURES
7828 if test -z "$defaultval"; then
7829 if test x"$enablestring" = xdisable; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7837 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7838 # Check whether --enable-cmdline was given.
7839 if test "${enable_cmdline+set}" = set; then :
7840 enableval=$enable_cmdline;
7841 if test "$enableval" = yes; then
7842 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7844 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7849 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7854 eval "$wx_cv_use_cmdline"
7856 if test x"$enablestring" = xdisable; then
7857 if test $wxUSE_CMDLINE_PARSER = no; then
7863 result=$wxUSE_CMDLINE_PARSER
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7867 $as_echo "$result" >&6; }
7871 defaultval=$wxUSE_ALL_FEATURES
7872 if test -z "$defaultval"; then
7873 if test x"$enablestring" = xdisable; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7881 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7882 # Check whether --enable-datetime was given.
7883 if test "${enable_datetime+set}" = set; then :
7884 enableval=$enable_datetime;
7885 if test "$enableval" = yes; then
7886 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7888 wx_cv_use_datetime='wxUSE_DATETIME=no'
7893 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7898 eval "$wx_cv_use_datetime"
7900 if test x"$enablestring" = xdisable; then
7901 if test $wxUSE_DATETIME = no; then
7907 result=$wxUSE_DATETIME
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7911 $as_echo "$result" >&6; }
7915 defaultval=$wxUSE_ALL_FEATURES
7916 if test -z "$defaultval"; then
7917 if test x"$enablestring" = xdisable; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
7925 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
7926 # Check whether --enable-debugreport was given.
7927 if test "${enable_debugreport+set}" = set; then :
7928 enableval=$enable_debugreport;
7929 if test "$enableval" = yes; then
7930 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7932 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7937 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7942 eval "$wx_cv_use_debugreport"
7944 if test x"$enablestring" = xdisable; then
7945 if test $wxUSE_DEBUGREPORT = no; then
7951 result=$wxUSE_DEBUGREPORT
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7955 $as_echo "$result" >&6; }
7959 defaultval=$wxUSE_ALL_FEATURES
7960 if test -z "$defaultval"; then
7961 if test x"$enablestring" = xdisable; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
7969 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
7970 # Check whether --enable-dialupman was given.
7971 if test "${enable_dialupman+set}" = set; then :
7972 enableval=$enable_dialupman;
7973 if test "$enableval" = yes; then
7974 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7976 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7981 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7986 eval "$wx_cv_use_dialupman"
7988 if test x"$enablestring" = xdisable; then
7989 if test $wxUSE_DIALUP_MANAGER = no; then
7995 result=$wxUSE_DIALUP_MANAGER
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7999 $as_echo "$result" >&6; }
8003 defaultval=$wxUSE_ALL_FEATURES
8004 if test -z "$defaultval"; then
8005 if test x"$enablestring" = xdisable; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8013 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8014 # Check whether --enable-dynlib was given.
8015 if test "${enable_dynlib+set}" = set; then :
8016 enableval=$enable_dynlib;
8017 if test "$enableval" = yes; then
8018 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8020 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8025 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8030 eval "$wx_cv_use_dynlib"
8032 if test x"$enablestring" = xdisable; then
8033 if test $wxUSE_DYNLIB_CLASS = no; then
8039 result=$wxUSE_DYNLIB_CLASS
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8043 $as_echo "$result" >&6; }
8047 defaultval=$wxUSE_ALL_FEATURES
8048 if test -z "$defaultval"; then
8049 if test x"$enablestring" = xdisable; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8057 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8058 # Check whether --enable-dynamicloader was given.
8059 if test "${enable_dynamicloader+set}" = set; then :
8060 enableval=$enable_dynamicloader;
8061 if test "$enableval" = yes; then
8062 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8064 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8069 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8074 eval "$wx_cv_use_dynamicloader"
8076 if test x"$enablestring" = xdisable; then
8077 if test $wxUSE_DYNAMIC_LOADER = no; then
8083 result=$wxUSE_DYNAMIC_LOADER
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8087 $as_echo "$result" >&6; }
8091 defaultval=$wxUSE_ALL_FEATURES
8092 if test -z "$defaultval"; then
8093 if test x"$enablestring" = xdisable; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8101 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8102 # Check whether --enable-exceptions was given.
8103 if test "${enable_exceptions+set}" = set; then :
8104 enableval=$enable_exceptions;
8105 if test "$enableval" = yes; then
8106 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8108 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8113 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8118 eval "$wx_cv_use_exceptions"
8120 if test x"$enablestring" = xdisable; then
8121 if test $wxUSE_EXCEPTIONS = no; then
8127 result=$wxUSE_EXCEPTIONS
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8131 $as_echo "$result" >&6; }
8135 defaultval=$wxUSE_ALL_FEATURES
8136 if test -z "$defaultval"; then
8137 if test x"$enablestring" = xdisable; then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8145 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8146 # Check whether --enable-ffile was given.
8147 if test "${enable_ffile+set}" = set; then :
8148 enableval=$enable_ffile;
8149 if test "$enableval" = yes; then
8150 wx_cv_use_ffile='wxUSE_FFILE=yes'
8152 wx_cv_use_ffile='wxUSE_FFILE=no'
8157 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8162 eval "$wx_cv_use_ffile"
8164 if test x"$enablestring" = xdisable; then
8165 if test $wxUSE_FFILE = no; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8175 $as_echo "$result" >&6; }
8179 defaultval=$wxUSE_ALL_FEATURES
8180 if test -z "$defaultval"; then
8181 if test x"$enablestring" = xdisable; then
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8189 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8190 # Check whether --enable-file was given.
8191 if test "${enable_file+set}" = set; then :
8192 enableval=$enable_file;
8193 if test "$enableval" = yes; then
8194 wx_cv_use_file='wxUSE_FILE=yes'
8196 wx_cv_use_file='wxUSE_FILE=no'
8201 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8206 eval "$wx_cv_use_file"
8208 if test x"$enablestring" = xdisable; then
8209 if test $wxUSE_FILE = no; then
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8219 $as_echo "$result" >&6; }
8223 defaultval=$wxUSE_ALL_FEATURES
8224 if test -z "$defaultval"; then
8225 if test x"$enablestring" = xdisable; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8233 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8234 # Check whether --enable-filehistory was given.
8235 if test "${enable_filehistory+set}" = set; then :
8236 enableval=$enable_filehistory;
8237 if test "$enableval" = yes; then
8238 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8240 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8245 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8250 eval "$wx_cv_use_filehistory"
8252 if test x"$enablestring" = xdisable; then
8253 if test $wxUSE_FILE_HISTORY = no; then
8259 result=$wxUSE_FILE_HISTORY
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8263 $as_echo "$result" >&6; }
8267 defaultval=$wxUSE_ALL_FEATURES
8268 if test -z "$defaultval"; then
8269 if test x"$enablestring" = xdisable; then
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8277 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8278 # Check whether --enable-filesystem was given.
8279 if test "${enable_filesystem+set}" = set; then :
8280 enableval=$enable_filesystem;
8281 if test "$enableval" = yes; then
8282 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8284 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8289 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8294 eval "$wx_cv_use_filesystem"
8296 if test x"$enablestring" = xdisable; then
8297 if test $wxUSE_FILESYSTEM = no; then
8303 result=$wxUSE_FILESYSTEM
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8307 $as_echo "$result" >&6; }
8311 defaultval=$wxUSE_ALL_FEATURES
8312 if test -z "$defaultval"; then
8313 if test x"$enablestring" = xdisable; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8321 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8322 # Check whether --enable-fontenum was given.
8323 if test "${enable_fontenum+set}" = set; then :
8324 enableval=$enable_fontenum;
8325 if test "$enableval" = yes; then
8326 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8328 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8333 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8338 eval "$wx_cv_use_fontenum"
8340 if test x"$enablestring" = xdisable; then
8341 if test $wxUSE_FONTENUM = no; then
8347 result=$wxUSE_FONTENUM
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8351 $as_echo "$result" >&6; }
8355 defaultval=$wxUSE_ALL_FEATURES
8356 if test -z "$defaultval"; then
8357 if test x"$enablestring" = xdisable; then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8365 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8366 # Check whether --enable-fontmap was given.
8367 if test "${enable_fontmap+set}" = set; then :
8368 enableval=$enable_fontmap;
8369 if test "$enableval" = yes; then
8370 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8372 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8377 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8382 eval "$wx_cv_use_fontmap"
8384 if test x"$enablestring" = xdisable; then
8385 if test $wxUSE_FONTMAP = no; then
8391 result=$wxUSE_FONTMAP
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8395 $as_echo "$result" >&6; }
8399 defaultval=$wxUSE_ALL_FEATURES
8400 if test -z "$defaultval"; then
8401 if test x"$enablestring" = xdisable; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8409 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8410 # Check whether --enable-fs_archive was given.
8411 if test "${enable_fs_archive+set}" = set; then :
8412 enableval=$enable_fs_archive;
8413 if test "$enableval" = yes; then
8414 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8416 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8421 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8426 eval "$wx_cv_use_fs_archive"
8428 if test x"$enablestring" = xdisable; then
8429 if test $wxUSE_FS_ARCHIVE = no; then
8435 result=$wxUSE_FS_ARCHIVE
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8439 $as_echo "$result" >&6; }
8443 defaultval=$wxUSE_ALL_FEATURES
8444 if test -z "$defaultval"; then
8445 if test x"$enablestring" = xdisable; then
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8453 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8454 # Check whether --enable-fs_inet was given.
8455 if test "${enable_fs_inet+set}" = set; then :
8456 enableval=$enable_fs_inet;
8457 if test "$enableval" = yes; then
8458 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8460 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8465 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8470 eval "$wx_cv_use_fs_inet"
8472 if test x"$enablestring" = xdisable; then
8473 if test $wxUSE_FS_INET = no; then
8479 result=$wxUSE_FS_INET
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8483 $as_echo "$result" >&6; }
8487 defaultval=$wxUSE_ALL_FEATURES
8488 if test -z "$defaultval"; then
8489 if test x"$enablestring" = xdisable; then
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8497 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8498 # Check whether --enable-fs_zip was given.
8499 if test "${enable_fs_zip+set}" = set; then :
8500 enableval=$enable_fs_zip;
8501 if test "$enableval" = yes; then
8502 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8504 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8509 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8514 eval "$wx_cv_use_fs_zip"
8516 if test x"$enablestring" = xdisable; then
8517 if test $wxUSE_FS_ZIP = no; then
8523 result=$wxUSE_FS_ZIP
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8527 $as_echo "$result" >&6; }
8531 defaultval=$wxUSE_ALL_FEATURES
8532 if test -z "$defaultval"; then
8533 if test x"$enablestring" = xdisable; then
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8541 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8542 # Check whether --enable-fswatcher was given.
8543 if test "${enable_fswatcher+set}" = set; then :
8544 enableval=$enable_fswatcher;
8545 if test "$enableval" = yes; then
8546 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8548 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8553 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8558 eval "$wx_cv_use_fswatcher"
8560 if test x"$enablestring" = xdisable; then
8561 if test $wxUSE_FSWATCHER = no; then
8567 result=$wxUSE_FSWATCHER
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8571 $as_echo "$result" >&6; }
8575 defaultval=$wxUSE_ALL_FEATURES
8576 if test -z "$defaultval"; then
8577 if test x"$enablestring" = xdisable; then
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8585 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8586 # Check whether --enable-geometry was given.
8587 if test "${enable_geometry+set}" = set; then :
8588 enableval=$enable_geometry;
8589 if test "$enableval" = yes; then
8590 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8592 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8597 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8602 eval "$wx_cv_use_geometry"
8604 if test x"$enablestring" = xdisable; then
8605 if test $wxUSE_GEOMETRY = no; then
8611 result=$wxUSE_GEOMETRY
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8615 $as_echo "$result" >&6; }
8619 defaultval=$wxUSE_ALL_FEATURES
8620 if test -z "$defaultval"; then
8621 if test x"$enablestring" = xdisable; then
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8629 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8630 # Check whether --enable-log was given.
8631 if test "${enable_log+set}" = set; then :
8632 enableval=$enable_log;
8633 if test "$enableval" = yes; then
8634 wx_cv_use_log='wxUSE_LOG=yes'
8636 wx_cv_use_log='wxUSE_LOG=no'
8641 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8646 eval "$wx_cv_use_log"
8648 if test x"$enablestring" = xdisable; then
8649 if test $wxUSE_LOG = no; then
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8659 $as_echo "$result" >&6; }
8663 defaultval=$wxUSE_ALL_FEATURES
8664 if test -z "$defaultval"; then
8665 if test x"$enablestring" = xdisable; then
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8673 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8674 # Check whether --enable-longlong was given.
8675 if test "${enable_longlong+set}" = set; then :
8676 enableval=$enable_longlong;
8677 if test "$enableval" = yes; then
8678 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8680 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8685 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8690 eval "$wx_cv_use_longlong"
8692 if test x"$enablestring" = xdisable; then
8693 if test $wxUSE_LONGLONG = no; then
8699 result=$wxUSE_LONGLONG
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8703 $as_echo "$result" >&6; }
8707 defaultval=$wxUSE_ALL_FEATURES
8708 if test -z "$defaultval"; then
8709 if test x"$enablestring" = xdisable; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8717 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8718 # Check whether --enable-mimetype was given.
8719 if test "${enable_mimetype+set}" = set; then :
8720 enableval=$enable_mimetype;
8721 if test "$enableval" = yes; then
8722 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8724 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8729 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8734 eval "$wx_cv_use_mimetype"
8736 if test x"$enablestring" = xdisable; then
8737 if test $wxUSE_MIMETYPE = no; then
8743 result=$wxUSE_MIMETYPE
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8747 $as_echo "$result" >&6; }
8751 defaultval=$wxUSE_ALL_FEATURES
8752 if test -z "$defaultval"; then
8753 if test x"$enablestring" = xdisable; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8761 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8762 # Check whether --enable-printfposparam was given.
8763 if test "${enable_printfposparam+set}" = set; then :
8764 enableval=$enable_printfposparam;
8765 if test "$enableval" = yes; then
8766 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8768 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8773 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8778 eval "$wx_cv_use_printfposparam"
8780 if test x"$enablestring" = xdisable; then
8781 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8787 result=$wxUSE_PRINTF_POS_PARAMS
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8791 $as_echo "$result" >&6; }
8795 defaultval=$wxUSE_ALL_FEATURES
8796 if test -z "$defaultval"; then
8797 if test x"$enablestring" = xdisable; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8805 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8806 # Check whether --enable-snglinst was given.
8807 if test "${enable_snglinst+set}" = set; then :
8808 enableval=$enable_snglinst;
8809 if test "$enableval" = yes; then
8810 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8812 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8817 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8822 eval "$wx_cv_use_snglinst"
8824 if test x"$enablestring" = xdisable; then
8825 if test $wxUSE_SNGLINST_CHECKER = no; then
8831 result=$wxUSE_SNGLINST_CHECKER
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8835 $as_echo "$result" >&6; }
8839 defaultval=$wxUSE_ALL_FEATURES
8840 if test -z "$defaultval"; then
8841 if test x"$enablestring" = xdisable; then
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8849 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8850 # Check whether --enable-sound was given.
8851 if test "${enable_sound+set}" = set; then :
8852 enableval=$enable_sound;
8853 if test "$enableval" = yes; then
8854 wx_cv_use_sound='wxUSE_SOUND=yes'
8856 wx_cv_use_sound='wxUSE_SOUND=no'
8861 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8866 eval "$wx_cv_use_sound"
8868 if test x"$enablestring" = xdisable; then
8869 if test $wxUSE_SOUND = no; then
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8879 $as_echo "$result" >&6; }
8883 defaultval=$wxUSE_ALL_FEATURES
8884 if test -z "$defaultval"; then
8885 if test x"$enablestring" = xdisable; then
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8893 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8894 # Check whether --enable-stdpaths was given.
8895 if test "${enable_stdpaths+set}" = set; then :
8896 enableval=$enable_stdpaths;
8897 if test "$enableval" = yes; then
8898 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8900 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8905 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8910 eval "$wx_cv_use_stdpaths"
8912 if test x"$enablestring" = xdisable; then
8913 if test $wxUSE_STDPATHS = no; then
8919 result=$wxUSE_STDPATHS
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8923 $as_echo "$result" >&6; }
8927 defaultval=$wxUSE_ALL_FEATURES
8928 if test -z "$defaultval"; then
8929 if test x"$enablestring" = xdisable; then
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8937 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8938 # Check whether --enable-stopwatch was given.
8939 if test "${enable_stopwatch+set}" = set; then :
8940 enableval=$enable_stopwatch;
8941 if test "$enableval" = yes; then
8942 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8944 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8949 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8954 eval "$wx_cv_use_stopwatch"
8956 if test x"$enablestring" = xdisable; then
8957 if test $wxUSE_STOPWATCH = no; then
8963 result=$wxUSE_STOPWATCH
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8967 $as_echo "$result" >&6; }
8971 defaultval=$wxUSE_ALL_FEATURES
8972 if test -z "$defaultval"; then
8973 if test x"$enablestring" = xdisable; then
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
8981 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
8982 # Check whether --enable-streams was given.
8983 if test "${enable_streams+set}" = set; then :
8984 enableval=$enable_streams;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_streams='wxUSE_STREAMS=yes'
8988 wx_cv_use_streams='wxUSE_STREAMS=no'
8993 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8998 eval "$wx_cv_use_streams"
9000 if test x"$enablestring" = xdisable; then
9001 if test $wxUSE_STREAMS = no; then
9007 result=$wxUSE_STREAMS
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9011 $as_echo "$result" >&6; }
9015 defaultval=$wxUSE_ALL_FEATURES
9016 if test -z "$defaultval"; then
9017 if test x"$enablestring" = xdisable; then
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9025 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9026 # Check whether --enable-sysoptions was given.
9027 if test "${enable_sysoptions+set}" = set; then :
9028 enableval=$enable_sysoptions;
9029 if test "$enableval" = yes; then
9030 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9032 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9037 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9042 eval "$wx_cv_use_sysoptions"
9044 if test x"$enablestring" = xdisable; then
9045 if test $wxUSE_SYSTEM_OPTIONS = no; then
9051 result=$wxUSE_SYSTEM_OPTIONS
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9055 $as_echo "$result" >&6; }
9059 defaultval=$wxUSE_ALL_FEATURES
9060 if test -z "$defaultval"; then
9061 if test x"$enablestring" = xdisable; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9069 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9070 # Check whether --enable-tarstream was given.
9071 if test "${enable_tarstream+set}" = set; then :
9072 enableval=$enable_tarstream;
9073 if test "$enableval" = yes; then
9074 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9076 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9081 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9086 eval "$wx_cv_use_tarstream"
9088 if test x"$enablestring" = xdisable; then
9089 if test $wxUSE_TARSTREAM = no; then
9095 result=$wxUSE_TARSTREAM
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9099 $as_echo "$result" >&6; }
9103 defaultval=$wxUSE_ALL_FEATURES
9104 if test -z "$defaultval"; then
9105 if test x"$enablestring" = xdisable; then
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9113 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9114 # Check whether --enable-textbuf was given.
9115 if test "${enable_textbuf+set}" = set; then :
9116 enableval=$enable_textbuf;
9117 if test "$enableval" = yes; then
9118 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9120 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9125 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9130 eval "$wx_cv_use_textbuf"
9132 if test x"$enablestring" = xdisable; then
9133 if test $wxUSE_TEXTBUFFER = no; then
9139 result=$wxUSE_TEXTBUFFER
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9143 $as_echo "$result" >&6; }
9147 defaultval=$wxUSE_ALL_FEATURES
9148 if test -z "$defaultval"; then
9149 if test x"$enablestring" = xdisable; then
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9157 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9158 # Check whether --enable-textfile was given.
9159 if test "${enable_textfile+set}" = set; then :
9160 enableval=$enable_textfile;
9161 if test "$enableval" = yes; then
9162 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9164 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9169 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9174 eval "$wx_cv_use_textfile"
9176 if test x"$enablestring" = xdisable; then
9177 if test $wxUSE_TEXTFILE = no; then
9183 result=$wxUSE_TEXTFILE
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9187 $as_echo "$result" >&6; }
9191 defaultval=$wxUSE_ALL_FEATURES
9192 if test -z "$defaultval"; then
9193 if test x"$enablestring" = xdisable; then
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9201 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9202 # Check whether --enable-timer was given.
9203 if test "${enable_timer+set}" = set; then :
9204 enableval=$enable_timer;
9205 if test "$enableval" = yes; then
9206 wx_cv_use_timer='wxUSE_TIMER=yes'
9208 wx_cv_use_timer='wxUSE_TIMER=no'
9213 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9218 eval "$wx_cv_use_timer"
9220 if test x"$enablestring" = xdisable; then
9221 if test $wxUSE_TIMER = no; then
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9231 $as_echo "$result" >&6; }
9235 defaultval=$wxUSE_ALL_FEATURES
9236 if test -z "$defaultval"; then
9237 if test x"$enablestring" = xdisable; then
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9245 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9246 # Check whether --enable-variant was given.
9247 if test "${enable_variant+set}" = set; then :
9248 enableval=$enable_variant;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_variant='wxUSE_VARIANT=yes'
9252 wx_cv_use_variant='wxUSE_VARIANT=no'
9257 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9262 eval "$wx_cv_use_variant"
9264 if test x"$enablestring" = xdisable; then
9265 if test $wxUSE_VARIANT = no; then
9271 result=$wxUSE_VARIANT
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9275 $as_echo "$result" >&6; }
9279 defaultval=$wxUSE_ALL_FEATURES
9280 if test -z "$defaultval"; then
9281 if test x"$enablestring" = xdisable; then
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9289 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9290 # Check whether --enable-zipstream was given.
9291 if test "${enable_zipstream+set}" = set; then :
9292 enableval=$enable_zipstream;
9293 if test "$enableval" = yes; then
9294 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9296 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9301 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9306 eval "$wx_cv_use_zipstream"
9308 if test x"$enablestring" = xdisable; then
9309 if test $wxUSE_ZIPSTREAM = no; then
9315 result=$wxUSE_ZIPSTREAM
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9319 $as_echo "$result" >&6; }
9324 defaultval=$wxUSE_ALL_FEATURES
9325 if test -z "$defaultval"; then
9326 if test x"$enablestring" = xdisable; then
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9334 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9335 # Check whether --enable-url was given.
9336 if test "${enable_url+set}" = set; then :
9337 enableval=$enable_url;
9338 if test "$enableval" = yes; then
9339 wx_cv_use_url='wxUSE_URL=yes'
9341 wx_cv_use_url='wxUSE_URL=no'
9346 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9351 eval "$wx_cv_use_url"
9353 if test x"$enablestring" = xdisable; then
9354 if test $wxUSE_URL = no; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9364 $as_echo "$result" >&6; }
9368 defaultval=$wxUSE_ALL_FEATURES
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9378 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9379 # Check whether --enable-protocol was given.
9380 if test "${enable_protocol+set}" = set; then :
9381 enableval=$enable_protocol;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9385 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9390 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9395 eval "$wx_cv_use_protocol"
9397 if test x"$enablestring" = xdisable; then
9398 if test $wxUSE_PROTOCOL = no; then
9404 result=$wxUSE_PROTOCOL
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9408 $as_echo "$result" >&6; }
9412 defaultval=$wxUSE_ALL_FEATURES
9413 if test -z "$defaultval"; then
9414 if test x"$enablestring" = xdisable; then
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9422 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9423 # Check whether --enable-protocol_http was given.
9424 if test "${enable_protocol_http+set}" = set; then :
9425 enableval=$enable_protocol_http;
9426 if test "$enableval" = yes; then
9427 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9429 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9434 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9439 eval "$wx_cv_use_protocol_http"
9441 if test x"$enablestring" = xdisable; then
9442 if test $wxUSE_PROTOCOL_HTTP = no; then
9448 result=$wxUSE_PROTOCOL_HTTP
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9452 $as_echo "$result" >&6; }
9456 defaultval=$wxUSE_ALL_FEATURES
9457 if test -z "$defaultval"; then
9458 if test x"$enablestring" = xdisable; then
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9466 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9467 # Check whether --enable-protocol_ftp was given.
9468 if test "${enable_protocol_ftp+set}" = set; then :
9469 enableval=$enable_protocol_ftp;
9470 if test "$enableval" = yes; then
9471 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9473 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9478 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9483 eval "$wx_cv_use_protocol_ftp"
9485 if test x"$enablestring" = xdisable; then
9486 if test $wxUSE_PROTOCOL_FTP = no; then
9492 result=$wxUSE_PROTOCOL_FTP
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9496 $as_echo "$result" >&6; }
9500 defaultval=$wxUSE_ALL_FEATURES
9501 if test -z "$defaultval"; then
9502 if test x"$enablestring" = xdisable; then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9510 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9511 # Check whether --enable-protocol_file was given.
9512 if test "${enable_protocol_file+set}" = set; then :
9513 enableval=$enable_protocol_file;
9514 if test "$enableval" = yes; then
9515 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9517 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9522 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9527 eval "$wx_cv_use_protocol_file"
9529 if test x"$enablestring" = xdisable; then
9530 if test $wxUSE_PROTOCOL_FILE = no; then
9536 result=$wxUSE_PROTOCOL_FILE
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9540 $as_echo "$result" >&6; }
9545 defaultval=$wxUSE_ALL_FEATURES
9546 if test -z "$defaultval"; then
9547 if test x"$enablestring" = xdisable; then
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9555 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9556 # Check whether --enable-threads was given.
9557 if test "${enable_threads+set}" = set; then :
9558 enableval=$enable_threads;
9559 if test "$enableval" = yes; then
9560 wx_cv_use_threads='wxUSE_THREADS=yes'
9562 wx_cv_use_threads='wxUSE_THREADS=no'
9567 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9572 eval "$wx_cv_use_threads"
9574 if test x"$enablestring" = xdisable; then
9575 if test $wxUSE_THREADS = no; then
9581 result=$wxUSE_THREADS
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9585 $as_echo "$result" >&6; }
9591 if test -z "$defaultval"; then
9592 if test x"$enablestring" = xdisable; then
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9600 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9601 # Check whether --enable-iniconf was given.
9602 if test "${enable_iniconf+set}" = set; then :
9603 enableval=$enable_iniconf;
9604 if test "$enableval" = yes; then
9605 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9607 wx_cv_use_iniconf='wxUSE_INICONF=no'
9612 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9617 eval "$wx_cv_use_iniconf"
9619 if test x"$enablestring" = xdisable; then
9620 if test $wxUSE_INICONF = no; then
9626 result=$wxUSE_INICONF
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9630 $as_echo "$result" >&6; }
9634 defaultval=$wxUSE_ALL_FEATURES
9635 if test -z "$defaultval"; then
9636 if test x"$enablestring" = xdisable; then
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9644 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9645 # Check whether --enable-regkey was given.
9646 if test "${enable_regkey+set}" = set; then :
9647 enableval=$enable_regkey;
9648 if test "$enableval" = yes; then
9649 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9651 wx_cv_use_regkey='wxUSE_REGKEY=no'
9656 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9661 eval "$wx_cv_use_regkey"
9663 if test x"$enablestring" = xdisable; then
9664 if test $wxUSE_REGKEY = no; then
9670 result=$wxUSE_REGKEY
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9674 $as_echo "$result" >&6; }
9677 if test "$wxUSE_GUI" = "yes"; then
9682 defaultval=$wxUSE_ALL_FEATURES
9683 if test -z "$defaultval"; then
9684 if test x"$enablestring" = xdisable; then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9692 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9693 # Check whether --enable-docview was given.
9694 if test "${enable_docview+set}" = set; then :
9695 enableval=$enable_docview;
9696 if test "$enableval" = yes; then
9697 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9699 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9704 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9709 eval "$wx_cv_use_docview"
9711 if test x"$enablestring" = xdisable; then
9712 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9718 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9722 $as_echo "$result" >&6; }
9726 defaultval=$wxUSE_ALL_FEATURES
9727 if test -z "$defaultval"; then
9728 if test x"$enablestring" = xdisable; then
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9736 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9737 # Check whether --enable-help was given.
9738 if test "${enable_help+set}" = set; then :
9739 enableval=$enable_help;
9740 if test "$enableval" = yes; then
9741 wx_cv_use_help='wxUSE_HELP=yes'
9743 wx_cv_use_help='wxUSE_HELP=no'
9748 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9753 eval "$wx_cv_use_help"
9755 if test x"$enablestring" = xdisable; then
9756 if test $wxUSE_HELP = no; then
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9766 $as_echo "$result" >&6; }
9770 defaultval=$wxUSE_ALL_FEATURES
9771 if test -z "$defaultval"; then
9772 if test x"$enablestring" = xdisable; then
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9780 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9781 # Check whether --enable-mshtmlhelp was given.
9782 if test "${enable_mshtmlhelp+set}" = set; then :
9783 enableval=$enable_mshtmlhelp;
9784 if test "$enableval" = yes; then
9785 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9787 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9792 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9797 eval "$wx_cv_use_mshtmlhelp"
9799 if test x"$enablestring" = xdisable; then
9800 if test $wxUSE_MS_HTML_HELP = no; then
9806 result=$wxUSE_MS_HTML_HELP
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9810 $as_echo "$result" >&6; }
9814 defaultval=$wxUSE_ALL_FEATURES
9815 if test -z "$defaultval"; then
9816 if test x"$enablestring" = xdisable; then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9824 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9825 # Check whether --enable-html was given.
9826 if test "${enable_html+set}" = set; then :
9827 enableval=$enable_html;
9828 if test "$enableval" = yes; then
9829 wx_cv_use_html='wxUSE_HTML=yes'
9831 wx_cv_use_html='wxUSE_HTML=no'
9836 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9841 eval "$wx_cv_use_html"
9843 if test x"$enablestring" = xdisable; then
9844 if test $wxUSE_HTML = no; then
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9854 $as_echo "$result" >&6; }
9858 defaultval=$wxUSE_ALL_FEATURES
9859 if test -z "$defaultval"; then
9860 if test x"$enablestring" = xdisable; then
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9868 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9869 # Check whether --enable-htmlhelp was given.
9870 if test "${enable_htmlhelp+set}" = set; then :
9871 enableval=$enable_htmlhelp;
9872 if test "$enableval" = yes; then
9873 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9875 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9880 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9885 eval "$wx_cv_use_htmlhelp"
9887 if test x"$enablestring" = xdisable; then
9888 if test $wxUSE_WXHTML_HELP = no; then
9894 result=$wxUSE_WXHTML_HELP
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9898 $as_echo "$result" >&6; }
9902 defaultval=$wxUSE_ALL_FEATURES
9903 if test -z "$defaultval"; then
9904 if test x"$enablestring" = xdisable; then
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
9912 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
9913 # Check whether --enable-xrc was given.
9914 if test "${enable_xrc+set}" = set; then :
9915 enableval=$enable_xrc;
9916 if test "$enableval" = yes; then
9917 wx_cv_use_xrc='wxUSE_XRC=yes'
9919 wx_cv_use_xrc='wxUSE_XRC=no'
9924 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9929 eval "$wx_cv_use_xrc"
9931 if test x"$enablestring" = xdisable; then
9932 if test $wxUSE_XRC = no; then
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9942 $as_echo "$result" >&6; }
9946 defaultval=$wxUSE_ALL_FEATURES
9947 if test -z "$defaultval"; then
9948 if test x"$enablestring" = xdisable; then
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9956 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9957 # Check whether --enable-aui was given.
9958 if test "${enable_aui+set}" = set; then :
9959 enableval=$enable_aui;
9960 if test "$enableval" = yes; then
9961 wx_cv_use_aui='wxUSE_AUI=yes'
9963 wx_cv_use_aui='wxUSE_AUI=no'
9968 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9973 eval "$wx_cv_use_aui"
9975 if test x"$enablestring" = xdisable; then
9976 if test $wxUSE_AUI = no; then
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9986 $as_echo "$result" >&6; }
9990 defaultval=$wxUSE_ALL_FEATURES
9991 if test -z "$defaultval"; then
9992 if test x"$enablestring" = xdisable; then
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10000 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10001 # Check whether --enable-propgrid was given.
10002 if test "${enable_propgrid+set}" = set; then :
10003 enableval=$enable_propgrid;
10004 if test "$enableval" = yes; then
10005 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10007 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10012 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10017 eval "$wx_cv_use_propgrid"
10019 if test x"$enablestring" = xdisable; then
10020 if test $wxUSE_PROPGRID = no; then
10026 result=$wxUSE_PROPGRID
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10030 $as_echo "$result" >&6; }
10034 defaultval=$wxUSE_ALL_FEATURES
10035 if test -z "$defaultval"; then
10036 if test x"$enablestring" = xdisable; then
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10044 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10045 # Check whether --enable-ribbon was given.
10046 if test "${enable_ribbon+set}" = set; then :
10047 enableval=$enable_ribbon;
10048 if test "$enableval" = yes; then
10049 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10051 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10056 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10061 eval "$wx_cv_use_ribbon"
10063 if test x"$enablestring" = xdisable; then
10064 if test $wxUSE_RIBBON = no; then
10070 result=$wxUSE_RIBBON
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10074 $as_echo "$result" >&6; }
10078 defaultval=$wxUSE_ALL_FEATURES
10079 if test -z "$defaultval"; then
10080 if test x"$enablestring" = xdisable; then
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10088 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10089 # Check whether --enable-stc was given.
10090 if test "${enable_stc+set}" = set; then :
10091 enableval=$enable_stc;
10092 if test "$enableval" = yes; then
10093 wx_cv_use_stc='wxUSE_STC=yes'
10095 wx_cv_use_stc='wxUSE_STC=no'
10100 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10105 eval "$wx_cv_use_stc"
10107 if test x"$enablestring" = xdisable; then
10108 if test $wxUSE_STC = no; then
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10118 $as_echo "$result" >&6; }
10122 defaultval=$wxUSE_ALL_FEATURES
10123 if test -z "$defaultval"; then
10124 if test x"$enablestring" = xdisable; then
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10132 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10133 # Check whether --enable-constraints was given.
10134 if test "${enable_constraints+set}" = set; then :
10135 enableval=$enable_constraints;
10136 if test "$enableval" = yes; then
10137 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10139 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10144 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10149 eval "$wx_cv_use_constraints"
10151 if test x"$enablestring" = xdisable; then
10152 if test $wxUSE_CONSTRAINTS = no; then
10158 result=$wxUSE_CONSTRAINTS
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10162 $as_echo "$result" >&6; }
10166 defaultval=$wxUSE_ALL_FEATURES
10167 if test -z "$defaultval"; then
10168 if test x"$enablestring" = xdisable; then
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10176 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10177 # Check whether --enable-loggui was given.
10178 if test "${enable_loggui+set}" = set; then :
10179 enableval=$enable_loggui;
10180 if test "$enableval" = yes; then
10181 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10183 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10188 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10193 eval "$wx_cv_use_loggui"
10195 if test x"$enablestring" = xdisable; then
10196 if test $wxUSE_LOGGUI = no; then
10202 result=$wxUSE_LOGGUI
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10206 $as_echo "$result" >&6; }
10210 defaultval=$wxUSE_ALL_FEATURES
10211 if test -z "$defaultval"; then
10212 if test x"$enablestring" = xdisable; then
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10220 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10221 # Check whether --enable-logwin was given.
10222 if test "${enable_logwin+set}" = set; then :
10223 enableval=$enable_logwin;
10224 if test "$enableval" = yes; then
10225 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10227 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10232 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10237 eval "$wx_cv_use_logwin"
10239 if test x"$enablestring" = xdisable; then
10240 if test $wxUSE_LOGWINDOW = no; then
10246 result=$wxUSE_LOGWINDOW
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10250 $as_echo "$result" >&6; }
10254 defaultval=$wxUSE_ALL_FEATURES
10255 if test -z "$defaultval"; then
10256 if test x"$enablestring" = xdisable; then
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10264 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10265 # Check whether --enable-logdialog was given.
10266 if test "${enable_logdialog+set}" = set; then :
10267 enableval=$enable_logdialog;
10268 if test "$enableval" = yes; then
10269 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10271 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10276 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10281 eval "$wx_cv_use_logdialog"
10283 if test x"$enablestring" = xdisable; then
10284 if test $wxUSE_LOGDIALOG = no; then
10290 result=$wxUSE_LOGDIALOG
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10294 $as_echo "$result" >&6; }
10298 defaultval=$wxUSE_ALL_FEATURES
10299 if test -z "$defaultval"; then
10300 if test x"$enablestring" = xdisable; then
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10308 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10309 # Check whether --enable-mdi was given.
10310 if test "${enable_mdi+set}" = set; then :
10311 enableval=$enable_mdi;
10312 if test "$enableval" = yes; then
10313 wx_cv_use_mdi='wxUSE_MDI=yes'
10315 wx_cv_use_mdi='wxUSE_MDI=no'
10320 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10325 eval "$wx_cv_use_mdi"
10327 if test x"$enablestring" = xdisable; then
10328 if test $wxUSE_MDI = no; then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10338 $as_echo "$result" >&6; }
10342 defaultval=$wxUSE_ALL_FEATURES
10343 if test -z "$defaultval"; then
10344 if test x"$enablestring" = xdisable; then
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10352 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10353 # Check whether --enable-mdidoc was given.
10354 if test "${enable_mdidoc+set}" = set; then :
10355 enableval=$enable_mdidoc;
10356 if test "$enableval" = yes; then
10357 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10359 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10364 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10369 eval "$wx_cv_use_mdidoc"
10371 if test x"$enablestring" = xdisable; then
10372 if test $wxUSE_MDI_ARCHITECTURE = no; then
10378 result=$wxUSE_MDI_ARCHITECTURE
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10382 $as_echo "$result" >&6; }
10386 defaultval=$wxUSE_ALL_FEATURES
10387 if test -z "$defaultval"; then
10388 if test x"$enablestring" = xdisable; then
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10396 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10397 # Check whether --enable-mediactrl was given.
10398 if test "${enable_mediactrl+set}" = set; then :
10399 enableval=$enable_mediactrl;
10400 if test "$enableval" = yes; then
10401 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10403 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10408 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10413 eval "$wx_cv_use_mediactrl"
10415 if test x"$enablestring" = xdisable; then
10416 if test $wxUSE_MEDIACTRL = no; then
10422 result=$wxUSE_MEDIACTRL
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10426 $as_echo "$result" >&6; }
10430 defaultval=$wxUSE_ALL_FEATURES
10431 if test -z "$defaultval"; then
10432 if test x"$enablestring" = xdisable; then
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10440 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10441 # Check whether --enable-gstreamer8 was given.
10442 if test "${enable_gstreamer8+set}" = set; then :
10443 enableval=$enable_gstreamer8;
10444 if test "$enableval" = yes; then
10445 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10447 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10452 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10457 eval "$wx_cv_use_gstreamer8"
10459 if test x"$enablestring" = xdisable; then
10460 if test $wxUSE_GSTREAMER8 = no; then
10466 result=$wxUSE_GSTREAMER8
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10470 $as_echo "$result" >&6; }
10474 defaultval=$wxUSE_ALL_FEATURES
10475 if test -z "$defaultval"; then
10476 if test x"$enablestring" = xdisable; then
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10484 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10485 # Check whether --enable-richtext was given.
10486 if test "${enable_richtext+set}" = set; then :
10487 enableval=$enable_richtext;
10488 if test "$enableval" = yes; then
10489 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10491 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10496 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10501 eval "$wx_cv_use_richtext"
10503 if test x"$enablestring" = xdisable; then
10504 if test $wxUSE_RICHTEXT = no; then
10510 result=$wxUSE_RICHTEXT
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10514 $as_echo "$result" >&6; }
10518 defaultval=$wxUSE_ALL_FEATURES
10519 if test -z "$defaultval"; then
10520 if test x"$enablestring" = xdisable; then
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10528 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10529 # Check whether --enable-postscript was given.
10530 if test "${enable_postscript+set}" = set; then :
10531 enableval=$enable_postscript;
10532 if test "$enableval" = yes; then
10533 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10535 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10540 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10545 eval "$wx_cv_use_postscript"
10547 if test x"$enablestring" = xdisable; then
10548 if test $wxUSE_POSTSCRIPT = no; then
10554 result=$wxUSE_POSTSCRIPT
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10558 $as_echo "$result" >&6; }
10562 defaultval=$wxUSE_ALL_FEATURES
10563 if test -z "$defaultval"; then
10564 if test x"$enablestring" = xdisable; then
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10572 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10573 # Check whether --enable-printarch was given.
10574 if test "${enable_printarch+set}" = set; then :
10575 enableval=$enable_printarch;
10576 if test "$enableval" = yes; then
10577 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10579 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10584 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10589 eval "$wx_cv_use_printarch"
10591 if test x"$enablestring" = xdisable; then
10592 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10598 result=$wxUSE_PRINTING_ARCHITECTURE
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10602 $as_echo "$result" >&6; }
10606 defaultval=$wxUSE_ALL_FEATURES
10607 if test -z "$defaultval"; then
10608 if test x"$enablestring" = xdisable; then
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10616 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10617 # Check whether --enable-svg was given.
10618 if test "${enable_svg+set}" = set; then :
10619 enableval=$enable_svg;
10620 if test "$enableval" = yes; then
10621 wx_cv_use_svg='wxUSE_SVG=yes'
10623 wx_cv_use_svg='wxUSE_SVG=no'
10628 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10633 eval "$wx_cv_use_svg"
10635 if test x"$enablestring" = xdisable; then
10636 if test $wxUSE_SVG = no; then
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10646 $as_echo "$result" >&6; }
10650 defaultval=$wxUSE_ALL_FEATURES
10651 if test -z "$defaultval"; then
10652 if test x"$enablestring" = xdisable; then
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10660 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10661 # Check whether --enable-webkit was given.
10662 if test "${enable_webkit+set}" = set; then :
10663 enableval=$enable_webkit;
10664 if test "$enableval" = yes; then
10665 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10667 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10672 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10677 eval "$wx_cv_use_webkit"
10679 if test x"$enablestring" = xdisable; then
10680 if test $wxUSE_WEBKIT = no; then
10686 result=$wxUSE_WEBKIT
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10690 $as_echo "$result" >&6; }
10694 defaultval=$wxUSE_ALL_FEATURES
10695 if test -z "$defaultval"; then
10696 if test x"$enablestring" = xdisable; then
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10704 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10705 # Check whether --enable-webview was given.
10706 if test "${enable_webview+set}" = set; then :
10707 enableval=$enable_webview;
10708 if test "$enableval" = yes; then
10709 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10711 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10716 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10721 eval "$wx_cv_use_webview"
10723 if test x"$enablestring" = xdisable; then
10724 if test $wxUSE_WEBVIEW = no; then
10730 result=$wxUSE_WEBVIEW
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10734 $as_echo "$result" >&6; }
10737 if test "$wxUSE_MAC" != 1; then
10740 defaultval=$wxUSE_ALL_FEATURES
10741 if test -z "$defaultval"; then
10742 if test x"$enablestring" = xdisable; then
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10750 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10751 # Check whether --enable-graphics_ctx was given.
10752 if test "${enable_graphics_ctx+set}" = set; then :
10753 enableval=$enable_graphics_ctx;
10754 if test "$enableval" = yes; then
10755 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10757 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10762 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10767 eval "$wx_cv_use_graphics_ctx"
10769 if test x"$enablestring" = xdisable; then
10770 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10776 result=$wxUSE_GRAPHICS_CONTEXT
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10780 $as_echo "$result" >&6; }
10787 defaultval=$wxUSE_ALL_FEATURES
10788 if test -z "$defaultval"; then
10789 if test x"$enablestring" = xdisable; then
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10797 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10798 # Check whether --enable-clipboard was given.
10799 if test "${enable_clipboard+set}" = set; then :
10800 enableval=$enable_clipboard;
10801 if test "$enableval" = yes; then
10802 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10804 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10809 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10814 eval "$wx_cv_use_clipboard"
10816 if test x"$enablestring" = xdisable; then
10817 if test $wxUSE_CLIPBOARD = no; then
10823 result=$wxUSE_CLIPBOARD
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10827 $as_echo "$result" >&6; }
10831 defaultval=$wxUSE_ALL_FEATURES
10832 if test -z "$defaultval"; then
10833 if test x"$enablestring" = xdisable; then
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10841 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10842 # Check whether --enable-dnd was given.
10843 if test "${enable_dnd+set}" = set; then :
10844 enableval=$enable_dnd;
10845 if test "$enableval" = yes; then
10846 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10848 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10853 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10858 eval "$wx_cv_use_dnd"
10860 if test x"$enablestring" = xdisable; then
10861 if test $wxUSE_DRAG_AND_DROP = no; then
10867 result=$wxUSE_DRAG_AND_DROP
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10871 $as_echo "$result" >&6; }
10875 DEFAULT_wxUSE_CONTROLS=none
10877 enablestring=disable
10879 if test -z "$defaultval"; then
10880 if test x"$enablestring" = xdisable; then
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10888 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10889 # Check whether --enable-controls was given.
10890 if test "${enable_controls+set}" = set; then :
10891 enableval=$enable_controls;
10892 if test "$enableval" = yes; then
10893 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10895 wx_cv_use_controls='wxUSE_CONTROLS=no'
10900 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10905 eval "$wx_cv_use_controls"
10907 if test x"$enablestring" = xdisable; then
10908 if test $wxUSE_CONTROLS = no; then
10914 result=$wxUSE_CONTROLS
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10918 $as_echo "$result" >&6; }
10921 if test "$wxUSE_CONTROLS" = "no"; then
10922 DEFAULT_wxUSE_ACCEL=no
10923 DEFAULT_wxUSE_ANIMATIONCTRL=no
10924 DEFAULT_wxUSE_BANNERWINDOW=no
10925 DEFAULT_wxUSE_BMPBUTTON=no
10926 DEFAULT_wxUSE_BUTTON=no
10927 DEFAULT_wxUSE_CALCTRL=no
10928 DEFAULT_wxUSE_CARET=no
10929 DEFAULT_wxUSE_CHECKBOX=no
10930 DEFAULT_wxUSE_CHECKLISTBOX=no
10931 DEFAULT_wxUSE_CHOICE=no
10932 DEFAULT_wxUSE_CHOICEBOOK=no
10933 DEFAULT_wxUSE_COLLPANE=no
10934 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10935 DEFAULT_wxUSE_COMBOBOX=no
10936 DEFAULT_wxUSE_COMBOBOX=no
10937 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10938 DEFAULT_wxUSE_DATAVIEWCTRL=no
10939 DEFAULT_wxUSE_DATEPICKCTRL=no
10940 DEFAULT_wxUSE_DETECT_SM=no
10941 DEFAULT_wxUSE_DIRPICKERCTRL=no
10942 DEFAULT_wxUSE_DISPLAY=no
10943 DEFAULT_wxUSE_FILECTRL=no
10944 DEFAULT_wxUSE_FILEPICKERCTRL=no
10945 DEFAULT_wxUSE_FONTPICKERCTRL=no
10946 DEFAULT_wxUSE_GAUGE=no
10947 DEFAULT_wxUSE_GRID=no
10948 DEFAULT_wxUSE_HEADERCTRL=no
10949 DEFAULT_wxUSE_HYPERLINKCTRL=no
10950 DEFAULT_wxUSE_IMAGLIST=no
10951 DEFAULT_wxUSE_LISTBOOK=no
10952 DEFAULT_wxUSE_LISTBOX=no
10953 DEFAULT_wxUSE_LISTCTRL=no
10954 DEFAULT_wxUSE_MARKUP=no
10955 DEFAULT_wxUSE_NOTEBOOK=no
10956 DEFAULT_wxUSE_POPUPWIN=no
10957 DEFAULT_wxUSE_RADIOBOX=no
10958 DEFAULT_wxUSE_RADIOBTN=no
10959 DEFAULT_wxUSE_RICHMSGDLG=no
10960 DEFAULT_wxUSE_RICHTOOLTIP=no
10961 DEFAULT_wxUSE_REARRANGECTRL=no
10962 DEFAULT_wxUSE_SASH=no
10963 DEFAULT_wxUSE_SCROLLBAR=no
10964 DEFAULT_wxUSE_SEARCHCTRL=no
10965 DEFAULT_wxUSE_SLIDER=no
10966 DEFAULT_wxUSE_SPINBTN=no
10967 DEFAULT_wxUSE_SPINCTRL=no
10968 DEFAULT_wxUSE_SPLITTER=no
10969 DEFAULT_wxUSE_STATBMP=no
10970 DEFAULT_wxUSE_STATBOX=no
10971 DEFAULT_wxUSE_STATLINE=no
10972 DEFAULT_wxUSE_STATUSBAR=no
10973 DEFAULT_wxUSE_TIMEPICKCTRL=no
10974 DEFAULT_wxUSE_TIPWINDOW=no
10975 DEFAULT_wxUSE_TOGGLEBTN=no
10976 DEFAULT_wxUSE_TOOLBAR=no
10977 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10978 DEFAULT_wxUSE_TOOLBOOK=no
10979 DEFAULT_wxUSE_TOOLTIPS=no
10980 DEFAULT_wxUSE_TREEBOOK=no
10981 DEFAULT_wxUSE_TREECTRL=no
10982 DEFAULT_wxUSE_TREELISTCTRL=no
10987 defaultval=$wxUSE_ALL_FEATURES
10988 if test -z "$defaultval"; then
10989 if test x"$enablestring" = xdisable; then
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
10997 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
10998 # Check whether --enable-markup was given.
10999 if test "${enable_markup+set}" = set; then :
11000 enableval=$enable_markup;
11001 if test "$enableval" = yes; then
11002 wx_cv_use_markup='wxUSE_MARKUP=yes'
11004 wx_cv_use_markup='wxUSE_MARKUP=no'
11009 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11014 eval "$wx_cv_use_markup"
11016 if test x"$enablestring" = xdisable; then
11017 if test $wxUSE_MARKUP = no; then
11023 result=$wxUSE_MARKUP
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11027 $as_echo "$result" >&6; }
11032 defaultval=$wxUSE_ALL_FEATURES
11033 if test -z "$defaultval"; then
11034 if test x"$enablestring" = xdisable; then
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11042 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11043 # Check whether --enable-accel was given.
11044 if test "${enable_accel+set}" = set; then :
11045 enableval=$enable_accel;
11046 if test "$enableval" = yes; then
11047 wx_cv_use_accel='wxUSE_ACCEL=yes'
11049 wx_cv_use_accel='wxUSE_ACCEL=no'
11054 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11059 eval "$wx_cv_use_accel"
11061 if test x"$enablestring" = xdisable; then
11062 if test $wxUSE_ACCEL = no; then
11068 result=$wxUSE_ACCEL
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11072 $as_echo "$result" >&6; }
11076 defaultval=$wxUSE_ALL_FEATURES
11077 if test -z "$defaultval"; then
11078 if test x"$enablestring" = xdisable; then
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11086 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11087 # Check whether --enable-animatectrl was given.
11088 if test "${enable_animatectrl+set}" = set; then :
11089 enableval=$enable_animatectrl;
11090 if test "$enableval" = yes; then
11091 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11093 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11098 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11103 eval "$wx_cv_use_animatectrl"
11105 if test x"$enablestring" = xdisable; then
11106 if test $wxUSE_ANIMATIONCTRL = no; then
11112 result=$wxUSE_ANIMATIONCTRL
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11116 $as_echo "$result" >&6; }
11120 defaultval=$wxUSE_ALL_FEATURES
11121 if test -z "$defaultval"; then
11122 if test x"$enablestring" = xdisable; then
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11130 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11131 # Check whether --enable-bannerwindow was given.
11132 if test "${enable_bannerwindow+set}" = set; then :
11133 enableval=$enable_bannerwindow;
11134 if test "$enableval" = yes; then
11135 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11137 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11142 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11147 eval "$wx_cv_use_bannerwindow"
11149 if test x"$enablestring" = xdisable; then
11150 if test $wxUSE_BANNERWINDOW = no; then
11156 result=$wxUSE_BANNERWINDOW
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11160 $as_echo "$result" >&6; }
11164 defaultval=$wxUSE_ALL_FEATURES
11165 if test -z "$defaultval"; then
11166 if test x"$enablestring" = xdisable; then
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11174 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11175 # Check whether --enable-artstd was given.
11176 if test "${enable_artstd+set}" = set; then :
11177 enableval=$enable_artstd;
11178 if test "$enableval" = yes; then
11179 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11181 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11186 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11191 eval "$wx_cv_use_artstd"
11193 if test x"$enablestring" = xdisable; then
11194 if test $wxUSE_ARTPROVIDER_STD = no; then
11200 result=$wxUSE_ARTPROVIDER_STD
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11204 $as_echo "$result" >&6; }
11208 defaultval=$wxUSE_ALL_FEATURES
11209 if test -z "$defaultval"; then
11210 if test x"$enablestring" = xdisable; then
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11218 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11219 # Check whether --enable-arttango was given.
11220 if test "${enable_arttango+set}" = set; then :
11221 enableval=$enable_arttango;
11222 if test "$enableval" = yes; then
11223 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11225 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11230 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11235 eval "$wx_cv_use_arttango"
11237 if test x"$enablestring" = xdisable; then
11238 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11244 result=$wxUSE_ARTPROVIDER_TANGO
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11248 $as_echo "$result" >&6; }
11252 defaultval=$wxUSE_ALL_FEATURES
11253 if test -z "$defaultval"; then
11254 if test x"$enablestring" = xdisable; then
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11262 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11263 # Check whether --enable-bmpbutton was given.
11264 if test "${enable_bmpbutton+set}" = set; then :
11265 enableval=$enable_bmpbutton;
11266 if test "$enableval" = yes; then
11267 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11269 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11274 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11279 eval "$wx_cv_use_bmpbutton"
11281 if test x"$enablestring" = xdisable; then
11282 if test $wxUSE_BMPBUTTON = no; then
11288 result=$wxUSE_BMPBUTTON
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11292 $as_echo "$result" >&6; }
11296 defaultval=$wxUSE_ALL_FEATURES
11297 if test -z "$defaultval"; then
11298 if test x"$enablestring" = xdisable; then
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11306 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11307 # Check whether --enable-bmpcombobox was given.
11308 if test "${enable_bmpcombobox+set}" = set; then :
11309 enableval=$enable_bmpcombobox;
11310 if test "$enableval" = yes; then
11311 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11313 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11318 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11323 eval "$wx_cv_use_bmpcombobox"
11325 if test x"$enablestring" = xdisable; then
11326 if test $wxUSE_BITMAPCOMBOBOX = no; then
11332 result=$wxUSE_BITMAPCOMBOBOX
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11336 $as_echo "$result" >&6; }
11340 defaultval=$wxUSE_ALL_FEATURES
11341 if test -z "$defaultval"; then
11342 if test x"$enablestring" = xdisable; then
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11350 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11351 # Check whether --enable-button was given.
11352 if test "${enable_button+set}" = set; then :
11353 enableval=$enable_button;
11354 if test "$enableval" = yes; then
11355 wx_cv_use_button='wxUSE_BUTTON=yes'
11357 wx_cv_use_button='wxUSE_BUTTON=no'
11362 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11367 eval "$wx_cv_use_button"
11369 if test x"$enablestring" = xdisable; then
11370 if test $wxUSE_BUTTON = no; then
11376 result=$wxUSE_BUTTON
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11380 $as_echo "$result" >&6; }
11384 defaultval=$wxUSE_ALL_FEATURES
11385 if test -z "$defaultval"; then
11386 if test x"$enablestring" = xdisable; then
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11394 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11395 # Check whether --enable-calendar was given.
11396 if test "${enable_calendar+set}" = set; then :
11397 enableval=$enable_calendar;
11398 if test "$enableval" = yes; then
11399 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11401 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11406 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11411 eval "$wx_cv_use_calendar"
11413 if test x"$enablestring" = xdisable; then
11414 if test $wxUSE_CALCTRL = no; then
11420 result=$wxUSE_CALCTRL
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11424 $as_echo "$result" >&6; }
11428 defaultval=$wxUSE_ALL_FEATURES
11429 if test -z "$defaultval"; then
11430 if test x"$enablestring" = xdisable; then
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11438 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11439 # Check whether --enable-caret was given.
11440 if test "${enable_caret+set}" = set; then :
11441 enableval=$enable_caret;
11442 if test "$enableval" = yes; then
11443 wx_cv_use_caret='wxUSE_CARET=yes'
11445 wx_cv_use_caret='wxUSE_CARET=no'
11450 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11455 eval "$wx_cv_use_caret"
11457 if test x"$enablestring" = xdisable; then
11458 if test $wxUSE_CARET = no; then
11464 result=$wxUSE_CARET
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11468 $as_echo "$result" >&6; }
11472 defaultval=$wxUSE_ALL_FEATURES
11473 if test -z "$defaultval"; then
11474 if test x"$enablestring" = xdisable; then
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11482 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11483 # Check whether --enable-checkbox was given.
11484 if test "${enable_checkbox+set}" = set; then :
11485 enableval=$enable_checkbox;
11486 if test "$enableval" = yes; then
11487 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11489 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11494 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11499 eval "$wx_cv_use_checkbox"
11501 if test x"$enablestring" = xdisable; then
11502 if test $wxUSE_CHECKBOX = no; then
11508 result=$wxUSE_CHECKBOX
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11512 $as_echo "$result" >&6; }
11516 defaultval=$wxUSE_ALL_FEATURES
11517 if test -z "$defaultval"; then
11518 if test x"$enablestring" = xdisable; then
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11526 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11527 # Check whether --enable-checklst was given.
11528 if test "${enable_checklst+set}" = set; then :
11529 enableval=$enable_checklst;
11530 if test "$enableval" = yes; then
11531 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11533 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11538 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11543 eval "$wx_cv_use_checklst"
11545 if test x"$enablestring" = xdisable; then
11546 if test $wxUSE_CHECKLST = no; then
11552 result=$wxUSE_CHECKLST
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11556 $as_echo "$result" >&6; }
11560 defaultval=$wxUSE_ALL_FEATURES
11561 if test -z "$defaultval"; then
11562 if test x"$enablestring" = xdisable; then
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11570 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11571 # Check whether --enable-choice was given.
11572 if test "${enable_choice+set}" = set; then :
11573 enableval=$enable_choice;
11574 if test "$enableval" = yes; then
11575 wx_cv_use_choice='wxUSE_CHOICE=yes'
11577 wx_cv_use_choice='wxUSE_CHOICE=no'
11582 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11587 eval "$wx_cv_use_choice"
11589 if test x"$enablestring" = xdisable; then
11590 if test $wxUSE_CHOICE = no; then
11596 result=$wxUSE_CHOICE
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11600 $as_echo "$result" >&6; }
11604 defaultval=$wxUSE_ALL_FEATURES
11605 if test -z "$defaultval"; then
11606 if test x"$enablestring" = xdisable; then
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11614 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11615 # Check whether --enable-choicebook was given.
11616 if test "${enable_choicebook+set}" = set; then :
11617 enableval=$enable_choicebook;
11618 if test "$enableval" = yes; then
11619 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11621 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11626 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11631 eval "$wx_cv_use_choicebook"
11633 if test x"$enablestring" = xdisable; then
11634 if test $wxUSE_CHOICEBOOK = no; then
11640 result=$wxUSE_CHOICEBOOK
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11644 $as_echo "$result" >&6; }
11648 defaultval=$wxUSE_ALL_FEATURES
11649 if test -z "$defaultval"; then
11650 if test x"$enablestring" = xdisable; then
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11658 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11659 # Check whether --enable-collpane was given.
11660 if test "${enable_collpane+set}" = set; then :
11661 enableval=$enable_collpane;
11662 if test "$enableval" = yes; then
11663 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11665 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11670 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11675 eval "$wx_cv_use_collpane"
11677 if test x"$enablestring" = xdisable; then
11678 if test $wxUSE_COLLPANE = no; then
11684 result=$wxUSE_COLLPANE
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11688 $as_echo "$result" >&6; }
11692 defaultval=$wxUSE_ALL_FEATURES
11693 if test -z "$defaultval"; then
11694 if test x"$enablestring" = xdisable; then
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11702 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11703 # Check whether --enable-colourpicker was given.
11704 if test "${enable_colourpicker+set}" = set; then :
11705 enableval=$enable_colourpicker;
11706 if test "$enableval" = yes; then
11707 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11709 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11714 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11719 eval "$wx_cv_use_colourpicker"
11721 if test x"$enablestring" = xdisable; then
11722 if test $wxUSE_COLOURPICKERCTRL = no; then
11728 result=$wxUSE_COLOURPICKERCTRL
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11732 $as_echo "$result" >&6; }
11736 defaultval=$wxUSE_ALL_FEATURES
11737 if test -z "$defaultval"; then
11738 if test x"$enablestring" = xdisable; then
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11746 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11747 # Check whether --enable-combobox was given.
11748 if test "${enable_combobox+set}" = set; then :
11749 enableval=$enable_combobox;
11750 if test "$enableval" = yes; then
11751 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11753 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11758 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11763 eval "$wx_cv_use_combobox"
11765 if test x"$enablestring" = xdisable; then
11766 if test $wxUSE_COMBOBOX = no; then
11772 result=$wxUSE_COMBOBOX
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11776 $as_echo "$result" >&6; }
11780 defaultval=$wxUSE_ALL_FEATURES
11781 if test -z "$defaultval"; then
11782 if test x"$enablestring" = xdisable; then
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11790 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11791 # Check whether --enable-comboctrl was given.
11792 if test "${enable_comboctrl+set}" = set; then :
11793 enableval=$enable_comboctrl;
11794 if test "$enableval" = yes; then
11795 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11797 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11802 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11807 eval "$wx_cv_use_comboctrl"
11809 if test x"$enablestring" = xdisable; then
11810 if test $wxUSE_COMBOCTRL = no; then
11816 result=$wxUSE_COMBOCTRL
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11820 $as_echo "$result" >&6; }
11824 defaultval=$wxUSE_ALL_FEATURES
11825 if test -z "$defaultval"; then
11826 if test x"$enablestring" = xdisable; then
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11834 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11835 # Check whether --enable-commandlinkbutton was given.
11836 if test "${enable_commandlinkbutton+set}" = set; then :
11837 enableval=$enable_commandlinkbutton;
11838 if test "$enableval" = yes; then
11839 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11841 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11846 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11851 eval "$wx_cv_use_commandlinkbutton"
11853 if test x"$enablestring" = xdisable; then
11854 if test $wxUSE_COMMANDLINKBUTTON = no; then
11860 result=$wxUSE_COMMANDLINKBUTTON
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11864 $as_echo "$result" >&6; }
11868 defaultval=$wxUSE_ALL_FEATURES
11869 if test -z "$defaultval"; then
11870 if test x"$enablestring" = xdisable; then
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11878 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11879 # Check whether --enable-dataviewctrl was given.
11880 if test "${enable_dataviewctrl+set}" = set; then :
11881 enableval=$enable_dataviewctrl;
11882 if test "$enableval" = yes; then
11883 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11885 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11890 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11895 eval "$wx_cv_use_dataviewctrl"
11897 if test x"$enablestring" = xdisable; then
11898 if test $wxUSE_DATAVIEWCTRL = no; then
11904 result=$wxUSE_DATAVIEWCTRL
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11908 $as_echo "$result" >&6; }
11912 defaultval=$wxUSE_ALL_FEATURES
11913 if test -z "$defaultval"; then
11914 if test x"$enablestring" = xdisable; then
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11922 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11923 # Check whether --enable-datepick was given.
11924 if test "${enable_datepick+set}" = set; then :
11925 enableval=$enable_datepick;
11926 if test "$enableval" = yes; then
11927 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11929 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11934 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11939 eval "$wx_cv_use_datepick"
11941 if test x"$enablestring" = xdisable; then
11942 if test $wxUSE_DATEPICKCTRL = no; then
11948 result=$wxUSE_DATEPICKCTRL
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11952 $as_echo "$result" >&6; }
11956 defaultval=$wxUSE_ALL_FEATURES
11957 if test -z "$defaultval"; then
11958 if test x"$enablestring" = xdisable; then
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
11966 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
11967 # Check whether --enable-detect_sm was given.
11968 if test "${enable_detect_sm+set}" = set; then :
11969 enableval=$enable_detect_sm;
11970 if test "$enableval" = yes; then
11971 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11973 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11978 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11983 eval "$wx_cv_use_detect_sm"
11985 if test x"$enablestring" = xdisable; then
11986 if test $wxUSE_DETECT_SM = no; then
11992 result=$wxUSE_DETECT_SM
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11996 $as_echo "$result" >&6; }
12000 defaultval=$wxUSE_ALL_FEATURES
12001 if test -z "$defaultval"; then
12002 if test x"$enablestring" = xdisable; then
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12010 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12011 # Check whether --enable-dirpicker was given.
12012 if test "${enable_dirpicker+set}" = set; then :
12013 enableval=$enable_dirpicker;
12014 if test "$enableval" = yes; then
12015 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12017 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12022 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12027 eval "$wx_cv_use_dirpicker"
12029 if test x"$enablestring" = xdisable; then
12030 if test $wxUSE_DIRPICKERCTRL = no; then
12036 result=$wxUSE_DIRPICKERCTRL
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12040 $as_echo "$result" >&6; }
12044 defaultval=$wxUSE_ALL_FEATURES
12045 if test -z "$defaultval"; then
12046 if test x"$enablestring" = xdisable; then
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12054 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12055 # Check whether --enable-display was given.
12056 if test "${enable_display+set}" = set; then :
12057 enableval=$enable_display;
12058 if test "$enableval" = yes; then
12059 wx_cv_use_display='wxUSE_DISPLAY=yes'
12061 wx_cv_use_display='wxUSE_DISPLAY=no'
12066 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12071 eval "$wx_cv_use_display"
12073 if test x"$enablestring" = xdisable; then
12074 if test $wxUSE_DISPLAY = no; then
12080 result=$wxUSE_DISPLAY
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12084 $as_echo "$result" >&6; }
12088 defaultval=$wxUSE_ALL_FEATURES
12089 if test -z "$defaultval"; then
12090 if test x"$enablestring" = xdisable; then
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12098 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12099 # Check whether --enable-editablebox was given.
12100 if test "${enable_editablebox+set}" = set; then :
12101 enableval=$enable_editablebox;
12102 if test "$enableval" = yes; then
12103 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12105 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12110 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12115 eval "$wx_cv_use_editablebox"
12117 if test x"$enablestring" = xdisable; then
12118 if test $wxUSE_EDITABLELISTBOX = no; then
12124 result=$wxUSE_EDITABLELISTBOX
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12128 $as_echo "$result" >&6; }
12132 defaultval=$wxUSE_ALL_FEATURES
12133 if test -z "$defaultval"; then
12134 if test x"$enablestring" = xdisable; then
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12142 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12143 # Check whether --enable-filectrl was given.
12144 if test "${enable_filectrl+set}" = set; then :
12145 enableval=$enable_filectrl;
12146 if test "$enableval" = yes; then
12147 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12149 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12154 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12159 eval "$wx_cv_use_filectrl"
12161 if test x"$enablestring" = xdisable; then
12162 if test $wxUSE_FILECTRL = no; then
12168 result=$wxUSE_FILECTRL
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12172 $as_echo "$result" >&6; }
12176 defaultval=$wxUSE_ALL_FEATURES
12177 if test -z "$defaultval"; then
12178 if test x"$enablestring" = xdisable; then
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12186 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12187 # Check whether --enable-filepicker was given.
12188 if test "${enable_filepicker+set}" = set; then :
12189 enableval=$enable_filepicker;
12190 if test "$enableval" = yes; then
12191 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12193 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12198 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12203 eval "$wx_cv_use_filepicker"
12205 if test x"$enablestring" = xdisable; then
12206 if test $wxUSE_FILEPICKERCTRL = no; then
12212 result=$wxUSE_FILEPICKERCTRL
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12216 $as_echo "$result" >&6; }
12220 defaultval=$wxUSE_ALL_FEATURES
12221 if test -z "$defaultval"; then
12222 if test x"$enablestring" = xdisable; then
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12230 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12231 # Check whether --enable-fontpicker was given.
12232 if test "${enable_fontpicker+set}" = set; then :
12233 enableval=$enable_fontpicker;
12234 if test "$enableval" = yes; then
12235 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12237 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12242 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12247 eval "$wx_cv_use_fontpicker"
12249 if test x"$enablestring" = xdisable; then
12250 if test $wxUSE_FONTPICKERCTRL = no; then
12256 result=$wxUSE_FONTPICKERCTRL
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12260 $as_echo "$result" >&6; }
12264 defaultval=$wxUSE_ALL_FEATURES
12265 if test -z "$defaultval"; then
12266 if test x"$enablestring" = xdisable; then
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12274 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12275 # Check whether --enable-gauge was given.
12276 if test "${enable_gauge+set}" = set; then :
12277 enableval=$enable_gauge;
12278 if test "$enableval" = yes; then
12279 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12281 wx_cv_use_gauge='wxUSE_GAUGE=no'
12286 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12291 eval "$wx_cv_use_gauge"
12293 if test x"$enablestring" = xdisable; then
12294 if test $wxUSE_GAUGE = no; then
12300 result=$wxUSE_GAUGE
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12304 $as_echo "$result" >&6; }
12308 defaultval=$wxUSE_ALL_FEATURES
12309 if test -z "$defaultval"; then
12310 if test x"$enablestring" = xdisable; then
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12318 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12319 # Check whether --enable-grid was given.
12320 if test "${enable_grid+set}" = set; then :
12321 enableval=$enable_grid;
12322 if test "$enableval" = yes; then
12323 wx_cv_use_grid='wxUSE_GRID=yes'
12325 wx_cv_use_grid='wxUSE_GRID=no'
12330 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12335 eval "$wx_cv_use_grid"
12337 if test x"$enablestring" = xdisable; then
12338 if test $wxUSE_GRID = no; then
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12348 $as_echo "$result" >&6; }
12352 defaultval=$wxUSE_ALL_FEATURES
12353 if test -z "$defaultval"; then
12354 if test x"$enablestring" = xdisable; then
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12362 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12363 # Check whether --enable-headerctrl was given.
12364 if test "${enable_headerctrl+set}" = set; then :
12365 enableval=$enable_headerctrl;
12366 if test "$enableval" = yes; then
12367 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12369 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12374 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12379 eval "$wx_cv_use_headerctrl"
12381 if test x"$enablestring" = xdisable; then
12382 if test $wxUSE_HEADERCTRL = no; then
12388 result=$wxUSE_HEADERCTRL
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12392 $as_echo "$result" >&6; }
12396 defaultval=$wxUSE_ALL_FEATURES
12397 if test -z "$defaultval"; then
12398 if test x"$enablestring" = xdisable; then
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12406 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12407 # Check whether --enable-hyperlink was given.
12408 if test "${enable_hyperlink+set}" = set; then :
12409 enableval=$enable_hyperlink;
12410 if test "$enableval" = yes; then
12411 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12413 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12418 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12423 eval "$wx_cv_use_hyperlink"
12425 if test x"$enablestring" = xdisable; then
12426 if test $wxUSE_HYPERLINKCTRL = no; then
12432 result=$wxUSE_HYPERLINKCTRL
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12436 $as_echo "$result" >&6; }
12440 defaultval=$wxUSE_ALL_FEATURES
12441 if test -z "$defaultval"; then
12442 if test x"$enablestring" = xdisable; then
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12450 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12451 # Check whether --enable-imaglist was given.
12452 if test "${enable_imaglist+set}" = set; then :
12453 enableval=$enable_imaglist;
12454 if test "$enableval" = yes; then
12455 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12457 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12462 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12467 eval "$wx_cv_use_imaglist"
12469 if test x"$enablestring" = xdisable; then
12470 if test $wxUSE_IMAGLIST = no; then
12476 result=$wxUSE_IMAGLIST
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12480 $as_echo "$result" >&6; }
12484 defaultval=$wxUSE_ALL_FEATURES
12485 if test -z "$defaultval"; then
12486 if test x"$enablestring" = xdisable; then
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12494 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12495 # Check whether --enable-infobar was given.
12496 if test "${enable_infobar+set}" = set; then :
12497 enableval=$enable_infobar;
12498 if test "$enableval" = yes; then
12499 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12501 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12506 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12511 eval "$wx_cv_use_infobar"
12513 if test x"$enablestring" = xdisable; then
12514 if test $wxUSE_INFOBAR = no; then
12520 result=$wxUSE_INFOBAR
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12524 $as_echo "$result" >&6; }
12528 defaultval=$wxUSE_ALL_FEATURES
12529 if test -z "$defaultval"; then
12530 if test x"$enablestring" = xdisable; then
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12538 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12539 # Check whether --enable-listbook was given.
12540 if test "${enable_listbook+set}" = set; then :
12541 enableval=$enable_listbook;
12542 if test "$enableval" = yes; then
12543 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12545 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12550 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12555 eval "$wx_cv_use_listbook"
12557 if test x"$enablestring" = xdisable; then
12558 if test $wxUSE_LISTBOOK = no; then
12564 result=$wxUSE_LISTBOOK
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12568 $as_echo "$result" >&6; }
12572 defaultval=$wxUSE_ALL_FEATURES
12573 if test -z "$defaultval"; then
12574 if test x"$enablestring" = xdisable; then
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12582 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12583 # Check whether --enable-listbox was given.
12584 if test "${enable_listbox+set}" = set; then :
12585 enableval=$enable_listbox;
12586 if test "$enableval" = yes; then
12587 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12589 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12594 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12599 eval "$wx_cv_use_listbox"
12601 if test x"$enablestring" = xdisable; then
12602 if test $wxUSE_LISTBOX = no; then
12608 result=$wxUSE_LISTBOX
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12612 $as_echo "$result" >&6; }
12616 defaultval=$wxUSE_ALL_FEATURES
12617 if test -z "$defaultval"; then
12618 if test x"$enablestring" = xdisable; then
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12626 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12627 # Check whether --enable-listctrl was given.
12628 if test "${enable_listctrl+set}" = set; then :
12629 enableval=$enable_listctrl;
12630 if test "$enableval" = yes; then
12631 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12633 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12638 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12643 eval "$wx_cv_use_listctrl"
12645 if test x"$enablestring" = xdisable; then
12646 if test $wxUSE_LISTCTRL = no; then
12652 result=$wxUSE_LISTCTRL
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12656 $as_echo "$result" >&6; }
12660 defaultval=$wxUSE_ALL_FEATURES
12661 if test -z "$defaultval"; then
12662 if test x"$enablestring" = xdisable; then
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12670 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12671 # Check whether --enable-notebook was given.
12672 if test "${enable_notebook+set}" = set; then :
12673 enableval=$enable_notebook;
12674 if test "$enableval" = yes; then
12675 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12677 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12682 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12687 eval "$wx_cv_use_notebook"
12689 if test x"$enablestring" = xdisable; then
12690 if test $wxUSE_NOTEBOOK = no; then
12696 result=$wxUSE_NOTEBOOK
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12700 $as_echo "$result" >&6; }
12704 defaultval=$wxUSE_ALL_FEATURES
12705 if test -z "$defaultval"; then
12706 if test x"$enablestring" = xdisable; then
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12714 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12715 # Check whether --enable-notifmsg was given.
12716 if test "${enable_notifmsg+set}" = set; then :
12717 enableval=$enable_notifmsg;
12718 if test "$enableval" = yes; then
12719 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12721 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12726 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12731 eval "$wx_cv_use_notifmsg"
12733 if test x"$enablestring" = xdisable; then
12734 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12740 result=$wxUSE_NOTIFICATION_MESSAGE
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12744 $as_echo "$result" >&6; }
12748 defaultval=$wxUSE_ALL_FEATURES
12749 if test -z "$defaultval"; then
12750 if test x"$enablestring" = xdisable; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12758 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12759 # Check whether --enable-odcombobox was given.
12760 if test "${enable_odcombobox+set}" = set; then :
12761 enableval=$enable_odcombobox;
12762 if test "$enableval" = yes; then
12763 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12765 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12770 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12775 eval "$wx_cv_use_odcombobox"
12777 if test x"$enablestring" = xdisable; then
12778 if test $wxUSE_ODCOMBOBOX = no; then
12784 result=$wxUSE_ODCOMBOBOX
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12788 $as_echo "$result" >&6; }
12792 defaultval=$wxUSE_ALL_FEATURES
12793 if test -z "$defaultval"; then
12794 if test x"$enablestring" = xdisable; then
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12802 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12803 # Check whether --enable-popupwin was given.
12804 if test "${enable_popupwin+set}" = set; then :
12805 enableval=$enable_popupwin;
12806 if test "$enableval" = yes; then
12807 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12809 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12814 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12819 eval "$wx_cv_use_popupwin"
12821 if test x"$enablestring" = xdisable; then
12822 if test $wxUSE_POPUPWIN = no; then
12828 result=$wxUSE_POPUPWIN
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12832 $as_echo "$result" >&6; }
12836 defaultval=$wxUSE_ALL_FEATURES
12837 if test -z "$defaultval"; then
12838 if test x"$enablestring" = xdisable; then
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12846 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12847 # Check whether --enable-radiobox was given.
12848 if test "${enable_radiobox+set}" = set; then :
12849 enableval=$enable_radiobox;
12850 if test "$enableval" = yes; then
12851 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12853 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12858 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12863 eval "$wx_cv_use_radiobox"
12865 if test x"$enablestring" = xdisable; then
12866 if test $wxUSE_RADIOBOX = no; then
12872 result=$wxUSE_RADIOBOX
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12876 $as_echo "$result" >&6; }
12880 defaultval=$wxUSE_ALL_FEATURES
12881 if test -z "$defaultval"; then
12882 if test x"$enablestring" = xdisable; then
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12890 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12891 # Check whether --enable-radiobtn was given.
12892 if test "${enable_radiobtn+set}" = set; then :
12893 enableval=$enable_radiobtn;
12894 if test "$enableval" = yes; then
12895 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12897 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12902 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12907 eval "$wx_cv_use_radiobtn"
12909 if test x"$enablestring" = xdisable; then
12910 if test $wxUSE_RADIOBTN = no; then
12916 result=$wxUSE_RADIOBTN
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12920 $as_echo "$result" >&6; }
12924 defaultval=$wxUSE_ALL_FEATURES
12925 if test -z "$defaultval"; then
12926 if test x"$enablestring" = xdisable; then
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12934 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12935 # Check whether --enable-richmsgdlg was given.
12936 if test "${enable_richmsgdlg+set}" = set; then :
12937 enableval=$enable_richmsgdlg;
12938 if test "$enableval" = yes; then
12939 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
12941 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
12946 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12951 eval "$wx_cv_use_richmsgdlg"
12953 if test x"$enablestring" = xdisable; then
12954 if test $wxUSE_RICHMSGDLG = no; then
12960 result=$wxUSE_RICHMSGDLG
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12964 $as_echo "$result" >&6; }
12968 defaultval=$wxUSE_ALL_FEATURES
12969 if test -z "$defaultval"; then
12970 if test x"$enablestring" = xdisable; then
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
12978 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
12979 # Check whether --enable-richtooltip was given.
12980 if test "${enable_richtooltip+set}" = set; then :
12981 enableval=$enable_richtooltip;
12982 if test "$enableval" = yes; then
12983 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
12985 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
12990 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
12995 eval "$wx_cv_use_richtooltip"
12997 if test x"$enablestring" = xdisable; then
12998 if test $wxUSE_RICHTOOLTIP = no; then
13004 result=$wxUSE_RICHTOOLTIP
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13008 $as_echo "$result" >&6; }
13012 defaultval=$wxUSE_ALL_FEATURES
13013 if test -z "$defaultval"; then
13014 if test x"$enablestring" = xdisable; then
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13022 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13023 # Check whether --enable-rearrangectrl was given.
13024 if test "${enable_rearrangectrl+set}" = set; then :
13025 enableval=$enable_rearrangectrl;
13026 if test "$enableval" = yes; then
13027 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13029 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13034 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13039 eval "$wx_cv_use_rearrangectrl"
13041 if test x"$enablestring" = xdisable; then
13042 if test $wxUSE_REARRANGECTRL = no; then
13048 result=$wxUSE_REARRANGECTRL
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13052 $as_echo "$result" >&6; }
13056 defaultval=$wxUSE_ALL_FEATURES
13057 if test -z "$defaultval"; then
13058 if test x"$enablestring" = xdisable; then
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13066 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13067 # Check whether --enable-sash was given.
13068 if test "${enable_sash+set}" = set; then :
13069 enableval=$enable_sash;
13070 if test "$enableval" = yes; then
13071 wx_cv_use_sash='wxUSE_SASH=yes'
13073 wx_cv_use_sash='wxUSE_SASH=no'
13078 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13083 eval "$wx_cv_use_sash"
13085 if test x"$enablestring" = xdisable; then
13086 if test $wxUSE_SASH = no; then
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13096 $as_echo "$result" >&6; }
13100 defaultval=$wxUSE_ALL_FEATURES
13101 if test -z "$defaultval"; then
13102 if test x"$enablestring" = xdisable; then
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13110 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13111 # Check whether --enable-scrollbar was given.
13112 if test "${enable_scrollbar+set}" = set; then :
13113 enableval=$enable_scrollbar;
13114 if test "$enableval" = yes; then
13115 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13117 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13122 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13127 eval "$wx_cv_use_scrollbar"
13129 if test x"$enablestring" = xdisable; then
13130 if test $wxUSE_SCROLLBAR = no; then
13136 result=$wxUSE_SCROLLBAR
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13140 $as_echo "$result" >&6; }
13144 defaultval=$wxUSE_ALL_FEATURES
13145 if test -z "$defaultval"; then
13146 if test x"$enablestring" = xdisable; then
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13154 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13155 # Check whether --enable-searchctrl was given.
13156 if test "${enable_searchctrl+set}" = set; then :
13157 enableval=$enable_searchctrl;
13158 if test "$enableval" = yes; then
13159 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13161 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13166 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13171 eval "$wx_cv_use_searchctrl"
13173 if test x"$enablestring" = xdisable; then
13174 if test $wxUSE_SEARCHCTRL = no; then
13180 result=$wxUSE_SEARCHCTRL
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13184 $as_echo "$result" >&6; }
13188 defaultval=$wxUSE_ALL_FEATURES
13189 if test -z "$defaultval"; then
13190 if test x"$enablestring" = xdisable; then
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13198 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13199 # Check whether --enable-slider was given.
13200 if test "${enable_slider+set}" = set; then :
13201 enableval=$enable_slider;
13202 if test "$enableval" = yes; then
13203 wx_cv_use_slider='wxUSE_SLIDER=yes'
13205 wx_cv_use_slider='wxUSE_SLIDER=no'
13210 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13215 eval "$wx_cv_use_slider"
13217 if test x"$enablestring" = xdisable; then
13218 if test $wxUSE_SLIDER = no; then
13224 result=$wxUSE_SLIDER
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13228 $as_echo "$result" >&6; }
13232 defaultval=$wxUSE_ALL_FEATURES
13233 if test -z "$defaultval"; then
13234 if test x"$enablestring" = xdisable; then
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13242 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13243 # Check whether --enable-spinbtn was given.
13244 if test "${enable_spinbtn+set}" = set; then :
13245 enableval=$enable_spinbtn;
13246 if test "$enableval" = yes; then
13247 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13249 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13254 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13259 eval "$wx_cv_use_spinbtn"
13261 if test x"$enablestring" = xdisable; then
13262 if test $wxUSE_SPINBTN = no; then
13268 result=$wxUSE_SPINBTN
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13272 $as_echo "$result" >&6; }
13276 defaultval=$wxUSE_ALL_FEATURES
13277 if test -z "$defaultval"; then
13278 if test x"$enablestring" = xdisable; then
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13286 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13287 # Check whether --enable-spinctrl was given.
13288 if test "${enable_spinctrl+set}" = set; then :
13289 enableval=$enable_spinctrl;
13290 if test "$enableval" = yes; then
13291 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13293 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13298 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13303 eval "$wx_cv_use_spinctrl"
13305 if test x"$enablestring" = xdisable; then
13306 if test $wxUSE_SPINCTRL = no; then
13312 result=$wxUSE_SPINCTRL
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13316 $as_echo "$result" >&6; }
13320 defaultval=$wxUSE_ALL_FEATURES
13321 if test -z "$defaultval"; then
13322 if test x"$enablestring" = xdisable; then
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13330 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13331 # Check whether --enable-splitter was given.
13332 if test "${enable_splitter+set}" = set; then :
13333 enableval=$enable_splitter;
13334 if test "$enableval" = yes; then
13335 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13337 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13342 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13347 eval "$wx_cv_use_splitter"
13349 if test x"$enablestring" = xdisable; then
13350 if test $wxUSE_SPLITTER = no; then
13356 result=$wxUSE_SPLITTER
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13360 $as_echo "$result" >&6; }
13364 defaultval=$wxUSE_ALL_FEATURES
13365 if test -z "$defaultval"; then
13366 if test x"$enablestring" = xdisable; then
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13374 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13375 # Check whether --enable-statbmp was given.
13376 if test "${enable_statbmp+set}" = set; then :
13377 enableval=$enable_statbmp;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13381 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13386 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13391 eval "$wx_cv_use_statbmp"
13393 if test x"$enablestring" = xdisable; then
13394 if test $wxUSE_STATBMP = no; then
13400 result=$wxUSE_STATBMP
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13404 $as_echo "$result" >&6; }
13408 defaultval=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x"$enablestring" = xdisable; then
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13418 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13419 # Check whether --enable-statbox was given.
13420 if test "${enable_statbox+set}" = set; then :
13421 enableval=$enable_statbox;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13425 wx_cv_use_statbox='wxUSE_STATBOX=no'
13430 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13435 eval "$wx_cv_use_statbox"
13437 if test x"$enablestring" = xdisable; then
13438 if test $wxUSE_STATBOX = no; then
13444 result=$wxUSE_STATBOX
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13448 $as_echo "$result" >&6; }
13452 defaultval=$wxUSE_ALL_FEATURES
13453 if test -z "$defaultval"; then
13454 if test x"$enablestring" = xdisable; then
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13462 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13463 # Check whether --enable-statline was given.
13464 if test "${enable_statline+set}" = set; then :
13465 enableval=$enable_statline;
13466 if test "$enableval" = yes; then
13467 wx_cv_use_statline='wxUSE_STATLINE=yes'
13469 wx_cv_use_statline='wxUSE_STATLINE=no'
13474 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13479 eval "$wx_cv_use_statline"
13481 if test x"$enablestring" = xdisable; then
13482 if test $wxUSE_STATLINE = no; then
13488 result=$wxUSE_STATLINE
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13492 $as_echo "$result" >&6; }
13496 defaultval=$wxUSE_ALL_FEATURES
13497 if test -z "$defaultval"; then
13498 if test x"$enablestring" = xdisable; then
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13506 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13507 # Check whether --enable-stattext was given.
13508 if test "${enable_stattext+set}" = set; then :
13509 enableval=$enable_stattext;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13513 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13518 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13523 eval "$wx_cv_use_stattext"
13525 if test x"$enablestring" = xdisable; then
13526 if test $wxUSE_STATTEXT = no; then
13532 result=$wxUSE_STATTEXT
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13536 $as_echo "$result" >&6; }
13540 defaultval=$wxUSE_ALL_FEATURES
13541 if test -z "$defaultval"; then
13542 if test x"$enablestring" = xdisable; then
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13550 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13551 # Check whether --enable-statusbar was given.
13552 if test "${enable_statusbar+set}" = set; then :
13553 enableval=$enable_statusbar;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13557 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13562 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13567 eval "$wx_cv_use_statusbar"
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_STATUSBAR = no; then
13576 result=$wxUSE_STATUSBAR
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13580 $as_echo "$result" >&6; }
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13594 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13595 # Check whether --enable-taskbaricon was given.
13596 if test "${enable_taskbaricon+set}" = set; then :
13597 enableval=$enable_taskbaricon;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13601 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13606 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13611 eval "$wx_cv_use_taskbaricon"
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_TASKBARICON = no; then
13620 result=$wxUSE_TASKBARICON
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13624 $as_echo "$result" >&6; }
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13638 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13639 # Check whether --enable-tbarnative was given.
13640 if test "${enable_tbarnative+set}" = set; then :
13641 enableval=$enable_tbarnative;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13645 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13650 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13655 eval "$wx_cv_use_tbarnative"
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_TOOLBAR_NATIVE = no; then
13664 result=$wxUSE_TOOLBAR_NATIVE
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13668 $as_echo "$result" >&6; }
13672 defaultval=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x"$enablestring" = xdisable; then
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13682 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13683 # Check whether --enable-textctrl was given.
13684 if test "${enable_textctrl+set}" = set; then :
13685 enableval=$enable_textctrl;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13689 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13694 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13699 eval "$wx_cv_use_textctrl"
13701 if test x"$enablestring" = xdisable; then
13702 if test $wxUSE_TEXTCTRL = no; then
13708 result=$wxUSE_TEXTCTRL
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13712 $as_echo "$result" >&6; }
13716 defaultval=$wxUSE_ALL_FEATURES
13717 if test -z "$defaultval"; then
13718 if test x"$enablestring" = xdisable; then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13726 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13727 # Check whether --enable-datepick was given.
13728 if test "${enable_datepick+set}" = set; then :
13729 enableval=$enable_datepick;
13730 if test "$enableval" = yes; then
13731 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13733 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13738 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13743 eval "$wx_cv_use_datepick"
13745 if test x"$enablestring" = xdisable; then
13746 if test $wxUSE_TIMEPICKCTRL = no; then
13752 result=$wxUSE_TIMEPICKCTRL
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13756 $as_echo "$result" >&6; }
13760 defaultval=$wxUSE_ALL_FEATURES
13761 if test -z "$defaultval"; then
13762 if test x"$enablestring" = xdisable; then
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13770 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13771 # Check whether --enable-tipwindow was given.
13772 if test "${enable_tipwindow+set}" = set; then :
13773 enableval=$enable_tipwindow;
13774 if test "$enableval" = yes; then
13775 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13777 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13782 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13787 eval "$wx_cv_use_tipwindow"
13789 if test x"$enablestring" = xdisable; then
13790 if test $wxUSE_TIPWINDOW = no; then
13796 result=$wxUSE_TIPWINDOW
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13800 $as_echo "$result" >&6; }
13804 defaultval=$wxUSE_ALL_FEATURES
13805 if test -z "$defaultval"; then
13806 if test x"$enablestring" = xdisable; then
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13814 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13815 # Check whether --enable-togglebtn was given.
13816 if test "${enable_togglebtn+set}" = set; then :
13817 enableval=$enable_togglebtn;
13818 if test "$enableval" = yes; then
13819 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13821 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13826 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13831 eval "$wx_cv_use_togglebtn"
13833 if test x"$enablestring" = xdisable; then
13834 if test $wxUSE_TOGGLEBTN = no; then
13840 result=$wxUSE_TOGGLEBTN
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13844 $as_echo "$result" >&6; }
13848 defaultval=$wxUSE_ALL_FEATURES
13849 if test -z "$defaultval"; then
13850 if test x"$enablestring" = xdisable; then
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13858 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13859 # Check whether --enable-toolbar was given.
13860 if test "${enable_toolbar+set}" = set; then :
13861 enableval=$enable_toolbar;
13862 if test "$enableval" = yes; then
13863 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13865 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13870 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13875 eval "$wx_cv_use_toolbar"
13877 if test x"$enablestring" = xdisable; then
13878 if test $wxUSE_TOOLBAR = no; then
13884 result=$wxUSE_TOOLBAR
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13888 $as_echo "$result" >&6; }
13892 defaultval=$wxUSE_ALL_FEATURES
13893 if test -z "$defaultval"; then
13894 if test x"$enablestring" = xdisable; then
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13902 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13903 # Check whether --enable-toolbook was given.
13904 if test "${enable_toolbook+set}" = set; then :
13905 enableval=$enable_toolbook;
13906 if test "$enableval" = yes; then
13907 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13909 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13914 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13919 eval "$wx_cv_use_toolbook"
13921 if test x"$enablestring" = xdisable; then
13922 if test $wxUSE_TOOLBOOK = no; then
13928 result=$wxUSE_TOOLBOOK
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13932 $as_echo "$result" >&6; }
13936 defaultval=$wxUSE_ALL_FEATURES
13937 if test -z "$defaultval"; then
13938 if test x"$enablestring" = xdisable; then
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
13946 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
13947 # Check whether --enable-treebook was given.
13948 if test "${enable_treebook+set}" = set; then :
13949 enableval=$enable_treebook;
13950 if test "$enableval" = yes; then
13951 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13953 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13958 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13963 eval "$wx_cv_use_treebook"
13965 if test x"$enablestring" = xdisable; then
13966 if test $wxUSE_TREEBOOK = no; then
13972 result=$wxUSE_TREEBOOK
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13976 $as_echo "$result" >&6; }
13980 defaultval=$wxUSE_ALL_FEATURES
13981 if test -z "$defaultval"; then
13982 if test x"$enablestring" = xdisable; then
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
13990 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
13991 # Check whether --enable-treectrl was given.
13992 if test "${enable_treectrl+set}" = set; then :
13993 enableval=$enable_treectrl;
13994 if test "$enableval" = yes; then
13995 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13997 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14002 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14007 eval "$wx_cv_use_treectrl"
14009 if test x"$enablestring" = xdisable; then
14010 if test $wxUSE_TREECTRL = no; then
14016 result=$wxUSE_TREECTRL
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14020 $as_echo "$result" >&6; }
14024 defaultval=$wxUSE_ALL_FEATURES
14025 if test -z "$defaultval"; then
14026 if test x"$enablestring" = xdisable; then
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14034 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14035 # Check whether --enable-treelist was given.
14036 if test "${enable_treelist+set}" = set; then :
14037 enableval=$enable_treelist;
14038 if test "$enableval" = yes; then
14039 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14041 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14046 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14051 eval "$wx_cv_use_treelist"
14053 if test x"$enablestring" = xdisable; then
14054 if test $wxUSE_TREELISTCTRL = no; then
14060 result=$wxUSE_TREELISTCTRL
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14064 $as_echo "$result" >&6; }
14070 defaultval=$wxUSE_ALL_FEATURES
14071 if test -z "$defaultval"; then
14072 if test x"$enablestring" = xdisable; then
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14080 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14081 # Check whether --enable-commondlg was given.
14082 if test "${enable_commondlg+set}" = set; then :
14083 enableval=$enable_commondlg;
14084 if test "$enableval" = yes; then
14085 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14087 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14092 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14097 eval "$wx_cv_use_commondlg"
14099 if test x"$enablestring" = xdisable; then
14100 if test $wxUSE_COMMONDLGS = no; then
14106 result=$wxUSE_COMMONDLGS
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14110 $as_echo "$result" >&6; }
14114 defaultval=$wxUSE_ALL_FEATURES
14115 if test -z "$defaultval"; then
14116 if test x"$enablestring" = xdisable; then
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14124 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14125 # Check whether --enable-aboutdlg was given.
14126 if test "${enable_aboutdlg+set}" = set; then :
14127 enableval=$enable_aboutdlg;
14128 if test "$enableval" = yes; then
14129 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14131 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14136 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14141 eval "$wx_cv_use_aboutdlg"
14143 if test x"$enablestring" = xdisable; then
14144 if test $wxUSE_ABOUTDLG = no; then
14150 result=$wxUSE_ABOUTDLG
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14154 $as_echo "$result" >&6; }
14158 defaultval=$wxUSE_ALL_FEATURES
14159 if test -z "$defaultval"; then
14160 if test x"$enablestring" = xdisable; then
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14168 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14169 # Check whether --enable-choicedlg was given.
14170 if test "${enable_choicedlg+set}" = set; then :
14171 enableval=$enable_choicedlg;
14172 if test "$enableval" = yes; then
14173 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14175 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14180 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14185 eval "$wx_cv_use_choicedlg"
14187 if test x"$enablestring" = xdisable; then
14188 if test $wxUSE_CHOICEDLG = no; then
14194 result=$wxUSE_CHOICEDLG
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14198 $as_echo "$result" >&6; }
14202 defaultval=$wxUSE_ALL_FEATURES
14203 if test -z "$defaultval"; then
14204 if test x"$enablestring" = xdisable; then
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14212 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14213 # Check whether --enable-coldlg was given.
14214 if test "${enable_coldlg+set}" = set; then :
14215 enableval=$enable_coldlg;
14216 if test "$enableval" = yes; then
14217 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14219 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14224 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14229 eval "$wx_cv_use_coldlg"
14231 if test x"$enablestring" = xdisable; then
14232 if test $wxUSE_COLOURDLG = no; then
14238 result=$wxUSE_COLOURDLG
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14242 $as_echo "$result" >&6; }
14246 defaultval=$wxUSE_ALL_FEATURES
14247 if test -z "$defaultval"; then
14248 if test x"$enablestring" = xdisable; then
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14256 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14257 # Check whether --enable-filedlg was given.
14258 if test "${enable_filedlg+set}" = set; then :
14259 enableval=$enable_filedlg;
14260 if test "$enableval" = yes; then
14261 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14263 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14268 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14273 eval "$wx_cv_use_filedlg"
14275 if test x"$enablestring" = xdisable; then
14276 if test $wxUSE_FILEDLG = no; then
14282 result=$wxUSE_FILEDLG
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14286 $as_echo "$result" >&6; }
14290 defaultval=$wxUSE_ALL_FEATURES
14291 if test -z "$defaultval"; then
14292 if test x"$enablestring" = xdisable; then
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14300 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14301 # Check whether --enable-finddlg was given.
14302 if test "${enable_finddlg+set}" = set; then :
14303 enableval=$enable_finddlg;
14304 if test "$enableval" = yes; then
14305 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14307 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14312 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14317 eval "$wx_cv_use_finddlg"
14319 if test x"$enablestring" = xdisable; then
14320 if test $wxUSE_FINDREPLDLG = no; then
14326 result=$wxUSE_FINDREPLDLG
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14330 $as_echo "$result" >&6; }
14334 defaultval=$wxUSE_ALL_FEATURES
14335 if test -z "$defaultval"; then
14336 if test x"$enablestring" = xdisable; then
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14344 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14345 # Check whether --enable-fontdlg was given.
14346 if test "${enable_fontdlg+set}" = set; then :
14347 enableval=$enable_fontdlg;
14348 if test "$enableval" = yes; then
14349 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14351 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14356 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14361 eval "$wx_cv_use_fontdlg"
14363 if test x"$enablestring" = xdisable; then
14364 if test $wxUSE_FONTDLG = no; then
14370 result=$wxUSE_FONTDLG
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14374 $as_echo "$result" >&6; }
14378 defaultval=$wxUSE_ALL_FEATURES
14379 if test -z "$defaultval"; then
14380 if test x"$enablestring" = xdisable; then
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14388 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14389 # Check whether --enable-dirdlg was given.
14390 if test "${enable_dirdlg+set}" = set; then :
14391 enableval=$enable_dirdlg;
14392 if test "$enableval" = yes; then
14393 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14395 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14400 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14405 eval "$wx_cv_use_dirdlg"
14407 if test x"$enablestring" = xdisable; then
14408 if test $wxUSE_DIRDLG = no; then
14414 result=$wxUSE_DIRDLG
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14418 $as_echo "$result" >&6; }
14422 defaultval=$wxUSE_ALL_FEATURES
14423 if test -z "$defaultval"; then
14424 if test x"$enablestring" = xdisable; then
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14432 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14433 # Check whether --enable-msgdlg was given.
14434 if test "${enable_msgdlg+set}" = set; then :
14435 enableval=$enable_msgdlg;
14436 if test "$enableval" = yes; then
14437 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14439 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14444 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14449 eval "$wx_cv_use_msgdlg"
14451 if test x"$enablestring" = xdisable; then
14452 if test $wxUSE_MSGDLG = no; then
14458 result=$wxUSE_MSGDLG
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14462 $as_echo "$result" >&6; }
14466 defaultval=$wxUSE_ALL_FEATURES
14467 if test -z "$defaultval"; then
14468 if test x"$enablestring" = xdisable; then
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14476 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14477 # Check whether --enable-numberdlg was given.
14478 if test "${enable_numberdlg+set}" = set; then :
14479 enableval=$enable_numberdlg;
14480 if test "$enableval" = yes; then
14481 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14483 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14488 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14493 eval "$wx_cv_use_numberdlg"
14495 if test x"$enablestring" = xdisable; then
14496 if test $wxUSE_NUMBERDLG = no; then
14502 result=$wxUSE_NUMBERDLG
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14506 $as_echo "$result" >&6; }
14510 defaultval=$wxUSE_ALL_FEATURES
14511 if test -z "$defaultval"; then
14512 if test x"$enablestring" = xdisable; then
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14520 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14521 # Check whether --enable-splash was given.
14522 if test "${enable_splash+set}" = set; then :
14523 enableval=$enable_splash;
14524 if test "$enableval" = yes; then
14525 wx_cv_use_splash='wxUSE_SPLASH=yes'
14527 wx_cv_use_splash='wxUSE_SPLASH=no'
14532 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14537 eval "$wx_cv_use_splash"
14539 if test x"$enablestring" = xdisable; then
14540 if test $wxUSE_SPLASH = no; then
14546 result=$wxUSE_SPLASH
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14550 $as_echo "$result" >&6; }
14554 defaultval=$wxUSE_ALL_FEATURES
14555 if test -z "$defaultval"; then
14556 if test x"$enablestring" = xdisable; then
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14564 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14565 # Check whether --enable-textdlg was given.
14566 if test "${enable_textdlg+set}" = set; then :
14567 enableval=$enable_textdlg;
14568 if test "$enableval" = yes; then
14569 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14571 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14576 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14581 eval "$wx_cv_use_textdlg"
14583 if test x"$enablestring" = xdisable; then
14584 if test $wxUSE_TEXTDLG = no; then
14590 result=$wxUSE_TEXTDLG
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14594 $as_echo "$result" >&6; }
14598 defaultval=$wxUSE_ALL_FEATURES
14599 if test -z "$defaultval"; then
14600 if test x"$enablestring" = xdisable; then
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14608 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14609 # Check whether --enable-tipdlg was given.
14610 if test "${enable_tipdlg+set}" = set; then :
14611 enableval=$enable_tipdlg;
14612 if test "$enableval" = yes; then
14613 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14615 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14620 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14625 eval "$wx_cv_use_tipdlg"
14627 if test x"$enablestring" = xdisable; then
14628 if test $wxUSE_STARTUP_TIPS = no; then
14634 result=$wxUSE_STARTUP_TIPS
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14638 $as_echo "$result" >&6; }
14642 defaultval=$wxUSE_ALL_FEATURES
14643 if test -z "$defaultval"; then
14644 if test x"$enablestring" = xdisable; then
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14652 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14653 # Check whether --enable-progressdlg was given.
14654 if test "${enable_progressdlg+set}" = set; then :
14655 enableval=$enable_progressdlg;
14656 if test "$enableval" = yes; then
14657 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14659 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14664 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14669 eval "$wx_cv_use_progressdlg"
14671 if test x"$enablestring" = xdisable; then
14672 if test $wxUSE_PROGRESSDLG = no; then
14678 result=$wxUSE_PROGRESSDLG
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14682 $as_echo "$result" >&6; }
14686 defaultval=$wxUSE_ALL_FEATURES
14687 if test -z "$defaultval"; then
14688 if test x"$enablestring" = xdisable; then
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14696 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14697 # Check whether --enable-wizarddlg was given.
14698 if test "${enable_wizarddlg+set}" = set; then :
14699 enableval=$enable_wizarddlg;
14700 if test "$enableval" = yes; then
14701 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14703 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14708 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14713 eval "$wx_cv_use_wizarddlg"
14715 if test x"$enablestring" = xdisable; then
14716 if test $wxUSE_WIZARDDLG = no; then
14722 result=$wxUSE_WIZARDDLG
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14726 $as_echo "$result" >&6; }
14732 defaultval=$wxUSE_ALL_FEATURES
14733 if test -z "$defaultval"; then
14734 if test x"$enablestring" = xdisable; then
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14742 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14743 # Check whether --enable-menus was given.
14744 if test "${enable_menus+set}" = set; then :
14745 enableval=$enable_menus;
14746 if test "$enableval" = yes; then
14747 wx_cv_use_menus='wxUSE_MENUS=yes'
14749 wx_cv_use_menus='wxUSE_MENUS=no'
14754 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14759 eval "$wx_cv_use_menus"
14761 if test x"$enablestring" = xdisable; then
14762 if test $wxUSE_MENUS = no; then
14768 result=$wxUSE_MENUS
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14772 $as_echo "$result" >&6; }
14776 defaultval=$wxUSE_ALL_FEATURES
14777 if test -z "$defaultval"; then
14778 if test x"$enablestring" = xdisable; then
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14786 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14787 # Check whether --enable-miniframe was given.
14788 if test "${enable_miniframe+set}" = set; then :
14789 enableval=$enable_miniframe;
14790 if test "$enableval" = yes; then
14791 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14793 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14798 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14803 eval "$wx_cv_use_miniframe"
14805 if test x"$enablestring" = xdisable; then
14806 if test $wxUSE_MINIFRAME = no; then
14812 result=$wxUSE_MINIFRAME
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14816 $as_echo "$result" >&6; }
14820 defaultval=$wxUSE_ALL_FEATURES
14821 if test -z "$defaultval"; then
14822 if test x"$enablestring" = xdisable; then
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14830 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14831 # Check whether --enable-tooltips was given.
14832 if test "${enable_tooltips+set}" = set; then :
14833 enableval=$enable_tooltips;
14834 if test "$enableval" = yes; then
14835 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14837 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14842 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14847 eval "$wx_cv_use_tooltips"
14849 if test x"$enablestring" = xdisable; then
14850 if test $wxUSE_TOOLTIPS = no; then
14856 result=$wxUSE_TOOLTIPS
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14860 $as_echo "$result" >&6; }
14864 defaultval=$wxUSE_ALL_FEATURES
14865 if test -z "$defaultval"; then
14866 if test x"$enablestring" = xdisable; then
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14874 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14875 # Check whether --enable-splines was given.
14876 if test "${enable_splines+set}" = set; then :
14877 enableval=$enable_splines;
14878 if test "$enableval" = yes; then
14879 wx_cv_use_splines='wxUSE_SPLINES=yes'
14881 wx_cv_use_splines='wxUSE_SPLINES=no'
14886 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14891 eval "$wx_cv_use_splines"
14893 if test x"$enablestring" = xdisable; then
14894 if test $wxUSE_SPLINES = no; then
14900 result=$wxUSE_SPLINES
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14904 $as_echo "$result" >&6; }
14908 defaultval=$wxUSE_ALL_FEATURES
14909 if test -z "$defaultval"; then
14910 if test x"$enablestring" = xdisable; then
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14918 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14919 # Check whether --enable-mousewheel was given.
14920 if test "${enable_mousewheel+set}" = set; then :
14921 enableval=$enable_mousewheel;
14922 if test "$enableval" = yes; then
14923 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14925 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14930 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14935 eval "$wx_cv_use_mousewheel"
14937 if test x"$enablestring" = xdisable; then
14938 if test $wxUSE_MOUSEWHEEL = no; then
14944 result=$wxUSE_MOUSEWHEEL
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14948 $as_echo "$result" >&6; }
14952 defaultval=$wxUSE_ALL_FEATURES
14953 if test -z "$defaultval"; then
14954 if test x"$enablestring" = xdisable; then
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14962 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14963 # Check whether --enable-validators was given.
14964 if test "${enable_validators+set}" = set; then :
14965 enableval=$enable_validators;
14966 if test "$enableval" = yes; then
14967 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14969 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14974 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14979 eval "$wx_cv_use_validators"
14981 if test x"$enablestring" = xdisable; then
14982 if test $wxUSE_VALIDATORS = no; then
14988 result=$wxUSE_VALIDATORS
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14992 $as_echo "$result" >&6; }
14996 defaultval=$wxUSE_ALL_FEATURES
14997 if test -z "$defaultval"; then
14998 if test x"$enablestring" = xdisable; then
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15006 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15007 # Check whether --enable-busyinfo was given.
15008 if test "${enable_busyinfo+set}" = set; then :
15009 enableval=$enable_busyinfo;
15010 if test "$enableval" = yes; then
15011 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15013 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15018 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15023 eval "$wx_cv_use_busyinfo"
15025 if test x"$enablestring" = xdisable; then
15026 if test $wxUSE_BUSYINFO = no; then
15032 result=$wxUSE_BUSYINFO
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15036 $as_echo "$result" >&6; }
15040 defaultval=$wxUSE_ALL_FEATURES
15041 if test -z "$defaultval"; then
15042 if test x"$enablestring" = xdisable; then
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15050 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15051 # Check whether --enable-hotkey was given.
15052 if test "${enable_hotkey+set}" = set; then :
15053 enableval=$enable_hotkey;
15054 if test "$enableval" = yes; then
15055 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15057 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15062 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15067 eval "$wx_cv_use_hotkey"
15069 if test x"$enablestring" = xdisable; then
15070 if test $wxUSE_HOTKEY = no; then
15076 result=$wxUSE_HOTKEY
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15080 $as_echo "$result" >&6; }
15084 defaultval=$wxUSE_ALL_FEATURES
15085 if test -z "$defaultval"; then
15086 if test x"$enablestring" = xdisable; then
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15094 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15095 # Check whether --enable-joystick was given.
15096 if test "${enable_joystick+set}" = set; then :
15097 enableval=$enable_joystick;
15098 if test "$enableval" = yes; then
15099 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15101 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15106 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15111 eval "$wx_cv_use_joystick"
15113 if test x"$enablestring" = xdisable; then
15114 if test $wxUSE_JOYSTICK = no; then
15120 result=$wxUSE_JOYSTICK
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15124 $as_echo "$result" >&6; }
15128 defaultval=$wxUSE_ALL_FEATURES
15129 if test -z "$defaultval"; then
15130 if test x"$enablestring" = xdisable; then
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15138 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15139 # Check whether --enable-metafile was given.
15140 if test "${enable_metafile+set}" = set; then :
15141 enableval=$enable_metafile;
15142 if test "$enableval" = yes; then
15143 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15145 wx_cv_use_metafile='wxUSE_METAFILE=no'
15150 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15155 eval "$wx_cv_use_metafile"
15157 if test x"$enablestring" = xdisable; then
15158 if test $wxUSE_METAFILE = no; then
15164 result=$wxUSE_METAFILE
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15168 $as_echo "$result" >&6; }
15172 defaultval=$wxUSE_ALL_FEATURES
15173 if test -z "$defaultval"; then
15174 if test x"$enablestring" = xdisable; then
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15182 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15183 # Check whether --enable-dragimage was given.
15184 if test "${enable_dragimage+set}" = set; then :
15185 enableval=$enable_dragimage;
15186 if test "$enableval" = yes; then
15187 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15189 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15194 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15199 eval "$wx_cv_use_dragimage"
15201 if test x"$enablestring" = xdisable; then
15202 if test $wxUSE_DRAGIMAGE = no; then
15208 result=$wxUSE_DRAGIMAGE
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15212 $as_echo "$result" >&6; }
15216 defaultval=$wxUSE_ALL_FEATURES
15217 if test -z "$defaultval"; then
15218 if test x"$enablestring" = xdisable; then
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15226 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15227 # Check whether --enable-accessibility was given.
15228 if test "${enable_accessibility+set}" = set; then :
15229 enableval=$enable_accessibility;
15230 if test "$enableval" = yes; then
15231 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15233 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15238 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15243 eval "$wx_cv_use_accessibility"
15245 if test x"$enablestring" = xdisable; then
15246 if test $wxUSE_ACCESSIBILITY = no; then
15252 result=$wxUSE_ACCESSIBILITY
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15256 $as_echo "$result" >&6; }
15260 defaultval=$wxUSE_ALL_FEATURES
15261 if test -z "$defaultval"; then
15262 if test x"$enablestring" = xdisable; then
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15270 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15271 # Check whether --enable-uiactionsim was given.
15272 if test "${enable_uiactionsim+set}" = set; then :
15273 enableval=$enable_uiactionsim;
15274 if test "$enableval" = yes; then
15275 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15277 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15282 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15287 eval "$wx_cv_use_uiactionsim"
15289 if test x"$enablestring" = xdisable; then
15290 if test $wxUSE_UIACTIONSIMULATOR = no; then
15296 result=$wxUSE_UIACTIONSIMULATOR
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15300 $as_echo "$result" >&6; }
15304 defaultval=$wxUSE_ALL_FEATURES
15305 if test -z "$defaultval"; then
15306 if test x"$enablestring" = xdisable; then
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15314 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15315 # Check whether --enable-dctransform was given.
15316 if test "${enable_dctransform+set}" = set; then :
15317 enableval=$enable_dctransform;
15318 if test "$enableval" = yes; then
15319 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15321 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15326 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15331 eval "$wx_cv_use_dctransform"
15333 if test x"$enablestring" = xdisable; then
15334 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15340 result=$wxUSE_DC_TRANSFORM_MATRIX
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15344 $as_echo "$result" >&6; }
15348 defaultval=$wxUSE_ALL_FEATURES
15349 if test -z "$defaultval"; then
15350 if test x"$enablestring" = xdisable; then
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15358 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15359 # Check whether --enable-webviewwebkit was given.
15360 if test "${enable_webviewwebkit+set}" = set; then :
15361 enableval=$enable_webviewwebkit;
15362 if test "$enableval" = yes; then
15363 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15365 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15370 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15375 eval "$wx_cv_use_webviewwebkit"
15377 if test x"$enablestring" = xdisable; then
15378 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15384 result=$wxUSE_WEBVIEW_WEBKIT
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15388 $as_echo "$result" >&6; }
15394 defaultval=$wxUSE_ALL_FEATURES
15395 if test -z "$defaultval"; then
15396 if test x"$enablestring" = xdisable; then
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15404 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15405 # Check whether --enable-palette was given.
15406 if test "${enable_palette+set}" = set; then :
15407 enableval=$enable_palette;
15408 if test "$enableval" = yes; then
15409 wx_cv_use_palette='wxUSE_PALETTE=yes'
15411 wx_cv_use_palette='wxUSE_PALETTE=no'
15416 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15421 eval "$wx_cv_use_palette"
15423 if test x"$enablestring" = xdisable; then
15424 if test $wxUSE_PALETTE = no; then
15430 result=$wxUSE_PALETTE
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15434 $as_echo "$result" >&6; }
15438 defaultval=$wxUSE_ALL_FEATURES
15439 if test -z "$defaultval"; then
15440 if test x"$enablestring" = xdisable; then
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15448 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15449 # Check whether --enable-image was given.
15450 if test "${enable_image+set}" = set; then :
15451 enableval=$enable_image;
15452 if test "$enableval" = yes; then
15453 wx_cv_use_image='wxUSE_IMAGE=yes'
15455 wx_cv_use_image='wxUSE_IMAGE=no'
15460 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15465 eval "$wx_cv_use_image"
15467 if test x"$enablestring" = xdisable; then
15468 if test $wxUSE_IMAGE = no; then
15474 result=$wxUSE_IMAGE
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15478 $as_echo "$result" >&6; }
15482 defaultval=$wxUSE_ALL_FEATURES
15483 if test -z "$defaultval"; then
15484 if test x"$enablestring" = xdisable; then
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15492 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15493 # Check whether --enable-gif was given.
15494 if test "${enable_gif+set}" = set; then :
15495 enableval=$enable_gif;
15496 if test "$enableval" = yes; then
15497 wx_cv_use_gif='wxUSE_GIF=yes'
15499 wx_cv_use_gif='wxUSE_GIF=no'
15504 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15509 eval "$wx_cv_use_gif"
15511 if test x"$enablestring" = xdisable; then
15512 if test $wxUSE_GIF = no; then
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15522 $as_echo "$result" >&6; }
15526 defaultval=$wxUSE_ALL_FEATURES
15527 if test -z "$defaultval"; then
15528 if test x"$enablestring" = xdisable; then
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15536 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15537 # Check whether --enable-pcx was given.
15538 if test "${enable_pcx+set}" = set; then :
15539 enableval=$enable_pcx;
15540 if test "$enableval" = yes; then
15541 wx_cv_use_pcx='wxUSE_PCX=yes'
15543 wx_cv_use_pcx='wxUSE_PCX=no'
15548 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15553 eval "$wx_cv_use_pcx"
15555 if test x"$enablestring" = xdisable; then
15556 if test $wxUSE_PCX = no; then
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15566 $as_echo "$result" >&6; }
15570 defaultval=$wxUSE_ALL_FEATURES
15571 if test -z "$defaultval"; then
15572 if test x"$enablestring" = xdisable; then
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15580 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15581 # Check whether --enable-tga was given.
15582 if test "${enable_tga+set}" = set; then :
15583 enableval=$enable_tga;
15584 if test "$enableval" = yes; then
15585 wx_cv_use_tga='wxUSE_TGA=yes'
15587 wx_cv_use_tga='wxUSE_TGA=no'
15592 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15597 eval "$wx_cv_use_tga"
15599 if test x"$enablestring" = xdisable; then
15600 if test $wxUSE_TGA = no; then
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15610 $as_echo "$result" >&6; }
15614 defaultval=$wxUSE_ALL_FEATURES
15615 if test -z "$defaultval"; then
15616 if test x"$enablestring" = xdisable; then
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15624 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15625 # Check whether --enable-iff was given.
15626 if test "${enable_iff+set}" = set; then :
15627 enableval=$enable_iff;
15628 if test "$enableval" = yes; then
15629 wx_cv_use_iff='wxUSE_IFF=yes'
15631 wx_cv_use_iff='wxUSE_IFF=no'
15636 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15641 eval "$wx_cv_use_iff"
15643 if test x"$enablestring" = xdisable; then
15644 if test $wxUSE_IFF = no; then
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15654 $as_echo "$result" >&6; }
15658 defaultval=$wxUSE_ALL_FEATURES
15659 if test -z "$defaultval"; then
15660 if test x"$enablestring" = xdisable; then
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15668 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15669 # Check whether --enable-pnm was given.
15670 if test "${enable_pnm+set}" = set; then :
15671 enableval=$enable_pnm;
15672 if test "$enableval" = yes; then
15673 wx_cv_use_pnm='wxUSE_PNM=yes'
15675 wx_cv_use_pnm='wxUSE_PNM=no'
15680 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15685 eval "$wx_cv_use_pnm"
15687 if test x"$enablestring" = xdisable; then
15688 if test $wxUSE_PNM = no; then
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15698 $as_echo "$result" >&6; }
15702 defaultval=$wxUSE_ALL_FEATURES
15703 if test -z "$defaultval"; then
15704 if test x"$enablestring" = xdisable; then
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15712 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15713 # Check whether --enable-xpm was given.
15714 if test "${enable_xpm+set}" = set; then :
15715 enableval=$enable_xpm;
15716 if test "$enableval" = yes; then
15717 wx_cv_use_xpm='wxUSE_XPM=yes'
15719 wx_cv_use_xpm='wxUSE_XPM=no'
15724 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15729 eval "$wx_cv_use_xpm"
15731 if test x"$enablestring" = xdisable; then
15732 if test $wxUSE_XPM = no; then
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15742 $as_echo "$result" >&6; }
15746 defaultval=$wxUSE_ALL_FEATURES
15747 if test -z "$defaultval"; then
15748 if test x"$enablestring" = xdisable; then
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15756 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15757 # Check whether --enable-ico_cur was given.
15758 if test "${enable_ico_cur+set}" = set; then :
15759 enableval=$enable_ico_cur;
15760 if test "$enableval" = yes; then
15761 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15763 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15768 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15773 eval "$wx_cv_use_ico_cur"
15775 if test x"$enablestring" = xdisable; then
15776 if test $wxUSE_ICO_CUR = no; then
15782 result=$wxUSE_ICO_CUR
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15786 $as_echo "$result" >&6; }
15792 defaultval=$wxUSE_ALL_FEATURES
15793 if test -z "$defaultval"; then
15794 if test x"$enablestring" = xdisable; then
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15802 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15803 # Check whether --enable-dccache was given.
15804 if test "${enable_dccache+set}" = set; then :
15805 enableval=$enable_dccache;
15806 if test "$enableval" = yes; then
15807 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15809 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15814 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15819 eval "$wx_cv_use_dccache"
15821 if test x"$enablestring" = xdisable; then
15822 if test $wxUSE_DC_CACHEING = no; then
15828 result=$wxUSE_DC_CACHEING
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15832 $as_echo "$result" >&6; }
15836 defaultval=$wxUSE_ALL_FEATURES
15837 if test -z "$defaultval"; then
15838 if test x"$enablestring" = xdisable; then
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15846 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15847 # Check whether --enable-ps-in-msw was given.
15848 if test "${enable_ps_in_msw+set}" = set; then :
15849 enableval=$enable_ps_in_msw;
15850 if test "$enableval" = yes; then
15851 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15853 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15858 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15863 eval "$wx_cv_use_ps_in_msw"
15865 if test x"$enablestring" = xdisable; then
15866 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15872 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15876 $as_echo "$result" >&6; }
15880 defaultval=$wxUSE_ALL_FEATURES
15881 if test -z "$defaultval"; then
15882 if test x"$enablestring" = xdisable; then
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15890 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15891 # Check whether --enable-ownerdrawn was given.
15892 if test "${enable_ownerdrawn+set}" = set; then :
15893 enableval=$enable_ownerdrawn;
15894 if test "$enableval" = yes; then
15895 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15897 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15902 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15907 eval "$wx_cv_use_ownerdrawn"
15909 if test x"$enablestring" = xdisable; then
15910 if test $wxUSE_OWNER_DRAWN = no; then
15916 result=$wxUSE_OWNER_DRAWN
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15920 $as_echo "$result" >&6; }
15924 defaultval=$wxUSE_ALL_FEATURES
15925 if test -z "$defaultval"; then
15926 if test x"$enablestring" = xdisable; then
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
15934 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
15935 # Check whether --enable-uxtheme was given.
15936 if test "${enable_uxtheme+set}" = set; then :
15937 enableval=$enable_uxtheme;
15938 if test "$enableval" = yes; then
15939 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15941 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15946 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15951 eval "$wx_cv_use_uxtheme"
15953 if test x"$enablestring" = xdisable; then
15954 if test $wxUSE_UXTHEME = no; then
15960 result=$wxUSE_UXTHEME
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15964 $as_echo "$result" >&6; }
15968 defaultval=$wxUSE_ALL_FEATURES
15969 if test -z "$defaultval"; then
15970 if test x"$enablestring" = xdisable; then
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
15978 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
15979 # Check whether --enable-wxdib was given.
15980 if test "${enable_wxdib+set}" = set; then :
15981 enableval=$enable_wxdib;
15982 if test "$enableval" = yes; then
15983 wx_cv_use_wxdib='wxUSE_DIB=yes'
15985 wx_cv_use_wxdib='wxUSE_DIB=no'
15990 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15995 eval "$wx_cv_use_wxdib"
15997 if test x"$enablestring" = xdisable; then
15998 if test $wxUSE_DIB = no; then
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16008 $as_echo "$result" >&6; }
16012 defaultval=$wxUSE_ALL_FEATURES
16013 if test -z "$defaultval"; then
16014 if test x"$enablestring" = xdisable; then
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16022 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16023 # Check whether --enable-webviewie was given.
16024 if test "${enable_webviewie+set}" = set; then :
16025 enableval=$enable_webviewie;
16026 if test "$enableval" = yes; then
16027 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16029 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16034 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16039 eval "$wx_cv_use_webviewie"
16041 if test x"$enablestring" = xdisable; then
16042 if test $wxUSE_WEBVIEW_IE = no; then
16048 result=$wxUSE_WEBVIEW_IE
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16052 $as_echo "$result" >&6; }
16055 if test "$wxUSE_MSW" != 1; then
16056 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16061 defaultval=$wxUSE_ALL_FEATURES
16062 if test -z "$defaultval"; then
16063 if test x"$enablestring" = xdisable; then
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16071 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16072 # Check whether --enable-autoidman was given.
16073 if test "${enable_autoidman+set}" = set; then :
16074 enableval=$enable_autoidman;
16075 if test "$enableval" = yes; then
16076 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16078 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16083 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16088 eval "$wx_cv_use_autoidman"
16090 if test x"$enablestring" = xdisable; then
16091 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16097 result=$wxUSE_AUTOID_MANAGEMENT
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16101 $as_echo "$result" >&6; }
16107 cat >confcache <<\_ACEOF
16108 # This file is a shell script that caches the results of configure
16109 # tests run on this system so they can be shared between configure
16110 # scripts and configure runs, see configure's option --config-cache.
16111 # It is not useful on other systems. If it contains results you don't
16112 # want to keep, you may remove or edit it.
16114 # config.status only pays attention to the cache file if you give it
16115 # the --recheck option to rerun configure.
16117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16119 # following values.
16123 # The following way of writing the cache mishandles newlines in values,
16124 # but we know of no workaround that is simple, portable, and efficient.
16125 # So, we kill variables containing newlines.
16126 # Ultrix sh set writes to stderr and can't be redirected directly,
16127 # and sets the high bit in the cache file unless we assign to the vars.
16129 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16130 eval ac_val=\$$ac_var
16134 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16135 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16138 _ | IFS | as_nl) ;; #(
16139 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16140 *) { eval $ac_var=; unset $ac_var;} ;;
16146 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16147 *${as_nl}ac_space=\ *)
16148 # `set' does not quote correctly, so add quotes: double-quote
16149 # substitution turns \\\\ into \\, and sed turns \\ into \.
16152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16155 # `set' quotes correctly as required by POSIX, so do not add quotes.
16156 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16165 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16167 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16169 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16170 if test -w "$cache_file"; then
16171 test "x$cache_file" != "x/dev/null" &&
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16173 $as_echo "$as_me: updating cache $cache_file" >&6;}
16174 cat confcache >$cache_file
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16177 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16184 ac_cpp='$CPP $CPPFLAGS'
16185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16188 if test -n "$ac_tool_prefix"; then
16189 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16190 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16192 $as_echo_n "checking for $ac_word... " >&6; }
16193 if test "${ac_cv_prog_CC+set}" = set; then :
16194 $as_echo_n "(cached) " >&6
16196 if test -n "$CC"; then
16197 ac_cv_prog_CC="$CC" # Let the user override the test.
16199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16200 for as_dir in $PATH
16203 test -z "$as_dir" && as_dir=.
16204 for ac_exec_ext in '' $ac_executable_extensions; do
16205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16206 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16217 if test -n "$CC"; then
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16219 $as_echo "$CC" >&6; }
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16222 $as_echo "no" >&6; }
16227 if test -z "$ac_cv_prog_CC"; then
16229 # Extract the first word of "gcc", so it can be a program name with args.
16230 set dummy gcc; ac_word=$2
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16232 $as_echo_n "checking for $ac_word... " >&6; }
16233 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16234 $as_echo_n "(cached) " >&6
16236 if test -n "$ac_ct_CC"; then
16237 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16240 for as_dir in $PATH
16243 test -z "$as_dir" && as_dir=.
16244 for ac_exec_ext in '' $ac_executable_extensions; do
16245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16246 ac_cv_prog_ac_ct_CC="gcc"
16247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16256 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16257 if test -n "$ac_ct_CC"; then
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16259 $as_echo "$ac_ct_CC" >&6; }
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16262 $as_echo "no" >&6; }
16265 if test "x$ac_ct_CC" = x; then
16268 case $cross_compiling:$ac_tool_warned in
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16272 ac_tool_warned=yes ;;
16277 CC="$ac_cv_prog_CC"
16280 if test -z "$CC"; then
16281 if test -n "$ac_tool_prefix"; then
16282 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16283 set dummy ${ac_tool_prefix}cc; ac_word=$2
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16285 $as_echo_n "checking for $ac_word... " >&6; }
16286 if test "${ac_cv_prog_CC+set}" = set; then :
16287 $as_echo_n "(cached) " >&6
16289 if test -n "$CC"; then
16290 ac_cv_prog_CC="$CC" # Let the user override the test.
16292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16293 for as_dir in $PATH
16296 test -z "$as_dir" && as_dir=.
16297 for ac_exec_ext in '' $ac_executable_extensions; do
16298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16299 ac_cv_prog_CC="${ac_tool_prefix}cc"
16300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16310 if test -n "$CC"; then
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16312 $as_echo "$CC" >&6; }
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16315 $as_echo "no" >&6; }
16321 if test -z "$CC"; then
16322 # Extract the first word of "cc", so it can be a program name with args.
16323 set dummy cc; ac_word=$2
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16325 $as_echo_n "checking for $ac_word... " >&6; }
16326 if test "${ac_cv_prog_CC+set}" = set; then :
16327 $as_echo_n "(cached) " >&6
16329 if test -n "$CC"; then
16330 ac_cv_prog_CC="$CC" # Let the user override the test.
16332 ac_prog_rejected=no
16333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16334 for as_dir in $PATH
16337 test -z "$as_dir" && as_dir=.
16338 for ac_exec_ext in '' $ac_executable_extensions; do
16339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16340 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16341 ac_prog_rejected=yes
16345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16352 if test $ac_prog_rejected = yes; then
16353 # We found a bogon in the path, so make sure we never use it.
16354 set dummy $ac_cv_prog_CC
16356 if test $# != 0; then
16357 # We chose a different compiler from the bogus one.
16358 # However, it has the same basename, so the bogon will be chosen
16359 # first if we set CC to just the basename; use the full file name.
16361 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16367 if test -n "$CC"; then
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16369 $as_echo "$CC" >&6; }
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16372 $as_echo "no" >&6; }
16377 if test -z "$CC"; then
16378 if test -n "$ac_tool_prefix"; then
16379 for ac_prog in cl.exe
16381 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16382 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16384 $as_echo_n "checking for $ac_word... " >&6; }
16385 if test "${ac_cv_prog_CC+set}" = set; then :
16386 $as_echo_n "(cached) " >&6
16388 if test -n "$CC"; then
16389 ac_cv_prog_CC="$CC" # Let the user override the test.
16391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16392 for as_dir in $PATH
16395 test -z "$as_dir" && as_dir=.
16396 for ac_exec_ext in '' $ac_executable_extensions; do
16397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16398 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16409 if test -n "$CC"; then
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16411 $as_echo "$CC" >&6; }
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16414 $as_echo "no" >&6; }
16418 test -n "$CC" && break
16421 if test -z "$CC"; then
16423 for ac_prog in cl.exe
16425 # Extract the first word of "$ac_prog", so it can be a program name with args.
16426 set dummy $ac_prog; ac_word=$2
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16428 $as_echo_n "checking for $ac_word... " >&6; }
16429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16430 $as_echo_n "(cached) " >&6
16432 if test -n "$ac_ct_CC"; then
16433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16436 for as_dir in $PATH
16439 test -z "$as_dir" && as_dir=.
16440 for ac_exec_ext in '' $ac_executable_extensions; do
16441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16442 ac_cv_prog_ac_ct_CC="$ac_prog"
16443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16452 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16453 if test -n "$ac_ct_CC"; then
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16455 $as_echo "$ac_ct_CC" >&6; }
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16458 $as_echo "no" >&6; }
16462 test -n "$ac_ct_CC" && break
16465 if test "x$ac_ct_CC" = x; then
16468 case $cross_compiling:$ac_tool_warned in
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16472 ac_tool_warned=yes ;;
16481 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16483 as_fn_error $? "no acceptable C compiler found in \$PATH
16484 See \`config.log' for more details" "$LINENO" 5; }
16486 # Provide some information about the compiler.
16487 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16490 for ac_option in --version -v -V -qversion; do
16491 { { ac_try="$ac_compiler $ac_option >&5"
16492 case "(($ac_try" in
16493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16494 *) ac_try_echo=$ac_try;;
16496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16497 $as_echo "$ac_try_echo"; } >&5
16498 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16500 if test -s conftest.err; then
16502 ... rest of stderr output deleted ...
16503 10q' conftest.err >conftest.er1
16504 cat conftest.er1 >&5
16506 rm -f conftest.er1 conftest.err
16507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16508 test $ac_status = 0; }
16511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16522 ac_clean_files_save=$ac_clean_files
16523 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16524 # Try to create an executable without -o first, disregard a.out.
16525 # It will help us diagnose broken compilers, and finding out an intuition
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16528 $as_echo_n "checking whether the C compiler works... " >&6; }
16529 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16531 # The possible output files:
16532 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16535 for ac_file in $ac_files
16538 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16539 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16544 if { { ac_try="$ac_link_default"
16545 case "(($ac_try" in
16546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16547 *) ac_try_echo=$ac_try;;
16549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16550 $as_echo "$ac_try_echo"; } >&5
16551 (eval "$ac_link_default") 2>&5
16553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16554 test $ac_status = 0; }; then :
16555 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16556 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16557 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16558 # so that the user can short-circuit this test for compilers unknown to
16560 for ac_file in $ac_files ''
16562 test -f "$ac_file" || continue
16564 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16567 # We found the default executable, but exeext='' is most
16571 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16573 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16575 # We set ac_cv_exeext here because the later test for it is not
16576 # safe: cross compilers may not add the suffix if given an `-o'
16577 # argument, so we may need to know it at that point already.
16578 # Even if this section looks crufty: it has the advantage of
16579 # actually working.
16585 test "$ac_cv_exeext" = no && ac_cv_exeext=
16590 if test -z "$ac_file"; then :
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16592 $as_echo "no" >&6; }
16593 $as_echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.$ac_ext >&5
16596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16598 as_fn_error 77 "C compiler cannot create executables
16599 See \`config.log' for more details" "$LINENO" 5; }
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16602 $as_echo "yes" >&6; }
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16605 $as_echo_n "checking for C compiler default output file name... " >&6; }
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16607 $as_echo "$ac_file" >&6; }
16608 ac_exeext=$ac_cv_exeext
16610 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16611 ac_clean_files=$ac_clean_files_save
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16613 $as_echo_n "checking for suffix of executables... " >&6; }
16614 if { { ac_try="$ac_link"
16615 case "(($ac_try" in
16616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16617 *) ac_try_echo=$ac_try;;
16619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16620 $as_echo "$ac_try_echo"; } >&5
16621 (eval "$ac_link") 2>&5
16623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16624 test $ac_status = 0; }; then :
16625 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16626 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16627 # work properly (i.e., refer to `conftest.exe'), while it won't with
16629 for ac_file in conftest.exe conftest conftest.*; do
16630 test -f "$ac_file" || continue
16632 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16633 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16641 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16642 See \`config.log' for more details" "$LINENO" 5; }
16644 rm -f conftest conftest$ac_cv_exeext
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16646 $as_echo "$ac_cv_exeext" >&6; }
16648 rm -f conftest.$ac_ext
16649 EXEEXT=$ac_cv_exeext
16651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16652 /* end confdefs.h. */
16657 FILE *f = fopen ("conftest.out", "w");
16658 return ferror (f) || fclose (f) != 0;
16664 ac_clean_files="$ac_clean_files conftest.out"
16665 # Check that the compiler produces executables we can run. If not, either
16666 # the compiler is broken, or we cross compile.
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16668 $as_echo_n "checking whether we are cross compiling... " >&6; }
16669 if test "$cross_compiling" != yes; then
16670 { { ac_try="$ac_link"
16671 case "(($ac_try" in
16672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16673 *) ac_try_echo=$ac_try;;
16675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16676 $as_echo "$ac_try_echo"; } >&5
16677 (eval "$ac_link") 2>&5
16679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16680 test $ac_status = 0; }
16681 if { ac_try='./conftest$ac_cv_exeext'
16682 { { case "(($ac_try" in
16683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16684 *) ac_try_echo=$ac_try;;
16686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16687 $as_echo "$ac_try_echo"; } >&5
16688 (eval "$ac_try") 2>&5
16690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16691 test $ac_status = 0; }; }; then
16694 if test "$cross_compiling" = maybe; then
16695 cross_compiling=yes
16697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16699 as_fn_error $? "cannot run C compiled programs.
16700 If you meant to cross compile, use \`--host'.
16701 See \`config.log' for more details" "$LINENO" 5; }
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16706 $as_echo "$cross_compiling" >&6; }
16708 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16709 ac_clean_files=$ac_clean_files_save
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16711 $as_echo_n "checking for suffix of object files... " >&6; }
16712 if test "${ac_cv_objext+set}" = set; then :
16713 $as_echo_n "(cached) " >&6
16715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16726 rm -f conftest.o conftest.obj
16727 if { { ac_try="$ac_compile"
16728 case "(($ac_try" in
16729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16730 *) ac_try_echo=$ac_try;;
16732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16733 $as_echo "$ac_try_echo"; } >&5
16734 (eval "$ac_compile") 2>&5
16736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16737 test $ac_status = 0; }; then :
16738 for ac_file in conftest.o conftest.obj conftest.*; do
16739 test -f "$ac_file" || continue;
16741 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16742 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16747 $as_echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.$ac_ext >&5
16750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16752 as_fn_error $? "cannot compute suffix of object files: cannot compile
16753 See \`config.log' for more details" "$LINENO" 5; }
16755 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16758 $as_echo "$ac_cv_objext" >&6; }
16759 OBJEXT=$ac_cv_objext
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16762 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16763 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
16764 $as_echo_n "(cached) " >&6
16766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16767 /* end confdefs.h. */
16780 if ac_fn_c_try_compile "$LINENO"; then :
16781 ac_compiler_gnu=yes
16785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16786 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16790 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16791 if test $ac_compiler_gnu = yes; then
16796 ac_test_CFLAGS=${CFLAGS+set}
16797 ac_save_CFLAGS=$CFLAGS
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16799 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16800 if test "${ac_cv_prog_cc_g+set}" = set; then :
16801 $as_echo_n "(cached) " >&6
16803 ac_save_c_werror_flag=$ac_c_werror_flag
16804 ac_c_werror_flag=yes
16807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16818 if ac_fn_c_try_compile "$LINENO"; then :
16819 ac_cv_prog_cc_g=yes
16822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16823 /* end confdefs.h. */
16833 if ac_fn_c_try_compile "$LINENO"; then :
16836 ac_c_werror_flag=$ac_save_c_werror_flag
16838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16839 /* end confdefs.h. */
16849 if ac_fn_c_try_compile "$LINENO"; then :
16850 ac_cv_prog_cc_g=yes
16852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16857 ac_c_werror_flag=$ac_save_c_werror_flag
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16860 $as_echo "$ac_cv_prog_cc_g" >&6; }
16861 if test "$ac_test_CFLAGS" = set; then
16862 CFLAGS=$ac_save_CFLAGS
16863 elif test $ac_cv_prog_cc_g = yes; then
16864 if test "$GCC" = yes; then
16870 if test "$GCC" = yes; then
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16877 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16878 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16879 $as_echo_n "(cached) " >&6
16881 ac_cv_prog_cc_c89=no
16883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16885 #include <stdarg.h>
16887 #include <sys/types.h>
16888 #include <sys/stat.h>
16889 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16890 struct buf { int x; };
16891 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16892 static char *e (p, i)
16898 static char *f (char * (*g) (char **, int), char **p, ...)
16903 s = g (p, va_arg (v,int));
16908 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16909 function prototypes and stuff, but not '\xHH' hex character constants.
16910 These don't provoke an error unfortunately, instead are silently treated
16911 as 'x'. The following induces an error, until -std is added to get
16912 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16913 array size at least. It's necessary to write '\x00'==0 to get something
16914 that's true only with -std. */
16915 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16917 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16918 inside strings and character constants. */
16920 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16922 int test (int i, double x);
16923 struct s1 {int (*f) (int a);};
16924 struct s2 {int (*f) (double a);};
16925 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16931 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16936 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16937 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16939 CC="$ac_save_CC $ac_arg"
16940 if ac_fn_c_try_compile "$LINENO"; then :
16941 ac_cv_prog_cc_c89=$ac_arg
16943 rm -f core conftest.err conftest.$ac_objext
16944 test "x$ac_cv_prog_cc_c89" != "xno" && break
16946 rm -f conftest.$ac_ext
16951 case "x$ac_cv_prog_cc_c89" in
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16954 $as_echo "none needed" >&6; } ;;
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16957 $as_echo "unsupported" >&6; } ;;
16959 CC="$CC $ac_cv_prog_cc_c89"
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16961 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16963 if test "x$ac_cv_prog_cc_c89" != xno; then :
16968 ac_cpp='$CPP $CPPFLAGS'
16969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16981 ac_cpp='$CPP $CPPFLAGS'
16982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
16987 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
16988 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then :
16989 $as_echo_n "(cached) " >&6
16991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16992 /* end confdefs.h. */
16998 #ifndef __INTEL_COMPILER
17006 if ac_fn_c_try_compile "$LINENO"; then :
17007 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17009 bakefile_cv_c_compiler___INTEL_COMPILER=no
17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17017 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17018 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17024 ac_cpp='$CPP $CPPFLAGS'
17025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17032 if test "$INTELCC" = "yes"; 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
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17042 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17043 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
17044 $as_echo_n "(cached) " >&6
17046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17053 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17061 if ac_fn_c_try_compile "$LINENO"; then :
17062 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17064 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17072 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17073 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17079 ac_cpp='$CPP $CPPFLAGS'
17080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17089 ac_cpp='$CPP $CPPFLAGS'
17090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17095 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17096 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
17097 $as_echo_n "(cached) " >&6
17099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17106 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17114 if ac_fn_c_try_compile "$LINENO"; then :
17115 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17117 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17125 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17126 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17132 ac_cpp='$CPP $CPPFLAGS'
17133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17141 if test "x$GCC" != "xyes"; then
17142 if test "xCC" = "xC"; then
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17144 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17145 if test "${bakefile_cv_c_exto+set}" = set; then :
17146 $as_echo_n "(cached) " >&6
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17159 rm -f conftest.$ac_objext conftest.$ac_ext.o
17160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17161 (eval $ac_compile) 2>&5
17163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17164 test $ac_status = 0; }; then :
17165 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17167 conftest.$ac_ext.o)
17168 bakefile_cv_c_exto="-ext o"
17175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17177 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17178 See \`config.log' for more details" "$LINENO" 5; }
17181 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17185 $as_echo "$bakefile_cv_c_exto" >&6; }
17186 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17187 if test "c" = "c"; then
17188 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17190 if test "c" = "cxx"; then
17191 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17195 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17196 unset ac_cv_prog_cc_g
17197 ac_test_CFLAGS=${CFLAGS+set}
17198 ac_save_CFLAGS=$CFLAGS
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17200 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17201 if test "${ac_cv_prog_cc_g+set}" = set; then :
17202 $as_echo_n "(cached) " >&6
17204 ac_save_c_werror_flag=$ac_c_werror_flag
17205 ac_c_werror_flag=yes
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17219 if ac_fn_c_try_compile "$LINENO"; then :
17220 ac_cv_prog_cc_g=yes
17223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17224 /* end confdefs.h. */
17234 if ac_fn_c_try_compile "$LINENO"; then :
17237 ac_c_werror_flag=$ac_save_c_werror_flag
17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17250 if ac_fn_c_try_compile "$LINENO"; then :
17251 ac_cv_prog_cc_g=yes
17253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17258 ac_c_werror_flag=$ac_save_c_werror_flag
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17261 $as_echo "$ac_cv_prog_cc_g" >&6; }
17262 if test "$ac_test_CFLAGS" = set; then
17263 CFLAGS=$ac_save_CFLAGS
17264 elif test $ac_cv_prog_cc_g = yes; then
17265 if test "$GCC" = yes; then
17271 if test "$GCC" = yes; then
17285 ac_cpp='$CPP $CPPFLAGS'
17286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17291 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17292 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17293 $as_echo_n "(cached) " >&6
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17310 if ac_fn_c_try_compile "$LINENO"; then :
17311 bakefile_cv_c_compiler___xlC__=yes
17313 bakefile_cv_c_compiler___xlC__=no
17316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17321 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17322 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17328 ac_cpp='$CPP $CPPFLAGS'
17329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17341 ac_cpp='$CPP $CPPFLAGS'
17342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17347 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17348 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then :
17349 $as_echo_n "(cached) " >&6
17351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17366 if ac_fn_c_try_compile "$LINENO"; then :
17367 bakefile_cv_c_compiler___MWERKS__=yes
17369 bakefile_cv_c_compiler___MWERKS__=no
17372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17377 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17378 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17384 ac_cpp='$CPP $CPPFLAGS'
17385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17391 if test "$MWCC" != "yes"; then
17395 ac_cpp='$CPP $CPPFLAGS'
17396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17401 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17402 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17403 $as_echo_n "(cached) " >&6
17405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h. */
17420 if ac_fn_c_try_compile "$LINENO"; then :
17421 bakefile_cv_c_compiler___xlC__=yes
17423 bakefile_cv_c_compiler___xlC__=no
17426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17431 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17432 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17438 ac_cpp='$CPP $CPPFLAGS'
17439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17452 ac_cpp='$CPP $CPPFLAGS'
17453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17458 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17459 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then :
17460 $as_echo_n "(cached) " >&6
17462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17463 /* end confdefs.h. */
17469 #ifndef _SGI_COMPILER_VERSION
17477 if ac_fn_c_try_compile "$LINENO"; then :
17478 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17480 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17488 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17489 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17495 ac_cpp='$CPP $CPPFLAGS'
17496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17505 if test "$INTELCC" != "yes"; then
17509 ac_cpp='$CPP $CPPFLAGS'
17510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17515 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17516 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17517 $as_echo_n "(cached) " >&6
17519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17520 /* end confdefs.h. */
17534 if ac_fn_c_try_compile "$LINENO"; then :
17535 bakefile_cv_c_compiler___SUNPRO_C=yes
17537 bakefile_cv_c_compiler___SUNPRO_C=no
17540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17545 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17546 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17552 ac_cpp='$CPP $CPPFLAGS'
17553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17566 ac_cpp='$CPP $CPPFLAGS'
17567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17572 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17573 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then :
17574 $as_echo_n "(cached) " >&6
17576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17577 /* end confdefs.h. */
17591 if ac_fn_c_try_compile "$LINENO"; then :
17592 bakefile_cv_c_compiler___HP_cc=yes
17594 bakefile_cv_c_compiler___HP_cc=no
17597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17602 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17603 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17609 ac_cpp='$CPP $CPPFLAGS'
17610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17622 ac_cpp='$CPP $CPPFLAGS'
17623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17628 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17629 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then :
17630 $as_echo_n "(cached) " >&6
17632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17647 if ac_fn_c_try_compile "$LINENO"; then :
17648 bakefile_cv_c_compiler___DECC=yes
17650 bakefile_cv_c_compiler___DECC=no
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17658 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17659 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17665 ac_cpp='$CPP $CPPFLAGS'
17666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17678 ac_cpp='$CPP $CPPFLAGS'
17679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17684 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17685 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17686 $as_echo_n "(cached) " >&6
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17703 if ac_fn_c_try_compile "$LINENO"; then :
17704 bakefile_cv_c_compiler___SUNPRO_C=yes
17706 bakefile_cv_c_compiler___SUNPRO_C=no
17709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17714 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17715 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17721 ac_cpp='$CPP $CPPFLAGS'
17722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17735 ac_cpp='$CPP $CPPFLAGS'
17736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17740 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17741 # On Suns, sometimes $CPP names a directory.
17742 if test -n "$CPP" && test -d "$CPP"; then
17745 if test -z "$CPP"; then
17746 if test "${ac_cv_prog_CPP+set}" = set; then :
17747 $as_echo_n "(cached) " >&6
17749 # Double quotes because CPP needs to be expanded
17750 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17752 ac_preproc_ok=false
17753 for ac_c_preproc_warn_flag in '' yes
17755 # Use a header file that comes with gcc, so configuring glibc
17756 # with a fresh cross-compiler works.
17757 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17758 # <limits.h> exists even on freestanding compilers.
17759 # On the NeXT, cc -E runs the code through the compiler's parser,
17760 # not just through cpp. "Syntax error" is here to catch this case.
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17764 # include <limits.h>
17766 # include <assert.h>
17770 if ac_fn_c_try_cpp "$LINENO"; then :
17773 # Broken: fails on valid input.
17776 rm -f conftest.err conftest.i conftest.$ac_ext
17778 # OK, works on sane cases. Now check whether nonexistent headers
17779 # can be detected and how.
17780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h. */
17782 #include <ac_nonexistent.h>
17784 if ac_fn_c_try_cpp "$LINENO"; then :
17785 # Broken: success on invalid input.
17788 # Passes both tests.
17792 rm -f conftest.err conftest.i conftest.$ac_ext
17795 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17796 rm -f conftest.i conftest.err conftest.$ac_ext
17797 if $ac_preproc_ok; then :
17802 ac_cv_prog_CPP=$CPP
17805 CPP=$ac_cv_prog_CPP
17807 ac_cv_prog_CPP=$CPP
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17810 $as_echo "$CPP" >&6; }
17811 ac_preproc_ok=false
17812 for ac_c_preproc_warn_flag in '' yes
17814 # Use a header file that comes with gcc, so configuring glibc
17815 # with a fresh cross-compiler works.
17816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17817 # <limits.h> exists even on freestanding compilers.
17818 # On the NeXT, cc -E runs the code through the compiler's parser,
17819 # not just through cpp. "Syntax error" is here to catch this case.
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17823 # include <limits.h>
17825 # include <assert.h>
17829 if ac_fn_c_try_cpp "$LINENO"; then :
17832 # Broken: fails on valid input.
17835 rm -f conftest.err conftest.i conftest.$ac_ext
17837 # OK, works on sane cases. Now check whether nonexistent headers
17838 # can be detected and how.
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 #include <ac_nonexistent.h>
17843 if ac_fn_c_try_cpp "$LINENO"; then :
17844 # Broken: success on invalid input.
17847 # Passes both tests.
17851 rm -f conftest.err conftest.i conftest.$ac_ext
17854 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17855 rm -f conftest.i conftest.err conftest.$ac_ext
17856 if $ac_preproc_ok; then :
17859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17861 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17862 See \`config.log' for more details" "$LINENO" 5; }
17866 ac_cpp='$CPP $CPPFLAGS'
17867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17873 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17874 if test "${ac_cv_path_GREP+set}" = set; then :
17875 $as_echo_n "(cached) " >&6
17877 if test -z "$GREP"; then
17878 ac_path_GREP_found=false
17879 # Loop through the user's path and test for each of PROGNAME-LIST
17880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17881 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17884 test -z "$as_dir" && as_dir=.
17885 for ac_prog in grep ggrep; do
17886 for ac_exec_ext in '' $ac_executable_extensions; do
17887 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17888 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17889 # Check for GNU ac_path_GREP and select it if it is found.
17890 # Check for GNU $ac_path_GREP
17891 case `"$ac_path_GREP" --version 2>&1` in
17893 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17896 $as_echo_n 0123456789 >"conftest.in"
17899 cat "conftest.in" "conftest.in" >"conftest.tmp"
17900 mv "conftest.tmp" "conftest.in"
17901 cp "conftest.in" "conftest.nl"
17902 $as_echo 'GREP' >> "conftest.nl"
17903 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17904 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17905 as_fn_arith $ac_count + 1 && ac_count=$as_val
17906 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17907 # Best one so far, save it but keep looking for a better one
17908 ac_cv_path_GREP="$ac_path_GREP"
17909 ac_path_GREP_max=$ac_count
17911 # 10*(2^10) chars as input seems more than enough
17912 test $ac_count -gt 10 && break
17914 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17917 $ac_path_GREP_found && break 3
17922 if test -z "$ac_cv_path_GREP"; then
17923 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17926 ac_cv_path_GREP=$GREP
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17931 $as_echo "$ac_cv_path_GREP" >&6; }
17932 GREP="$ac_cv_path_GREP"
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17936 $as_echo_n "checking for egrep... " >&6; }
17937 if test "${ac_cv_path_EGREP+set}" = set; then :
17938 $as_echo_n "(cached) " >&6
17940 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17941 then ac_cv_path_EGREP="$GREP -E"
17943 if test -z "$EGREP"; then
17944 ac_path_EGREP_found=false
17945 # Loop through the user's path and test for each of PROGNAME-LIST
17946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17947 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17950 test -z "$as_dir" && as_dir=.
17951 for ac_prog in egrep; do
17952 for ac_exec_ext in '' $ac_executable_extensions; do
17953 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17954 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17955 # Check for GNU ac_path_EGREP and select it if it is found.
17956 # Check for GNU $ac_path_EGREP
17957 case `"$ac_path_EGREP" --version 2>&1` in
17959 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17962 $as_echo_n 0123456789 >"conftest.in"
17965 cat "conftest.in" "conftest.in" >"conftest.tmp"
17966 mv "conftest.tmp" "conftest.in"
17967 cp "conftest.in" "conftest.nl"
17968 $as_echo 'EGREP' >> "conftest.nl"
17969 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17970 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17971 as_fn_arith $ac_count + 1 && ac_count=$as_val
17972 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17973 # Best one so far, save it but keep looking for a better one
17974 ac_cv_path_EGREP="$ac_path_EGREP"
17975 ac_path_EGREP_max=$ac_count
17977 # 10*(2^10) chars as input seems more than enough
17978 test $ac_count -gt 10 && break
17980 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17983 $ac_path_EGREP_found && break 3
17988 if test -z "$ac_cv_path_EGREP"; then
17989 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17992 ac_cv_path_EGREP=$EGREP
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
17998 $as_echo "$ac_cv_path_EGREP" >&6; }
17999 EGREP="$ac_cv_path_EGREP"
18002 if test $ac_cv_c_compiler_gnu = yes; then
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18004 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18005 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
18006 $as_echo_n "(cached) " >&6
18008 ac_pattern="Autoconf.*'x'"
18009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18010 /* end confdefs.h. */
18014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18015 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18016 ac_cv_prog_gcc_traditional=yes
18018 ac_cv_prog_gcc_traditional=no
18023 if test $ac_cv_prog_gcc_traditional = no; then
18024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18025 /* end confdefs.h. */
18026 #include <termio.h>
18029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18030 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18031 ac_cv_prog_gcc_traditional=yes
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18038 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18039 if test $ac_cv_prog_gcc_traditional = yes; then
18040 CC="$CC -traditional"
18045 CXXFLAGS=${CXXFLAGS:=}
18047 ac_cpp='$CXXCPP $CPPFLAGS'
18048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18051 if test -z "$CXX"; then
18052 if test -n "$CCC"; then
18055 if test -n "$ac_tool_prefix"; then
18056 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18058 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18059 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18061 $as_echo_n "checking for $ac_word... " >&6; }
18062 if test "${ac_cv_prog_CXX+set}" = set; then :
18063 $as_echo_n "(cached) " >&6
18065 if test -n "$CXX"; then
18066 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18069 for as_dir in $PATH
18072 test -z "$as_dir" && as_dir=.
18073 for ac_exec_ext in '' $ac_executable_extensions; do
18074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18075 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18085 CXX=$ac_cv_prog_CXX
18086 if test -n "$CXX"; then
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18088 $as_echo "$CXX" >&6; }
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18091 $as_echo "no" >&6; }
18095 test -n "$CXX" && break
18098 if test -z "$CXX"; then
18100 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18102 # Extract the first word of "$ac_prog", so it can be a program name with args.
18103 set dummy $ac_prog; ac_word=$2
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18105 $as_echo_n "checking for $ac_word... " >&6; }
18106 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
18107 $as_echo_n "(cached) " >&6
18109 if test -n "$ac_ct_CXX"; then
18110 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18113 for as_dir in $PATH
18116 test -z "$as_dir" && as_dir=.
18117 for ac_exec_ext in '' $ac_executable_extensions; do
18118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18119 ac_cv_prog_ac_ct_CXX="$ac_prog"
18120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18129 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18130 if test -n "$ac_ct_CXX"; then
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18132 $as_echo "$ac_ct_CXX" >&6; }
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18135 $as_echo "no" >&6; }
18139 test -n "$ac_ct_CXX" && break
18142 if test "x$ac_ct_CXX" = x; then
18145 case $cross_compiling:$ac_tool_warned in
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18149 ac_tool_warned=yes ;;
18157 # Provide some information about the compiler.
18158 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18161 for ac_option in --version -v -V -qversion; do
18162 { { ac_try="$ac_compiler $ac_option >&5"
18163 case "(($ac_try" in
18164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18165 *) ac_try_echo=$ac_try;;
18167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18168 $as_echo "$ac_try_echo"; } >&5
18169 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18171 if test -s conftest.err; then
18173 ... rest of stderr output deleted ...
18174 10q' conftest.err >conftest.er1
18175 cat conftest.er1 >&5
18177 rm -f conftest.er1 conftest.err
18178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18179 test $ac_status = 0; }
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18183 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18184 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
18185 $as_echo_n "(cached) " >&6
18187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h. */
18201 if ac_fn_cxx_try_compile "$LINENO"; then :
18202 ac_compiler_gnu=yes
18206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18207 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18211 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18212 if test $ac_compiler_gnu = yes; then
18217 ac_test_CXXFLAGS=${CXXFLAGS+set}
18218 ac_save_CXXFLAGS=$CXXFLAGS
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18220 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18221 if test "${ac_cv_prog_cxx_g+set}" = set; then :
18222 $as_echo_n "(cached) " >&6
18224 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18225 ac_cxx_werror_flag=yes
18226 ac_cv_prog_cxx_g=no
18228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h. */
18239 if ac_fn_cxx_try_compile "$LINENO"; then :
18240 ac_cv_prog_cxx_g=yes
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18254 if ac_fn_cxx_try_compile "$LINENO"; then :
18257 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18260 /* end confdefs.h. */
18270 if ac_fn_cxx_try_compile "$LINENO"; then :
18271 ac_cv_prog_cxx_g=yes
18273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18278 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18281 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18282 if test "$ac_test_CXXFLAGS" = set; then
18283 CXXFLAGS=$ac_save_CXXFLAGS
18284 elif test $ac_cv_prog_cxx_g = yes; then
18285 if test "$GXX" = yes; then
18291 if test "$GXX" = yes; then
18298 ac_cpp='$CPP $CPPFLAGS'
18299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18311 ac_cpp='$CXXCPP $CPPFLAGS'
18312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18317 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18318 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then :
18319 $as_echo_n "(cached) " >&6
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18328 #ifndef __INTEL_COMPILER
18336 if ac_fn_cxx_try_compile "$LINENO"; then :
18337 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18339 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18347 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18348 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18354 ac_cpp='$CPP $CPPFLAGS'
18355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18362 if test "$INTELCXX" = "yes"; then
18366 ac_cpp='$CXXCPP $CPPFLAGS'
18367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18372 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18373 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
18374 $as_echo_n "(cached) " >&6
18376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18377 /* end confdefs.h. */
18383 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18391 if ac_fn_cxx_try_compile "$LINENO"; then :
18392 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18394 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18402 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18403 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18409 ac_cpp='$CPP $CPPFLAGS'
18410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18419 ac_cpp='$CXXCPP $CPPFLAGS'
18420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18425 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18426 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
18427 $as_echo_n "(cached) " >&6
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18436 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18444 if ac_fn_cxx_try_compile "$LINENO"; then :
18445 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18447 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18455 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18456 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18462 ac_cpp='$CPP $CPPFLAGS'
18463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18471 if test "x$GCXX" != "xyes"; then
18472 if test "xCXX" = "xC"; then
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18474 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18475 if test "${bakefile_cv_c_exto+set}" = set; then :
18476 $as_echo_n "(cached) " >&6
18478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18479 /* end confdefs.h. */
18489 rm -f conftest.$ac_objext conftest.$ac_ext.o
18490 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18491 (eval $ac_compile) 2>&5
18493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18494 test $ac_status = 0; }; then :
18495 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18497 conftest.$ac_ext.o)
18498 bakefile_cv_c_exto="-ext o"
18505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18507 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18508 See \`config.log' for more details" "$LINENO" 5; }
18511 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18515 $as_echo "$bakefile_cv_c_exto" >&6; }
18516 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18517 if test "c" = "c"; then
18518 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18520 if test "c" = "cxx"; then
18521 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18525 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18526 unset ac_cv_prog_cc_g
18527 ac_test_CFLAGS=${CFLAGS+set}
18528 ac_save_CFLAGS=$CFLAGS
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18530 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18531 if test "${ac_cv_prog_cc_g+set}" = set; then :
18532 $as_echo_n "(cached) " >&6
18534 ac_save_c_werror_flag=$ac_c_werror_flag
18535 ac_c_werror_flag=yes
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18549 if ac_fn_c_try_compile "$LINENO"; then :
18550 ac_cv_prog_cc_g=yes
18553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18554 /* end confdefs.h. */
18564 if ac_fn_c_try_compile "$LINENO"; then :
18567 ac_c_werror_flag=$ac_save_c_werror_flag
18569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18570 /* end confdefs.h. */
18580 if ac_fn_c_try_compile "$LINENO"; then :
18581 ac_cv_prog_cc_g=yes
18583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18588 ac_c_werror_flag=$ac_save_c_werror_flag
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18591 $as_echo "$ac_cv_prog_cc_g" >&6; }
18592 if test "$ac_test_CFLAGS" = set; then
18593 CFLAGS=$ac_save_CFLAGS
18594 elif test $ac_cv_prog_cc_g = yes; then
18595 if test "$GCC" = yes; then
18601 if test "$GCC" = yes; then
18615 ac_cpp='$CXXCPP $CPPFLAGS'
18616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18621 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18622 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18623 $as_echo_n "(cached) " >&6
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18640 if ac_fn_cxx_try_compile "$LINENO"; then :
18641 bakefile_cv_cxx_compiler___xlC__=yes
18643 bakefile_cv_cxx_compiler___xlC__=no
18646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18651 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18652 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18658 ac_cpp='$CPP $CPPFLAGS'
18659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18671 ac_cpp='$CXXCPP $CPPFLAGS'
18672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18677 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18678 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then :
18679 $as_echo_n "(cached) " >&6
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18696 if ac_fn_cxx_try_compile "$LINENO"; then :
18697 bakefile_cv_cxx_compiler___MWERKS__=yes
18699 bakefile_cv_cxx_compiler___MWERKS__=no
18702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18707 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18708 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18714 ac_cpp='$CPP $CPPFLAGS'
18715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18721 if test "$MWCXX" != "yes"; then
18725 ac_cpp='$CXXCPP $CPPFLAGS'
18726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18731 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18732 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18733 $as_echo_n "(cached) " >&6
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18750 if ac_fn_cxx_try_compile "$LINENO"; then :
18751 bakefile_cv_cxx_compiler___xlC__=yes
18753 bakefile_cv_cxx_compiler___xlC__=no
18756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18761 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18762 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18768 ac_cpp='$CPP $CPPFLAGS'
18769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18782 ac_cpp='$CXXCPP $CPPFLAGS'
18783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18788 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18789 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then :
18790 $as_echo_n "(cached) " >&6
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18799 #ifndef _SGI_COMPILER_VERSION
18807 if ac_fn_cxx_try_compile "$LINENO"; then :
18808 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18810 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18818 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18819 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18825 ac_cpp='$CPP $CPPFLAGS'
18826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18835 if test "$INTELCXX" != "yes"; then
18839 ac_cpp='$CXXCPP $CPPFLAGS'
18840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18845 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18846 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
18847 $as_echo_n "(cached) " >&6
18849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18850 /* end confdefs.h. */
18856 #ifndef __SUNPRO_CC
18864 if ac_fn_cxx_try_compile "$LINENO"; then :
18865 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18867 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18875 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18876 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18882 ac_cpp='$CPP $CPPFLAGS'
18883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18896 ac_cpp='$CXXCPP $CPPFLAGS'
18897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18902 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18903 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then :
18904 $as_echo_n "(cached) " >&6
18906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18907 /* end confdefs.h. */
18921 if ac_fn_cxx_try_compile "$LINENO"; then :
18922 bakefile_cv_cxx_compiler___HP_aCC=yes
18924 bakefile_cv_cxx_compiler___HP_aCC=no
18927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18932 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18933 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18939 ac_cpp='$CPP $CPPFLAGS'
18940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18952 ac_cpp='$CXXCPP $CPPFLAGS'
18953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
18958 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
18959 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then :
18960 $as_echo_n "(cached) " >&6
18962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18963 /* end confdefs.h. */
18977 if ac_fn_cxx_try_compile "$LINENO"; then :
18978 bakefile_cv_cxx_compiler___DECCXX=yes
18980 bakefile_cv_cxx_compiler___DECCXX=no
18983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18988 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18989 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18995 ac_cpp='$CPP $CPPFLAGS'
18996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19008 ac_cpp='$CXXCPP $CPPFLAGS'
19009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19014 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19015 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
19016 $as_echo_n "(cached) " >&6
19018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19019 /* end confdefs.h. */
19025 #ifndef __SUNPRO_CC
19033 if ac_fn_cxx_try_compile "$LINENO"; then :
19034 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19036 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19044 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19045 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19051 ac_cpp='$CPP $CPPFLAGS'
19052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19064 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19065 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19068 if test "x$SUNCXX" != xyes; then
19069 if test -n "$ac_tool_prefix"; then
19070 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19071 set dummy ${ac_tool_prefix}ar; ac_word=$2
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19073 $as_echo_n "checking for $ac_word... " >&6; }
19074 if test "${ac_cv_prog_AR+set}" = set; then :
19075 $as_echo_n "(cached) " >&6
19077 if test -n "$AR"; then
19078 ac_cv_prog_AR="$AR" # Let the user override the test.
19080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19081 for as_dir in $PATH
19084 test -z "$as_dir" && as_dir=.
19085 for ac_exec_ext in '' $ac_executable_extensions; do
19086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19087 ac_cv_prog_AR="${ac_tool_prefix}ar"
19088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19098 if test -n "$AR"; then
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19100 $as_echo "$AR" >&6; }
19102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19103 $as_echo "no" >&6; }
19108 if test -z "$ac_cv_prog_AR"; then
19110 # Extract the first word of "ar", so it can be a program name with args.
19111 set dummy ar; ac_word=$2
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19113 $as_echo_n "checking for $ac_word... " >&6; }
19114 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
19115 $as_echo_n "(cached) " >&6
19117 if test -n "$ac_ct_AR"; then
19118 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19121 for as_dir in $PATH
19124 test -z "$as_dir" && as_dir=.
19125 for ac_exec_ext in '' $ac_executable_extensions; do
19126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19127 ac_cv_prog_ac_ct_AR="ar"
19128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19137 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19138 if test -n "$ac_ct_AR"; then
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19140 $as_echo "$ac_ct_AR" >&6; }
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19143 $as_echo "no" >&6; }
19146 if test "x$ac_ct_AR" = x; then
19149 case $cross_compiling:$ac_tool_warned in
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19153 ac_tool_warned=yes ;;
19158 AR="$ac_cv_prog_AR"
19161 if test "x$AR" = "x" ; then
19162 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19167 if test "$wxUSE_MAC" = 1; then
19169 retest_macosx_linking=no
19173 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19174 if test "x$wxUSE_MAC_ARCH" != xno; then
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19176 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19179 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19180 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19181 else OSX_ARCH_OPTS="ppc,i386"
19182 if test "$wxUSE_OSX_COCOA" = 1; then
19183 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19188 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19190 $as_echo "$OSX_ARCH_OPTS" >&6; }
19192 retest_macosx_linking=yes
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19195 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19198 if test "x$wxUSE_MAC_ARCH" != xno; then
19199 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19203 if test "x$OSX_ARCH_OPTS" != "x"; then
19204 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19206 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19207 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19208 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19209 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19210 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19213 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19215 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19216 # TODO: Search for most recent SDK and use it.
19217 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19221 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19223 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19224 if ! test -d "$wxUSE_MACOSX_SDK"; then
19225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19227 as_fn_error $? "not found
19228 See \`config.log' for more details" "$LINENO" 5; }
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19231 $as_echo "exists" >&6; }
19233 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19234 retest_macosx_linking=yes
19237 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19238 wxUSE_MACOSX_VERSION_MIN=
19239 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19240 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19242 $as_echo_n "checking SDK deployment version... " >&6; }
19244 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/'`
19246 # If that failed, try again with the new key
19247 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19249 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/'`
19253 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19254 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19256 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19259 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19260 wxUSE_MACOSX_VERSION_MIN=
19263 wxUSE_MACOSX_VERSION_MIN=
19265 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19266 for ac_prog in sw_vers
19268 # Extract the first word of "$ac_prog", so it can be a program name with args.
19269 set dummy $ac_prog; ac_word=$2
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19271 $as_echo_n "checking for $ac_word... " >&6; }
19272 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then :
19273 $as_echo_n "(cached) " >&6
19275 if test -n "$OSX_SW_VERS"; then
19276 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19279 for as_dir in $PATH
19282 test -z "$as_dir" && as_dir=.
19283 for ac_exec_ext in '' $ac_executable_extensions; do
19284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19285 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19295 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19296 if test -n "$OSX_SW_VERS"; then
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_SW_VERS" >&5
19298 $as_echo "$OSX_SW_VERS" >&6; }
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19301 $as_echo "no" >&6; }
19305 test -n "$OSX_SW_VERS" && break
19308 if test "$OSX_SW_VERS" != ""; then
19309 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19312 $as_echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19316 case "$OSX_VERSION" in
19318 wxUSE_MACOSX_VERSION_MIN=10.4
19322 if test "$wxUSE_OSX_CARBON" = 1; then
19323 # otherwise configure stops on leopard for universal_binary
19324 wxUSE_MACOSX_VERSION_MIN=10.4
19326 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19327 wxUSE_MACOSX_VERSION_MIN=10.5
19334 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19338 if test "$wxUSE_OSX_CARBON" = 1; then
19342 if test "x$NEEDS_GCC40" == "xyes"; then
19343 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19344 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19345 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19346 if test "x$CC" = "xgcc"; then
19347 CCVERSION=`$CC --version | grep 4.[2-9].`
19348 if test "x$CCVERSION" != "x"; then
19349 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19354 if test "x$CXX" = "xg++"; then
19355 CCVERSION=`$CXX --version | grep 4.[2-9].`
19356 if test "x$CCVERSION" != "x"; then
19362 if test "x$MACOSX_SDK_OPTS" != "x"; then
19363 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19364 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19365 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19368 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19369 if test "$wxUSE_OSX_IPHONE" = 1; then
19370 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19372 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19374 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19375 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19376 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19377 retest_macosx_linking=yes
19380 if test "x$retest_macosx_linking" = "xyes"; then
19382 ac_cpp='$CPP $CPPFLAGS'
19383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler works with SDK/version options" >&5
19388 $as_echo_n "checking if C compiler works with SDK/version options... " >&6; }
19389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19390 /* end confdefs.h. */
19400 if ac_fn_c_try_link "$LINENO"; then :
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19402 $as_echo "yes" >&6; }
19404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19406 as_fn_error $? "no. Try a different SDK
19407 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19409 rm -f core conftest.err conftest.$ac_objext \
19410 conftest$ac_exeext conftest.$ac_ext
19412 ac_cpp='$CPP $CPPFLAGS'
19413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19419 ac_cpp='$CXXCPP $CPPFLAGS'
19420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler works with SDK/version options" >&5
19425 $as_echo_n "checking if C++ compiler works with SDK/version options... " >&6; }
19426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19437 if ac_fn_cxx_try_link "$LINENO"; then :
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19439 $as_echo "yes" >&6; }
19441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19443 as_fn_error $? "no. Try a different SDK
19444 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19446 rm -f core conftest.err conftest.$ac_objext \
19447 conftest$ac_exeext conftest.$ac_ext
19449 ac_cpp='$CPP $CPPFLAGS'
19450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19460 INSTALL_PROGRAM="cp -fp"
19461 INSTALL_DATA="cp -fp"
19468 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19469 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19472 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19473 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19476 if test "x$USE_AIX" = "x1"; then
19477 if test "x$XLCXX" = "xyes"; then
19478 CXXFLAGS="-qunique $CXXFLAGS"
19481 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19485 powerpc-*-darwin* )
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19487 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19489 /* end confdefs.h. */
19494 #ifndef __POWERPC__
19495 choke me for lack of PowerPC
19502 if ac_fn_c_try_compile "$LINENO"; then :
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19504 $as_echo "yes" >&6; }
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19507 $as_echo "no" >&6; }
19508 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19519 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19521 /* end confdefs.h. */
19522 #include <CoreFoundation/CFBase.h>
19532 if ac_fn_c_try_compile "$LINENO"; then :
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19534 $as_echo "yes" >&6; }
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19537 $as_echo "no" >&6; }
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19539 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 #define __CF_USE_FRAMEWORK_INCLUDES__
19543 #include <CoreFoundation/CFBase.h>
19553 if ac_fn_c_try_compile "$LINENO"; then :
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19555 $as_echo "yes" >&6; }
19556 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19560 as_fn_error $? "no. CoreFoundation not available.
19561 See \`config.log' for more details" "$LINENO" 5; }
19564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19573 doesnt_want_win32=0
19576 if test "$wxUSE_MSW" = 1 ; then
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19580 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19581 if test "${wx_cv_nocygwin+set}" = set; then :
19582 $as_echo_n "(cached) " >&6
19585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19586 /* end confdefs.h. */
19600 if ac_fn_c_try_compile "$LINENO"; then :
19606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19611 $as_echo "$wx_cv_nocygwin" >&6; }
19613 if test "$wx_cv_nocygwin" = "yes"; then
19616 doesnt_want_win32=1
19619 if test "$wants_win32" = 1 ; then
19620 BAKEFILE_FORCE_PLATFORM=win32
19628 if test "$wxUSE_WINE" = "yes"; then
19630 LDFLAGS_GUI="-mwindows"
19633 if test "$wants_win32" = 1 ; then
19636 $as_echo "#define __WIN32__ 1" >>confdefs.h
19638 $as_echo "#define __WIN95__ 1" >>confdefs.h
19640 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19642 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19644 $as_echo "#define STRICT 1" >>confdefs.h
19647 if test "$doesnt_want_win32" = 1 ; then
19652 if test "$USE_UNIX" = 1 ; then
19654 $as_echo "#define __UNIX__ 1" >>confdefs.h
19659 *-pc-os2_emx | *-pc-os2-emx )
19660 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19662 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19663 if test "${ac_cv_lib_cExt_drand48+set}" = set; then :
19664 $as_echo_n "(cached) " >&6
19666 ac_check_lib_save_LIBS=$LIBS
19667 LIBS="-lcExt $LIBS"
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19671 /* Override any GCC internal prototype to avoid an error.
19672 Use char because int might match the return type of a GCC
19673 builtin and then its argument prototype would still apply. */
19686 if ac_fn_c_try_link "$LINENO"; then :
19687 ac_cv_lib_cExt_drand48=yes
19689 ac_cv_lib_cExt_drand48=no
19691 rm -f core conftest.err conftest.$ac_objext \
19692 conftest$ac_exeext conftest.$ac_ext
19693 LIBS=$ac_check_lib_save_LIBS
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19696 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19697 if test "x$ac_cv_lib_cExt_drand48" = x""yes; then :
19698 LIBS="$LIBS -lcExt"
19702 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19705 $as_echo_n "checking for gcc/libc version... " >&6; }
19706 if test "${wx_cv_gccversion+set}" = set; then :
19707 $as_echo_n "(cached) " >&6
19710 if test "$cross_compiling" = yes; then :
19711 wx_cv_gccversion="EMX2"
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19721 FILE *f=fopen("conftestval", "w");
19726 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19728 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19738 if ac_fn_c_try_run "$LINENO"; then :
19739 wx_cv_gccversion=`cat conftestval`
19741 wx_cv_gccversion="EMX2"
19743 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19744 conftest.$ac_objext conftest.beam conftest.$ac_ext
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19750 $as_echo "$wx_cv_gccversion" >&6; }
19751 if test "$wx_cv_gccversion" = "EMX2"; then
19752 LIBS="$LIBS -lstdcpp"
19753 LDFLAGS="$LDFLAGS -Zsysv-signals"
19755 if test "$wx_cv_gccversion" = "EMX3"; then
19756 LIBS="$LIBS -lstdcxx -lgcc"
19757 LDFLAGS="$LDFLAGS -Zsysv-signals"
19759 LIBS="$LIBS -lstdc++"
19762 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19764 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19772 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19773 if test "${ac_cv_string_strcasecmp+set}" = set; then :
19774 $as_echo_n "(cached) " >&6
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19780 #include <string.h>
19786 strcasecmp("foo", "bar");
19792 if ac_fn_c_try_link "$LINENO"; then :
19793 ac_cv_string_strcasecmp=yes
19795 ac_cv_string_strcasecmp=no
19798 rm -f core conftest.err conftest.$ac_objext \
19799 conftest$ac_exeext conftest.$ac_ext
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19803 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19805 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19806 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19810 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19811 if test "${ac_cv_strings_strcasecmp+set}" = set; then :
19812 $as_echo_n "(cached) " >&6
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h. */
19818 #include <strings.h>
19824 strcasecmp("foo", "bar");
19830 if ac_fn_c_try_link "$LINENO"; then :
19831 ac_cv_strings_strcasecmp=yes
19833 ac_cv_strings_strcasecmp=no
19836 rm -f core conftest.err conftest.$ac_objext \
19837 conftest$ac_exeext conftest.$ac_ext
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19841 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19843 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19844 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19847 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19856 $as_echo_n "checking for ANSI C header files... " >&6; }
19857 if test "${ac_cv_header_stdc+set}" = set; then :
19858 $as_echo_n "(cached) " >&6
19860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19861 /* end confdefs.h. */
19862 #include <stdlib.h>
19863 #include <stdarg.h>
19864 #include <string.h>
19875 if ac_fn_c_try_compile "$LINENO"; then :
19876 ac_cv_header_stdc=yes
19878 ac_cv_header_stdc=no
19880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19882 if test $ac_cv_header_stdc = yes; then
19883 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19885 /* end confdefs.h. */
19886 #include <string.h>
19889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19890 $EGREP "memchr" >/dev/null 2>&1; then :
19893 ac_cv_header_stdc=no
19899 if test $ac_cv_header_stdc = yes; then
19900 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19903 #include <stdlib.h>
19906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19907 $EGREP "free" >/dev/null 2>&1; then :
19910 ac_cv_header_stdc=no
19916 if test $ac_cv_header_stdc = yes; then
19917 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19918 if test "$cross_compiling" = yes; then :
19921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19922 /* end confdefs.h. */
19924 #include <stdlib.h>
19925 #if ((' ' & 0x0FF) == 0x020)
19926 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19927 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19929 # define ISLOWER(c) \
19930 (('a' <= (c) && (c) <= 'i') \
19931 || ('j' <= (c) && (c) <= 'r') \
19932 || ('s' <= (c) && (c) <= 'z'))
19933 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19936 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19941 for (i = 0; i < 256; i++)
19942 if (XOR (islower (i), ISLOWER (i))
19943 || toupper (i) != TOUPPER (i))
19948 if ac_fn_c_try_run "$LINENO"; then :
19951 ac_cv_header_stdc=no
19953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19954 conftest.$ac_objext conftest.beam conftest.$ac_ext
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19960 $as_echo "$ac_cv_header_stdc" >&6; }
19961 if test $ac_cv_header_stdc = yes; then
19963 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19967 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19968 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19969 inttypes.h stdint.h unistd.h
19971 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19972 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19974 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19975 cat >>confdefs.h <<_ACEOF
19976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19984 for ac_header in langinfo.h wchar.h
19986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19987 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19989 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19990 cat >>confdefs.h <<_ACEOF
19991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19999 if test "$ac_cv_header_wchar_h" != "yes"; then
20000 for ac_header in wcstr.h
20002 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20004 if test "x$ac_cv_header_wcstr_h" = x""yes; then :
20005 cat >>confdefs.h <<_ACEOF
20006 #define HAVE_WCSTR_H 1
20016 *-pc-os2_emx | *-pc-os2-emx )
20017 if test $ac_cv_header_langinfo_h = "yes" \
20018 -a \( "$wx_cv_gccversion" = "EMX2" \
20019 -o "$wx_cv_gccversion" = "EMX3" \
20020 -o "$wx_cv_gccversion" = "Innotek5" \); then
20021 LIBS="$LIBS -lintl"
20026 if test "$USE_UNIX" = 1 ; then
20027 for ac_header in sys/select.h
20029 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20031 if test "x$ac_cv_header_sys_select_h" = x""yes; then :
20032 cat >>confdefs.h <<_ACEOF
20033 #define HAVE_SYS_SELECT_H 1
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20044 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20045 if test "${ac_cv_c_const+set}" = set; then :
20046 $as_echo_n "(cached) " >&6
20048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20049 /* end confdefs.h. */
20054 /* FIXME: Include the comments suggested by Paul. */
20055 #ifndef __cplusplus
20056 /* Ultrix mips cc rejects this. */
20057 typedef int charset[2];
20059 /* SunOS 4.1.1 cc rejects this. */
20060 char const *const *pcpcc;
20062 /* NEC SVR4.0.2 mips cc rejects this. */
20063 struct point {int x, y;};
20064 static struct point const zero = {0,0};
20065 /* AIX XL C 1.02.0.0 rejects this.
20066 It does not let you subtract one const X* pointer from another in
20067 an arm of an if-expression whose if-part is not a constant
20069 const char *g = "string";
20070 pcpcc = &g + (g ? g-g : 0);
20071 /* HPUX 7.0 cc rejects these. */
20073 ppc = (char**) pcpcc;
20074 pcpcc = (char const *const *) ppc;
20075 { /* SCO 3.2v4 cc rejects this. */
20077 char const *s = 0 ? (char *) 0 : (char const *) 0;
20082 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20083 int x[] = {25, 17};
20084 const int *foo = &x[0];
20087 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20088 typedef const int *iptr;
20092 { /* AIX XL C 1.02.0.0 rejects this saying
20093 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20094 struct s { int j; const int *ap[3]; };
20095 struct s *b; b->j = 5;
20097 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20098 const int foo = 10;
20099 if (!foo) return 0;
20101 return !cs[0] && !zero.x;
20108 if ac_fn_c_try_compile "$LINENO"; then :
20113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20116 $as_echo "$ac_cv_c_const" >&6; }
20117 if test $ac_cv_c_const = no; then
20119 $as_echo "#define const /**/" >>confdefs.h
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20124 $as_echo_n "checking for inline... " >&6; }
20125 if test "${ac_cv_c_inline+set}" = set; then :
20126 $as_echo_n "(cached) " >&6
20129 for ac_kw in inline __inline__ __inline; do
20130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20131 /* end confdefs.h. */
20132 #ifndef __cplusplus
20134 static $ac_kw foo_t static_foo () {return 0; }
20135 $ac_kw foo_t foo () {return 0; }
20139 if ac_fn_c_try_compile "$LINENO"; then :
20140 ac_cv_c_inline=$ac_kw
20142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20143 test "$ac_cv_c_inline" != no && break
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20148 $as_echo "$ac_cv_c_inline" >&6; }
20150 case $ac_cv_c_inline in
20153 case $ac_cv_c_inline in
20155 *) ac_val=$ac_cv_c_inline;;
20157 cat >>confdefs.h <<_ACEOF
20158 #ifndef __cplusplus
20159 #define inline $ac_val
20166 # The cast to long int works around a bug in the HP C Compiler
20167 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20168 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20169 # This bug is HP SR number 8606223364.
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20171 $as_echo_n "checking size of short... " >&6; }
20172 if test "${ac_cv_sizeof_short+set}" = set; then :
20173 $as_echo_n "(cached) " >&6
20175 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20178 if test "$ac_cv_type_short" = yes; then
20179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20181 as_fn_error 77 "cannot compute sizeof (short)
20182 See \`config.log' for more details" "$LINENO" 5; }
20184 ac_cv_sizeof_short=0
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20190 $as_echo "$ac_cv_sizeof_short" >&6; }
20194 cat >>confdefs.h <<_ACEOF
20195 #define SIZEOF_SHORT $ac_cv_sizeof_short
20199 # The cast to long int works around a bug in the HP C Compiler
20200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20202 # This bug is HP SR number 8606223364.
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20204 $as_echo_n "checking size of void *... " >&6; }
20205 if test "${ac_cv_sizeof_void_p+set}" = set; then :
20206 $as_echo_n "(cached) " >&6
20208 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20211 if test "$ac_cv_type_void_p" = yes; then
20212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20214 as_fn_error 77 "cannot compute sizeof (void *)
20215 See \`config.log' for more details" "$LINENO" 5; }
20217 ac_cv_sizeof_void_p=0
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20223 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20227 cat >>confdefs.h <<_ACEOF
20228 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20232 # The cast to long int works around a bug in the HP C Compiler
20233 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20234 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20235 # This bug is HP SR number 8606223364.
20236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20237 $as_echo_n "checking size of int... " >&6; }
20238 if test "${ac_cv_sizeof_int+set}" = set; then :
20239 $as_echo_n "(cached) " >&6
20241 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20244 if test "$ac_cv_type_int" = yes; then
20245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20247 as_fn_error 77 "cannot compute sizeof (int)
20248 See \`config.log' for more details" "$LINENO" 5; }
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20256 $as_echo "$ac_cv_sizeof_int" >&6; }
20260 cat >>confdefs.h <<_ACEOF
20261 #define SIZEOF_INT $ac_cv_sizeof_int
20265 # The cast to long int works around a bug in the HP C Compiler
20266 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20267 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20268 # This bug is HP SR number 8606223364.
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20270 $as_echo_n "checking size of long... " >&6; }
20271 if test "${ac_cv_sizeof_long+set}" = set; then :
20272 $as_echo_n "(cached) " >&6
20274 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20277 if test "$ac_cv_type_long" = yes; then
20278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20280 as_fn_error 77 "cannot compute sizeof (long)
20281 See \`config.log' for more details" "$LINENO" 5; }
20283 ac_cv_sizeof_long=0
20288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20289 $as_echo "$ac_cv_sizeof_long" >&6; }
20293 cat >>confdefs.h <<_ACEOF
20294 #define SIZEOF_LONG $ac_cv_sizeof_long
20298 # The cast to long int works around a bug in the HP C Compiler
20299 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20300 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20301 # This bug is HP SR number 8606223364.
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20303 $as_echo_n "checking size of size_t... " >&6; }
20304 if test "${ac_cv_sizeof_size_t+set}" = set; then :
20305 $as_echo_n "(cached) " >&6
20307 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20310 if test "$ac_cv_type_size_t" = yes; then
20311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20313 as_fn_error 77 "cannot compute sizeof (size_t)
20314 See \`config.log' for more details" "$LINENO" 5; }
20316 ac_cv_sizeof_size_t=0
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20322 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20326 cat >>confdefs.h <<_ACEOF
20327 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20334 # The cast to long int works around a bug in the HP C Compiler
20335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20337 # This bug is HP SR number 8606223364.
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20339 $as_echo_n "checking size of long long... " >&6; }
20340 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20341 $as_echo_n "(cached) " >&6
20343 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20346 if test "$ac_cv_type_long_long" = yes; then
20347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20349 as_fn_error 77 "cannot compute sizeof (long long)
20350 See \`config.log' for more details" "$LINENO" 5; }
20352 ac_cv_sizeof_long_long=0
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20358 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20362 cat >>confdefs.h <<_ACEOF
20363 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20369 # The cast to long int works around a bug in the HP C Compiler
20370 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20371 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20372 # This bug is HP SR number 8606223364.
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20374 $as_echo_n "checking size of long long... " >&6; }
20375 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20376 $as_echo_n "(cached) " >&6
20378 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20381 if test "$ac_cv_type_long_long" = yes; then
20382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20384 as_fn_error 77 "cannot compute sizeof (long long)
20385 See \`config.log' for more details" "$LINENO" 5; }
20387 ac_cv_sizeof_long_long=0
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20393 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20397 cat >>confdefs.h <<_ACEOF
20398 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20402 if test "$ac_cv_sizeof_long_long" != 0; then
20403 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20407 # The cast to long int works around a bug in the HP C Compiler
20408 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20409 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20410 # This bug is HP SR number 8606223364.
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20412 $as_echo_n "checking size of long long... " >&6; }
20413 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20414 $as_echo_n "(cached) " >&6
20416 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20419 if test "$ac_cv_type_long_long" = yes; then
20420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20422 as_fn_error 77 "cannot compute sizeof (long long)
20423 See \`config.log' for more details" "$LINENO" 5; }
20425 ac_cv_sizeof_long_long=0
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20431 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20435 cat >>confdefs.h <<_ACEOF
20436 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20442 # The cast to long int works around a bug in the HP C Compiler
20443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20445 # This bug is HP SR number 8606223364.
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20447 $as_echo_n "checking size of wchar_t... " >&6; }
20448 if test "${ac_cv_sizeof_wchar_t+set}" = set; then :
20449 $as_echo_n "(cached) " >&6
20451 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20452 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20453 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20454 # error \"fake wchar_t\"
20456 #ifdef HAVE_WCHAR_H
20458 # include <stddef.h>
20460 # include <wchar.h>
20462 #ifdef HAVE_STDLIB_H
20463 # include <stdlib.h>
20471 if test "$ac_cv_type_wchar_t" = yes; then
20472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20474 as_fn_error 77 "cannot compute sizeof (wchar_t)
20475 See \`config.log' for more details" "$LINENO" 5; }
20477 ac_cv_sizeof_wchar_t=0
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20483 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20487 cat >>confdefs.h <<_ACEOF
20488 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20492 if test "$ac_cv_sizeof_wchar_t" = 0; then
20493 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20495 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20499 $as_echo_n "checking for va_copy... " >&6; }
20500 if test "${wx_cv_func_va_copy+set}" = set; then :
20501 $as_echo_n "(cached) " >&6
20505 ac_cpp='$CXXCPP $CPPFLAGS'
20506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20511 /* end confdefs.h. */
20514 #include <stdarg.h>
20515 void foo(char *f, ...)
20530 if ac_fn_cxx_try_link "$LINENO"; then :
20531 wx_cv_func_va_copy=yes
20533 wx_cv_func_va_copy=no
20536 rm -f core conftest.err conftest.$ac_objext \
20537 conftest$ac_exeext conftest.$ac_ext
20539 ac_cpp='$CPP $CPPFLAGS'
20540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20548 $as_echo "$wx_cv_func_va_copy" >&6; }
20550 if test $wx_cv_func_va_copy = "yes"; then
20551 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20555 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20556 if test "${wx_cv_type_va_list_lvalue+set}" = set; then :
20557 $as_echo_n "(cached) " >&6
20560 if test "$cross_compiling" = yes; then :
20561 wx_cv_type_va_list_lvalue=yes
20564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20565 /* end confdefs.h. */
20568 #include <stdarg.h>
20569 int foo(char *f, ...)
20574 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20582 return foo("hi", 17);
20586 if ac_fn_c_try_run "$LINENO"; then :
20587 wx_cv_type_va_list_lvalue=yes
20589 wx_cv_type_va_list_lvalue=no
20591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20592 conftest.$ac_objext conftest.beam conftest.$ac_ext
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20599 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20601 if test $wx_cv_type_va_list_lvalue != "yes"; then
20602 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20607 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20610 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20611 if test "${wx_cv_have_variadic_macros+set}" = set; then :
20612 $as_echo_n "(cached) " >&6
20616 ac_cpp='$CXXCPP $CPPFLAGS'
20617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20622 /* end confdefs.h. */
20626 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20632 test("%s %d %p", "test", 1, 0);
20639 if ac_fn_cxx_try_compile "$LINENO"; then :
20640 wx_cv_have_variadic_macros=yes
20642 wx_cv_have_variadic_macros=no
20645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20647 ac_cpp='$CPP $CPPFLAGS'
20648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20656 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20658 if test $wx_cv_have_variadic_macros = "yes"; then
20659 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20665 LARGEFILE_CPPFLAGS=
20666 # Check whether --enable-largefile was given.
20667 if test "${enable_largefile+set}" = set; then :
20668 enableval=$enable_largefile;
20671 if test "$enable_largefile" != no; then
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20675 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20676 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
20677 $as_echo_n "(cached) " >&6
20680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20681 /* end confdefs.h. */
20682 #define _FILE_OFFSET_BITS 64
20683 #include <sys/types.h>
20688 unsigned int field: sizeof(off_t) == 8;
20695 if ac_fn_c_try_compile "$LINENO"; then :
20696 ac_cv_sys_file_offset_bits=64
20698 ac_cv_sys_file_offset_bits=no
20700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20705 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20707 if test "$ac_cv_sys_file_offset_bits" != no; then
20709 cat >>confdefs.h <<_ACEOF
20710 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20715 if test "x$wx_largefile" != "xyes"; then
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20718 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20719 if test "${ac_cv_sys_large_files+set}" = set; then :
20720 $as_echo_n "(cached) " >&6
20723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20724 /* end confdefs.h. */
20725 #define _LARGE_FILES 1
20726 #include <sys/types.h>
20731 unsigned int field: sizeof(off_t) == 8;
20738 if ac_fn_c_try_compile "$LINENO"; then :
20739 ac_cv_sys_large_files=1
20741 ac_cv_sys_large_files=no
20743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20748 $as_echo "$ac_cv_sys_large_files" >&6; }
20750 if test "$ac_cv_sys_large_files" != no; then
20752 cat >>confdefs.h <<_ACEOF
20753 #define _LARGE_FILES $ac_cv_sys_large_files
20760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20761 $as_echo_n "checking if large file support is available... " >&6; }
20762 if test "x$wx_largefile" = "xyes"; then
20763 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20767 $as_echo "$wx_largefile" >&6; }
20770 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20771 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20772 elif test "$ac_cv_sys_large_files" = 1; then
20773 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20776 if test -n "$LARGEFILE_CPPFLAGS"; then
20777 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20779 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20781 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20782 if test "${wx_cv_STDC_EXT_required+set}" = set; then :
20783 $as_echo_n "(cached) " >&6
20787 ac_cpp='$CXXCPP $CPPFLAGS'
20788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20793 /* end confdefs.h. */
20799 #ifndef __STDC_EXT__
20807 if ac_fn_cxx_try_compile "$LINENO"; then :
20808 wx_cv_STDC_EXT_required=no
20810 wx_cv_STDC_EXT_required=yes
20813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20815 ac_cpp='$CPP $CPPFLAGS'
20816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20824 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20825 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20826 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20832 ac_cpp='$CXXCPP $CPPFLAGS'
20833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20837 old_CPPFLAGS="$CPPFLAGS"
20838 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20840 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20841 if test "${ac_cv_sys_largefile_source+set}" = set; then :
20842 $as_echo_n "(cached) " >&6
20845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20846 /* end confdefs.h. */
20847 #include <sys/types.h> /* for off_t */
20852 int (*fp) (FILE *, off_t, int) = fseeko;
20853 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20858 if ac_fn_cxx_try_link "$LINENO"; then :
20859 ac_cv_sys_largefile_source=no; break
20861 rm -f core conftest.err conftest.$ac_objext \
20862 conftest$ac_exeext conftest.$ac_ext
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20865 #define _LARGEFILE_SOURCE 1
20866 #include <sys/types.h> /* for off_t */
20871 int (*fp) (FILE *, off_t, int) = fseeko;
20872 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20877 if ac_fn_cxx_try_link "$LINENO"; then :
20878 ac_cv_sys_largefile_source=1; break
20880 rm -f core conftest.err conftest.$ac_objext \
20881 conftest$ac_exeext conftest.$ac_ext
20882 ac_cv_sys_largefile_source=unknown
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20887 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20888 case $ac_cv_sys_largefile_source in #(
20891 cat >>confdefs.h <<_ACEOF
20892 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20898 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20899 # in glibc 2.1.3, but that breaks too many other things.
20900 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20901 if test $ac_cv_sys_largefile_source != unknown; then
20903 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20907 CPPFLAGS="$old_CPPFLAGS"
20909 ac_cpp='$CPP $CPPFLAGS'
20910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20914 if test "$ac_cv_sys_largefile_source" != no; then
20915 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20919 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20920 if test "${ac_cv_c_bigendian+set}" = set; then :
20921 $as_echo_n "(cached) " >&6
20923 ac_cv_c_bigendian=unknown
20924 # See if sys/param.h defines the BYTE_ORDER macro.
20925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20926 /* end confdefs.h. */
20927 #include <sys/types.h>
20928 #include <sys/param.h>
20933 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20934 bogus endian macros
20940 if ac_fn_c_try_compile "$LINENO"; then :
20941 # It does; now see whether it defined to BIG_ENDIAN or not.
20942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h. */
20944 #include <sys/types.h>
20945 #include <sys/param.h>
20950 #if BYTE_ORDER != BIG_ENDIAN
20957 if ac_fn_c_try_compile "$LINENO"; then :
20958 ac_cv_c_bigendian=yes
20960 ac_cv_c_bigendian=no
20962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20965 if test $ac_cv_c_bigendian = unknown; then
20966 if test "$cross_compiling" = yes; then :
20967 ac_cv_c_bigendian=unknown
20969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20970 /* end confdefs.h. */
20972 /* Are we little or big endian? From Harbison&Steele. */
20976 char c[sizeof (long)];
20979 exit (u.c[sizeof (long) - 1] == 1);
20982 if ac_fn_c_try_run "$LINENO"; then :
20983 ac_cv_c_bigendian=no
20985 ac_cv_c_bigendian=yes
20987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20988 conftest.$ac_objext conftest.beam conftest.$ac_ext
20993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
20994 $as_echo "$ac_cv_c_bigendian" >&6; }
20995 if test $ac_cv_c_bigendian = unknown; then
20996 { $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
20997 $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;}
20999 if test $ac_cv_c_bigendian = yes; then
21000 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21008 ac_cpp='$CXXCPP $CPPFLAGS'
21009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21014 for ac_header in iostream
21016 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21018 if test "x$ac_cv_header_iostream" = x""yes; then :
21019 cat >>confdefs.h <<_ACEOF
21020 #define HAVE_IOSTREAM 1
21028 if test "$ac_cv_header_iostream" = "yes" ; then
21031 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21036 ac_cpp='$CPP $CPPFLAGS'
21037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21045 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21046 if test "${wx_cv_explicit+set}" = set; then :
21047 $as_echo_n "(cached) " >&6
21052 ac_cpp='$CXXCPP $CPPFLAGS'
21053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21059 /* end confdefs.h. */
21061 class Foo { public: explicit Foo(int) {} };
21073 if ac_fn_cxx_try_compile "$LINENO"; then :
21075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21076 /* end confdefs.h. */
21078 class Foo { public: explicit Foo(int) {} };
21079 static void TakeFoo(const Foo& foo) { }
21092 if ac_fn_cxx_try_compile "$LINENO"; then :
21098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21107 ac_cpp='$CPP $CPPFLAGS'
21108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21115 $as_echo "$wx_cv_explicit" >&6; }
21117 if test "$wx_cv_explicit" = "yes"; then
21118 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21123 if test "x$SUNCXX" = xyes; then
21124 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21127 if test "x$SUNCC" = xyes; then
21128 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21131 if test "x$SGICC" = "xyes"; then
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21133 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21134 if test "${wx_cv_prog_sgicc744+set}" = set; then :
21135 $as_echo_n "(cached) " >&6
21138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21139 /* end confdefs.h. */
21145 #if _SGI_COMPILER_VERSION >= 744
21146 chock me: mipsPro is 7.4.4 or later
21153 if ac_fn_c_try_compile "$LINENO"; then :
21154 wx_cv_prog_sgicc744=no
21156 wx_cv_prog_sgicc744=yes
21159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21164 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21166 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21167 CFLAGS="-woff 3970 $CFLAGS"
21170 if test "x$SGICXX" = "xyes"; then
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21172 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21173 if test "${wx_cv_prog_sgicxx744+set}" = set; then :
21174 $as_echo_n "(cached) " >&6
21178 ac_cpp='$CXXCPP $CPPFLAGS'
21179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21184 /* end confdefs.h. */
21190 #if _SGI_COMPILER_VERSION >= 744
21191 chock me: mipsPro is 7.4.4 or later
21198 if ac_fn_cxx_try_compile "$LINENO"; then :
21199 wx_cv_prog_sgicxx744=no
21201 wx_cv_prog_sgicxx744=yes
21204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21206 ac_cpp='$CPP $CPPFLAGS'
21207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21215 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21217 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21218 CXXFLAGS="-woff 3970 $CXXFLAGS"
21222 if test "x$HPCC" = "xyes"; then
21223 CFLAGS="+W 2011,2450 $CFLAGS"
21225 if test "x$HPCXX" = "xyes"; then
21226 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21229 if test "x$COMPAQCXX" = "xyes"; then
21230 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21234 ac_cpp='$CXXCPP $CPPFLAGS'
21235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21240 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21241 if test "$wxUSE_UNICODE" = "yes"; then
21242 std_string="std::wstring"
21243 char_type="wchar_t"
21245 std_string="std::string"
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21250 $as_echo_n "checking for $std_string in <string>... " >&6; }
21251 if test "${wx_cv_class_stdstring+set}" = set; then :
21252 $as_echo_n "(cached) " >&6
21255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21256 /* end confdefs.h. */
21266 if ac_fn_cxx_try_compile "$LINENO"; then :
21267 wx_cv_class_stdstring=yes
21269 wx_cv_class_stdstring=no
21272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21277 $as_echo "$wx_cv_class_stdstring" >&6; }
21279 if test "$wx_cv_class_stdstring" = yes; then
21280 if test "$wxUSE_UNICODE" = "yes"; then
21281 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21286 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21287 if test "${wx_cv_class_stdbasicstring+set}" = set; then :
21288 $as_echo_n "(cached) " >&6
21291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21292 /* end confdefs.h. */
21294 #ifdef HAVE_WCHAR_H
21296 # include <stddef.h>
21298 # include <wchar.h>
21300 #ifdef HAVE_STDLIB_H
21301 # include <stdlib.h>
21309 std::basic_string<$char_type> foo;
21310 const $char_type* dummy = foo.c_str();
21315 if ac_fn_cxx_try_compile "$LINENO"; then :
21316 wx_cv_class_stdbasicstring=yes
21318 wx_cv_class_stdbasicstring=no
21321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21326 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21328 if test "$wx_cv_class_stdbasicstring" != yes; then
21329 if test "$wxUSE_STL" = "yes"; then
21330 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21331 elif test "$wxUSE_STD_STRING" = "yes"; then
21332 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21335 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21336 wxUSE_STD_STRING=no
21342 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21343 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21345 if test "x$ac_cv_type_std__istream" = x""yes; then :
21347 cat >>confdefs.h <<_ACEOF
21348 #define HAVE_STD__ISTREAM 1
21353 wxUSE_STD_IOSTREAM=no
21355 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21357 if test "x$ac_cv_type_std__ostream" = x""yes; then :
21359 cat >>confdefs.h <<_ACEOF
21360 #define HAVE_STD__OSTREAM 1
21365 wxUSE_STD_IOSTREAM=no
21369 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21370 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21371 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21374 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21379 if test "$wxUSE_STL" = "yes"; then
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21381 $as_echo_n "checking for basic STL functionality... " >&6; }
21382 if test "${wx_cv_lib_stl+set}" = set; then :
21383 $as_echo_n "(cached) " >&6
21385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21386 /* end confdefs.h. */
21388 #include <functional>
21389 #include <algorithm>
21395 std::vector<int> moo;
21396 std::list<int> foo;
21397 std::vector<int>::iterator it =
21398 std::find_if(moo.begin(), moo.end(),
21399 std::bind2nd(std::less<int>(), 3));
21404 if ac_fn_cxx_try_compile "$LINENO"; then :
21410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21414 $as_echo "$wx_cv_lib_stl" >&6; }
21416 if test "$wx_cv_lib_stl" != yes; then
21417 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21421 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21422 if test "${wx_cv_func_stdstring_compare+set}" = set; then :
21423 $as_echo_n "(cached) " >&6
21425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21426 /* end confdefs.h. */
21431 std::string foo, bar;
21433 foo.compare(1, 1, bar);
21434 foo.compare(1, 1, bar, 1, 1);
21436 foo.compare(1, 1, "");
21437 foo.compare(1, 1, "", 2);
21442 if ac_fn_cxx_try_compile "$LINENO"; then :
21443 wx_cv_func_stdstring_compare=yes
21445 wx_cv_func_stdstring_compare=no
21448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21452 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21454 if test "$wx_cv_func_stdstring_compare" = yes; then
21455 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21459 if test "$wx_cv_class_gnuhashmapset" = yes; then
21460 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21462 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21466 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21469 if test "x$ac_cv_header_unordered_map" = x""yes; then :
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21471 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21472 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then :
21473 $as_echo_n "(cached) " >&6
21475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21476 /* end confdefs.h. */
21477 #include <unordered_map>
21478 #include <unordered_set>
21482 std::unordered_map<double*, char*> test1;
21483 std::unordered_set<char*> test2;
21488 if ac_fn_cxx_try_compile "$LINENO"; then :
21489 wx_cv_class_stdunorderedmapset=yes
21491 wx_cv_class_stdunorderedmapset=no
21493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21498 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21503 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21504 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21506 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21509 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21512 if test "x$ac_cv_header_tr1_unordered_map" = x""yes; then :
21513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21514 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21515 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then :
21516 $as_echo_n "(cached) " >&6
21518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21519 /* end confdefs.h. */
21520 #include <tr1/unordered_map>
21521 #include <tr1/unordered_set>
21525 std::tr1::unordered_map<double*, char*> test1;
21526 std::tr1::unordered_set<char*> test2;
21527 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21528 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21534 if ac_fn_cxx_try_compile "$LINENO"; then :
21535 wx_cv_class_tr1unorderedmapset=yes
21537 wx_cv_class_tr1unorderedmapset=no
21539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21544 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21549 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21550 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21552 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21555 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21558 if test "x$ac_cv_header_hash_map" = x""yes; then :
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21560 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21561 if test "${wx_cv_class_stdhashmapset+set}" = set; then :
21562 $as_echo_n "(cached) " >&6
21564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21565 /* end confdefs.h. */
21566 #include <hash_map>
21567 #include <hash_set>
21571 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21572 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21577 if ac_fn_cxx_try_compile "$LINENO"; then :
21578 wx_cv_class_stdhashmapset=yes
21580 wx_cv_class_stdhashmapset=no
21582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21587 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21592 if test "$wx_cv_class_stdhashmapset" = yes; then
21593 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21595 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21599 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21602 if test "x$ac_cv_header_ext_hash_map" = x""yes; then :
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21604 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21605 if test "${wx_cv_class_gnuhashmapset+set}" = set; then :
21606 $as_echo_n "(cached) " >&6
21608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21609 /* end confdefs.h. */
21610 #include <ext/hash_map>
21611 #include <ext/hash_set>
21615 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21616 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21621 if ac_fn_cxx_try_compile "$LINENO"; then :
21622 wx_cv_class_gnuhashmapset=yes
21624 wx_cv_class_gnuhashmapset=no
21626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21631 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21641 ac_cpp='$CXXCPP $CPPFLAGS'
21642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21646 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21647 if test -z "$CXXCPP"; then
21648 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
21649 $as_echo_n "(cached) " >&6
21651 # Double quotes because CXXCPP needs to be expanded
21652 for CXXCPP in "$CXX -E" "/lib/cpp"
21654 ac_preproc_ok=false
21655 for ac_cxx_preproc_warn_flag in '' yes
21657 # Use a header file that comes with gcc, so configuring glibc
21658 # with a fresh cross-compiler works.
21659 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21660 # <limits.h> exists even on freestanding compilers.
21661 # On the NeXT, cc -E runs the code through the compiler's parser,
21662 # not just through cpp. "Syntax error" is here to catch this case.
21663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21664 /* end confdefs.h. */
21666 # include <limits.h>
21668 # include <assert.h>
21672 if ac_fn_cxx_try_cpp "$LINENO"; then :
21675 # Broken: fails on valid input.
21678 rm -f conftest.err conftest.i conftest.$ac_ext
21680 # OK, works on sane cases. Now check whether nonexistent headers
21681 # can be detected and how.
21682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21683 /* end confdefs.h. */
21684 #include <ac_nonexistent.h>
21686 if ac_fn_cxx_try_cpp "$LINENO"; then :
21687 # Broken: success on invalid input.
21690 # Passes both tests.
21694 rm -f conftest.err conftest.i conftest.$ac_ext
21697 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21698 rm -f conftest.i conftest.err conftest.$ac_ext
21699 if $ac_preproc_ok; then :
21704 ac_cv_prog_CXXCPP=$CXXCPP
21707 CXXCPP=$ac_cv_prog_CXXCPP
21709 ac_cv_prog_CXXCPP=$CXXCPP
21711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21712 $as_echo "$CXXCPP" >&6; }
21713 ac_preproc_ok=false
21714 for ac_cxx_preproc_warn_flag in '' yes
21716 # Use a header file that comes with gcc, so configuring glibc
21717 # with a fresh cross-compiler works.
21718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21719 # <limits.h> exists even on freestanding compilers.
21720 # On the NeXT, cc -E runs the code through the compiler's parser,
21721 # not just through cpp. "Syntax error" is here to catch this case.
21722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21723 /* end confdefs.h. */
21725 # include <limits.h>
21727 # include <assert.h>
21731 if ac_fn_cxx_try_cpp "$LINENO"; then :
21734 # Broken: fails on valid input.
21737 rm -f conftest.err conftest.i conftest.$ac_ext
21739 # OK, works on sane cases. Now check whether nonexistent headers
21740 # can be detected and how.
21741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21742 /* end confdefs.h. */
21743 #include <ac_nonexistent.h>
21745 if ac_fn_cxx_try_cpp "$LINENO"; then :
21746 # Broken: success on invalid input.
21749 # Passes both tests.
21753 rm -f conftest.err conftest.i conftest.$ac_ext
21756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21757 rm -f conftest.i conftest.err conftest.$ac_ext
21758 if $ac_preproc_ok; then :
21761 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21763 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21764 See \`config.log' for more details" "$LINENO" 5; }
21768 ac_cpp='$CXXCPP $CPPFLAGS'
21769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21774 for ac_header in type_traits tr1/type_traits
21776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21777 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21779 cat >>confdefs.h <<_ACEOF
21780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21790 if test -n "$GCC"; then
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21792 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21793 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then :
21794 $as_echo_n "(cached) " >&6
21797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21798 /* end confdefs.h. */
21804 unsigned int value=0;
21805 /* wxAtomicInc doesn't use return value here */
21806 __sync_fetch_and_add(&value, 2);
21807 __sync_sub_and_fetch(&value, 1);
21808 /* but wxAtomicDec does, so mimic that: */
21809 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21815 if ac_fn_cxx_try_link "$LINENO"; then :
21816 wx_cv_cc_gcc_atomic_builtins=yes
21818 wx_cv_cc_gcc_atomic_builtins=no
21820 rm -f core conftest.err conftest.$ac_objext \
21821 conftest$ac_exeext conftest.$ac_ext
21825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21826 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21827 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21828 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21835 ac_cpp='$CPP $CPPFLAGS'
21836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21843 /usr/local/include \
21844 /usr/local/X11/include \
21845 /usr/local/include/X11 \
21846 /usr/local/X11R7/include \
21847 /usr/local/X11R6/include \
21848 /usr/local/include/X11R7 \
21849 /usr/local/include/X11R6 \
21851 /usr/Motif-2.1/include \
21852 /usr/Motif-1.2/include \
21853 /usr/include/Motif1.2 \
21856 /usr/openwin/include \
21860 /usr/X11R7/include \
21861 /usr/X11R6/include \
21862 /usr/X11R6.4/include \
21864 /usr/include/X11R7 \
21865 /usr/include/X11R6 \
21870 /usr/XFree86/include/X11 \
21873 /usr/local/X1R5/include \
21874 /usr/local/include/X11R5 \
21875 /usr/X11R5/include \
21876 /usr/include/X11R5 \
21878 /usr/local/X11R4/include \
21879 /usr/local/include/X11R4 \
21880 /usr/X11R4/include \
21881 /usr/include/X11R4 \
21883 /usr/openwin/share/include"
21885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21886 $as_echo_n "checking for libraries directories... " >&6; }
21890 if test "${wx_cv_std_libpath+set}" = set; then :
21891 $as_echo_n "(cached) " >&6
21894 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21895 for e in a so sl dylib dll.a; do
21897 if test -f $libc; then
21900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21901 /* end confdefs.h. */
21903 int main() { return 0; }
21906 if ac_fn_c_try_link "$LINENO"; then :
21907 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21909 rm -f core conftest.err conftest.$ac_objext \
21910 conftest$ac_exeext conftest.$ac_ext
21912 if test "x$wx_cv_std_libpath" != "x"; then
21925 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21926 wx_cv_std_libpath="lib/64"
21931 if test "$ac_cv_sizeof_void_p" = 8; then
21932 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21933 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21934 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21935 wx_cv_std_libpath="lib64"
21940 if test -d '/usr/lib/i386-linux-gnu'; then
21941 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21946 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21947 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21952 if test -z "$wx_cv_std_libpath"; then
21953 wx_cv_std_libpath="lib"
21956 if test -z "$wx_cv_std_libfullpath"; then
21957 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
21961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21962 $as_echo "$wx_cv_std_libfullpath" >&6; }
21964 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21966 if test "$build" != "$host" -a "$GCC" = yes; then
21967 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
21968 cross_root=`dirname $cross_root`
21969 cross_root=`dirname $cross_root`
21971 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21972 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21973 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
21975 if test -z "$PKG_CONFIG_PATH"; then
21976 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21977 export PKG_CONFIG_PATH
21980 if test -z "$x_includes" -o "$x_includes" = NONE; then
21983 for ac_dir in $SEARCH_INCLUDE /usr/include
21985 if test -f "$ac_dir/X11/Intrinsic.h"; then
21986 ac_find_includes=$ac_dir
21991 x_includes=$ac_find_includes
21993 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
21996 for ac_dir in $SEARCH_LIB
21998 for ac_extension in a so sl dylib dll.a; do
21999 if test -f "$ac_dir/libXt.$ac_extension"; then
22000 ac_find_libraries=$ac_dir
22006 x_libraries=$ac_find_libraries
22012 cat >confcache <<\_ACEOF
22013 # This file is a shell script that caches the results of configure
22014 # tests run on this system so they can be shared between configure
22015 # scripts and configure runs, see configure's option --config-cache.
22016 # It is not useful on other systems. If it contains results you don't
22017 # want to keep, you may remove or edit it.
22019 # config.status only pays attention to the cache file if you give it
22020 # the --recheck option to rerun configure.
22022 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22023 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22024 # following values.
22028 # The following way of writing the cache mishandles newlines in values,
22029 # but we know of no workaround that is simple, portable, and efficient.
22030 # So, we kill variables containing newlines.
22031 # Ultrix sh set writes to stderr and can't be redirected directly,
22032 # and sets the high bit in the cache file unless we assign to the vars.
22034 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22035 eval ac_val=\$$ac_var
22039 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22040 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22043 _ | IFS | as_nl) ;; #(
22044 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22045 *) { eval $ac_var=; unset $ac_var;} ;;
22051 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22052 *${as_nl}ac_space=\ *)
22053 # `set' does not quote correctly, so add quotes: double-quote
22054 # substitution turns \\\\ into \\, and sed turns \\ into \.
22057 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22060 # `set' quotes correctly as required by POSIX, so do not add quotes.
22061 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22070 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22072 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22074 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22075 if test -w "$cache_file"; then
22076 test "x$cache_file" != "x/dev/null" &&
22077 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22078 $as_echo "$as_me: updating cache $cache_file" >&6;}
22079 cat confcache >$cache_file
22081 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22082 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22091 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22092 if test "x$ac_cv_func_cos" = x""yes; then :
22093 cat >>confdefs.h <<_ACEOF
22100 for ac_func in floor
22102 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22103 if test "x$ac_cv_func_floor" = x""yes; then :
22104 cat >>confdefs.h <<_ACEOF
22105 #define HAVE_FLOOR 1
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22112 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22113 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22115 $as_echo "yes" >&6; }
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22118 $as_echo "no" >&6; }
22120 # use different functions to avoid configure caching
22125 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22126 if test "x$ac_cv_func_sin" = x""yes; then :
22127 cat >>confdefs.h <<_ACEOF
22134 for ac_func in ceil
22136 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22137 if test "x$ac_cv_func_ceil" = x""yes; then :
22138 cat >>confdefs.h <<_ACEOF
22139 #define HAVE_CEIL 1
22145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22146 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22147 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22149 $as_echo "yes" >&6; }
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22152 $as_echo "no" >&6; }
22153 # not sure we should warn the user, crash, etc.
22158 ac_cpp='$CXXCPP $CPPFLAGS'
22159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22163 if test "wxUSE_UNICODE" = "yes"; then
22165 for wx_func in wcstoull
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22168 $as_echo_n "checking for $wx_func... " >&6; }
22169 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22170 $as_echo_n "(cached) " >&6
22173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22174 /* end confdefs.h. */
22178 $ac_includes_default
22194 if ac_fn_cxx_try_link "$LINENO"; then :
22195 eval wx_cv_func_$wx_func=yes
22197 eval wx_cv_func_$wx_func=no
22199 rm -f core conftest.err conftest.$ac_objext \
22200 conftest$ac_exeext conftest.$ac_ext
22203 eval ac_res=\$wx_cv_func_$wx_func
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22205 $as_echo "$ac_res" >&6; }
22207 if eval test \$wx_cv_func_$wx_func = yes
22209 cat >>confdefs.h <<_ACEOF
22210 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22222 for wx_func in strtoull
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22225 $as_echo_n "checking for $wx_func... " >&6; }
22226 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22227 $as_echo_n "(cached) " >&6
22230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22231 /* end confdefs.h. */
22235 $ac_includes_default
22251 if ac_fn_cxx_try_link "$LINENO"; then :
22252 eval wx_cv_func_$wx_func=yes
22254 eval wx_cv_func_$wx_func=no
22256 rm -f core conftest.err conftest.$ac_objext \
22257 conftest$ac_exeext conftest.$ac_ext
22260 eval ac_res=\$wx_cv_func_$wx_func
22261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22262 $as_echo "$ac_res" >&6; }
22264 if eval test \$wx_cv_func_$wx_func = yes
22266 cat >>confdefs.h <<_ACEOF
22267 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22279 ac_cpp='$CPP $CPPFLAGS'
22280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22287 if test "$wxUSE_REGEX" != "no"; then
22288 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22291 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22293 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22294 wxUSE_REGEX=builtin
22297 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22298 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22300 if test "x$ac_cv_header_regex_h" = x""yes; then :
22301 for ac_func in regcomp re_search
22303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22305 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22306 cat >>confdefs.h <<_ACEOF
22307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22317 if test "x$ac_cv_func_regcomp" != "xyes"; then
22318 if test "$wxUSE_REGEX" = "sys" ; then
22319 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22322 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22323 wxUSE_REGEX=builtin
22327 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22335 if test "$wxUSE_ZLIB" != "no" ; then
22336 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22339 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22340 if test "$USE_DARWIN" = 1; then
22341 system_zlib_h_ok="yes"
22343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22344 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22345 if test "${ac_cv_header_zlib_h+set}" = set; then :
22346 $as_echo_n "(cached) " >&6
22348 if test "$cross_compiling" = yes; then :
22349 unset ac_cv_header_zlib_h
22352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22353 /* end confdefs.h. */
22360 FILE *f=fopen("conftestval", "w");
22363 ZLIB_VERSION[0] == '1' &&
22364 (ZLIB_VERSION[2] > '1' ||
22365 (ZLIB_VERSION[2] == '1' &&
22366 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22371 if ac_fn_c_try_run "$LINENO"; then :
22372 ac_cv_header_zlib_h=`cat conftestval`
22374 ac_cv_header_zlib_h=no
22376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22377 conftest.$ac_objext conftest.beam conftest.$ac_ext
22382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22383 $as_echo "$ac_cv_header_zlib_h" >&6; }
22384 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22386 if test "x$ac_cv_header_zlib_h" = x""yes; then :
22392 system_zlib_h_ok=$ac_cv_header_zlib_h
22395 if test "$system_zlib_h_ok" = "yes"; then
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22397 $as_echo_n "checking for deflate in -lz... " >&6; }
22398 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22399 $as_echo_n "(cached) " >&6
22401 ac_check_lib_save_LIBS=$LIBS
22403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22404 /* end confdefs.h. */
22406 /* Override any GCC internal prototype to avoid an error.
22407 Use char because int might match the return type of a GCC
22408 builtin and then its argument prototype would still apply. */
22421 if ac_fn_c_try_link "$LINENO"; then :
22422 ac_cv_lib_z_deflate=yes
22424 ac_cv_lib_z_deflate=no
22426 rm -f core conftest.err conftest.$ac_objext \
22427 conftest$ac_exeext conftest.$ac_ext
22428 LIBS=$ac_check_lib_save_LIBS
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22431 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22432 if test "x$ac_cv_lib_z_deflate" = x""yes; then :
22438 if test "x$ZLIB_LINK" = "x" ; then
22439 if test "$wxUSE_ZLIB" = "sys" ; then
22440 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22443 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22454 if test "$wxUSE_LIBPNG" != "no" ; then
22455 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22458 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22460 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22461 wxUSE_LIBPNG=builtin
22464 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22466 $as_echo_n "checking for png.h > 0.90... " >&6; }
22467 if test "${ac_cv_header_png_h+set}" = set; then :
22468 $as_echo_n "(cached) " >&6
22470 if test "$cross_compiling" = yes; then :
22471 unset ac_cv_header_png_h
22474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22475 /* end confdefs.h. */
22482 FILE *f=fopen("conftestval", "w");
22485 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22490 if ac_fn_c_try_run "$LINENO"; then :
22491 ac_cv_header_png_h=`cat conftestval`
22493 ac_cv_header_png_h=no
22495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22496 conftest.$ac_objext conftest.beam conftest.$ac_ext
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22502 $as_echo "$ac_cv_header_png_h" >&6; }
22503 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22505 if test "x$ac_cv_header_png_h" = x""yes; then :
22511 if test "$ac_cv_header_png_h" = "yes"; then
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22513 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22514 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then :
22515 $as_echo_n "(cached) " >&6
22517 ac_check_lib_save_LIBS=$LIBS
22518 LIBS="-lpng -lz -lm $LIBS"
22519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22520 /* end confdefs.h. */
22522 /* Override any GCC internal prototype to avoid an error.
22523 Use char because int might match the return type of a GCC
22524 builtin and then its argument prototype would still apply. */
22528 char png_sig_cmp ();
22532 return png_sig_cmp ();
22537 if ac_fn_c_try_link "$LINENO"; then :
22538 ac_cv_lib_png_png_sig_cmp=yes
22540 ac_cv_lib_png_png_sig_cmp=no
22542 rm -f core conftest.err conftest.$ac_objext \
22543 conftest$ac_exeext conftest.$ac_ext
22544 LIBS=$ac_check_lib_save_LIBS
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22547 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22548 if test "x$ac_cv_lib_png_png_sig_cmp" = x""yes; then :
22549 PNG_LINK=" -lpng -lz"
22554 if test "x$PNG_LINK" = "x" ; then
22555 if test "$wxUSE_LIBPNG" = "sys" ; then
22556 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22559 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22560 wxUSE_LIBPNG=builtin
22570 if test "$wxUSE_LIBJPEG" != "no" ; then
22571 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22574 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22576 $as_echo_n "checking for jpeglib.h... " >&6; }
22577 if test "${ac_cv_header_jpeglib_h+set}" = set; then :
22578 $as_echo_n "(cached) " >&6
22580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22581 /* end confdefs.h. */
22583 #undef HAVE_STDLIB_H
22585 #include <jpeglib.h>
22596 if ac_fn_c_try_compile "$LINENO"; then :
22597 ac_cv_header_jpeglib_h=yes
22599 ac_cv_header_jpeglib_h=no
22602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22607 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22609 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22611 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22612 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then :
22613 $as_echo_n "(cached) " >&6
22615 ac_check_lib_save_LIBS=$LIBS
22616 LIBS="-ljpeg $LIBS"
22617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22618 /* end confdefs.h. */
22620 /* Override any GCC internal prototype to avoid an error.
22621 Use char because int might match the return type of a GCC
22622 builtin and then its argument prototype would still apply. */
22626 char jpeg_read_header ();
22630 return jpeg_read_header ();
22635 if ac_fn_c_try_link "$LINENO"; then :
22636 ac_cv_lib_jpeg_jpeg_read_header=yes
22638 ac_cv_lib_jpeg_jpeg_read_header=no
22640 rm -f core conftest.err conftest.$ac_objext \
22641 conftest$ac_exeext conftest.$ac_ext
22642 LIBS=$ac_check_lib_save_LIBS
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22645 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22646 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = x""yes; then :
22647 JPEG_LINK=" -ljpeg"
22652 if test "x$JPEG_LINK" = "x" ; then
22653 if test "$wxUSE_LIBJPEG" = "sys" ; then
22654 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22657 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22658 wxUSE_LIBJPEG=builtin
22663 if test "$wxUSE_MSW" = 1; then
22664 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22666 if test "x$ac_cv_type_boolean" = x""yes; then :
22668 cat >>confdefs.h <<_ACEOF
22669 #define HAVE_BOOLEAN 1
22673 # The cast to long int works around a bug in the HP C Compiler
22674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22676 # This bug is HP SR number 8606223364.
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22678 $as_echo_n "checking size of boolean... " >&6; }
22679 if test "${ac_cv_sizeof_boolean+set}" = set; then :
22680 $as_echo_n "(cached) " >&6
22682 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22683 #undef HAVE_BOOLEAN
22685 #include <jpeglib.h>
22690 if test "$ac_cv_type_boolean" = yes; then
22691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22693 as_fn_error 77 "cannot compute sizeof (boolean)
22694 See \`config.log' for more details" "$LINENO" 5; }
22696 ac_cv_sizeof_boolean=0
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22702 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22706 cat >>confdefs.h <<_ACEOF
22707 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22711 cat >>confdefs.h <<_ACEOF
22712 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22725 TIFF_PREREQ_LINKS=-lm
22726 if test "$wxUSE_LIBTIFF" != "no" ; then
22727 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22730 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22731 if test "$wxUSE_LIBJPEG" = "sys"; then
22732 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22734 if test "$wxUSE_ZLIB" = "sys"; then
22735 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22737 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22740 if test "x$ac_cv_header_tiffio_h" = x""yes; then :
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22743 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22744 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then :
22745 $as_echo_n "(cached) " >&6
22747 ac_check_lib_save_LIBS=$LIBS
22748 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22750 /* end confdefs.h. */
22752 /* Override any GCC internal prototype to avoid an error.
22753 Use char because int might match the return type of a GCC
22754 builtin and then its argument prototype would still apply. */
22762 return TIFFError ();
22767 if ac_fn_c_try_link "$LINENO"; then :
22768 ac_cv_lib_tiff_TIFFError=yes
22770 ac_cv_lib_tiff_TIFFError=no
22772 rm -f core conftest.err conftest.$ac_objext \
22773 conftest$ac_exeext conftest.$ac_ext
22774 LIBS=$ac_check_lib_save_LIBS
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22777 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22778 if test "x$ac_cv_lib_tiff_TIFFError" = x""yes; then :
22779 TIFF_LINK=" -ltiff"
22787 if test "x$TIFF_LINK" = "x" ; then
22788 if test "$wxUSE_LIBTIFF" = "sys" ; then
22789 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22792 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22793 wxUSE_LIBTIFF=builtin
22799 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22800 if test "$wxUSE_LIBJPEG" = "no"; then
22801 ac_configure_args="$ac_configure_args --disable-jpeg"
22805 subdirs="$subdirs src/tiff"
22811 if test "$wxUSE_EXPAT" != "no"; then
22813 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22815 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22818 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22819 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22821 if test "x$ac_cv_header_expat_h" = x""yes; then :
22826 if test "x$found_expat_h" = "x1"; then
22827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22828 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22829 if test "${wx_cv_expat_is_not_broken+set}" = set; then :
22830 $as_echo_n "(cached) " >&6
22834 ac_cpp='$CXXCPP $CPPFLAGS'
22835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22840 /* end confdefs.h. */
22850 if ac_fn_cxx_try_compile "$LINENO"; then :
22851 wx_cv_expat_is_not_broken=yes
22853 wx_cv_expat_is_not_broken=no
22856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22858 ac_cpp='$CPP $CPPFLAGS'
22859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22867 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22868 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22870 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22871 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
22872 $as_echo_n "(cached) " >&6
22874 ac_check_lib_save_LIBS=$LIBS
22875 LIBS="-lexpat $LIBS"
22876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22877 /* end confdefs.h. */
22879 /* Override any GCC internal prototype to avoid an error.
22880 Use char because int might match the return type of a GCC
22881 builtin and then its argument prototype would still apply. */
22885 char XML_ParserCreate ();
22889 return XML_ParserCreate ();
22894 if ac_fn_c_try_link "$LINENO"; then :
22895 ac_cv_lib_expat_XML_ParserCreate=yes
22897 ac_cv_lib_expat_XML_ParserCreate=no
22899 rm -f core conftest.err conftest.$ac_objext \
22900 conftest$ac_exeext conftest.$ac_ext
22901 LIBS=$ac_check_lib_save_LIBS
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22904 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22905 if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then :
22906 EXPAT_LINK=" -lexpat"
22911 if test "x$EXPAT_LINK" = "x" ; then
22912 if test "$wxUSE_EXPAT" = "sys" ; then
22913 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22916 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22917 wxUSE_EXPAT=builtin
22923 if test "$wxUSE_EXPAT" = "builtin" ; then
22924 subdirs="$subdirs src/expat"
22931 if test "$wxUSE_LIBMSPACK" != "no"; then
22932 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22934 if test "x$ac_cv_header_mspack_h" = x""yes; then :
22939 if test "x$found_mspack_h" = "x1"; then
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22941 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22942 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then :
22943 $as_echo_n "(cached) " >&6
22945 ac_check_lib_save_LIBS=$LIBS
22946 LIBS="-lmspack $LIBS"
22947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22948 /* end confdefs.h. */
22950 /* Override any GCC internal prototype to avoid an error.
22951 Use char because int might match the return type of a GCC
22952 builtin and then its argument prototype would still apply. */
22956 char mspack_create_chm_decompressor ();
22960 return mspack_create_chm_decompressor ();
22965 if ac_fn_c_try_link "$LINENO"; then :
22966 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22968 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22970 rm -f core conftest.err conftest.$ac_objext \
22971 conftest$ac_exeext conftest.$ac_ext
22972 LIBS=$ac_check_lib_save_LIBS
22974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22975 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22976 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = x""yes; then :
22977 MSPACK_LINK=" -lmspack"
22981 if test "x$MSPACK_LINK" = "x" ; then
22986 if test "$wxUSE_LIBMSPACK" != "no"; then
22987 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23000 if test "$USE_WIN32" = 1 ; then
23001 for ac_header in w32api.h
23003 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23005 if test "x$ac_cv_header_w32api_h" = x""yes; then :
23006 cat >>confdefs.h <<_ACEOF
23007 #define HAVE_W32API_H 1
23014 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23016 if test "x$ac_cv_header_windows_h" = x""yes; then :
23020 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23026 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23028 x86_64-*-mingw32* )
23029 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23032 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23033 LIBS="$LIBS -loleacc"
23038 LIBS="$LIBS -lkernel32 -luser32"
23041 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23042 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23044 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23046 WIN32INSTALL=win32install
23049 if test "$wxUSE_GUI" = "yes"; then
23060 if test "$wxUSE_OLD_COCOA" = 1 ; then
23061 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23063 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23064 wxUSE_PRINTING_ARCHITECTURE=no
23066 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23068 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23069 wxUSE_DRAG_AND_DROP=no
23071 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23073 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23078 if test "$wxUSE_MSW" = 1 ; then
23084 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23088 if test "$wxUSE_GTK" = 1; then
23089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23090 $as_echo_n "checking for GTK+ version... " >&6; }
23092 gtk_version_cached=1
23093 if test "${wx_cv_lib_gtk+set}" = set; then :
23094 $as_echo_n "(cached) " >&6
23097 gtk_version_cached=0
23098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23102 if test "$wxUSE_THREADS" = "yes"; then
23103 GTK_MODULES=gthread
23106 if test -z "$wxGTK_VERSION"; then
23111 if test "x$wxGTK_VERSION" != "x1"
23115 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23120 if test "$wxGTK_VERSION" != 3; then
23121 # Check whether --enable-gtktest was given.
23122 if test "${enable_gtktest+set}" = set; then :
23123 enableval=$enable_gtktest;
23129 pkg_config_args=gtk+-2.0
23130 for module in . $GTK_MODULES
23134 pkg_config_args="$pkg_config_args gthread-2.0"
23141 # Extract the first word of "pkg-config", so it can be a program name with args.
23142 set dummy pkg-config; ac_word=$2
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23144 $as_echo_n "checking for $ac_word... " >&6; }
23145 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23146 $as_echo_n "(cached) " >&6
23148 case $PKG_CONFIG in
23150 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23154 for as_dir in $PATH
23157 test -z "$as_dir" && as_dir=.
23158 for ac_exec_ext in '' $ac_executable_extensions; do
23159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23160 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23168 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23172 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23173 if test -n "$PKG_CONFIG"; then
23174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23175 $as_echo "$PKG_CONFIG" >&6; }
23177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23178 $as_echo "no" >&6; }
23183 if test x$PKG_CONFIG != xno ; then
23184 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23187 echo "*** pkg-config too old; version 0.7 or better required."
23195 min_gtk_version=2.4.0
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23197 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23199 if test x$PKG_CONFIG != xno ; then
23200 ## don't try to run the test against uninstalled libtool libs
23201 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23202 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23206 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23213 if test x"$no_gtk" = x ; then
23214 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23215 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23216 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23217 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23218 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23219 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23220 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23221 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23222 if test "x$enable_gtktest" = "xyes" ; then
23223 ac_save_CFLAGS="$CFLAGS"
23224 ac_save_LIBS="$LIBS"
23225 CFLAGS="$CFLAGS $GTK_CFLAGS"
23226 LIBS="$GTK_LIBS $LIBS"
23228 if test "$cross_compiling" = yes; then :
23229 echo $ac_n "cross compiling; assumed OK... $ac_c"
23231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23232 /* end confdefs.h. */
23234 #include <gtk/gtk.h>
23236 #include <stdlib.h>
23241 int major, minor, micro;
23244 system ("touch conf.gtktest");
23246 /* HP/UX 9 (%@#!) writes to sscanf strings */
23247 tmp_version = g_strdup("$min_gtk_version");
23248 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23249 printf("%s, bad version string\n", "$min_gtk_version");
23253 if ((gtk_major_version != $gtk_config_major_version) ||
23254 (gtk_minor_version != $gtk_config_minor_version) ||
23255 (gtk_micro_version != $gtk_config_micro_version))
23257 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23258 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23259 gtk_major_version, gtk_minor_version, gtk_micro_version);
23260 printf ("*** was found! If pkg-config was correct, then it is best\n");
23261 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23262 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23263 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23264 printf("*** required on your system.\n");
23265 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23266 printf("*** to point to the correct configuration files\n");
23268 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23269 (gtk_minor_version != GTK_MINOR_VERSION) ||
23270 (gtk_micro_version != GTK_MICRO_VERSION))
23272 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23273 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23274 printf("*** library (version %d.%d.%d)\n",
23275 gtk_major_version, gtk_minor_version, gtk_micro_version);
23279 if ((gtk_major_version > major) ||
23280 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23281 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23287 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23288 gtk_major_version, gtk_minor_version, gtk_micro_version);
23289 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23290 major, minor, micro);
23291 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23293 printf("*** If you have already installed a sufficiently new version, this error\n");
23294 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23295 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23296 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23297 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23298 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23299 printf("*** so that the correct libraries are found at run-time))\n");
23306 if ac_fn_c_try_run "$LINENO"; then :
23311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23312 conftest.$ac_objext conftest.beam conftest.$ac_ext
23315 CFLAGS="$ac_save_CFLAGS"
23316 LIBS="$ac_save_LIBS"
23319 if test "x$no_gtk" = x ; then
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23321 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23325 $as_echo "no" >&6; }
23326 if test "$PKG_CONFIG" = "no" ; then
23327 echo "*** A new enough version of pkg-config was not found."
23328 echo "*** See http://pkgconfig.sourceforge.net"
23330 if test -f conf.gtktest ; then
23333 echo "*** Could not run GTK+ test program, checking why..."
23334 ac_save_CFLAGS="$CFLAGS"
23335 ac_save_LIBS="$LIBS"
23336 CFLAGS="$CFLAGS $GTK_CFLAGS"
23337 LIBS="$LIBS $GTK_LIBS"
23338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23339 /* end confdefs.h. */
23341 #include <gtk/gtk.h>
23347 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23352 if ac_fn_c_try_link "$LINENO"; then :
23353 echo "*** The test program compiled, but did not run. This usually means"
23354 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23355 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23356 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23357 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23358 echo "*** is required on your system"
23360 echo "*** If you have an old version installed, it is best to remove it, although"
23361 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23363 echo "*** The test program failed to compile or link. See the file config.log for the"
23364 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23366 rm -f core conftest.err conftest.$ac_objext \
23367 conftest$ac_exeext conftest.$ac_ext
23368 CFLAGS="$ac_save_CFLAGS"
23369 LIBS="$ac_save_LIBS"
23381 if test -z "$wx_cv_lib_gtk"; then
23382 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23383 # Check whether --enable-gtktest was given.
23384 if test "${enable_gtktest+set}" = set; then :
23385 enableval=$enable_gtktest;
23391 pkg_config_args=gtk+-3.0
23392 for module in . $GTK_MODULES
23396 pkg_config_args="$pkg_config_args gthread-2.0"
23403 # Extract the first word of "pkg-config", so it can be a program name with args.
23404 set dummy pkg-config; ac_word=$2
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23406 $as_echo_n "checking for $ac_word... " >&6; }
23407 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23408 $as_echo_n "(cached) " >&6
23410 case $PKG_CONFIG in
23412 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23416 for as_dir in $PATH
23419 test -z "$as_dir" && as_dir=.
23420 for ac_exec_ext in '' $ac_executable_extensions; do
23421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23422 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23430 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23434 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23435 if test -n "$PKG_CONFIG"; then
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23437 $as_echo "$PKG_CONFIG" >&6; }
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23440 $as_echo "no" >&6; }
23445 if test x$PKG_CONFIG != xno ; then
23446 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23449 echo "*** pkg-config too old; version 0.7 or better required."
23457 min_gtk_version=3.0.0
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23459 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23461 if test x$PKG_CONFIG != xno ; then
23462 ## don't try to run the test against uninstalled libtool libs
23463 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23464 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23468 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23475 if test x"$no_gtk" = x ; then
23476 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23477 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23478 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23479 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23480 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23481 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23482 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23483 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23484 if test "x$enable_gtktest" = "xyes" ; then
23485 ac_save_CFLAGS="$CFLAGS"
23486 ac_save_LIBS="$LIBS"
23487 CFLAGS="$CFLAGS $GTK_CFLAGS"
23488 LIBS="$GTK_LIBS $LIBS"
23490 if test "$cross_compiling" = yes; then :
23491 echo $ac_n "cross compiling; assumed OK... $ac_c"
23493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23494 /* end confdefs.h. */
23496 #include <gtk/gtk.h>
23498 #include <stdlib.h>
23503 int major, minor, micro;
23506 fclose (fopen ("conf.gtktest", "w"));
23508 /* HP/UX 9 (%@#!) writes to sscanf strings */
23509 tmp_version = g_strdup("$min_gtk_version");
23510 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23511 printf("%s, bad version string\n", "$min_gtk_version");
23515 if ((gtk_major_version != $gtk_config_major_version) ||
23516 (gtk_minor_version != $gtk_config_minor_version) ||
23517 (gtk_micro_version != $gtk_config_micro_version))
23519 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23520 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23521 gtk_major_version, gtk_minor_version, gtk_micro_version);
23522 printf ("*** was found! If pkg-config was correct, then it is best\n");
23523 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23524 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23525 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23526 printf("*** required on your system.\n");
23527 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23528 printf("*** to point to the correct configuration files\n");
23530 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23531 (gtk_minor_version != GTK_MINOR_VERSION) ||
23532 (gtk_micro_version != GTK_MICRO_VERSION))
23534 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23535 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23536 printf("*** library (version %d.%d.%d)\n",
23537 gtk_major_version, gtk_minor_version, gtk_micro_version);
23541 if ((gtk_major_version > major) ||
23542 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23543 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23549 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23550 gtk_major_version, gtk_minor_version, gtk_micro_version);
23551 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23552 major, minor, micro);
23553 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23555 printf("*** If you have already installed a sufficiently new version, this error\n");
23556 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23557 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23558 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23559 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23560 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23561 printf("*** so that the correct libraries are found at run-time))\n");
23568 if ac_fn_c_try_run "$LINENO"; then :
23573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23574 conftest.$ac_objext conftest.beam conftest.$ac_ext
23577 CFLAGS="$ac_save_CFLAGS"
23578 LIBS="$ac_save_LIBS"
23581 if test "x$no_gtk" = x ; then
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23583 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23587 $as_echo "no" >&6; }
23588 if test "$PKG_CONFIG" = "no" ; then
23589 echo "*** A new enough version of pkg-config was not found."
23590 echo "*** See http://pkgconfig.sourceforge.net"
23592 if test -f conf.gtktest ; then
23595 echo "*** Could not run GTK+ test program, checking why..."
23596 ac_save_CFLAGS="$CFLAGS"
23597 ac_save_LIBS="$LIBS"
23598 CFLAGS="$CFLAGS $GTK_CFLAGS"
23599 LIBS="$LIBS $GTK_LIBS"
23600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23601 /* end confdefs.h. */
23603 #include <gtk/gtk.h>
23609 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23614 if ac_fn_c_try_link "$LINENO"; then :
23615 echo "*** The test program compiled, but did not run. This usually means"
23616 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23617 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23618 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23619 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23620 echo "*** is required on your system"
23622 echo "*** If you have an old version installed, it is best to remove it, although"
23623 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23625 echo "*** The test program failed to compile or link. See the file config.log for the"
23626 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23628 rm -f core conftest.err conftest.$ac_objext \
23629 conftest$ac_exeext conftest.$ac_ext
23630 CFLAGS="$ac_save_CFLAGS"
23631 LIBS="$ac_save_LIBS"
23646 if test -z "$wx_cv_lib_gtk"; then
23647 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23649 # Check whether --with-gtk-prefix was given.
23650 if test "${with_gtk_prefix+set}" = set; then :
23651 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23653 gtk_config_prefix=""
23657 # Check whether --with-gtk-exec-prefix was given.
23658 if test "${with_gtk_exec_prefix+set}" = set; then :
23659 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23661 gtk_config_exec_prefix=""
23664 # Check whether --enable-gtktest was given.
23665 if test "${enable_gtktest+set}" = set; then :
23666 enableval=$enable_gtktest;
23672 for module in . $GTK_MODULES
23676 gtk_config_args="$gtk_config_args gthread"
23681 if test x$gtk_config_exec_prefix != x ; then
23682 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23683 if test x${GTK_CONFIG+set} != xset ; then
23684 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23687 if test x$gtk_config_prefix != x ; then
23688 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23689 if test x${GTK_CONFIG+set} != xset ; then
23690 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23694 # Extract the first word of "gtk-config", so it can be a program name with args.
23695 set dummy gtk-config; ac_word=$2
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23697 $as_echo_n "checking for $ac_word... " >&6; }
23698 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23699 $as_echo_n "(cached) " >&6
23701 case $GTK_CONFIG in
23703 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23707 for as_dir in $PATH
23710 test -z "$as_dir" && as_dir=.
23711 for ac_exec_ext in '' $ac_executable_extensions; do
23712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23713 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23721 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23725 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23726 if test -n "$GTK_CONFIG"; then
23727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23728 $as_echo "$GTK_CONFIG" >&6; }
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23731 $as_echo "no" >&6; }
23735 min_gtk_version=1.2.7
23736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23737 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23739 if test "$GTK_CONFIG" = "no" ; then
23742 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23743 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23744 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23745 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23746 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23747 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23748 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23749 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23750 if test "x$enable_gtktest" = "xyes" ; then
23751 ac_save_CFLAGS="$CFLAGS"
23752 ac_save_LIBS="$LIBS"
23753 CFLAGS="$CFLAGS $GTK_CFLAGS"
23754 LIBS="$GTK_LIBS $LIBS"
23756 if test "$cross_compiling" = yes; then :
23757 echo $ac_n "cross compiling; assumed OK... $ac_c"
23759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23760 /* end confdefs.h. */
23762 #include <gtk/gtk.h>
23764 #include <stdlib.h>
23769 int major, minor, micro;
23772 system ("touch conf.gtktest");
23774 /* HP/UX 9 (%@#!) writes to sscanf strings */
23775 tmp_version = g_strdup("$min_gtk_version");
23776 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23777 printf("%s, bad version string\n", "$min_gtk_version");
23781 if ((gtk_major_version != $gtk_config_major_version) ||
23782 (gtk_minor_version != $gtk_config_minor_version) ||
23783 (gtk_micro_version != $gtk_config_micro_version))
23785 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23786 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23787 gtk_major_version, gtk_minor_version, gtk_micro_version);
23788 printf ("*** was found! If gtk-config was correct, then it is best\n");
23789 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23790 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23791 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23792 printf("*** required on your system.\n");
23793 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23794 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23795 printf("*** before re-running configure\n");
23797 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23798 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23799 (gtk_minor_version != GTK_MINOR_VERSION) ||
23800 (gtk_micro_version != GTK_MICRO_VERSION))
23802 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23803 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23804 printf("*** library (version %d.%d.%d)\n",
23805 gtk_major_version, gtk_minor_version, gtk_micro_version);
23807 #endif /* defined (GTK_MAJOR_VERSION) ... */
23810 if ((gtk_major_version > major) ||
23811 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23812 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23818 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23819 gtk_major_version, gtk_minor_version, gtk_micro_version);
23820 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23821 major, minor, micro);
23822 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23824 printf("*** If you have already installed a sufficiently new version, this error\n");
23825 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23826 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23827 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23828 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23829 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23830 printf("*** so that the correct libraries are found at run-time))\n");
23837 if ac_fn_c_try_run "$LINENO"; then :
23842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23843 conftest.$ac_objext conftest.beam conftest.$ac_ext
23846 CFLAGS="$ac_save_CFLAGS"
23847 LIBS="$ac_save_LIBS"
23850 if test "x$no_gtk" = x ; then
23851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23852 $as_echo "yes" >&6; }
23853 wx_cv_lib_gtk=1.2.7
23855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23856 $as_echo "no" >&6; }
23857 if test "$GTK_CONFIG" = "no" ; then
23858 echo "*** The gtk-config script installed by GTK could not be found"
23859 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23860 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23861 echo "*** full path to gtk-config."
23863 if test -f conf.gtktest ; then
23866 echo "*** Could not run GTK test program, checking why..."
23867 CFLAGS="$CFLAGS $GTK_CFLAGS"
23868 LIBS="$LIBS $GTK_LIBS"
23869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23870 /* end confdefs.h. */
23872 #include <gtk/gtk.h>
23878 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23883 if ac_fn_c_try_link "$LINENO"; then :
23884 echo "*** The test program compiled, but did not run. This usually means"
23885 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23886 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23887 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23888 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23889 echo "*** is required on your system"
23891 echo "*** If you have an old version installed, it is best to remove it, although"
23892 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23894 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23895 echo "*** came with the system with the command"
23897 echo "*** rpm --erase --nodeps gtk gtk-devel"
23899 echo "*** The test program failed to compile or link. See the file config.log for the"
23900 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23901 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23902 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23904 rm -f core conftest.err conftest.$ac_objext \
23905 conftest$ac_exeext conftest.$ac_ext
23906 CFLAGS="$ac_save_CFLAGS"
23907 LIBS="$ac_save_LIBS"
23919 if test -z "$wx_cv_lib_gtk"; then
23921 # Check whether --with-gtk-prefix was given.
23922 if test "${with_gtk_prefix+set}" = set; then :
23923 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23925 gtk_config_prefix=""
23929 # Check whether --with-gtk-exec-prefix was given.
23930 if test "${with_gtk_exec_prefix+set}" = set; then :
23931 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23933 gtk_config_exec_prefix=""
23936 # Check whether --enable-gtktest was given.
23937 if test "${enable_gtktest+set}" = set; then :
23938 enableval=$enable_gtktest;
23944 for module in . $GTK_MODULES
23948 gtk_config_args="$gtk_config_args gthread"
23953 if test x$gtk_config_exec_prefix != x ; then
23954 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23955 if test x${GTK_CONFIG+set} != xset ; then
23956 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23959 if test x$gtk_config_prefix != x ; then
23960 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23961 if test x${GTK_CONFIG+set} != xset ; then
23962 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23966 # Extract the first word of "gtk-config", so it can be a program name with args.
23967 set dummy gtk-config; ac_word=$2
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23969 $as_echo_n "checking for $ac_word... " >&6; }
23970 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23971 $as_echo_n "(cached) " >&6
23973 case $GTK_CONFIG in
23975 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23979 for as_dir in $PATH
23982 test -z "$as_dir" && as_dir=.
23983 for ac_exec_ext in '' $ac_executable_extensions; do
23984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23985 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23993 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23997 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23998 if test -n "$GTK_CONFIG"; then
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24000 $as_echo "$GTK_CONFIG" >&6; }
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24003 $as_echo "no" >&6; }
24007 min_gtk_version=1.2.3
24008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24009 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24011 if test "$GTK_CONFIG" = "no" ; then
24014 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24015 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24016 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24017 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24018 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24019 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24020 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24022 if test "x$enable_gtktest" = "xyes" ; then
24023 ac_save_CFLAGS="$CFLAGS"
24024 ac_save_LIBS="$LIBS"
24025 CFLAGS="$CFLAGS $GTK_CFLAGS"
24026 LIBS="$GTK_LIBS $LIBS"
24028 if test "$cross_compiling" = yes; then :
24029 echo $ac_n "cross compiling; assumed OK... $ac_c"
24031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24032 /* end confdefs.h. */
24034 #include <gtk/gtk.h>
24036 #include <stdlib.h>
24041 int major, minor, micro;
24044 system ("touch conf.gtktest");
24046 /* HP/UX 9 (%@#!) writes to sscanf strings */
24047 tmp_version = g_strdup("$min_gtk_version");
24048 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24049 printf("%s, bad version string\n", "$min_gtk_version");
24053 if ((gtk_major_version != $gtk_config_major_version) ||
24054 (gtk_minor_version != $gtk_config_minor_version) ||
24055 (gtk_micro_version != $gtk_config_micro_version))
24057 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24058 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24059 gtk_major_version, gtk_minor_version, gtk_micro_version);
24060 printf ("*** was found! If gtk-config was correct, then it is best\n");
24061 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24062 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24063 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24064 printf("*** required on your system.\n");
24065 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24066 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24067 printf("*** before re-running configure\n");
24069 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24070 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24071 (gtk_minor_version != GTK_MINOR_VERSION) ||
24072 (gtk_micro_version != GTK_MICRO_VERSION))
24074 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24075 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24076 printf("*** library (version %d.%d.%d)\n",
24077 gtk_major_version, gtk_minor_version, gtk_micro_version);
24079 #endif /* defined (GTK_MAJOR_VERSION) ... */
24082 if ((gtk_major_version > major) ||
24083 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24084 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24090 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24091 gtk_major_version, gtk_minor_version, gtk_micro_version);
24092 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24093 major, minor, micro);
24094 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24096 printf("*** If you have already installed a sufficiently new version, this error\n");
24097 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24098 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24099 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24100 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24101 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24102 printf("*** so that the correct libraries are found at run-time))\n");
24109 if ac_fn_c_try_run "$LINENO"; then :
24114 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24115 conftest.$ac_objext conftest.beam conftest.$ac_ext
24118 CFLAGS="$ac_save_CFLAGS"
24119 LIBS="$ac_save_LIBS"
24122 if test "x$no_gtk" = x ; then
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24124 $as_echo "yes" >&6; }
24125 wx_cv_lib_gtk=1.2.3
24127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24128 $as_echo "no" >&6; }
24129 if test "$GTK_CONFIG" = "no" ; then
24130 echo "*** The gtk-config script installed by GTK could not be found"
24131 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24132 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24133 echo "*** full path to gtk-config."
24135 if test -f conf.gtktest ; then
24138 echo "*** Could not run GTK test program, checking why..."
24139 CFLAGS="$CFLAGS $GTK_CFLAGS"
24140 LIBS="$LIBS $GTK_LIBS"
24141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24142 /* end confdefs.h. */
24144 #include <gtk/gtk.h>
24150 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24155 if ac_fn_c_try_link "$LINENO"; then :
24156 echo "*** The test program compiled, but did not run. This usually means"
24157 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24158 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24159 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24160 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24161 echo "*** is required on your system"
24163 echo "*** If you have an old version installed, it is best to remove it, although"
24164 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24166 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24167 echo "*** came with the system with the command"
24169 echo "*** rpm --erase --nodeps gtk gtk-devel"
24171 echo "*** The test program failed to compile or link. See the file config.log for the"
24172 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24173 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24174 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24176 rm -f core conftest.err conftest.$ac_objext \
24177 conftest$ac_exeext conftest.$ac_ext
24178 CFLAGS="$ac_save_CFLAGS"
24179 LIBS="$ac_save_LIBS"
24194 if test -z "$wx_cv_lib_gtk"; then
24197 GTK_LIBS="$GTK_LIBS -lX11"
24199 wx_cv_cflags_gtk=$GTK_CFLAGS
24200 wx_cv_libs_gtk=$GTK_LIBS
24207 if test "$gtk_version_cached" = 1; then
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24209 $as_echo "$wx_cv_lib_gtk" >&6; }
24212 case "$wx_cv_lib_gtk" in
24223 *) as_fn_error $? "
24224 The development files for GTK+ were not found. For GTK+ 2, please
24225 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24226 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24227 and that the version is 1.2.3 or above. Also check that the
24228 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24229 --libs' are in the LD_LIBRARY_PATH or equivalent.
24234 if test "$WXGTK3" = 1; then
24235 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24237 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24239 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24241 elif test "$WXGTK2" = 1; then
24242 save_CFLAGS="$CFLAGS"
24244 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24245 LIBS="$LIBS $wx_cv_libs_gtk"
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24248 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24250 /* end confdefs.h. */
24252 #include <gtk/gtk.h>
24258 #if !GTK_CHECK_VERSION(2,18,0)
24266 if ac_fn_c_try_compile "$LINENO"; then :
24268 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24270 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24272 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24275 $as_echo "yes" >&6; }
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24281 $as_echo "no" >&6; }
24285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24287 if test "$ac_wxgtk218" = 0; then
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24289 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24291 /* end confdefs.h. */
24293 #include <gtk/gtk.h>
24299 #if !GTK_CHECK_VERSION(2,10,0)
24307 if ac_fn_c_try_compile "$LINENO"; then :
24309 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24311 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24314 $as_echo "yes" >&6; }
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24320 $as_echo "no" >&6; }
24324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24326 if test "$ac_wxgtk210" = 0; then
24327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.6" >&5
24328 $as_echo_n "checking if GTK+ is version >= 2.6... " >&6; }
24329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24330 /* end confdefs.h. */
24332 #include <gtk/gtk.h>
24338 #if !GTK_CHECK_VERSION(2,6,0)
24346 if ac_fn_c_try_compile "$LINENO"; then :
24348 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24351 $as_echo "yes" >&6; }
24356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24357 $as_echo "no" >&6; }
24361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24365 CFLAGS="$save_CFLAGS"
24368 if test "$wxUSE_UNICODE" = "yes"; then
24369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24370 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24375 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24376 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then :
24377 $as_echo_n "(cached) " >&6
24379 ac_check_lib_save_LIBS=$LIBS
24381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24382 /* end confdefs.h. */
24384 /* Override any GCC internal prototype to avoid an error.
24385 Use char because int might match the return type of a GCC
24386 builtin and then its argument prototype would still apply. */
24390 char gdk_im_open ();
24394 return gdk_im_open ();
24399 if ac_fn_c_try_link "$LINENO"; then :
24400 ac_cv_lib_gdk_gdk_im_open=yes
24402 ac_cv_lib_gdk_gdk_im_open=no
24404 rm -f core conftest.err conftest.$ac_objext \
24405 conftest$ac_exeext conftest.$ac_ext
24406 LIBS=$ac_check_lib_save_LIBS
24408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24409 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24410 if test "x$ac_cv_lib_gdk_gdk_im_open" = x""yes; then :
24411 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24416 if test "$USE_DARWIN" != 1; then
24417 for ac_func in poll
24419 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24420 if test "x$ac_cv_func_poll" = x""yes; then :
24421 cat >>confdefs.h <<_ACEOF
24422 #define HAVE_POLL 1
24431 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24432 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24433 AFMINSTALL=afminstall
24437 if test "$wxUSE_GPE" = "yes"; then
24438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24439 $as_echo_n "checking for gpewidget library... " >&6; }
24442 for ac_dir in $SEARCH_LIB
24444 for ac_extension in a so sl dylib dll.a; do
24445 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24446 ac_find_libraries=$ac_dir
24452 if test "$ac_find_libraries" != "" ; then
24454 if test "$ac_find_libraries" = "default location"; then
24457 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24459 if test $result = 0; then
24462 ac_path_to_link=" -L$ac_find_libraries"
24466 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24469 $as_echo "found in $ac_find_libraries" >&6; }
24471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24472 $as_echo "not found" >&6; }
24478 if test "$wxUSE_DFB" = 1; then
24481 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24482 if test -n "$ac_tool_prefix"; then
24483 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24484 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24486 $as_echo_n "checking for $ac_word... " >&6; }
24487 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
24488 $as_echo_n "(cached) " >&6
24490 case $PKG_CONFIG in
24492 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24496 for as_dir in $PATH
24499 test -z "$as_dir" && as_dir=.
24500 for ac_exec_ext in '' $ac_executable_extensions; do
24501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24502 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24513 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24514 if test -n "$PKG_CONFIG"; then
24515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24516 $as_echo "$PKG_CONFIG" >&6; }
24518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24519 $as_echo "no" >&6; }
24524 if test -z "$ac_cv_path_PKG_CONFIG"; then
24525 ac_pt_PKG_CONFIG=$PKG_CONFIG
24526 # Extract the first word of "pkg-config", so it can be a program name with args.
24527 set dummy pkg-config; ac_word=$2
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24529 $as_echo_n "checking for $ac_word... " >&6; }
24530 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
24531 $as_echo_n "(cached) " >&6
24533 case $ac_pt_PKG_CONFIG in
24535 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24539 for as_dir in $PATH
24542 test -z "$as_dir" && as_dir=.
24543 for ac_exec_ext in '' $ac_executable_extensions; do
24544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24545 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24556 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24557 if test -n "$ac_pt_PKG_CONFIG"; then
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24559 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24562 $as_echo "no" >&6; }
24565 if test "x$ac_pt_PKG_CONFIG" = x; then
24568 case $cross_compiling:$ac_tool_warned in
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24572 ac_tool_warned=yes ;;
24574 PKG_CONFIG=$ac_pt_PKG_CONFIG
24577 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24581 if test -n "$PKG_CONFIG"; then
24582 _pkg_min_version=0.9.0
24583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24584 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24585 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24587 $as_echo "yes" >&6; }
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24590 $as_echo "no" >&6; }
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24599 $as_echo_n "checking for DIRECTFB... " >&6; }
24601 if test -n "$PKG_CONFIG"; then
24602 if test -n "$DIRECTFB_CFLAGS"; then
24603 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24605 if test -n "$PKG_CONFIG" && \
24606 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24607 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24610 test $ac_status = 0; }; then
24611 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24619 if test -n "$PKG_CONFIG"; then
24620 if test -n "$DIRECTFB_LIBS"; then
24621 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24623 if test -n "$PKG_CONFIG" && \
24624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24625 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24628 test $ac_status = 0; }; then
24629 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24640 if test $pkg_failed = yes; then
24642 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24643 _pkg_short_errors_supported=yes
24645 _pkg_short_errors_supported=no
24647 if test $_pkg_short_errors_supported = yes; then
24648 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24650 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24652 # Put the nasty error message in config.log where it belongs
24653 echo "$DIRECTFB_PKG_ERRORS" >&5
24656 as_fn_error $? "DirectFB not found." "$LINENO" 5
24659 elif test $pkg_failed = untried; then
24661 as_fn_error $? "DirectFB not found." "$LINENO" 5
24665 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24666 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24668 $as_echo "yes" >&6; }
24670 wxUSE_UNIVERSAL="yes"
24671 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24672 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24679 if test "$wxUSE_MICROWIN" = 1; then
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24681 $as_echo_n "checking for MicroWindows... " >&6; }
24682 if test "x$MICROWINDOWS" = x ; then
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24684 $as_echo "not found" >&6; }
24685 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24688 $as_echo "$MICROWINDOWS" >&6; }
24691 if test -f $MICROWINDOWS/lib/libmwin.a; then
24692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24693 $as_echo "MicroWindows' libraries found." >&6; }
24695 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24698 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24699 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24701 wxUSE_UNIVERSAL="yes"
24703 AFMINSTALL=afminstall
24705 GUIDIST=MICROWIN_DIST
24707 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24710 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24712 $as_echo_n "checking for X... " >&6; }
24715 # Check whether --with-x was given.
24716 if test "${with_x+set}" = set; then :
24720 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24721 if test "x$with_x" = xno; then
24722 # The user explicitly disabled X.
24725 case $x_includes,$x_libraries in #(
24726 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24727 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
24728 $as_echo_n "(cached) " >&6
24730 # One or both of the vars are not set, and there is no cached value.
24731 ac_x_includes=no ac_x_libraries=no
24732 rm -f -r conftest.dir
24733 if mkdir conftest.dir; then
24735 cat >Imakefile <<'_ACEOF'
24737 @echo incroot='${INCROOT}'
24739 @echo usrlibdir='${USRLIBDIR}'
24741 @echo libdir='${LIBDIR}'
24743 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24744 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24745 for ac_var in incroot usrlibdir libdir; do
24746 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24748 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24749 for ac_extension in a so sl dylib la dll; do
24750 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24751 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24752 ac_im_usrlibdir=$ac_im_libdir; break
24755 # Screen out bogus values from the imake configuration. They are
24756 # bogus both because they are the default anyway, and because
24757 # using them would break gcc on systems where it needs fixed includes.
24758 case $ac_im_incroot in
24759 /usr/include) ac_x_includes= ;;
24760 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24762 case $ac_im_usrlibdir in
24763 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24764 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24768 rm -f -r conftest.dir
24771 # Standard set of common directories for X headers.
24772 # Check X11 before X11Rn because it is often a symlink to the current release.
24786 /usr/local/X11/include
24787 /usr/local/X11R7/include
24788 /usr/local/X11R6/include
24789 /usr/local/X11R5/include
24790 /usr/local/X11R4/include
24792 /usr/local/include/X11
24793 /usr/local/include/X11R7
24794 /usr/local/include/X11R6
24795 /usr/local/include/X11R5
24796 /usr/local/include/X11R4
24800 /usr/XFree86/include/X11
24804 /usr/unsupported/include
24805 /usr/athena/include
24806 /usr/local/x11r5/include
24807 /usr/lpp/Xamples/include
24809 /usr/openwin/include
24810 /usr/openwin/share/include'
24812 if test "$ac_x_includes" = no; then
24813 # Guess where to find include files, by looking for Xlib.h.
24814 # First, try using that file with no special directory specified.
24815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24816 /* end confdefs.h. */
24817 #include <X11/Xlib.h>
24819 if ac_fn_c_try_cpp "$LINENO"; then :
24820 # We can compile using X headers with no special include directory.
24823 for ac_dir in $ac_x_header_dirs; do
24824 if test -r "$ac_dir/X11/Xlib.h"; then
24825 ac_x_includes=$ac_dir
24830 rm -f conftest.err conftest.i conftest.$ac_ext
24831 fi # $ac_x_includes = no
24833 if test "$ac_x_libraries" = no; then
24834 # Check for the libraries.
24835 # See if we find them without any special options.
24836 # Don't add to $LIBS permanently.
24839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24840 /* end confdefs.h. */
24841 #include <X11/Xlib.h>
24850 if ac_fn_c_try_link "$LINENO"; then :
24852 # We can link X programs with no special library path.
24856 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24858 # Don't even attempt the hair of trying to link an X program!
24859 for ac_extension in a so sl dylib la dll; do
24860 if test -r "$ac_dir/libX11.$ac_extension"; then
24861 ac_x_libraries=$ac_dir
24867 rm -f core conftest.err conftest.$ac_objext \
24868 conftest$ac_exeext conftest.$ac_ext
24869 fi # $ac_x_libraries = no
24871 case $ac_x_includes,$ac_x_libraries in #(
24872 no,* | *,no | *\'*)
24873 # Didn't find X, or a directory has "'" in its name.
24874 ac_cv_have_x="have_x=no";; #(
24876 # Record where we found X for the cache.
24877 ac_cv_have_x="have_x=yes\
24878 ac_x_includes='$ac_x_includes'\
24879 ac_x_libraries='$ac_x_libraries'"
24885 eval "$ac_cv_have_x"
24888 if test "$have_x" != yes; then
24889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24890 $as_echo "$have_x" >&6; }
24893 # If each of the values was on the command line, it overrides each guess.
24894 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24895 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24896 # Update the cache value to reflect the command line values.
24897 ac_cv_have_x="have_x=yes\
24898 ac_x_includes='$x_includes'\
24899 ac_x_libraries='$x_libraries'"
24900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24901 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24904 if test "$no_x" = yes; then
24905 # Not all programs may use this symbol, but it does not hurt to define it.
24907 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24909 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24911 if test -n "$x_includes"; then
24912 X_CFLAGS="$X_CFLAGS -I$x_includes"
24915 # It would also be nice to do this for all -L options, not just this one.
24916 if test -n "$x_libraries"; then
24917 X_LIBS="$X_LIBS -L$x_libraries"
24918 # For Solaris; some versions of Sun CC require a space after -R and
24919 # others require no space. Words are not sufficient . . . .
24920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24921 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24922 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24923 ac_xsave_c_werror_flag=$ac_c_werror_flag
24924 ac_c_werror_flag=yes
24925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24926 /* end confdefs.h. */
24936 if ac_fn_c_try_link "$LINENO"; then :
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24938 $as_echo "no" >&6; }
24939 X_LIBS="$X_LIBS -R$x_libraries"
24941 LIBS="$ac_xsave_LIBS -R $x_libraries"
24942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24943 /* end confdefs.h. */
24953 if ac_fn_c_try_link "$LINENO"; then :
24954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24955 $as_echo "yes" >&6; }
24956 X_LIBS="$X_LIBS -R $x_libraries"
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24959 $as_echo "neither works" >&6; }
24961 rm -f core conftest.err conftest.$ac_objext \
24962 conftest$ac_exeext conftest.$ac_ext
24964 rm -f core conftest.err conftest.$ac_objext \
24965 conftest$ac_exeext conftest.$ac_ext
24966 ac_c_werror_flag=$ac_xsave_c_werror_flag
24967 LIBS=$ac_xsave_LIBS
24970 # Check for system-dependent libraries X programs must link with.
24971 # Do this before checking for the system-independent R6 libraries
24972 # (-lICE), since we may need -lsocket or whatever for X linking.
24974 if test "$ISC" = yes; then
24975 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24977 # Martyn Johnson says this is needed for Ultrix, if the X
24978 # libraries were built with DECnet support. And Karl Berry says
24979 # the Alpha needs dnet_stub (dnet does not exist).
24980 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24982 /* end confdefs.h. */
24984 /* Override any GCC internal prototype to avoid an error.
24985 Use char because int might match the return type of a GCC
24986 builtin and then its argument prototype would still apply. */
24990 char XOpenDisplay ();
24994 return XOpenDisplay ();
24999 if ac_fn_c_try_link "$LINENO"; then :
25002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25003 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25004 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
25005 $as_echo_n "(cached) " >&6
25007 ac_check_lib_save_LIBS=$LIBS
25008 LIBS="-ldnet $LIBS"
25009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25010 /* end confdefs.h. */
25012 /* Override any GCC internal prototype to avoid an error.
25013 Use char because int might match the return type of a GCC
25014 builtin and then its argument prototype would still apply. */
25022 return dnet_ntoa ();
25027 if ac_fn_c_try_link "$LINENO"; then :
25028 ac_cv_lib_dnet_dnet_ntoa=yes
25030 ac_cv_lib_dnet_dnet_ntoa=no
25032 rm -f core conftest.err conftest.$ac_objext \
25033 conftest$ac_exeext conftest.$ac_ext
25034 LIBS=$ac_check_lib_save_LIBS
25036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25037 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25038 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
25039 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25042 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25044 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25045 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
25046 $as_echo_n "(cached) " >&6
25048 ac_check_lib_save_LIBS=$LIBS
25049 LIBS="-ldnet_stub $LIBS"
25050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25051 /* end confdefs.h. */
25053 /* Override any GCC internal prototype to avoid an error.
25054 Use char because int might match the return type of a GCC
25055 builtin and then its argument prototype would still apply. */
25063 return dnet_ntoa ();
25068 if ac_fn_c_try_link "$LINENO"; then :
25069 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25071 ac_cv_lib_dnet_stub_dnet_ntoa=no
25073 rm -f core conftest.err conftest.$ac_objext \
25074 conftest$ac_exeext conftest.$ac_ext
25075 LIBS=$ac_check_lib_save_LIBS
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25078 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25079 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
25080 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25085 rm -f core conftest.err conftest.$ac_objext \
25086 conftest$ac_exeext conftest.$ac_ext
25087 LIBS="$ac_xsave_LIBS"
25089 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25090 # to get the SysV transport functions.
25091 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25093 # The nsl library prevents programs from opening the X display
25094 # on Irix 5.2, according to T.E. Dickey.
25095 # The functions gethostbyname, getservbyname, and inet_addr are
25096 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25097 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25098 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
25102 if test $ac_cv_func_gethostbyname = no; then
25103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25104 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25105 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
25106 $as_echo_n "(cached) " >&6
25108 ac_check_lib_save_LIBS=$LIBS
25110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25111 /* end confdefs.h. */
25113 /* Override any GCC internal prototype to avoid an error.
25114 Use char because int might match the return type of a GCC
25115 builtin and then its argument prototype would still apply. */
25119 char gethostbyname ();
25123 return gethostbyname ();
25128 if ac_fn_c_try_link "$LINENO"; then :
25129 ac_cv_lib_nsl_gethostbyname=yes
25131 ac_cv_lib_nsl_gethostbyname=no
25133 rm -f core conftest.err conftest.$ac_objext \
25134 conftest$ac_exeext conftest.$ac_ext
25135 LIBS=$ac_check_lib_save_LIBS
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25138 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25139 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
25140 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25143 if test $ac_cv_lib_nsl_gethostbyname = no; then
25144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25145 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25146 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
25147 $as_echo_n "(cached) " >&6
25149 ac_check_lib_save_LIBS=$LIBS
25151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25152 /* end confdefs.h. */
25154 /* Override any GCC internal prototype to avoid an error.
25155 Use char because int might match the return type of a GCC
25156 builtin and then its argument prototype would still apply. */
25160 char gethostbyname ();
25164 return gethostbyname ();
25169 if ac_fn_c_try_link "$LINENO"; then :
25170 ac_cv_lib_bsd_gethostbyname=yes
25172 ac_cv_lib_bsd_gethostbyname=no
25174 rm -f core conftest.err conftest.$ac_objext \
25175 conftest$ac_exeext conftest.$ac_ext
25176 LIBS=$ac_check_lib_save_LIBS
25178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25179 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25180 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
25181 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25187 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25188 # socket/setsockopt and other routines are undefined under SCO ODT
25189 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25190 # on later versions), says Simon Leinen: it contains gethostby*
25191 # variants that don't use the name server (or something). -lsocket
25192 # must be given before -lnsl if both are needed. We assume that
25193 # if connect needs -lnsl, so does gethostbyname.
25194 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25195 if test "x$ac_cv_func_connect" = x""yes; then :
25199 if test $ac_cv_func_connect = no; then
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25201 $as_echo_n "checking for connect in -lsocket... " >&6; }
25202 if test "${ac_cv_lib_socket_connect+set}" = set; then :
25203 $as_echo_n "(cached) " >&6
25205 ac_check_lib_save_LIBS=$LIBS
25206 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h. */
25210 /* Override any GCC internal prototype to avoid an error.
25211 Use char because int might match the return type of a GCC
25212 builtin and then its argument prototype would still apply. */
25225 if ac_fn_c_try_link "$LINENO"; then :
25226 ac_cv_lib_socket_connect=yes
25228 ac_cv_lib_socket_connect=no
25230 rm -f core conftest.err conftest.$ac_objext \
25231 conftest$ac_exeext conftest.$ac_ext
25232 LIBS=$ac_check_lib_save_LIBS
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25235 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25236 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
25237 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25242 # Guillermo Gomez says -lposix is necessary on A/UX.
25243 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25244 if test "x$ac_cv_func_remove" = x""yes; then :
25248 if test $ac_cv_func_remove = no; then
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25250 $as_echo_n "checking for remove in -lposix... " >&6; }
25251 if test "${ac_cv_lib_posix_remove+set}" = set; then :
25252 $as_echo_n "(cached) " >&6
25254 ac_check_lib_save_LIBS=$LIBS
25255 LIBS="-lposix $LIBS"
25256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25257 /* end confdefs.h. */
25259 /* Override any GCC internal prototype to avoid an error.
25260 Use char because int might match the return type of a GCC
25261 builtin and then its argument prototype would still apply. */
25274 if ac_fn_c_try_link "$LINENO"; then :
25275 ac_cv_lib_posix_remove=yes
25277 ac_cv_lib_posix_remove=no
25279 rm -f core conftest.err conftest.$ac_objext \
25280 conftest$ac_exeext conftest.$ac_ext
25281 LIBS=$ac_check_lib_save_LIBS
25283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25284 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25285 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
25286 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25291 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25292 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25293 if test "x$ac_cv_func_shmat" = x""yes; then :
25297 if test $ac_cv_func_shmat = no; then
25298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25299 $as_echo_n "checking for shmat in -lipc... " >&6; }
25300 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
25301 $as_echo_n "(cached) " >&6
25303 ac_check_lib_save_LIBS=$LIBS
25305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25306 /* end confdefs.h. */
25308 /* Override any GCC internal prototype to avoid an error.
25309 Use char because int might match the return type of a GCC
25310 builtin and then its argument prototype would still apply. */
25323 if ac_fn_c_try_link "$LINENO"; then :
25324 ac_cv_lib_ipc_shmat=yes
25326 ac_cv_lib_ipc_shmat=no
25328 rm -f core conftest.err conftest.$ac_objext \
25329 conftest$ac_exeext conftest.$ac_ext
25330 LIBS=$ac_check_lib_save_LIBS
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25333 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25334 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
25335 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25341 # Check for libraries that X11R6 Xt/Xaw programs need.
25342 ac_save_LDFLAGS=$LDFLAGS
25343 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25344 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25345 # check for ICE first), but we must link in the order -lSM -lICE or
25346 # we get undefined symbols. So assume we have SM if we have ICE.
25347 # These have to be linked with before -lX11, unlike the other
25348 # libraries we check for below, so use a different variable.
25349 # John Interrante, Karl Berry
25350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25351 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25352 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
25353 $as_echo_n "(cached) " >&6
25355 ac_check_lib_save_LIBS=$LIBS
25356 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25358 /* end confdefs.h. */
25360 /* Override any GCC internal prototype to avoid an error.
25361 Use char because int might match the return type of a GCC
25362 builtin and then its argument prototype would still apply. */
25366 char IceConnectionNumber ();
25370 return IceConnectionNumber ();
25375 if ac_fn_c_try_link "$LINENO"; then :
25376 ac_cv_lib_ICE_IceConnectionNumber=yes
25378 ac_cv_lib_ICE_IceConnectionNumber=no
25380 rm -f core conftest.err conftest.$ac_objext \
25381 conftest$ac_exeext conftest.$ac_ext
25382 LIBS=$ac_check_lib_save_LIBS
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25385 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25386 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
25387 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25390 LDFLAGS=$ac_save_LDFLAGS
25395 if test "$no_x" = "yes"; then
25396 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25399 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25400 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25401 AFMINSTALL=afminstall
25402 COMPILED_X_PROGRAM=0
25406 if test "$wxUSE_X11" = 1; then
25407 if test "$wxUSE_NANOX" = "yes"; then
25408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25409 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25410 if test "x$MICROWIN" = x ; then
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25412 $as_echo "not found" >&6; }
25413 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25416 $as_echo "$MICROWIN" >&6; }
25417 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25422 if test "$wxUSE_UNICODE" = "yes"; then
25425 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25426 if test -n "$ac_tool_prefix"; then
25427 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25428 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25430 $as_echo_n "checking for $ac_word... " >&6; }
25431 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
25432 $as_echo_n "(cached) " >&6
25434 case $PKG_CONFIG in
25436 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25440 for as_dir in $PATH
25443 test -z "$as_dir" && as_dir=.
25444 for ac_exec_ext in '' $ac_executable_extensions; do
25445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25446 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25457 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25458 if test -n "$PKG_CONFIG"; then
25459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25460 $as_echo "$PKG_CONFIG" >&6; }
25462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25463 $as_echo "no" >&6; }
25468 if test -z "$ac_cv_path_PKG_CONFIG"; then
25469 ac_pt_PKG_CONFIG=$PKG_CONFIG
25470 # Extract the first word of "pkg-config", so it can be a program name with args.
25471 set dummy pkg-config; ac_word=$2
25472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25473 $as_echo_n "checking for $ac_word... " >&6; }
25474 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
25475 $as_echo_n "(cached) " >&6
25477 case $ac_pt_PKG_CONFIG in
25479 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25483 for as_dir in $PATH
25486 test -z "$as_dir" && as_dir=.
25487 for ac_exec_ext in '' $ac_executable_extensions; do
25488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25489 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25500 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25501 if test -n "$ac_pt_PKG_CONFIG"; then
25502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25503 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25506 $as_echo "no" >&6; }
25509 if test "x$ac_pt_PKG_CONFIG" = x; then
25512 case $cross_compiling:$ac_tool_warned in
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25516 ac_tool_warned=yes ;;
25518 PKG_CONFIG=$ac_pt_PKG_CONFIG
25521 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25525 if test -n "$PKG_CONFIG"; then
25526 _pkg_min_version=0.9.0
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25528 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25529 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25531 $as_echo "yes" >&6; }
25533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25534 $as_echo "no" >&6; }
25542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25543 $as_echo_n "checking for PANGOX... " >&6; }
25545 if test -n "$PKG_CONFIG"; then
25546 if test -n "$PANGOX_CFLAGS"; then
25547 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25549 if test -n "$PKG_CONFIG" && \
25550 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25551 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25554 test $ac_status = 0; }; then
25555 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25563 if test -n "$PKG_CONFIG"; then
25564 if test -n "$PANGOX_LIBS"; then
25565 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25567 if test -n "$PKG_CONFIG" && \
25568 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25569 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25572 test $ac_status = 0; }; then
25573 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25584 if test $pkg_failed = yes; then
25586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25587 _pkg_short_errors_supported=yes
25589 _pkg_short_errors_supported=no
25591 if test $_pkg_short_errors_supported = yes; then
25592 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25594 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25596 # Put the nasty error message in config.log where it belongs
25597 echo "$PANGOX_PKG_ERRORS" >&5
25600 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25603 elif test $pkg_failed = untried; then
25605 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25609 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25610 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25612 $as_echo "yes" >&6; }
25614 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25615 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25616 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25622 $as_echo_n "checking for PANGOFT2... " >&6; }
25624 if test -n "$PKG_CONFIG"; then
25625 if test -n "$PANGOFT2_CFLAGS"; then
25626 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25628 if test -n "$PKG_CONFIG" && \
25629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25630 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25633 test $ac_status = 0; }; then
25634 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25642 if test -n "$PKG_CONFIG"; then
25643 if test -n "$PANGOFT2_LIBS"; then
25644 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25646 if test -n "$PKG_CONFIG" && \
25647 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25648 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25651 test $ac_status = 0; }; then
25652 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25663 if test $pkg_failed = yes; then
25665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25666 _pkg_short_errors_supported=yes
25668 _pkg_short_errors_supported=no
25670 if test $_pkg_short_errors_supported = yes; then
25671 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25673 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25675 # Put the nasty error message in config.log where it belongs
25676 echo "$PANGOFT2_PKG_ERRORS" >&5
25679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25680 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25681 wxUSE_PRINTING_ARCHITECTURE="no"
25684 elif test $pkg_failed = untried; then
25686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25687 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25688 wxUSE_PRINTING_ARCHITECTURE="no"
25692 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25693 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25695 $as_echo "yes" >&6; }
25697 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25698 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25699 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25705 $as_echo_n "checking for PANGOXFT... " >&6; }
25707 if test -n "$PKG_CONFIG"; then
25708 if test -n "$PANGOXFT_CFLAGS"; then
25709 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25711 if test -n "$PKG_CONFIG" && \
25712 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25713 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25716 test $ac_status = 0; }; then
25717 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25725 if test -n "$PKG_CONFIG"; then
25726 if test -n "$PANGOXFT_LIBS"; then
25727 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25729 if test -n "$PKG_CONFIG" && \
25730 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25731 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25734 test $ac_status = 0; }; then
25735 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25746 if test $pkg_failed = yes; then
25748 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25749 _pkg_short_errors_supported=yes
25751 _pkg_short_errors_supported=no
25753 if test $_pkg_short_errors_supported = yes; then
25754 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25756 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25758 # Put the nasty error message in config.log where it belongs
25759 echo "$PANGOXFT_PKG_ERRORS" >&5
25762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25763 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25766 elif test $pkg_failed = untried; then
25768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25769 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25773 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25774 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25776 $as_echo "yes" >&6; }
25778 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25780 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25781 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25782 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25786 LIBS="$LIBS $PANGOX_LIBS"
25787 for ac_func in pango_font_family_is_monospace
25789 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25790 if test "x$ac_cv_func_pango_font_family_is_monospace" = x""yes; then :
25791 cat >>confdefs.h <<_ACEOF
25792 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25801 wxUSE_UNIVERSAL="yes"
25803 if test "$wxUSE_NANOX" = "yes"; then
25804 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25805 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"
25806 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25808 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25815 if test "$wxUSE_MOTIF" = 1; then
25816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25817 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25820 for ac_dir in $SEARCH_INCLUDE /usr/include
25822 if test -f "$ac_dir/Xm/Xm.h"; then
25823 ac_find_includes=$ac_dir
25828 if test "$ac_find_includes" != "" ; then
25829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25830 $as_echo "found in $ac_find_includes" >&6; }
25832 if test "x$ac_find_includes" = "x/usr/include"; then
25833 ac_path_to_include=""
25835 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25837 if test $result = 0; then
25838 ac_path_to_include=""
25840 ac_path_to_include=" -I$ac_find_includes"
25844 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25846 save_CFLAGS=$CFLAGS
25847 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25850 /* end confdefs.h. */
25859 version = xmUseVersion;
25865 if ac_fn_c_try_compile "$LINENO"; then :
25867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25868 $as_echo "found in default search path" >&6; }
25869 COMPILED_X_PROGRAM=1
25873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25874 $as_echo "no" >&6; }
25875 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25881 CFLAGS=$save_CFLAGS
25885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25886 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25889 for ac_dir in $SEARCH_LIB
25891 for ac_extension in a so sl dylib dll.a; do
25892 if test -f "$ac_dir/libXm.$ac_extension"; then
25893 ac_find_libraries=$ac_dir
25900 if test "x$ac_find_libraries" != "x" ; then
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25902 $as_echo "found in $ac_find_libraries" >&6; }
25905 if test "$ac_find_libraries" = "default location"; then
25908 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25910 if test $result = 0; then
25913 ac_path_to_link=" -L$ac_find_libraries"
25917 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25919 save_CFLAGS=$CFLAGS
25920 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25922 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25925 /* end confdefs.h. */
25934 version = xmUseVersion;
25940 if ac_fn_c_try_link "$LINENO"; then :
25942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25943 $as_echo "found in default search path" >&6; }
25944 COMPILED_X_PROGRAM=1
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25949 $as_echo "no" >&6; }
25950 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25954 rm -f core conftest.err conftest.$ac_objext \
25955 conftest$ac_exeext conftest.$ac_ext
25957 CFLAGS=$save_CFLAGS
25961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25962 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25966 for libp in "" " -lXp"; do
25967 if test "$libs_found" = 0; then
25968 for libsm_ice in "" " -lSM -lICE"; do
25969 if test "$libs_found" = 0; then
25971 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25972 save_CFLAGS=$CFLAGS
25973 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25976 /* end confdefs.h. */
25979 #include <Xm/List.h>
25985 XmString string = NULL;
25988 XmListAddItem(w, string, position);
25994 if ac_fn_c_try_link "$LINENO"; then :
25997 libsm_ice_link="$libsm_ice"
25998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25999 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26003 rm -f core conftest.err conftest.$ac_objext \
26004 conftest$ac_exeext conftest.$ac_ext
26007 CFLAGS=$save_CFLAGS
26013 if test "$libs_found" = 0; then
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26015 $as_echo "can't find the right libraries" >&6; }
26016 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26020 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26021 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then :
26022 $as_echo_n "(cached) " >&6
26024 ac_check_lib_save_LIBS=$LIBS
26026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26027 /* end confdefs.h. */
26029 /* Override any GCC internal prototype to avoid an error.
26030 Use char because int might match the return type of a GCC
26031 builtin and then its argument prototype would still apply. */
26035 char SgCreateList ();
26039 return SgCreateList ();
26044 if ac_fn_c_try_link "$LINENO"; then :
26045 ac_cv_lib_Sgm_SgCreateList=yes
26047 ac_cv_lib_Sgm_SgCreateList=no
26049 rm -f core conftest.err conftest.$ac_objext \
26050 conftest$ac_exeext conftest.$ac_ext
26051 LIBS=$ac_check_lib_save_LIBS
26053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26054 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26055 if test "x$ac_cv_lib_Sgm_SgCreateList" = x""yes; then :
26056 libsgm_link=" -lSgm"
26060 save_CFLAGS=$CFLAGS
26061 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26064 $as_echo_n "checking for Motif 2... " >&6; }
26065 if test "${wx_cv_lib_motif2+set}" = set; then :
26066 $as_echo_n "(cached) " >&6
26068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26069 /* end confdefs.h. */
26077 #if XmVersion < 2000
26085 if ac_fn_c_try_compile "$LINENO"; then :
26086 wx_cv_lib_motif2="yes"
26088 wx_cv_lib_motif2="no"
26090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26093 $as_echo "$wx_cv_lib_motif2" >&6; }
26094 if test "$wx_cv_lib_motif2" = "yes"; then
26095 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26098 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26103 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26104 if test "${wx_cv_lib_lesstif+set}" = set; then :
26105 $as_echo_n "(cached) " >&6
26107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26108 /* end confdefs.h. */
26116 #if !defined(LesstifVersion) || LesstifVersion <= 0
26124 if ac_fn_c_try_compile "$LINENO"; then :
26125 wx_cv_lib_lesstif="yes"
26127 wx_cv_lib_lesstif="no"
26129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26133 $as_echo "$wx_cv_lib_lesstif" >&6; }
26134 if test "$wx_cv_lib_lesstif" = "yes"; then
26135 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26138 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26142 CFLAGS=$save_CFLAGS
26144 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26149 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26150 if test "$wxUSE_LIBXPM" = "sys"; then
26151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26152 $as_echo_n "checking for Xpm library... " >&6; }
26155 for ac_dir in $SEARCH_LIB
26157 for ac_extension in a so sl dylib dll.a; do
26158 if test -f "$ac_dir/libXpm.$ac_extension"; then
26159 ac_find_libraries=$ac_dir
26165 if test "$ac_find_libraries" != "" ; then
26167 if test "$ac_find_libraries" = "default location"; then
26170 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26172 if test $result = 0; then
26175 ac_path_to_link=" -L$ac_find_libraries"
26179 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26181 $as_echo "found in $ac_find_libraries" >&6; }
26183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26184 $as_echo_n "checking for X11/xpm.h... " >&6; }
26185 if test "${wx_cv_x11_xpm_h+set}" = set; then :
26186 $as_echo_n "(cached) " >&6
26189 save_CFLAGS=$CFLAGS
26190 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26193 /* end confdefs.h. */
26195 #include <X11/xpm.h>
26202 version = XpmLibraryVersion();
26208 if ac_fn_c_try_compile "$LINENO"; then :
26209 wx_cv_x11_xpm_h=yes
26214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26216 CFLAGS=$save_CFLAGS
26220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26221 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26223 if test $wx_cv_x11_xpm_h = "yes"; then
26224 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26225 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26229 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26236 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26237 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
26238 $as_echo_n "(cached) " >&6
26240 ac_check_lib_save_LIBS=$LIBS
26241 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26243 /* end confdefs.h. */
26245 /* Override any GCC internal prototype to avoid an error.
26246 Use char because int might match the return type of a GCC
26247 builtin and then its argument prototype would still apply. */
26251 char XShapeQueryExtension ();
26255 return XShapeQueryExtension ();
26260 if ac_fn_c_try_link "$LINENO"; then :
26261 ac_cv_lib_Xext_XShapeQueryExtension=yes
26263 ac_cv_lib_Xext_XShapeQueryExtension=no
26265 rm -f core conftest.err conftest.$ac_objext \
26266 conftest$ac_exeext conftest.$ac_ext
26267 LIBS=$ac_check_lib_save_LIBS
26269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26270 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26271 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then :
26273 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26279 if test "$wxHAVE_XEXT_LIB" = 1; then
26280 save_CFLAGS="$CFLAGS"
26281 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26284 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26286 /* end confdefs.h. */
26288 #include <X11/Xlib.h>
26289 #include <X11/extensions/shape.h>
26295 int dummy1, dummy2;
26296 XShapeQueryExtension((Display*)NULL,
26297 (int*)NULL, (int*)NULL);
26303 if ac_fn_c_try_compile "$LINENO"; then :
26305 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26308 $as_echo "found" >&6; }
26312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26313 $as_echo "not found" >&6; }
26316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26317 CFLAGS="$save_CFLAGS"
26322 if test "$wxUSE_OSX_CARBON" = 1; then
26323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26324 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26325 if test "$GCC" = yes; then
26326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26327 $as_echo "gcc" >&6; }
26328 CPPFLAGS_PASCAL="-fpascal-strings"
26329 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26331 $as_echo "xlc" >&6; }
26332 CPPFLAGS_PASCAL="-qmacpstr"
26334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26335 $as_echo "none" >&6; }
26338 if test "x$wxUSE_UNIX" = "xyes"; then
26339 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26341 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26345 GUIDIST=OSX_CARBON_DIST
26346 WXBASEPORT="_carbon"
26348 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26351 if test "$wxUSE_OSX_COCOA" = 1; then
26353 GUIDIST=OSX_COCOA_DIST
26355 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26358 if test "$wxUSE_OSX_IPHONE" = 1; then
26362 if test "$wxUSE_OLD_COCOA" = 1; then
26367 if test "$wxUSE_PM" = 1; then
26370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26371 $as_echo_n "checking for type SPBCDATA... " >&6; }
26372 if test "${wx_cv_spbcdata+set}" = set; then :
26373 $as_echo_n "(cached) " >&6
26376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26377 /* end confdefs.h. */
26392 if ac_fn_c_try_compile "$LINENO"; then :
26398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26403 $as_echo "$wx_cv_spbcdata" >&6; }
26405 if test $wx_cv_spbcdata = "yes"; then
26406 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26411 if test "$TOOLKIT" = "PM" ; then
26414 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26417 if test "$wxUSE_UNIVERSAL" = "yes"; then
26418 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26422 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26423 DISTDIR="wx\$(TOOLKIT)"
26429 if test "$USE_WIN32" = 1 ; then
26433 GUIDIST="BASE_DIST"
26439 if test "$wxUSE_GUI" = "yes"; then
26440 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26441 for ac_header in X11/Xlib.h
26443 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26445 if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then :
26446 cat >>confdefs.h <<_ACEOF
26447 #define HAVE_X11_XLIB_H 1
26454 for ac_header in X11/XKBlib.h
26456 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26457 #if HAVE_X11_XLIB_H
26458 #include <X11/Xlib.h>
26462 if test "x$ac_cv_header_X11_XKBlib_h" = x""yes; then :
26463 cat >>confdefs.h <<_ACEOF
26464 #define HAVE_X11_XKBLIB_H 1
26477 if test "$wxUSE_DISPLAY" = "yes"; then
26478 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26482 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26485 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26486 if test -n "$ac_tool_prefix"; then
26487 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26488 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26490 $as_echo_n "checking for $ac_word... " >&6; }
26491 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26492 $as_echo_n "(cached) " >&6
26494 case $PKG_CONFIG in
26496 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26500 for as_dir in $PATH
26503 test -z "$as_dir" && as_dir=.
26504 for ac_exec_ext in '' $ac_executable_extensions; do
26505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26506 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26517 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26518 if test -n "$PKG_CONFIG"; then
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26520 $as_echo "$PKG_CONFIG" >&6; }
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26523 $as_echo "no" >&6; }
26528 if test -z "$ac_cv_path_PKG_CONFIG"; then
26529 ac_pt_PKG_CONFIG=$PKG_CONFIG
26530 # Extract the first word of "pkg-config", so it can be a program name with args.
26531 set dummy pkg-config; ac_word=$2
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26533 $as_echo_n "checking for $ac_word... " >&6; }
26534 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26535 $as_echo_n "(cached) " >&6
26537 case $ac_pt_PKG_CONFIG in
26539 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26543 for as_dir in $PATH
26546 test -z "$as_dir" && as_dir=.
26547 for ac_exec_ext in '' $ac_executable_extensions; do
26548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26549 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26560 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26561 if test -n "$ac_pt_PKG_CONFIG"; then
26562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26563 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26566 $as_echo "no" >&6; }
26569 if test "x$ac_pt_PKG_CONFIG" = x; then
26572 case $cross_compiling:$ac_tool_warned in
26574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26576 ac_tool_warned=yes ;;
26578 PKG_CONFIG=$ac_pt_PKG_CONFIG
26581 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26585 if test -n "$PKG_CONFIG"; then
26586 _pkg_min_version=0.9.0
26587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26588 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26589 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26591 $as_echo "yes" >&6; }
26593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26594 $as_echo "no" >&6; }
26601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26602 $as_echo_n "checking for Xinerama... " >&6; }
26604 if test -n "$PKG_CONFIG"; then
26605 if test -n "$Xinerama_CFLAGS"; then
26606 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26608 if test -n "$PKG_CONFIG" && \
26609 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26610 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26613 test $ac_status = 0; }; then
26614 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26622 if test -n "$PKG_CONFIG"; then
26623 if test -n "$Xinerama_LIBS"; then
26624 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26626 if test -n "$PKG_CONFIG" && \
26627 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26628 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26631 test $ac_status = 0; }; then
26632 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26643 if test $pkg_failed = yes; then
26645 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26646 _pkg_short_errors_supported=yes
26648 _pkg_short_errors_supported=no
26650 if test $_pkg_short_errors_supported = yes; then
26651 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26653 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26655 # Put the nasty error message in config.log where it belongs
26656 echo "$Xinerama_PKG_ERRORS" >&5
26659 if test "x$ac_find_libraries" = "x"; then
26660 if test "xXineramaQueryScreens" != "x"; then
26661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26662 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26663 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26664 $as_echo_n "(cached) " >&6
26666 ac_check_lib_save_LIBS=$LIBS
26667 LIBS="-lXinerama $LIBS"
26668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26669 /* end confdefs.h. */
26671 /* Override any GCC internal prototype to avoid an error.
26672 Use char because int might match the return type of a GCC
26673 builtin and then its argument prototype would still apply. */
26677 char XineramaQueryScreens ();
26681 return XineramaQueryScreens ();
26686 if ac_fn_c_try_link "$LINENO"; then :
26687 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26689 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26691 rm -f core conftest.err conftest.$ac_objext \
26692 conftest$ac_exeext conftest.$ac_ext
26693 LIBS=$ac_check_lib_save_LIBS
26695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26696 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26697 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
26698 ac_find_libraries="std"
26704 if test "x$ac_find_libraries" = "x"; then
26705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26706 $as_echo_n "checking elsewhere... " >&6; }
26709 for ac_dir in $SEARCH_LIB
26711 for ac_extension in a so sl dylib dll.a; do
26712 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26713 ac_find_libraries=$ac_dir
26719 if test "x$ac_find_libraries" != "x"; then
26720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26721 $as_echo "yes" >&6; }
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26724 $as_echo "no" >&6; }
26728 elif test $pkg_failed = untried; then
26730 if test "x$ac_find_libraries" = "x"; then
26731 if test "xXineramaQueryScreens" != "x"; then
26732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26733 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26734 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26735 $as_echo_n "(cached) " >&6
26737 ac_check_lib_save_LIBS=$LIBS
26738 LIBS="-lXinerama $LIBS"
26739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26740 /* end confdefs.h. */
26742 /* Override any GCC internal prototype to avoid an error.
26743 Use char because int might match the return type of a GCC
26744 builtin and then its argument prototype would still apply. */
26748 char XineramaQueryScreens ();
26752 return XineramaQueryScreens ();
26757 if ac_fn_c_try_link "$LINENO"; then :
26758 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26760 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26762 rm -f core conftest.err conftest.$ac_objext \
26763 conftest$ac_exeext conftest.$ac_ext
26764 LIBS=$ac_check_lib_save_LIBS
26766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26767 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26768 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
26769 ac_find_libraries="std"
26775 if test "x$ac_find_libraries" = "x"; then
26776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26777 $as_echo_n "checking elsewhere... " >&6; }
26780 for ac_dir in $SEARCH_LIB
26782 for ac_extension in a so sl dylib dll.a; do
26783 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26784 ac_find_libraries=$ac_dir
26790 if test "x$ac_find_libraries" != "x"; then
26791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26792 $as_echo "yes" >&6; }
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26795 $as_echo "no" >&6; }
26800 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26801 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26803 $as_echo "yes" >&6; }
26805 ac_find_libraries="std"
26807 eval ac_find_cflags=\$Xinerama_CFLAGS
26808 eval fl_libs=\$Xinerama_LIBS
26810 for fl_path in $fl_libs
26812 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26813 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26819 if test "$ac_find_libraries" != "" ; then
26820 if test "$ac_find_libraries" != "std" ; then
26822 if test "$ac_find_libraries" = "default location"; then
26825 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26827 if test $result = 0; then
26830 ac_path_to_link=" -L$ac_find_libraries"
26834 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26835 LDFLAGS="$LDFLAGS $ac_path_to_link"
26839 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26842 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26845 elif test "$wxUSE_MSW" = 1; then
26846 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26848 if test "x$ac_cv_header_ddraw_h" = x""yes; then :
26856 if test "$wxUSE_DISPLAY" = "yes"; then
26857 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26861 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26864 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26865 if test -n "$ac_tool_prefix"; then
26866 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26867 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26869 $as_echo_n "checking for $ac_word... " >&6; }
26870 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26871 $as_echo_n "(cached) " >&6
26873 case $PKG_CONFIG in
26875 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26879 for as_dir in $PATH
26882 test -z "$as_dir" && as_dir=.
26883 for ac_exec_ext in '' $ac_executable_extensions; do
26884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26885 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26896 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26897 if test -n "$PKG_CONFIG"; then
26898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26899 $as_echo "$PKG_CONFIG" >&6; }
26901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26902 $as_echo "no" >&6; }
26907 if test -z "$ac_cv_path_PKG_CONFIG"; then
26908 ac_pt_PKG_CONFIG=$PKG_CONFIG
26909 # Extract the first word of "pkg-config", so it can be a program name with args.
26910 set dummy pkg-config; ac_word=$2
26911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26912 $as_echo_n "checking for $ac_word... " >&6; }
26913 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26914 $as_echo_n "(cached) " >&6
26916 case $ac_pt_PKG_CONFIG in
26918 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26922 for as_dir in $PATH
26925 test -z "$as_dir" && as_dir=.
26926 for ac_exec_ext in '' $ac_executable_extensions; do
26927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26928 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26939 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26940 if test -n "$ac_pt_PKG_CONFIG"; then
26941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26942 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26945 $as_echo "no" >&6; }
26948 if test "x$ac_pt_PKG_CONFIG" = x; then
26951 case $cross_compiling:$ac_tool_warned in
26953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26955 ac_tool_warned=yes ;;
26957 PKG_CONFIG=$ac_pt_PKG_CONFIG
26960 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26964 if test -n "$PKG_CONFIG"; then
26965 _pkg_min_version=0.9.0
26966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26967 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26968 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26970 $as_echo "yes" >&6; }
26972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26973 $as_echo "no" >&6; }
26980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26981 $as_echo_n "checking for Xxf86vm... " >&6; }
26983 if test -n "$PKG_CONFIG"; then
26984 if test -n "$Xxf86vm_CFLAGS"; then
26985 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
26987 if test -n "$PKG_CONFIG" && \
26988 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26989 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26992 test $ac_status = 0; }; then
26993 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27001 if test -n "$PKG_CONFIG"; then
27002 if test -n "$Xxf86vm_LIBS"; then
27003 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27005 if test -n "$PKG_CONFIG" && \
27006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27007 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27010 test $ac_status = 0; }; then
27011 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27022 if test $pkg_failed = yes; then
27024 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27025 _pkg_short_errors_supported=yes
27027 _pkg_short_errors_supported=no
27029 if test $_pkg_short_errors_supported = yes; then
27030 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27032 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27034 # Put the nasty error message in config.log where it belongs
27035 echo "$Xxf86vm_PKG_ERRORS" >&5
27038 if test "x$ac_find_libraries" = "x"; then
27039 if test "xXF86VidModeQueryExtension" != "x"; then
27040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27041 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27042 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
27043 $as_echo_n "(cached) " >&6
27045 ac_check_lib_save_LIBS=$LIBS
27046 LIBS="-lXxf86vm $LIBS"
27047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27048 /* end confdefs.h. */
27050 /* Override any GCC internal prototype to avoid an error.
27051 Use char because int might match the return type of a GCC
27052 builtin and then its argument prototype would still apply. */
27056 char XF86VidModeQueryExtension ();
27060 return XF86VidModeQueryExtension ();
27065 if ac_fn_c_try_link "$LINENO"; then :
27066 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27068 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27070 rm -f core conftest.err conftest.$ac_objext \
27071 conftest$ac_exeext conftest.$ac_ext
27072 LIBS=$ac_check_lib_save_LIBS
27074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27075 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27076 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then :
27077 ac_find_libraries="std"
27083 if test "x$ac_find_libraries" = "x"; then
27084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27085 $as_echo_n "checking elsewhere... " >&6; }
27088 for ac_dir in $SEARCH_LIB
27090 for ac_extension in a so sl dylib dll.a; do
27091 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27092 ac_find_libraries=$ac_dir
27098 if test "x$ac_find_libraries" != "x"; then
27099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27100 $as_echo "yes" >&6; }
27102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27103 $as_echo "no" >&6; }
27107 elif test $pkg_failed = untried; then
27109 if test "x$ac_find_libraries" = "x"; then
27110 if test "xXF86VidModeQueryExtension" != "x"; then
27111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27112 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27113 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
27114 $as_echo_n "(cached) " >&6
27116 ac_check_lib_save_LIBS=$LIBS
27117 LIBS="-lXxf86vm $LIBS"
27118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27119 /* end confdefs.h. */
27121 /* Override any GCC internal prototype to avoid an error.
27122 Use char because int might match the return type of a GCC
27123 builtin and then its argument prototype would still apply. */
27127 char XF86VidModeQueryExtension ();
27131 return XF86VidModeQueryExtension ();
27136 if ac_fn_c_try_link "$LINENO"; then :
27137 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27139 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27141 rm -f core conftest.err conftest.$ac_objext \
27142 conftest$ac_exeext conftest.$ac_ext
27143 LIBS=$ac_check_lib_save_LIBS
27145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27146 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27147 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then :
27148 ac_find_libraries="std"
27154 if test "x$ac_find_libraries" = "x"; then
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27156 $as_echo_n "checking elsewhere... " >&6; }
27159 for ac_dir in $SEARCH_LIB
27161 for ac_extension in a so sl dylib dll.a; do
27162 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27163 ac_find_libraries=$ac_dir
27169 if test "x$ac_find_libraries" != "x"; then
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27171 $as_echo "yes" >&6; }
27173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27174 $as_echo "no" >&6; }
27179 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27180 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27182 $as_echo "yes" >&6; }
27184 ac_find_libraries="std"
27186 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27187 eval fl_libs=\$Xxf86vm_LIBS
27189 for fl_path in $fl_libs
27191 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27192 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27198 if test "$ac_find_libraries" != "" ; then
27199 for ac_header in X11/extensions/xf86vmode.h
27201 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27202 #if HAVE_X11_XLIB_H
27203 #include <X11/Xlib.h>
27207 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = x""yes; then :
27208 cat >>confdefs.h <<_ACEOF
27209 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27212 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27222 if test "$wxUSE_DETECT_SM" = "yes"; then
27223 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27227 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27230 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27231 if test -n "$ac_tool_prefix"; then
27232 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27233 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27235 $as_echo_n "checking for $ac_word... " >&6; }
27236 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27237 $as_echo_n "(cached) " >&6
27239 case $PKG_CONFIG in
27241 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27245 for as_dir in $PATH
27248 test -z "$as_dir" && as_dir=.
27249 for ac_exec_ext in '' $ac_executable_extensions; do
27250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27251 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27262 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27263 if test -n "$PKG_CONFIG"; then
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27265 $as_echo "$PKG_CONFIG" >&6; }
27267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27268 $as_echo "no" >&6; }
27273 if test -z "$ac_cv_path_PKG_CONFIG"; then
27274 ac_pt_PKG_CONFIG=$PKG_CONFIG
27275 # Extract the first word of "pkg-config", so it can be a program name with args.
27276 set dummy pkg-config; ac_word=$2
27277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27278 $as_echo_n "checking for $ac_word... " >&6; }
27279 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27280 $as_echo_n "(cached) " >&6
27282 case $ac_pt_PKG_CONFIG in
27284 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27288 for as_dir in $PATH
27291 test -z "$as_dir" && as_dir=.
27292 for ac_exec_ext in '' $ac_executable_extensions; do
27293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27294 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27305 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27306 if test -n "$ac_pt_PKG_CONFIG"; then
27307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27308 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27311 $as_echo "no" >&6; }
27314 if test "x$ac_pt_PKG_CONFIG" = x; then
27317 case $cross_compiling:$ac_tool_warned in
27319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27321 ac_tool_warned=yes ;;
27323 PKG_CONFIG=$ac_pt_PKG_CONFIG
27326 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27330 if test -n "$PKG_CONFIG"; then
27331 _pkg_min_version=0.9.0
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27333 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27334 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27336 $as_echo "yes" >&6; }
27338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27339 $as_echo "no" >&6; }
27346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27347 $as_echo_n "checking for SM... " >&6; }
27349 if test -n "$PKG_CONFIG"; then
27350 if test -n "$SM_CFLAGS"; then
27351 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27353 if test -n "$PKG_CONFIG" && \
27354 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27355 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27358 test $ac_status = 0; }; then
27359 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27367 if test -n "$PKG_CONFIG"; then
27368 if test -n "$SM_LIBS"; then
27369 pkg_cv_SM_LIBS="$SM_LIBS"
27371 if test -n "$PKG_CONFIG" && \
27372 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27373 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27376 test $ac_status = 0; }; then
27377 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27388 if test $pkg_failed = yes; then
27390 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27391 _pkg_short_errors_supported=yes
27393 _pkg_short_errors_supported=no
27395 if test $_pkg_short_errors_supported = yes; then
27396 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27398 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27400 # Put the nasty error message in config.log where it belongs
27401 echo "$SM_PKG_ERRORS" >&5
27404 if test "x$ac_find_libraries" = "x"; then
27405 if test "xSmcOpenConnection" != "x"; then
27406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27407 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27408 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27409 $as_echo_n "(cached) " >&6
27411 ac_check_lib_save_LIBS=$LIBS
27413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27414 /* end confdefs.h. */
27416 /* Override any GCC internal prototype to avoid an error.
27417 Use char because int might match the return type of a GCC
27418 builtin and then its argument prototype would still apply. */
27422 char SmcOpenConnection ();
27426 return SmcOpenConnection ();
27431 if ac_fn_c_try_link "$LINENO"; then :
27432 ac_cv_lib_SM_SmcOpenConnection=yes
27434 ac_cv_lib_SM_SmcOpenConnection=no
27436 rm -f core conftest.err conftest.$ac_objext \
27437 conftest$ac_exeext conftest.$ac_ext
27438 LIBS=$ac_check_lib_save_LIBS
27440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27441 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27442 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then :
27443 ac_find_libraries="std"
27449 if test "x$ac_find_libraries" = "x"; then
27450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27451 $as_echo_n "checking elsewhere... " >&6; }
27454 for ac_dir in $SEARCH_LIB
27456 for ac_extension in a so sl dylib dll.a; do
27457 if test -f "$ac_dir/libSM.$ac_extension"; then
27458 ac_find_libraries=$ac_dir
27464 if test "x$ac_find_libraries" != "x"; then
27465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27466 $as_echo "yes" >&6; }
27468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27469 $as_echo "no" >&6; }
27473 elif test $pkg_failed = untried; then
27475 if test "x$ac_find_libraries" = "x"; then
27476 if test "xSmcOpenConnection" != "x"; then
27477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27478 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27479 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27480 $as_echo_n "(cached) " >&6
27482 ac_check_lib_save_LIBS=$LIBS
27484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27485 /* end confdefs.h. */
27487 /* Override any GCC internal prototype to avoid an error.
27488 Use char because int might match the return type of a GCC
27489 builtin and then its argument prototype would still apply. */
27493 char SmcOpenConnection ();
27497 return SmcOpenConnection ();
27502 if ac_fn_c_try_link "$LINENO"; then :
27503 ac_cv_lib_SM_SmcOpenConnection=yes
27505 ac_cv_lib_SM_SmcOpenConnection=no
27507 rm -f core conftest.err conftest.$ac_objext \
27508 conftest$ac_exeext conftest.$ac_ext
27509 LIBS=$ac_check_lib_save_LIBS
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27512 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27513 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then :
27514 ac_find_libraries="std"
27520 if test "x$ac_find_libraries" = "x"; then
27521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27522 $as_echo_n "checking elsewhere... " >&6; }
27525 for ac_dir in $SEARCH_LIB
27527 for ac_extension in a so sl dylib dll.a; do
27528 if test -f "$ac_dir/libSM.$ac_extension"; then
27529 ac_find_libraries=$ac_dir
27535 if test "x$ac_find_libraries" != "x"; then
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27537 $as_echo "yes" >&6; }
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27540 $as_echo "no" >&6; }
27545 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27546 SM_LIBS=$pkg_cv_SM_LIBS
27547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27548 $as_echo "yes" >&6; }
27550 ac_find_libraries="std"
27552 eval ac_find_cflags=\$SM_CFLAGS
27553 eval fl_libs=\$SM_LIBS
27555 for fl_path in $fl_libs
27557 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27558 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27564 if test "$ac_find_libraries" != "" ; then
27565 if test "$ac_find_libraries" != "std" ; then
27567 if test "$ac_find_libraries" = "default location"; then
27570 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27572 if test $result = 0; then
27575 ac_path_to_link=" -L$ac_find_libraries"
27579 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27580 LDFLAGS="$LDFLAGS $ac_path_to_link"
27583 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27586 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27587 wxUSE_DETECT_SM="no"
27590 wxUSE_DETECT_SM="no"
27597 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27600 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27601 OPENGL_LIBS="-framework OpenGL -framework AGL"
27602 elif test "$wxUSE_MSW" = 1; then
27603 OPENGL_LIBS="-lopengl32 -lglu32"
27604 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27607 $as_echo_n "checking for OpenGL headers... " >&6; }
27610 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27612 if test -f "$ac_dir/GL/gl.h"; then
27613 ac_find_includes=$ac_dir
27618 if test "$ac_find_includes" != "" ; then
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27620 $as_echo "found in $ac_find_includes" >&6; }
27622 if test "x$ac_find_includes" = "x/usr/include"; then
27623 ac_path_to_include=""
27625 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27627 if test $result = 0; then
27628 ac_path_to_include=""
27630 ac_path_to_include=" -I$ac_find_includes"
27634 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27637 $as_echo "not found" >&6; }
27640 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27642 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
27644 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27646 if test "x$ac_cv_header_GL_glu_h" = x""yes; then :
27653 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27656 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27657 if test -n "$ac_tool_prefix"; then
27658 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27659 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27661 $as_echo_n "checking for $ac_word... " >&6; }
27662 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27663 $as_echo_n "(cached) " >&6
27665 case $PKG_CONFIG in
27667 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27671 for as_dir in $PATH
27674 test -z "$as_dir" && as_dir=.
27675 for ac_exec_ext in '' $ac_executable_extensions; do
27676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27677 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27688 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27689 if test -n "$PKG_CONFIG"; then
27690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27691 $as_echo "$PKG_CONFIG" >&6; }
27693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27694 $as_echo "no" >&6; }
27699 if test -z "$ac_cv_path_PKG_CONFIG"; then
27700 ac_pt_PKG_CONFIG=$PKG_CONFIG
27701 # Extract the first word of "pkg-config", so it can be a program name with args.
27702 set dummy pkg-config; ac_word=$2
27703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27704 $as_echo_n "checking for $ac_word... " >&6; }
27705 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27706 $as_echo_n "(cached) " >&6
27708 case $ac_pt_PKG_CONFIG in
27710 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27714 for as_dir in $PATH
27717 test -z "$as_dir" && as_dir=.
27718 for ac_exec_ext in '' $ac_executable_extensions; do
27719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27720 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27731 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27732 if test -n "$ac_pt_PKG_CONFIG"; then
27733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27734 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27737 $as_echo "no" >&6; }
27740 if test "x$ac_pt_PKG_CONFIG" = x; then
27743 case $cross_compiling:$ac_tool_warned in
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27747 ac_tool_warned=yes ;;
27749 PKG_CONFIG=$ac_pt_PKG_CONFIG
27752 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27756 if test -n "$PKG_CONFIG"; then
27757 _pkg_min_version=0.9.0
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27759 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27760 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27762 $as_echo "yes" >&6; }
27764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27765 $as_echo "no" >&6; }
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27773 $as_echo_n "checking for GL... " >&6; }
27775 if test -n "$PKG_CONFIG"; then
27776 if test -n "$GL_CFLAGS"; then
27777 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27779 if test -n "$PKG_CONFIG" && \
27780 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27781 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27784 test $ac_status = 0; }; then
27785 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27793 if test -n "$PKG_CONFIG"; then
27794 if test -n "$GL_LIBS"; then
27795 pkg_cv_GL_LIBS="$GL_LIBS"
27797 if test -n "$PKG_CONFIG" && \
27798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27799 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27802 test $ac_status = 0; }; then
27803 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27814 if test $pkg_failed = yes; then
27816 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27817 _pkg_short_errors_supported=yes
27819 _pkg_short_errors_supported=no
27821 if test $_pkg_short_errors_supported = yes; then
27822 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27824 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27826 # Put the nasty error message in config.log where it belongs
27827 echo "$GL_PKG_ERRORS" >&5
27830 if test "x$ac_find_libraries" = "x"; then
27831 if test "xglBegin" != "x"; then
27832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27833 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27834 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27835 $as_echo_n "(cached) " >&6
27837 ac_check_lib_save_LIBS=$LIBS
27839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27840 /* end confdefs.h. */
27842 /* Override any GCC internal prototype to avoid an error.
27843 Use char because int might match the return type of a GCC
27844 builtin and then its argument prototype would still apply. */
27857 if ac_fn_c_try_link "$LINENO"; then :
27858 ac_cv_lib_GL_glBegin=yes
27860 ac_cv_lib_GL_glBegin=no
27862 rm -f core conftest.err conftest.$ac_objext \
27863 conftest$ac_exeext conftest.$ac_ext
27864 LIBS=$ac_check_lib_save_LIBS
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27867 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27868 if test "x$ac_cv_lib_GL_glBegin" = x""yes; then :
27869 ac_find_libraries="std"
27875 if test "x$ac_find_libraries" = "x"; then
27876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27877 $as_echo_n "checking elsewhere... " >&6; }
27880 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27882 for ac_extension in a so sl dylib dll.a; do
27883 if test -f "$ac_dir/libGL.$ac_extension"; then
27884 ac_find_libraries=$ac_dir
27890 if test "x$ac_find_libraries" != "x"; then
27891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27892 $as_echo "yes" >&6; }
27894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27895 $as_echo "no" >&6; }
27899 elif test $pkg_failed = untried; then
27901 if test "x$ac_find_libraries" = "x"; then
27902 if test "xglBegin" != "x"; then
27903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27904 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27905 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27906 $as_echo_n "(cached) " >&6
27908 ac_check_lib_save_LIBS=$LIBS
27910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27911 /* end confdefs.h. */
27913 /* Override any GCC internal prototype to avoid an error.
27914 Use char because int might match the return type of a GCC
27915 builtin and then its argument prototype would still apply. */
27928 if ac_fn_c_try_link "$LINENO"; then :
27929 ac_cv_lib_GL_glBegin=yes
27931 ac_cv_lib_GL_glBegin=no
27933 rm -f core conftest.err conftest.$ac_objext \
27934 conftest$ac_exeext conftest.$ac_ext
27935 LIBS=$ac_check_lib_save_LIBS
27937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27938 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27939 if test "x$ac_cv_lib_GL_glBegin" = x""yes; then :
27940 ac_find_libraries="std"
27946 if test "x$ac_find_libraries" = "x"; then
27947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27948 $as_echo_n "checking elsewhere... " >&6; }
27951 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27953 for ac_extension in a so sl dylib dll.a; do
27954 if test -f "$ac_dir/libGL.$ac_extension"; then
27955 ac_find_libraries=$ac_dir
27961 if test "x$ac_find_libraries" != "x"; then
27962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27963 $as_echo "yes" >&6; }
27965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27966 $as_echo "no" >&6; }
27971 GL_CFLAGS=$pkg_cv_GL_CFLAGS
27972 GL_LIBS=$pkg_cv_GL_LIBS
27973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27974 $as_echo "yes" >&6; }
27976 ac_find_libraries="std"
27978 eval ac_find_cflags=\$GL_CFLAGS
27979 eval fl_libs=\$GL_LIBS
27981 for fl_path in $fl_libs
27983 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27984 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27990 if test "$ac_find_libraries" != "" ; then
27991 if test "$ac_find_libraries" != "std" ; then
27993 if test "$ac_find_libraries" = "default location"; then
27996 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27998 if test $result = 0; then
28001 ac_path_to_link=" -L$ac_find_libraries"
28005 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28006 LDFLAGS_GL="$ac_path_to_link"
28013 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28016 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28017 if test -n "$ac_tool_prefix"; then
28018 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28019 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28021 $as_echo_n "checking for $ac_word... " >&6; }
28022 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
28023 $as_echo_n "(cached) " >&6
28025 case $PKG_CONFIG in
28027 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28031 for as_dir in $PATH
28034 test -z "$as_dir" && as_dir=.
28035 for ac_exec_ext in '' $ac_executable_extensions; do
28036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28037 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28048 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28049 if test -n "$PKG_CONFIG"; then
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28051 $as_echo "$PKG_CONFIG" >&6; }
28053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28054 $as_echo "no" >&6; }
28059 if test -z "$ac_cv_path_PKG_CONFIG"; then
28060 ac_pt_PKG_CONFIG=$PKG_CONFIG
28061 # Extract the first word of "pkg-config", so it can be a program name with args.
28062 set dummy pkg-config; ac_word=$2
28063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28064 $as_echo_n "checking for $ac_word... " >&6; }
28065 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
28066 $as_echo_n "(cached) " >&6
28068 case $ac_pt_PKG_CONFIG in
28070 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28074 for as_dir in $PATH
28077 test -z "$as_dir" && as_dir=.
28078 for ac_exec_ext in '' $ac_executable_extensions; do
28079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28080 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28091 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28092 if test -n "$ac_pt_PKG_CONFIG"; then
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28094 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28097 $as_echo "no" >&6; }
28100 if test "x$ac_pt_PKG_CONFIG" = x; then
28103 case $cross_compiling:$ac_tool_warned in
28105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28107 ac_tool_warned=yes ;;
28109 PKG_CONFIG=$ac_pt_PKG_CONFIG
28112 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28116 if test -n "$PKG_CONFIG"; then
28117 _pkg_min_version=0.9.0
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28119 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28120 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28122 $as_echo "yes" >&6; }
28124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28125 $as_echo "no" >&6; }
28132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28133 $as_echo_n "checking for GLU... " >&6; }
28135 if test -n "$PKG_CONFIG"; then
28136 if test -n "$GLU_CFLAGS"; then
28137 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28139 if test -n "$PKG_CONFIG" && \
28140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28141 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28144 test $ac_status = 0; }; then
28145 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28153 if test -n "$PKG_CONFIG"; then
28154 if test -n "$GLU_LIBS"; then
28155 pkg_cv_GLU_LIBS="$GLU_LIBS"
28157 if test -n "$PKG_CONFIG" && \
28158 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28159 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28162 test $ac_status = 0; }; then
28163 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28174 if test $pkg_failed = yes; then
28176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28177 _pkg_short_errors_supported=yes
28179 _pkg_short_errors_supported=no
28181 if test $_pkg_short_errors_supported = yes; then
28182 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28184 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28186 # Put the nasty error message in config.log where it belongs
28187 echo "$GLU_PKG_ERRORS" >&5
28190 if test "x$ac_find_libraries" = "x"; then
28191 if test "xgluBeginCurve" != "x"; then
28192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28193 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28194 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
28195 $as_echo_n "(cached) " >&6
28197 ac_check_lib_save_LIBS=$LIBS
28199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28200 /* end confdefs.h. */
28202 /* Override any GCC internal prototype to avoid an error.
28203 Use char because int might match the return type of a GCC
28204 builtin and then its argument prototype would still apply. */
28208 char gluBeginCurve ();
28212 return gluBeginCurve ();
28217 if ac_fn_c_try_link "$LINENO"; then :
28218 ac_cv_lib_GLU_gluBeginCurve=yes
28220 ac_cv_lib_GLU_gluBeginCurve=no
28222 rm -f core conftest.err conftest.$ac_objext \
28223 conftest$ac_exeext conftest.$ac_ext
28224 LIBS=$ac_check_lib_save_LIBS
28226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28227 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28228 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x""yes; then :
28229 ac_find_libraries="std"
28235 if test "x$ac_find_libraries" = "x"; then
28236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28237 $as_echo_n "checking elsewhere... " >&6; }
28240 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28242 for ac_extension in a so sl dylib dll.a; do
28243 if test -f "$ac_dir/libGLU.$ac_extension"; then
28244 ac_find_libraries=$ac_dir
28250 if test "x$ac_find_libraries" != "x"; then
28251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28252 $as_echo "yes" >&6; }
28254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28255 $as_echo "no" >&6; }
28259 elif test $pkg_failed = untried; then
28261 if test "x$ac_find_libraries" = "x"; then
28262 if test "xgluBeginCurve" != "x"; then
28263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28264 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28265 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
28266 $as_echo_n "(cached) " >&6
28268 ac_check_lib_save_LIBS=$LIBS
28270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28271 /* end confdefs.h. */
28273 /* Override any GCC internal prototype to avoid an error.
28274 Use char because int might match the return type of a GCC
28275 builtin and then its argument prototype would still apply. */
28279 char gluBeginCurve ();
28283 return gluBeginCurve ();
28288 if ac_fn_c_try_link "$LINENO"; then :
28289 ac_cv_lib_GLU_gluBeginCurve=yes
28291 ac_cv_lib_GLU_gluBeginCurve=no
28293 rm -f core conftest.err conftest.$ac_objext \
28294 conftest$ac_exeext conftest.$ac_ext
28295 LIBS=$ac_check_lib_save_LIBS
28297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28298 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28299 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x""yes; then :
28300 ac_find_libraries="std"
28306 if test "x$ac_find_libraries" = "x"; then
28307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28308 $as_echo_n "checking elsewhere... " >&6; }
28311 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28313 for ac_extension in a so sl dylib dll.a; do
28314 if test -f "$ac_dir/libGLU.$ac_extension"; then
28315 ac_find_libraries=$ac_dir
28321 if test "x$ac_find_libraries" != "x"; then
28322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28323 $as_echo "yes" >&6; }
28325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28326 $as_echo "no" >&6; }
28331 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28332 GLU_LIBS=$pkg_cv_GLU_LIBS
28333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28334 $as_echo "yes" >&6; }
28336 ac_find_libraries="std"
28338 eval ac_find_cflags=\$GLU_CFLAGS
28339 eval fl_libs=\$GLU_LIBS
28341 for fl_path in $fl_libs
28343 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28344 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28350 if test "$ac_find_libraries" != "" ; then
28351 if test "$ac_find_libraries" != "std" ; then
28353 if test "$ac_find_libraries" = "default location"; then
28356 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28358 if test $result = 0; then
28361 ac_path_to_link=" -L$ac_find_libraries"
28365 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28366 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28367 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28372 OPENGL_LIBS="-lGL -lGLU"
28376 if test "$found_gl" != 1; then
28380 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28383 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28384 if test -n "$ac_tool_prefix"; then
28385 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28386 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28388 $as_echo_n "checking for $ac_word... " >&6; }
28389 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
28390 $as_echo_n "(cached) " >&6
28392 case $PKG_CONFIG in
28394 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28398 for as_dir in $PATH
28401 test -z "$as_dir" && as_dir=.
28402 for ac_exec_ext in '' $ac_executable_extensions; do
28403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28404 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28415 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28416 if test -n "$PKG_CONFIG"; then
28417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28418 $as_echo "$PKG_CONFIG" >&6; }
28420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28421 $as_echo "no" >&6; }
28426 if test -z "$ac_cv_path_PKG_CONFIG"; then
28427 ac_pt_PKG_CONFIG=$PKG_CONFIG
28428 # Extract the first word of "pkg-config", so it can be a program name with args.
28429 set dummy pkg-config; ac_word=$2
28430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28431 $as_echo_n "checking for $ac_word... " >&6; }
28432 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
28433 $as_echo_n "(cached) " >&6
28435 case $ac_pt_PKG_CONFIG in
28437 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28441 for as_dir in $PATH
28444 test -z "$as_dir" && as_dir=.
28445 for ac_exec_ext in '' $ac_executable_extensions; do
28446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28447 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28458 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28459 if test -n "$ac_pt_PKG_CONFIG"; then
28460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28461 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28464 $as_echo "no" >&6; }
28467 if test "x$ac_pt_PKG_CONFIG" = x; then
28470 case $cross_compiling:$ac_tool_warned in
28472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28474 ac_tool_warned=yes ;;
28476 PKG_CONFIG=$ac_pt_PKG_CONFIG
28479 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28483 if test -n "$PKG_CONFIG"; then
28484 _pkg_min_version=0.9.0
28485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28486 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28487 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28489 $as_echo "yes" >&6; }
28491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28492 $as_echo "no" >&6; }
28499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28500 $as_echo_n "checking for MesaGL... " >&6; }
28502 if test -n "$PKG_CONFIG"; then
28503 if test -n "$MesaGL_CFLAGS"; then
28504 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28506 if test -n "$PKG_CONFIG" && \
28507 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28508 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28511 test $ac_status = 0; }; then
28512 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28520 if test -n "$PKG_CONFIG"; then
28521 if test -n "$MesaGL_LIBS"; then
28522 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28524 if test -n "$PKG_CONFIG" && \
28525 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28526 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28529 test $ac_status = 0; }; then
28530 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28541 if test $pkg_failed = yes; then
28543 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28544 _pkg_short_errors_supported=yes
28546 _pkg_short_errors_supported=no
28548 if test $_pkg_short_errors_supported = yes; then
28549 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28551 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28553 # Put the nasty error message in config.log where it belongs
28554 echo "$MesaGL_PKG_ERRORS" >&5
28557 if test "x$ac_find_libraries" = "x"; then
28558 if test "xglEnable" != "x"; then
28559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28560 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28561 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28562 $as_echo_n "(cached) " >&6
28564 ac_check_lib_save_LIBS=$LIBS
28565 LIBS="-lMesaGL $LIBS"
28566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28567 /* end confdefs.h. */
28569 /* Override any GCC internal prototype to avoid an error.
28570 Use char because int might match the return type of a GCC
28571 builtin and then its argument prototype would still apply. */
28579 return glEnable ();
28584 if ac_fn_c_try_link "$LINENO"; then :
28585 ac_cv_lib_MesaGL_glEnable=yes
28587 ac_cv_lib_MesaGL_glEnable=no
28589 rm -f core conftest.err conftest.$ac_objext \
28590 conftest$ac_exeext conftest.$ac_ext
28591 LIBS=$ac_check_lib_save_LIBS
28593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28594 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28595 if test "x$ac_cv_lib_MesaGL_glEnable" = x""yes; then :
28596 ac_find_libraries="std"
28602 if test "x$ac_find_libraries" = "x"; then
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28604 $as_echo_n "checking elsewhere... " >&6; }
28607 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28609 for ac_extension in a so sl dylib dll.a; do
28610 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28611 ac_find_libraries=$ac_dir
28617 if test "x$ac_find_libraries" != "x"; then
28618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28619 $as_echo "yes" >&6; }
28621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28622 $as_echo "no" >&6; }
28626 elif test $pkg_failed = untried; then
28628 if test "x$ac_find_libraries" = "x"; then
28629 if test "xglEnable" != "x"; then
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28631 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28632 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28633 $as_echo_n "(cached) " >&6
28635 ac_check_lib_save_LIBS=$LIBS
28636 LIBS="-lMesaGL $LIBS"
28637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28638 /* end confdefs.h. */
28640 /* Override any GCC internal prototype to avoid an error.
28641 Use char because int might match the return type of a GCC
28642 builtin and then its argument prototype would still apply. */
28650 return glEnable ();
28655 if ac_fn_c_try_link "$LINENO"; then :
28656 ac_cv_lib_MesaGL_glEnable=yes
28658 ac_cv_lib_MesaGL_glEnable=no
28660 rm -f core conftest.err conftest.$ac_objext \
28661 conftest$ac_exeext conftest.$ac_ext
28662 LIBS=$ac_check_lib_save_LIBS
28664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28665 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28666 if test "x$ac_cv_lib_MesaGL_glEnable" = x""yes; then :
28667 ac_find_libraries="std"
28673 if test "x$ac_find_libraries" = "x"; then
28674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28675 $as_echo_n "checking elsewhere... " >&6; }
28678 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28680 for ac_extension in a so sl dylib dll.a; do
28681 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28682 ac_find_libraries=$ac_dir
28688 if test "x$ac_find_libraries" != "x"; then
28689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28690 $as_echo "yes" >&6; }
28692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28693 $as_echo "no" >&6; }
28698 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28699 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28701 $as_echo "yes" >&6; }
28703 ac_find_libraries="std"
28705 eval ac_find_cflags=\$MesaGL_CFLAGS
28706 eval fl_libs=\$MesaGL_LIBS
28708 for fl_path in $fl_libs
28710 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28711 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28717 if test "$ac_find_libraries" != "" ; then
28718 if test "$ac_find_libraries" != "std" ; then
28720 if test "$ac_find_libraries" = "default location"; then
28723 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28725 if test $result = 0; then
28728 ac_path_to_link=" -L$ac_find_libraries"
28732 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28733 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28736 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28748 if test "x$OPENGL_LIBS" = "x"; then
28749 if test "$wxUSE_OPENGL" = "yes"; then
28750 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28753 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28760 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28764 if test "$wxUSE_OPENGL" = "auto"; then
28768 if test "$wxUSE_OPENGL" = "yes"; then
28770 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28772 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28779 if test -n "$TOOLKIT" ; then
28780 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28785 if test "$wxUSE_SHARED" = "yes"; then
28789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28790 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28795 if test "$wxUSE_SHARED" = "yes"; then
28799 *-*-cygwin* | *-*-mingw* )
28800 wx_cv_version_script=no
28804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28805 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28806 if test "${wx_cv_version_script+set}" = set; then :
28807 $as_echo_n "(cached) " >&6
28810 echo "VER_1 { *; };" >conftest.sym
28811 echo "int main() { return 0; }" >conftest.cpp
28814 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28815 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28816 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28817 (eval $ac_try) 2>&5
28819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28820 test $ac_status = 0; }; } ; then
28821 if test -s conftest.stderr ; then
28822 wx_cv_version_script=no
28824 wx_cv_version_script=yes
28827 wx_cv_version_script=no
28830 if test $wx_cv_version_script = yes
28832 echo "struct B { virtual ~B() { } }; \
28833 struct D : public B { }; \
28834 void F() { D d; }" > conftest.cpp
28837 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28838 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28839 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28840 (eval $ac_try) 2>&5
28842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28843 test $ac_status = 0; }; } &&
28845 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28846 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28847 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28848 (eval $ac_try) 2>&5
28850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28851 test $ac_status = 0; }; }
28854 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28855 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28856 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28857 (eval $ac_try) 2>&5
28859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28860 test $ac_status = 0; }; }
28862 wx_cv_version_script=yes
28864 wx_cv_version_script=no
28869 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28870 rm -f conftest1.output conftest2.output conftest3.output
28873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28874 $as_echo "$wx_cv_version_script" >&6; }
28876 if test $wx_cv_version_script = yes ; then
28877 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28883 if test "$wxUSE_VISIBILITY" != "no"; then
28886 if test -n "$GCC"; then
28887 CFLAGS_VISIBILITY="-fvisibility=hidden"
28888 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28890 $as_echo_n "checking for symbols visibility support... " >&6; }
28891 if test "${wx_cv_cc_visibility+set}" = set; then :
28892 $as_echo_n "(cached) " >&6
28895 wx_save_CXXFLAGS="$CXXFLAGS"
28896 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28898 ac_cpp='$CXXCPP $CPPFLAGS'
28899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28904 /* end confdefs.h. */
28906 /* we need gcc >= 4.0, older versions with visibility support
28907 didn't have class visibility: */
28908 #if defined(__GNUC__) && __GNUC__ < 4
28909 error this gcc is too old;
28912 /* visibility only makes sense for ELF shared libs: */
28913 #if !defined(__ELF__) && !defined(__APPLE__)
28914 error this platform has no visibility;
28917 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28918 #if defined(__clang__)
28919 clang compiler is still broken w.r.t. visibility;
28922 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28923 extern __attribute__((__visibility__("default"))) int exportedvar;
28924 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28925 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28926 class __attribute__((__visibility__("default"))) Foo {
28938 if ac_fn_cxx_try_compile "$LINENO"; then :
28939 wx_cv_cc_visibility=yes
28941 wx_cv_cc_visibility=no
28943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28945 ac_cpp='$CPP $CPPFLAGS'
28946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28950 CXXFLAGS="$wx_save_CXXFLAGS"
28953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28954 $as_echo "$wx_cv_cc_visibility" >&6; }
28955 if test $wx_cv_cc_visibility = yes; then
28956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28957 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28958 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then :
28959 $as_echo_n "(cached) " >&6
28962 wx_save_CXXFLAGS="$CXXFLAGS"
28963 wx_save_LDFLAGS="$LDFLAGS"
28964 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28965 LDFLAGS="$LDFLAGS -shared -fPIC"
28967 ac_cpp='$CXXCPP $CPPFLAGS'
28968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28973 /* end confdefs.h. */
28981 std::string s("hello");
28988 if ac_fn_cxx_try_link "$LINENO"; then :
28989 wx_cv_cc_broken_libstdcxx_visibility=no
28991 wx_cv_cc_broken_libstdcxx_visibility=yes
28993 rm -f core conftest.err conftest.$ac_objext \
28994 conftest$ac_exeext conftest.$ac_ext
28996 ac_cpp='$CPP $CPPFLAGS'
28997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29001 CXXFLAGS="$wx_save_CXXFLAGS"
29002 LDFLAGS="$wx_save_LDFLAGS"
29005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29006 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29008 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29010 $as_echo_n "checking whether we can work around it... " >&6; }
29011 if test "${wx_cv_cc_visibility_workaround+set}" = set; then :
29012 $as_echo_n "(cached) " >&6
29016 ac_cpp='$CXXCPP $CPPFLAGS'
29017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29022 /* end confdefs.h. */
29024 #pragma GCC visibility push(default)
29026 #pragma GCC visibility pop
29032 std::string s("hello");
29039 if ac_fn_cxx_try_link "$LINENO"; then :
29040 wx_cv_cc_visibility_workaround=no
29042 wx_cv_cc_visibility_workaround=yes
29044 rm -f core conftest.err conftest.$ac_objext \
29045 conftest$ac_exeext conftest.$ac_ext
29047 ac_cpp='$CPP $CPPFLAGS'
29048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29056 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29058 if test $wx_cv_cc_visibility_workaround = no; then
29059 wx_cv_cc_visibility=no
29064 if test $wx_cv_cc_visibility = yes; then
29065 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29067 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29068 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29072 CFLAGS_VISIBILITY=""
29073 CXXFLAGS_VISIBILITY=""
29081 if test "x$SUNCXX" = xyes; then
29082 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29083 WXCONFIG_RPATH="-R\$libdir"
29086 *-*-linux* | *-*-gnu* )
29087 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29088 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29093 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29095 saveLdflags="$LDFLAGS"
29096 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29098 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29100 /* end confdefs.h. */
29110 if ac_fn_c_try_link "$LINENO"; then :
29112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29113 $as_echo "yes" >&6; }
29114 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29115 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29120 $as_echo "no" >&6; }
29121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29122 $as_echo_n "checking if the linker accepts -R... " >&6; }
29123 LDFLAGS="$saveLdflags -Wl,-R,/"
29124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29125 /* end confdefs.h. */
29135 if ac_fn_c_try_link "$LINENO"; then :
29137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29138 $as_echo "yes" >&6; }
29139 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29140 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29145 $as_echo "no" >&6; }
29148 rm -f core conftest.err conftest.$ac_objext \
29149 conftest$ac_exeext conftest.$ac_ext
29152 rm -f core conftest.err conftest.$ac_objext \
29153 conftest$ac_exeext conftest.$ac_ext
29154 LDFLAGS="$saveLdflags"
29158 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29159 if test "$install_name_tool" -a -x "$install_name_tool"; then
29160 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29161 cat <<EOF >change-install-names
29163 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29164 for i in \${libnames} ; do
29165 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29166 for dep in \${libnames} ; do
29167 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29171 chmod +x change-install-names
29172 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29175 HEADER_PAD_OPTION="-headerpad_max_install_names"
29178 *-*-cygwin* | *-*-mingw32* )
29182 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29183 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29189 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29191 if test $wxUSE_RPATH = "no"; then
29192 SAMPLES_RPATH_FLAG=''
29193 DYLIB_PATH_POSTLINK=''
29201 config_linkage_component="-static"
29208 lib_unicode_suffix=
29210 if test "$wxUSE_UNICODE" = "yes"; then
29211 lib_unicode_suffix=u
29212 WX_CHARTYPE="unicode"
29216 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29217 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29220 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29224 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29226 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29228 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29231 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29232 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29234 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29236 if test "${TOOLKIT_DIR}" = "os2"; then
29237 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29239 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29244 if test "$wxUSE_OLD_COCOA" = 1; then
29247 ac_cpp='$CPP $CPPFLAGS'
29248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29255 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29257 /* end confdefs.h. */
29258 #include <AppKit/NSEvent.h>
29259 #include <CoreFoundation/CoreFoundation.h>
29269 if ac_fn_c_try_compile "$LINENO"; then :
29270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29271 $as_echo "no" >&6; }
29273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29274 $as_echo "yes" >&6; }
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29276 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29278 /* end confdefs.h. */
29279 #define __Point__ 1
29280 #include <AppKit/NSEvent.h>
29281 #include <CoreFoundation/CoreFoundation.h>
29291 if ac_fn_c_try_compile "$LINENO"; then :
29292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29293 $as_echo "yes" >&6; }
29294 $as_echo "#define __Point__ 1" >>confdefs.h
29298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29301 See \`config.log' for more details" "$LINENO" 5; }
29304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29309 ac_cpp='$CPP $CPPFLAGS'
29310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29317 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29318 if test "x$ac_cv_type_mode_t" = x""yes; then :
29322 cat >>confdefs.h <<_ACEOF
29328 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29329 if test "x$ac_cv_type_off_t" = x""yes; then :
29333 cat >>confdefs.h <<_ACEOF
29334 #define off_t long int
29339 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29340 if test "x$ac_cv_type_pid_t" = x""yes; then :
29344 cat >>confdefs.h <<_ACEOF
29350 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29351 if test "x$ac_cv_type_size_t" = x""yes; then :
29355 cat >>confdefs.h <<_ACEOF
29356 #define size_t unsigned int
29362 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29363 if test "x$ac_cv_type_ssize_t" = x""yes; then :
29365 cat >>confdefs.h <<_ACEOF
29366 #define HAVE_SSIZE_T 1
29374 ac_cpp='$CXXCPP $CPPFLAGS'
29375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29379 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29380 if test "${wx_cv_size_t_is_uint+set}" = set; then :
29381 $as_echo_n "(cached) " >&6
29384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29385 /* end confdefs.h. */
29386 #include <stddef.h>
29393 struct Foo { void foo(size_t); void foo(unsigned int); };
29401 if ac_fn_cxx_try_compile "$LINENO"; then :
29402 wx_cv_size_t_is_uint=no
29404 wx_cv_size_t_is_uint=yes
29407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29412 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29414 if test "$wx_cv_size_t_is_uint" = "yes"; then
29415 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29419 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29420 if test "${wx_cv_size_t_is_ulong+set}" = set; then :
29421 $as_echo_n "(cached) " >&6
29423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29424 /* end confdefs.h. */
29425 #include <stddef.h>
29432 struct Foo { void foo(size_t); void foo(unsigned long); };
29440 if ac_fn_cxx_try_compile "$LINENO"; then :
29441 wx_cv_size_t_is_ulong=no
29443 wx_cv_size_t_is_ulong=yes
29446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29450 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29452 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29453 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29459 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29460 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then :
29461 $as_echo_n "(cached) " >&6
29463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29464 /* end confdefs.h. */
29472 struct Foo { void foo(wchar_t);
29473 void foo(unsigned short);
29474 void foo(unsigned int);
29475 void foo(unsigned long); };
29483 if ac_fn_cxx_try_compile "$LINENO"; then :
29484 wx_cv_wchar_t_is_separate_type=yes
29486 wx_cv_wchar_t_is_separate_type=no
29489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29493 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29495 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29496 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29499 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29504 ac_cpp='$CPP $CPPFLAGS'
29505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29511 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29512 if test "${wx_cv_struct_pw_gecos+set}" = set; then :
29513 $as_echo_n "(cached) " >&6
29516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29517 /* end confdefs.h. */
29531 if ac_fn_c_try_compile "$LINENO"; then :
29533 wx_cv_struct_pw_gecos=yes
29537 wx_cv_struct_pw_gecos=no
29541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29546 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29548 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29549 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29556 for ac_func in wcslen
29558 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29559 if test "x$ac_cv_func_wcslen" = x""yes; then :
29560 cat >>confdefs.h <<_ACEOF
29561 #define HAVE_WCSLEN 1
29568 if test "$WCSLEN_FOUND" = 0; then
29569 if test "$TOOLKIT" = "MSW"; then
29570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29571 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29572 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then :
29573 $as_echo_n "(cached) " >&6
29575 ac_check_lib_save_LIBS=$LIBS
29576 LIBS="-lmsvcrt $LIBS"
29577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29578 /* end confdefs.h. */
29580 /* Override any GCC internal prototype to avoid an error.
29581 Use char because int might match the return type of a GCC
29582 builtin and then its argument prototype would still apply. */
29595 if ac_fn_c_try_link "$LINENO"; then :
29596 ac_cv_lib_msvcrt_wcslen=yes
29598 ac_cv_lib_msvcrt_wcslen=no
29600 rm -f core conftest.err conftest.$ac_objext \
29601 conftest$ac_exeext conftest.$ac_ext
29602 LIBS=$ac_check_lib_save_LIBS
29604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29605 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29606 if test "x$ac_cv_lib_msvcrt_wcslen" = x""yes; then :
29611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29612 $as_echo_n "checking for wcslen in -lw... " >&6; }
29613 if test "${ac_cv_lib_w_wcslen+set}" = set; then :
29614 $as_echo_n "(cached) " >&6
29616 ac_check_lib_save_LIBS=$LIBS
29618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29619 /* end confdefs.h. */
29621 /* Override any GCC internal prototype to avoid an error.
29622 Use char because int might match the return type of a GCC
29623 builtin and then its argument prototype would still apply. */
29636 if ac_fn_c_try_link "$LINENO"; then :
29637 ac_cv_lib_w_wcslen=yes
29639 ac_cv_lib_w_wcslen=no
29641 rm -f core conftest.err conftest.$ac_objext \
29642 conftest$ac_exeext conftest.$ac_ext
29643 LIBS=$ac_check_lib_save_LIBS
29645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29646 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29647 if test "x$ac_cv_lib_w_wcslen" = x""yes; then :
29657 if test "$WCSLEN_FOUND" = 1; then
29658 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29662 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29665 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29666 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29667 cat >>confdefs.h <<_ACEOF
29668 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29675 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29676 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29679 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29681 if test "x$ac_cv_type_mbstate_t" = x""yes; then :
29683 cat >>confdefs.h <<_ACEOF
29684 #define HAVE_MBSTATE_T 1
29687 for ac_func in wcsrtombs
29689 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29690 if test "x$ac_cv_func_wcsrtombs" = x""yes; then :
29691 cat >>confdefs.h <<_ACEOF
29692 #define HAVE_WCSRTOMBS 1
29701 for ac_func in snprintf vsnprintf vsscanf
29703 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29705 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29706 cat >>confdefs.h <<_ACEOF
29707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29715 ac_cpp='$CXXCPP $CPPFLAGS'
29716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29720 if test "$ac_cv_func_vsnprintf" = "yes"; then
29721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29722 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29723 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then :
29724 $as_echo_n "(cached) " >&6
29727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29728 /* end confdefs.h. */
29731 #include <stdarg.h>
29739 vsnprintf(buf, 10u, "%s", ap);
29745 if ac_fn_cxx_try_compile "$LINENO"; then :
29746 wx_cv_func_vsnprintf_decl=yes
29748 wx_cv_func_vsnprintf_decl=no
29751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29756 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29758 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29759 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29763 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29764 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then :
29765 $as_echo_n "(cached) " >&6
29768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29769 /* end confdefs.h. */
29772 #include <stdarg.h>
29774 #if __MSL__ >= 0x6000
29776 using namespace std;
29786 const char *fmt = "%s";
29787 vsnprintf(buf, 10u, fmt, ap);
29793 if ac_fn_cxx_try_compile "$LINENO"; then :
29794 wx_cv_func_broken_vsnprintf_decl=no
29796 wx_cv_func_broken_vsnprintf_decl=yes
29799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29804 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29806 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29807 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29813 if test "$ac_cv_func_snprintf" = "yes"; then
29814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29815 $as_echo_n "checking for snprintf declaration... " >&6; }
29816 if test "${wx_cv_func_snprintf_decl+set}" = set; then :
29817 $as_echo_n "(cached) " >&6
29820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29821 /* end confdefs.h. */
29824 #include <stdarg.h>
29826 #if __MSL__ >= 0x6000
29828 using namespace std;
29837 snprintf(buf, 10u, "%s", "wx");
29843 if ac_fn_cxx_try_compile "$LINENO"; then :
29844 wx_cv_func_snprintf_decl=yes
29846 wx_cv_func_snprintf_decl=no
29849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29854 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29856 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29857 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29861 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29864 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29865 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then :
29866 $as_echo_n "(cached) " >&6
29869 if test "$cross_compiling" = yes; then :
29871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29872 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29873 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29874 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29875 wx_cv_func_snprintf_pos_params=no
29879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29880 /* end confdefs.h. */
29887 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29888 if (strcmp ("2 3 1", buffer) == 0)
29894 if ac_fn_cxx_try_run "$LINENO"; then :
29895 wx_cv_func_snprintf_pos_params=no
29897 wx_cv_func_snprintf_pos_params=yes
29899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29900 conftest.$ac_objext conftest.beam conftest.$ac_ext
29906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29907 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29909 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29910 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29916 if test "$ac_cv_func_vsscanf" = "yes"; then
29917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29918 $as_echo_n "checking for vsscanf declaration... " >&6; }
29919 if test "${wx_cv_func_vsscanf_decl+set}" = set; then :
29920 $as_echo_n "(cached) " >&6
29923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29924 /* end confdefs.h. */
29927 #include <stdarg.h>
29929 #if __MSL__ >= 0x6000
29931 using namespace std;
29941 vsscanf(buf, "%s", args);
29947 if ac_fn_cxx_try_compile "$LINENO"; then :
29948 wx_cv_func_vsscanf_decl=yes
29950 wx_cv_func_vsscanf_decl=no
29953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29958 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29960 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29961 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29966 ac_cpp='$CPP $CPPFLAGS'
29967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29972 if test "$wxUSE_UNICODE" = yes; then
29974 wchar_headers="#include <stdio.h>
29975 #include <wchar.h>"
29978 for ac_header in widec.h
29980 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29982 if test "x$ac_cv_header_widec_h" = x""yes; then :
29983 cat >>confdefs.h <<_ACEOF
29984 #define HAVE_WIDEC_H 1
29991 if test "$ac_cv_header_widec_h" = "yes"; then
29992 wchar_headers="$wchar_headers
29993 #include <widec.h>"
29998 for wx_func in putws fputws wprintf vswprintf vswscanf
30000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30001 $as_echo_n "checking for $wx_func... " >&6; }
30002 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30003 $as_echo_n "(cached) " >&6
30006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30007 /* end confdefs.h. */
30011 $ac_includes_default
30027 if ac_fn_c_try_link "$LINENO"; then :
30028 eval wx_cv_func_$wx_func=yes
30030 eval wx_cv_func_$wx_func=no
30032 rm -f core conftest.err conftest.$ac_objext \
30033 conftest$ac_exeext conftest.$ac_ext
30036 eval ac_res=\$wx_cv_func_$wx_func
30037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30038 $as_echo "$ac_res" >&6; }
30040 if eval test \$wx_cv_func_$wx_func = yes
30042 cat >>confdefs.h <<_ACEOF
30043 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30055 $as_echo_n "checking for _vsnwprintf... " >&6; }
30056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30057 /* end confdefs.h. */
30067 if ac_fn_c_try_compile "$LINENO"; then :
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30069 $as_echo "yes" >&6; }
30070 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30074 $as_echo "no" >&6; }
30076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30079 if test "$wxUSE_FILE" = "yes"; then
30081 for wx_func in fsync
30083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30084 $as_echo_n "checking for $wx_func... " >&6; }
30085 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30086 $as_echo_n "(cached) " >&6
30089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30090 /* end confdefs.h. */
30094 $ac_includes_default
30110 if ac_fn_c_try_link "$LINENO"; then :
30111 eval wx_cv_func_$wx_func=yes
30113 eval wx_cv_func_$wx_func=no
30115 rm -f core conftest.err conftest.$ac_objext \
30116 conftest$ac_exeext conftest.$ac_ext
30119 eval ac_res=\$wx_cv_func_$wx_func
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30121 $as_echo "$ac_res" >&6; }
30123 if eval test \$wx_cv_func_$wx_func = yes
30125 cat >>confdefs.h <<_ACEOF
30126 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30139 ac_cpp='$CXXCPP $CPPFLAGS'
30140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30145 for wx_func in round
30147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30148 $as_echo_n "checking for $wx_func... " >&6; }
30149 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30150 $as_echo_n "(cached) " >&6
30153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30154 /* end confdefs.h. */
30158 $ac_includes_default
30174 if ac_fn_cxx_try_link "$LINENO"; then :
30175 eval wx_cv_func_$wx_func=yes
30177 eval wx_cv_func_$wx_func=no
30179 rm -f core conftest.err conftest.$ac_objext \
30180 conftest$ac_exeext conftest.$ac_ext
30183 eval ac_res=\$wx_cv_func_$wx_func
30184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30185 $as_echo "$ac_res" >&6; }
30187 if eval test \$wx_cv_func_$wx_func = yes
30189 cat >>confdefs.h <<_ACEOF
30190 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30201 ac_cpp='$CPP $CPPFLAGS'
30202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30207 if test "$TOOLKIT" != "MSW"; then
30209 if test "$wxUSE_LIBICONV" != "no" ; then
30213 # Check whether --with-libiconv-prefix was given.
30214 if test "${with_libiconv_prefix+set}" = set; then :
30215 withval=$with_libiconv_prefix;
30216 for dir in `echo "$withval" | tr : ' '`; do
30217 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30218 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30225 $as_echo_n "checking for iconv... " >&6; }
30226 if test "${am_cv_func_iconv+set}" = set; then :
30227 $as_echo_n "(cached) " >&6
30230 am_cv_func_iconv="no, consider installing GNU libiconv"
30232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30233 /* end confdefs.h. */
30234 #include <stdlib.h>
30239 iconv_t cd = iconv_open("","");
30240 iconv(cd,NULL,NULL,NULL,NULL);
30246 if ac_fn_c_try_link "$LINENO"; then :
30247 am_cv_func_iconv=yes
30249 rm -f core conftest.err conftest.$ac_objext \
30250 conftest$ac_exeext conftest.$ac_ext
30251 if test "$am_cv_func_iconv" != yes; then
30252 am_save_LIBS="$LIBS"
30253 LIBS="$LIBS -liconv"
30254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30255 /* end confdefs.h. */
30256 #include <stdlib.h>
30261 iconv_t cd = iconv_open("","");
30262 iconv(cd,NULL,NULL,NULL,NULL);
30268 if ac_fn_c_try_link "$LINENO"; then :
30269 am_cv_lib_iconv=yes
30270 am_cv_func_iconv=yes
30272 rm -f core conftest.err conftest.$ac_objext \
30273 conftest$ac_exeext conftest.$ac_ext
30274 LIBS="$am_save_LIBS"
30278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30279 $as_echo "$am_cv_func_iconv" >&6; }
30280 if test "$am_cv_func_iconv" = yes; then
30282 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30285 $as_echo_n "checking if iconv needs const... " >&6; }
30286 if test "${wx_cv_func_iconv_const+set}" = set; then :
30287 $as_echo_n "(cached) " >&6
30289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30290 /* end confdefs.h. */
30292 #include <stdlib.h>
30298 #if defined(__STDC__) || defined(__cplusplus)
30299 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30312 if ac_fn_c_try_compile "$LINENO"; then :
30313 wx_cv_func_iconv_const="no"
30315 wx_cv_func_iconv_const="yes"
30318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30322 $as_echo "$wx_cv_func_iconv_const" >&6; }
30325 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30326 iconv_const="const"
30330 cat >>confdefs.h <<_ACEOF
30331 #define ICONV_CONST $iconv_const
30336 if test "$am_cv_lib_iconv" = yes; then
30341 LIBS="$LIBICONV $LIBS"
30344 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30345 for ac_func in sigaction
30347 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30348 if test "x$ac_cv_func_sigaction" = x""yes; then :
30349 cat >>confdefs.h <<_ACEOF
30350 #define HAVE_SIGACTION 1
30357 if test "$ac_cv_func_sigaction" = "no"; then
30358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30359 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30360 wxUSE_ON_FATAL_EXCEPTION=no
30363 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30365 $as_echo_n "checking for sa_handler type... " >&6; }
30366 if test "${wx_cv_type_sa_handler+set}" = set; then :
30367 $as_echo_n "(cached) " >&6
30371 ac_cpp='$CXXCPP $CPPFLAGS'
30372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30377 /* end confdefs.h. */
30378 #include <signal.h>
30383 extern void testSigHandler(int);
30385 struct sigaction sa;
30386 sa.sa_handler = testSigHandler;
30392 if ac_fn_cxx_try_compile "$LINENO"; then :
30394 wx_cv_type_sa_handler=int
30398 wx_cv_type_sa_handler=void
30401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30403 ac_cpp='$CPP $CPPFLAGS'
30404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30411 $as_echo "$wx_cv_type_sa_handler" >&6; }
30413 cat >>confdefs.h <<_ACEOF
30414 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30420 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30422 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30423 if test "${wx_cv_func_backtrace+set}" = set; then :
30424 $as_echo_n "(cached) " >&6
30428 ac_cpp='$CXXCPP $CPPFLAGS'
30429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434 /* end confdefs.h. */
30435 #include <execinfo.h>
30443 backtrace(trace, 1);
30444 messages = backtrace_symbols(trace, 1);
30450 if ac_fn_cxx_try_compile "$LINENO"; then :
30451 wx_cv_func_backtrace=yes
30453 wx_cv_func_backtrace=no
30456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30458 ac_cpp='$CPP $CPPFLAGS'
30459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30467 $as_echo "$wx_cv_func_backtrace" >&6; }
30470 if test "$wx_cv_func_backtrace" = "no"; then
30471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30472 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30473 wxUSE_STACKWALKER=no
30475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30476 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30477 if test "${wx_cv_func_cxa_demangle+set}" = set; then :
30478 $as_echo_n "(cached) " >&6
30482 ac_cpp='$CXXCPP $CPPFLAGS'
30483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30488 /* end confdefs.h. */
30489 #include <cxxabi.h>
30495 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30501 if ac_fn_cxx_try_link "$LINENO"; then :
30502 wx_cv_func_cxa_demangle=yes
30504 wx_cv_func_cxa_demangle=no
30507 rm -f core conftest.err conftest.$ac_objext \
30508 conftest$ac_exeext conftest.$ac_ext
30510 ac_cpp='$CPP $CPPFLAGS'
30511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30519 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30521 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30522 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30528 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30530 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30531 wxUSE_STACKWALKER=no
30535 for ac_func in mkstemp mktemp
30537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30539 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30540 cat >>confdefs.h <<_ACEOF
30541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30549 $as_echo_n "checking for statfs... " >&6; }
30550 if test "${wx_cv_func_statfs+set}" = set; then :
30551 $as_echo_n "(cached) " >&6
30553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30554 /* end confdefs.h. */
30556 #if defined(__BSD__)
30557 #include <sys/param.h>
30558 #include <sys/mount.h>
30560 #include <sys/vfs.h>
30578 if ac_fn_c_try_compile "$LINENO"; then :
30579 wx_cv_func_statfs=yes
30581 wx_cv_func_statfs=no
30584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30588 $as_echo "$wx_cv_func_statfs" >&6; }
30590 if test "$wx_cv_func_statfs" = "yes"; then
30591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30592 $as_echo_n "checking for statfs declaration... " >&6; }
30593 if test "${wx_cv_func_statfs_decl+set}" = set; then :
30594 $as_echo_n "(cached) " >&6
30597 ac_cpp='$CXXCPP $CPPFLAGS'
30598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30603 /* end confdefs.h. */
30605 #if defined(__BSD__)
30606 #include <sys/param.h>
30607 #include <sys/mount.h>
30609 #include <sys/vfs.h>
30623 if ac_fn_cxx_try_compile "$LINENO"; then :
30624 wx_cv_func_statfs_decl=yes
30626 wx_cv_func_statfs_decl=no
30629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30631 ac_cpp='$CPP $CPPFLAGS'
30632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30639 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30641 if test "$wx_cv_func_statfs_decl" = "yes"; then
30642 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30646 wx_cv_type_statvfs_t="struct statfs"
30647 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30651 $as_echo_n "checking for statvfs... " >&6; }
30652 if test "${wx_cv_func_statvfs+set}" = set; then :
30653 $as_echo_n "(cached) " >&6
30655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30656 /* end confdefs.h. */
30658 #include <stddef.h>
30659 #include <sys/statvfs.h>
30665 statvfs("/", NULL);
30671 if ac_fn_c_try_compile "$LINENO"; then :
30672 wx_cv_func_statvfs=yes
30674 wx_cv_func_statvfs=no
30677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30681 $as_echo "$wx_cv_func_statvfs" >&6; }
30683 if test "$wx_cv_func_statvfs" = "yes"; then
30684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30685 $as_echo_n "checking for statvfs argument type... " >&6; }
30686 if test "${wx_cv_type_statvfs_t+set}" = set; then :
30687 $as_echo_n "(cached) " >&6
30690 ac_cpp='$CXXCPP $CPPFLAGS'
30691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30696 /* end confdefs.h. */
30698 #include <sys/statvfs.h>
30715 if ac_fn_cxx_try_compile "$LINENO"; then :
30716 wx_cv_type_statvfs_t=statvfs_t
30719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30720 /* end confdefs.h. */
30722 #include <sys/statvfs.h>
30739 if ac_fn_cxx_try_compile "$LINENO"; then :
30740 wx_cv_type_statvfs_t="struct statvfs"
30742 wx_cv_type_statvfs_t="unknown"
30745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30751 ac_cpp='$CPP $CPPFLAGS'
30752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30759 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30761 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30762 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30766 wx_cv_type_statvfs_t="unknown"
30770 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30771 cat >>confdefs.h <<_ACEOF
30772 #define WX_STATFS_T $wx_cv_type_statvfs_t
30776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30777 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30780 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30781 for ac_func in fcntl flock
30783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30785 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30786 cat >>confdefs.h <<_ACEOF
30787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30794 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30796 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30797 wxUSE_SNGLINST_CHECKER=no
30801 for ac_func in setenv putenv
30803 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30804 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30805 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30806 cat >>confdefs.h <<_ACEOF
30807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30813 if test "$ac_cv_func_setenv" = "yes"; then
30814 for ac_func in unsetenv
30816 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30817 if test "x$ac_cv_func_unsetenv" = x""yes; then :
30818 cat >>confdefs.h <<_ACEOF
30819 #define HAVE_UNSETENV 1
30827 HAVE_SOME_SLEEP_FUNC=0
30828 if test "$USE_BEOS" = 1; then
30829 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30831 HAVE_SOME_SLEEP_FUNC=1
30834 if test "$USE_DARWIN" = 1; then
30835 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30837 HAVE_SOME_SLEEP_FUNC=1
30840 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30842 for ac_func in nanosleep
30844 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30845 if test "x$ac_cv_func_nanosleep" = x""yes; then :
30846 cat >>confdefs.h <<_ACEOF
30847 #define HAVE_NANOSLEEP 1
30849 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30854 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30855 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then :
30856 $as_echo_n "(cached) " >&6
30858 ac_check_lib_save_LIBS=$LIBS
30859 LIBS="-lposix4 $LIBS"
30860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30861 /* end confdefs.h. */
30863 /* Override any GCC internal prototype to avoid an error.
30864 Use char because int might match the return type of a GCC
30865 builtin and then its argument prototype would still apply. */
30873 return nanosleep ();
30878 if ac_fn_c_try_link "$LINENO"; then :
30879 ac_cv_lib_posix4_nanosleep=yes
30881 ac_cv_lib_posix4_nanosleep=no
30883 rm -f core conftest.err conftest.$ac_objext \
30884 conftest$ac_exeext conftest.$ac_ext
30885 LIBS=$ac_check_lib_save_LIBS
30887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30888 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30889 if test "x$ac_cv_lib_posix4_nanosleep" = x""yes; then :
30891 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30893 POSIX4_LINK=" -lposix4"
30898 for wx_func in usleep
30900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30901 $as_echo_n "checking for $wx_func... " >&6; }
30902 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30903 $as_echo_n "(cached) " >&6
30906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30907 /* end confdefs.h. */
30911 $ac_includes_default
30927 if ac_fn_c_try_link "$LINENO"; then :
30928 eval wx_cv_func_$wx_func=yes
30930 eval wx_cv_func_$wx_func=no
30932 rm -f core conftest.err conftest.$ac_objext \
30933 conftest$ac_exeext conftest.$ac_ext
30936 eval ac_res=\$wx_cv_func_$wx_func
30937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30938 $as_echo "$ac_res" >&6; }
30940 if eval test \$wx_cv_func_$wx_func = yes
30942 cat >>confdefs.h <<_ACEOF
30943 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30950 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30967 for wx_func in uname
30969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30970 $as_echo_n "checking for $wx_func... " >&6; }
30971 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30972 $as_echo_n "(cached) " >&6
30975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30976 /* end confdefs.h. */
30979 #include <sys/utsname.h>
30980 $ac_includes_default
30996 if ac_fn_c_try_link "$LINENO"; then :
30997 eval wx_cv_func_$wx_func=yes
30999 eval wx_cv_func_$wx_func=no
31001 rm -f core conftest.err conftest.$ac_objext \
31002 conftest$ac_exeext conftest.$ac_ext
31005 eval ac_res=\$wx_cv_func_$wx_func
31006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31007 $as_echo "$ac_res" >&6; }
31009 if eval test \$wx_cv_func_$wx_func = yes
31011 cat >>confdefs.h <<_ACEOF
31012 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31022 if test "$wx_cv_func_uname" != yes; then
31024 for wx_func in gethostname
31026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31027 $as_echo_n "checking for $wx_func... " >&6; }
31028 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31029 $as_echo_n "(cached) " >&6
31032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31033 /* end confdefs.h. */
31037 $ac_includes_default
31053 if ac_fn_c_try_link "$LINENO"; then :
31054 eval wx_cv_func_$wx_func=yes
31056 eval wx_cv_func_$wx_func=no
31058 rm -f core conftest.err conftest.$ac_objext \
31059 conftest$ac_exeext conftest.$ac_ext
31062 eval ac_res=\$wx_cv_func_$wx_func
31063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31064 $as_echo "$ac_res" >&6; }
31066 if eval test \$wx_cv_func_$wx_func = yes
31068 cat >>confdefs.h <<_ACEOF
31069 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31082 for wx_func in strtok_r
31084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31085 $as_echo_n "checking for $wx_func... " >&6; }
31086 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31087 $as_echo_n "(cached) " >&6
31090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31091 /* end confdefs.h. */
31095 $ac_includes_default
31111 if ac_fn_c_try_link "$LINENO"; then :
31112 eval wx_cv_func_$wx_func=yes
31114 eval wx_cv_func_$wx_func=no
31116 rm -f core conftest.err conftest.$ac_objext \
31117 conftest$ac_exeext conftest.$ac_ext
31120 eval ac_res=\$wx_cv_func_$wx_func
31121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31122 $as_echo "$ac_res" >&6; }
31124 if eval test \$wx_cv_func_$wx_func = yes
31126 cat >>confdefs.h <<_ACEOF
31127 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31139 for ac_func in inet_addr
31141 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31142 if test "x$ac_cv_func_inet_addr" = x""yes; then :
31143 cat >>confdefs.h <<_ACEOF
31144 #define HAVE_INET_ADDR 1
31146 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31151 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31152 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then :
31153 $as_echo_n "(cached) " >&6
31155 ac_check_lib_save_LIBS=$LIBS
31157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31158 /* end confdefs.h. */
31160 /* Override any GCC internal prototype to avoid an error.
31161 Use char because int might match the return type of a GCC
31162 builtin and then its argument prototype would still apply. */
31170 return inet_addr ();
31175 if ac_fn_c_try_link "$LINENO"; then :
31176 ac_cv_lib_nsl_inet_addr=yes
31178 ac_cv_lib_nsl_inet_addr=no
31180 rm -f core conftest.err conftest.$ac_objext \
31181 conftest$ac_exeext conftest.$ac_ext
31182 LIBS=$ac_check_lib_save_LIBS
31184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31185 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31186 if test "x$ac_cv_lib_nsl_inet_addr" = x""yes; then :
31190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31191 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31192 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then :
31193 $as_echo_n "(cached) " >&6
31195 ac_check_lib_save_LIBS=$LIBS
31196 LIBS="-lresolv $LIBS"
31197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31198 /* end confdefs.h. */
31200 /* Override any GCC internal prototype to avoid an error.
31201 Use char because int might match the return type of a GCC
31202 builtin and then its argument prototype would still apply. */
31210 return inet_addr ();
31215 if ac_fn_c_try_link "$LINENO"; then :
31216 ac_cv_lib_resolv_inet_addr=yes
31218 ac_cv_lib_resolv_inet_addr=no
31220 rm -f core conftest.err conftest.$ac_objext \
31221 conftest$ac_exeext conftest.$ac_ext
31222 LIBS=$ac_check_lib_save_LIBS
31224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31225 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31226 if test "x$ac_cv_lib_resolv_inet_addr" = x""yes; then :
31230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31231 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31232 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then :
31233 $as_echo_n "(cached) " >&6
31235 ac_check_lib_save_LIBS=$LIBS
31236 LIBS="-lsocket $LIBS"
31237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31238 /* end confdefs.h. */
31240 /* Override any GCC internal prototype to avoid an error.
31241 Use char because int might match the return type of a GCC
31242 builtin and then its argument prototype would still apply. */
31250 return inet_addr ();
31255 if ac_fn_c_try_link "$LINENO"; then :
31256 ac_cv_lib_socket_inet_addr=yes
31258 ac_cv_lib_socket_inet_addr=no
31260 rm -f core conftest.err conftest.$ac_objext \
31261 conftest$ac_exeext conftest.$ac_ext
31262 LIBS=$ac_check_lib_save_LIBS
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31265 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31266 if test "x$ac_cv_lib_socket_inet_addr" = x""yes; then :
31285 for ac_func in inet_aton
31287 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31288 if test "x$ac_cv_func_inet_aton" = x""yes; then :
31289 cat >>confdefs.h <<_ACEOF
31290 #define HAVE_INET_ATON 1
31292 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31296 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31298 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31299 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
31300 $as_echo_n "(cached) " >&6
31302 ac_check_lib_save_LIBS=$LIBS
31303 LIBS="-l$INET_LINK $LIBS"
31304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31305 /* end confdefs.h. */
31307 /* Override any GCC internal prototype to avoid an error.
31308 Use char because int might match the return type of a GCC
31309 builtin and then its argument prototype would still apply. */
31317 return inet_aton ();
31322 if ac_fn_c_try_link "$LINENO"; then :
31323 eval "$as_ac_Lib=yes"
31325 eval "$as_ac_Lib=no"
31327 rm -f core conftest.err conftest.$ac_objext \
31328 conftest$ac_exeext conftest.$ac_ext
31329 LIBS=$ac_check_lib_save_LIBS
31331 eval ac_res=\$$as_ac_Lib
31332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31333 $as_echo "$ac_res" >&6; }
31334 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31335 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31344 if test "x$INET_LINK" != "x"; then
31345 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31347 INET_LINK=" -l$INET_LINK"
31351 for wx_func in fdopen
31353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31354 $as_echo_n "checking for $wx_func... " >&6; }
31355 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31356 $as_echo_n "(cached) " >&6
31359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31360 /* end confdefs.h. */
31364 $ac_includes_default
31380 if ac_fn_c_try_link "$LINENO"; then :
31381 eval wx_cv_func_$wx_func=yes
31383 eval wx_cv_func_$wx_func=no
31385 rm -f core conftest.err conftest.$ac_objext \
31386 conftest$ac_exeext conftest.$ac_ext
31389 eval ac_res=\$wx_cv_func_$wx_func
31390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31391 $as_echo "$ac_res" >&6; }
31393 if eval test \$wx_cv_func_$wx_func = yes
31395 cat >>confdefs.h <<_ACEOF
31396 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31407 if test "$wxUSE_TARSTREAM" = "yes"; then
31409 for wx_func in sysconf
31411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31412 $as_echo_n "checking for $wx_func... " >&6; }
31413 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31414 $as_echo_n "(cached) " >&6
31417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31418 /* end confdefs.h. */
31422 $ac_includes_default
31438 if ac_fn_c_try_link "$LINENO"; then :
31439 eval wx_cv_func_$wx_func=yes
31441 eval wx_cv_func_$wx_func=no
31443 rm -f core conftest.err conftest.$ac_objext \
31444 conftest$ac_exeext conftest.$ac_ext
31447 eval ac_res=\$wx_cv_func_$wx_func
31448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31449 $as_echo "$ac_res" >&6; }
31451 if eval test \$wx_cv_func_$wx_func = yes
31453 cat >>confdefs.h <<_ACEOF
31454 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31466 for wx_func in getpwuid_r
31468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31469 $as_echo_n "checking for $wx_func... " >&6; }
31470 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31471 $as_echo_n "(cached) " >&6
31474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31475 /* end confdefs.h. */
31482 $ac_includes_default
31492 struct passwd pw, *ppw;
31494 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31502 if ac_fn_c_try_link "$LINENO"; then :
31503 eval wx_cv_func_$wx_func=yes
31505 eval wx_cv_func_$wx_func=no
31507 rm -f core conftest.err conftest.$ac_objext \
31508 conftest$ac_exeext conftest.$ac_ext
31511 eval ac_res=\$wx_cv_func_$wx_func
31512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31513 $as_echo "$ac_res" >&6; }
31515 if eval test \$wx_cv_func_$wx_func = yes
31517 cat >>confdefs.h <<_ACEOF
31518 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31530 for wx_func in getgrgid_r
31532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31533 $as_echo_n "checking for $wx_func... " >&6; }
31534 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31535 $as_echo_n "(cached) " >&6
31538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31539 /* end confdefs.h. */
31546 $ac_includes_default
31556 struct group grp, *pgrp;
31558 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31566 if ac_fn_c_try_link "$LINENO"; then :
31567 eval wx_cv_func_$wx_func=yes
31569 eval wx_cv_func_$wx_func=no
31571 rm -f core conftest.err conftest.$ac_objext \
31572 conftest$ac_exeext conftest.$ac_ext
31575 eval ac_res=\$wx_cv_func_$wx_func
31576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31577 $as_echo "$ac_res" >&6; }
31579 if eval test \$wx_cv_func_$wx_func = yes
31581 cat >>confdefs.h <<_ACEOF
31582 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31598 cat >confcache <<\_ACEOF
31599 # This file is a shell script that caches the results of configure
31600 # tests run on this system so they can be shared between configure
31601 # scripts and configure runs, see configure's option --config-cache.
31602 # It is not useful on other systems. If it contains results you don't
31603 # want to keep, you may remove or edit it.
31605 # config.status only pays attention to the cache file if you give it
31606 # the --recheck option to rerun configure.
31608 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31609 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31610 # following values.
31614 # The following way of writing the cache mishandles newlines in values,
31615 # but we know of no workaround that is simple, portable, and efficient.
31616 # So, we kill variables containing newlines.
31617 # Ultrix sh set writes to stderr and can't be redirected directly,
31618 # and sets the high bit in the cache file unless we assign to the vars.
31620 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31621 eval ac_val=\$$ac_var
31625 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31626 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31629 _ | IFS | as_nl) ;; #(
31630 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31631 *) { eval $ac_var=; unset $ac_var;} ;;
31637 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31638 *${as_nl}ac_space=\ *)
31639 # `set' does not quote correctly, so add quotes: double-quote
31640 # substitution turns \\\\ into \\, and sed turns \\ into \.
31643 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31646 # `set' quotes correctly as required by POSIX, so do not add quotes.
31647 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31656 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31658 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31660 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31661 if test -w "$cache_file"; then
31662 test "x$cache_file" != "x/dev/null" &&
31663 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31664 $as_echo "$as_me: updating cache $cache_file" >&6;}
31665 cat confcache >$cache_file
31667 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31668 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31674 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31680 if test "$wxUSE_THREADS" = "yes" ; then
31681 if test "$USE_BEOS" = 1; then
31682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31683 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31688 if test "$wxUSE_THREADS" = "yes" ; then
31691 THREAD_OPTS="-pthread"
31692 if test "x$SUNCXX" = xyes; then
31693 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31697 *-*-solaris2* | *-*-sunos4* )
31698 if test "x$GCC" = "xyes"; then
31699 THREAD_OPTS="-pthreads $THREAD_OPTS"
31703 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31705 *-*-darwin* | *-*-cygwin* )
31709 THREAD_OPTS="pthreads"
31712 if test "x$GCC" = "xyes"; then
31713 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31721 if test "x$GCC" = "xyes"; then
31731 if test "x$GCC" != "xyes"; then
31732 THREAD_OPTS="-Ethread"
31739 THREAD_OPTS="none pthread"
31743 THREAD_OPTS="$THREAD_OPTS pthread none"
31748 for flag in $THREAD_OPTS; do
31751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31752 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31757 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31758 THREADS_CFLAGS="$flag"
31762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31763 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31764 THREADS_LINK="-l$flag"
31769 save_CFLAGS="$CFLAGS"
31770 LIBS="$THREADS_LINK $LIBS"
31771 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31774 /* end confdefs.h. */
31775 #include <pthread.h>
31779 pthread_create(0,0,0,0);
31784 if ac_fn_c_try_link "$LINENO"; then :
31787 rm -f core conftest.err conftest.$ac_objext \
31788 conftest$ac_exeext conftest.$ac_ext
31791 CFLAGS="$save_CFLAGS"
31793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31794 $as_echo "$THREADS_OK" >&6; }
31795 if test "x$THREADS_OK" = "xyes"; then
31803 if test "x$THREADS_OK" != "xyes"; then
31805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31806 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31808 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31809 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31810 LIBS="$THREADS_LINK $LIBS"
31812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31813 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31817 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31818 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31819 flag="-D_THREAD_SAFE"
31822 flag="-D_THREAD_SAFE"
31825 flag="-D_REENTRANT"
31826 if test "x$GCC" != "xyes"; then
31827 flag="$flag -D_RWSTD_MULTI_THREAD"
31830 *solaris* | alpha*-osf*)
31831 flag="-D_REENTRANT"
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31835 $as_echo "${flag}" >&6; }
31836 if test "x$flag" != xno; then
31837 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31840 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31844 if test "$wxUSE_THREADS" = "yes" ; then
31845 for ac_func in pthread_setconcurrency
31847 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31848 if test "x$ac_cv_func_pthread_setconcurrency" = x""yes; then :
31849 cat >>confdefs.h <<_ACEOF
31850 #define HAVE_PTHREAD_SETCONCURRENCY 1
31852 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31856 for ac_func in thr_setconcurrency
31858 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31859 if test "x$ac_cv_func_thr_setconcurrency" = x""yes; then :
31860 cat >>confdefs.h <<_ACEOF
31861 #define HAVE_THR_SETCONCURRENCY 1
31863 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31867 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31877 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31878 if test "${wx_cv_func_pthread_cleanup+set}" = set; then :
31879 $as_echo_n "(cached) " >&6
31883 ac_cpp='$CXXCPP $CPPFLAGS'
31884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31889 /* end confdefs.h. */
31890 #include <pthread.h>
31891 void ThreadCleanupFunc(void *p);
31898 pthread_cleanup_push(ThreadCleanupFunc, p);
31899 pthread_cleanup_pop(0);
31905 if ac_fn_cxx_try_compile "$LINENO"; then :
31907 wx_cv_func_pthread_cleanup=yes
31911 wx_cv_func_pthread_cleanup=no
31915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31917 ac_cpp='$CPP $CPPFLAGS'
31918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31925 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31926 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31927 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31931 for ac_header in sched.h
31933 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31935 if test "x$ac_cv_header_sched_h" = x""yes; then :
31936 cat >>confdefs.h <<_ACEOF
31937 #define HAVE_SCHED_H 1
31944 if test "$ac_cv_header_sched_h" = "yes"; then
31945 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31946 if test "x$ac_cv_func_sched_yield" = x""yes; then :
31947 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31952 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31953 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
31954 $as_echo_n "(cached) " >&6
31956 ac_check_lib_save_LIBS=$LIBS
31957 LIBS="-lposix4 $LIBS"
31958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31959 /* end confdefs.h. */
31961 /* Override any GCC internal prototype to avoid an error.
31962 Use char because int might match the return type of a GCC
31963 builtin and then its argument prototype would still apply. */
31967 char sched_yield ();
31971 return sched_yield ();
31976 if ac_fn_c_try_link "$LINENO"; then :
31977 ac_cv_lib_posix4_sched_yield=yes
31979 ac_cv_lib_posix4_sched_yield=no
31981 rm -f core conftest.err conftest.$ac_objext \
31982 conftest$ac_exeext conftest.$ac_ext
31983 LIBS=$ac_check_lib_save_LIBS
31985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31986 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31987 if test "x$ac_cv_lib_posix4_sched_yield" = x""yes; then :
31988 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31989 POSIX4_LINK=" -lposix4"
31991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31992 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32003 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32004 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = x""yes; then :
32005 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32006 if test "x$ac_cv_func_pthread_attr_setschedparam" = x""yes; then :
32007 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32008 if test "x$ac_cv_func_sched_get_priority_max" = x""yes; then :
32011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32012 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32013 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then :
32014 $as_echo_n "(cached) " >&6
32016 ac_check_lib_save_LIBS=$LIBS
32017 LIBS="-lposix4 $LIBS"
32018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32019 /* end confdefs.h. */
32021 /* Override any GCC internal prototype to avoid an error.
32022 Use char because int might match the return type of a GCC
32023 builtin and then its argument prototype would still apply. */
32027 char sched_get_priority_max ();
32031 return sched_get_priority_max ();
32036 if ac_fn_c_try_link "$LINENO"; then :
32037 ac_cv_lib_posix4_sched_get_priority_max=yes
32039 ac_cv_lib_posix4_sched_get_priority_max=no
32041 rm -f core conftest.err conftest.$ac_objext \
32042 conftest$ac_exeext conftest.$ac_ext
32043 LIBS=$ac_check_lib_save_LIBS
32045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32046 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32047 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = x""yes; then :
32050 POSIX4_LINK=" -lposix4"
32064 if test "$HAVE_PRIOR_FUNCS" = 1; then
32065 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32069 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32072 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32073 if test "x$ac_cv_func_pthread_cancel" = x""yes; then :
32074 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32078 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32082 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32083 if test "x$ac_cv_func_pthread_mutex_timedlock" = x""yes; then :
32084 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32088 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32092 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32093 if test "x$ac_cv_func_pthread_attr_setstacksize" = x""yes; then :
32094 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32101 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32102 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then :
32103 $as_echo_n "(cached) " >&6
32106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32107 /* end confdefs.h. */
32108 #include <pthread.h>
32113 pthread_mutexattr_t attr;
32114 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32120 if ac_fn_c_try_compile "$LINENO"; then :
32121 wx_cv_type_pthread_mutexattr_t=yes
32123 wx_cv_type_pthread_mutexattr_t=no
32126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32130 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32132 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32133 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32137 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32138 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then :
32139 $as_echo_n "(cached) " >&6
32142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32143 /* end confdefs.h. */
32144 #include <pthread.h>
32149 pthread_mutexattr_t attr;
32150 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32156 if ac_fn_c_try_compile "$LINENO"; then :
32157 wx_cv_func_pthread_mutexattr_settype_decl=yes
32159 wx_cv_func_pthread_mutexattr_settype_decl=no
32162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32166 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32167 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32168 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32173 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32174 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then :
32175 $as_echo_n "(cached) " >&6
32178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32179 /* end confdefs.h. */
32180 #include <pthread.h>
32185 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32191 if ac_fn_c_try_compile "$LINENO"; then :
32193 wx_cv_type_pthread_rec_mutex_init=yes
32197 wx_cv_type_pthread_rec_mutex_init=no
32201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32205 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32206 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32207 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32211 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32215 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32216 if test "$USE_NETBSD" = 1; then
32217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32218 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32219 wxUSE_COMPILER_TLS=no
32221 wxUSE_COMPILER_TLS=yes
32225 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32227 $as_echo_n "checking for __thread keyword... " >&6; }
32228 if test "${wx_cv_cc___thread+set}" = set; then :
32229 $as_echo_n "(cached) " >&6
32232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32233 /* end confdefs.h. */
32234 #include <pthread.h>
32239 static __thread int n = 0;
32240 static __thread int *p = 0;
32246 if ac_fn_c_try_compile "$LINENO"; then :
32247 wx_cv_cc___thread=yes
32249 wx_cv_cc___thread=no
32252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32257 $as_echo "$wx_cv_cc___thread" >&6; }
32259 if test "$wx_cv_cc___thread" = "yes"; then
32265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32266 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32268 if test "x$GCC" = "xyes" ; then :
32270 if test -z "" ; then :
32272 ax_gcc_option_test="int main()
32279 ax_gcc_option_test=""
32283 # Dump the test program to file
32284 cat <<EOF > conftest.c
32285 $ax_gcc_option_test
32288 # Dump back the file to the log, useful for debugging purposes
32289 { ac_try='cat conftest.c 1>&5'
32290 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32291 (eval $ac_try) 2>&5
32293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32294 test $ac_status = 0; }; }
32296 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32297 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32298 (eval $ac_try) 2>&5
32300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32301 test $ac_status = 0; }; } ; then :
32303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32304 $as_echo "yes" >&6; }
32306 ax_gcc_version_option=yes
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32312 $as_echo "no" >&6; }
32314 ax_gcc_version_option=no
32321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32322 $as_echo "no gcc available" >&6; }
32326 if test "x$GXX" = "xyes"; then :
32328 if test "x$ax_gxx_version_option" != "no"; then :
32330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32331 $as_echo_n "checking gxx version... " >&6; }
32332 if test "${ax_cv_gxx_version+set}" = set; then :
32333 $as_echo_n "(cached) " >&6
32336 ax_cv_gxx_version="`$CXX -dumpversion`"
32337 if test "x$ax_cv_gxx_version" = "x"; then :
32339 ax_cv_gxx_version=""
32344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32345 $as_echo "$ax_cv_gxx_version" >&6; }
32346 GXX_VERSION=$ax_cv_gxx_version
32353 if test -n "$ax_cv_gxx_version"; then
32354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32355 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32356 case "$ax_cv_gxx_version" in
32358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32359 $as_echo "no, it's broken" >&6; }
32360 wx_cv_cc___thread=no
32363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32364 $as_echo "yes, it works" >&6; }
32370 if test "$wx_cv_cc___thread" = "yes"; then
32371 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32378 if test "$wxUSE_THREADS" = "yes" ; then
32380 x86_64-*-mingw32* )
32383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32384 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32385 if test "${wx_cv_cflags_mthread+set}" = set; then :
32386 $as_echo_n "(cached) " >&6
32389 CFLAGS_OLD="$CFLAGS"
32390 CFLAGS="-mthreads $CFLAGS"
32391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32392 /* end confdefs.h. */
32402 if ac_fn_c_try_compile "$LINENO"; then :
32403 wx_cv_cflags_mthread=yes
32405 wx_cv_cflags_mthread=no
32408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32413 $as_echo "$wx_cv_cflags_mthread" >&6; }
32415 if test "$wx_cv_cflags_mthread" = "yes"; then
32416 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32417 LDFLAGS="$LDFLAGS -mthreads"
32419 CFLAGS="$CFLAGS_OLD"
32423 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32424 LDFLAGS="$LDFLAGS -Zmt"
32430 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32431 if test "x$ac_cv_func_localtime_r" = x""yes; then :
32432 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32436 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32437 if test "x$ac_cv_func_gmtime_r" = x""yes; then :
32438 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32446 ac_cpp='$CPP $CPPFLAGS'
32447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32452 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32454 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
32455 $as_echo_n "(cached) " >&6
32459 ################################################################
32461 ac_cv_func_which_gethostbyname_r=unknown
32464 # ONE ARGUMENT (sanity check)
32467 # This should fail, as there is no variant of gethostbyname_r() that takes
32468 # a single argument. If it actually compiles, then we can assume that
32469 # netdb.h is not declaring the function, and the compiler is thereby
32470 # assuming an implicit prototype. In which case, we're out of luck.
32472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32473 /* end confdefs.h. */
32479 char *name = "www.gnu.org";
32480 (void)gethostbyname_r(name) /* ; */
32487 if ac_fn_c_try_compile "$LINENO"; then :
32488 ac_cv_func_which_gethostbyname_r=no
32491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32498 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32501 /* end confdefs.h. */
32507 char *name = "www.gnu.org";
32508 struct hostent ret, *retp;
32512 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32519 if ac_fn_c_try_compile "$LINENO"; then :
32520 ac_cv_func_which_gethostbyname_r=six
32523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32532 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32535 /* end confdefs.h. */
32541 char *name = "www.gnu.org";
32542 struct hostent ret;
32546 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32553 if ac_fn_c_try_compile "$LINENO"; then :
32554 ac_cv_func_which_gethostbyname_r=five
32557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32563 # (e.g. AIX, HP-UX, Tru64)
32566 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32569 /* end confdefs.h. */
32575 char *name = "www.gnu.org";
32576 struct hostent ret;
32577 struct hostent_data data;
32578 (void)gethostbyname_r(name, &ret, &data) /* ; */
32585 if ac_fn_c_try_compile "$LINENO"; then :
32586 ac_cv_func_which_gethostbyname_r=three
32589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32593 ################################################################
32598 case "$ac_cv_func_which_gethostbyname_r" in
32600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32601 $as_echo "three" >&6; }
32602 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32608 $as_echo "five" >&6; }
32609 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32615 $as_echo "six" >&6; }
32616 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32622 $as_echo "cannot find function declaration in netdb.h" >&6; }
32626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32627 $as_echo "can't tell" >&6; }
32631 as_fn_error $? "internal error" "$LINENO" 5
32636 ac_cpp='$CPP $CPPFLAGS'
32637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32643 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32644 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32645 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32646 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
32647 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32654 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32655 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then :
32656 $as_echo_n "(cached) " >&6
32660 ac_cpp='$CXXCPP $CPPFLAGS'
32661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32667 /* end confdefs.h. */
32675 struct servent *se, *res;
32678 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32684 if ac_fn_cxx_try_compile "$LINENO"; then :
32685 ac_cv_func_which_getservbyname_r=six
32688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32689 /* end confdefs.h. */
32697 struct servent *se;
32700 (void) getservbyname_r(name, proto, se, buffer, buflen)
32706 if ac_fn_cxx_try_compile "$LINENO"; then :
32707 ac_cv_func_which_getservbyname_r=five
32710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32711 /* end confdefs.h. */
32719 struct servent *se;
32720 struct servent_data data;
32721 (void) getservbyname_r(name, proto, se, &data);
32727 if ac_fn_cxx_try_compile "$LINENO"; then :
32728 ac_cv_func_which_getservbyname_r=four
32730 ac_cv_func_which_getservbyname_r=no
32733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32743 ac_cpp='$CPP $CPPFLAGS'
32744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32752 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32754 if test $ac_cv_func_which_getservbyname_r = six; then
32755 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32757 elif test $ac_cv_func_which_getservbyname_r = five; then
32758 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32760 elif test $ac_cv_func_which_getservbyname_r = four; then
32761 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32766 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32767 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32768 for ac_func in getservbyname
32770 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32771 if test "x$ac_cv_func_getservbyname" = x""yes; then :
32772 cat >>confdefs.h <<_ACEOF
32773 #define HAVE_GETSERVBYNAME 1
32775 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32782 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32785 if test "$wxUSE_THREADS" = "yes"; then
32786 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32791 if test "$wx_cv_func_strtok_r" = "yes"; then
32792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32793 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32794 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32795 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32797 $as_echo "yes" >&6; }
32799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32800 $as_echo "no" >&6; }
32805 if test "$WXGTK3" = 1 ; then
32806 cat >>confdefs.h <<_ACEOF
32807 #define __WXGTK3__ 1
32812 if test "$WXGTK2" = 1 ; then
32813 cat >>confdefs.h <<_ACEOF
32814 #define __WXGTK20__ $WXGTK2
32819 if test "$WXGTK127" = 1 ; then
32820 cat >>confdefs.h <<_ACEOF
32821 #define __WXGTK127__ $WXGTK127
32826 if test "$WXGPE" = 1 ; then
32827 cat >>confdefs.h <<_ACEOF
32828 #define __WXGPE__ $WXGPE
32834 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32836 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32837 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32841 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32842 wxUSE_DEBUG_INFO=yes
32843 if test "$GCC" = yes; then
32844 DEBUG_CFLAGS="-ggdb"
32848 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32849 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32851 if test "$wxUSE_GTK" = 1 ; then
32852 if test "$WXGTK2" = 1 ; then
32853 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32855 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32860 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32861 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32863 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32865 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32867 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32870 if test "$wxUSE_DMALLOC" = "yes" ; then
32871 DMALLOC_LIBS="-ldmallocthcxx"
32875 if test "$wxUSE_PROFILE" = "yes" ; then
32876 PROFILE_FLAGS=" -pg"
32879 if test "$GCC" = "yes" ; then
32880 if test "$wxUSE_NO_RTTI" = "yes" ; then
32881 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32883 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32884 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
32886 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32887 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
32892 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
32895 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
32901 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32903 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32905 if test "$wxUSE_OPTIMISE" = "no" ; then
32906 if test "$GCC" = yes ; then
32907 OPTIMISE_CFLAGS="-O0"
32910 if test "$GCC" = yes ; then
32912 *-pc-os2_emx | *-pc-os2-emx )
32913 OPTIMISE_CFLAGS="-O2"
32916 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
32920 OPTIMISE_CFLAGS="-O"
32926 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32927 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32930 WXWIN_COMPATIBILITY_2_8="yes"
32933 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32934 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32939 if test "$wxUSE_GUI" = "yes"; then
32940 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32946 if test "$wxUSE_UNIX" = "yes"; then
32947 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32952 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32956 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32957 if test "$USE_DOS" = 1; then
32960 for ac_func in dlopen
32962 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
32963 if test "x$ac_cv_func_dlopen" = x""yes; then :
32964 cat >>confdefs.h <<_ACEOF
32965 #define HAVE_DLOPEN 1
32968 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32975 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32976 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
32977 $as_echo_n "(cached) " >&6
32979 ac_check_lib_save_LIBS=$LIBS
32981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32982 /* end confdefs.h. */
32984 /* Override any GCC internal prototype to avoid an error.
32985 Use char because int might match the return type of a GCC
32986 builtin and then its argument prototype would still apply. */
32999 if ac_fn_c_try_link "$LINENO"; then :
33000 ac_cv_lib_dl_dlopen=yes
33002 ac_cv_lib_dl_dlopen=no
33004 rm -f core conftest.err conftest.$ac_objext \
33005 conftest$ac_exeext conftest.$ac_ext
33006 LIBS=$ac_check_lib_save_LIBS
33008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33009 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33010 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
33012 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33015 DL_LINK=" -ldl$DL_LINK"
33019 for ac_func in shl_load
33021 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33022 if test "x$ac_cv_func_shl_load" = x""yes; then :
33023 cat >>confdefs.h <<_ACEOF
33024 #define HAVE_SHL_LOAD 1
33027 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33034 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33035 if test "${ac_cv_lib_shl_load_dld+set}" = set; then :
33036 $as_echo_n "(cached) " >&6
33038 ac_check_lib_save_LIBS=$LIBS
33039 LIBS="-lshl_load $LIBS"
33040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33041 /* end confdefs.h. */
33043 /* Override any GCC internal prototype to avoid an error.
33044 Use char because int might match the return type of a GCC
33045 builtin and then its argument prototype would still apply. */
33058 if ac_fn_c_try_link "$LINENO"; then :
33059 ac_cv_lib_shl_load_dld=yes
33061 ac_cv_lib_shl_load_dld=no
33063 rm -f core conftest.err conftest.$ac_objext \
33064 conftest$ac_exeext conftest.$ac_ext
33065 LIBS=$ac_check_lib_save_LIBS
33067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33068 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33069 if test "x$ac_cv_lib_shl_load_dld" = x""yes; then :
33072 DL_LINK=" -ldld$DL_LINK"
33088 if test "$HAVE_DL_FUNCS" = 1; then
33089 for ac_func in dlerror
33091 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33092 if test "x$ac_cv_func_dlerror" = x""yes; then :
33093 cat >>confdefs.h <<_ACEOF
33094 #define HAVE_DLERROR 1
33096 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33101 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33102 if test "${ac_cv_lib_dl_dlerror+set}" = set; then :
33103 $as_echo_n "(cached) " >&6
33105 ac_check_lib_save_LIBS=$LIBS
33107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33108 /* end confdefs.h. */
33110 /* Override any GCC internal prototype to avoid an error.
33111 Use char because int might match the return type of a GCC
33112 builtin and then its argument prototype would still apply. */
33125 if ac_fn_c_try_link "$LINENO"; then :
33126 ac_cv_lib_dl_dlerror=yes
33128 ac_cv_lib_dl_dlerror=no
33130 rm -f core conftest.err conftest.$ac_objext \
33131 conftest$ac_exeext conftest.$ac_ext
33132 LIBS=$ac_check_lib_save_LIBS
33134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33135 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33136 if test "x$ac_cv_lib_dl_dlerror" = x""yes; then :
33137 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33149 if test "$USE_DARWIN" = 1; then
33153 if test "$HAVE_DL_FUNCS" = 0; then
33154 if test "$HAVE_SHL_FUNCS" = 0; then
33155 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33157 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33158 wxUSE_DYNAMIC_LOADER=no
33159 wxUSE_DYNLIB_CLASS=no
33161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33162 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33169 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33170 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33173 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33174 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33180 if test "$wxUSE_PLUGINS" = "yes" ; then
33181 if test "$wxUSE_SHARED" = "no" ; then
33182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33183 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33186 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33188 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33191 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33193 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33196 if test "$wxUSE_PLUGINS" = "yes" ; then
33197 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33203 if test "$wxUSE_FSWATCHER" = "yes"; then
33204 if test "$wxUSE_MSW" != "1"; then
33205 if test "$wxUSE_UNIX" = "yes"; then
33206 for ac_header in sys/inotify.h
33208 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33210 if test "x$ac_cv_header_sys_inotify_h" = x""yes; then :
33211 cat >>confdefs.h <<_ACEOF
33212 #define HAVE_SYS_INOTIFY_H 1
33219 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33220 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33223 for ac_header in sys/event.h
33225 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33227 if test "x$ac_cv_header_sys_event_h" = x""yes; then :
33228 cat >>confdefs.h <<_ACEOF
33229 #define HAVE_SYS_EVENT_H 1
33236 if test "$ac_cv_header_sys_event_h" = "yes"; then
33237 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33247 if test "$wxUSE_THREADS" != "yes"; then
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33249 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33254 if test "$wxUSE_FSWATCHER" = "yes"; then
33255 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33260 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33265 if test "$wxUSE_STL" = "yes"; then
33266 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33270 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33271 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33275 if test "$wxUSE_ANY" = "yes"; then
33276 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33280 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33281 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33285 if test "$wxUSE_TIMER" = "yes"; then
33286 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33290 if test "$USE_UNIX" = 1 ; then
33291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33292 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33293 if test "${ac_cv_header_sys_soundcard+set}" = set; then :
33294 $as_echo_n "(cached) " >&6
33297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33298 /* end confdefs.h. */
33300 #include <sys/ioctl.h>
33301 #include <sys/soundcard.h>
33307 ioctl(0, SNDCTL_DSP_SPEED, 0);
33313 if ac_fn_c_try_link "$LINENO"; then :
33314 ac_cv_header_sys_soundcard=yes
33318 LIBS="$saveLibs -lossaudio"
33319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33320 /* end confdefs.h. */
33322 #include <sys/ioctl.h>
33323 #include <sys/soundcard.h>
33329 ioctl(0, SNDCTL_DSP_SPEED, 0);
33335 if ac_fn_c_try_link "$LINENO"; then :
33336 ac_cv_header_sys_soundcard=yes
33340 ac_cv_header_sys_soundcard=no
33344 rm -f core conftest.err conftest.$ac_objext \
33345 conftest$ac_exeext conftest.$ac_ext
33349 rm -f core conftest.err conftest.$ac_objext \
33350 conftest$ac_exeext conftest.$ac_ext
33353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33354 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33356 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33357 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33363 if test "$wxUSE_SOUND" = "yes"; then
33364 if test "$USE_UNIX" = 1 ; then
33365 if test "$wxUSE_LIBSDL" != "no"; then
33367 # Check whether --with-sdl-prefix was given.
33368 if test "${with_sdl_prefix+set}" = set; then :
33369 withval=$with_sdl_prefix; sdl_prefix="$withval"
33375 # Check whether --with-sdl-exec-prefix was given.
33376 if test "${with_sdl_exec_prefix+set}" = set; then :
33377 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33382 # Check whether --enable-sdltest was given.
33383 if test "${enable_sdltest+set}" = set; then :
33384 enableval=$enable_sdltest;
33390 if test x$sdl_exec_prefix != x ; then
33391 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33392 if test x${SDL_CONFIG+set} != xset ; then
33393 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33396 if test x$sdl_prefix != x ; then
33397 sdl_args="$sdl_args --prefix=$sdl_prefix"
33398 if test x${SDL_CONFIG+set} != xset ; then
33399 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33403 if test "x$prefix" != xNONE; then
33404 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33406 # Extract the first word of "sdl-config", so it can be a program name with args.
33407 set dummy sdl-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_SDL_CONFIG+set}" = set; then :
33411 $as_echo_n "(cached) " >&6
33413 case $SDL_CONFIG in
33415 ac_cv_path_SDL_CONFIG="$SDL_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_SDL_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
33433 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33437 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33438 if test -n "$SDL_CONFIG"; then
33439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33440 $as_echo "$SDL_CONFIG" >&6; }
33442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33443 $as_echo "no" >&6; }
33447 min_sdl_version=1.2.0
33448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33449 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33451 if test "$SDL_CONFIG" = "no" ; then
33454 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33455 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33457 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33458 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33459 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33460 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33461 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33462 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33463 if test "x$enable_sdltest" = "xyes" ; then
33464 ac_save_CFLAGS="$CFLAGS"
33465 ac_save_CXXFLAGS="$CXXFLAGS"
33466 ac_save_LIBS="$LIBS"
33467 CFLAGS="$CFLAGS $SDL_CFLAGS"
33468 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33469 LIBS="$LIBS $SDL_LIBS"
33471 if test "$cross_compiling" = yes; then :
33472 echo $ac_n "cross compiling; assumed OK... $ac_c"
33474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33475 /* end confdefs.h. */
33478 #include <stdlib.h>
33479 #include <string.h>
33483 my_strdup (char *str)
33489 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33490 strcpy (new_str, str);
33498 int main (int argc, char *argv[])
33500 int major, minor, micro;
33503 /* This hangs on some systems (?)
33504 system ("touch conf.sdltest");
33506 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33508 /* HP/UX 9 (%@#!) writes to sscanf strings */
33509 tmp_version = my_strdup("$min_sdl_version");
33510 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33511 printf("%s, bad version string\n", "$min_sdl_version");
33515 if (($sdl_major_version > major) ||
33516 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33517 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33523 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33524 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33525 printf("*** best to upgrade to the required version.\n");
33526 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33527 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33528 printf("*** config.cache before re-running configure\n");
33535 if ac_fn_c_try_run "$LINENO"; then :
33540 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33541 conftest.$ac_objext conftest.beam conftest.$ac_ext
33544 CFLAGS="$ac_save_CFLAGS"
33545 CXXFLAGS="$ac_save_CXXFLAGS"
33546 LIBS="$ac_save_LIBS"
33549 if test "x$no_sdl" = x ; then
33550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33551 $as_echo "yes" >&6; }
33553 EXTRALIBS_SDL="$SDL_LIBS"
33554 CFLAGS="$SDL_CFLAGS $CFLAGS"
33555 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33556 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33561 $as_echo "no" >&6; }
33562 if test "$SDL_CONFIG" = "no" ; then
33563 echo "*** The sdl-config script installed by SDL could not be found"
33564 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33565 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33566 echo "*** full path to sdl-config."
33568 if test -f conf.sdltest ; then
33571 echo "*** Could not run SDL test program, checking why..."
33572 CFLAGS="$CFLAGS $SDL_CFLAGS"
33573 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33574 LIBS="$LIBS $SDL_LIBS"
33575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33576 /* end confdefs.h. */
33581 int main(int argc, char *argv[])
33584 #define main K_and_R_C_main
33594 if ac_fn_c_try_link "$LINENO"; then :
33595 echo "*** The test program compiled, but did not run. This usually means"
33596 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33597 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33598 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33599 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33600 echo "*** is required on your system"
33602 echo "*** If you have an old version installed, it is best to remove it, although"
33603 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33605 echo "*** The test program failed to compile or link. See the file config.log for the"
33606 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33607 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33608 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33610 rm -f core conftest.err conftest.$ac_objext \
33611 conftest$ac_exeext conftest.$ac_ext
33612 CFLAGS="$ac_save_CFLAGS"
33613 CXXFLAGS="$ac_save_CXXFLAGS"
33614 LIBS="$ac_save_LIBS"
33625 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33632 if test "$wxUSE_SOUND" = "yes"; then
33633 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33638 if test "$WXGTK2" = 1; then
33641 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33642 if test -n "$ac_tool_prefix"; then
33643 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33644 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33646 $as_echo_n "checking for $ac_word... " >&6; }
33647 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
33648 $as_echo_n "(cached) " >&6
33650 case $PKG_CONFIG in
33652 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33656 for as_dir in $PATH
33659 test -z "$as_dir" && as_dir=.
33660 for ac_exec_ext in '' $ac_executable_extensions; do
33661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33662 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33673 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33674 if test -n "$PKG_CONFIG"; then
33675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33676 $as_echo "$PKG_CONFIG" >&6; }
33678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33679 $as_echo "no" >&6; }
33684 if test -z "$ac_cv_path_PKG_CONFIG"; then
33685 ac_pt_PKG_CONFIG=$PKG_CONFIG
33686 # Extract the first word of "pkg-config", so it can be a program name with args.
33687 set dummy pkg-config; ac_word=$2
33688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33689 $as_echo_n "checking for $ac_word... " >&6; }
33690 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
33691 $as_echo_n "(cached) " >&6
33693 case $ac_pt_PKG_CONFIG in
33695 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33699 for as_dir in $PATH
33702 test -z "$as_dir" && as_dir=.
33703 for ac_exec_ext in '' $ac_executable_extensions; do
33704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33705 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33716 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33717 if test -n "$ac_pt_PKG_CONFIG"; then
33718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33719 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33722 $as_echo "no" >&6; }
33725 if test "x$ac_pt_PKG_CONFIG" = x; then
33728 case $cross_compiling:$ac_tool_warned in
33730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33732 ac_tool_warned=yes ;;
33734 PKG_CONFIG=$ac_pt_PKG_CONFIG
33737 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33741 if test -n "$PKG_CONFIG"; then
33742 _pkg_min_version=0.9.0
33743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33744 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33745 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33747 $as_echo "yes" >&6; }
33749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33750 $as_echo "no" >&6; }
33756 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33758 if test "$wxUSE_GTKPRINT" = "yes" ; then
33759 if test "$WXGTK3" = 1; then
33760 gtk_unix_print="gtk+-unix-print-3.0"
33762 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33767 $as_echo_n "checking for GTKPRINT... " >&6; }
33769 if test -n "$PKG_CONFIG"; then
33770 if test -n "$GTKPRINT_CFLAGS"; then
33771 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33773 if test -n "$PKG_CONFIG" && \
33774 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33775 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33778 test $ac_status = 0; }; then
33779 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33787 if test -n "$PKG_CONFIG"; then
33788 if test -n "$GTKPRINT_LIBS"; then
33789 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33791 if test -n "$PKG_CONFIG" && \
33792 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33793 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33796 test $ac_status = 0; }; then
33797 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33808 if test $pkg_failed = yes; then
33810 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33811 _pkg_short_errors_supported=yes
33813 _pkg_short_errors_supported=no
33815 if test $_pkg_short_errors_supported = yes; then
33816 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33818 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33820 # Put the nasty error message in config.log where it belongs
33821 echo "$GTKPRINT_PKG_ERRORS" >&5
33824 { $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
33825 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33826 wxUSE_GTKPRINT="no"
33829 elif test $pkg_failed = untried; then
33831 { $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
33832 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33833 wxUSE_GTKPRINT="no"
33837 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33838 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33840 $as_echo "yes" >&6; }
33842 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33843 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33844 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33850 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33855 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33857 if test -n "$PKG_CONFIG"; then
33858 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33859 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
33861 if test -n "$PKG_CONFIG" && \
33862 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33863 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33866 test $ac_status = 0; }; then
33867 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33875 if test -n "$PKG_CONFIG"; then
33876 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33877 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
33879 if test -n "$PKG_CONFIG" && \
33880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33881 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33884 test $ac_status = 0; }; then
33885 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33896 if test $pkg_failed = yes; then
33898 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33899 _pkg_short_errors_supported=yes
33901 _pkg_short_errors_supported=no
33903 if test $_pkg_short_errors_supported = yes; then
33904 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33906 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33908 # Put the nasty error message in config.log where it belongs
33909 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33912 if test "$wxUSE_GTKPRINT" = yes; then
33913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33914 $as_echo "no" >&6; }
33916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33917 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33919 wxUSE_LIBGNOMEPRINT="no"
33922 elif test $pkg_failed = untried; then
33924 if test "$wxUSE_GTKPRINT" = yes; then
33925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33926 $as_echo "no" >&6; }
33928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33929 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33931 wxUSE_LIBGNOMEPRINT="no"
33935 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33936 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33938 $as_echo "yes" >&6; }
33940 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33941 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33942 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33949 if test "$wxUSE_MIMETYPE" = "yes" ; then
33950 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33955 $as_echo_n "checking for GNOMEVFS... " >&6; }
33957 if test -n "$PKG_CONFIG"; then
33958 if test -n "$GNOMEVFS_CFLAGS"; then
33959 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
33961 if test -n "$PKG_CONFIG" && \
33962 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33963 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33966 test $ac_status = 0; }; then
33967 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33975 if test -n "$PKG_CONFIG"; then
33976 if test -n "$GNOMEVFS_LIBS"; then
33977 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
33979 if test -n "$PKG_CONFIG" && \
33980 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33981 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33984 test $ac_status = 0; }; then
33985 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33996 if test $pkg_failed = yes; then
33998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33999 _pkg_short_errors_supported=yes
34001 _pkg_short_errors_supported=no
34003 if test $_pkg_short_errors_supported = yes; then
34004 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34006 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34008 # Put the nasty error message in config.log where it belongs
34009 echo "$GNOMEVFS_PKG_ERRORS" >&5
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34013 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34014 wxUSE_LIBGNOMEVFS="no"
34017 elif test $pkg_failed = untried; then
34019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34020 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34021 wxUSE_LIBGNOMEVFS="no"
34025 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34026 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34028 $as_echo "yes" >&6; }
34030 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34031 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34032 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34039 if test "$wxUSE_LIBHILDON" = "yes" ; then
34042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34043 $as_echo_n "checking for HILDON... " >&6; }
34045 if test -n "$PKG_CONFIG"; then
34046 if test -n "$HILDON_CFLAGS"; then
34047 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34049 if test -n "$PKG_CONFIG" && \
34050 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34051 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34054 test $ac_status = 0; }; then
34055 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34063 if test -n "$PKG_CONFIG"; then
34064 if test -n "$HILDON_LIBS"; then
34065 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34067 if test -n "$PKG_CONFIG" && \
34068 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34069 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34072 test $ac_status = 0; }; then
34073 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34084 if test $pkg_failed = yes; then
34086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34087 _pkg_short_errors_supported=yes
34089 _pkg_short_errors_supported=no
34091 if test $_pkg_short_errors_supported = yes; then
34092 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34094 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34096 # Put the nasty error message in config.log where it belongs
34097 echo "$HILDON_PKG_ERRORS" >&5
34100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34101 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34102 wxUSE_LIBHILDON="no"
34106 elif test $pkg_failed = untried; then
34108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34109 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34110 wxUSE_LIBHILDON="no"
34115 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34116 HILDON_LIBS=$pkg_cv_HILDON_LIBS
34117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34118 $as_echo "yes" >&6; }
34120 EXTRALIBS_HILDON="$HILDON_LIBS"
34121 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34122 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34123 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34129 if test "$ac_hildon_lgpl" = 0 ; then
34132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34133 $as_echo_n "checking for HILDON2... " >&6; }
34135 if test -n "$PKG_CONFIG"; then
34136 if test -n "$HILDON2_CFLAGS"; then
34137 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34139 if test -n "$PKG_CONFIG" && \
34140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34141 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34144 test $ac_status = 0; }; then
34145 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34153 if test -n "$PKG_CONFIG"; then
34154 if test -n "$HILDON2_LIBS"; then
34155 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34157 if test -n "$PKG_CONFIG" && \
34158 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34159 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34162 test $ac_status = 0; }; then
34163 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34174 if test $pkg_failed = yes; then
34176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34177 _pkg_short_errors_supported=yes
34179 _pkg_short_errors_supported=no
34181 if test $_pkg_short_errors_supported = yes; then
34182 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34184 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34186 # Put the nasty error message in config.log where it belongs
34187 echo "$HILDON2_PKG_ERRORS" >&5
34190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34191 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34192 wxUSE_LIBHILDON2="no"
34195 elif test $pkg_failed = untried; then
34197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34198 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34199 wxUSE_LIBHILDON2="no"
34203 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34204 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34206 $as_echo "yes" >&6; }
34208 EXTRALIBS_HILDON="$HILDON2_LIBS"
34209 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34210 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34211 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34219 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34220 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34224 if test "$wxUSE_STOPWATCH" = "yes"; then
34225 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34229 if test "$wxUSE_DATETIME" = "yes"; then
34230 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34234 if test "$wxUSE_FILE" = "yes"; then
34235 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34239 if test "$wxUSE_FFILE" = "yes"; then
34240 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34244 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34245 if test "$wxUSE_STREAMS" != yes; then
34246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34247 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34248 wxUSE_ARCHIVE_STREAMS=no
34250 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34255 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34256 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34258 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34259 elif test "$wxUSE_ZLIB" = "no"; then
34260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34261 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34263 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34268 if test "$wxUSE_TARSTREAM" = "yes"; then
34269 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34271 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34273 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34278 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34279 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34283 if test "$wxUSE_FILESYSTEM" = "yes"; then
34284 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34286 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34287 wxUSE_FILESYSTEM=no
34289 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34294 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34295 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34297 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34299 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34304 if test "$wxUSE_FS_ZIP" = "yes"; then
34305 if test "$wxUSE_FS_ARCHIVE" != yes; then
34306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34307 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34309 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34314 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34315 if test "$USE_UNIX" != 1; then
34316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34317 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34318 wxUSE_ON_FATAL_EXCEPTION=no
34320 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34325 if test "$wxUSE_STACKWALKER" = "yes"; then
34326 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34330 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34331 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34333 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34334 wxUSE_DEBUGREPORT=no
34336 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34338 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34344 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34345 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34349 if test "$wxUSE_BUSYINFO" = "yes"; then
34350 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34354 if test "$wxUSE_HOTKEY" = "yes"; then
34355 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34357 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34360 elif test "$wxUSE_HOTKEY" = "auto"; then
34361 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34365 if test "$wxUSE_HOTKEY" = "yes"; then
34366 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34370 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34371 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34375 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34376 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34380 if test "$wxUSE_STD_STRING" = "yes"; then
34381 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34385 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34386 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34390 if test "$wxUSE_STDPATHS" = "yes"; then
34391 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34395 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34396 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34400 if test "$wxUSE_TEXTFILE" = "yes"; then
34401 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34403 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34405 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34410 if test "$wxUSE_CONFIG" = "yes" ; then
34411 if test "$wxUSE_TEXTFILE" != "yes"; then
34412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34413 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34415 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34417 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34423 if test "$wxUSE_INTL" = "yes" ; then
34424 if test "$wxUSE_FILE" != "yes"; then
34425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34426 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34428 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34431 GUIDIST="$GUIDIST INTL_DIST"
34435 if test "$wxUSE_XLOCALE" = "yes" ; then
34436 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34438 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34439 #include <locale.h>
34441 if test "x$ac_cv_type_locale_t" = x""yes; then :
34443 cat >>confdefs.h <<_ACEOF
34444 #define HAVE_LOCALE_T 1
34452 if test "$wxUSE_LOG" = "yes"; then
34453 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34456 if test "$wxUSE_LOGGUI" = "yes"; then
34457 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34461 if test "$wxUSE_LOGWINDOW" = "yes"; then
34462 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34466 if test "$wxUSE_LOGDIALOG" = "yes"; then
34467 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34474 if test "$wxUSE_LONGLONG" = "yes"; then
34475 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34479 if test "$wxUSE_GEOMETRY" = "yes"; then
34480 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34484 if test "$wxUSE_BASE64" = "yes"; then
34485 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34489 if test "$wxUSE_STREAMS" = "yes" ; then
34490 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34494 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34495 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34499 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34500 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34505 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34506 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34509 if test "$wxUSE_UNIX" = "yes"; then
34510 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34511 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34515 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34516 for ac_header in sys/epoll.h
34518 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34520 if test "x$ac_cv_header_sys_epoll_h" = x""yes; then :
34521 cat >>confdefs.h <<_ACEOF
34522 #define HAVE_SYS_EPOLL_H 1
34529 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34530 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34534 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34541 for ac_func in gettimeofday ftime
34543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34546 cat >>confdefs.h <<_ACEOF
34547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34554 if test "$ac_cv_func_gettimeofday" = "yes"; then
34555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34556 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34557 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then :
34558 $as_echo_n "(cached) " >&6
34561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34562 /* end confdefs.h. */
34564 #include <sys/time.h>
34565 #include <unistd.h>
34572 gettimeofday(&tv, NULL);
34578 if ac_fn_c_try_compile "$LINENO"; then :
34579 wx_cv_func_gettimeofday_has_2_args=yes
34581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34582 /* end confdefs.h. */
34584 #include <sys/time.h>
34585 #include <unistd.h>
34598 if ac_fn_c_try_compile "$LINENO"; then :
34599 wx_cv_func_gettimeofday_has_2_args=no
34602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34603 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34604 wx_cv_func_gettimeofday_has_2_args=unknown
34608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34615 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34617 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34618 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34623 if test "$wxUSE_DATETIME" = "yes"; then
34624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34625 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34626 if test "${wx_cv_var_timezone+set}" = set; then :
34627 $as_echo_n "(cached) " >&6
34631 ac_cpp='$CXXCPP $CPPFLAGS'
34632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34637 /* end confdefs.h. */
34652 if ac_fn_cxx_try_compile "$LINENO"; then :
34654 wx_cv_var_timezone=timezone
34658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34659 /* end confdefs.h. */
34674 if ac_fn_cxx_try_compile "$LINENO"; then :
34676 wx_cv_var_timezone=_timezone
34680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34681 /* end confdefs.h. */
34696 if ac_fn_cxx_try_compile "$LINENO"; then :
34698 wx_cv_var_timezone=__timezone
34702 if test "$USE_DOS" = 0 ; then
34703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34704 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34719 ac_cpp='$CPP $CPPFLAGS'
34720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34728 $as_echo "$wx_cv_var_timezone" >&6; }
34730 if test "x$wx_cv_var_timezone" != x ; then
34731 cat >>confdefs.h <<_ACEOF
34732 #define WX_TIMEZONE $wx_cv_var_timezone
34737 for ac_func in localtime
34739 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
34740 if test "x$ac_cv_func_localtime" = x""yes; then :
34741 cat >>confdefs.h <<_ACEOF
34742 #define HAVE_LOCALTIME 1
34749 if test "$ac_cv_func_localtime" = "yes"; then
34750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34751 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34752 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then :
34753 $as_echo_n "(cached) " >&6
34756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34757 /* end confdefs.h. */
34772 if ac_fn_c_try_compile "$LINENO"; then :
34774 wx_cv_struct_tm_has_gmtoff=yes
34777 wx_cv_struct_tm_has_gmtoff=no
34780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34784 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34787 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34788 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
34796 if test "$wxUSE_SOCKETS" = "yes"; then
34797 if test "$TOOLKIT" != "MSW"; then
34798 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
34799 if test "x$ac_cv_func_socket" = x""yes; then :
34803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34804 $as_echo_n "checking for socket in -lsocket... " >&6; }
34805 if test "${ac_cv_lib_socket_socket+set}" = set; then :
34806 $as_echo_n "(cached) " >&6
34808 ac_check_lib_save_LIBS=$LIBS
34809 LIBS="-lsocket $LIBS"
34810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34811 /* end confdefs.h. */
34813 /* Override any GCC internal prototype to avoid an error.
34814 Use char because int might match the return type of a GCC
34815 builtin and then its argument prototype would still apply. */
34828 if ac_fn_c_try_link "$LINENO"; then :
34829 ac_cv_lib_socket_socket=yes
34831 ac_cv_lib_socket_socket=no
34833 rm -f core conftest.err conftest.$ac_objext \
34834 conftest$ac_exeext conftest.$ac_ext
34835 LIBS=$ac_check_lib_save_LIBS
34837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34838 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34839 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
34840 if test "$INET_LINK" != " -lsocket"; then
34841 INET_LINK="$INET_LINK -lsocket"
34845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34846 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34859 if test "$wxUSE_SOCKETS" = "yes" ; then
34860 if test "$TOOLKIT" != "MSW"; then
34861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34862 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34863 if test "${wx_cv_type_getsockname3+set}" = set; then :
34864 $as_echo_n "(cached) " >&6
34868 ac_cpp='$CXXCPP $CPPFLAGS'
34869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34874 /* end confdefs.h. */
34876 #include <sys/types.h>
34877 #include <sys/socket.h>
34884 getsockname(0, 0, &len);
34890 if ac_fn_cxx_try_compile "$LINENO"; then :
34891 wx_cv_type_getsockname3=socklen_t
34894 CFLAGS_OLD="$CFLAGS"
34895 if test "$GCC" = yes ; then
34896 CFLAGS="-Werror $CFLAGS"
34899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34900 /* end confdefs.h. */
34902 #include <sys/types.h>
34903 #include <sys/socket.h>
34910 getsockname(0, 0, &len);
34916 if ac_fn_cxx_try_compile "$LINENO"; then :
34917 wx_cv_type_getsockname3=size_t
34919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34920 /* end confdefs.h. */
34922 #include <sys/types.h>
34923 #include <sys/socket.h>
34930 getsockname(0, 0, &len);
34936 if ac_fn_cxx_try_compile "$LINENO"; then :
34937 wx_cv_type_getsockname3=int
34939 wx_cv_type_getsockname3=unknown
34942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34947 CFLAGS="$CFLAGS_OLD"
34951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34953 ac_cpp='$CPP $CPPFLAGS'
34954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
34961 $as_echo "$wx_cv_type_getsockname3" >&6; }
34963 if test "$wx_cv_type_getsockname3" = "unknown"; then
34965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34966 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34968 cat >>confdefs.h <<_ACEOF
34969 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
34973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
34974 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
34975 if test "${wx_cv_type_getsockopt5+set}" = set; then :
34976 $as_echo_n "(cached) " >&6
34980 ac_cpp='$CXXCPP $CPPFLAGS'
34981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34986 /* end confdefs.h. */
34988 #include <sys/types.h>
34989 #include <sys/socket.h>
34996 getsockopt(0, 0, 0, 0, &len);
35002 if ac_fn_cxx_try_compile "$LINENO"; then :
35003 wx_cv_type_getsockopt5=socklen_t
35006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35007 /* end confdefs.h. */
35009 #include <sys/types.h>
35010 #include <sys/socket.h>
35017 getsockopt(0, 0, 0, 0, &len);
35023 if ac_fn_cxx_try_compile "$LINENO"; then :
35024 wx_cv_type_getsockopt5=size_t
35026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35027 /* end confdefs.h. */
35029 #include <sys/types.h>
35030 #include <sys/socket.h>
35037 getsockopt(0, 0, 0, 0, &len);
35043 if ac_fn_cxx_try_compile "$LINENO"; then :
35044 wx_cv_type_getsockopt5=int
35046 wx_cv_type_getsockopt5=unknown
35049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35058 ac_cpp='$CPP $CPPFLAGS'
35059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35066 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35068 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35071 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35073 cat >>confdefs.h <<_ACEOF
35074 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35081 if test "$wxUSE_SOCKETS" = "yes" ; then
35082 if test "$wxUSE_IPV6" = "yes"; then
35083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35084 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35085 if test "${wx_cv_type_sockaddr_in6+set}" = set; then :
35086 $as_echo_n "(cached) " >&6
35089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35090 /* end confdefs.h. */
35092 #include <sys/types.h>
35093 #include <sys/socket.h>
35094 #include <netinet/in.h>
35100 struct sockaddr_in6 sa6;
35106 if ac_fn_c_try_compile "$LINENO"; then :
35107 wx_cv_type_sockaddr_in6=yes
35109 wx_cv_type_sockaddr_in6=no
35112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35117 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35119 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35120 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35124 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35128 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35133 if test "$wxUSE_PROTOCOL" = "yes"; then
35134 if test "$wxUSE_SOCKETS" != "yes"; then
35135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35136 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35141 if test "$wxUSE_PROTOCOL" = "yes"; then
35142 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35145 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35146 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35149 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35150 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35153 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35154 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35158 if test "$wxUSE_FS_INET" = "yes"; then
35159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35160 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35165 if test "$wxUSE_URL" = "yes"; then
35166 if test "$wxUSE_PROTOCOL" != "yes"; then
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35168 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35171 if test "$wxUSE_URL" = "yes"; then
35172 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35177 if test "$wxUSE_VARIANT" = "yes"; then
35178 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35182 if test "$wxUSE_FS_INET" = "yes"; then
35183 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35188 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35191 if test "$TOOLKIT" = "MSW"; then
35194 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35195 if test "$USE_DARWIN" = 1; then
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35197 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35199 ac_cpp='$CXXCPP $CPPFLAGS'
35200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35205 /* end confdefs.h. */
35206 #include <IOKit/hid/IOHIDLib.h>
35210 IOHIDQueueInterface *qi = NULL;
35211 IOHIDCallbackFunction cb = NULL;
35212 qi->setEventCallout(NULL, cb, NULL, NULL);
35217 if ac_fn_cxx_try_compile "$LINENO"; then :
35221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35223 ac_cpp='$CPP $CPPFLAGS'
35224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35229 $as_echo "$wxUSE_JOYSTICK" >&6; }
35233 for ac_header in linux/joystick.h
35235 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35237 if test "x$ac_cv_header_linux_joystick_h" = x""yes; then :
35238 cat >>confdefs.h <<_ACEOF
35239 #define HAVE_LINUX_JOYSTICK_H 1
35248 if test "$wxUSE_JOYSTICK" = "yes"; then
35249 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35254 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35260 if test "$wxUSE_FONTENUM" = "yes" ; then
35261 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35265 if test "$wxUSE_FONTMAP" = "yes" ; then
35266 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35270 if test "$wxUSE_UNICODE" = "yes" ; then
35271 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35274 if test "$USE_WIN32" != 1; then
35275 wxUSE_UNICODE_MSLU=no
35278 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35280 $as_echo_n "checking for main in -lunicows... " >&6; }
35281 if test "${ac_cv_lib_unicows_main+set}" = set; then :
35282 $as_echo_n "(cached) " >&6
35284 ac_check_lib_save_LIBS=$LIBS
35285 LIBS="-lunicows $LIBS"
35286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35287 /* end confdefs.h. */
35298 if ac_fn_c_try_link "$LINENO"; then :
35299 ac_cv_lib_unicows_main=yes
35301 ac_cv_lib_unicows_main=no
35303 rm -f core conftest.err conftest.$ac_objext \
35304 conftest$ac_exeext conftest.$ac_ext
35305 LIBS=$ac_check_lib_save_LIBS
35307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35308 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35309 if test "x$ac_cv_lib_unicows_main" = x""yes; then :
35311 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35317 Applications will only run on Windows NT/2000/XP!" >&5
35318 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35319 Applications will only run on Windows NT/2000/XP!" >&2;}
35320 wxUSE_UNICODE_MSLU=no
35327 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35328 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35331 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35332 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35338 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35339 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35344 if test "$wxUSE_MDI" = "yes"; then
35345 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35348 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35349 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35355 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35356 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35361 if test "$wxUSE_HELP" = "yes"; then
35362 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35366 if test "$wxUSE_MSW" = 1; then
35367 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35368 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35373 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35374 if test "$wxUSE_HTML" = "yes"; then
35375 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35379 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35380 wxUSE_WXHTML_HELP=no
35385 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35386 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35391 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35392 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35396 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35399 if test "$wxUSE_SVG" = "yes"; then
35400 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35405 if test "$wxUSE_METAFILE" = "yes"; then
35406 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35408 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35411 elif test "$wxUSE_METAFILE" = "auto"; then
35412 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35417 if test "$wxUSE_METAFILE" = "yes"; then
35418 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35420 if test "$wxUSE_MSW" = 1; then
35421 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35427 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35428 -o "$wxUSE_CLIPBOARD" = "yes" \
35429 -o "$wxUSE_OLE" = "yes" \
35430 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35431 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35433 if test "x$ac_cv_header_ole2_h" = x""yes; then :
35439 if test "$ac_cv_header_ole2_h" = "yes" ; then
35440 if test "$GCC" = yes ; then
35441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35442 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35444 /* end confdefs.h. */
35445 #include <windows.h>
35455 if ac_fn_c_try_compile "$LINENO"; then :
35456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35457 $as_echo "no" >&6; }
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35460 $as_echo "yes" >&6; }
35461 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35464 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35465 if test "$wxUSE_OLE" = "yes" ; then
35466 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35468 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35470 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35476 if test "$wxUSE_DATAOBJ" = "yes" ; then
35477 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35482 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35485 wxUSE_DRAG_AND_DROP=no
35491 if test "$wxUSE_IPC" = "yes"; then
35492 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35494 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35498 if test "$wxUSE_IPC" = "yes"; then
35499 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35505 if test "$wxUSE_DATAOBJ" = "yes"; then
35506 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35510 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35512 wxUSE_DRAG_AND_DROP=no
35515 if test "$wxUSE_CLIPBOARD" = "yes"; then
35516 if test "$wxUSE_DFB" = 1; then
35517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35518 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35522 if test "$wxUSE_CLIPBOARD" = "yes"; then
35523 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35528 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35529 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35531 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35532 wxUSE_DRAG_AND_DROP=no
35535 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35536 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35542 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35546 if test "$wxUSE_CLIPBOARD" = "yes"; then
35547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35550 if test "$wxUSE_SPLINES" = "yes" ; then
35551 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35555 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35556 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35560 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35561 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35566 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35567 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35573 if test "$wxUSE_CONTROLS" = "yes"; then
35577 if test "$wxUSE_MARKUP" = "yes"; then
35578 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35582 if test "$wxUSE_ACCEL" = "yes"; then
35583 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35588 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35589 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35595 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35596 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35600 if test "$wxUSE_BUTTON" = "yes"; then
35601 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35606 if test "$wxUSE_BMPBUTTON" = "yes"; then
35607 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35612 if test "$wxUSE_CALCTRL" = "yes"; then
35613 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35619 if test "$wxUSE_CARET" = "yes"; then
35620 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35626 if test "$wxUSE_COLLPANE" = "yes"; then
35627 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
35633 if test "$wxUSE_COMBOBOX" = "yes"; then
35634 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35639 if test "$wxUSE_COMBOCTRL" = "yes"; then
35640 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35645 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35646 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35651 if test "$wxUSE_CHOICE" = "yes"; then
35652 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35657 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35658 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35663 if test "$wxUSE_CHECKBOX" = "yes"; then
35664 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35669 if test "$wxUSE_CHECKLST" = "yes"; then
35670 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35675 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35676 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35681 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35682 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35687 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35688 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35693 if test "$wxUSE_FILECTRL" = "yes"; then
35694 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35699 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35700 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35705 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35706 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35711 if test "$wxUSE_DISPLAY" = "yes"; then
35712 if test "$wxUSE_DFB" = 1; then
35713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35714 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35717 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
35723 if test "$wxUSE_DETECT_SM" = "yes"; then
35724 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35728 if test "$wxUSE_GAUGE" = "yes"; then
35729 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35734 if test "$wxUSE_GRID" = "yes"; then
35735 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
35741 if test "$wxUSE_HEADERCTRL" = "yes"; then
35742 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35747 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35748 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35753 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35754 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35759 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35760 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
35766 if test "$wxUSE_IMAGLIST" = "yes"; then
35767 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35771 if test "$wxUSE_INFOBAR" = "yes"; then
35772 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35776 if test "$wxUSE_LISTBOOK" = "yes"; then
35777 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35782 if test "$wxUSE_LISTBOX" = "yes"; then
35783 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35788 if test "$wxUSE_LISTCTRL" = "yes"; then
35789 if test "$wxUSE_IMAGLIST" = "yes"; then
35790 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35796 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35800 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35801 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35806 if test "$wxUSE_NOTEBOOK" = "yes"; then
35807 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
35813 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35814 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35818 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35819 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
35825 if test "$wxUSE_RADIOBOX" = "yes"; then
35826 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35831 if test "$wxUSE_RADIOBTN" = "yes"; then
35832 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35837 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35838 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35842 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35843 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35847 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35848 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35852 if test "$wxUSE_SASH" = "yes"; then
35853 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
35858 if test "$wxUSE_SCROLLBAR" = "yes"; then
35859 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
35865 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35866 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35871 if test "$wxUSE_SLIDER" = "yes"; then
35872 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35877 if test "$wxUSE_SPINBTN" = "yes"; then
35878 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35883 if test "$wxUSE_SPINCTRL" = "yes"; then
35884 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35889 if test "$wxUSE_SPLITTER" = "yes"; then
35890 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
35895 if test "$wxUSE_STATBMP" = "yes"; then
35896 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35901 if test "$wxUSE_STATBOX" = "yes"; then
35902 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35907 if test "$wxUSE_STATTEXT" = "yes"; then
35908 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35913 if test "$wxUSE_STATLINE" = "yes"; then
35914 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35919 if test "$wxUSE_STATUSBAR" = "yes"; then
35920 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35922 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
35929 if test "$wxUSE_TEXTCTRL" = "yes"; then
35930 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
35935 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35937 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35941 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35942 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35947 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35948 if test "$wxUSE_OLD_COCOA" = 1 ; then
35949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35950 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35954 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35955 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
35961 if test "$wxUSE_TOOLBAR" = "yes"; then
35962 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
35966 if test "$wxUSE_UNIVERSAL" = "yes"; then
35967 wxUSE_TOOLBAR_NATIVE="no"
35969 wxUSE_TOOLBAR_NATIVE="yes"
35970 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
35974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
35977 if test "$wxUSE_TOOLTIPS" = "yes"; then
35978 if test "$wxUSE_MOTIF" = 1; then
35979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35980 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35982 if test "$wxUSE_UNIVERSAL" = "yes"; then
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35984 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35986 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
35992 if test "$wxUSE_TREEBOOK" = "yes"; then
35993 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
35998 if test "$wxUSE_TOOLBOOK" = "yes"; then
35999 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36004 if test "$wxUSE_TREECTRL" = "yes"; then
36005 if test "$wxUSE_IMAGLIST" = "yes"; then
36006 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36012 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36016 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36017 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36023 if test "$wxUSE_POPUPWIN" = "yes"; then
36024 if test "$wxUSE_OLD_COCOA" = 1 ; then
36025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36026 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36028 if test "$wxUSE_PM" = 1; then
36029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36030 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36032 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36041 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36042 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36044 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36046 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36052 if test "$wxUSE_TIPWINDOW" = "yes"; then
36053 if test "$wxUSE_PM" = 1; then
36054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36055 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36057 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36062 if test "$USES_CONTROLS" = 1; then
36063 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36068 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36069 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36074 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36075 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36079 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36080 if test "$wxUSE_GTK" != 1; then
36081 if test "$wxUSE_LIBPNG" != no -a \
36082 "$wxUSE_IMAGE" = yes -a \
36083 "$wxUSE_STREAMS" = yes; then
36084 wxUSE_ARTPROVIDER_TANGO="yes"
36089 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36090 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36094 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36095 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36100 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36101 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36103 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36105 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36112 if test "$wxUSE_HTML" = "yes"; then
36113 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36118 if test "$wxUSE_WEBKIT" = "yes"; then
36119 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36120 old_CPPFLAGS="$CPPFLAGS"
36121 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36122 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36123 #include <Carbon/Carbon.h>
36124 #include <WebKit/WebKit.h>
36127 if test "x$ac_cv_header_WebKit_HIWebView_h" = x""yes; then :
36129 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36131 WEBKIT_LINK="-framework WebKit"
36135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36136 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36142 CPPFLAGS="$old_CPPFLAGS"
36143 elif test "$wxUSE_OLD_COCOA" = 1; then
36144 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36149 if test "$wxUSE_WEBKIT" = "yes"; then
36150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36155 if test "$wxUSE_XRC" = "yes"; then
36156 if test "$wxUSE_XML" != "yes"; then
36157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36158 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36161 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36169 if test "$wxUSE_AUI" = "yes"; then
36170 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36177 if test "$wxUSE_PROPGRID" = "yes"; then
36178 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36185 if test "$wxUSE_RIBBON" = "yes"; then
36186 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36193 if test "$wxUSE_STC" = "yes"; then
36194 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36199 # Extract the first word of "python", so it can be a program name with args.
36200 set dummy python; ac_word=$2
36201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36202 $as_echo_n "checking for $ac_word... " >&6; }
36203 if test "${ac_cv_path_PYTHON+set}" = set; then :
36204 $as_echo_n "(cached) " >&6
36208 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36212 for as_dir in $PATH
36215 test -z "$as_dir" && as_dir=.
36216 for ac_exec_ext in '' $ac_executable_extensions; do
36217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36218 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36229 PYTHON=$ac_cv_path_PYTHON
36230 if test -n "$PYTHON"; then
36231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36232 $as_echo "$PYTHON" >&6; }
36234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36235 $as_echo "no" >&6; }
36239 if test "x$PYTHON" = "x"; then
36245 if test "$wxUSE_MENUS" = "yes"; then
36246 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36251 if test "$wxUSE_MIMETYPE" = "yes"; then
36252 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36256 if test "$wxUSE_MINIFRAME" = "yes"; then
36257 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36261 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36262 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36266 if test "$wxUSE_TASKBARICON" = "yes"; then
36267 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36269 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36275 if test "$wxUSE_VALIDATORS" = "yes"; then
36276 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36281 if test "$wxUSE_PALETTE" = "yes" ; then
36282 if test "$wxUSE_DFB" = 1; then
36283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36284 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36287 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36292 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36293 LIBS=" -lunicows $LIBS"
36297 if test "$wxUSE_RICHTEXT" = "yes"; then
36298 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36304 if test "$wxUSE_WEBVIEW" = "yes"; then
36305 USE_WEBVIEW_WEBKIT=0
36306 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36307 if test "$wxUSE_GTK" = 1; then
36308 webkitgtk=webkit-1.0
36309 if test "$WXGTK3" = 1; then
36310 webkitgtk=webkitgtk-3.0
36314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36315 $as_echo_n "checking for WEBKIT... " >&6; }
36317 if test -n "$PKG_CONFIG"; then
36318 if test -n "$WEBKIT_CFLAGS"; then
36319 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36321 if test -n "$PKG_CONFIG" && \
36322 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36323 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36326 test $ac_status = 0; }; then
36327 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36335 if test -n "$PKG_CONFIG"; then
36336 if test -n "$WEBKIT_LIBS"; then
36337 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36339 if test -n "$PKG_CONFIG" && \
36340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36341 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36344 test $ac_status = 0; }; then
36345 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36356 if test $pkg_failed = yes; then
36358 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36359 _pkg_short_errors_supported=yes
36361 _pkg_short_errors_supported=no
36363 if test $_pkg_short_errors_supported = yes; then
36364 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36366 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36368 # Put the nasty error message in config.log where it belongs
36369 echo "$WEBKIT_PKG_ERRORS" >&5
36372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36373 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36375 elif test $pkg_failed = untried; then
36377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36378 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36381 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36382 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36384 $as_echo "yes" >&6; }
36386 USE_WEBVIEW_WEBKIT=1
36387 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36388 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36391 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36392 old_CPPFLAGS="$CPPFLAGS"
36393 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36394 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36395 #include <Carbon/Carbon.h>
36396 #include <WebKit/WebKit.h>
36399 if test "x$ac_cv_header_WebKit_HIWebView_h" = x""yes; then :
36401 USE_WEBVIEW_WEBKIT=1
36402 WEBKIT_LINK="-framework WebKit"
36406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36407 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36412 CPPFLAGS="$old_CPPFLAGS"
36417 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36418 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36419 wxUSE_WEBVIEW="yes"
36420 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36424 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36426 elif test "$wxUSE_MSW" = 1; then
36427 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36428 wxUSE_WEBVIEW="yes"
36429 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36435 if test "$wxUSE_WEBVIEW" = "yes"; then
36437 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36445 if test "$wxUSE_IMAGE" = "yes" ; then
36446 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36449 if test "$wxUSE_GIF" = "yes" ; then
36450 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36454 if test "$wxUSE_PCX" = "yes" ; then
36455 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36459 if test "$wxUSE_TGA" = "yes" ; then
36460 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36464 if test "$wxUSE_IFF" = "yes" ; then
36465 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36469 if test "$wxUSE_PNM" = "yes" ; then
36470 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36474 if test "$wxUSE_XPM" = "yes" ; then
36475 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36479 if test "$wxUSE_ICO_CUR" = "yes" ; then
36480 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36486 if test "$wxUSE_ABOUTDLG" = "yes"; then
36487 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36491 if test "$wxUSE_CHOICEDLG" = "yes"; then
36492 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36496 if test "$wxUSE_COLOURDLG" = "yes"; then
36497 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36501 if test "$wxUSE_FILEDLG" = "yes"; then
36502 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36506 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36507 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36511 if test "$wxUSE_FONTDLG" = "yes"; then
36512 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36516 if test "$wxUSE_DIRDLG" = "yes"; then
36517 if test "$wxUSE_TREECTRL" != "yes"; then
36518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36519 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36521 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36526 if test "$wxUSE_MSGDLG" = "yes"; then
36527 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36531 if test "$wxUSE_NUMBERDLG" = "yes"; then
36532 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36536 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36537 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36541 if test "$wxUSE_SPLASH" = "yes"; then
36542 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36547 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36548 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36552 if test "$wxUSE_TEXTDLG" = "yes"; then
36553 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36557 if test "$wxUSE_WIZARDDLG" = "yes"; then
36558 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36564 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36565 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36566 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36572 if test "$wxUSE_MSW" = 1 ; then
36574 if test "$wxUSE_DC_CACHEING" = "yes"; then
36575 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36579 if test "$wxUSE_DIB" = "yes"; then
36580 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36584 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36585 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36589 if test "$wxUSE_UXTHEME" = "yes"; then
36590 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36596 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36597 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36601 if test "$USE_WIN32" = 1 ; then
36602 if test "$wxUSE_INICONF" = "yes"; then
36603 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36607 if test "$wxUSE_REGKEY" = "yes"; then
36608 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36614 if test "$wxUSE_MAC" = 1; then
36615 wxUSE_GRAPHICS_CONTEXT="yes"
36618 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36620 if test "$wxUSE_MSW" = 1; then
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36622 $as_echo_n "checking if GDI+ is available... " >&6; }
36623 if test "${wx_cv_lib_gdiplus+set}" = set; then :
36624 $as_echo_n "(cached) " >&6
36628 ac_cpp='$CXXCPP $CPPFLAGS'
36629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36634 /* end confdefs.h. */
36635 #include <windows.h>
36636 #include <gdiplus.h>
36641 using namespace Gdiplus;
36647 if ac_fn_cxx_try_compile "$LINENO"; then :
36648 wx_cv_lib_gdiplus=yes
36650 wx_cv_lib_gdiplus=no
36653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36655 ac_cpp='$CPP $CPPFLAGS'
36656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36664 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36665 if test "$wx_cv_lib_gdiplus" = "yes"; then
36668 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36672 $as_echo_n "checking for CAIRO... " >&6; }
36674 if test -n "$PKG_CONFIG"; then
36675 if test -n "$CAIRO_CFLAGS"; then
36676 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
36678 if test -n "$PKG_CONFIG" && \
36679 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36680 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36683 test $ac_status = 0; }; then
36684 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36692 if test -n "$PKG_CONFIG"; then
36693 if test -n "$CAIRO_LIBS"; then
36694 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
36696 if test -n "$PKG_CONFIG" && \
36697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36698 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36701 test $ac_status = 0; }; then
36702 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36713 if test $pkg_failed = yes; then
36715 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36716 _pkg_short_errors_supported=yes
36718 _pkg_short_errors_supported=no
36720 if test $_pkg_short_errors_supported = yes; then
36721 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36723 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36725 # Put the nasty error message in config.log where it belongs
36726 echo "$CAIRO_PKG_ERRORS" >&5
36728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36729 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36731 elif test $pkg_failed = untried; then
36732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36733 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36736 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
36737 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
36738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36739 $as_echo "yes" >&6; }
36742 if test "$wx_has_graphics" = 1; then
36744 LIBS="$LIBS $CAIRO_LIBS"
36745 for ac_func in cairo_push_group
36747 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36748 if test "x$ac_cv_func_cairo_push_group" = x""yes; then :
36749 cat >>confdefs.h <<_ACEOF
36750 #define HAVE_CAIRO_PUSH_GROUP 1
36757 if test "$ac_cv_func_cairo_push_group" = "no"; then
36759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36760 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36762 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36765 if test "$wxUSE_GTK" != 1; then
36766 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
36767 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
36775 if test "$wx_has_graphics" = 1; then
36776 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36780 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36787 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36790 if test "$wxUSE_GTK" = 1; then
36791 wxUSE_GSTREAMER="no"
36793 GST_VERSION_MAJOR=0
36794 GST_VERSION_MINOR=10
36795 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36797 if test "$wxUSE_GSTREAMER8" = "no"; then
36800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36801 $as_echo_n "checking for GST... " >&6; }
36803 if test -n "$PKG_CONFIG"; then
36804 if test -n "$GST_CFLAGS"; then
36805 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36807 if test -n "$PKG_CONFIG" && \
36808 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36809 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36812 test $ac_status = 0; }; then
36813 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36821 if test -n "$PKG_CONFIG"; then
36822 if test -n "$GST_LIBS"; then
36823 pkg_cv_GST_LIBS="$GST_LIBS"
36825 if test -n "$PKG_CONFIG" && \
36826 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36827 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36830 test $ac_status = 0; }; then
36831 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36842 if test $pkg_failed = yes; then
36844 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36845 _pkg_short_errors_supported=yes
36847 _pkg_short_errors_supported=no
36849 if test $_pkg_short_errors_supported = yes; then
36850 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36852 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36854 # Put the nasty error message in config.log where it belongs
36855 echo "$GST_PKG_ERRORS" >&5
36858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36859 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36860 GST_VERSION_MINOR=8
36863 elif test $pkg_failed = untried; then
36865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36866 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36867 GST_VERSION_MINOR=8
36871 GST_CFLAGS=$pkg_cv_GST_CFLAGS
36872 GST_LIBS=$pkg_cv_GST_LIBS
36873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36874 $as_echo "yes" >&6; }
36876 wxUSE_GSTREAMER="yes"
36877 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36881 GST_VERSION_MINOR=8
36884 if test $GST_VERSION_MINOR = "8"; then
36885 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36889 $as_echo_n "checking for GST... " >&6; }
36891 if test -n "$PKG_CONFIG"; then
36892 if test -n "$GST_CFLAGS"; then
36893 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36895 if test -n "$PKG_CONFIG" && \
36896 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36897 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36900 test $ac_status = 0; }; then
36901 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36909 if test -n "$PKG_CONFIG"; then
36910 if test -n "$GST_LIBS"; then
36911 pkg_cv_GST_LIBS="$GST_LIBS"
36913 if test -n "$PKG_CONFIG" && \
36914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36915 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36918 test $ac_status = 0; }; then
36919 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36930 if test $pkg_failed = yes; then
36932 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36933 _pkg_short_errors_supported=yes
36935 _pkg_short_errors_supported=no
36937 if test $_pkg_short_errors_supported = yes; then
36938 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36940 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36942 # Put the nasty error message in config.log where it belongs
36943 echo "$GST_PKG_ERRORS" >&5
36946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36947 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36949 elif test $pkg_failed = untried; then
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36952 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36955 GST_CFLAGS=$pkg_cv_GST_CFLAGS
36956 GST_LIBS=$pkg_cv_GST_LIBS
36957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36958 $as_echo "yes" >&6; }
36959 wxUSE_GSTREAMER="yes"
36964 if test "$wxUSE_GSTREAMER" = "yes"; then
36965 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
36966 EXTRALIBS_MEDIA="$GST_LIBS"
36968 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
36975 if test $USE_MEDIA = 1; then
36976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
36977 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
36980 if test "$wxUSE_MEDIACTRL" = "yes"; then
36981 as_fn_error $? "GStreamer not available" "$LINENO" 5
36983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
36984 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
36990 if test "$cross_compiling" != "no"; then
36993 OSINFO=`uname -s -r -m`
36994 OSINFO="\"$OSINFO\""
36997 cat >>confdefs.h <<_ACEOF
36998 #define WXWIN_OS_DESCRIPTION $OSINFO
37003 if test "x$prefix" != "xNONE"; then
37006 wxPREFIX=$ac_default_prefix
37009 cat >>confdefs.h <<_ACEOF
37010 #define wxINSTALL_PREFIX "$wxPREFIX"
37016 STD_BASE_LIBS="base"
37018 BUILT_WX_LIBS="base"
37019 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37021 if test "$wxUSE_SOCKETS" = "yes" ; then
37022 STD_BASE_LIBS="net $STD_BASE_LIBS"
37023 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37025 if test "$wxUSE_XML" = "yes" ; then
37026 STD_BASE_LIBS="xml $STD_BASE_LIBS"
37027 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37030 if test "$wxUSE_GUI" = "yes"; then
37031 STD_GUI_LIBS="adv core"
37032 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37034 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37035 STD_GUI_LIBS="qa $STD_GUI_LIBS"
37036 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37038 if test "$wxUSE_HTML" = "yes" ; then
37039 STD_GUI_LIBS="html $STD_GUI_LIBS"
37040 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37042 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37043 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37045 if test "$wxUSE_OPENGL" = "yes" ; then
37046 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37048 if test "$wxUSE_AUI" = "yes" ; then
37049 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37051 if test "$wxUSE_PROPGRID" = "yes" ; then
37052 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37054 if test "$wxUSE_RIBBON" = "yes" ; then
37055 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37057 if test "$wxUSE_RICHTEXT" = "yes" ; then
37058 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37060 if test "$wxUSE_STC" = "yes" ; then
37061 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37063 if test "$wxUSE_WEBVIEW" = "yes" ; then
37064 STD_GUI_LIBS="webview $STD_GUI_LIBS"
37065 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37067 if test "$wxUSE_XRC" = "yes" ; then
37068 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37069 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37080 if test "$wxUSE_MAC" = 1 ; then
37081 if test "$USE_DARWIN" = 1; then
37082 if test "$wxUSE_OSX_IPHONE" = 1; then
37083 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37085 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37088 if test "$cross_compiling" != "no"; then
37089 wx_cv_target_x86_64=no
37091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37092 $as_echo_n "checking if we target only x86_64... " >&6; }
37093 if test "${wx_cv_target_x86_64+set}" = set; then :
37094 $as_echo_n "(cached) " >&6
37096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37097 /* end confdefs.h. */
37098 int main() { return 0; }
37100 if ac_fn_c_try_link "$LINENO"; then :
37101 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37102 wx_cv_target_x86_64=no
37104 wx_cv_target_x86_64=yes
37108 rm -f core conftest.err conftest.$ac_objext \
37109 conftest$ac_exeext conftest.$ac_ext
37112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37113 $as_echo "$wx_cv_target_x86_64" >&6; }
37116 if test "$wx_cv_target_x86_64" != "yes"; then
37117 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37122 if test "$wxUSE_OLD_COCOA" = 1 ; then
37123 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37124 if test "$wxUSE_MEDIACTRL" = "yes"; then
37125 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37128 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37129 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37132 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37133 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37135 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37137 if test "$wxUSE_GUI" = "yes"; then
37140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37141 erase event exec font image minimal render \
37142 shaped svg taborder vscroll widgets wrapsizer"
37144 if test "$wxUSE_MONOLITHIC" != "yes"; then
37145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37147 if test "$TOOLKIT" = "MSW"; then
37148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37149 if test "$wxUSE_UNIVERSAL" != "yes"; then
37150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37153 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37157 SAMPLES_SUBDIRS="console"
37158 if test "$wxUSE_SOCKETS" = "yes" ; then
37159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37161 if test "$wxUSE_IPC" = "yes" ; then
37162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37167 if test "x$INTELCC" = "xyes" ; then
37168 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37169 elif test "$GCC" = yes ; then
37170 CWARNINGS="-Wall -Wundef"
37173 if test "x$INTELCXX" = "xyes" ; then
37174 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37175 elif test "$GXX" = yes ; then
37176 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37178 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37179 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then :
37180 $as_echo_n "(cached) " >&6
37182 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37185 ac_cpp='$CXXCPP $CPPFLAGS'
37186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37190 ac_save_CXXFLAGS="$CXXFLAGS"
37191 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37192 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37194 /* end confdefs.h. */
37204 if ac_fn_cxx_try_compile "$LINENO"; then :
37205 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37209 CXXFLAGS="$ac_save_CXXFLAGS"
37211 ac_cpp='$CPP $CPPFLAGS'
37212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37219 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37220 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37224 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37225 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37226 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37229 test $ac_status = 0; }
37230 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37231 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37234 test $ac_status = 0; }
37235 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37241 if test "$wxUSE_MAC" = 1 ; then
37242 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37247 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37248 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37251 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37252 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37253 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37256 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37257 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37258 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37259 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37260 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37262 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37265 if test "x$MWCC" = "xyes"; then
37267 CC="$CC -cwd source -I-"
37268 CXX="$CXX -cwd source -I-"
37273 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37274 EXTRALIBS_XML="$EXPAT_LINK"
37275 EXTRALIBS_HTML="$MSPACK_LINK"
37276 EXTRALIBS_MEDIA="$GST_LIBS"
37277 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37278 if test "$wxUSE_GUI" = "yes"; then
37279 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
37281 if test "$wxUSE_OPENGL" = "yes"; then
37282 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37285 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37287 WXCONFIG_LIBS="$LIBS"
37289 if test "$wxUSE_REGEX" = "builtin" ; then
37290 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37292 if test "$wxUSE_EXPAT" = "builtin" ; then
37293 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37295 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37296 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37298 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37299 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37301 if test "$wxUSE_LIBPNG" = "builtin" ; then
37302 wxconfig_3rdparty="png $wxconfig_3rdparty"
37304 if test "$wxUSE_ZLIB" = "builtin" ; then
37305 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37308 for i in $wxconfig_3rdparty ; do
37309 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37313 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37316 case "$wxUNIV_THEMES" in
37318 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37323 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37324 cat >>confdefs.h <<_ACEOF
37325 #define wxUSE_THEME_$t 1
37341 if test $wxUSE_MONOLITHIC = "yes" ; then
37347 if test $wxUSE_PLUGINS = "yes" ; then
37353 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37359 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37391 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37404 TOOLKIT_DESC="GTK+"
37405 if test "$WXGTK2" = 1; then
37406 if test "$WXGTK3" = 1; then
37407 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37409 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37411 if test "$wxUSE_GTKPRINT" = "yes" ; then
37412 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37414 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37415 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37417 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37418 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37420 if test "$wxUSE_LIBHILDON" = "yes"; then
37421 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37423 if test "$wxUSE_LIBHILDON2" = "yes"; then
37424 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37427 if test "$TOOLKIT_EXTRA" != ""; then
37428 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37434 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37438 TOOLKIT_DESC="base only"
37442 if test "$wxUSE_WINE" = "yes"; then
37443 BAKEFILE_FORCE_PLATFORM=win32
37446 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37449 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37450 if test "${wx_cv_gcc_pch_bug+set}" = set; then :
37451 $as_echo_n "(cached) " >&6
37454 echo '#include <stdio.h>
37455 const wchar_t test_var[] = L"awidetest";' > conftest.h
37457 echo '#include "conftest.h"
37460 printf("%ls", test_var);
37464 wx_cv_gcc_pch_bug="pch not supported"
37466 if $CXX conftest.h >/dev/null 2>&1
37470 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37472 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37473 grep awidetest >/dev/null
37475 wx_cv_gcc_pch_bug=no
37477 wx_cv_gcc_pch_bug=yes
37482 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37486 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37488 if test "$wx_cv_gcc_pch_bug" = yes; then
37493 # Find a good install program. We prefer a C program (faster),
37494 # so one script is as good as another. But avoid the broken or
37495 # incompatible versions:
37496 # SysV /etc/install, /usr/sbin/install
37497 # SunOS /usr/etc/install
37498 # IRIX /sbin/install
37500 # AmigaOS /C/install, which installs bootblocks on floppy discs
37501 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37502 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37503 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37504 # OS/2's system install, which has a completely different semantic
37505 # ./install, which can be erroneously created by make from ./install.sh.
37506 # Reject install programs that cannot install multiple files.
37507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37508 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37509 if test -z "$INSTALL"; then
37510 if test "${ac_cv_path_install+set}" = set; then :
37511 $as_echo_n "(cached) " >&6
37513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37514 for as_dir in $PATH
37517 test -z "$as_dir" && as_dir=.
37518 # Account for people who put trailing slashes in PATH elements.
37519 case $as_dir/ in #((
37520 ./ | .// | /[cC]/* | \
37521 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37522 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37525 # OSF1 and SCO ODT 3.0 have their own names for install.
37526 # Don't use installbsd from OSF since it installs stuff as root
37528 for ac_prog in ginstall scoinst install; do
37529 for ac_exec_ext in '' $ac_executable_extensions; do
37530 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
37531 if test $ac_prog = install &&
37532 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37533 # AIX install. It has an incompatible calling convention.
37535 elif test $ac_prog = install &&
37536 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37537 # program-specific install script used by HP pwplus--don't use.
37540 rm -rf conftest.one conftest.two conftest.dir
37541 echo one > conftest.one
37542 echo two > conftest.two
37544 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37545 test -s conftest.one && test -s conftest.two &&
37546 test -s conftest.dir/conftest.one &&
37547 test -s conftest.dir/conftest.two
37549 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37562 rm -rf conftest.one conftest.two conftest.dir
37565 if test "${ac_cv_path_install+set}" = set; then
37566 INSTALL=$ac_cv_path_install
37568 # As a last resort, use the slow shell script. Don't cache a
37569 # value for INSTALL within a source directory, because that will
37570 # break other packages using the cache if that directory is
37571 # removed, or if the value is a relative name.
37572 INSTALL=$ac_install_sh
37575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37576 $as_echo "$INSTALL" >&6; }
37578 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37579 # It thinks the first close brace ends the variable substitution.
37580 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37582 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37584 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37592 if test "x$BAKEFILE_HOST" = "x"; then
37593 if test "x${host}" = "x" ; then
37594 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37597 BAKEFILE_HOST="${host}"
37600 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37602 if test -n "$ac_tool_prefix"; then
37603 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37604 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37606 $as_echo_n "checking for $ac_word... " >&6; }
37607 if test "${ac_cv_prog_RANLIB+set}" = set; then :
37608 $as_echo_n "(cached) " >&6
37610 if test -n "$RANLIB"; then
37611 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37614 for as_dir in $PATH
37617 test -z "$as_dir" && as_dir=.
37618 for ac_exec_ext in '' $ac_executable_extensions; do
37619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37620 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37630 RANLIB=$ac_cv_prog_RANLIB
37631 if test -n "$RANLIB"; then
37632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37633 $as_echo "$RANLIB" >&6; }
37635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37636 $as_echo "no" >&6; }
37641 if test -z "$ac_cv_prog_RANLIB"; then
37642 ac_ct_RANLIB=$RANLIB
37643 # Extract the first word of "ranlib", so it can be a program name with args.
37644 set dummy ranlib; ac_word=$2
37645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37646 $as_echo_n "checking for $ac_word... " >&6; }
37647 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
37648 $as_echo_n "(cached) " >&6
37650 if test -n "$ac_ct_RANLIB"; then
37651 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37654 for as_dir in $PATH
37657 test -z "$as_dir" && as_dir=.
37658 for ac_exec_ext in '' $ac_executable_extensions; do
37659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37660 ac_cv_prog_ac_ct_RANLIB="ranlib"
37661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37670 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37671 if test -n "$ac_ct_RANLIB"; then
37672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37673 $as_echo "$ac_ct_RANLIB" >&6; }
37675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37676 $as_echo "no" >&6; }
37679 if test "x$ac_ct_RANLIB" = x; then
37682 case $cross_compiling:$ac_tool_warned in
37684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37686 ac_tool_warned=yes ;;
37688 RANLIB=$ac_ct_RANLIB
37691 RANLIB="$ac_cv_prog_RANLIB"
37695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37696 $as_echo_n "checking whether ln -s works... " >&6; }
37698 if test "$LN_S" = "ln -s"; then
37699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37700 $as_echo "yes" >&6; }
37702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37703 $as_echo "no, using $LN_S" >&6; }
37707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37708 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37710 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37711 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
37712 $as_echo_n "(cached) " >&6
37714 cat >conftest.make <<\_ACEOF
37717 @echo '@@@%%%=$(MAKE)=@@@%%%'
37719 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37720 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37721 *@@@%%%=?*=@@@%%%*)
37722 eval ac_cv_prog_make_${ac_make}_set=yes;;
37724 eval ac_cv_prog_make_${ac_make}_set=no;;
37726 rm -f conftest.make
37728 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
37729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37730 $as_echo "yes" >&6; }
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37734 $as_echo "no" >&6; }
37735 SET_MAKE="MAKE=${MAKE-make}"
37740 if test "x$SUNCXX" = "xyes"; then
37742 AROPTIONS="-xar -o"
37744 elif test "x$SGICC" = "xyes"; then
37749 if test -n "$ac_tool_prefix"; then
37750 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37751 set dummy ${ac_tool_prefix}ar; ac_word=$2
37752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37753 $as_echo_n "checking for $ac_word... " >&6; }
37754 if test "${ac_cv_prog_AR+set}" = set; then :
37755 $as_echo_n "(cached) " >&6
37757 if test -n "$AR"; then
37758 ac_cv_prog_AR="$AR" # Let the user override the test.
37760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37761 for as_dir in $PATH
37764 test -z "$as_dir" && as_dir=.
37765 for ac_exec_ext in '' $ac_executable_extensions; do
37766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37767 ac_cv_prog_AR="${ac_tool_prefix}ar"
37768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37778 if test -n "$AR"; then
37779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37780 $as_echo "$AR" >&6; }
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37783 $as_echo "no" >&6; }
37788 if test -z "$ac_cv_prog_AR"; then
37790 # Extract the first word of "ar", so it can be a program name with args.
37791 set dummy ar; ac_word=$2
37792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37793 $as_echo_n "checking for $ac_word... " >&6; }
37794 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
37795 $as_echo_n "(cached) " >&6
37797 if test -n "$ac_ct_AR"; then
37798 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37801 for as_dir in $PATH
37804 test -z "$as_dir" && as_dir=.
37805 for ac_exec_ext in '' $ac_executable_extensions; do
37806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37807 ac_cv_prog_ac_ct_AR="ar"
37808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37817 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37818 if test -n "$ac_ct_AR"; then
37819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37820 $as_echo "$ac_ct_AR" >&6; }
37822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37823 $as_echo "no" >&6; }
37826 if test "x$ac_ct_AR" = x; then
37829 case $cross_compiling:$ac_tool_warned in
37831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37833 ac_tool_warned=yes ;;
37838 AR="$ac_cv_prog_AR"
37845 if test -n "$ac_tool_prefix"; then
37846 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37847 set dummy ${ac_tool_prefix}strip; ac_word=$2
37848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37849 $as_echo_n "checking for $ac_word... " >&6; }
37850 if test "${ac_cv_prog_STRIP+set}" = set; then :
37851 $as_echo_n "(cached) " >&6
37853 if test -n "$STRIP"; then
37854 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37857 for as_dir in $PATH
37860 test -z "$as_dir" && as_dir=.
37861 for ac_exec_ext in '' $ac_executable_extensions; do
37862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37863 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37873 STRIP=$ac_cv_prog_STRIP
37874 if test -n "$STRIP"; then
37875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37876 $as_echo "$STRIP" >&6; }
37878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37879 $as_echo "no" >&6; }
37884 if test -z "$ac_cv_prog_STRIP"; then
37886 # Extract the first word of "strip", so it can be a program name with args.
37887 set dummy strip; ac_word=$2
37888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37889 $as_echo_n "checking for $ac_word... " >&6; }
37890 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
37891 $as_echo_n "(cached) " >&6
37893 if test -n "$ac_ct_STRIP"; then
37894 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
37896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37897 for as_dir in $PATH
37900 test -z "$as_dir" && as_dir=.
37901 for ac_exec_ext in '' $ac_executable_extensions; do
37902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37903 ac_cv_prog_ac_ct_STRIP="strip"
37904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37913 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
37914 if test -n "$ac_ct_STRIP"; then
37915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37916 $as_echo "$ac_ct_STRIP" >&6; }
37918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37919 $as_echo "no" >&6; }
37922 if test "x$ac_ct_STRIP" = x; then
37925 case $cross_compiling:$ac_tool_warned in
37927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37929 ac_tool_warned=yes ;;
37934 STRIP="$ac_cv_prog_STRIP"
37937 if test -n "$ac_tool_prefix"; then
37938 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37939 set dummy ${ac_tool_prefix}nm; ac_word=$2
37940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37941 $as_echo_n "checking for $ac_word... " >&6; }
37942 if test "${ac_cv_prog_NM+set}" = set; then :
37943 $as_echo_n "(cached) " >&6
37945 if test -n "$NM"; then
37946 ac_cv_prog_NM="$NM" # Let the user override the test.
37948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37949 for as_dir in $PATH
37952 test -z "$as_dir" && as_dir=.
37953 for ac_exec_ext in '' $ac_executable_extensions; do
37954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37955 ac_cv_prog_NM="${ac_tool_prefix}nm"
37956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37966 if test -n "$NM"; then
37967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
37968 $as_echo "$NM" >&6; }
37970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37971 $as_echo "no" >&6; }
37976 if test -z "$ac_cv_prog_NM"; then
37978 # Extract the first word of "nm", so it can be a program name with args.
37979 set dummy nm; ac_word=$2
37980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37981 $as_echo_n "checking for $ac_word... " >&6; }
37982 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
37983 $as_echo_n "(cached) " >&6
37985 if test -n "$ac_ct_NM"; then
37986 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
37988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37989 for as_dir in $PATH
37992 test -z "$as_dir" && as_dir=.
37993 for ac_exec_ext in '' $ac_executable_extensions; do
37994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37995 ac_cv_prog_ac_ct_NM="nm"
37996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38005 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38006 if test -n "$ac_ct_NM"; then
38007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38008 $as_echo "$ac_ct_NM" >&6; }
38010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38011 $as_echo "no" >&6; }
38014 if test "x$ac_ct_NM" = x; then
38017 case $cross_compiling:$ac_tool_warned in
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38021 ac_tool_warned=yes ;;
38026 NM="$ac_cv_prog_NM"
38030 INSTALL_DIR="mkdir -p"
38034 case ${BAKEFILE_HOST} in
38035 *-*-cygwin* | *-*-mingw32* )
38036 LDFLAGS_GUI="-mwindows"
38042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38043 $as_echo_n "checking if make is GNU make... " >&6; }
38044 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then :
38045 $as_echo_n "(cached) " >&6
38048 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38049 egrep -s GNU > /dev/null); then
38050 bakefile_cv_prog_makeisgnu="yes"
38052 bakefile_cv_prog_makeisgnu="no"
38056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38057 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38059 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38076 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38077 case "${BAKEFILE_HOST}" in
38084 *-pc-os2_emx | *-pc-os2-emx )
38094 powerpc-apple-macos* )
38103 case "$BAKEFILE_FORCE_PLATFORM" in
38124 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38139 # Check whether --enable-omf was given.
38140 if test "${enable_omf+set}" = set; then :
38141 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38145 case "${BAKEFILE_HOST}" in
38147 if test "x$GCC" = "xyes"; then
38148 CFLAGS="$CFLAGS -fno-common"
38149 CXXFLAGS="$CXXFLAGS -fno-common"
38151 if test "x$XLCC" = "xyes"; then
38152 CFLAGS="$CFLAGS -qnocommon"
38153 CXXFLAGS="$CXXFLAGS -qnocommon"
38157 *-pc-os2_emx | *-pc-os2-emx )
38158 if test "x$bk_os2_use_omf" = "xyes" ; then
38161 LDFLAGS="-Zomf $LDFLAGS"
38162 CFLAGS="-Zomf $CFLAGS"
38163 CXXFLAGS="-Zomf $CXXFLAGS"
38171 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38177 SO_SUFFIX_MODULE="so"
38182 DLLPREFIX_MODULE=""
38186 case "${BAKEFILE_HOST}" in
38191 SO_SUFFIX_MODULE="sl"
38195 SO_SUFFIX_MODULE="a"
38199 SO_SUFFIX_MODULE="dll"
38200 DLLIMP_SUFFIX="dll.a"
38207 SO_SUFFIX_MODULE="dll"
38208 DLLIMP_SUFFIX="dll.a"
38218 *-pc-os2_emx | *-pc-os2-emx )
38220 SO_SUFFIX_MODULE="dll"
38221 DLLIMP_SUFFIX=$OS2_LIBEXT
38225 LIBEXT=".$OS2_LIBEXT"
38230 SO_SUFFIX_MODULE="bundle"
38234 if test "x$DLLIMP_SUFFIX" = "x" ; then
38235 DLLIMP_SUFFIX="$SO_SUFFIX"
38250 if test "x$GCC" = "xyes"; then
38254 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38255 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38258 case "${BAKEFILE_HOST}" in
38260 if test "x$GCC" != "xyes"; then
38261 LDFLAGS="$LDFLAGS -L/usr/lib"
38263 SHARED_LD_CC="${CC} -b -o"
38264 SHARED_LD_CXX="${CXX} -b -o"
38270 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38272 elif test "x$SUNCXX" = "xyes"; then
38273 SHARED_LD_CC="${CC} -G -o"
38274 SHARED_LD_CXX="${CXX} -G -o"
38280 if test "x$SUNCXX" = xyes ; then
38281 SHARED_LD_CC="${CC} -G -o"
38282 SHARED_LD_CXX="${CXX} -G -o"
38290 cat <<EOF >shared-ld-sh
38292 #-----------------------------------------------------------------------------
38293 #-- Name: distrib/mac/shared-ld-sh
38294 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38295 #-- Author: Gilles Depeyrot
38296 #-- Copyright: (c) 2002 Gilles Depeyrot
38297 #-- Licence: any use permitted
38298 #-----------------------------------------------------------------------------
38303 linking_flag="-dynamiclib"
38304 ldargs="-r -keep_private_externs -nostdlib"
38306 if test "x${D}CXX" = "x"; then
38310 while test ${D}# -gt 0; do
38317 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38318 # collect these options and values
38319 args="${D}{args} ${D}1 ${D}2"
38324 # collect these options and values
38325 ldargs="${D}{ldargs} ${D}1 ${D}2"
38330 # collect these load args
38331 ldargs="${D}{ldargs} ${D}1"
38334 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38335 # collect these options
38336 args="${D}{args} ${D}1"
38339 -dynamiclib|-bundle)
38340 linking_flag="${D}1"
38344 echo "shared-ld: unhandled option '${D}1'"
38348 *.o | *.a | *.dylib)
38349 # collect object files
38350 objects="${D}{objects} ${D}1"
38354 echo "shared-ld: unhandled argument '${D}1'"
38365 # Link one module containing all the others
38367 if test ${D}{verbose} = 1; then
38368 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38370 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38374 # Link the shared library from the single module created, but only if the
38375 # previous command didn't fail:
38377 if test ${D}{status} = 0; then
38378 if test ${D}{verbose} = 1; then
38379 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38381 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38386 # Remove intermediate module
38388 rm -f master.${D}${D}.o
38393 chmod +x shared-ld-sh
38395 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38396 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38400 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38401 if test "${bakefile_cv_gcc31+set}" = set; then :
38402 $as_echo_n "(cached) " >&6
38405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38406 /* end confdefs.h. */
38412 #if (__GNUC__ < 3) || \
38413 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38421 if ac_fn_c_try_compile "$LINENO"; then :
38423 bakefile_cv_gcc31=yes
38427 bakefile_cv_gcc31=no
38431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38435 $as_echo "$bakefile_cv_gcc31" >&6; }
38436 if test "$bakefile_cv_gcc31" = "no"; then
38437 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38438 SHARED_LD_CXX="$SHARED_LD_CC"
38440 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38441 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38444 if test "x$GCC" == "xyes"; then
38445 PIC_FLAG="-dynamic -fPIC"
38447 if test "x$XLCC" = "xyes"; then
38448 PIC_FLAG="-dynamic -DPIC"
38453 if test "x$GCC" = "xyes"; then
38456 case "${BAKEFILE_HOST}" in
38458 LD_EXPFULL="-Wl,-bexpfull"
38462 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38463 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38465 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38466 set dummy makeC++SharedLib; ac_word=$2
38467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38468 $as_echo_n "checking for $ac_word... " >&6; }
38469 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then :
38470 $as_echo_n "(cached) " >&6
38472 if test -n "$AIX_CXX_LD"; then
38473 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38476 for as_dir in $PATH
38479 test -z "$as_dir" && as_dir=.
38480 for ac_exec_ext in '' $ac_executable_extensions; do
38481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38482 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38490 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38493 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38494 if test -n "$AIX_CXX_LD"; then
38495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38496 $as_echo "$AIX_CXX_LD" >&6; }
38498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38499 $as_echo "no" >&6; }
38503 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38504 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38509 SHARED_LD_CC="${LD} -nostart -o"
38510 SHARED_LD_CXX="${LD} -nostart -o"
38514 if test "x$GCC" != "xyes"; then
38519 *-*-cygwin* | *-*-mingw32* )
38521 SHARED_LD_CC="\$(CC) -shared -o"
38522 SHARED_LD_CXX="\$(CXX) -shared -o"
38526 *-pc-os2_emx | *-pc-os2-emx )
38527 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38528 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38532 cat <<EOF >dllar.sh
38535 # dllar - a tool to build both a .dll and an .a file
38536 # from a set of object (.o) files for EMX/OS2.
38538 # Written by Andrew Zabolotny, bit@freya.etu.ru
38539 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38541 # This script will accept a set of files on the command line.
38542 # All the public symbols from the .o files will be exported into
38543 # a .DEF file, then linker will be run (through gcc) against them to
38544 # build a shared library consisting of all given .o files. All libraries
38545 # (.a) will be first decompressed into component .o files then act as
38546 # described above. You can optionally give a description (-d "description")
38547 # which will be put into .DLL. To see the list of accepted options (as well
38548 # as command-line format) simply run this program without options. The .DLL
38549 # is built to be imported by name (there is no guarantee that new versions
38550 # of the library you build will have same ordinals for same symbols).
38552 # dllar is free software; you can redistribute it and/or modify
38553 # it under the terms of the GNU General Public License as published by
38554 # the Free Software Foundation; either version 2, or (at your option)
38555 # any later version.
38557 # dllar is distributed in the hope that it will be useful,
38558 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38559 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38560 # GNU General Public License for more details.
38562 # You should have received a copy of the GNU General Public License
38563 # along with dllar; see the file COPYING. If not, write to the Free
38564 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38567 # To successfuly run this program you will need:
38568 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38569 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38571 # (used to build the .dll)
38573 # (used to create .def file from .o files)
38575 # (used to create .a file from .def file)
38576 # - GNU text utilites (cat, sort, uniq)
38577 # used to process emxexp output
38578 # - GNU file utilities (mv, rm)
38580 # - lxlite (optional, see flag below)
38581 # (used for general .dll cleanup)
38588 # basnam, variant of basename, which does _not_ remove the path, _iff_
38589 # second argument (suffix to remove) is given
38593 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38596 echo ${D}1 | sed 's/'${D}2'${D}//'
38599 echo "error in basnam ${D}*"
38605 # Cleanup temporary files and output
38608 for i in ${D}inputFiles ; do
38611 rm -rf \`basnam ${D}i !\`
38618 # Kill result in case of failure as there is just to many stupid make/nmake
38619 # things out there which doesn't do this.
38620 if [ ${D}# -eq 0 ]; then
38621 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38625 # Print usage and exit script with rc=1.
38627 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38628 echo ' [-name-mangler-script script.sh]'
38629 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38630 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38631 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38632 echo ' [*.o] [*.a]'
38633 echo '*> "output_file" should have no extension.'
38634 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38635 echo ' The import library name is derived from this and is set to "name".a,'
38636 echo ' unless overridden by -import'
38637 echo '*> "importlib_name" should have no extension.'
38638 echo ' If it has the .o, or .a extension, it is automatically removed.'
38639 echo ' This name is used as the import library name and may be longer and'
38640 echo ' more descriptive than the DLL name which has to follow the old '
38641 echo ' 8.3 convention of FAT.'
38642 echo '*> "script.sh may be given to override the output_file name by a'
38643 echo ' different name. It is mainly useful if the regular make process'
38644 echo ' of some package does not take into account OS/2 restriction of'
38645 echo ' DLL name lengths. It takes the importlib name as input and is'
38646 echo ' supposed to procude a shorter name as output. The script should'
38647 echo ' expect to get importlib_name without extension and should produce'
38648 echo ' a (max.) 8 letter name without extension.'
38649 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38650 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38651 echo ' These flags will be put at the start of GCC command line.'
38652 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38653 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38654 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38655 echo ' If the last character of a symbol is "*", all symbols beginning'
38656 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38657 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38658 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38659 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38660 echo ' C runtime DLLs.'
38661 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38662 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38663 echo ' unchanged to GCC at the end of command line.'
38664 echo '*> If you create a DLL from a library and you do not specify -o,'
38665 echo ' the basename for DLL and import library will be set to library name,'
38666 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38667 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38668 echo ' library will be renamed into gcc_s.a.'
38671 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38672 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38677 # Execute a command.
38678 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38679 # @Uses Whatever CleanUp() uses.
38685 if [ ${D}rcCmd -ne 0 ]; then
38686 echo "command failed, exit code="${D}rcCmd
38701 CFLAGS="-s -Zcrtdll"
38703 EXPORT_BY_ORDINALS=0
38708 case ${D}curDirS in
38712 curDirS=${D}{curDirS}"/"
38715 # Parse commandline
38718 while [ ${D}1 ]; do
38721 EXPORT_BY_ORDINALS=1;
38731 -name-mangler-script)
38752 exclude_symbols=${D}{exclude_symbols}${D}1" "
38756 library_flags=${D}{library_flags}${D}1" "
38775 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38778 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38779 if [ ${D}omfLinking -eq 1 ]; then
38780 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38782 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38787 if [ ${D}libsToLink -ne 0 ]; then
38788 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38790 for file in ${D}1 ; do
38791 if [ -f ${D}file ]; then
38792 inputFiles="${D}{inputFiles} ${D}file"
38796 if [ ${D}found -eq 0 ]; then
38797 echo "ERROR: No file(s) found: "${D}1
38804 done # iterate cmdline words
38807 if [ -z "${D}inputFiles" ]; then
38808 echo "dllar: no input files"
38812 # Now extract all .o files from .a files
38814 for file in ${D}inputFiles ; do
38825 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38830 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38832 if [ ${D}? -ne 0 ]; then
38833 echo "Failed to create subdirectory ./${D}dirname"
38837 # Append '!' to indicate archive
38838 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38839 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38842 for subfile in ${D}dirname/*.o* ; do
38843 if [ -f ${D}subfile ]; then
38845 if [ -s ${D}subfile ]; then
38846 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38847 newInputFiles="${D}newInputFiles ${D}subfile"
38851 if [ ${D}found -eq 0 ]; then
38852 echo "WARNING: there are no files in archive \\'${D}file\\'"
38856 newInputFiles="${D}{newInputFiles} ${D}file"
38860 inputFiles="${D}newInputFiles"
38862 # Output filename(s).
38864 if [ -z ${D}outFile ]; then
38866 set outFile ${D}inputFiles; outFile=${D}2
38869 # If it is an archive, remove the '!' and the '_%' suffixes
38870 case ${D}outFile in
38872 outFile=\`basnam ${D}outFile _%!\`
38877 case ${D}outFile in
38879 outFile=\`basnam ${D}outFile .dll\`
38882 outFile=\`basnam ${D}outFile .DLL\`
38885 outFile=\`basnam ${D}outFile .o\`
38888 outFile=\`basnam ${D}outFile .obj\`
38891 outFile=\`basnam ${D}outFile .a\`
38894 outFile=\`basnam ${D}outFile .lib\`
38899 case ${D}outimpFile in
38901 outimpFile=\`basnam ${D}outimpFile .a\`
38904 outimpFile=\`basnam ${D}outimpFile .lib\`
38909 if [ -z ${D}outimpFile ]; then
38910 outimpFile=${D}outFile
38912 defFile="${D}{outFile}.def"
38913 arcFile="${D}{outimpFile}.a"
38914 arcFile2="${D}{outimpFile}.lib"
38916 #create ${D}dllFile as something matching 8.3 restrictions,
38917 if [ -z ${D}renameScript ] ; then
38918 dllFile="${D}outFile"
38920 dllFile=\`${D}renameScript ${D}outimpFile\`
38923 if [ ${D}do_backup -ne 0 ] ; then
38924 if [ -f ${D}arcFile ] ; then
38925 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38927 if [ -f ${D}arcFile2 ] ; then
38928 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38932 # Extract public symbols from all the object files.
38933 tmpdefFile=${D}{defFile}_%
38934 rm -f ${D}tmpdefFile
38935 for file in ${D}inputFiles ; do
38940 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38945 # Create the def file.
38947 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38948 dllFile="${D}{dllFile}.dll"
38949 if [ ! -z ${D}description ]; then
38950 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
38952 echo "EXPORTS" >> ${D}defFile
38954 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38955 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38957 # Checks if the export is ok or not.
38958 for word in ${D}exclude_symbols; do
38959 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38960 mv ${D}{tmpdefFile}% ${D}tmpdefFile
38964 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38965 sed "=" < ${D}tmpdefFile | \\
38969 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
38971 ' > ${D}{tmpdefFile}%
38972 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38974 rm -f ${D}{tmpdefFile}%
38976 cat ${D}tmpdefFile >> ${D}defFile
38977 rm -f ${D}tmpdefFile
38979 # Do linking, create implib, and apply lxlite.
38981 for file in ${D}inputFiles ; do
38986 gccCmdl="${D}gccCmdl ${D}file"
38990 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38991 touch "${D}{outFile}.dll"
38993 doCommand "emximp -o ${D}arcFile ${D}defFile"
38994 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
38996 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38999 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39001 doCommand "emxomf -s -l ${D}arcFile"
39011 powerpc-apple-macos* | \
39012 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39022 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39025 if test "x$PIC_FLAG" != "x" ; then
39026 PIC_FLAG="$PIC_FLAG -DPIC"
39029 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39030 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39032 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39033 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39048 USE_SOTWOSYMLINKS=0
39052 case "${BAKEFILE_HOST}" in
39053 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39054 *-*-k*bsd*-gnu | *-*-mirbsd* )
39055 if test "x$SUNCXX" = "xyes"; then
39058 SONAME_FLAG="-Wl,-soname,"
39062 USE_SOTWOSYMLINKS=1
39074 USE_SOTWOSYMLINKS=1
39092 # Check whether --enable-dependency-tracking was given.
39093 if test "${enable_dependency_tracking+set}" = set; then :
39094 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39099 $as_echo_n "checking for dependency tracking method... " >&6; }
39102 if test "x$bk_use_trackdeps" = "xno" ; then
39104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39105 $as_echo "disabled" >&6; }
39109 if test "x$GCC" = "xyes"; then
39112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39113 $as_echo "gcc" >&6; }
39114 elif test "x$MWCC" = "xyes"; then
39117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39118 $as_echo "mwcc" >&6; }
39119 elif test "x$SUNCC" = "xyes"; then
39122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39123 $as_echo "Sun cc" >&6; }
39124 elif test "x$SGICC" = "xyes"; then
39127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39128 $as_echo "SGI cc" >&6; }
39129 elif test "x$HPCC" = "xyes"; then
39132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39133 $as_echo "HP cc" >&6; }
39134 elif test "x$COMPAQCC" = "xyes"; then
39137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39138 $as_echo "Compaq cc" >&6; }
39141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39142 $as_echo "none" >&6; }
39145 if test $DEPS_TRACKING = 1 ; then
39151 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39152 # script. It is used to track C/C++ files dependencies in portable way.
39154 # Permission is given to use this file in any way.
39156 DEPSMODE=${DEPSMODE}
39157 DEPSFLAG="${DEPSFLAG}"
39160 if test ${D}DEPSMODE = gcc ; then
39161 ${D}* ${D}{DEPSFLAG}
39164 # determine location of created files:
39165 while test ${D}# -gt 0; do
39179 objfilebase=\`basename ${D}objfile\`
39180 builddir=\`dirname ${D}objfile\`
39181 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39182 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39183 depsdir=${D}builddir/${D}DEPSDIRBASE
39184 mkdir -p ${D}depsdir
39186 # if the compiler failed, we're done:
39187 if test ${D}{status} != 0 ; then
39192 # move created file to the location we want it in:
39193 if test -f ${D}depfile ; then
39194 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39197 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39198 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39199 if test ! -f ${D}depfile ; then
39200 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39201 depfile="${D}objfile.d"
39203 if test -f ${D}depfile ; then
39204 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39210 elif test ${D}DEPSMODE = mwcc ; then
39211 ${D}* || exit ${D}?
39212 # Run mwcc again with -MM and redirect into the dep file we want
39213 # NOTE: We can't use shift here because we need ${D}* to be valid
39215 for arg in ${D}* ; do
39216 if test "${D}prevarg" = "-o"; then
39230 objfilebase=\`basename ${D}objfile\`
39231 builddir=\`dirname ${D}objfile\`
39232 depsdir=${D}builddir/${D}DEPSDIRBASE
39233 mkdir -p ${D}depsdir
39235 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39238 elif test ${D}DEPSMODE = unixcc; then
39239 ${D}* || exit ${D}?
39240 # Run compiler again with deps flag and redirect into the dep file.
39241 # It doesn't work if the '-o FILE' option is used, but without it the
39242 # dependency file will contain the wrong name for the object. So it is
39243 # removed from the command line, and the dep file is fixed with sed.
39245 while test ${D}# -gt 0; do
39252 eval arg${D}#=\\${D}1
39253 cmd="${D}cmd \\${D}arg${D}#"
39259 objfilebase=\`basename ${D}objfile\`
39260 builddir=\`dirname ${D}objfile\`
39261 depsdir=${D}builddir/${D}DEPSDIRBASE
39262 mkdir -p ${D}depsdir
39264 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39274 BK_DEPS="`pwd`/bk-deps"
39282 case ${BAKEFILE_HOST} in
39283 *-*-cygwin* | *-*-mingw32* )
39284 if test -n "$ac_tool_prefix"; then
39285 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39286 set dummy ${ac_tool_prefix}windres; ac_word=$2
39287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39288 $as_echo_n "checking for $ac_word... " >&6; }
39289 if test "${ac_cv_prog_WINDRES+set}" = set; then :
39290 $as_echo_n "(cached) " >&6
39292 if test -n "$WINDRES"; then
39293 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39296 for as_dir in $PATH
39299 test -z "$as_dir" && as_dir=.
39300 for ac_exec_ext in '' $ac_executable_extensions; do
39301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39302 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39312 WINDRES=$ac_cv_prog_WINDRES
39313 if test -n "$WINDRES"; then
39314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39315 $as_echo "$WINDRES" >&6; }
39317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39318 $as_echo "no" >&6; }
39323 if test -z "$ac_cv_prog_WINDRES"; then
39324 ac_ct_WINDRES=$WINDRES
39325 # Extract the first word of "windres", so it can be a program name with args.
39326 set dummy windres; ac_word=$2
39327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39328 $as_echo_n "checking for $ac_word... " >&6; }
39329 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
39330 $as_echo_n "(cached) " >&6
39332 if test -n "$ac_ct_WINDRES"; then
39333 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39336 for as_dir in $PATH
39339 test -z "$as_dir" && as_dir=.
39340 for ac_exec_ext in '' $ac_executable_extensions; do
39341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39342 ac_cv_prog_ac_ct_WINDRES="windres"
39343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39352 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39353 if test -n "$ac_ct_WINDRES"; then
39354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39355 $as_echo "$ac_ct_WINDRES" >&6; }
39357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39358 $as_echo "no" >&6; }
39361 if test "x$ac_ct_WINDRES" = x; then
39364 case $cross_compiling:$ac_tool_warned in
39366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39368 ac_tool_warned=yes ;;
39370 WINDRES=$ac_ct_WINDRES
39373 WINDRES="$ac_cv_prog_WINDRES"
39378 *-*-darwin* | powerpc-apple-macos* )
39379 # Extract the first word of "Rez", so it can be a program name with args.
39380 set dummy Rez; ac_word=$2
39381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39382 $as_echo_n "checking for $ac_word... " >&6; }
39383 if test "${ac_cv_prog_REZ+set}" = set; then :
39384 $as_echo_n "(cached) " >&6
39386 if test -n "$REZ"; then
39387 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39390 for as_dir in $PATH
39393 test -z "$as_dir" && as_dir=.
39394 for ac_exec_ext in '' $ac_executable_extensions; do
39395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39396 ac_cv_prog_REZ="Rez"
39397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39404 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39407 REZ=$ac_cv_prog_REZ
39408 if test -n "$REZ"; then
39409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39410 $as_echo "$REZ" >&6; }
39412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39413 $as_echo "no" >&6; }
39417 # Extract the first word of "SetFile", so it can be a program name with args.
39418 set dummy SetFile; ac_word=$2
39419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39420 $as_echo_n "checking for $ac_word... " >&6; }
39421 if test "${ac_cv_prog_SETFILE+set}" = set; then :
39422 $as_echo_n "(cached) " >&6
39424 if test -n "$SETFILE"; then
39425 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39428 for as_dir in $PATH
39431 test -z "$as_dir" && as_dir=.
39432 for ac_exec_ext in '' $ac_executable_extensions; do
39433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39434 ac_cv_prog_SETFILE="SetFile"
39435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39442 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39445 SETFILE=$ac_cv_prog_SETFILE
39446 if test -n "$SETFILE"; then
39447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39448 $as_echo "$SETFILE" >&6; }
39450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39451 $as_echo "no" >&6; }
39466 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39469 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39473 # Check whether --enable-precomp-headers was given.
39474 if test "${enable_precomp_headers+set}" = set; then :
39475 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39484 case ${BAKEFILE_HOST} in
39490 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39491 if test "x$GCC" = "xyes"; then
39492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39493 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39495 /* end confdefs.h. */
39501 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39502 There is no PCH support
39505 There is no PCH support
39507 #if (__GNUC__ == 3) && \
39508 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39509 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39510 ( defined(__INTEL_COMPILER) )
39511 There is no PCH support
39518 if ac_fn_c_try_compile "$LINENO"; then :
39520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39521 $as_echo "yes" >&6; }
39526 if test "$INTELCXX8" = "yes"; then
39527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39528 $as_echo "yes" >&6; }
39530 if test "$INTELCXX10" = "yes"; then
39531 ICC_PCH_CREATE_SWITCH="-pch-create"
39532 ICC_PCH_USE_SWITCH="-pch-use"
39534 ICC_PCH_CREATE_SWITCH="-create-pch"
39535 ICC_PCH_USE_SWITCH="-use-pch"
39538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39539 $as_echo "no" >&6; }
39543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39544 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39548 cat <<EOF >bk-make-pch
39551 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39552 # script. It is used to generated precompiled headers.
39554 # Permission is given to use this file in any way.
39561 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39566 while test ${D}{#} -gt 0; do
39570 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39571 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39572 headerfile="${D}{incdir}/${D}{header}"
39575 -use-pch|-use_pch|-pch-use )
39580 if test ${D}add_to_cmdline = 1 ; then
39581 compiler="${D}{compiler} ${D}{1}"
39586 if test "x${D}{headerfile}" = "x" ; then
39587 echo "error: can't find header ${D}{header} in include paths" >&2
39589 if test -f ${D}{outfile} ; then
39590 rm -f ${D}{outfile}
39592 mkdir -p \`dirname ${D}{outfile}\`
39594 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39595 mkdir -p ${D}{builddir}/.deps
39596 if test "x${GCC_PCH}" = "x1" ; then
39597 # can do this because gcc is >= 3.4:
39598 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39599 elif test "x${ICC_PCH}" = "x1" ; then
39600 filename=pch_gen-${D}${D}
39601 file=${D}{filename}.c
39602 dfile=${D}{filename}.d
39603 cat > ${D}file <<EOT
39604 #include "${D}header"
39606 # using -MF icc complains about differing command lines in creation/use
39607 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39608 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39609 rm -f ${D}file ${D}dfile ${D}{filename}.o
39615 chmod +x bk-make-pch
39616 BK_MAKE_PCH="`pwd`/bk-make-pch"
39627 COND_BUILD_DEBUG="#"
39628 if test "x$BUILD" = "xdebug" ; then
39629 COND_BUILD_DEBUG=""
39632 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39633 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39634 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39637 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39638 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39639 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39642 COND_BUILD_DEBUG_UNICODE_0="#"
39643 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39644 COND_BUILD_DEBUG_UNICODE_0=""
39647 COND_BUILD_DEBUG_UNICODE_1="#"
39648 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39649 COND_BUILD_DEBUG_UNICODE_1=""
39652 COND_BUILD_RELEASE="#"
39653 if test "x$BUILD" = "xrelease" ; then
39654 COND_BUILD_RELEASE=""
39657 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39658 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39659 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39662 COND_BUILD_RELEASE_UNICODE_0="#"
39663 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39664 COND_BUILD_RELEASE_UNICODE_0=""
39667 COND_BUILD_RELEASE_UNICODE_1="#"
39668 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39669 COND_BUILD_RELEASE_UNICODE_1=""
39672 COND_BUILD_debug="#"
39673 if test "x$BUILD" = "xdebug" ; then
39674 COND_BUILD_debug=""
39677 COND_BUILD_debug_DEBUG_FLAG_default="#"
39678 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39679 COND_BUILD_debug_DEBUG_FLAG_default=""
39682 COND_BUILD_debug_DEBUG_INFO_default="#"
39683 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39684 COND_BUILD_debug_DEBUG_INFO_default=""
39687 COND_BUILD_debug_UNICODE_0="#"
39688 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39689 COND_BUILD_debug_UNICODE_0=""
39692 COND_BUILD_debug_UNICODE_1="#"
39693 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39694 COND_BUILD_debug_UNICODE_1=""
39697 COND_BUILD_release="#"
39698 if test "x$BUILD" = "xrelease" ; then
39699 COND_BUILD_release=""
39702 COND_BUILD_release_DEBUG_INFO_default="#"
39703 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39704 COND_BUILD_release_DEBUG_INFO_default=""
39707 COND_BUILD_release_UNICODE_0="#"
39708 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39709 COND_BUILD_release_UNICODE_0=""
39712 COND_BUILD_release_UNICODE_1="#"
39713 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39714 COND_BUILD_release_UNICODE_1=""
39717 COND_DEBUG_FLAG_0="#"
39718 if test "x$DEBUG_FLAG" = "x0" ; then
39719 COND_DEBUG_FLAG_0=""
39722 COND_DEBUG_FLAG_1="#"
39723 if test "x$DEBUG_FLAG" = "x1" ; then
39724 COND_DEBUG_FLAG_1=""
39727 COND_DEBUG_INFO_0="#"
39728 if test "x$DEBUG_INFO" = "x0" ; then
39729 COND_DEBUG_INFO_0=""
39732 COND_DEBUG_INFO_1="#"
39733 if test "x$DEBUG_INFO" = "x1" ; then
39734 COND_DEBUG_INFO_1=""
39737 COND_DEPS_TRACKING_0="#"
39738 if test "x$DEPS_TRACKING" = "x0" ; then
39739 COND_DEPS_TRACKING_0=""
39742 COND_DEPS_TRACKING_1="#"
39743 if test "x$DEPS_TRACKING" = "x1" ; then
39744 COND_DEPS_TRACKING_1=""
39748 if test "x$GCC_PCH" = "x1" ; then
39753 if test "x$ICC_PCH" = "x1" ; then
39757 COND_MONOLITHIC_0="#"
39758 if test "x$MONOLITHIC" = "x0" ; then
39759 COND_MONOLITHIC_0=""
39762 COND_MONOLITHIC_0_SHARED_0="#"
39763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39764 COND_MONOLITHIC_0_SHARED_0=""
39767 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
39768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39769 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
39772 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39774 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39777 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
39778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39779 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
39782 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
39783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39784 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
39787 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
39788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39789 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
39792 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
39793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39794 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
39797 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
39798 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39799 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
39802 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
39803 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39804 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
39807 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
39808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39809 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
39812 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
39813 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39814 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
39817 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
39818 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39819 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
39822 COND_MONOLITHIC_0_SHARED_1="#"
39823 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39824 COND_MONOLITHIC_0_SHARED_1=""
39827 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
39828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39829 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
39832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
39838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
39842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
39843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
39847 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
39848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39849 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
39852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
39853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
39857 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
39858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39859 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
39862 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
39863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
39867 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
39868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39869 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
39872 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
39873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39874 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
39877 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
39878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39879 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
39882 COND_MONOLITHIC_0_USE_AUI_1="#"
39883 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39884 COND_MONOLITHIC_0_USE_AUI_1=""
39887 COND_MONOLITHIC_0_USE_GUI_1="#"
39888 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39889 COND_MONOLITHIC_0_USE_GUI_1=""
39892 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
39893 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39894 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
39897 COND_MONOLITHIC_0_USE_HTML_1="#"
39898 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39899 COND_MONOLITHIC_0_USE_HTML_1=""
39902 COND_MONOLITHIC_0_USE_MEDIA_1="#"
39903 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39904 COND_MONOLITHIC_0_USE_MEDIA_1=""
39907 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
39908 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39909 COND_MONOLITHIC_0_USE_PROPGRID_1=""
39912 COND_MONOLITHIC_0_USE_QA_1="#"
39913 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39914 COND_MONOLITHIC_0_USE_QA_1=""
39917 COND_MONOLITHIC_0_USE_RIBBON_1="#"
39918 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39919 COND_MONOLITHIC_0_USE_RIBBON_1=""
39922 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
39923 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39924 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
39927 COND_MONOLITHIC_0_USE_STC_1="#"
39928 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39929 COND_MONOLITHIC_0_USE_STC_1=""
39932 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
39933 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39934 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
39937 COND_MONOLITHIC_0_USE_XRC_1="#"
39938 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39939 COND_MONOLITHIC_0_USE_XRC_1=""
39942 COND_MONOLITHIC_1="#"
39943 if test "x$MONOLITHIC" = "x1" ; then
39944 COND_MONOLITHIC_1=""
39947 COND_MONOLITHIC_1_SHARED_0="#"
39948 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39949 COND_MONOLITHIC_1_SHARED_0=""
39952 COND_MONOLITHIC_1_SHARED_1="#"
39953 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39954 COND_MONOLITHIC_1_SHARED_1=""
39957 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39958 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39959 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39962 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39963 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39964 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39967 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
39968 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39969 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
39972 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39973 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39974 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39977 COND_PLATFORM_MACOSX_1="#"
39978 if test "x$PLATFORM_MACOSX" = "x1" ; then
39979 COND_PLATFORM_MACOSX_1=""
39982 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
39983 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
39984 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
39987 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
39988 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39989 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
39992 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
39993 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
39994 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
39997 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
39998 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39999 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40002 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40003 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40004 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40007 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40008 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40009 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40012 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40013 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40014 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40017 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40018 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40019 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40022 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40023 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40024 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40027 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40028 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40029 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40032 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40033 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40034 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40037 COND_PLATFORM_MACOS_1="#"
40038 if test "x$PLATFORM_MACOS" = "x1" ; then
40039 COND_PLATFORM_MACOS_1=""
40042 COND_PLATFORM_MAC_0="#"
40043 if test "x$PLATFORM_MAC" = "x0" ; then
40044 COND_PLATFORM_MAC_0=""
40047 COND_PLATFORM_MAC_1="#"
40048 if test "x$PLATFORM_MAC" = "x1" ; then
40049 COND_PLATFORM_MAC_1=""
40052 COND_PLATFORM_MSDOS_0="#"
40053 if test "x$PLATFORM_MSDOS" = "x0" ; then
40054 COND_PLATFORM_MSDOS_0=""
40057 COND_PLATFORM_MSDOS_1="#"
40058 if test "x$PLATFORM_MSDOS" = "x1" ; then
40059 COND_PLATFORM_MSDOS_1=""
40062 COND_PLATFORM_OS2_1="#"
40063 if test "x$PLATFORM_OS2" = "x1" ; then
40064 COND_PLATFORM_OS2_1=""
40067 COND_PLATFORM_UNIX_0="#"
40068 if test "x$PLATFORM_UNIX" = "x0" ; then
40069 COND_PLATFORM_UNIX_0=""
40072 COND_PLATFORM_UNIX_1="#"
40073 if test "x$PLATFORM_UNIX" = "x1" ; then
40074 COND_PLATFORM_UNIX_1=""
40077 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40078 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40079 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40082 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40083 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40084 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40087 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40088 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40089 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40092 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40093 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40094 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40097 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40098 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40099 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40102 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40103 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40104 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40107 COND_PLATFORM_WIN32_0="#"
40108 if test "x$PLATFORM_WIN32" = "x0" ; then
40109 COND_PLATFORM_WIN32_0=""
40112 COND_PLATFORM_WIN32_1="#"
40113 if test "x$PLATFORM_WIN32" = "x1" ; then
40114 COND_PLATFORM_WIN32_1=""
40117 COND_PLATFORM_WIN32_1_SHARED_0="#"
40118 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40119 COND_PLATFORM_WIN32_1_SHARED_0=""
40123 if test "x$SHARED" = "x0" ; then
40127 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40128 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40129 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40132 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40133 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40134 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40137 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40138 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40139 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40142 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40143 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40144 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40147 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40148 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40149 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40152 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40153 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40154 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40157 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40158 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40159 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40162 COND_SHARED_0_USE_STC_1="#"
40163 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40164 COND_SHARED_0_USE_STC_1=""
40167 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40168 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40169 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40172 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40173 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40174 COND_SHARED_0_wxUSE_REGEX_builtin=""
40177 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40178 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40179 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40183 if test "x$SHARED" = "x1" ; then
40187 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40188 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40189 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40193 if test "x$TOOLKIT" = "x" ; then
40197 COND_TOOLKIT_COCOA="#"
40198 if test "x$TOOLKIT" = "xCOCOA" ; then
40199 COND_TOOLKIT_COCOA=""
40202 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40203 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40204 COND_TOOLKIT_COCOA_USE_GUI_1=""
40207 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40208 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40209 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40212 COND_TOOLKIT_DFB="#"
40213 if test "x$TOOLKIT" = "xDFB" ; then
40214 COND_TOOLKIT_DFB=""
40217 COND_TOOLKIT_DFB_USE_GUI_1="#"
40218 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40219 COND_TOOLKIT_DFB_USE_GUI_1=""
40222 COND_TOOLKIT_GTK="#"
40223 if test "x$TOOLKIT" = "xGTK" ; then
40224 COND_TOOLKIT_GTK=""
40227 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40228 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40229 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40232 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40233 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40234 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40237 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40238 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40239 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40242 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40243 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40244 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40247 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40248 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40249 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40252 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40253 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40254 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40257 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40258 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40259 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40262 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40263 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40264 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40267 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40268 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40269 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40272 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40273 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40274 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40277 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40278 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40279 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40282 COND_TOOLKIT_GTK_USE_GUI_1="#"
40283 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40284 COND_TOOLKIT_GTK_USE_GUI_1=""
40287 COND_TOOLKIT_MAC="#"
40288 if test "x$TOOLKIT" = "xMAC" ; then
40289 COND_TOOLKIT_MAC=""
40292 COND_TOOLKIT_MOTIF="#"
40293 if test "x$TOOLKIT" = "xMOTIF" ; then
40294 COND_TOOLKIT_MOTIF=""
40297 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40298 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40299 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40302 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40303 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40304 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40307 COND_TOOLKIT_MSW="#"
40308 if test "x$TOOLKIT" = "xMSW" ; then
40309 COND_TOOLKIT_MSW=""
40312 COND_TOOLKIT_MSW_USE_GUI_1="#"
40313 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40314 COND_TOOLKIT_MSW_USE_GUI_1=""
40317 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40318 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40319 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40322 COND_TOOLKIT_MSW_WXUNIV_0="#"
40323 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40324 COND_TOOLKIT_MSW_WXUNIV_0=""
40327 COND_TOOLKIT_OSX_CARBON="#"
40328 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40329 COND_TOOLKIT_OSX_CARBON=""
40332 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40333 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40334 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40337 COND_TOOLKIT_OSX_COCOA="#"
40338 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40339 COND_TOOLKIT_OSX_COCOA=""
40342 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40343 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40344 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40347 COND_TOOLKIT_OSX_IPHONE="#"
40348 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40349 COND_TOOLKIT_OSX_IPHONE=""
40352 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40353 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40354 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40357 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40358 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40359 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40362 COND_TOOLKIT_PM="#"
40363 if test "x$TOOLKIT" = "xPM" ; then
40367 COND_TOOLKIT_PM_USE_GUI_1="#"
40368 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40369 COND_TOOLKIT_PM_USE_GUI_1=""
40372 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40373 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40374 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40377 COND_TOOLKIT_WINCE="#"
40378 if test "x$TOOLKIT" = "xWINCE" ; then
40379 COND_TOOLKIT_WINCE=""
40382 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40383 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40384 COND_TOOLKIT_WINCE_USE_GUI_1=""
40387 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40388 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40389 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40392 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40393 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40394 COND_TOOLKIT_WINCE_WXUNIV_0=""
40397 COND_TOOLKIT_X11="#"
40398 if test "x$TOOLKIT" = "xX11" ; then
40399 COND_TOOLKIT_X11=""
40402 COND_TOOLKIT_X11_USE_GUI_1="#"
40403 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40404 COND_TOOLKIT_X11_USE_GUI_1=""
40408 if test "x$UNICODE" = "x1" ; then
40412 COND_USE_CAIRO_1="#"
40413 if test "x$USE_CAIRO" = "x1" ; then
40414 COND_USE_CAIRO_1=""
40417 COND_USE_EXCEPTIONS_0="#"
40418 if test "x$USE_EXCEPTIONS" = "x0" ; then
40419 COND_USE_EXCEPTIONS_0=""
40422 COND_USE_EXCEPTIONS_1="#"
40423 if test "x$USE_EXCEPTIONS" = "x1" ; then
40424 COND_USE_EXCEPTIONS_1=""
40428 if test "x$USE_GUI" = "x0" ; then
40433 if test "x$USE_GUI" = "x1" ; then
40437 COND_USE_GUI_1_USE_OPENGL_1="#"
40438 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40439 COND_USE_GUI_1_USE_OPENGL_1=""
40442 COND_USE_GUI_1_WXUNIV_0="#"
40443 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40444 COND_USE_GUI_1_WXUNIV_0=""
40447 COND_USE_GUI_1_WXUNIV_1="#"
40448 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40449 COND_USE_GUI_1_WXUNIV_1=""
40452 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40453 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40454 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40457 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40458 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40459 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40462 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40463 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40464 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40467 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40468 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40469 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40472 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40473 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40474 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40477 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40478 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40479 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40482 COND_USE_OPENGL_1="#"
40483 if test "x$USE_OPENGL" = "x1" ; then
40484 COND_USE_OPENGL_1=""
40488 if test "x$USE_PCH" = "x1" ; then
40492 COND_USE_PLUGINS_0="#"
40493 if test "x$USE_PLUGINS" = "x0" ; then
40494 COND_USE_PLUGINS_0=""
40497 COND_USE_RTTI_0="#"
40498 if test "x$USE_RTTI" = "x0" ; then
40502 COND_USE_RTTI_1="#"
40503 if test "x$USE_RTTI" = "x1" ; then
40507 COND_USE_SOTWOSYMLINKS_1="#"
40508 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40509 COND_USE_SOTWOSYMLINKS_1=""
40512 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40513 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40514 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40517 COND_USE_SOVERLINUX_1="#"
40518 if test "x$USE_SOVERLINUX" = "x1" ; then
40519 COND_USE_SOVERLINUX_1=""
40522 COND_USE_SOVERSION_0="#"
40523 if test "x$USE_SOVERSION" = "x0" ; then
40524 COND_USE_SOVERSION_0=""
40527 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40528 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40529 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40532 COND_USE_SOVERSOLARIS_1="#"
40533 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40534 COND_USE_SOVERSOLARIS_1=""
40538 if test "x$USE_STC" = "x1" ; then
40542 COND_USE_THREADS_0="#"
40543 if test "x$USE_THREADS" = "x0" ; then
40544 COND_USE_THREADS_0=""
40547 COND_USE_THREADS_1="#"
40548 if test "x$USE_THREADS" = "x1" ; then
40549 COND_USE_THREADS_1=""
40553 if test "x$USE_XRC" = "x1" ; then
40557 COND_WINDOWS_IMPLIB_1="#"
40558 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40559 COND_WINDOWS_IMPLIB_1=""
40562 COND_WITH_PLUGIN_SDL_1="#"
40563 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40564 COND_WITH_PLUGIN_SDL_1=""
40568 if test "x$WXUNIV" = "x0" ; then
40573 if test "x$WXUNIV" = "x1" ; then
40577 COND_WXUSE_EXPAT_BUILTIN="#"
40578 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40579 COND_WXUSE_EXPAT_BUILTIN=""
40582 COND_WXUSE_LIBJPEG_BUILTIN="#"
40583 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40584 COND_WXUSE_LIBJPEG_BUILTIN=""
40587 COND_WXUSE_LIBPNG_BUILTIN="#"
40588 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40589 COND_WXUSE_LIBPNG_BUILTIN=""
40592 COND_WXUSE_LIBTIFF_BUILTIN="#"
40593 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40594 COND_WXUSE_LIBTIFF_BUILTIN=""
40597 COND_WXUSE_REGEX_BUILTIN="#"
40598 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40599 COND_WXUSE_REGEX_BUILTIN=""
40602 COND_WXUSE_ZLIB_BUILTIN="#"
40603 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40604 COND_WXUSE_ZLIB_BUILTIN=""
40607 COND_wxUSE_EXPAT_builtin="#"
40608 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40609 COND_wxUSE_EXPAT_builtin=""
40612 COND_wxUSE_LIBJPEG_builtin="#"
40613 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40614 COND_wxUSE_LIBJPEG_builtin=""
40617 COND_wxUSE_LIBPNG_builtin="#"
40618 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40619 COND_wxUSE_LIBPNG_builtin=""
40622 COND_wxUSE_LIBTIFF_builtin="#"
40623 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40624 COND_wxUSE_LIBTIFF_builtin=""
40627 COND_wxUSE_REGEX_builtin="#"
40628 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40629 COND_wxUSE_REGEX_builtin=""
40632 COND_wxUSE_ZLIB_builtin="#"
40633 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40634 COND_wxUSE_ZLIB_builtin=""
40639 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40640 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
40643 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40644 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
40651 ?:* ) # Drive letter, considered as absolute.
40654 INSTALL=`pwd`/${INSTALL} ;;
40657 if test "$wxUSE_GUI" = "yes"; then
40659 if test "$wxUSE_MSW" = 1 ; then
40660 if test "x$WINDRES" = "x"; then
40661 as_fn_error $? "Required windres program not found" "$LINENO" 5
40667 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40668 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40669 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40671 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40673 # Extract the first word of "DeRez", so it can be a program name with args.
40674 set dummy DeRez; ac_word=$2
40675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40676 $as_echo_n "checking for $ac_word... " >&6; }
40677 if test "${ac_cv_prog_DEREZ+set}" = set; then :
40678 $as_echo_n "(cached) " >&6
40680 if test -n "$DEREZ"; then
40681 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
40683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40684 for as_dir in $PATH
40687 test -z "$as_dir" && as_dir=.
40688 for ac_exec_ext in '' $ac_executable_extensions; do
40689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40690 ac_cv_prog_DEREZ="DeRez"
40691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40698 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
40701 DEREZ=$ac_cv_prog_DEREZ
40702 if test -n "$DEREZ"; then
40703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40704 $as_echo "$DEREZ" >&6; }
40706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40707 $as_echo "no" >&6; }
40712 MACSETFILE="\$(SETFILE)"
40714 if test "$wxUSE_OSX_CARBON" = 1; then
40715 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40717 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
40719 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40720 RESCOMP="cat /dev/null \| $REZ"
40721 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40727 if test "$wxUSE_PM" = 1; then
40729 WXCONFIG_RESFLAGS="-ep"
40731 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
40733 POSTLINK_COMMAND="@true"
40740 if test $GCC_PCH = 1
40742 if test "$wx_cv_gcc_pch_bug" = yes; then
40743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40744 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40746 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40748 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40751 # Our WX_PRECOMP flag does not make sense for any language except C++ because
40752 # the headers that benefit from precompilation are mostly C++ headers.
40753 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40754 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40755 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40759 if test "$wxUSE_MAC" = 1 ; then
40760 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40761 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
40767 if test "$wxUSE_SHARED" = "yes"; then
40769 *-pc-os2_emx | *-pc-os2-emx )
40770 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40771 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40772 cp -p ${srcdir}/src/os2/dllnames.sh .
40773 cp -p ${srcdir}/src/os2/dllar.sh .
40777 if test "$wxUSE_OMF" = "yes"; then
40779 *-pc-os2_emx | *-pc-os2-emx )
40780 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
40781 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40782 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40787 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40792 if test "$GCC" = yes; then
40793 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
40794 LIBS=`echo $LIBS | sed 's/-mt//g'`
40795 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40800 if test "x$SUNCXX" = xyes; then
40801 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
40802 LIBS=`echo $LIBS | sed 's/-pthread//g'`
40803 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40808 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
40809 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40810 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
40811 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40813 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40875 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40877 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40878 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
40879 $as_echo_n "(cached) " >&6
40881 cat >conftest.make <<\_ACEOF
40884 @echo '@@@%%%=$(MAKE)=@@@%%%'
40886 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40887 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40888 *@@@%%%=?*=@@@%%%*)
40889 eval ac_cv_prog_make_${ac_make}_set=yes;;
40891 eval ac_cv_prog_make_${ac_make}_set=no;;
40893 rm -f conftest.make
40895 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
40896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40897 $as_echo "yes" >&6; }
40900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40901 $as_echo "no" >&6; }
40902 SET_MAKE="MAKE=${MAKE-make}"
40907 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40910 if test "$USE_WIN32" = 1; then
40911 ac_config_commands="$ac_config_commands rcdefs.h"
40915 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40918 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40921 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
40924 if test "$wx_cv_version_script" = "yes"; then
40925 ac_config_files="$ac_config_files version-script"
40928 ac_config_files="$ac_config_files Makefile"
40931 ac_config_commands="$ac_config_commands wx-config"
40935 if test "$wxWITH_SUBDIRS" != "no"; then
40936 if test "$wxUSE_GUI" = "yes"; then
40937 SUBDIRS="samples demos utils"
40939 SUBDIRS="samples utils"
40944 # Check whether --with-cppunit-prefix was given.
40945 if test "${with_cppunit_prefix+set}" = set; then :
40946 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
40948 cppunit_config_prefix=""
40952 # Check whether --with-cppunit-exec-prefix was given.
40953 if test "${with_cppunit_exec_prefix+set}" = set; then :
40954 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
40956 cppunit_config_exec_prefix=""
40960 if test x$cppunit_config_exec_prefix != x ; then
40961 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40962 if test x${CPPUNIT_CONFIG+set} != xset ; then
40963 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
40966 if test x$cppunit_config_prefix != x ; then
40967 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
40968 if test x${CPPUNIT_CONFIG+set} != xset ; then
40969 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
40973 # Extract the first word of "cppunit-config", so it can be a program name with args.
40974 set dummy cppunit-config; ac_word=$2
40975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40976 $as_echo_n "checking for $ac_word... " >&6; }
40977 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then :
40978 $as_echo_n "(cached) " >&6
40980 case $CPPUNIT_CONFIG in
40982 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40986 for as_dir in $PATH
40989 test -z "$as_dir" && as_dir=.
40990 for ac_exec_ext in '' $ac_executable_extensions; do
40991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40992 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41000 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41004 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41005 if test -n "$CPPUNIT_CONFIG"; then
41006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41007 $as_echo "$CPPUNIT_CONFIG" >&6; }
41009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41010 $as_echo "no" >&6; }
41014 cppunit_version_min=1.8.0
41016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41017 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41019 if test "$CPPUNIT_CONFIG" = "no" ; then
41020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41021 $as_echo "no" >&6; }
41024 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41025 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41026 cppunit_version=`$CPPUNIT_CONFIG --version`
41028 cppunit_major_version=`echo $cppunit_version | \
41029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41030 cppunit_minor_version=`echo $cppunit_version | \
41031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41032 cppunit_micro_version=`echo $cppunit_version | \
41033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41035 cppunit_major_min=`echo $cppunit_version_min | \
41036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41037 cppunit_minor_min=`echo $cppunit_version_min | \
41038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41039 cppunit_micro_min=`echo $cppunit_version_min | \
41040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41042 cppunit_version_proper=`expr \
41043 $cppunit_major_version \> $cppunit_major_min \| \
41044 $cppunit_major_version \= $cppunit_major_min \& \
41045 $cppunit_minor_version \> $cppunit_minor_min \| \
41046 $cppunit_major_version \= $cppunit_major_min \& \
41047 $cppunit_minor_version \= $cppunit_minor_min \& \
41048 $cppunit_micro_version \>= $cppunit_micro_min `
41050 if test "$cppunit_version_proper" = "1" ; then
41051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41052 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41055 $as_echo "no" >&6; }
41060 if test "x$no_cppunit" = x ; then
41061 SUBDIRS="$SUBDIRS tests"
41072 for subdir in $SUBDIRS; do
41073 if test -d ${srcdir}/${subdir} ; then
41074 if test "$wxUSE_GUI" = "yes"; then
41075 if test ${subdir} = "samples"; then
41076 makefiles="samples/Makefile.in $makefiles"
41077 for sample in $SAMPLES_SUBDIRS; do
41078 if test -d $srcdir/samples/$sample; then
41079 makefiles="samples/$sample/Makefile.in $makefiles"
41083 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41084 eval "disabled=\$$disabled_var"
41085 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41086 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41089 if test ${subdir} = "samples"; then
41090 makefiles="samples/Makefile.in $makefiles"
41091 for sample in `echo $SAMPLES_SUBDIRS`; do
41092 if test -d $srcdir/samples/$sample; then
41093 makefiles="samples/$sample/Makefile.in $makefiles"
41096 elif test ${subdir} = "utils"; then
41098 for util in ifacecheck ; do
41099 if test -d $srcdir/utils/$util ; then
41100 makefiles="utils/$util/src/Makefile.in \
41105 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41109 for mkin in $makefiles ; do
41110 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41111 ac_config_files="$ac_config_files $mk"
41117 cat >confcache <<\_ACEOF
41118 # This file is a shell script that caches the results of configure
41119 # tests run on this system so they can be shared between configure
41120 # scripts and configure runs, see configure's option --config-cache.
41121 # It is not useful on other systems. If it contains results you don't
41122 # want to keep, you may remove or edit it.
41124 # config.status only pays attention to the cache file if you give it
41125 # the --recheck option to rerun configure.
41127 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41128 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41129 # following values.
41133 # The following way of writing the cache mishandles newlines in values,
41134 # but we know of no workaround that is simple, portable, and efficient.
41135 # So, we kill variables containing newlines.
41136 # Ultrix sh set writes to stderr and can't be redirected directly,
41137 # and sets the high bit in the cache file unless we assign to the vars.
41139 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41140 eval ac_val=\$$ac_var
41144 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41145 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41148 _ | IFS | as_nl) ;; #(
41149 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41150 *) { eval $ac_var=; unset $ac_var;} ;;
41156 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41157 *${as_nl}ac_space=\ *)
41158 # `set' does not quote correctly, so add quotes: double-quote
41159 # substitution turns \\\\ into \\, and sed turns \\ into \.
41162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41165 # `set' quotes correctly as required by POSIX, so do not add quotes.
41166 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41175 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41177 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41179 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41180 if test -w "$cache_file"; then
41181 test "x$cache_file" != "x/dev/null" &&
41182 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41183 $as_echo "$as_me: updating cache $cache_file" >&6;}
41184 cat confcache >$cache_file
41186 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41187 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41192 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41193 # Let make expand exec_prefix.
41194 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41196 DEFS=-DHAVE_CONFIG_H
41201 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41202 # 1. Remove the extension, and $U if already installed.
41203 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41204 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41205 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41206 # will be set to the directory where LIBOBJS objects are built.
41207 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41208 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41210 LIBOBJS=$ac_libobjs
41212 LTLIBOBJS=$ac_ltlibobjs
41216 : ${CONFIG_STATUS=./config.status}
41218 ac_clean_files_save=$ac_clean_files
41219 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41220 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41221 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41223 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41225 # Generated by $as_me.
41226 # Run this file to recreate the current configuration.
41227 # Compiler output produced by configure, useful for debugging
41228 # configure, is in config.log if it exists.
41231 ac_cs_recheck=false
41234 SHELL=\${CONFIG_SHELL-$SHELL}
41237 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41238 ## -------------------- ##
41239 ## M4sh Initialization. ##
41240 ## -------------------- ##
41242 # Be more Bourne compatible
41243 DUALCASE=1; export DUALCASE # for MKS sh
41244 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41247 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41248 # is contrary to our usage. Disable this feature.
41249 alias -g '${1+"$@"}'='"$@"'
41250 setopt NO_GLOB_SUBST
41252 case `(set -o) 2>/dev/null` in #(
41264 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41265 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41266 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41267 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41268 # Prefer a ksh shell builtin over an external printf program on Solaris,
41269 # but without wasting forks for bash or zsh.
41270 if test -z "$BASH_VERSION$ZSH_VERSION" \
41271 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41272 as_echo='print -r --'
41273 as_echo_n='print -rn --'
41274 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41275 as_echo='printf %s\n'
41276 as_echo_n='printf %s'
41278 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41279 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41280 as_echo_n='/usr/ucb/echo -n'
41282 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41283 as_echo_n_body='eval
41287 expr "X$arg" : "X\\(.*\\)$as_nl";
41288 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41290 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41292 export as_echo_n_body
41293 as_echo_n='sh -c $as_echo_n_body as_echo'
41295 export as_echo_body
41296 as_echo='sh -c $as_echo_body as_echo'
41299 # The user is always right.
41300 if test "${PATH_SEPARATOR+set}" != set; then
41302 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41303 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41310 # We need space, tab and new line, in precisely that order. Quoting is
41311 # there to prevent editors from complaining about space-tab.
41312 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41313 # splitting by setting IFS to empty value.)
41316 # Find who we are. Look in the path if we contain no directory separator.
41318 *[\\/]* ) as_myself=$0 ;;
41319 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41320 for as_dir in $PATH
41323 test -z "$as_dir" && as_dir=.
41324 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41330 # We did not find ourselves, most probably we were run as `sh COMMAND'
41331 # in which case we are not to be found in the path.
41332 if test "x$as_myself" = x; then
41335 if test ! -f "$as_myself"; then
41336 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41340 # Unset variables that we do not need and which cause bugs (e.g. in
41341 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41342 # suppresses any "Segmentation fault" message there. '((' could
41343 # trigger a bug in pdksh 5.2.14.
41344 for as_var in BASH_ENV ENV MAIL MAILPATH
41345 do eval test x\${$as_var+set} = xset \
41346 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41359 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41363 # ----------------------------------------
41364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41366 # script with STATUS, using 1 if that was 0.
41369 as_status=$1; test $as_status -eq 0 && as_status=1
41371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41374 $as_echo "$as_me: error: $2" >&2
41375 as_fn_exit $as_status
41379 # as_fn_set_status STATUS
41380 # -----------------------
41381 # Set $? to STATUS, without forking.
41382 as_fn_set_status ()
41385 } # as_fn_set_status
41387 # as_fn_exit STATUS
41388 # -----------------
41389 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41393 as_fn_set_status $1
41399 # Portably unset VAR.
41402 { eval $1=; unset $1;}
41404 as_unset=as_fn_unset
41405 # as_fn_append VAR VALUE
41406 # ----------------------
41407 # Append the text in VALUE to the end of the definition contained in VAR. Take
41408 # advantage of any shell optimizations that allow amortized linear growth over
41409 # repeated appends, instead of the typical quadratic growth present in naive
41411 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41412 eval 'as_fn_append ()
41423 # as_fn_arith ARG...
41424 # ------------------
41425 # Perform arithmetic evaluation on the ARGs, and store the result in the
41426 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41427 # must be portable across $(()) and expr.
41428 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41429 eval 'as_fn_arith ()
41436 as_val=`expr "$@" || test $? -eq 1`
41441 if expr a : '\(a\)' >/dev/null 2>&1 &&
41442 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41449 as_basename=basename
41454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41460 as_me=`$as_basename -- "$0" ||
41461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41462 X"$0" : 'X\(//\)$' \| \
41463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41465 sed '/^.*\/\([^/][^/]*\)\/*$/{
41479 # Avoid depending upon Character Ranges.
41480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41483 as_cr_digits='0123456789'
41484 as_cr_alnum=$as_cr_Letters$as_cr_digits
41486 ECHO_C= ECHO_N= ECHO_T=
41487 case `echo -n x` in #(((((
41489 case `echo 'xy\c'` in
41490 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
41492 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
41499 rm -f conf$$ conf$$.exe conf$$.file
41500 if test -d conf$$.dir; then
41501 rm -f conf$$.dir/conf$$.file
41504 mkdir conf$$.dir 2>/dev/null
41506 if (echo >conf$$.file) 2>/dev/null; then
41507 if ln -s conf$$.file conf$$ 2>/dev/null; then
41509 # ... but there are two gotchas:
41510 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41511 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41512 # In both cases, we have to default to `cp -p'.
41513 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41515 elif ln conf$$.file conf$$ 2>/dev/null; then
41523 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41524 rmdir conf$$.dir 2>/dev/null
41529 # Create "$as_dir" as a directory, including parents if necessary.
41534 -*) as_dir=./$as_dir;;
41536 test -d "$as_dir" || eval $as_mkdir_p || {
41540 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41541 *) as_qdir=$as_dir;;
41543 as_dirs="'$as_qdir' $as_dirs"
41544 as_dir=`$as_dirname -- "$as_dir" ||
41545 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41546 X"$as_dir" : 'X\(//\)[^/]' \| \
41547 X"$as_dir" : 'X\(//\)$' \| \
41548 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41549 $as_echo X"$as_dir" |
41550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41554 /^X\(\/\/\)[^/].*/{
41567 test -d "$as_dir" && break
41569 test -z "$as_dirs" || eval "mkdir $as_dirs"
41570 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41574 if mkdir -p . 2>/dev/null; then
41575 as_mkdir_p='mkdir -p "$as_dir"'
41577 test -d ./-p && rmdir ./-p
41581 if test -x / >/dev/null 2>&1; then
41582 as_test_x='test -x'
41584 if ls -dL / >/dev/null 2>&1; then
41591 if test -d "$1"; then
41597 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
41598 ???[sx]*):;;*)false;;esac;fi
41602 as_executable_p=$as_test_x
41604 # Sed expression to map a string onto a valid CPP name.
41605 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41607 # Sed expression to map a string onto a valid variable name.
41608 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41612 ## ----------------------------------- ##
41613 ## Main body of $CONFIG_STATUS script. ##
41614 ## ----------------------------------- ##
41616 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41619 # Save the log message, to keep $0 and so on meaningful, and to
41620 # report actual input values of CONFIG_FILES etc. instead of their
41621 # values after options handling.
41623 This file was extended by wxWidgets $as_me 2.9.4, which was
41624 generated by GNU Autoconf 2.67. Invocation command line was
41626 CONFIG_FILES = $CONFIG_FILES
41627 CONFIG_HEADERS = $CONFIG_HEADERS
41628 CONFIG_LINKS = $CONFIG_LINKS
41629 CONFIG_COMMANDS = $CONFIG_COMMANDS
41632 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41637 case $ac_config_files in *"
41638 "*) set x $ac_config_files; shift; ac_config_files=$*;;
41641 case $ac_config_headers in *"
41642 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
41646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41647 # Files that config.status was made for.
41648 config_files="$ac_config_files"
41649 config_headers="$ac_config_headers"
41650 config_commands="$ac_config_commands"
41654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41656 \`$as_me' instantiates files and other configuration actions
41657 from templates according to the current configuration. Unless the files
41658 and actions are specified as TAGs, all are instantiated by default.
41660 Usage: $0 [OPTION]... [TAG]...
41662 -h, --help print this help, then exit
41663 -V, --version print version number and configuration settings, then exit
41664 --config print configuration, then exit
41665 -q, --quiet, --silent
41666 do not print progress messages
41667 -d, --debug don't remove temporary files
41668 --recheck update $as_me by reconfiguring in the same conditions
41669 --file=FILE[:TEMPLATE]
41670 instantiate the configuration file FILE
41671 --header=FILE[:TEMPLATE]
41672 instantiate the configuration header FILE
41674 Configuration files:
41677 Configuration headers:
41680 Configuration commands:
41683 Report bugs to <wx-dev@lists.wxwidgets.org>."
41686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41687 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41689 wxWidgets config.status 2.9.4
41690 configured by $0, generated by GNU Autoconf 2.67,
41691 with options \\"\$ac_cs_config\\"
41693 Copyright (C) 2010 Free Software Foundation, Inc.
41694 This config.status script is free software; the Free Software Foundation
41695 gives unlimited permission to copy, distribute and modify it."
41700 test -n "\$AWK" || AWK=awk
41703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41704 # The default lists apply if the user does not specify any file.
41710 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41711 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
41715 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41727 # Handling of the options.
41728 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41730 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41731 $as_echo "$ac_cs_version"; exit ;;
41732 --config | --confi | --conf | --con | --co | --c )
41733 $as_echo "$ac_cs_config"; exit ;;
41734 --debug | --debu | --deb | --de | --d | -d )
41736 --file | --fil | --fi | --f )
41739 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41740 '') as_fn_error $? "missing file argument" ;;
41742 as_fn_append CONFIG_FILES " '$ac_optarg'"
41743 ac_need_defaults=false;;
41744 --header | --heade | --head | --hea )
41747 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41749 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
41750 ac_need_defaults=false;;
41752 # Conflict between --help and --header
41753 as_fn_error $? "ambiguous option: \`$1'
41754 Try \`$0 --help' for more information.";;
41755 --help | --hel | -h )
41756 $as_echo "$ac_cs_usage"; exit ;;
41757 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41758 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41761 # This is an error.
41762 -*) as_fn_error $? "unrecognized option: \`$1'
41763 Try \`$0 --help' for more information." ;;
41765 *) as_fn_append ac_config_targets " $1"
41766 ac_need_defaults=false ;;
41772 ac_configure_extra_args=
41774 if $ac_cs_silent; then
41776 ac_configure_extra_args="$ac_configure_extra_args --silent"
41780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41781 if \$ac_cs_recheck; then
41782 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41784 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41785 CONFIG_SHELL='$SHELL'
41786 export CONFIG_SHELL
41791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41795 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41796 ## Running $as_me. ##
41802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41808 infile="$srcdir/include/wx/msw/genrcdefs.h"
41809 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41812 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41813 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41814 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41822 # Handling of arguments.
41823 for ac_config_target in $ac_config_targets
41825 case $ac_config_target in
41826 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41827 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
41828 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41829 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41830 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41831 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
41832 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41833 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
41834 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
41836 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
41841 # If the user did not use the arguments to specify the items to instantiate,
41842 # then the envvar interface is used. Set only those that are not.
41843 # We use the long form for the default assignment because of an extremely
41844 # bizarre bug on SunOS 4.1.3.
41845 if $ac_need_defaults; then
41846 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41847 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41848 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41851 # Have a temporary directory for convenience. Make it in the build tree
41852 # simply because there is no reason against having it here, and in addition,
41853 # creating and moving files from /tmp can sometimes cause problems.
41854 # Hook for its removal unless debugging.
41855 # Note that there is a small window in which the directory will not be cleaned:
41856 # after its creation but before its name has been assigned to `$tmp'.
41860 trap 'exit_status=$?
41861 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
41863 trap 'as_fn_exit 1' 1 2 13 15
41865 # Create a (secure) tmp directory for tmp files.
41868 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41869 test -n "$tmp" && test -d "$tmp"
41872 tmp=./conf$$-$RANDOM
41873 (umask 077 && mkdir "$tmp")
41874 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
41876 # Set up the scripts for CONFIG_FILES section.
41877 # No need to generate them if there are no CONFIG_FILES.
41878 # This happens for instance with `./config.status config.h'.
41879 if test -n "$CONFIG_FILES"; then
41882 ac_cr=`echo X | tr X '\015'`
41883 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41884 # But we know of no other shell where ac_cr would be empty at this
41885 # point, so we can use a bashism as a fallback.
41886 if test "x$ac_cr" = x; then
41887 eval ac_cr=\$\'\\r\'
41889 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41890 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41893 ac_cs_awk_cr=$ac_cr
41896 echo 'BEGIN {' >"$tmp/subs1.awk" &&
41901 echo "cat >conf$$subs.awk <<_ACEOF" &&
41902 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41904 } >conf$$subs.sh ||
41905 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41906 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41908 for ac_last_try in false false false false false :; do
41909 . ./conf$$subs.sh ||
41910 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41912 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
41913 if test $ac_delim_n = $ac_delim_num; then
41915 elif $ac_last_try; then
41916 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41918 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
41921 rm -f conf$$subs.sh
41923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41924 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
41928 s/^/S["/; s/!.*/"]=/
41938 s/\(.\{148\}\)..*/\1/
41940 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
41945 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41952 s/\(.\{148\}\)..*/\1/
41954 s/["\\]/\\&/g; s/^/"/; s/$/"/
41958 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41963 ' <conf$$subs.awk | sed '
41968 ' >>$CONFIG_STATUS || ac_write_fail=1
41969 rm -f conf$$subs.awk
41970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41972 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
41973 for (key in S) S_is_set[key] = 1
41979 nfields = split(line, field, "@")
41981 len = length(field[1])
41982 for (i = 2; i < nfields; i++) {
41984 keylen = length(key)
41985 if (S_is_set[key]) {
41987 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41988 len += length(value) + length(field[++i])
41999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42000 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42001 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42004 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
42005 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42008 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42009 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42010 # trailing colons and then remove the whole line if VPATH becomes empty
42011 # (actually we leave an empty line to preserve line numbers).
42012 if test "x$srcdir" = x.; then
42013 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42032 fi # test -n "$CONFIG_FILES"
42034 # Set up the scripts for CONFIG_HEADERS section.
42035 # No need to generate them if there are no CONFIG_HEADERS.
42036 # This happens for instance with `./config.status Makefile'.
42037 if test -n "$CONFIG_HEADERS"; then
42038 cat >"$tmp/defines.awk" <<\_ACAWK ||
42042 # Transform confdefs.h into an awk script `defines.awk', embedded as
42043 # here-document in config.status, that substitutes the proper values into
42044 # config.h.in to produce config.h.
42046 # Create a delimiter string that does not exist in confdefs.h, to ease
42047 # handling of long lines.
42049 for ac_last_try in false false :; do
42050 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
42051 if test -z "$ac_t"; then
42053 elif $ac_last_try; then
42054 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42056 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42060 # For the awk script, D is an array of macro values keyed by name,
42061 # likewise P contains macro parameters if any. Preserve backslash
42062 # newline sequences.
42064 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42066 s/.\{148\}/&'"$ac_delim"'/g
42069 s/^[ ]*#[ ]*define[ ][ ]*/ /
42076 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42078 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
42082 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42083 D["\1"]=" \3\\\\\\n"\\/p
42085 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42090 s/.\{148\}/&'"$ac_delim"'/g
42095 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42098 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42100 ' <confdefs.h | sed '
42101 s/'"$ac_delim"'/"\\\
42102 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42105 for (key in D) D_is_set[key] = 1
42108 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42110 split(line, arg, " ")
42111 if (arg[1] == "#") {
42115 defundef = substr(arg[1], 2)
42118 split(mac1, mac2, "(") #)
42120 prefix = substr(line, 1, index(line, defundef) - 1)
42121 if (D_is_set[macro]) {
42122 # Preserve the white space surrounding the "#".
42123 print prefix "define", macro P[macro] D[macro]
42126 # Replace #undef with comments. This is necessary, for example,
42127 # in the case of _POSIX_SOURCE, which is predefined and required
42128 # on some systems where configure will not decide to define it.
42129 if (defundef == "undef") {
42130 print "/*", prefix defundef, macro, "*/"
42138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42139 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42140 fi # test -n "$CONFIG_HEADERS"
42143 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42148 :[FHLC]) ac_mode=$ac_tag; continue;;
42150 case $ac_mode$ac_tag in
42152 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42153 :[FH]-) ac_tag=-:-;;
42154 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42171 -) ac_f="$tmp/stdin";;
42172 *) # Look for the file first in the build tree, then in the source tree
42173 # (if the path is not absolute). The absolute path cannot be DOS-style,
42174 # because $ac_f cannot contain `:'.
42178 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42180 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42182 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42183 as_fn_append ac_file_inputs " '$ac_f'"
42186 # Let's still pretend it is `configure' which instantiates (i.e., don't
42187 # use $as_me), people would be surprised to read:
42188 # /* config.h. Generated by config.status. */
42189 configure_input='Generated from '`
42190 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42192 if test x"$ac_file" != x-; then
42193 configure_input="$ac_file. $configure_input"
42194 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42195 $as_echo "$as_me: creating $ac_file" >&6;}
42197 # Neutralize special characters interpreted by sed in replacement strings.
42198 case $configure_input in #(
42199 *\&* | *\|* | *\\* )
42200 ac_sed_conf_input=`$as_echo "$configure_input" |
42201 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42202 *) ac_sed_conf_input=$configure_input;;
42206 *:-:* | *:-) cat >"$tmp/stdin" \
42207 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42212 ac_dir=`$as_dirname -- "$ac_file" ||
42213 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42214 X"$ac_file" : 'X\(//\)[^/]' \| \
42215 X"$ac_file" : 'X\(//\)$' \| \
42216 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42217 $as_echo X"$ac_file" |
42218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42222 /^X\(\/\/\)[^/].*/{
42235 as_dir="$ac_dir"; as_fn_mkdir_p
42239 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42241 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42242 # A ".." for each directory in $ac_dir_suffix.
42243 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42244 case $ac_top_builddir_sub in
42245 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42246 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42249 ac_abs_top_builddir=$ac_pwd
42250 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42251 # for backward compatibility:
42252 ac_top_builddir=$ac_top_build_prefix
42255 .) # We are building in place.
42257 ac_top_srcdir=$ac_top_builddir_sub
42258 ac_abs_top_srcdir=$ac_pwd ;;
42259 [\\/]* | ?:[\\/]* ) # Absolute name.
42260 ac_srcdir=$srcdir$ac_dir_suffix;
42261 ac_top_srcdir=$srcdir
42262 ac_abs_top_srcdir=$srcdir ;;
42263 *) # Relative name.
42264 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42265 ac_top_srcdir=$ac_top_build_prefix$srcdir
42266 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42268 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42278 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42279 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42284 # If the template does not know about datarootdir, expand it.
42285 # FIXME: This hack should be removed a few years after 2.60.
42286 ac_datarootdir_hack=; ac_datarootdir_seen=
42297 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42298 *datarootdir*) ac_datarootdir_seen=yes;;
42299 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42301 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42304 ac_datarootdir_hack='
42305 s&@datadir@&$datadir&g
42306 s&@docdir@&$docdir&g
42307 s&@infodir@&$infodir&g
42308 s&@localedir@&$localedir&g
42309 s&@mandir@&$mandir&g
42310 s&\\\${datarootdir}&$datarootdir&g' ;;
42314 # Neutralize VPATH when `$srcdir' = `.'.
42315 # Shell code in configure.ac might set extrasub.
42316 # FIXME: do we really want to maintain this feature?
42317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42318 ac_sed_extra="$ac_vpsub
42321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42324 s|@configure_input@|$ac_sed_conf_input|;t t
42325 s&@top_builddir@&$ac_top_builddir_sub&;t t
42326 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42327 s&@srcdir@&$ac_srcdir&;t t
42328 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42329 s&@top_srcdir@&$ac_top_srcdir&;t t
42330 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42331 s&@builddir@&$ac_builddir&;t t
42332 s&@abs_builddir@&$ac_abs_builddir&;t t
42333 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42334 s&@INSTALL@&$ac_INSTALL&;t t
42335 $ac_datarootdir_hack
42337 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
42338 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42340 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42341 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
42342 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
42343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42344 which seems to be undefined. Please make sure it is defined" >&5
42345 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42346 which seems to be undefined. Please make sure it is defined" >&2;}
42350 -) cat "$tmp/out" && rm -f "$tmp/out";;
42351 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
42353 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42359 if test x"$ac_file" != x-; then
42361 $as_echo "/* $configure_input */" \
42362 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
42363 } >"$tmp/config.h" \
42364 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42365 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
42366 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42367 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42370 mv "$tmp/config.h" "$ac_file" \
42371 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42374 $as_echo "/* $configure_input */" \
42375 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
42376 || as_fn_error $? "could not create -" "$LINENO" 5
42380 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42381 $as_echo "$as_me: executing $ac_file commands" >&6;}
42386 case $ac_file$ac_mode in
42388 mkdir -p $outdir &&
42389 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42391 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42392 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42393 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42394 "wx-config":C) rm -f wx-config
42395 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42404 ac_clean_files=$ac_clean_files_save
42406 test $ac_write_fail = 0 ||
42407 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42410 # configure is writing to config.log, and then calls config.status.
42411 # config.status does its own redirection, appending to config.log.
42412 # Unfortunately, on DOS this fails, as config.log is still kept open
42413 # by configure, so config.status won't be able to write to it; its
42414 # output is simply discarded. So we exec the FD to /dev/null,
42415 # effectively closing config.log, so it can be properly (re)opened and
42416 # appended to by config.status. When coming back to configure, we
42417 # need to make the FD available again.
42418 if test "$no_create" != yes; then
42420 ac_config_status_args=
42421 test "$silent" = yes &&
42422 ac_config_status_args="$ac_config_status_args --quiet"
42424 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42426 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42427 # would make configure fail if this is the last instruction.
42428 $ac_cs_success || as_fn_exit 1
42432 # CONFIG_SUBDIRS section.
42434 if test "$no_recursion" != yes; then
42436 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42437 # so they do not pile up.
42438 ac_sub_configure_args=
42440 eval "set x $ac_configure_args"
42444 if test -n "$ac_prev"; then
42449 -cache-file | --cache-file | --cache-fil | --cache-fi \
42450 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42451 ac_prev=cache_file ;;
42452 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42453 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42456 --config-cache | -C)
42458 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42460 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42462 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42464 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42466 --disable-option-checking)
42470 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42472 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42476 # Always prepend --prefix to ensure using the same prefix
42477 # in subdir configurations.
42478 ac_arg="--prefix=$prefix"
42480 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42482 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42485 if test "$silent" = yes; then
42486 ac_sub_configure_args="--silent $ac_sub_configure_args"
42489 # Always prepend --disable-option-checking to silence warnings, since
42490 # different subdirs can have different --enable and --with options.
42491 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42494 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42496 # Do not complain, so a configure script can configure whichever
42497 # parts of a large source tree are present.
42498 test -d "$srcdir/$ac_dir" || continue
42500 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42501 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42502 $as_echo "$ac_msg" >&6
42503 as_dir="$ac_dir"; as_fn_mkdir_p
42507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42509 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42510 # A ".." for each directory in $ac_dir_suffix.
42511 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42512 case $ac_top_builddir_sub in
42513 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42514 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42517 ac_abs_top_builddir=$ac_pwd
42518 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42519 # for backward compatibility:
42520 ac_top_builddir=$ac_top_build_prefix
42523 .) # We are building in place.
42525 ac_top_srcdir=$ac_top_builddir_sub
42526 ac_abs_top_srcdir=$ac_pwd ;;
42527 [\\/]* | ?:[\\/]* ) # Absolute name.
42528 ac_srcdir=$srcdir$ac_dir_suffix;
42529 ac_top_srcdir=$srcdir
42530 ac_abs_top_srcdir=$srcdir ;;
42531 *) # Relative name.
42532 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42533 ac_top_srcdir=$ac_top_build_prefix$srcdir
42534 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42541 # Check for guested configure; otherwise get Cygnus style configure.
42542 if test -f "$ac_srcdir/configure.gnu"; then
42543 ac_sub_configure=$ac_srcdir/configure.gnu
42544 elif test -f "$ac_srcdir/configure"; then
42545 ac_sub_configure=$ac_srcdir/configure
42546 elif test -f "$ac_srcdir/configure.in"; then
42547 # This should be Cygnus configure.
42548 ac_sub_configure=$ac_aux_dir/configure
42550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42551 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42555 # The recursion is here.
42556 if test -n "$ac_sub_configure"; then
42557 # Make the cache file name correct relative to the subdirectory.
42558 case $cache_file in
42559 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42560 *) # Relative name.
42561 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42564 { $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
42565 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42566 # The eval makes quoting arguments work.
42567 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42568 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42569 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42575 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42577 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42582 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42584 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42585 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42586 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42587 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42588 if test "$wxUSE_UNICODE" = "yes"; then
42589 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42590 echo " (using UTF-8)"
42592 echo " (using wchar_t)"
42598 echo " What level of wxWidgets compatibility should be enabled?"
42599 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42600 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42602 echo " Which libraries should wxWidgets use?"
42603 echo " STL ${wxUSE_STL}"
42604 echo " jpeg ${wxUSE_LIBJPEG-none}"
42605 echo " png ${wxUSE_LIBPNG-none}"
42606 echo " regex ${wxUSE_REGEX}"
42607 echo " tiff ${wxUSE_LIBTIFF-none}"
42608 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42609 echo " xpm ${wxUSE_LIBXPM-none}"
42611 echo " zlib ${wxUSE_ZLIB}"
42612 echo " expat ${wxUSE_EXPAT}"
42613 echo " libmspack ${wxUSE_LIBMSPACK}"
42614 echo " sdl ${wxUSE_LIBSDL}"