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
1049 program_transform_name
1062 enable_option_checking
1068 enable_official_build
1109 with_macosx_version_min
1118 enable_std_containers
1119 enable_std_iostreams
1121 enable_std_string_conv_in_wxstring
1126 enable_extended_rtti
1131 enable_no_exceptions
1134 enable_vararg_macros
1135 enable_universal_binary
1140 enable_objc_uniquifying
1169 enable_dynamicloader
1185 enable_printfposparam
1200 enable_protocol_http
1202 enable_protocol_file
1253 enable_commandlinkbutton
1280 enable_rearrangectrl
1329 enable_accessibility
1332 enable_webviewwebkit
1352 with_gtk_exec_prefix
1354 with_libiconv_prefix
1356 with_sdl_exec_prefix
1358 enable_dependency_tracking
1359 enable_precomp_headers
1361 with_cppunit_exec_prefix
1363 ac_precious_vars
='build_alias
1400 LIBGNOMEPRINTUI_CFLAGS
1401 LIBGNOMEPRINTUI_LIBS
1414 ac_subdirs_all
='src/tiff
1417 # Initialize some variables set by options.
1419 ac_init_version
=false
1420 ac_unrecognized_opts
=
1421 ac_unrecognized_sep
=
1422 # The variables have the same names as the options, with
1423 # dashes changed to underlines.
1424 cache_file
=/dev
/null
1431 program_transform_name
=s
,x
,x
,
1439 # Installation directory options.
1440 # These are left unexpanded so users can "make install exec_prefix=/foo"
1441 # and all the variables that are supposed to be based on exec_prefix
1442 # by default will actually change.
1443 # Use braces instead of parens because sh, perl, etc. also accept them.
1444 # (The list follows the same order as the GNU Coding Standards.)
1445 bindir
='${exec_prefix}/bin'
1446 sbindir
='${exec_prefix}/sbin'
1447 libexecdir
='${exec_prefix}/libexec'
1448 datarootdir
='${prefix}/share'
1449 datadir
='${datarootdir}'
1450 sysconfdir
='${prefix}/etc'
1451 sharedstatedir
='${prefix}/com'
1452 localstatedir
='${prefix}/var'
1453 includedir
='${prefix}/include'
1454 oldincludedir
='/usr/include'
1455 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1456 infodir
='${datarootdir}/info'
1461 libdir
='${exec_prefix}/lib'
1462 localedir
='${datarootdir}/locale'
1463 mandir
='${datarootdir}/man'
1469 # If the previous option needs an argument, assign it.
1470 if test -n "$ac_prev"; then
1471 eval $ac_prev=\
$ac_option
1477 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1482 # Accept the important Cygnus configure options, so we can diagnose typos.
1484 case $ac_dashdash$ac_option in
1488 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1490 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1491 bindir
=$ac_optarg ;;
1493 -build | --build | --buil | --bui | --bu)
1494 ac_prev
=build_alias
;;
1495 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1496 build_alias
=$ac_optarg ;;
1498 -cache-file | --cache-file | --cache-fil | --cache-fi \
1499 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1500 ac_prev
=cache_file
;;
1501 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1502 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1503 cache_file
=$ac_optarg ;;
1505 --config-cache | -C)
1506 cache_file
=config.cache
;;
1508 -datadir | --datadir | --datadi | --datad)
1510 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1511 datadir
=$ac_optarg ;;
1513 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1514 | --dataroo | --dataro | --datar)
1515 ac_prev
=datarootdir
;;
1516 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1517 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1518 datarootdir
=$ac_optarg ;;
1520 -disable-* | --disable-*)
1521 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1522 # Reject names that are not valid shell variable names.
1523 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1524 as_fn_error $?
"invalid feature name: $ac_useropt"
1525 ac_useropt_orig
=$ac_useropt
1526 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1527 case $ac_user_opts in
1529 "enable_
$ac_useropt"
1531 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1532 ac_unrecognized_sep
=', ';;
1534 eval enable_
$ac_useropt=no
;;
1536 -docdir | --docdir | --docdi | --doc | --do)
1538 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1539 docdir
=$ac_optarg ;;
1541 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1543 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1544 dvidir
=$ac_optarg ;;
1546 -enable-* | --enable-*)
1547 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1548 # Reject names that are not valid shell variable names.
1549 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1550 as_fn_error $?
"invalid feature name: $ac_useropt"
1551 ac_useropt_orig
=$ac_useropt
1552 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1553 case $ac_user_opts in
1555 "enable_
$ac_useropt"
1557 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1558 ac_unrecognized_sep
=', ';;
1560 eval enable_
$ac_useropt=\
$ac_optarg ;;
1562 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1563 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1564 | --exec | --exe | --ex)
1565 ac_prev
=exec_prefix
;;
1566 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1567 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1568 | --exec=* | --exe=* | --ex=*)
1569 exec_prefix
=$ac_optarg ;;
1571 -gas | --gas | --ga | --g)
1572 # Obsolete; use --with-gas.
1575 -help | --help | --hel | --he | -h)
1576 ac_init_help
=long
;;
1577 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1578 ac_init_help
=recursive
;;
1579 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1580 ac_init_help
=short
;;
1582 -host | --host | --hos | --ho)
1583 ac_prev
=host_alias
;;
1584 -host=* | --host=* | --hos=* | --ho=*)
1585 host_alias
=$ac_optarg ;;
1587 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1589 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1591 htmldir
=$ac_optarg ;;
1593 -includedir | --includedir | --includedi | --included | --include \
1594 | --includ | --inclu | --incl | --inc)
1595 ac_prev
=includedir
;;
1596 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1597 | --includ=* | --inclu=* | --incl=* | --inc=*)
1598 includedir
=$ac_optarg ;;
1600 -infodir | --infodir | --infodi | --infod | --info | --inf)
1602 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1603 infodir
=$ac_optarg ;;
1605 -libdir | --libdir | --libdi | --libd)
1607 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1608 libdir
=$ac_optarg ;;
1610 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1611 | --libexe | --libex | --libe)
1612 ac_prev
=libexecdir
;;
1613 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1614 | --libexe=* | --libex=* | --libe=*)
1615 libexecdir
=$ac_optarg ;;
1617 -localedir | --localedir | --localedi | --localed | --locale)
1618 ac_prev
=localedir
;;
1619 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1620 localedir
=$ac_optarg ;;
1622 -localstatedir | --localstatedir | --localstatedi | --localstated \
1623 | --localstate | --localstat | --localsta | --localst | --locals)
1624 ac_prev
=localstatedir
;;
1625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1626 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1627 localstatedir
=$ac_optarg ;;
1629 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1631 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1632 mandir
=$ac_optarg ;;
1634 -nfp | --nfp | --nf)
1635 # Obsolete; use --without-fp.
1638 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1639 | --no-cr | --no-c | -n)
1642 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1643 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1646 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1647 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1648 | --oldin | --oldi | --old | --ol | --o)
1649 ac_prev
=oldincludedir
;;
1650 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1651 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1652 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1653 oldincludedir
=$ac_optarg ;;
1655 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1657 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1658 prefix
=$ac_optarg ;;
1660 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1661 | --program-pre | --program-pr | --program-p)
1662 ac_prev
=program_prefix
;;
1663 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1664 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1665 program_prefix
=$ac_optarg ;;
1667 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1668 | --program-suf | --program-su | --program-s)
1669 ac_prev
=program_suffix
;;
1670 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1671 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1672 program_suffix
=$ac_optarg ;;
1674 -program-transform-name | --program-transform-name \
1675 | --program-transform-nam | --program-transform-na \
1676 | --program-transform-n | --program-transform- \
1677 | --program-transform | --program-transfor \
1678 | --program-transfo | --program-transf \
1679 | --program-trans | --program-tran \
1680 | --progr-tra | --program-tr | --program-t)
1681 ac_prev
=program_transform_name
;;
1682 -program-transform-name=* | --program-transform-name=* \
1683 | --program-transform-nam=* | --program-transform-na=* \
1684 | --program-transform-n=* | --program-transform-=* \
1685 | --program-transform=* | --program-transfor=* \
1686 | --program-transfo=* | --program-transf=* \
1687 | --program-trans=* | --program-tran=* \
1688 | --progr-tra=* | --program-tr=* | --program-t=*)
1689 program_transform_name
=$ac_optarg ;;
1691 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1693 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1694 pdfdir
=$ac_optarg ;;
1696 -psdir | --psdir | --psdi | --psd | --ps)
1698 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1701 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1702 | -silent | --silent | --silen | --sile | --sil)
1705 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1707 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1709 sbindir
=$ac_optarg ;;
1711 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1712 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1713 | --sharedst | --shareds | --shared | --share | --shar \
1715 ac_prev
=sharedstatedir
;;
1716 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1717 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1718 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1720 sharedstatedir
=$ac_optarg ;;
1722 -site | --site | --sit)
1724 -site=* | --site=* | --sit=*)
1727 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1729 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1730 srcdir
=$ac_optarg ;;
1732 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1733 | --syscon | --sysco | --sysc | --sys | --sy)
1734 ac_prev
=sysconfdir
;;
1735 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1736 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1737 sysconfdir
=$ac_optarg ;;
1739 -target | --target | --targe | --targ | --tar | --ta | --t)
1740 ac_prev
=target_alias
;;
1741 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1742 target_alias
=$ac_optarg ;;
1744 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1747 -version | --version | --versio | --versi | --vers | -V)
1748 ac_init_version
=: ;;
1751 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1752 # Reject names that are not valid shell variable names.
1753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1754 as_fn_error $?
"invalid package name: $ac_useropt"
1755 ac_useropt_orig
=$ac_useropt
1756 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1757 case $ac_user_opts in
1761 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1762 ac_unrecognized_sep
=', ';;
1764 eval with_
$ac_useropt=\
$ac_optarg ;;
1766 -without-* | --without-*)
1767 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1768 # Reject names that are not valid shell variable names.
1769 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1770 as_fn_error $?
"invalid package name: $ac_useropt"
1771 ac_useropt_orig
=$ac_useropt
1772 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1773 case $ac_user_opts in
1777 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1778 ac_unrecognized_sep
=', ';;
1780 eval with_
$ac_useropt=no
;;
1783 # Obsolete; use --with-x.
1786 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1787 | --x-incl | --x-inc | --x-in | --x-i)
1788 ac_prev
=x_includes
;;
1789 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1790 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1791 x_includes
=$ac_optarg ;;
1793 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1794 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1795 ac_prev
=x_libraries
;;
1796 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1797 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1798 x_libraries
=$ac_optarg ;;
1800 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1801 Try \`$0 --help' for more information"
1805 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1806 # Reject names that are not valid shell variable names.
1807 case $ac_envvar in #(
1808 '' | [0-9]* | *[!_$as_cr_alnum]* )
1809 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1811 eval $ac_envvar=\
$ac_optarg
1812 export $ac_envvar ;;
1815 # FIXME: should be removed in autoconf 3.0.
1816 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1817 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1818 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1819 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1825 if test -n "$ac_prev"; then
1826 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1827 as_fn_error $?
"missing argument to $ac_option"
1830 if test -n "$ac_unrecognized_opts"; then
1831 case $enable_option_checking in
1833 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1834 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1838 # Check all directory arguments for consistency.
1839 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1840 datadir sysconfdir sharedstatedir localstatedir includedir \
1841 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1842 libdir localedir mandir
1844 eval ac_val
=\$
$ac_var
1845 # Remove trailing slashes.
1848 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1849 eval $ac_var=\
$ac_val;;
1851 # Be sure to have absolute directory names.
1853 [\\/$
]* | ?
:[\\/]* ) continue;;
1854 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1856 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1859 # There might be people who depend on the old broken behavior: `$host'
1860 # used to hold the argument of --host etc.
1861 # FIXME: To remove some day.
1864 target
=$target_alias
1866 # FIXME: To remove some day.
1867 if test "x$host_alias" != x
; then
1868 if test "x$build_alias" = x
; then
1869 cross_compiling
=maybe
1870 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1871 If a cross compiler is detected then cross compile mode will be used" >&2
1872 elif test "x$build_alias" != "x$host_alias"; then
1878 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1880 test "$silent" = yes && exec 6>/dev
/null
1883 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1884 ac_ls_di
=`ls -di .` &&
1885 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1886 as_fn_error $?
"working directory cannot be determined"
1887 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1888 as_fn_error $?
"pwd does not report name of working directory"
1891 # Find the source files, if location was not specified.
1892 if test -z "$srcdir"; then
1893 ac_srcdir_defaulted
=yes
1894 # Try the directory containing this script, then the parent directory.
1895 ac_confdir
=`$as_dirname -- "$as_myself" ||
1896 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1897 X"$as_myself" : 'X\(//\)[^/]' \| \
1898 X"$as_myself" : 'X\(//\)$' \| \
1899 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1900 $as_echo X"$as_myself" |
1901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1919 if test ! -r "$srcdir/$ac_unique_file"; then
1923 ac_srcdir_defaulted
=no
1925 if test ! -r "$srcdir/$ac_unique_file"; then
1926 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1927 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1929 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1931 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1933 # When building in place, set srcdir=.
1934 if test "$ac_abs_confdir" = "$ac_pwd"; then
1937 # Remove unnecessary trailing slashes from srcdir.
1938 # Double slashes in file names in object file debugging info
1939 # mess up M-x gdb in Emacs.
1941 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1943 for ac_var
in $ac_precious_vars; do
1944 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1945 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1946 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1947 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1951 # Report the --help message.
1953 if test "$ac_init_help" = "long"; then
1954 # Omit some internal or obsolete options to make the list less imposing.
1955 # This message is too long to be a string in the A/UX 3.1 sh.
1957 \`configure' configures wxWidgets 2.9.4 to adapt to many kinds of systems.
1959 Usage: $0 [OPTION]... [VAR=VALUE]...
1961 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1962 VAR=VALUE. See below for descriptions of some of the useful variables.
1964 Defaults for the options are specified in brackets.
1967 -h, --help display this help and exit
1968 --help=short display options specific to this package
1969 --help=recursive display the short help of all the included packages
1970 -V, --version display version information and exit
1971 -q, --quiet, --silent do not print \`checking ...' messages
1972 --cache-file=FILE cache test results in FILE [disabled]
1973 -C, --config-cache alias for \`--cache-file=config.cache'
1974 -n, --no-create do not create output files
1975 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1977 Installation directories:
1978 --prefix=PREFIX install architecture-independent files in PREFIX
1979 [$ac_default_prefix]
1980 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1983 By default, \`make install' will install all the files in
1984 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1985 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1986 for instance \`--prefix=\$HOME'.
1988 For better control, use the options below.
1990 Fine tuning of the installation directories:
1991 --bindir=DIR user executables [EPREFIX/bin]
1992 --sbindir=DIR system admin executables [EPREFIX/sbin]
1993 --libexecdir=DIR program executables [EPREFIX/libexec]
1994 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1995 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1996 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1997 --libdir=DIR object code libraries [EPREFIX/lib]
1998 --includedir=DIR C header files [PREFIX/include]
1999 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2000 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2001 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2002 --infodir=DIR info documentation [DATAROOTDIR/info]
2003 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2004 --mandir=DIR man documentation [DATAROOTDIR/man]
2005 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2006 --htmldir=DIR html documentation [DOCDIR]
2007 --dvidir=DIR dvi documentation [DOCDIR]
2008 --pdfdir=DIR pdf documentation [DOCDIR]
2009 --psdir=DIR ps documentation [DOCDIR]
2015 --x-includes=DIR X include files are
in DIR
2016 --x-libraries=DIR X library files are
in DIR
2019 --build=BUILD configure
for building on BUILD
[guessed
]
2020 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2024 if test -n "$ac_init_help"; then
2025 case $ac_init_help in
2026 short
| recursive
) echo "Configuration of wxWidgets 2.9.4:";;
2031 --disable-option-checking ignore unrecognized
--enable/--with options
2032 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2033 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2034 --disable-gui don
't build GUI parts of the library
2035 --enable-monolithic build wxWidgets as single library
2036 --enable-plugins build parts of wxWidgets as loadable components
2037 --enable-official_build official build of wxWidgets (win32 DLL only)
2038 --enable-vendor=VENDOR vendor name (win32 DLL only)
2039 --disable-all-features disable all optional features to build minimal library
2040 --enable-universal use wxWidgets GUI controls instead of native ones
2041 --enable-nanox use NanoX
2042 --enable-gpe use GNOME PDA Environment features if possible
2043 --enable-debug build library for debugging
2044 --disable-debug_flag disable all debugging support
2045 --enable-debug_info generate debug information
2046 --enable-debug_gdb create code with extra GDB debugging information
2047 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2048 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2049 --disable-shared create static library instead of shared
2050 --enable-stl use standard C++ classes for everything
2051 --enable-std_containers use standard C++ container classes
2052 --enable-std_iostreams use standard C++ stream classes
2053 --enable-std_string use standard C++ string classes
2054 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2055 --disable-unicode compile without Unicode support
2056 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2057 --enable-utf8 use UTF-8 representation for strings (Unix only)
2058 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2059 --enable-extended_rtti use extended RTTI (XTI)
2060 --enable-omf use OMF object format
2061 --disable-optimise compile without optimisations
2062 --enable-profile create code with profiling information
2063 --enable-no_rtti create code without RTTI information
2064 --enable-no_exceptions create code without C++ exceptions handling
2065 --enable-permissive compile code disregarding strict ANSI
2066 --enable-no_deps create code without dependency information
2067 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2068 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2069 --enable-macosx_arch=ARCH build
for just the specified architecture
2070 --enable-compat26 enable wxWidgets
2.6 compatibility
2071 --disable-compat28 disable wxWidgets
2.8 compatibility
2072 --disable-rpath disable use of rpath
for uninstalled builds
2073 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2074 --disable-visibility disable use of ELF symbols visibility even
if supported
2075 --disable-tls disable use of compiler TLS support
2076 --enable-intl use internationalization system
2077 --enable-xlocale use x
-locale support
(requires wxLocale
)
2078 --enable-config use wxConfig
(and derived
) classes
2079 --enable-protocols use wxProtocol and derived classes
2080 --enable-ftp use wxFTP
(requires wxProtocol
2081 --enable-http use wxHTTP
(requires wxProtocol
2082 --enable-fileproto use wxFileProto class
(requires wxProtocol
2083 --enable-sockets use socket
/network classes
2084 --enable-ipv6 enable IPv6 support
in wxSocket
2085 --enable-ole use OLE classes
(Win32 only
)
2086 --enable-dataobj use data object classes
2087 --enable-ipc use interprocess communication
(wxSocket etc.
)
2088 --enable-baseevtloop use event loop
in console programs too
2089 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2090 --enable-selectloop use wxSelectDispatcher class
2091 --enable-any use wxAny class
2092 --enable-apple_ieee use the Apple IEEE codec
2093 --enable-arcstream use wxArchive streams
2094 --enable-base64 use base64 encoding
/decoding functions
2095 --enable-backtrace use wxStackWalker class
for getting backtraces
2096 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2097 --enable-cmdline use wxCmdLineParser class
2098 --enable-datetime use wxDateTime class
2099 --enable-debugreport use wxDebugReport class
2100 --enable-dialupman use dialup network classes
2101 --enable-dynlib use wxLibrary class
for DLL loading
2102 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2103 --enable-exceptions build exception
-safe library
2104 --enable-ffile use wxFFile class
2105 --enable-file use wxFile class
2106 --enable-filehistory use wxFileHistory class
2107 --enable-filesystem use virtual
file systems classes
2108 --enable-fontenum use wxFontEnumerator class
2109 --enable-fontmap use font encodings conversion classes
2110 --enable-fs_archive use virtual archive filesystems
2111 --enable-fs_inet use virtual HTTP
/FTP filesystems
2112 --enable-fs_zip now replaced by fs_archive
2113 --enable-fswatcher use wxFileSystemWatcher class
2114 --enable-geometry use geometry class
2115 --enable-log use logging system
2116 --enable-longlong use wxLongLong class
2117 --enable-mimetype use wxMimeTypesManager
2118 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2119 --enable-snglinst use wxSingleInstanceChecker class
2120 --enable-sound use wxSound class
2121 --enable-stdpaths use wxStandardPaths class
2122 --enable-stopwatch use wxStopWatch class
2123 --enable-streams use wxStream etc classes
2124 --enable-sysoptions use wxSystemOptions
2125 --enable-tarstream use wxTar streams
2126 --enable-textbuf use wxTextBuffer class
2127 --enable-textfile use wxTextFile class
2128 --enable-timer use wxTimer class
2129 --enable-variant use wxVariant class
2130 --enable-zipstream use wxZip streams
2131 --enable-url use wxURL class
2132 --enable-protocol use wxProtocol class
2133 --enable-protocol-http HTTP support
in wxProtocol
2134 --enable-protocol-ftp FTP support
in wxProtocol
2135 --enable-protocol-file FILE support
in wxProtocol
2136 --enable-threads use threads
2137 --enable-iniconf use wxIniConfig
(Win32 only
)
2138 --enable-regkey use wxRegKey class
(Win32 only
)
2139 --enable-docview use document view architecture
2140 --enable-help use
help subsystem
2141 --enable-mshtmlhelp use MS HTML Help
(win32
)
2142 --enable-html use wxHTML sub
-library
2143 --enable-htmlhelp use wxHTML
-based help
2144 --enable-xrc use XRC resources sub
-library
2145 --enable-aui use AUI docking library
2146 --enable-propgrid use wxPropertyGrid library
2147 --enable-ribbon use wxRibbon library
2148 --enable-stc use wxStyledTextCtrl library
2149 --enable-constraints use layout
-constraints system
2150 --enable-loggui use standard GUI logger
2151 --enable-logwin use wxLogWindow
2152 --enable-logdialog use wxLogDialog
2153 --enable-mdi use multiple document interface architecture
2154 --enable-mdidoc use docview architecture with MDI
2155 --enable-mediactrl use wxMediaCtrl class
2156 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2157 --enable-richtext use wxRichTextCtrl
2158 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2159 --enable-printarch use printing architecture
2160 --enable-svg use wxSVGFileDC device context
2161 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2162 --enable-webview use wxWebView library
2163 --enable-graphics_ctx use graphics context
2D drawing API
2164 --enable-clipboard use wxClipboard class
2165 --enable-dnd use Drag
'n'Drop classes
2166 --disable-controls disable compilation of all standard controls
2167 --enable-markup support wxControl
::SetLabelMarkup
2168 --enable-accel use accelerators
2169 --enable-animatectrl use wxAnimationCtrl class
2170 --enable-bannerwindow use wxBannerWindow class
2171 --enable-artstd use standard XPM icons
in wxArtProvider
2172 --enable-arttango use Tango icons
in wxArtProvider
2173 --enable-bmpbutton use wxBitmapButton class
2174 --enable-bmpcombobox use wxBitmapComboBox class
2175 --enable-button use wxButton class
2176 --enable-calendar use wxCalendarCtrl class
2177 --enable-caret use wxCaret class
2178 --enable-checkbox use wxCheckBox class
2179 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2180 --enable-choice use wxChoice class
2181 --enable-choicebook use wxChoicebook class
2182 --enable-collpane use wxCollapsiblePane class
2183 --enable-colourpicker use wxColourPickerCtrl class
2184 --enable-combobox use wxComboBox class
2185 --enable-comboctrl use wxComboCtrl class
2186 --enable-commandlinkbutton use wxCommmandLinkButton class
2187 --enable-dataviewctrl use wxDataViewCtrl class
2188 --enable-datepick use wxDatePickerCtrl class
2189 --enable-detect_sm use code to detect X11 session manager
2190 --enable-dirpicker use wxDirPickerCtrl class
2191 --enable-display use wxDisplay class
2192 --enable-editablebox use wxEditableListBox class
2193 --enable-filectrl use wxFileCtrl class
2194 --enable-filepicker use wxFilePickerCtrl class
2195 --enable-fontpicker use wxFontPickerCtrl class
2196 --enable-gauge use wxGauge class
2197 --enable-grid use wxGrid class
2198 --enable-headerctrl use wxHeaderCtrl class
2199 --enable-hyperlink use wxHyperlinkCtrl class
2200 --enable-imaglist use wxImageList class
2201 --enable-infobar use wxInfoBar class
2202 --enable-listbook use wxListbook class
2203 --enable-listbox use wxListBox class
2204 --enable-listctrl use wxListCtrl class
2205 --enable-notebook use wxNotebook class
2206 --enable-notifmsg use wxNotificationMessage class
2207 --enable-odcombobox use wxOwnerDrawnComboBox class
2208 --enable-popupwin use wxPopUpWindow class
2209 --enable-radiobox use wxRadioBox class
2210 --enable-radiobtn use wxRadioButton class
2211 --enable-richmsgdlg use wxRichMessageDialog class
2212 --enable-richtooltip use wxRichToolTip class
2213 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2214 --enable-sash use wxSashWindow class
2215 --enable-scrollbar use wxScrollBar class and scrollable windows
2216 --enable-searchctrl use wxSearchCtrl class
2217 --enable-slider use wxSlider class
2218 --enable-spinbtn use wxSpinButton class
2219 --enable-spinctrl use wxSpinCtrl class
2220 --enable-splitter use wxSplitterWindow class
2221 --enable-statbmp use wxStaticBitmap class
2222 --enable-statbox use wxStaticBox class
2223 --enable-statline use wxStaticLine class
2224 --enable-stattext use wxStaticText class
2225 --enable-statusbar use wxStatusBar class
2226 --enable-taskbaricon use wxTaskBarIcon class
2227 --enable-tbarnative use native wxToolBar class
2228 --enable-textctrl use wxTextCtrl class
2229 --enable-timepick use wxTimePickerCtrl class
2230 --enable-tipwindow use wxTipWindow class
2231 --enable-togglebtn use wxToggleButton class
2232 --enable-toolbar use wxToolBar class
2233 --enable-toolbook use wxToolbook class
2234 --enable-treebook use wxTreebook class
2235 --enable-treectrl use wxTreeCtrl class
2236 --enable-treelist use wxTreeListCtrl class
2237 --enable-commondlg use all common dialogs
2238 --enable-aboutdlg use wxAboutBox
2239 --enable-choicedlg use wxChoiceDialog
2240 --enable-coldlg use wxColourDialog
2241 --enable-filedlg use wxFileDialog
2242 --enable-finddlg use wxFindReplaceDialog
2243 --enable-fontdlg use wxFontDialog
2244 --enable-dirdlg use wxDirDialog
2245 --enable-msgdlg use wxMessageDialog
2246 --enable-numberdlg use wxNumberEntryDialog
2247 --enable-splash use wxSplashScreen
2248 --enable-textdlg use wxTextDialog
2249 --enable-tipdlg use startup tips
2250 --enable-progressdlg use wxProgressDialog
2251 --enable-wizarddlg use wxWizard
2252 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2253 --enable-miniframe use wxMiniFrame class
2254 --enable-tooltips use wxToolTip class
2255 --enable-splines use spline drawing code
2256 --enable-mousewheel use mousewheel
2257 --enable-validators use wxValidator and derived classes
2258 --enable-busyinfo use wxBusyInfo
2259 --enable-hotkey use wxWindow
::RegisterHotKey
()
2260 --enable-joystick use wxJoystick
2261 --enable-metafiles use wxMetaFile
2262 --enable-dragimage use wxDragImage
2263 --enable-accessibility enable accessibility support
2264 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2265 --enable-dctransform use wxDC
::SetTransformMatrix and related
2266 --enable-webview-webkit use wxWebView WebKit backend
2267 --enable-palette use wxPalette class
2268 --enable-image use wxImage class
2269 --enable-gif use gif images
(GIF
file format
)
2270 --enable-pcx use pcx images
(PCX
file format
)
2271 --enable-tga use tga images
(TGA
file format
)
2272 --enable-iff use iff images
(IFF
file format
)
2273 --enable-pnm use pnm images
(PNM
file format
)
2274 --enable-xpm use xpm images
(XPM
file format
)
2275 --enable-ico_cur use Windows ICO and CUR formats
2276 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2277 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2278 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2279 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2280 --enable-wxdib use wxDIB class
(Win32 only
)
2281 --enable-webview-ie use wxWebView IE backend
(Win32 only
)
2282 --enable-autoidman use automatic ids management
2283 --disable-largefile omit support
for large files
2284 --disable-gtktest do not try to compile and run a
test GTK
+ program
2285 --disable-gtktest Do not try to compile and run a
test GTK program
2286 --disable-sdltest Do not try to compile and run a
test SDL program
2287 --enable-omf use OMF object format
(OS
/2)
2288 --disable-dependency-tracking
2289 don
't use dependency tracking even if the compiler
2291 --disable-precomp-headers
2292 don't use precompiled headers even
if compiler can
2295 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2296 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2297 --without-subdirs don
't generate makefiles for samples/demos/...
2298 --with-flavour=NAME specify a name to identify this build
2299 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2300 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2301 --with-motif use Motif/Lesstif
2302 --with-osx_carbon use Mac OS X (Carbon)
2303 --with-osx_cocoa use Mac OS X (Cocoa)
2304 --with-osx_iphone use iPhone OS X port
2305 --with-osx use Mac OS X (default port, currently Carbon)
2306 --with-carbon same as --with-osx_carbon
2307 --with-cocoa same as --with-osx_cocoa
2308 --with-iphone same as --with-osx_iphone
2309 --with-mac same as --with-osx
2310 --with-old_cocoa use old, deprecated, Cocoa port
2311 --with-wine use Wine
2312 --with-msw use MS-Windows
2313 --with-pm use OS/2 Presentation Manager
2314 --with-directfb use DirectFB
2315 --with-microwin use MicroWindows
2317 --with-libpng use libpng (PNG image format)
2318 --with-libjpeg use libjpeg (JPEG file format)
2319 --with-libtiff use libtiff (TIFF file format)
2320 --with-libxpm use libxpm (XPM file format)
2321 --with-libiconv use libiconv (character conversion)
2322 --with-libmspack use libmspack (CHM help files loading)
2323 --without-gtkprint don't use GTK printing support
2324 --without-gnomeprint don
't use GNOME printing libraries
2325 --with-gnomevfs use GNOME VFS for associating MIME types
2326 --with-hildon use Hildon framework for Nokia 770/800/810
2327 --with-opengl use OpenGL (or Mesa)
2328 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2329 --with-sdl use SDL for audio on Unix
2330 --with-regex enable support for wxRegEx class
2331 --with-zlib use zlib for LZW compression
2332 --with-expat enable XML support using expat parser
2333 --with-macosx-sdk=PATH use an OS X SDK at PATH
2334 --with-macosx-version-min=VER build binaries which require at least this OS X version
2335 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2336 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2337 --with-x use the X Window System
2338 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2339 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2340 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2341 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2342 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2344 Some influential environment variables:
2345 CC C compiler command
2346 CFLAGS C compiler flags
2347 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2348 nonstandard directory <lib dir>
2349 LIBS libraries to pass to the linker, e.g. -l<library>
2350 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2351 you have headers in a nonstandard directory <include dir>
2353 CXX C++ compiler command
2354 CXXFLAGS C++ compiler flags
2355 CXXCPP C++ preprocessor
2356 PKG_CONFIG path to pkg-config utility
2358 C compiler flags for DIRECTFB, overriding pkg-config
2360 linker flags for DIRECTFB, overriding pkg-config
2361 XMKMF Path to xmkmf, Makefile generator for X Window System
2363 C compiler flags for PANGOX, overriding pkg-config
2364 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2366 C compiler flags for PANGOFT2, overriding pkg-config
2368 linker flags for PANGOFT2, overriding pkg-config
2370 C compiler flags for PANGOXFT, overriding pkg-config
2372 linker flags for PANGOXFT, overriding pkg-config
2374 C compiler flags for Xinerama, overriding pkg-config
2376 linker flags for Xinerama, overriding pkg-config
2378 C compiler flags for Xxf86vm, overriding pkg-config
2380 linker flags for Xxf86vm, overriding pkg-config
2381 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2382 SM_LIBS linker flags for SM, overriding pkg-config
2383 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2384 GL_LIBS linker flags for GL, overriding pkg-config
2385 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2386 GLU_LIBS linker flags for GLU, overriding pkg-config
2388 C compiler flags for MesaGL, overriding pkg-config
2389 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2391 C compiler flags for GTKPRINT, overriding pkg-config
2393 linker flags for GTKPRINT, overriding pkg-config
2394 LIBGNOMEPRINTUI_CFLAGS
2395 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2396 LIBGNOMEPRINTUI_LIBS
2397 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2399 C compiler flags for GNOMEVFS, overriding pkg-config
2401 linker flags for GNOMEVFS, overriding pkg-config
2403 C compiler flags for HILDON, overriding pkg-config
2404 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2406 C compiler flags for HILDON2, overriding pkg-config
2408 linker flags for HILDON2, overriding pkg-config
2410 C compiler flags for WEBKIT, overriding pkg-config
2411 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2413 C compiler flags for CAIRO, overriding pkg-config
2414 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2415 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2416 GST_LIBS linker flags for GST, overriding pkg-config
2418 Use these variables to override the choices made by `configure' or to
help
2419 it to
find libraries and programs with nonstandard names
/locations.
2421 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2426 if test "$ac_init_help" = "recursive"; then
2427 # If there are subdirs, report their specific --help.
2428 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2429 test -d "$ac_dir" ||
2430 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2435 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2437 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2438 # A ".." for each directory in $ac_dir_suffix.
2439 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2440 case $ac_top_builddir_sub in
2441 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2442 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2445 ac_abs_top_builddir
=$ac_pwd
2446 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2447 # for backward compatibility:
2448 ac_top_builddir
=$ac_top_build_prefix
2451 .
) # We are building in place.
2453 ac_top_srcdir
=$ac_top_builddir_sub
2454 ac_abs_top_srcdir
=$ac_pwd ;;
2455 [\\/]* | ?
:[\\/]* ) # Absolute name.
2456 ac_srcdir
=$srcdir$ac_dir_suffix;
2457 ac_top_srcdir
=$srcdir
2458 ac_abs_top_srcdir
=$srcdir ;;
2460 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2461 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2462 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2464 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2466 cd "$ac_dir" || { ac_status
=$?
; continue; }
2467 # Check for guested configure.
2468 if test -f "$ac_srcdir/configure.gnu"; then
2470 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2471 elif test -f "$ac_srcdir/configure"; then
2473 $SHELL "$ac_srcdir/configure" --help=recursive
2475 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2477 cd "$ac_pwd" || { ac_status
=$?
; break; }
2481 test -n "$ac_init_help" && exit $ac_status
2482 if $ac_init_version; then
2484 wxWidgets configure
2.9.4
2485 generated by GNU Autoconf
2.67
2487 Copyright
(C
) 2010 Free Software Foundation
, Inc.
2488 This configure
script is free software
; the Free Software Foundation
2489 gives unlimited permission to copy
, distribute and modify it.
2494 ## ------------------------ ##
2495 ## Autoconf initialization. ##
2496 ## ------------------------ ##
2498 # ac_fn_c_try_compile LINENO
2499 # --------------------------
2500 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2501 ac_fn_c_try_compile
()
2503 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2504 rm -f conftest.
$ac_objext
2505 if { { ac_try
="$ac_compile"
2507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2508 *) ac_try_echo=$ac_try;;
2510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2511 $as_echo "$ac_try_echo"; } >&5
2512 (eval "$ac_compile") 2>conftest.err
2514 if test -s conftest.err; then
2515 grep -v '^ *+' conftest.err >conftest.er1
2516 cat conftest.er1 >&5
2517 mv -f conftest.er1 conftest.err
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; } && {
2521 test -z "$ac_c_werror_flag" ||
2522 test ! -s conftest.err
2523 } && test -s conftest.$ac_objext; then :
2526 $as_echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.$ac_ext >&5
2531 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2532 as_fn_set_status $ac_retval
2534 } # ac_fn_c_try_compile
2536 # ac_fn_c_try_cpp LINENO
2537 # ----------------------
2538 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2542 if { { ac_try="$ac_cpp conftest.$ac_ext"
2544 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2545 *) ac_try_echo
=$ac_try;;
2547 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2548 $as_echo "$ac_try_echo"; } >&5
2549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2551 if test -s conftest.err
; then
2552 grep -v '^ *+' conftest.err
>conftest.er1
2553 cat conftest.er1
>&5
2554 mv -f conftest.er1 conftest.err
2556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2557 test $ac_status = 0; } > conftest.i
&& {
2558 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2559 test ! -s conftest.err
2563 $as_echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.
$ac_ext >&5
2568 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2569 as_fn_set_status
$ac_retval
2573 # ac_fn_cxx_try_compile LINENO
2574 # ----------------------------
2575 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2576 ac_fn_cxx_try_compile
()
2578 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2579 rm -f conftest.
$ac_objext
2580 if { { ac_try
="$ac_compile"
2582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2586 $as_echo "$ac_try_echo"; } >&5
2587 (eval "$ac_compile") 2>conftest.err
2589 if test -s conftest.err; then
2590 grep -v '^ *+' conftest.err >conftest.er1
2591 cat conftest.er1 >&5
2592 mv -f conftest.er1 conftest.err
2594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2595 test $ac_status = 0; } && {
2596 test -z "$ac_cxx_werror_flag" ||
2597 test ! -s conftest.err
2598 } && test -s conftest.$ac_objext; then :
2601 $as_echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.$ac_ext >&5
2606 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2607 as_fn_set_status $ac_retval
2609 } # ac_fn_cxx_try_compile
2611 # ac_fn_c_try_link LINENO
2612 # -----------------------
2613 # Try to link conftest.$ac_ext, and return whether this succeeded.
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2617 rm -f conftest.$ac_objext conftest$ac_exeext
2618 if { { ac_try="$ac_link"
2620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2621 *) ac_try_echo
=$ac_try;;
2623 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2624 $as_echo "$ac_try_echo"; } >&5
2625 (eval "$ac_link") 2>conftest.err
2627 if test -s conftest.err
; then
2628 grep -v '^ *+' conftest.err
>conftest.er1
2629 cat conftest.er1
>&5
2630 mv -f conftest.er1 conftest.err
2632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2633 test $ac_status = 0; } && {
2634 test -z "$ac_c_werror_flag" ||
2635 test ! -s conftest.err
2636 } && test -s conftest
$ac_exeext && {
2637 test "$cross_compiling" = yes ||
2638 $as_test_x conftest
$ac_exeext
2642 $as_echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.
$ac_ext >&5
2647 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2648 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2649 # interfere with the next link command; also delete a directory that is
2650 # left behind by Apple's compiler. We do this before executing the actions.
2651 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2652 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2653 as_fn_set_status
$ac_retval
2655 } # ac_fn_c_try_link
2657 # ac_fn_cxx_try_link LINENO
2658 # -------------------------
2659 # Try to link conftest.$ac_ext, and return whether this succeeded.
2660 ac_fn_cxx_try_link
()
2662 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2663 rm -f conftest.
$ac_objext conftest
$ac_exeext
2664 if { { ac_try
="$ac_link"
2666 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670 $as_echo "$ac_try_echo"; } >&5
2671 (eval "$ac_link") 2>conftest.err
2673 if test -s conftest.err; then
2674 grep -v '^ *+' conftest.err >conftest.er1
2675 cat conftest.er1 >&5
2676 mv -f conftest.er1 conftest.err
2678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2679 test $ac_status = 0; } && {
2680 test -z "$ac_cxx_werror_flag" ||
2681 test ! -s conftest.err
2682 } && test -s conftest$ac_exeext && {
2683 test "$cross_compiling" = yes ||
2684 $as_test_x conftest$ac_exeext
2688 $as_echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2693 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2694 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2695 # interfere with the next link command; also delete a directory that is
2696 # left behind by Apple's compiler. We do this before executing the actions.
2697 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2698 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2699 as_fn_set_status $ac_retval
2701 } # ac_fn_cxx_try_link
2703 # ac_fn_c_try_run LINENO
2704 # ----------------------
2705 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2706 # that executables *can* be run.
2709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2710 if { { ac_try="$ac_link"
2712 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2713 *) ac_try_echo
=$ac_try;;
2715 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2716 $as_echo "$ac_try_echo"; } >&5
2717 (eval "$ac_link") 2>&5
2719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2720 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2721 { { case "(($ac_try" in
2722 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2723 *) ac_try_echo=$ac_try;;
2725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2726 $as_echo "$ac_try_echo"; } >&5
2727 (eval "$ac_try") 2>&5
2729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2730 test $ac_status = 0; }; }; then :
2733 $as_echo "$as_me: program exited with status $ac_status" >&5
2734 $as_echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2737 ac_retval=$ac_status
2739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2741 as_fn_set_status $ac_retval
2745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2746 # -------------------------------------------------------
2747 # Tests whether HEADER exists and can be compiled using the include files in
2748 # INCLUDES, setting the cache variable VAR accordingly.
2749 ac_fn_c_check_header_compile ()
2751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2753 $as_echo_n "checking for $2... " >&6; }
2754 if eval "test \"\${$3+set}\"" = set; then :
2755 $as_echo_n "(cached) " >&6
2757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2762 if ac_fn_c_try_compile "$LINENO"; then :
2767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2771 $as_echo "$ac_res" >&6; }
2772 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2774 } # ac_fn_c_check_header_compile
2776 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2777 # --------------------------------------------
2778 # Tries to find the compile-time value of EXPR in a program that includes
2779 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2781 ac_fn_c_compute_int ()
2783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2784 if test "$cross_compiling" = yes; then
2785 # Depending upon the size, compute the lo and hi bounds.
2786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2787 /* end confdefs.h. */
2792 static int test_array [1 - 2 * !(($2) >= 0)];
2799 if ac_fn_c_try_compile "$LINENO"; then :
2802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2803 /* end confdefs.h. */
2808 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2815 if ac_fn_c_try_compile "$LINENO"; then :
2816 ac_hi=$ac_mid; break
2818 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2819 if test $ac_lo -le $ac_mid; then
2823 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2829 /* end confdefs.h. */
2834 static int test_array [1 - 2 * !(($2) < 0)];
2841 if ac_fn_c_try_compile "$LINENO"; then :
2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2850 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2857 if ac_fn_c_try_compile "$LINENO"; then :
2858 ac_lo=$ac_mid; break
2860 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2861 if test $ac_mid -le $ac_hi; then
2865 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2875 # Binary search between lo and hi bounds.
2876 while test "x$ac_lo" != "x$ac_hi"; do
2877 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2879 /* end confdefs.h. */
2884 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2891 if ac_fn_c_try_compile "$LINENO"; then :
2894 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2899 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2906 static long int longval () { return $2; }
2907 static unsigned long int ulongval () { return $2; }
2914 FILE *f = fopen ("conftest.val", "w");
2919 long int i = longval ();
2922 fprintf (f, "%ld", i);
2926 unsigned long int i = ulongval ();
2929 fprintf (f, "%lu", i);
2931 /* Do not output a trailing newline, as this causes \r\n confusion
2932 on some platforms. */
2933 return ferror (f) || fclose (f) != 0;
2939 if ac_fn_c_try_run "$LINENO"; then :
2940 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2944 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2945 conftest.$ac_objext conftest.beam conftest.$ac_ext
2949 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2950 as_fn_set_status $ac_retval
2952 } # ac_fn_c_compute_int
2954 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2955 # ---------------------------------------------------------
2956 # Tests whether HEADER exists and can be compiled using the include files in
2957 # INCLUDES, setting the cache variable VAR accordingly.
2958 ac_fn_cxx_check_header_compile ()
2960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2962 $as_echo_n "checking for $2... " >&6; }
2963 if eval "test \"\${$3+set}\"" = set; then :
2964 $as_echo_n "(cached) " >&6
2966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967 /* end confdefs.h. */
2971 if ac_fn_cxx_try_compile "$LINENO"; then :
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2980 $as_echo "$ac_res" >&6; }
2981 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2983 } # ac_fn_cxx_check_header_compile
2985 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2986 # ---------------------------------------------
2987 # Tests whether TYPE exists after having included INCLUDES, setting cache
2988 # variable VAR accordingly.
2989 ac_fn_cxx_check_type ()
2991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2993 $as_echo_n "checking for $2... " >&6; }
2994 if eval "test \"\${$3+set}\"" = set; then :
2995 $as_echo_n "(cached) " >&6
2998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999 /* end confdefs.h. */
3010 if ac_fn_cxx_try_compile "$LINENO"; then :
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3023 if ac_fn_cxx_try_compile "$LINENO"; then :
3028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3034 $as_echo "$ac_res" >&6; }
3035 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3037 } # ac_fn_cxx_check_type
3039 # ac_fn_cxx_try_cpp LINENO
3040 # ------------------------
3041 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3042 ac_fn_cxx_try_cpp ()
3044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3045 if { { ac_try="$ac_cpp conftest.$ac_ext"
3047 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3048 *) ac_try_echo
=$ac_try;;
3050 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3051 $as_echo "$ac_try_echo"; } >&5
3052 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3054 if test -s conftest.err
; then
3055 grep -v '^ *+' conftest.err
>conftest.er1
3056 cat conftest.er1
>&5
3057 mv -f conftest.er1 conftest.err
3059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060 test $ac_status = 0; } > conftest.i
&& {
3061 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3062 test ! -s conftest.err
3066 $as_echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.
$ac_ext >&5
3071 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
3072 as_fn_set_status
$ac_retval
3074 } # ac_fn_cxx_try_cpp
3076 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3077 # ---------------------------------------------------------
3078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3079 # the include files in INCLUDES and setting the cache variable VAR
3081 ac_fn_cxx_check_header_mongrel
()
3083 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3084 if eval "test \"\${$3+set}\"" = set; then :
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3086 $as_echo_n "checking for $2... " >&6; }
3087 if eval "test \"\${$3+set}\"" = set; then :
3088 $as_echo_n "(cached) " >&6
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3092 $as_echo "$ac_res" >&6; }
3094 # Is the header compilable?
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3096 $as_echo_n "checking $2 usability... " >&6; }
3097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3102 if ac_fn_cxx_try_compile
"$LINENO"; then :
3103 ac_header_compiler
=yes
3105 ac_header_compiler
=no
3107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3109 $as_echo "$ac_header_compiler" >&6; }
3111 # Is the header present?
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3113 $as_echo_n "checking $2 presence... " >&6; }
3114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3118 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3119 ac_header_preproc
=yes
3121 ac_header_preproc
=no
3123 rm -f conftest.err conftest.i conftest.
$ac_ext
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3125 $as_echo "$ac_header_preproc" >&6; }
3127 # So? What about this header?
3128 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3139 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3143 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3146 ( $as_echo "## ----------------------------------------- ##
3147 ## Report this to wx-dev@lists.wxwidgets.org ##
3148 ## ----------------------------------------- ##"
3149 ) | sed "s/^/$as_me: WARNING: /" >&2
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3153 $as_echo_n "checking for $2... " >&6; }
3154 if eval "test \"\${$3+set}\"" = set; then :
3155 $as_echo_n "(cached) " >&6
3157 eval "$3=\$ac_header_compiler"
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3161 $as_echo "$ac_res" >&6; }
3163 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
3165 } # ac_fn_cxx_check_header_mongrel
3167 # ac_fn_c_check_func LINENO FUNC VAR
3168 # ----------------------------------
3169 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3170 ac_fn_c_check_func
()
3172 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3174 $as_echo_n "checking for $2... " >&6; }
3175 if eval "test \"\${$3+set}\"" = set; then :
3176 $as_echo_n "(cached) " >&6
3178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3179 /* end confdefs.h. */
3180 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3182 #define $2 innocuous_$2
3184 /* System header to define __stub macros and hopefully few prototypes,
3185 which can conflict with char $2 (); below.
3186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3187 <limits.h> exists even on freestanding compilers. */
3190 # include <limits.h>
3192 # include <assert.h>
3197 /* Override any GCC internal prototype to avoid an error.
3198 Use char because int might match the return type of a GCC
3199 builtin and then its argument prototype would still apply. */
3204 /* The GNU C library defines this for functions which it implements
3205 to always fail with ENOSYS. Some functions are actually named
3206 something starting with __ and the normal name is an alias. */
3207 #if defined __stub_$2 || defined __stub___$2
3219 if ac_fn_c_try_link
"$LINENO"; then :
3224 rm -f core conftest.err conftest.
$ac_objext \
3225 conftest
$ac_exeext conftest.
$ac_ext
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3229 $as_echo "$ac_res" >&6; }
3230 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
3232 } # ac_fn_c_check_func
3234 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3235 # -------------------------------------------
3236 # Tests whether TYPE exists after having included INCLUDES, setting cache
3237 # variable VAR accordingly.
3238 ac_fn_c_check_type
()
3240 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3242 $as_echo_n "checking for $2... " >&6; }
3243 if eval "test \"\${$3+set}\"" = set; then :
3244 $as_echo_n "(cached) " >&6
3247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3259 if ac_fn_c_try_compile
"$LINENO"; then :
3260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3261 /* end confdefs.h. */
3272 if ac_fn_c_try_compile
"$LINENO"; then :
3277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3283 $as_echo "$ac_res" >&6; }
3284 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
3286 } # ac_fn_c_check_type
3288 # ac_fn_cxx_try_run LINENO
3289 # ------------------------
3290 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3291 # that executables *can* be run.
3292 ac_fn_cxx_try_run
()
3294 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3295 if { { ac_try
="$ac_link"
3297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3298 *) ac_try_echo=$ac_try;;
3300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3301 $as_echo "$ac_try_echo"; } >&5
3302 (eval "$ac_link") 2>&5
3304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3305 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3306 { { case "(($ac_try" in
3307 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3308 *) ac_try_echo
=$ac_try;;
3310 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311 $as_echo "$ac_try_echo"; } >&5
3312 (eval "$ac_try") 2>&5
3314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3315 test $ac_status = 0; }; }; then :
3318 $as_echo "$as_me: program exited with status $ac_status" >&5
3319 $as_echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.
$ac_ext >&5
3322 ac_retval
=$ac_status
3324 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3325 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
3326 as_fn_set_status
$ac_retval
3328 } # ac_fn_cxx_try_run
3329 cat >config.log
<<_ACEOF
3330 This file contains any messages produced by compilers while
3331 running configure, to aid debugging if configure makes a mistake.
3333 It was created by wxWidgets $as_me 2.9.4, which was
3334 generated by GNU Autoconf 2.67. Invocation command line was
3346 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3347 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3348 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3349 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3350 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3352 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3353 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3355 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3356 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3357 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3358 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3359 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3360 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3361 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3369 test -z "$as_dir" && as_dir
=.
3370 $as_echo "PATH: $as_dir"
3386 # Keep a trace of the command line.
3387 # Strip out --no-create and --no-recursion so they do not pile up.
3388 # Strip out --silent because we don't want to record it for future runs.
3389 # Also quote any args containing shell meta-characters.
3390 # Make two passes to allow for proper duplicate-argument suppression.
3394 ac_must_keep_next
=false
3400 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3401 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3402 | -silent | --silent | --silen | --sile | --sil)
3405 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3408 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3410 as_fn_append ac_configure_args1
" '$ac_arg'"
3411 if test $ac_must_keep_next = true
; then
3412 ac_must_keep_next
=false
# Got value, back to normal.
3415 *=* | --config-cache | -C | -disable-* | --disable-* \
3416 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3417 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3418 | -with-* | --with-* | -without-* | --without-* | --x)
3419 case "$ac_configure_args0 " in
3420 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3423 -* ) ac_must_keep_next
=true
;;
3426 as_fn_append ac_configure_args
" '$ac_arg'"
3431 { ac_configure_args0
=; unset ac_configure_args0
;}
3432 { ac_configure_args1
=; unset ac_configure_args1
;}
3434 # When interrupted or exit'd, cleanup temporary files, and complete
3435 # config.log. We remove comments because anyway the quotes in there
3436 # would cause problems or look ugly.
3437 # WARNING: Use '\'' to represent an apostrophe within the trap.
3438 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3439 trap 'exit_status=$?
3440 # Save into config.log some information that might help in debugging.
3444 $as_echo "## ---------------- ##
3445 ## Cache variables. ##
3446 ## ---------------- ##"
3448 # The following way of writing the cache mishandles newlines in values,
3450 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3451 eval ac_val=\$$ac_var
3455 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3456 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3459 _ | IFS | as_nl) ;; #(
3460 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3461 *) { eval $ac_var=; unset $ac_var;} ;;
3466 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3467 *${as_nl}ac_space=\ *)
3469 "s/'\''/'\''\\\\'\'''\''/g;
3470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3473 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3480 $as_echo "## ----------------- ##
3481 ## Output variables. ##
3482 ## ----------------- ##"
3484 for ac_var in $ac_subst_vars
3486 eval ac_val=\$$ac_var
3488 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3490 $as_echo "$ac_var='\''$ac_val'\''"
3494 if test -n "$ac_subst_files"; then
3495 $as_echo "## ------------------- ##
3496 ## File substitutions. ##
3497 ## ------------------- ##"
3499 for ac_var
in $ac_subst_files
3501 eval ac_val
=\$
$ac_var
3503 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3505 $as_echo "$ac_var='\''$ac_val'\''"
3510 if test -s confdefs.h; then
3511 $as_echo "## ----------- ##
3518 test "$ac_signal" != 0 &&
3519 $as_echo "$as_me: caught signal $ac_signal"
3520 $as_echo "$as_me: exit $exit_status"
3522 rm -f core *.core core.conftest.* &&
3523 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3526 for ac_signal
in 1 2 13 15; do
3527 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3531 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3532 rm -f -r conftest
* confdefs.h
3534 $as_echo "/* confdefs.h */" > confdefs.h
3536 # Predefined preprocessor variables.
3538 cat >>confdefs.h
<<_ACEOF
3539 #define PACKAGE_NAME "$PACKAGE_NAME"
3542 cat >>confdefs.h
<<_ACEOF
3543 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3546 cat >>confdefs.h
<<_ACEOF
3547 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3550 cat >>confdefs.h
<<_ACEOF
3551 #define PACKAGE_STRING "$PACKAGE_STRING"
3554 cat >>confdefs.h
<<_ACEOF
3555 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3558 cat >>confdefs.h
<<_ACEOF
3559 #define PACKAGE_URL "$PACKAGE_URL"
3563 # Let the site file select an alternate cache file if it wants to.
3564 # Prefer an explicitly selected file to automatically selected ones.
3567 if test -n "$CONFIG_SITE"; then
3568 # We do not want a PATH search for config.site.
3569 case $CONFIG_SITE in #((
3570 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3571 */*) ac_site_file1
=$CONFIG_SITE;;
3572 *) ac_site_file1
=.
/$CONFIG_SITE;;
3574 elif test "x$prefix" != xNONE
; then
3575 ac_site_file1
=$prefix/share
/config.site
3576 ac_site_file2
=$prefix/etc
/config.site
3578 ac_site_file1
=$ac_default_prefix/share
/config.site
3579 ac_site_file2
=$ac_default_prefix/etc
/config.site
3581 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3583 test "x$ac_site_file" = xNONE
&& continue
3584 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3586 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3587 sed 's/^/| /' "$ac_site_file" >&5
3589 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591 as_fn_error $?
"failed to load site script $ac_site_file
3592 See \`config.log' for more details" "$LINENO" 5 ; }
3596 if test -r "$cache_file"; then
3597 # Some versions of bash will fail to source /dev/null (special files
3598 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3599 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3601 $as_echo "$as_me: loading cache $cache_file" >&6;}
3603 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3604 *) .
"./$cache_file";;
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3609 $as_echo "$as_me: creating cache $cache_file" >&6;}
3613 # Check that the precious variables saved in the cache have kept the same
3615 ac_cache_corrupted
=false
3616 for ac_var
in $ac_precious_vars; do
3617 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3618 eval ac_new_set
=\
$ac_env_${ac_var}_set
3619 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3620 eval ac_new_val
=\
$ac_env_${ac_var}_value
3621 case $ac_old_set,$ac_new_set in
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3624 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3625 ac_cache_corrupted
=: ;;
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3628 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3629 ac_cache_corrupted
=: ;;
3632 if test "x$ac_old_val" != "x$ac_new_val"; then
3633 # differences in whitespace do not lead to failure.
3634 ac_old_val_w
=`echo x $ac_old_val`
3635 ac_new_val_w
=`echo x $ac_new_val`
3636 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3638 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3639 ac_cache_corrupted
=:
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3642 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3643 eval $ac_var=\
$ac_old_val
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3646 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3648 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3651 # Pass precious variables to config.status.
3652 if test "$ac_new_set" = set; then
3654 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3655 *) ac_arg
=$ac_var=$ac_new_val ;;
3657 case " $ac_configure_args " in
3658 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3659 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3663 if $ac_cache_corrupted; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3667 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3668 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3670 ## -------------------- ##
3671 ## Main body of script. ##
3672 ## -------------------- ##
3675 ac_cpp
='$CPP $CPPFLAGS'
3676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3685 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3686 if test -f "$ac_dir/install-sh"; then
3688 ac_install_sh
="$ac_aux_dir/install-sh -c"
3690 elif test -f "$ac_dir/install.sh"; then
3692 ac_install_sh
="$ac_aux_dir/install.sh -c"
3694 elif test -f "$ac_dir/shtool"; then
3696 ac_install_sh
="$ac_aux_dir/shtool install -c"
3700 if test -z "$ac_aux_dir"; then
3701 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3704 # These three variables are undocumented and unsupported,
3705 # and are intended to be withdrawn in a future Autoconf release.
3706 # They can cause serious problems if a builder's source tree is in a directory
3707 # whose full name contains unusual characters.
3708 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3709 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3710 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3713 # Make sure we can run config.sub.
3714 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3715 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3718 $as_echo_n "checking build system type... " >&6; }
3719 if test "${ac_cv_build+set}" = set; then :
3720 $as_echo_n "(cached) " >&6
3722 ac_build_alias
=$build_alias
3723 test "x$ac_build_alias" = x
&&
3724 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3725 test "x$ac_build_alias" = x
&&
3726 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3727 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3728 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3732 $as_echo "$ac_cv_build" >&6; }
3733 case $ac_cv_build in
3735 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5 ;;
3738 ac_save_IFS
=$IFS; IFS
='-'
3744 # Remember, the first character of IFS is used to create $*,
3745 # except with old shells:
3748 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3752 $as_echo_n "checking host system type... " >&6; }
3753 if test "${ac_cv_host+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3756 if test "x$host_alias" = x
; then
3757 ac_cv_host
=$ac_cv_build
3759 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3760 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3765 $as_echo "$ac_cv_host" >&6; }
3768 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5 ;;
3771 ac_save_IFS
=$IFS; IFS
='-'
3777 # Remember, the first character of IFS is used to create $*,
3778 # except with old shells:
3781 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3785 if test "$cross_compiling" != "no"; then
3786 HOST_PREFIX
="${host_alias}-"
3787 HOST_SUFFIX
="-$host_alias"
3794 wx_major_version_number
=2
3795 wx_minor_version_number
=9
3797 wx_subrelease_number
=0
3799 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3800 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3801 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3803 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3806 wx_top_builddir
="`pwd`"
3819 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3825 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3831 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3833 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3835 DEFAULT_wxUSE_OLD_COCOA
=0
3837 DEFAULT_wxUSE_OSX_CARBON
=0
3838 DEFAULT_wxUSE_OSX_COCOA
=0
3839 DEFAULT_wxUSE_OSX_IPHONE
=0
3840 DEFAULT_wxUSE_MICROWIN
=0
3841 DEFAULT_wxUSE_MOTIF
=0
3847 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3848 DEFAULT_DEFAULT_wxUSE_GTK
=0
3849 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3850 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3851 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3852 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3853 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3854 DEFAULT_DEFAULT_wxUSE_MSW
=0
3855 DEFAULT_DEFAULT_wxUSE_PM
=0
3856 DEFAULT_DEFAULT_wxUSE_X11
=0
3857 DEFAULT_DEFAULT_wxUSE_DFB
=0
3861 DYLIB_RPATH_INSTALL
=
3862 DYLIB_RPATH_POSTLINK
=
3864 DEFAULT_STD_FLAG
=yes
3869 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3870 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3871 $as_echo "#define __HPUX__ 1" >>confdefs.h
3874 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3878 $as_echo "#define __LINUX__ 1" >>confdefs.h
3881 if test "x$TMP" = "xalpha"; then
3883 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3886 DEFAULT_DEFAULT_wxUSE_GTK
=1
3888 *-*-gnu* | *-*-k*bsd
*-gnu )
3891 if test "x$TMP" = "xalpha"; then
3893 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3896 DEFAULT_DEFAULT_wxUSE_GTK
=1
3898 *-*-irix5* | *-*-irix6* )
3901 $as_echo "#define __SGI__ 1" >>confdefs.h
3903 $as_echo "#define __SVR4__ 1" >>confdefs.h
3905 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3909 $as_echo "#define __QNX__ 1" >>confdefs.h
3911 DEFAULT_DEFAULT_wxUSE_X11
=1
3917 $as_echo "#define __SUN__ 1" >>confdefs.h
3919 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3921 $as_echo "#define __SVR4__ 1" >>confdefs.h
3923 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3924 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3930 $as_echo "#define __SUN__ 1" >>confdefs.h
3932 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3934 $as_echo "#define __BSD__ 1" >>confdefs.h
3936 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3941 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3943 $as_echo "#define __BSD__ 1" >>confdefs.h
3945 DEFAULT_DEFAULT_wxUSE_GTK
=1
3947 *-*-openbsd*|*-*-mirbsd*)
3950 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3952 $as_echo "#define __BSD__ 1" >>confdefs.h
3954 DEFAULT_DEFAULT_wxUSE_GTK
=1
3959 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3961 $as_echo "#define __BSD__ 1" >>confdefs.h
3963 DEFAULT_DEFAULT_wxUSE_GTK
=1
3964 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3966 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3971 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3973 $as_echo "#define __OSF__ 1" >>confdefs.h
3975 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3976 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3981 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3983 $as_echo "#define __SVR4__ 1" >>confdefs.h
3985 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3990 $as_echo "#define __SYSV__ 1" >>confdefs.h
3992 $as_echo "#define __SVR4__ 1" >>confdefs.h
3994 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4000 $as_echo "#define __AIX__ 1" >>confdefs.h
4002 $as_echo "#define __SYSV__ 1" >>confdefs.h
4004 $as_echo "#define __SVR4__ 1" >>confdefs.h
4006 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4013 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4017 *-*-cygwin* | *-*-mingw32* )
4019 DEFAULT_DEFAULT_wxUSE_MSW
=1
4025 $as_echo "#define __DOS__ 1" >>confdefs.h
4030 *-pc-os2_emx | *-pc-os2-emx )
4031 $as_echo "#define __EMX__ 1" >>confdefs.h
4034 $as_echo "#define __OS2__ 1" >>confdefs.h
4037 DEFAULT_DEFAULT_wxUSE_PM
=1
4039 LDFLAGS
="$LDFLAGS -Zcrtdll"
4040 ac_executable_extensions
=".exe"
4041 export ac_executable_extensions
4045 for ac_dir
in $PATH; do
4047 if test -z "$ac_TEMP_PATH"; then
4048 ac_TEMP_PATH
="$ac_dir"
4050 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4053 export PATH
="$ac_TEMP_PATH"
4061 $as_echo "#define __BSD__ 1" >>confdefs.h
4063 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4065 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4071 $as_echo "#define __BSD__ 1" >>confdefs.h
4073 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4075 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4077 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
4082 $as_echo "#define __BEOS__ 1" >>confdefs.h
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4088 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4090 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4092 DEFAULT_DEFAULT_wxUSE_X11
=1
4093 DEFAULT_wxUSE_SHARED
=no
4098 DEFAULT_wxUSE_ALL_FEATURES
=yes
4100 DEFAULT_wxUSE_STD_CONTAINERS
=no
4101 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4102 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4104 DEFAULT_wxUSE_DMALLOC
=no
4105 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4106 DEFAULT_wxUSE_LIBHILDON
=no
4107 DEFAULT_wxUSE_LIBHILDON2
=no
4108 DEFAULT_wxUSE_LIBMSPACK
=no
4109 DEFAULT_wxUSE_LIBSDL
=no
4111 DEFAULT_wxUSE_ACCESSIBILITY
=no
4112 DEFAULT_wxUSE_IPV6
=no
4113 DEFAULT_wxUSE_GSTREAMER8
=no
4114 DEFAULT_wxUSE_UNICODE_UTF8
=no
4115 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4117 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4118 DEFAULT_wxUSE_OPENGL
=auto
4119 DEFAULT_wxUSE_MEDIACTRL
=auto
4120 DEFAULT_wxUSE_COMPILER_TLS
=auto
4121 DEFAULT_wxUSE_HOTKEY
=auto
4122 DEFAULT_wxUSE_METAFILE
=auto
4124 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4125 DEFAULT_wxUSE_MAC_ARCH
=no
4127 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4129 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4135 enablestring
=disable
4137 if test -z "$defaultval"; then
4138 if test x
"$enablestring" = xdisable
; then
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4146 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4147 # Check whether --enable-gui was given.
4148 if test "${enable_gui+set}" = set; then :
4149 enableval
=$enable_gui;
4150 if test "$enableval" = yes; then
4151 wx_cv_use_gui
='wxUSE_GUI=yes'
4153 wx_cv_use_gui
='wxUSE_GUI=no'
4158 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4163 eval "$wx_cv_use_gui"
4165 if test x"$enablestring" = xdisable; then
4166 if test $wxUSE_GUI = no; then
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4176 $as_echo "$result" >&6; }
4181 if test -z "$defaultval"; then
4182 if test x"$enablestring" = xdisable; then
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4190 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4191 # Check whether --enable-monolithic was given.
4192 if test "${enable_monolithic+set}" = set; then :
4193 enableval=$enable_monolithic;
4194 if test "$enableval" = yes; then
4195 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4197 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4202 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4207 eval "$wx_cv_use_monolithic"
4209 if test x"$enablestring" = xdisable; then
4210 if test $wxUSE_MONOLITHIC = no; then
4216 result=$wxUSE_MONOLITHIC
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4220 $as_echo "$result" >&6; }
4225 if test -z "$defaultval"; then
4226 if test x"$enablestring" = xdisable; then
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4234 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4235 # Check whether --enable-plugins was given.
4236 if test "${enable_plugins+set}" = set; then :
4237 enableval=$enable_plugins;
4238 if test "$enableval" = yes; then
4239 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4241 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4246 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4251 eval "$wx_cv_use_plugins"
4253 if test x
"$enablestring" = xdisable
; then
4254 if test $wxUSE_PLUGINS = no
; then
4260 result
=$wxUSE_PLUGINS
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4264 $as_echo "$result" >&6; }
4268 defaultval
=$wxUSE_ALL_FEATURES
4269 if test -z "$defaultval"; then
4270 if test x
"$withstring" = xwithout
; then
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4277 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4279 # Check whether --with-subdirs was given.
4280 if test "${with_subdirs+set}" = set; then :
4281 withval
=$with_subdirs;
4282 if test "$withval" = yes; then
4283 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4285 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4290 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4295 eval "$wx_cv_use_subdirs"
4297 if test x"$withstring" = xwithout; then
4298 if test $wxWITH_SUBDIRS = yes; then
4304 result=$wxWITH_SUBDIRS
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4308 $as_echo "$result" >&6; }
4311 # Check whether --with-flavour was given.
4312 if test "${with_flavour+set}" = set; then :
4313 withval=$with_flavour; WX_FLAVOUR="$withval"
4319 if test -z "$defaultval"; then
4320 if test x"$enablestring" = xdisable; then
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4328 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4329 # Check whether --enable-official_build was given.
4330 if test "${enable_official_build+set}" = set; then :
4331 enableval=$enable_official_build;
4332 if test "$enableval" = yes; then
4333 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4335 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4340 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4345 eval "$wx_cv_use_official_build"
4347 if test x"$enablestring" = xdisable; then
4348 if test $wxUSE_OFFICIAL_BUILD = no; then
4354 result=$wxUSE_OFFICIAL_BUILD
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4358 $as_echo "$result" >&6; }
4360 # Check whether --enable-vendor was given.
4361 if test "${enable_vendor+set}" = set; then :
4362 enableval=$enable_vendor; VENDOR="$enableval"
4365 if test "x
$VENDOR" = "x
"; then
4370 enablestring=disable
4372 if test -z "$defaultval"; then
4373 if test x"$enablestring" = xdisable; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4381 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4382 # Check whether --enable-all-features was given.
4383 if test "${enable_all_features+set}" = set; then :
4384 enableval=$enable_all_features;
4385 if test "$enableval" = yes; then
4386 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4388 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4393 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4398 eval "$wx_cv_use_all_features"
4400 if test x
"$enablestring" = xdisable
; then
4401 if test $wxUSE_ALL_FEATURES = no
; then
4407 result
=$wxUSE_ALL_FEATURES
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4411 $as_echo "$result" >&6; }
4414 if test "$wxUSE_ALL_FEATURES" = "no"; then
4415 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4416 DEFAULT_wxUSE_MEDIACTRL
=no
4420 if test "$wxUSE_GUI" = "yes"; then
4425 if test -z "$defaultval"; then
4426 if test x
"$enablestring" = xdisable
; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4434 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4435 # Check whether --enable-universal was given.
4436 if test "${enable_universal+set}" = set; then :
4437 enableval
=$enable_universal;
4438 if test "$enableval" = yes; then
4439 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4441 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4446 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4451 eval "$wx_cv_use_universal"
4453 if test x"$enablestring" = xdisable; then
4454 if test $wxUSE_UNIVERSAL = no; then
4460 result=$wxUSE_UNIVERSAL
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4464 $as_echo "$result" >&6; }
4466 if test "$wxUSE_UNIVERSAL" = "yes"; then
4468 # Check whether --with-themes was given.
4469 if test "${with_themes+set}" = set; then :
4470 withval=$with_themes; wxUNIV_THEMES="$withval"
4476 # Check whether --with-gtk was given.
4477 if test "${with_gtk+set}" = set; then :
4478 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4482 # Check whether --with-motif was given.
4483 if test "${with_motif+set}" = set; then :
4484 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4488 # Check whether --with-osx_carbon was given.
4489 if test "${with_osx_carbon+set}" = set; then :
4490 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4494 # Check whether --with-osx_cocoa was given.
4495 if test "${with_osx_cocoa+set}" = set; then :
4496 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4500 # Check whether --with-osx_iphone was given.
4501 if test "${with_osx_iphone+set}" = set; then :
4502 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4506 # Check whether --with-osx was given.
4507 if test "${with_osx+set}" = set; then :
4508 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4512 # Check whether --with-carbon was given.
4513 if test "${with_carbon+set}" = set; then :
4514 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4518 # Check whether --with-cocoa was given.
4519 if test "${with_cocoa+set}" = set; then :
4520 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4524 # Check whether --with-iphone was given.
4525 if test "${with_iphone+set}" = set; then :
4526 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4530 # Check whether --with-mac was given.
4531 if test "${with_mac+set}" = set; then :
4532 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4536 # Check whether --with-old_cocoa was given.
4537 if test "${with_old_cocoa+set}" = set; then :
4538 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4542 # Check whether --with-wine was given.
4543 if test "${with_wine+set}" = set; then :
4544 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4548 # Check whether --with-msw was given.
4549 if test "${with_msw+set}" = set; then :
4550 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4554 # Check whether --with-pm was given.
4555 if test "${with_pm+set}" = set; then :
4556 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4560 # Check whether --with-directfb was given.
4561 if test "${with_directfb+set}" = set; then :
4562 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4566 # Check whether --with-microwin was given.
4567 if test "${with_microwin+set}" = set; then :
4568 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4572 # Check whether --with-x11 was given.
4573 if test "${with_x11+set}" = set; then :
4574 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4580 if test -z "$defaultval"; then
4581 if test x"$enablestring" = xdisable; then
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4589 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4590 # Check whether --enable-nanox was given.
4591 if test "${enable_nanox+set}" = set; then :
4592 enableval=$enable_nanox;
4593 if test "$enableval" = yes; then
4594 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4596 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4601 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4606 eval "$wx_cv_use_nanox"
4608 if test x"$enablestring" = xdisable; then
4609 if test $wxUSE_NANOX = no; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4619 $as_echo "$result" >&6; }
4624 if test -z "$defaultval"; then
4625 if test x"$enablestring" = xdisable; then
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4633 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4634 # Check whether --enable-gpe was given.
4635 if test "${enable_gpe+set}" = set; then :
4636 enableval=$enable_gpe;
4637 if test "$enableval" = yes; then
4638 wx_cv_use_gpe='wxUSE_GPE=yes'
4640 wx_cv_use_gpe='wxUSE_GPE=no'
4645 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4650 eval "$wx_cv_use_gpe"
4652 if test x
"$enablestring" = xdisable
; then
4653 if test $wxUSE_GPE = no
; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4663 $as_echo "$result" >&6; }
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4668 $as_echo_n "checking for toolkit... " >&6; }
4672 # In Wine, we need to default to MSW, not GTK or MOTIF
4673 if test "$wxUSE_WINE" = "yes"; then
4674 DEFAULT_DEFAULT_wxUSE_GTK
=0
4675 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4676 DEFAULT_DEFAULT_wxUSE_MSW
=1
4683 if test "$wxUSE_GUI" = "yes"; then
4685 if test "$USE_BEOS" = 1; then
4686 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4689 if test "$TOOLKIT_GIVEN" = 1; then
4690 for toolkit
in $ALL_TOOLKITS; do
4692 eval "value=\$${var}"
4693 if test "x$value" = "xno"; then
4695 elif test "x$value" != "x"; then
4699 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4700 eval "wx${toolkit}_VERSION=$value"
4704 for toolkit
in $ALL_TOOLKITS; do
4705 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4706 eval "wxUSE_$toolkit=\$${var}"
4710 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4711 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4712 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4715 *-pc-os2_emx | *-pc-os2-emx )
4716 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4719 case "$NUM_TOOLKITS" in
4723 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4726 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4729 for toolkit
in $ALL_TOOLKITS; do
4731 eval "value=\$${var}"
4732 if test "$value" = 1; then
4733 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4735 $as_echo "$toolkit_echo" >&6; }
4739 if test "x$host_alias" != "x"; then
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4741 $as_echo "base ($host_alias hosted) only" >&6; }
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4744 $as_echo "base only" >&6; }
4749 if test "$wxUSE_OSX_CARBON" = 1 \
4750 -o "$wxUSE_OSX_COCOA" = 1 \
4751 -o "$wxUSE_OSX_IPHONE" = 1; then
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4758 $as_echo_n "checking for --with-libpng... " >&6; }
4760 # Check whether --with-libpng was given.
4761 if test "${with_libpng+set}" = set; then :
4762 withval
=$with_libpng;
4763 if test "$withval" = yes; then
4764 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4765 elif test "$withval" = no
; then
4766 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4767 elif test "$withval" = sys
; then
4768 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4769 elif test "$withval" = builtin; then
4770 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4772 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4777 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4782 eval "$wx_cv_use_libpng"
4784 if test "$wxUSE_LIBPNG" = yes; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4786 $as_echo "yes" >&6; }
4787 elif test "$wxUSE_LIBPNG" = no; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4790 elif test "$wxUSE_LIBPNG" = sys; then
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4792 $as_echo "system version" >&6; }
4793 elif test "$wxUSE_LIBPNG" = builtin; then
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4795 $as_echo "builtin version" >&6; }
4797 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4802 $as_echo_n "checking for --with-libjpeg... " >&6; }
4804 # Check whether --with-libjpeg was given.
4805 if test "${with_libjpeg+set}" = set; then :
4806 withval=$with_libjpeg;
4807 if test "$withval" = yes; then
4808 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4809 elif test "$withval" = no; then
4810 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4811 elif test "$withval" = sys; then
4812 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4813 elif test "$withval" = builtin; then
4814 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4816 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4821 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4826 eval "$wx_cv_use_libjpeg"
4828 if test "$wxUSE_LIBJPEG" = yes; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4830 $as_echo "yes" >&6; }
4831 elif test "$wxUSE_LIBJPEG" = no; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4833 $as_echo "no
" >&6; }
4834 elif test "$wxUSE_LIBJPEG" = sys; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4836 $as_echo "system version
" >&6; }
4837 elif test "$wxUSE_LIBJPEG" = builtin; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4839 $as_echo "builtin version
" >&6; }
4841 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4846 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4848 # Check whether --with-libtiff was given.
4849 if test "${with_libtiff+set}" = set; then :
4850 withval=$with_libtiff;
4851 if test "$withval" = yes; then
4852 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4853 elif test "$withval" = no; then
4854 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4855 elif test "$withval" = sys; then
4856 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4857 elif test "$withval" = builtin; then
4858 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4860 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4865 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4870 eval "$wx_cv_use_libtiff"
4872 if test "$wxUSE_LIBTIFF" = yes; then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4874 $as_echo "yes" >&6; }
4875 elif test "$wxUSE_LIBTIFF" = no
; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877 $as_echo "no" >&6; }
4878 elif test "$wxUSE_LIBTIFF" = sys
; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4880 $as_echo "system version" >&6; }
4881 elif test "$wxUSE_LIBTIFF" = builtin; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4883 $as_echo "builtin version" >&6; }
4885 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4890 $as_echo_n "checking for --with-libxpm... " >&6; }
4892 # Check whether --with-libxpm was given.
4893 if test "${with_libxpm+set}" = set; then :
4894 withval
=$with_libxpm;
4895 if test "$withval" = yes; then
4896 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
4897 elif test "$withval" = no
; then
4898 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
4899 elif test "$withval" = sys
; then
4900 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
4901 elif test "$withval" = builtin; then
4902 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
4904 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4909 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4914 eval "$wx_cv_use_libxpm"
4916 if test "$wxUSE_LIBXPM" = yes; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4918 $as_echo "yes" >&6; }
4919 elif test "$wxUSE_LIBXPM" = no; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4922 elif test "$wxUSE_LIBXPM" = sys; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4924 $as_echo "system version" >&6; }
4925 elif test "$wxUSE_LIBXPM" = builtin; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4927 $as_echo "builtin version" >&6; }
4929 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4934 defaultval=$wxUSE_ALL_FEATURES
4935 if test -z "$defaultval"; then
4936 if test x"$withstring" = xwithout; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4943 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4945 # Check whether --with-libiconv was given.
4946 if test "${with_libiconv+set}" = set; then :
4947 withval=$with_libiconv;
4948 if test "$withval" = yes; then
4949 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
4951 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
4956 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4961 eval "$wx_cv_use_libiconv"
4963 if test x"$withstring" = xwithout; then
4964 if test $wxUSE_LIBICONV = yes; then
4970 result=$wxUSE_LIBICONV
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4974 $as_echo "$result" >&6; }
4978 defaultval=$wxUSE_ALL_FEATURES
4979 if test -z "$defaultval"; then
4980 if test x"$withstring" = xwithout; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libmspack" >&5
4987 $as_echo_n "checking
for --${withstring:-with}-libmspack...
" >&6; }
4989 # Check whether --with-libmspack was given.
4990 if test "${with_libmspack+set}" = set; then :
4991 withval=$with_libmspack;
4992 if test "$withval" = yes; then
4993 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
4995 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5000 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5005 eval "$wx_cv_use_libmspack"
5007 if test x
"$withstring" = xwithout
; then
5008 if test $wxUSE_LIBMSPACK = yes; then
5014 result
=$wxUSE_LIBMSPACK
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5018 $as_echo "$result" >&6; }
5022 defaultval
=$wxUSE_ALL_FEATURES
5023 if test -z "$defaultval"; then
5024 if test x
"$withstring" = xwithout
; then
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5031 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5033 # Check whether --with-gtkprint was given.
5034 if test "${with_gtkprint+set}" = set; then :
5035 withval
=$with_gtkprint;
5036 if test "$withval" = yes; then
5037 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
5039 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
5044 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5049 eval "$wx_cv_use_gtkprint"
5051 if test x"$withstring" = xwithout; then
5052 if test $wxUSE_GTKPRINT = yes; then
5058 result=$wxUSE_GTKPRINT
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5062 $as_echo "$result" >&6; }
5066 defaultval=$wxUSE_ALL_FEATURES
5067 if test -z "$defaultval"; then
5068 if test x"$withstring" = xwithout; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5075 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5077 # Check whether --with-gnomeprint was given.
5078 if test "${with_gnomeprint+set}" = set; then :
5079 withval=$with_gnomeprint;
5080 if test "$withval" = yes; then
5081 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
5083 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
5088 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5093 eval "$wx_cv_use_gnomeprint"
5095 if test x"$withstring" = xwithout; then
5096 if test $wxUSE_LIBGNOMEPRINT = yes; then
5102 result=$wxUSE_LIBGNOMEPRINT
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5106 $as_echo "$result" >&6; }
5110 defaultval=$wxUSE_ALL_FEATURES
5111 if test -z "$defaultval"; then
5112 if test x"$withstring" = xwithout; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gnomevfs" >&5
5119 $as_echo_n "checking
for --${withstring:-with}-gnomevfs...
" >&6; }
5121 # Check whether --with-gnomevfs was given.
5122 if test "${with_gnomevfs+set}" = set; then :
5123 withval=$with_gnomevfs;
5124 if test "$withval" = yes; then
5125 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5127 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5132 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5137 eval "$wx_cv_use_gnomevfs"
5139 if test x
"$withstring" = xwithout
; then
5140 if test $wxUSE_LIBGNOMEVFS = yes; then
5146 result
=$wxUSE_LIBGNOMEVFS
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5150 $as_echo "$result" >&6; }
5154 defaultval
=$wxUSE_ALL_FEATURES
5155 if test -z "$defaultval"; then
5156 if test x
"$withstring" = xwithout
; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5163 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5165 # Check whether --with-hildon was given.
5166 if test "${with_hildon+set}" = set; then :
5167 withval
=$with_hildon;
5168 if test "$withval" = yes; then
5169 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
5171 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
5176 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5181 eval "$wx_cv_use_hildon"
5183 if test x"$withstring" = xwithout; then
5184 if test $wxUSE_LIBHILDON = yes; then
5190 result=$wxUSE_LIBHILDON
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5194 $as_echo "$result" >&6; }
5198 defaultval=$wxUSE_ALL_FEATURES
5199 if test -z "$defaultval"; then
5200 if test x"$withstring" = xwithout; then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5207 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5209 # Check whether --with-opengl was given.
5210 if test "${with_opengl+set}" = set; then :
5211 withval=$with_opengl;
5212 if test "$withval" = yes; then
5213 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
5215 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
5220 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5225 eval "$wx_cv_use_opengl"
5227 if test x"$withstring" = xwithout; then
5228 if test $wxUSE_OPENGL = yes; then
5234 result=$wxUSE_OPENGL
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5238 $as_echo "$result" >&6; }
5245 defaultval=$wxUSE_ALL_FEATURES
5246 if test -z "$defaultval"; then
5247 if test x"$withstring" = xwithout; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-dmalloc" >&5
5254 $as_echo_n "checking
for --${withstring:-with}-dmalloc...
" >&6; }
5256 # Check whether --with-dmalloc was given.
5257 if test "${with_dmalloc+set}" = set; then :
5258 withval=$with_dmalloc;
5259 if test "$withval" = yes; then
5260 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5262 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5267 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5272 eval "$wx_cv_use_dmalloc"
5274 if test x
"$withstring" = xwithout
; then
5275 if test $wxUSE_DMALLOC = yes; then
5281 result
=$wxUSE_DMALLOC
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5285 $as_echo "$result" >&6; }
5289 defaultval
=$wxUSE_ALL_FEATURES
5290 if test -z "$defaultval"; then
5291 if test x
"$withstring" = xwithout
; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5298 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5300 # Check whether --with-sdl was given.
5301 if test "${with_sdl+set}" = set; then :
5303 if test "$withval" = yes; then
5304 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
5306 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
5311 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5316 eval "$wx_cv_use_sdl"
5318 if test x"$withstring" = xwithout; then
5319 if test $wxUSE_LIBSDL = yes; then
5325 result=$wxUSE_LIBSDL
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5329 $as_echo "$result" >&6; }
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5333 $as_echo_n "checking for --with-regex... " >&6; }
5335 # Check whether --with-regex was given.
5336 if test "${with_regex+set}" = set; then :
5337 withval=$with_regex;
5338 if test "$withval" = yes; then
5339 wx_cv_use_regex='wxUSE_REGEX
=yes'
5340 elif test "$withval" = no; then
5341 wx_cv_use_regex='wxUSE_REGEX
=no
'
5342 elif test "$withval" = sys; then
5343 wx_cv_use_regex='wxUSE_REGEX
=sys
'
5344 elif test "$withval" = builtin; then
5345 wx_cv_use_regex='wxUSE_REGEX
=builtin'
5347 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5352 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5357 eval "$wx_cv_use_regex"
5359 if test "$wxUSE_REGEX" = yes; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5361 $as_echo "yes" >&6; }
5362 elif test "$wxUSE_REGEX" = no; then
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5364 $as_echo "no
" >&6; }
5365 elif test "$wxUSE_REGEX" = sys; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5367 $as_echo "system version
" >&6; }
5368 elif test "$wxUSE_REGEX" = builtin; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5370 $as_echo "builtin version
" >&6; }
5372 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-zlib" >&5
5377 $as_echo_n "checking
for --with-zlib...
" >&6; }
5379 # Check whether --with-zlib was given.
5380 if test "${with_zlib+set}" = set; then :
5382 if test "$withval" = yes; then
5383 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5384 elif test "$withval" = no; then
5385 wx_cv_use_zlib='wxUSE_ZLIB=no'
5386 elif test "$withval" = sys; then
5387 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5388 elif test "$withval" = builtin; then
5389 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5391 as_fn_error $? "Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5396 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5401 eval "$wx_cv_use_zlib"
5403 if test "$wxUSE_ZLIB" = yes; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5405 $as_echo "yes" >&6; }
5406 elif test "$wxUSE_ZLIB" = no
; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5409 elif test "$wxUSE_ZLIB" = sys
; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5411 $as_echo "system version" >&6; }
5412 elif test "$wxUSE_ZLIB" = builtin; then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5414 $as_echo "builtin version" >&6; }
5416 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5421 $as_echo_n "checking for --with-expat... " >&6; }
5423 # Check whether --with-expat was given.
5424 if test "${with_expat+set}" = set; then :
5425 withval
=$with_expat;
5426 if test "$withval" = yes; then
5427 wx_cv_use_expat
='wxUSE_EXPAT=yes'
5428 elif test "$withval" = no
; then
5429 wx_cv_use_expat
='wxUSE_EXPAT=no'
5430 elif test "$withval" = sys
; then
5431 wx_cv_use_expat
='wxUSE_EXPAT=sys'
5432 elif test "$withval" = builtin; then
5433 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
5435 as_fn_error $?
"Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5440 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5445 eval "$wx_cv_use_expat"
5447 if test "$wxUSE_EXPAT" = yes; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5449 $as_echo "yes" >&6; }
5450 elif test "$wxUSE_EXPAT" = no; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5453 elif test "$wxUSE_EXPAT" = sys; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5455 $as_echo "system version" >&6; }
5456 elif test "$wxUSE_EXPAT" = builtin; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5458 $as_echo "builtin version" >&6; }
5460 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5465 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5467 # Check whether --with-macosx-sdk was given.
5468 if test "${with_macosx_sdk+set}" = set; then :
5469 withval=$with_macosx_sdk;
5470 wxUSE_MACOSX_SDK=$withval
5471 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5476 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5479 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5481 # Check whether --with-macosx-version-min was given.
5482 if test "${with_macosx_version_min+set}" = set; then :
5483 withval=$with_macosx_version_min;
5484 wxUSE_MACOSX_VERSION_MIN=$withval
5485 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5490 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5494 $as_echo_n "checking for --enable-debug... " >&6; }
5495 # Check whether --enable-debug was given.
5496 if test "${enable_debug+set}" = set; then :
5497 enableval=$enable_debug;
5498 if test "$enableval" = yes; then
5500 elif test "$enableval" = no; then
5502 elif test "$enableval" = max; then
5504 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5506 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5515 $as_echo "${enable_debug-default}" >&6; }
5517 case "$wxUSE_DEBUG" in
5519 DEFAULT_wxUSE_DEBUG_FLAG=yes
5520 DEFAULT_wxUSE_DEBUG_INFO=yes
5522 DEFAULT_wxUSE_OPTIMISE=no
5526 DEFAULT_wxUSE_DEBUG_FLAG=no
5527 DEFAULT_wxUSE_DEBUG_INFO=no
5531 DEFAULT_wxUSE_DEBUG_FLAG=yes
5532 DEFAULT_wxUSE_DEBUG_INFO=no
5537 enablestring=disable
5539 if test -z "$defaultval"; then
5540 if test x"$enablestring" = xdisable; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5548 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5549 # Check whether --enable-debug_flag was given.
5550 if test "${enable_debug_flag+set}" = set; then :
5551 enableval=$enable_debug_flag;
5552 if test "$enableval" = yes; then
5553 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
5555 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
5560 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5565 eval "$wx_cv_use_debug_flag"
5567 if test x"$enablestring" = xdisable; then
5568 if test $wxUSE_DEBUG_FLAG = no; then
5574 result=$wxUSE_DEBUG_FLAG
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5578 $as_echo "$result" >&6; }
5583 if test -z "$defaultval"; then
5584 if test x"$enablestring" = xdisable; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_info" >&5
5592 $as_echo_n "checking
for --${enablestring:-enable}-debug_info...
" >&6; }
5593 # Check whether --enable-debug_info was given.
5594 if test "${enable_debug_info+set}" = set; then :
5595 enableval=$enable_debug_info;
5596 if test "$enableval" = yes; then
5597 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5599 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5604 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5609 eval "$wx_cv_use_debug_info"
5611 if test x
"$enablestring" = xdisable
; then
5612 if test $wxUSE_DEBUG_INFO = no
; then
5618 result
=$wxUSE_DEBUG_INFO
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5622 $as_echo "$result" >&6; }
5629 if test -z "$defaultval"; then
5630 if test x
"$enablestring" = xdisable
; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5638 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5639 # Check whether --enable-debug_gdb was given.
5640 if test "${enable_debug_gdb+set}" = set; then :
5641 enableval
=$enable_debug_gdb;
5642 if test "$enableval" = yes; then
5643 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
5645 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
5650 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5655 eval "$wx_cv_use_debug_gdb"
5657 if test x"$enablestring" = xdisable; then
5658 if test $wxUSE_DEBUG_GDB = no; then
5664 result=$wxUSE_DEBUG_GDB
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5668 $as_echo "$result" >&6; }
5673 if test -z "$defaultval"; then
5674 if test x"$enablestring" = xdisable; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5682 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5683 # Check whether --enable-debug_cntxt was given.
5684 if test "${enable_debug_cntxt+set}" = set; then :
5685 enableval=$enable_debug_cntxt;
5686 if test "$enableval" = yes; then
5687 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
5689 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
5694 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5699 eval "$wx_cv_use_debug_cntxt"
5701 if test x"$enablestring" = xdisable; then
5702 if test $wxUSE_DEBUG_CONTEXT = no; then
5708 result=$wxUSE_DEBUG_CONTEXT
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5712 $as_echo "$result" >&6; }
5717 if test -z "$defaultval"; then
5718 if test x"$enablestring" = xdisable; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mem_tracing" >&5
5726 $as_echo_n "checking
for --${enablestring:-enable}-mem_tracing...
" >&6; }
5727 # Check whether --enable-mem_tracing was given.
5728 if test "${enable_mem_tracing+set}" = set; then :
5729 enableval=$enable_mem_tracing;
5730 if test "$enableval" = yes; then
5731 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5733 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5738 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5743 eval "$wx_cv_use_mem_tracing"
5745 if test x
"$enablestring" = xdisable
; then
5746 if test $wxUSE_MEM_TRACING = no
; then
5752 result
=$wxUSE_MEM_TRACING
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5756 $as_echo "$result" >&6; }
5761 enablestring
=disable
5763 if test -z "$defaultval"; then
5764 if test x
"$enablestring" = xdisable
; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5772 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5773 # Check whether --enable-shared was given.
5774 if test "${enable_shared+set}" = set; then :
5775 enableval
=$enable_shared;
5776 if test "$enableval" = yes; then
5777 wx_cv_use_shared
='wxUSE_SHARED=yes'
5779 wx_cv_use_shared
='wxUSE_SHARED=no'
5784 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5789 eval "$wx_cv_use_shared"
5791 if test x"$enablestring" = xdisable; then
5792 if test $wxUSE_SHARED = no; then
5798 result=$wxUSE_SHARED
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5802 $as_echo "$result" >&6; }
5807 if test -z "$defaultval"; then
5808 if test x"$enablestring" = xdisable; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5816 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5817 # Check whether --enable-stl was given.
5818 if test "${enable_stl+set}" = set; then :
5819 enableval=$enable_stl;
5820 if test "$enableval" = yes; then
5821 wx_cv_use_stl='wxUSE_STL
=yes'
5823 wx_cv_use_stl='wxUSE_STL
=no
'
5828 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
5833 eval "$wx_cv_use_stl"
5835 if test x"$enablestring" = xdisable; then
5836 if test $wxUSE_STL = no; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5846 $as_echo "$result" >&6; }
5848 if test "$wxUSE_STL" = "yes"; then
5849 DEFAULT_wxUSE_STD_CONTAINERS=yes
5850 DEFAULT_wxUSE_STD_IOSTREAM=yes
5851 DEFAULT_wxUSE_STD_STRING=yes
5856 if test -z "$defaultval"; then
5857 if test x"$enablestring" = xdisable; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_containers" >&5
5865 $as_echo_n "checking
for --${enablestring:-enable}-std_containers...
" >&6; }
5866 # Check whether --enable-std_containers was given.
5867 if test "${enable_std_containers+set}" = set; then :
5868 enableval=$enable_std_containers;
5869 if test "$enableval" = yes; then
5870 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5872 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5877 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5882 eval "$wx_cv_use_std_containers"
5884 if test x
"$enablestring" = xdisable
; then
5885 if test $wxUSE_STD_CONTAINERS = no
; then
5891 result
=$wxUSE_STD_CONTAINERS
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5895 $as_echo "$result" >&6; }
5900 if test -z "$defaultval"; then
5901 if test x
"$enablestring" = xdisable
; then
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5909 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5910 # Check whether --enable-std_iostreams was given.
5911 if test "${enable_std_iostreams+set}" = set; then :
5912 enableval
=$enable_std_iostreams;
5913 if test "$enableval" = yes; then
5914 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5916 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5921 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5926 eval "$wx_cv_use_std_iostreams"
5928 if test x"$enablestring" = xdisable; then
5929 if test $wxUSE_STD_IOSTREAM = no; then
5935 result=$wxUSE_STD_IOSTREAM
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5939 $as_echo "$result" >&6; }
5944 if test -z "$defaultval"; then
5945 if test x"$enablestring" = xdisable; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5953 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5954 # Check whether --enable-std_string was given.
5955 if test "${enable_std_string+set}" = set; then :
5956 enableval=$enable_std_string;
5957 if test "$enableval" = yes; then
5958 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
5960 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
5965 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
5970 eval "$wx_cv_use_std_string"
5972 if test x"$enablestring" = xdisable; then
5973 if test $wxUSE_STD_STRING = no; then
5979 result=$wxUSE_STD_STRING
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5983 $as_echo "$result" >&6; }
5988 if test -z "$defaultval"; then
5989 if test x"$enablestring" = xdisable; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
5997 $as_echo_n "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
" >&6; }
5998 # Check whether --enable-std_string_conv_in_wxstring was given.
5999 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6000 enableval=$enable_std_string_conv_in_wxstring;
6001 if test "$enableval" = yes; then
6002 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6004 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6009 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6014 eval "$wx_cv_use_std_string_conv_in_wxstring"
6016 if test x
"$enablestring" = xdisable
; then
6017 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
6023 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6027 $as_echo "$result" >&6; }
6030 enablestring
=disable
6032 if test -z "$defaultval"; then
6033 if test x
"$enablestring" = xdisable
; then
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6041 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6042 # Check whether --enable-unicode was given.
6043 if test "${enable_unicode+set}" = set; then :
6044 enableval
=$enable_unicode;
6045 if test "$enableval" = yes; then
6046 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
6048 wx_cv_use_unicode
='wxUSE_UNICODE=no'
6053 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6058 eval "$wx_cv_use_unicode"
6060 if test x"$enablestring" = xdisable; then
6061 if test $wxUSE_UNICODE = no; then
6067 result=$wxUSE_UNICODE
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6071 $as_echo "$result" >&6; }
6076 if test -z "$defaultval"; then
6077 if test x"$enablestring" = xdisable; then
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6085 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6086 # Check whether --enable-mslu was given.
6087 if test "${enable_mslu+set}" = set; then :
6088 enableval=$enable_mslu;
6089 if test "$enableval" = yes; then
6090 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
6092 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
6097 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6102 eval "$wx_cv_use_mslu"
6104 if test x"$enablestring" = xdisable; then
6105 if test $wxUSE_UNICODE_MSLU = no; then
6111 result=$wxUSE_UNICODE_MSLU
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6115 $as_echo "$result" >&6; }
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8" >&5
6120 $as_echo_n "checking
for --${enablestring:-enable}-utf8...
" >&6; }
6121 # Check whether --enable-utf8 was given.
6122 if test "${enable_utf8+set}" = set; then :
6123 enableval=$enable_utf8;
6124 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
6128 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6133 eval "$wx_cv_use_utf8"
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_UNICODE_UTF8" >&5
6136 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6141 if test -z "$defaultval"; then
6142 if test x"$enablestring" = xdisable; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8only" >&5
6150 $as_echo_n "checking
for --${enablestring:-enable}-utf8only...
" >&6; }
6151 # Check whether --enable-utf8only was given.
6152 if test "${enable_utf8only+set}" = set; then :
6153 enableval=$enable_utf8only;
6154 if test "$enableval" = yes; then
6155 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6157 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6162 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6167 eval "$wx_cv_use_utf8only"
6169 if test x
"$enablestring" = xdisable
; then
6170 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
6176 result
=$wxUSE_UNICODE_UTF8_LOCALE
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6180 $as_echo "$result" >&6; }
6185 if test -z "$defaultval"; then
6186 if test x
"$enablestring" = xdisable
; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6194 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6195 # Check whether --enable-extended_rtti was given.
6196 if test "${enable_extended_rtti+set}" = set; then :
6197 enableval
=$enable_extended_rtti;
6198 if test "$enableval" = yes; then
6199 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
6201 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
6206 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6211 eval "$wx_cv_use_extended_rtti"
6213 if test x"$enablestring" = xdisable; then
6214 if test $wxUSE_EXTENDED_RTTI = no; then
6220 result=$wxUSE_EXTENDED_RTTI
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6224 $as_echo "$result" >&6; }
6226 if test "$USE_OS2" = 1; then
6227 DEFAULT_wxUSE_OMF=no
6231 if test -z "$defaultval"; then
6232 if test x"$enablestring" = xdisable; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6240 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6241 # Check whether --enable-omf was given.
6242 if test "${enable_omf+set}" = set; then :
6243 enableval=$enable_omf;
6244 if test "$enableval" = yes; then
6245 wx_cv_use_omf='wxUSE_OMF
=yes'
6247 wx_cv_use_omf='wxUSE_OMF
=no
'
6252 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6257 eval "$wx_cv_use_omf"
6259 if test x"$enablestring" = xdisable; then
6260 if test $wxUSE_OMF = no; then
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6270 $as_echo "$result" >&6; }
6275 enablestring=disable
6277 if test -z "$defaultval"; then
6278 if test x"$enablestring" = xdisable; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-optimise" >&5
6286 $as_echo_n "checking
for --${enablestring:-enable}-optimise...
" >&6; }
6287 # Check whether --enable-optimise was given.
6288 if test "${enable_optimise+set}" = set; then :
6289 enableval=$enable_optimise;
6290 if test "$enableval" = yes; then
6291 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6293 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6298 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6303 eval "$wx_cv_use_optimise"
6305 if test x
"$enablestring" = xdisable
; then
6306 if test $wxUSE_OPTIMISE = no
; then
6312 result
=$wxUSE_OPTIMISE
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6316 $as_echo "$result" >&6; }
6322 if test -z "$defaultval"; then
6323 if test x
"$enablestring" = xdisable
; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6331 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6332 # Check whether --enable-profile was given.
6333 if test "${enable_profile+set}" = set; then :
6334 enableval
=$enable_profile;
6335 if test "$enableval" = yes; then
6336 wx_cv_use_profile
='wxUSE_PROFILE=yes'
6338 wx_cv_use_profile
='wxUSE_PROFILE=no'
6343 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6348 eval "$wx_cv_use_profile"
6350 if test x"$enablestring" = xdisable; then
6351 if test $wxUSE_PROFILE = no; then
6357 result=$wxUSE_PROFILE
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6361 $as_echo "$result" >&6; }
6366 if test -z "$defaultval"; then
6367 if test x"$enablestring" = xdisable; then
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6375 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6376 # Check whether --enable-no_rtti was given.
6377 if test "${enable_no_rtti+set}" = set; then :
6378 enableval=$enable_no_rtti;
6379 if test "$enableval" = yes; then
6380 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
6382 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
6387 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6392 eval "$wx_cv_use_no_rtti"
6394 if test x"$enablestring" = xdisable; then
6395 if test $wxUSE_NO_RTTI = no; then
6401 result=$wxUSE_NO_RTTI
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6405 $as_echo "$result" >&6; }
6410 if test -z "$defaultval"; then
6411 if test x"$enablestring" = xdisable; then
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_exceptions" >&5
6419 $as_echo_n "checking
for --${enablestring:-enable}-no_exceptions...
" >&6; }
6420 # Check whether --enable-no_exceptions was given.
6421 if test "${enable_no_exceptions+set}" = set; then :
6422 enableval=$enable_no_exceptions;
6423 if test "$enableval" = yes; then
6424 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6426 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6431 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6436 eval "$wx_cv_use_no_exceptions"
6438 if test x
"$enablestring" = xdisable
; then
6439 if test $wxUSE_NO_EXCEPTIONS = no
; then
6445 result
=$wxUSE_NO_EXCEPTIONS
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6449 $as_echo "$result" >&6; }
6454 if test -z "$defaultval"; then
6455 if test x
"$enablestring" = xdisable
; then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6463 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6464 # Check whether --enable-permissive was given.
6465 if test "${enable_permissive+set}" = set; then :
6466 enableval
=$enable_permissive;
6467 if test "$enableval" = yes; then
6468 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
6470 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
6475 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6480 eval "$wx_cv_use_permissive"
6482 if test x"$enablestring" = xdisable; then
6483 if test $wxUSE_PERMISSIVE = no; then
6489 result=$wxUSE_PERMISSIVE
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6493 $as_echo "$result" >&6; }
6498 if test -z "$defaultval"; then
6499 if test x"$enablestring" = xdisable; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6507 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6508 # Check whether --enable-no_deps was given.
6509 if test "${enable_no_deps+set}" = set; then :
6510 enableval=$enable_no_deps;
6511 if test "$enableval" = yes; then
6512 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
6514 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
6519 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6524 eval "$wx_cv_use_no_deps"
6526 if test x"$enablestring" = xdisable; then
6527 if test $wxUSE_NO_DEPS = no; then
6533 result=$wxUSE_NO_DEPS
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6537 $as_echo "$result" >&6; }
6540 enablestring=disable
6542 if test -z "$defaultval"; then
6543 if test x"$enablestring" = xdisable; then
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-vararg_macros" >&5
6551 $as_echo_n "checking
for --${enablestring:-enable}-vararg_macros...
" >&6; }
6552 # Check whether --enable-vararg_macros was given.
6553 if test "${enable_vararg_macros+set}" = set; then :
6554 enableval=$enable_vararg_macros;
6555 if test "$enableval" = yes; then
6556 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6558 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6563 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6568 eval "$wx_cv_use_vararg_macros"
6570 if test x
"$enablestring" = xdisable
; then
6571 if test $wxUSE_VARARG_MACROS = no
; then
6577 result
=$wxUSE_VARARG_MACROS
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6581 $as_echo "$result" >&6; }
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6587 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6588 # Check whether --enable-universal_binary was given.
6589 if test "${enable_universal_binary+set}" = set; then :
6590 enableval
=$enable_universal_binary;
6591 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
6595 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6600 eval "$wx_cv_use_universal_binary"
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6603 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6608 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6609 # Check whether --enable-macosx_arch was given.
6610 if test "${enable_macosx_arch+set}" = set; then :
6611 enableval
=$enable_macosx_arch;
6612 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
6616 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6621 eval "$wx_cv_use_macosx_arch"
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6624 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6630 if test -z "$defaultval"; then
6631 if test x
"$enablestring" = xdisable
; then
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6639 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6640 # Check whether --enable-compat26 was given.
6641 if test "${enable_compat26+set}" = set; then :
6642 enableval
=$enable_compat26;
6643 if test "$enableval" = yes; then
6644 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
6646 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
6651 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6656 eval "$wx_cv_use_compat26"
6658 if test x"$enablestring" = xdisable; then
6659 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6665 result=$WXWIN_COMPATIBILITY_2_6
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6669 $as_echo "$result" >&6; }
6672 enablestring=disable
6674 if test -z "$defaultval"; then
6675 if test x"$enablestring" = xdisable; then
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6683 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6684 # Check whether --enable-compat28 was given.
6685 if test "${enable_compat28+set}" = set; then :
6686 enableval=$enable_compat28;
6687 if test "$enableval" = yes; then
6688 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
6690 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
6695 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6700 eval "$wx_cv_use_compat28"
6702 if test x"$enablestring" = xdisable; then
6703 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6709 result=$WXWIN_COMPATIBILITY_2_8
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6713 $as_echo "$result" >&6; }
6717 enablestring=disable
6719 if test -z "$defaultval"; then
6720 if test x"$enablestring" = xdisable; then
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rpath" >&5
6728 $as_echo_n "checking
for --${enablestring:-enable}-rpath...
" >&6; }
6729 # Check whether --enable-rpath was given.
6730 if test "${enable_rpath+set}" = set; then :
6731 enableval=$enable_rpath;
6732 if test "$enableval" = yes; then
6733 wx_cv_use_rpath='wxUSE_RPATH=yes'
6735 wx_cv_use_rpath='wxUSE_RPATH=no'
6740 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6745 eval "$wx_cv_use_rpath"
6747 if test x
"$enablestring" = xdisable
; then
6748 if test $wxUSE_RPATH = no
; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6758 $as_echo "$result" >&6; }
6764 if test -z "$defaultval"; then
6765 if test x
"$enablestring" = xdisable
; then
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6773 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6774 # Check whether --enable-objc_uniquifying was given.
6775 if test "${enable_objc_uniquifying+set}" = set; then :
6776 enableval
=$enable_objc_uniquifying;
6777 if test "$enableval" = yes; then
6778 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
6780 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
6785 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6790 eval "$wx_cv_use_objc_uniquifying"
6792 if test x"$enablestring" = xdisable; then
6793 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6799 result=$wxUSE_OBJC_UNIQUIFYING
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6803 $as_echo "$result" >&6; }
6807 enablestring=disable
6809 if test -z "$defaultval"; then
6810 if test x"$enablestring" = xdisable; then
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6818 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6819 # Check whether --enable-visibility was given.
6820 if test "${enable_visibility+set}" = set; then :
6821 enableval=$enable_visibility;
6822 if test "$enableval" = yes; then
6823 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
6825 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
6830 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6835 eval "$wx_cv_use_visibility"
6837 if test x"$enablestring" = xdisable; then
6838 if test $wxUSE_VISIBILITY = no; then
6844 result=$wxUSE_VISIBILITY
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6848 $as_echo "$result" >&6; }
6851 enablestring=disable
6853 if test -z "$defaultval"; then
6854 if test x"$enablestring" = xdisable; then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tls" >&5
6862 $as_echo_n "checking
for --${enablestring:-enable}-tls...
" >&6; }
6863 # Check whether --enable-tls was given.
6864 if test "${enable_tls+set}" = set; then :
6865 enableval=$enable_tls;
6866 if test "$enableval" = yes; then
6867 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6869 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6874 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6879 eval "$wx_cv_use_tls"
6881 if test x
"$enablestring" = xdisable
; then
6882 if test $wxUSE_COMPILER_TLS = no
; then
6888 result
=$wxUSE_COMPILER_TLS
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6892 $as_echo "$result" >&6; }
6898 defaultval
=$wxUSE_ALL_FEATURES
6899 if test -z "$defaultval"; then
6900 if test x
"$enablestring" = xdisable
; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6908 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6909 # Check whether --enable-intl was given.
6910 if test "${enable_intl+set}" = set; then :
6911 enableval
=$enable_intl;
6912 if test "$enableval" = yes; then
6913 wx_cv_use_intl
='wxUSE_INTL=yes'
6915 wx_cv_use_intl
='wxUSE_INTL=no'
6920 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6925 eval "$wx_cv_use_intl"
6927 if test x"$enablestring" = xdisable; then
6928 if test $wxUSE_INTL = no; then
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6938 $as_echo "$result" >&6; }
6942 defaultval=$wxUSE_ALL_FEATURES
6943 if test -z "$defaultval"; then
6944 if test x"$enablestring" = xdisable; then
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6952 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6953 # Check whether --enable-xlocale was given.
6954 if test "${enable_xlocale+set}" = set; then :
6955 enableval=$enable_xlocale;
6956 if test "$enableval" = yes; then
6957 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
6959 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
6964 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
6969 eval "$wx_cv_use_xlocale"
6971 if test x"$enablestring" = xdisable; then
6972 if test $wxUSE_XLOCALE = no; then
6978 result=$wxUSE_XLOCALE
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6982 $as_echo "$result" >&6; }
6986 defaultval=$wxUSE_ALL_FEATURES
6987 if test -z "$defaultval"; then
6988 if test x"$enablestring" = xdisable; then
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-config" >&5
6996 $as_echo_n "checking
for --${enablestring:-enable}-config...
" >&6; }
6997 # Check whether --enable-config was given.
6998 if test "${enable_config+set}" = set; then :
6999 enableval=$enable_config;
7000 if test "$enableval" = yes; then
7001 wx_cv_use_config='wxUSE_CONFIG=yes'
7003 wx_cv_use_config='wxUSE_CONFIG=no'
7008 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7013 eval "$wx_cv_use_config"
7015 if test x
"$enablestring" = xdisable
; then
7016 if test $wxUSE_CONFIG = no
; then
7022 result
=$wxUSE_CONFIG
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7026 $as_echo "$result" >&6; }
7031 defaultval
=$wxUSE_ALL_FEATURES
7032 if test -z "$defaultval"; then
7033 if test x
"$enablestring" = xdisable
; then
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7041 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7042 # Check whether --enable-protocols was given.
7043 if test "${enable_protocols+set}" = set; then :
7044 enableval
=$enable_protocols;
7045 if test "$enableval" = yes; then
7046 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
7048 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
7053 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7058 eval "$wx_cv_use_protocols"
7060 if test x"$enablestring" = xdisable; then
7061 if test $wxUSE_PROTOCOL = no; then
7067 result=$wxUSE_PROTOCOL
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7071 $as_echo "$result" >&6; }
7075 defaultval=$wxUSE_ALL_FEATURES
7076 if test -z "$defaultval"; then
7077 if test x"$enablestring" = xdisable; then
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7085 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7086 # Check whether --enable-ftp was given.
7087 if test "${enable_ftp+set}" = set; then :
7088 enableval=$enable_ftp;
7089 if test "$enableval" = yes; then
7090 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
7092 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
7097 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7102 eval "$wx_cv_use_ftp"
7104 if test x"$enablestring" = xdisable; then
7105 if test $wxUSE_PROTOCOL_FTP = no; then
7111 result=$wxUSE_PROTOCOL_FTP
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7115 $as_echo "$result" >&6; }
7119 defaultval=$wxUSE_ALL_FEATURES
7120 if test -z "$defaultval"; then
7121 if test x"$enablestring" = xdisable; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-http" >&5
7129 $as_echo_n "checking
for --${enablestring:-enable}-http...
" >&6; }
7130 # Check whether --enable-http was given.
7131 if test "${enable_http+set}" = set; then :
7132 enableval=$enable_http;
7133 if test "$enableval" = yes; then
7134 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7136 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7141 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7146 eval "$wx_cv_use_http"
7148 if test x
"$enablestring" = xdisable
; then
7149 if test $wxUSE_PROTOCOL_HTTP = no
; then
7155 result
=$wxUSE_PROTOCOL_HTTP
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7159 $as_echo "$result" >&6; }
7163 defaultval
=$wxUSE_ALL_FEATURES
7164 if test -z "$defaultval"; then
7165 if test x
"$enablestring" = xdisable
; then
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7173 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7174 # Check whether --enable-fileproto was given.
7175 if test "${enable_fileproto+set}" = set; then :
7176 enableval
=$enable_fileproto;
7177 if test "$enableval" = yes; then
7178 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
7180 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
7185 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7190 eval "$wx_cv_use_fileproto"
7192 if test x"$enablestring" = xdisable; then
7193 if test $wxUSE_PROTOCOL_FILE = no; then
7199 result=$wxUSE_PROTOCOL_FILE
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7203 $as_echo "$result" >&6; }
7207 defaultval=$wxUSE_ALL_FEATURES
7208 if test -z "$defaultval"; then
7209 if test x"$enablestring" = xdisable; then
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7217 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7218 # Check whether --enable-sockets was given.
7219 if test "${enable_sockets+set}" = set; then :
7220 enableval=$enable_sockets;
7221 if test "$enableval" = yes; then
7222 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
7224 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
7229 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7234 eval "$wx_cv_use_sockets"
7236 if test x"$enablestring" = xdisable; then
7237 if test $wxUSE_SOCKETS = no; then
7243 result=$wxUSE_SOCKETS
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7247 $as_echo "$result" >&6; }
7251 defaultval=$wxUSE_ALL_FEATURES
7252 if test -z "$defaultval"; then
7253 if test x"$enablestring" = xdisable; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipv6" >&5
7261 $as_echo_n "checking
for --${enablestring:-enable}-ipv6...
" >&6; }
7262 # Check whether --enable-ipv6 was given.
7263 if test "${enable_ipv6+set}" = set; then :
7264 enableval=$enable_ipv6;
7265 if test "$enableval" = yes; then
7266 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7268 wx_cv_use_ipv6='wxUSE_IPV6=no'
7273 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7278 eval "$wx_cv_use_ipv6"
7280 if test x
"$enablestring" = xdisable
; then
7281 if test $wxUSE_IPV6 = no
; then
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7291 $as_echo "$result" >&6; }
7295 defaultval
=$wxUSE_ALL_FEATURES
7296 if test -z "$defaultval"; then
7297 if test x
"$enablestring" = xdisable
; then
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7305 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7306 # Check whether --enable-ole was given.
7307 if test "${enable_ole+set}" = set; then :
7308 enableval
=$enable_ole;
7309 if test "$enableval" = yes; then
7310 wx_cv_use_ole
='wxUSE_OLE=yes'
7312 wx_cv_use_ole
='wxUSE_OLE=no'
7317 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7322 eval "$wx_cv_use_ole"
7324 if test x"$enablestring" = xdisable; then
7325 if test $wxUSE_OLE = no; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7335 $as_echo "$result" >&6; }
7339 defaultval=$wxUSE_ALL_FEATURES
7340 if test -z "$defaultval"; then
7341 if test x"$enablestring" = xdisable; then
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7349 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7350 # Check whether --enable-dataobj was given.
7351 if test "${enable_dataobj+set}" = set; then :
7352 enableval=$enable_dataobj;
7353 if test "$enableval" = yes; then
7354 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
7356 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
7361 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7366 eval "$wx_cv_use_dataobj"
7368 if test x"$enablestring" = xdisable; then
7369 if test $wxUSE_DATAOBJ = no; then
7375 result=$wxUSE_DATAOBJ
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7379 $as_echo "$result" >&6; }
7384 defaultval=$wxUSE_ALL_FEATURES
7385 if test -z "$defaultval"; then
7386 if test x"$enablestring" = xdisable; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipc" >&5
7394 $as_echo_n "checking
for --${enablestring:-enable}-ipc...
" >&6; }
7395 # Check whether --enable-ipc was given.
7396 if test "${enable_ipc+set}" = set; then :
7397 enableval=$enable_ipc;
7398 if test "$enableval" = yes; then
7399 wx_cv_use_ipc='wxUSE_IPC=yes'
7401 wx_cv_use_ipc='wxUSE_IPC=no'
7406 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7411 eval "$wx_cv_use_ipc"
7413 if test x
"$enablestring" = xdisable
; then
7414 if test $wxUSE_IPC = no
; then
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7424 $as_echo "$result" >&6; }
7429 defaultval
=$wxUSE_ALL_FEATURES
7430 if test -z "$defaultval"; then
7431 if test x
"$enablestring" = xdisable
; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7439 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7440 # Check whether --enable-baseevtloop was given.
7441 if test "${enable_baseevtloop+set}" = set; then :
7442 enableval
=$enable_baseevtloop;
7443 if test "$enableval" = yes; then
7444 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
7446 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
7451 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7456 eval "$wx_cv_use_baseevtloop"
7458 if test x"$enablestring" = xdisable; then
7459 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7465 result=$wxUSE_CONSOLE_EVENTLOOP
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7469 $as_echo "$result" >&6; }
7473 defaultval=$wxUSE_ALL_FEATURES
7474 if test -z "$defaultval"; then
7475 if test x"$enablestring" = xdisable; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7483 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7484 # Check whether --enable-epollloop was given.
7485 if test "${enable_epollloop+set}" = set; then :
7486 enableval=$enable_epollloop;
7487 if test "$enableval" = yes; then
7488 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
7490 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
7495 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7500 eval "$wx_cv_use_epollloop"
7502 if test x"$enablestring" = xdisable; then
7503 if test $wxUSE_EPOLL_DISPATCHER = no; then
7509 result=$wxUSE_EPOLL_DISPATCHER
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7513 $as_echo "$result" >&6; }
7517 defaultval=$wxUSE_ALL_FEATURES
7518 if test -z "$defaultval"; then
7519 if test x"$enablestring" = xdisable; then
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-selectloop" >&5
7527 $as_echo_n "checking
for --${enablestring:-enable}-selectloop...
" >&6; }
7528 # Check whether --enable-selectloop was given.
7529 if test "${enable_selectloop+set}" = set; then :
7530 enableval=$enable_selectloop;
7531 if test "$enableval" = yes; then
7532 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7534 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7539 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7544 eval "$wx_cv_use_selectloop"
7546 if test x
"$enablestring" = xdisable
; then
7547 if test $wxUSE_SELECT_DISPATCHER = no
; then
7553 result
=$wxUSE_SELECT_DISPATCHER
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7557 $as_echo "$result" >&6; }
7562 defaultval
=$wxUSE_ALL_FEATURES
7563 if test -z "$defaultval"; then
7564 if test x
"$enablestring" = xdisable
; then
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7572 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7573 # Check whether --enable-any was given.
7574 if test "${enable_any+set}" = set; then :
7575 enableval
=$enable_any;
7576 if test "$enableval" = yes; then
7577 wx_cv_use_any
='wxUSE_ANY=yes'
7579 wx_cv_use_any
='wxUSE_ANY=no'
7584 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7589 eval "$wx_cv_use_any"
7591 if test x"$enablestring" = xdisable; then
7592 if test $wxUSE_ANY = no; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7602 $as_echo "$result" >&6; }
7606 defaultval=$wxUSE_ALL_FEATURES
7607 if test -z "$defaultval"; then
7608 if test x"$enablestring" = xdisable; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7616 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7617 # Check whether --enable-apple_ieee was given.
7618 if test "${enable_apple_ieee+set}" = set; then :
7619 enableval=$enable_apple_ieee;
7620 if test "$enableval" = yes; then
7621 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
7623 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
7628 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7633 eval "$wx_cv_use_apple_ieee"
7635 if test x"$enablestring" = xdisable; then
7636 if test $wxUSE_APPLE_IEEE = no; then
7642 result=$wxUSE_APPLE_IEEE
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7646 $as_echo "$result" >&6; }
7650 defaultval=$wxUSE_ALL_FEATURES
7651 if test -z "$defaultval"; then
7652 if test x"$enablestring" = xdisable; then
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-arcstream" >&5
7660 $as_echo_n "checking
for --${enablestring:-enable}-arcstream...
" >&6; }
7661 # Check whether --enable-arcstream was given.
7662 if test "${enable_arcstream+set}" = set; then :
7663 enableval=$enable_arcstream;
7664 if test "$enableval" = yes; then
7665 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7667 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7672 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7677 eval "$wx_cv_use_arcstream"
7679 if test x
"$enablestring" = xdisable
; then
7680 if test $wxUSE_ARCHIVE_STREAMS = no
; then
7686 result
=$wxUSE_ARCHIVE_STREAMS
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7690 $as_echo "$result" >&6; }
7694 defaultval
=$wxUSE_ALL_FEATURES
7695 if test -z "$defaultval"; then
7696 if test x
"$enablestring" = xdisable
; then
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7704 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7705 # Check whether --enable-base64 was given.
7706 if test "${enable_base64+set}" = set; then :
7707 enableval
=$enable_base64;
7708 if test "$enableval" = yes; then
7709 wx_cv_use_base64
='wxUSE_BASE64=yes'
7711 wx_cv_use_base64
='wxUSE_BASE64=no'
7716 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7721 eval "$wx_cv_use_base64"
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_BASE64 = no; then
7730 result=$wxUSE_BASE64
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7734 $as_echo "$result" >&6; }
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7748 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7749 # Check whether --enable-backtrace was given.
7750 if test "${enable_backtrace+set}" = set; then :
7751 enableval=$enable_backtrace;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7755 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7760 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7765 eval "$wx_cv_use_backtrace"
7767 if test x"$enablestring" = xdisable; then
7768 if test $wxUSE_STACKWALKER = no; then
7774 result=$wxUSE_STACKWALKER
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7778 $as_echo "$result" >&6; }
7782 defaultval=$wxUSE_ALL_FEATURES
7783 if test -z "$defaultval"; then
7784 if test x"$enablestring" = xdisable; then
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-catch_segvs" >&5
7792 $as_echo_n "checking
for --${enablestring:-enable}-catch_segvs...
" >&6; }
7793 # Check whether --enable-catch_segvs was given.
7794 if test "${enable_catch_segvs+set}" = set; then :
7795 enableval=$enable_catch_segvs;
7796 if test "$enableval" = yes; then
7797 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7799 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7804 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7809 eval "$wx_cv_use_catch_segvs"
7811 if test x
"$enablestring" = xdisable
; then
7812 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
7818 result
=$wxUSE_ON_FATAL_EXCEPTION
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7822 $as_echo "$result" >&6; }
7826 defaultval
=$wxUSE_ALL_FEATURES
7827 if test -z "$defaultval"; then
7828 if test x
"$enablestring" = xdisable
; then
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7836 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7837 # Check whether --enable-cmdline was given.
7838 if test "${enable_cmdline+set}" = set; then :
7839 enableval
=$enable_cmdline;
7840 if test "$enableval" = yes; then
7841 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
7843 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
7848 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7853 eval "$wx_cv_use_cmdline"
7855 if test x"$enablestring" = xdisable; then
7856 if test $wxUSE_CMDLINE_PARSER = no; then
7862 result=$wxUSE_CMDLINE_PARSER
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7866 $as_echo "$result" >&6; }
7870 defaultval=$wxUSE_ALL_FEATURES
7871 if test -z "$defaultval"; then
7872 if test x"$enablestring" = xdisable; then
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7880 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7881 # Check whether --enable-datetime was given.
7882 if test "${enable_datetime+set}" = set; then :
7883 enableval=$enable_datetime;
7884 if test "$enableval" = yes; then
7885 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
7887 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
7892 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7897 eval "$wx_cv_use_datetime"
7899 if test x"$enablestring" = xdisable; then
7900 if test $wxUSE_DATETIME = no; then
7906 result=$wxUSE_DATETIME
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7910 $as_echo "$result" >&6; }
7914 defaultval=$wxUSE_ALL_FEATURES
7915 if test -z "$defaultval"; then
7916 if test x"$enablestring" = xdisable; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debugreport" >&5
7924 $as_echo_n "checking
for --${enablestring:-enable}-debugreport...
" >&6; }
7925 # Check whether --enable-debugreport was given.
7926 if test "${enable_debugreport+set}" = set; then :
7927 enableval=$enable_debugreport;
7928 if test "$enableval" = yes; then
7929 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7931 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7936 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7941 eval "$wx_cv_use_debugreport"
7943 if test x
"$enablestring" = xdisable
; then
7944 if test $wxUSE_DEBUGREPORT = no
; then
7950 result
=$wxUSE_DEBUGREPORT
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7954 $as_echo "$result" >&6; }
7958 defaultval
=$wxUSE_ALL_FEATURES
7959 if test -z "$defaultval"; then
7960 if test x
"$enablestring" = xdisable
; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
7968 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
7969 # Check whether --enable-dialupman was given.
7970 if test "${enable_dialupman+set}" = set; then :
7971 enableval
=$enable_dialupman;
7972 if test "$enableval" = yes; then
7973 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
7975 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
7980 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7985 eval "$wx_cv_use_dialupman"
7987 if test x"$enablestring" = xdisable; then
7988 if test $wxUSE_DIALUP_MANAGER = no; then
7994 result=$wxUSE_DIALUP_MANAGER
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7998 $as_echo "$result" >&6; }
8002 defaultval=$wxUSE_ALL_FEATURES
8003 if test -z "$defaultval"; then
8004 if test x"$enablestring" = xdisable; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8012 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8013 # Check whether --enable-dynlib was given.
8014 if test "${enable_dynlib+set}" = set; then :
8015 enableval=$enable_dynlib;
8016 if test "$enableval" = yes; then
8017 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
8019 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
8024 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8029 eval "$wx_cv_use_dynlib"
8031 if test x"$enablestring" = xdisable; then
8032 if test $wxUSE_DYNLIB_CLASS = no; then
8038 result=$wxUSE_DYNLIB_CLASS
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8042 $as_echo "$result" >&6; }
8046 defaultval=$wxUSE_ALL_FEATURES
8047 if test -z "$defaultval"; then
8048 if test x"$enablestring" = xdisable; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynamicloader" >&5
8056 $as_echo_n "checking
for --${enablestring:-enable}-dynamicloader...
" >&6; }
8057 # Check whether --enable-dynamicloader was given.
8058 if test "${enable_dynamicloader+set}" = set; then :
8059 enableval=$enable_dynamicloader;
8060 if test "$enableval" = yes; then
8061 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8063 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8068 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8073 eval "$wx_cv_use_dynamicloader"
8075 if test x
"$enablestring" = xdisable
; then
8076 if test $wxUSE_DYNAMIC_LOADER = no
; then
8082 result
=$wxUSE_DYNAMIC_LOADER
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8086 $as_echo "$result" >&6; }
8090 defaultval
=$wxUSE_ALL_FEATURES
8091 if test -z "$defaultval"; then
8092 if test x
"$enablestring" = xdisable
; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8100 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8101 # Check whether --enable-exceptions was given.
8102 if test "${enable_exceptions+set}" = set; then :
8103 enableval
=$enable_exceptions;
8104 if test "$enableval" = yes; then
8105 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
8107 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
8112 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8117 eval "$wx_cv_use_exceptions"
8119 if test x"$enablestring" = xdisable; then
8120 if test $wxUSE_EXCEPTIONS = no; then
8126 result=$wxUSE_EXCEPTIONS
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8130 $as_echo "$result" >&6; }
8134 defaultval=$wxUSE_ALL_FEATURES
8135 if test -z "$defaultval"; then
8136 if test x"$enablestring" = xdisable; then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8144 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8145 # Check whether --enable-ffile was given.
8146 if test "${enable_ffile+set}" = set; then :
8147 enableval=$enable_ffile;
8148 if test "$enableval" = yes; then
8149 wx_cv_use_ffile='wxUSE_FFILE
=yes'
8151 wx_cv_use_ffile='wxUSE_FFILE
=no
'
8156 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8161 eval "$wx_cv_use_ffile"
8163 if test x"$enablestring" = xdisable; then
8164 if test $wxUSE_FFILE = no; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8174 $as_echo "$result" >&6; }
8178 defaultval=$wxUSE_ALL_FEATURES
8179 if test -z "$defaultval"; then
8180 if test x"$enablestring" = xdisable; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-file" >&5
8188 $as_echo_n "checking
for --${enablestring:-enable}-file...
" >&6; }
8189 # Check whether --enable-file was given.
8190 if test "${enable_file+set}" = set; then :
8191 enableval=$enable_file;
8192 if test "$enableval" = yes; then
8193 wx_cv_use_file='wxUSE_FILE=yes'
8195 wx_cv_use_file='wxUSE_FILE=no'
8200 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8205 eval "$wx_cv_use_file"
8207 if test x
"$enablestring" = xdisable
; then
8208 if test $wxUSE_FILE = no
; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8218 $as_echo "$result" >&6; }
8222 defaultval
=$wxUSE_ALL_FEATURES
8223 if test -z "$defaultval"; then
8224 if test x
"$enablestring" = xdisable
; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8232 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8233 # Check whether --enable-filehistory was given.
8234 if test "${enable_filehistory+set}" = set; then :
8235 enableval
=$enable_filehistory;
8236 if test "$enableval" = yes; then
8237 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
8239 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
8244 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8249 eval "$wx_cv_use_filehistory"
8251 if test x"$enablestring" = xdisable; then
8252 if test $wxUSE_FILE_HISTORY = no; then
8258 result=$wxUSE_FILE_HISTORY
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8262 $as_echo "$result" >&6; }
8266 defaultval=$wxUSE_ALL_FEATURES
8267 if test -z "$defaultval"; then
8268 if test x"$enablestring" = xdisable; then
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8276 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8277 # Check whether --enable-filesystem was given.
8278 if test "${enable_filesystem+set}" = set; then :
8279 enableval=$enable_filesystem;
8280 if test "$enableval" = yes; then
8281 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
8283 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
8288 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8293 eval "$wx_cv_use_filesystem"
8295 if test x"$enablestring" = xdisable; then
8296 if test $wxUSE_FILESYSTEM = no; then
8302 result=$wxUSE_FILESYSTEM
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8306 $as_echo "$result" >&6; }
8310 defaultval=$wxUSE_ALL_FEATURES
8311 if test -z "$defaultval"; then
8312 if test x"$enablestring" = xdisable; then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontenum" >&5
8320 $as_echo_n "checking
for --${enablestring:-enable}-fontenum...
" >&6; }
8321 # Check whether --enable-fontenum was given.
8322 if test "${enable_fontenum+set}" = set; then :
8323 enableval=$enable_fontenum;
8324 if test "$enableval" = yes; then
8325 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8327 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8332 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8337 eval "$wx_cv_use_fontenum"
8339 if test x
"$enablestring" = xdisable
; then
8340 if test $wxUSE_FONTENUM = no
; then
8346 result
=$wxUSE_FONTENUM
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8350 $as_echo "$result" >&6; }
8354 defaultval
=$wxUSE_ALL_FEATURES
8355 if test -z "$defaultval"; then
8356 if test x
"$enablestring" = xdisable
; then
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8364 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8365 # Check whether --enable-fontmap was given.
8366 if test "${enable_fontmap+set}" = set; then :
8367 enableval
=$enable_fontmap;
8368 if test "$enableval" = yes; then
8369 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
8371 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
8376 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8381 eval "$wx_cv_use_fontmap"
8383 if test x"$enablestring" = xdisable; then
8384 if test $wxUSE_FONTMAP = no; then
8390 result=$wxUSE_FONTMAP
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8394 $as_echo "$result" >&6; }
8398 defaultval=$wxUSE_ALL_FEATURES
8399 if test -z "$defaultval"; then
8400 if test x"$enablestring" = xdisable; then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8408 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8409 # Check whether --enable-fs_archive was given.
8410 if test "${enable_fs_archive+set}" = set; then :
8411 enableval=$enable_fs_archive;
8412 if test "$enableval" = yes; then
8413 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
8415 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
8420 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8425 eval "$wx_cv_use_fs_archive"
8427 if test x"$enablestring" = xdisable; then
8428 if test $wxUSE_FS_ARCHIVE = no; then
8434 result=$wxUSE_FS_ARCHIVE
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8438 $as_echo "$result" >&6; }
8442 defaultval=$wxUSE_ALL_FEATURES
8443 if test -z "$defaultval"; then
8444 if test x"$enablestring" = xdisable; then
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_inet" >&5
8452 $as_echo_n "checking
for --${enablestring:-enable}-fs_inet...
" >&6; }
8453 # Check whether --enable-fs_inet was given.
8454 if test "${enable_fs_inet+set}" = set; then :
8455 enableval=$enable_fs_inet;
8456 if test "$enableval" = yes; then
8457 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8459 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8464 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8469 eval "$wx_cv_use_fs_inet"
8471 if test x
"$enablestring" = xdisable
; then
8472 if test $wxUSE_FS_INET = no
; then
8478 result
=$wxUSE_FS_INET
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8482 $as_echo "$result" >&6; }
8486 defaultval
=$wxUSE_ALL_FEATURES
8487 if test -z "$defaultval"; then
8488 if test x
"$enablestring" = xdisable
; then
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8496 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8497 # Check whether --enable-fs_zip was given.
8498 if test "${enable_fs_zip+set}" = set; then :
8499 enableval
=$enable_fs_zip;
8500 if test "$enableval" = yes; then
8501 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
8503 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
8508 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8513 eval "$wx_cv_use_fs_zip"
8515 if test x"$enablestring" = xdisable; then
8516 if test $wxUSE_FS_ZIP = no; then
8522 result=$wxUSE_FS_ZIP
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8526 $as_echo "$result" >&6; }
8530 defaultval=$wxUSE_ALL_FEATURES
8531 if test -z "$defaultval"; then
8532 if test x"$enablestring" = xdisable; then
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8540 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8541 # Check whether --enable-fswatcher was given.
8542 if test "${enable_fswatcher+set}" = set; then :
8543 enableval=$enable_fswatcher;
8544 if test "$enableval" = yes; then
8545 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
8547 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
8552 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8557 eval "$wx_cv_use_fswatcher"
8559 if test x"$enablestring" = xdisable; then
8560 if test $wxUSE_FSWATCHER = no; then
8566 result=$wxUSE_FSWATCHER
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8570 $as_echo "$result" >&6; }
8574 defaultval=$wxUSE_ALL_FEATURES
8575 if test -z "$defaultval"; then
8576 if test x"$enablestring" = xdisable; then
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-geometry" >&5
8584 $as_echo_n "checking
for --${enablestring:-enable}-geometry...
" >&6; }
8585 # Check whether --enable-geometry was given.
8586 if test "${enable_geometry+set}" = set; then :
8587 enableval=$enable_geometry;
8588 if test "$enableval" = yes; then
8589 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8591 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8596 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8601 eval "$wx_cv_use_geometry"
8603 if test x
"$enablestring" = xdisable
; then
8604 if test $wxUSE_GEOMETRY = no
; then
8610 result
=$wxUSE_GEOMETRY
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8614 $as_echo "$result" >&6; }
8618 defaultval
=$wxUSE_ALL_FEATURES
8619 if test -z "$defaultval"; then
8620 if test x
"$enablestring" = xdisable
; then
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8628 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8629 # Check whether --enable-log was given.
8630 if test "${enable_log+set}" = set; then :
8631 enableval
=$enable_log;
8632 if test "$enableval" = yes; then
8633 wx_cv_use_log
='wxUSE_LOG=yes'
8635 wx_cv_use_log
='wxUSE_LOG=no'
8640 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8645 eval "$wx_cv_use_log"
8647 if test x"$enablestring" = xdisable; then
8648 if test $wxUSE_LOG = no; then
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8658 $as_echo "$result" >&6; }
8662 defaultval=$wxUSE_ALL_FEATURES
8663 if test -z "$defaultval"; then
8664 if test x"$enablestring" = xdisable; then
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8672 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8673 # Check whether --enable-longlong was given.
8674 if test "${enable_longlong+set}" = set; then :
8675 enableval=$enable_longlong;
8676 if test "$enableval" = yes; then
8677 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
8679 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
8684 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8689 eval "$wx_cv_use_longlong"
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_LONGLONG = no; then
8698 result=$wxUSE_LONGLONG
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8702 $as_echo "$result" >&6; }
8706 defaultval=$wxUSE_ALL_FEATURES
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mimetype" >&5
8716 $as_echo_n "checking
for --${enablestring:-enable}-mimetype...
" >&6; }
8717 # Check whether --enable-mimetype was given.
8718 if test "${enable_mimetype+set}" = set; then :
8719 enableval=$enable_mimetype;
8720 if test "$enableval" = yes; then
8721 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8723 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8728 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8733 eval "$wx_cv_use_mimetype"
8735 if test x
"$enablestring" = xdisable
; then
8736 if test $wxUSE_MIMETYPE = no
; then
8742 result
=$wxUSE_MIMETYPE
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8746 $as_echo "$result" >&6; }
8750 defaultval
=$wxUSE_ALL_FEATURES
8751 if test -z "$defaultval"; then
8752 if test x
"$enablestring" = xdisable
; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8760 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8761 # Check whether --enable-printfposparam was given.
8762 if test "${enable_printfposparam+set}" = set; then :
8763 enableval
=$enable_printfposparam;
8764 if test "$enableval" = yes; then
8765 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
8767 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
8772 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8777 eval "$wx_cv_use_printfposparam"
8779 if test x"$enablestring" = xdisable; then
8780 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8786 result=$wxUSE_PRINTF_POS_PARAMS
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8790 $as_echo "$result" >&6; }
8794 defaultval=$wxUSE_ALL_FEATURES
8795 if test -z "$defaultval"; then
8796 if test x"$enablestring" = xdisable; then
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8804 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8805 # Check whether --enable-snglinst was given.
8806 if test "${enable_snglinst+set}" = set; then :
8807 enableval=$enable_snglinst;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
8811 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
8816 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8821 eval "$wx_cv_use_snglinst"
8823 if test x"$enablestring" = xdisable; then
8824 if test $wxUSE_SNGLINST_CHECKER = no; then
8830 result=$wxUSE_SNGLINST_CHECKER
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8834 $as_echo "$result" >&6; }
8838 defaultval=$wxUSE_ALL_FEATURES
8839 if test -z "$defaultval"; then
8840 if test x"$enablestring" = xdisable; then
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sound" >&5
8848 $as_echo_n "checking
for --${enablestring:-enable}-sound...
" >&6; }
8849 # Check whether --enable-sound was given.
8850 if test "${enable_sound+set}" = set; then :
8851 enableval=$enable_sound;
8852 if test "$enableval" = yes; then
8853 wx_cv_use_sound='wxUSE_SOUND=yes'
8855 wx_cv_use_sound='wxUSE_SOUND=no'
8860 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8865 eval "$wx_cv_use_sound"
8867 if test x
"$enablestring" = xdisable
; then
8868 if test $wxUSE_SOUND = no
; then
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8878 $as_echo "$result" >&6; }
8882 defaultval
=$wxUSE_ALL_FEATURES
8883 if test -z "$defaultval"; then
8884 if test x
"$enablestring" = xdisable
; then
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8892 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8893 # Check whether --enable-stdpaths was given.
8894 if test "${enable_stdpaths+set}" = set; then :
8895 enableval
=$enable_stdpaths;
8896 if test "$enableval" = yes; then
8897 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
8899 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
8904 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8909 eval "$wx_cv_use_stdpaths"
8911 if test x"$enablestring" = xdisable; then
8912 if test $wxUSE_STDPATHS = no; then
8918 result=$wxUSE_STDPATHS
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8922 $as_echo "$result" >&6; }
8926 defaultval=$wxUSE_ALL_FEATURES
8927 if test -z "$defaultval"; then
8928 if test x"$enablestring" = xdisable; then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8936 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8937 # Check whether --enable-stopwatch was given.
8938 if test "${enable_stopwatch+set}" = set; then :
8939 enableval=$enable_stopwatch;
8940 if test "$enableval" = yes; then
8941 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
8943 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
8948 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8953 eval "$wx_cv_use_stopwatch"
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_STOPWATCH = no; then
8962 result=$wxUSE_STOPWATCH
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8966 $as_echo "$result" >&6; }
8970 defaultval=$wxUSE_ALL_FEATURES
8971 if test -z "$defaultval"; then
8972 if test x"$enablestring" = xdisable; then
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-streams" >&5
8980 $as_echo_n "checking
for --${enablestring:-enable}-streams...
" >&6; }
8981 # Check whether --enable-streams was given.
8982 if test "${enable_streams+set}" = set; then :
8983 enableval=$enable_streams;
8984 if test "$enableval" = yes; then
8985 wx_cv_use_streams='wxUSE_STREAMS=yes'
8987 wx_cv_use_streams='wxUSE_STREAMS=no'
8992 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8997 eval "$wx_cv_use_streams"
8999 if test x
"$enablestring" = xdisable
; then
9000 if test $wxUSE_STREAMS = no
; then
9006 result
=$wxUSE_STREAMS
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9010 $as_echo "$result" >&6; }
9014 defaultval
=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x
"$enablestring" = xdisable
; then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9024 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9025 # Check whether --enable-sysoptions was given.
9026 if test "${enable_sysoptions+set}" = set; then :
9027 enableval
=$enable_sysoptions;
9028 if test "$enableval" = yes; then
9029 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
9031 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
9036 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9041 eval "$wx_cv_use_sysoptions"
9043 if test x"$enablestring" = xdisable; then
9044 if test $wxUSE_SYSTEM_OPTIONS = no; then
9050 result=$wxUSE_SYSTEM_OPTIONS
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9054 $as_echo "$result" >&6; }
9058 defaultval=$wxUSE_ALL_FEATURES
9059 if test -z "$defaultval"; then
9060 if test x"$enablestring" = xdisable; then
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9068 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9069 # Check whether --enable-tarstream was given.
9070 if test "${enable_tarstream+set}" = set; then :
9071 enableval=$enable_tarstream;
9072 if test "$enableval" = yes; then
9073 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
9075 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
9080 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9085 eval "$wx_cv_use_tarstream"
9087 if test x"$enablestring" = xdisable; then
9088 if test $wxUSE_TARSTREAM = no; then
9094 result=$wxUSE_TARSTREAM
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9098 $as_echo "$result" >&6; }
9102 defaultval=$wxUSE_ALL_FEATURES
9103 if test -z "$defaultval"; then
9104 if test x"$enablestring" = xdisable; then
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textbuf" >&5
9112 $as_echo_n "checking
for --${enablestring:-enable}-textbuf...
" >&6; }
9113 # Check whether --enable-textbuf was given.
9114 if test "${enable_textbuf+set}" = set; then :
9115 enableval=$enable_textbuf;
9116 if test "$enableval" = yes; then
9117 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9119 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9124 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9129 eval "$wx_cv_use_textbuf"
9131 if test x
"$enablestring" = xdisable
; then
9132 if test $wxUSE_TEXTBUFFER = no
; then
9138 result
=$wxUSE_TEXTBUFFER
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9142 $as_echo "$result" >&6; }
9146 defaultval
=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x
"$enablestring" = xdisable
; then
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9156 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9157 # Check whether --enable-textfile was given.
9158 if test "${enable_textfile+set}" = set; then :
9159 enableval
=$enable_textfile;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
9163 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
9168 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9173 eval "$wx_cv_use_textfile"
9175 if test x"$enablestring" = xdisable; then
9176 if test $wxUSE_TEXTFILE = no; then
9182 result=$wxUSE_TEXTFILE
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9186 $as_echo "$result" >&6; }
9190 defaultval=$wxUSE_ALL_FEATURES
9191 if test -z "$defaultval"; then
9192 if test x"$enablestring" = xdisable; then
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9200 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9201 # Check whether --enable-timer was given.
9202 if test "${enable_timer+set}" = set; then :
9203 enableval=$enable_timer;
9204 if test "$enableval" = yes; then
9205 wx_cv_use_timer='wxUSE_TIMER
=yes'
9207 wx_cv_use_timer='wxUSE_TIMER
=no
'
9212 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9217 eval "$wx_cv_use_timer"
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_TIMER = no; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9230 $as_echo "$result" >&6; }
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-variant" >&5
9244 $as_echo_n "checking
for --${enablestring:-enable}-variant...
" >&6; }
9245 # Check whether --enable-variant was given.
9246 if test "${enable_variant+set}" = set; then :
9247 enableval=$enable_variant;
9248 if test "$enableval" = yes; then
9249 wx_cv_use_variant='wxUSE_VARIANT=yes'
9251 wx_cv_use_variant='wxUSE_VARIANT=no'
9256 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9261 eval "$wx_cv_use_variant"
9263 if test x
"$enablestring" = xdisable
; then
9264 if test $wxUSE_VARIANT = no
; then
9270 result
=$wxUSE_VARIANT
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9274 $as_echo "$result" >&6; }
9278 defaultval
=$wxUSE_ALL_FEATURES
9279 if test -z "$defaultval"; then
9280 if test x
"$enablestring" = xdisable
; then
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9288 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9289 # Check whether --enable-zipstream was given.
9290 if test "${enable_zipstream+set}" = set; then :
9291 enableval
=$enable_zipstream;
9292 if test "$enableval" = yes; then
9293 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
9295 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
9300 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9305 eval "$wx_cv_use_zipstream"
9307 if test x"$enablestring" = xdisable; then
9308 if test $wxUSE_ZIPSTREAM = no; then
9314 result=$wxUSE_ZIPSTREAM
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9318 $as_echo "$result" >&6; }
9323 defaultval=$wxUSE_ALL_FEATURES
9324 if test -z "$defaultval"; then
9325 if test x"$enablestring" = xdisable; then
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9333 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9334 # Check whether --enable-url was given.
9335 if test "${enable_url+set}" = set; then :
9336 enableval=$enable_url;
9337 if test "$enableval" = yes; then
9338 wx_cv_use_url='wxUSE_URL
=yes'
9340 wx_cv_use_url='wxUSE_URL
=no
'
9345 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
9350 eval "$wx_cv_use_url"
9352 if test x"$enablestring" = xdisable; then
9353 if test $wxUSE_URL = no; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9363 $as_echo "$result" >&6; }
9367 defaultval=$wxUSE_ALL_FEATURES
9368 if test -z "$defaultval"; then
9369 if test x"$enablestring" = xdisable; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol" >&5
9377 $as_echo_n "checking
for --${enablestring:-enable}-protocol...
" >&6; }
9378 # Check whether --enable-protocol was given.
9379 if test "${enable_protocol+set}" = set; then :
9380 enableval=$enable_protocol;
9381 if test "$enableval" = yes; then
9382 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9384 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9389 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9394 eval "$wx_cv_use_protocol"
9396 if test x
"$enablestring" = xdisable
; then
9397 if test $wxUSE_PROTOCOL = no
; then
9403 result
=$wxUSE_PROTOCOL
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9407 $as_echo "$result" >&6; }
9411 defaultval
=$wxUSE_ALL_FEATURES
9412 if test -z "$defaultval"; then
9413 if test x
"$enablestring" = xdisable
; then
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9421 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9422 # Check whether --enable-protocol_http was given.
9423 if test "${enable_protocol_http+set}" = set; then :
9424 enableval
=$enable_protocol_http;
9425 if test "$enableval" = yes; then
9426 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
9428 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
9433 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9438 eval "$wx_cv_use_protocol_http"
9440 if test x"$enablestring" = xdisable; then
9441 if test $wxUSE_PROTOCOL_HTTP = no; then
9447 result=$wxUSE_PROTOCOL_HTTP
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9451 $as_echo "$result" >&6; }
9455 defaultval=$wxUSE_ALL_FEATURES
9456 if test -z "$defaultval"; then
9457 if test x"$enablestring" = xdisable; then
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9465 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9466 # Check whether --enable-protocol_ftp was given.
9467 if test "${enable_protocol_ftp+set}" = set; then :
9468 enableval=$enable_protocol_ftp;
9469 if test "$enableval" = yes; then
9470 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
9472 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
9477 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9482 eval "$wx_cv_use_protocol_ftp"
9484 if test x"$enablestring" = xdisable; then
9485 if test $wxUSE_PROTOCOL_FTP = no; then
9491 result=$wxUSE_PROTOCOL_FTP
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9495 $as_echo "$result" >&6; }
9499 defaultval=$wxUSE_ALL_FEATURES
9500 if test -z "$defaultval"; then
9501 if test x"$enablestring" = xdisable; then
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_file" >&5
9509 $as_echo_n "checking
for --${enablestring:-enable}-protocol_file...
" >&6; }
9510 # Check whether --enable-protocol_file was given.
9511 if test "${enable_protocol_file+set}" = set; then :
9512 enableval=$enable_protocol_file;
9513 if test "$enableval" = yes; then
9514 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9516 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9521 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9526 eval "$wx_cv_use_protocol_file"
9528 if test x
"$enablestring" = xdisable
; then
9529 if test $wxUSE_PROTOCOL_FILE = no
; then
9535 result
=$wxUSE_PROTOCOL_FILE
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9539 $as_echo "$result" >&6; }
9544 defaultval
=$wxUSE_ALL_FEATURES
9545 if test -z "$defaultval"; then
9546 if test x
"$enablestring" = xdisable
; then
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9554 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9555 # Check whether --enable-threads was given.
9556 if test "${enable_threads+set}" = set; then :
9557 enableval
=$enable_threads;
9558 if test "$enableval" = yes; then
9559 wx_cv_use_threads
='wxUSE_THREADS=yes'
9561 wx_cv_use_threads
='wxUSE_THREADS=no'
9566 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9571 eval "$wx_cv_use_threads"
9573 if test x"$enablestring" = xdisable; then
9574 if test $wxUSE_THREADS = no; then
9580 result=$wxUSE_THREADS
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9584 $as_echo "$result" >&6; }
9590 if test -z "$defaultval"; then
9591 if test x"$enablestring" = xdisable; then
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9599 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9600 # Check whether --enable-iniconf was given.
9601 if test "${enable_iniconf+set}" = set; then :
9602 enableval=$enable_iniconf;
9603 if test "$enableval" = yes; then
9604 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
9606 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
9611 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9616 eval "$wx_cv_use_iniconf"
9618 if test x"$enablestring" = xdisable; then
9619 if test $wxUSE_INICONF = no; then
9625 result=$wxUSE_INICONF
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9629 $as_echo "$result" >&6; }
9633 defaultval=$wxUSE_ALL_FEATURES
9634 if test -z "$defaultval"; then
9635 if test x"$enablestring" = xdisable; then
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-regkey" >&5
9643 $as_echo_n "checking
for --${enablestring:-enable}-regkey...
" >&6; }
9644 # Check whether --enable-regkey was given.
9645 if test "${enable_regkey+set}" = set; then :
9646 enableval=$enable_regkey;
9647 if test "$enableval" = yes; then
9648 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9650 wx_cv_use_regkey='wxUSE_REGKEY=no'
9655 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9660 eval "$wx_cv_use_regkey"
9662 if test x
"$enablestring" = xdisable
; then
9663 if test $wxUSE_REGKEY = no
; then
9669 result
=$wxUSE_REGKEY
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9673 $as_echo "$result" >&6; }
9676 if test "$wxUSE_GUI" = "yes"; then
9681 defaultval
=$wxUSE_ALL_FEATURES
9682 if test -z "$defaultval"; then
9683 if test x
"$enablestring" = xdisable
; then
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9691 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9692 # Check whether --enable-docview was given.
9693 if test "${enable_docview+set}" = set; then :
9694 enableval
=$enable_docview;
9695 if test "$enableval" = yes; then
9696 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9698 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9703 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9708 eval "$wx_cv_use_docview"
9710 if test x"$enablestring" = xdisable; then
9711 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9717 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9721 $as_echo "$result" >&6; }
9725 defaultval=$wxUSE_ALL_FEATURES
9726 if test -z "$defaultval"; then
9727 if test x"$enablestring" = xdisable; then
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9735 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9736 # Check whether --enable-help was given.
9737 if test "${enable_help+set}" = set; then :
9738 enableval=$enable_help;
9739 if test "$enableval" = yes; then
9740 wx_cv_use_help='wxUSE_HELP
=yes'
9742 wx_cv_use_help='wxUSE_HELP
=no
'
9747 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9752 eval "$wx_cv_use_help"
9754 if test x"$enablestring" = xdisable; then
9755 if test $wxUSE_HELP = no; then
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9765 $as_echo "$result" >&6; }
9769 defaultval=$wxUSE_ALL_FEATURES
9770 if test -z "$defaultval"; then
9771 if test x"$enablestring" = xdisable; then
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
9779 $as_echo_n "checking
for --${enablestring:-enable}-mshtmlhelp...
" >&6; }
9780 # Check whether --enable-mshtmlhelp was given.
9781 if test "${enable_mshtmlhelp+set}" = set; then :
9782 enableval=$enable_mshtmlhelp;
9783 if test "$enableval" = yes; then
9784 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9786 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9791 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9796 eval "$wx_cv_use_mshtmlhelp"
9798 if test x
"$enablestring" = xdisable
; then
9799 if test $wxUSE_MS_HTML_HELP = no
; then
9805 result
=$wxUSE_MS_HTML_HELP
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9809 $as_echo "$result" >&6; }
9813 defaultval
=$wxUSE_ALL_FEATURES
9814 if test -z "$defaultval"; then
9815 if test x
"$enablestring" = xdisable
; then
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9823 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9824 # Check whether --enable-html was given.
9825 if test "${enable_html+set}" = set; then :
9826 enableval
=$enable_html;
9827 if test "$enableval" = yes; then
9828 wx_cv_use_html
='wxUSE_HTML=yes'
9830 wx_cv_use_html
='wxUSE_HTML=no'
9835 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9840 eval "$wx_cv_use_html"
9842 if test x"$enablestring" = xdisable; then
9843 if test $wxUSE_HTML = no; then
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9853 $as_echo "$result" >&6; }
9857 defaultval=$wxUSE_ALL_FEATURES
9858 if test -z "$defaultval"; then
9859 if test x"$enablestring" = xdisable; then
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9867 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9868 # Check whether --enable-htmlhelp was given.
9869 if test "${enable_htmlhelp+set}" = set; then :
9870 enableval=$enable_htmlhelp;
9871 if test "$enableval" = yes; then
9872 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
9874 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
9879 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9884 eval "$wx_cv_use_htmlhelp"
9886 if test x"$enablestring" = xdisable; then
9887 if test $wxUSE_WXHTML_HELP = no; then
9893 result=$wxUSE_WXHTML_HELP
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9897 $as_echo "$result" >&6; }
9901 defaultval=$wxUSE_ALL_FEATURES
9902 if test -z "$defaultval"; then
9903 if test x"$enablestring" = xdisable; then
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-xrc" >&5
9911 $as_echo_n "checking
for --${enablestring:-enable}-xrc...
" >&6; }
9912 # Check whether --enable-xrc was given.
9913 if test "${enable_xrc+set}" = set; then :
9914 enableval=$enable_xrc;
9915 if test "$enableval" = yes; then
9916 wx_cv_use_xrc='wxUSE_XRC=yes'
9918 wx_cv_use_xrc='wxUSE_XRC=no'
9923 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9928 eval "$wx_cv_use_xrc"
9930 if test x
"$enablestring" = xdisable
; then
9931 if test $wxUSE_XRC = no
; then
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9941 $as_echo "$result" >&6; }
9945 defaultval
=$wxUSE_ALL_FEATURES
9946 if test -z "$defaultval"; then
9947 if test x
"$enablestring" = xdisable
; then
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9955 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9956 # Check whether --enable-aui was given.
9957 if test "${enable_aui+set}" = set; then :
9958 enableval
=$enable_aui;
9959 if test "$enableval" = yes; then
9960 wx_cv_use_aui
='wxUSE_AUI=yes'
9962 wx_cv_use_aui
='wxUSE_AUI=no'
9967 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9972 eval "$wx_cv_use_aui"
9974 if test x"$enablestring" = xdisable; then
9975 if test $wxUSE_AUI = no; then
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9985 $as_echo "$result" >&6; }
9989 defaultval=$wxUSE_ALL_FEATURES
9990 if test -z "$defaultval"; then
9991 if test x"$enablestring" = xdisable; then
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
9999 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10000 # Check whether --enable-propgrid was given.
10001 if test "${enable_propgrid+set}" = set; then :
10002 enableval=$enable_propgrid;
10003 if test "$enableval" = yes; then
10004 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
10006 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
10011 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10016 eval "$wx_cv_use_propgrid"
10018 if test x"$enablestring" = xdisable; then
10019 if test $wxUSE_PROPGRID = no; then
10025 result=$wxUSE_PROPGRID
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10029 $as_echo "$result" >&6; }
10033 defaultval=$wxUSE_ALL_FEATURES
10034 if test -z "$defaultval"; then
10035 if test x"$enablestring" = xdisable; then
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ribbon" >&5
10043 $as_echo_n "checking
for --${enablestring:-enable}-ribbon...
" >&6; }
10044 # Check whether --enable-ribbon was given.
10045 if test "${enable_ribbon+set}" = set; then :
10046 enableval=$enable_ribbon;
10047 if test "$enableval" = yes; then
10048 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10050 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10055 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10060 eval "$wx_cv_use_ribbon"
10062 if test x
"$enablestring" = xdisable
; then
10063 if test $wxUSE_RIBBON = no
; then
10069 result
=$wxUSE_RIBBON
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10073 $as_echo "$result" >&6; }
10077 defaultval
=$wxUSE_ALL_FEATURES
10078 if test -z "$defaultval"; then
10079 if test x
"$enablestring" = xdisable
; then
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10087 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10088 # Check whether --enable-stc was given.
10089 if test "${enable_stc+set}" = set; then :
10090 enableval
=$enable_stc;
10091 if test "$enableval" = yes; then
10092 wx_cv_use_stc
='wxUSE_STC=yes'
10094 wx_cv_use_stc
='wxUSE_STC=no'
10099 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10104 eval "$wx_cv_use_stc"
10106 if test x"$enablestring" = xdisable; then
10107 if test $wxUSE_STC = no; then
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10117 $as_echo "$result" >&6; }
10121 defaultval=$wxUSE_ALL_FEATURES
10122 if test -z "$defaultval"; then
10123 if test x"$enablestring" = xdisable; then
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10131 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10132 # Check whether --enable-constraints was given.
10133 if test "${enable_constraints+set}" = set; then :
10134 enableval=$enable_constraints;
10135 if test "$enableval" = yes; then
10136 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
10138 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
10143 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10148 eval "$wx_cv_use_constraints"
10150 if test x"$enablestring" = xdisable; then
10151 if test $wxUSE_CONSTRAINTS = no; then
10157 result=$wxUSE_CONSTRAINTS
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10161 $as_echo "$result" >&6; }
10165 defaultval=$wxUSE_ALL_FEATURES
10166 if test -z "$defaultval"; then
10167 if test x"$enablestring" = xdisable; then
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-loggui" >&5
10175 $as_echo_n "checking
for --${enablestring:-enable}-loggui...
" >&6; }
10176 # Check whether --enable-loggui was given.
10177 if test "${enable_loggui+set}" = set; then :
10178 enableval=$enable_loggui;
10179 if test "$enableval" = yes; then
10180 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10182 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10187 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10192 eval "$wx_cv_use_loggui"
10194 if test x
"$enablestring" = xdisable
; then
10195 if test $wxUSE_LOGGUI = no
; then
10201 result
=$wxUSE_LOGGUI
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10205 $as_echo "$result" >&6; }
10209 defaultval
=$wxUSE_ALL_FEATURES
10210 if test -z "$defaultval"; then
10211 if test x
"$enablestring" = xdisable
; then
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10219 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10220 # Check whether --enable-logwin was given.
10221 if test "${enable_logwin+set}" = set; then :
10222 enableval
=$enable_logwin;
10223 if test "$enableval" = yes; then
10224 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
10226 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
10231 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10236 eval "$wx_cv_use_logwin"
10238 if test x"$enablestring" = xdisable; then
10239 if test $wxUSE_LOGWINDOW = no; then
10245 result=$wxUSE_LOGWINDOW
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10249 $as_echo "$result" >&6; }
10253 defaultval=$wxUSE_ALL_FEATURES
10254 if test -z "$defaultval"; then
10255 if test x"$enablestring" = xdisable; then
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10263 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10264 # Check whether --enable-logdialog was given.
10265 if test "${enable_logdialog+set}" = set; then :
10266 enableval=$enable_logdialog;
10267 if test "$enableval" = yes; then
10268 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
10270 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
10275 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10280 eval "$wx_cv_use_logdialog"
10282 if test x"$enablestring" = xdisable; then
10283 if test $wxUSE_LOGDIALOG = no; then
10289 result=$wxUSE_LOGDIALOG
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10293 $as_echo "$result" >&6; }
10297 defaultval=$wxUSE_ALL_FEATURES
10298 if test -z "$defaultval"; then
10299 if test x"$enablestring" = xdisable; then
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mdi" >&5
10307 $as_echo_n "checking
for --${enablestring:-enable}-mdi...
" >&6; }
10308 # Check whether --enable-mdi was given.
10309 if test "${enable_mdi+set}" = set; then :
10310 enableval=$enable_mdi;
10311 if test "$enableval" = yes; then
10312 wx_cv_use_mdi='wxUSE_MDI=yes'
10314 wx_cv_use_mdi='wxUSE_MDI=no'
10319 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10324 eval "$wx_cv_use_mdi"
10326 if test x
"$enablestring" = xdisable
; then
10327 if test $wxUSE_MDI = no
; then
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10337 $as_echo "$result" >&6; }
10341 defaultval
=$wxUSE_ALL_FEATURES
10342 if test -z "$defaultval"; then
10343 if test x
"$enablestring" = xdisable
; then
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10351 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10352 # Check whether --enable-mdidoc was given.
10353 if test "${enable_mdidoc+set}" = set; then :
10354 enableval
=$enable_mdidoc;
10355 if test "$enableval" = yes; then
10356 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
10358 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
10363 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10368 eval "$wx_cv_use_mdidoc"
10370 if test x"$enablestring" = xdisable; then
10371 if test $wxUSE_MDI_ARCHITECTURE = no; then
10377 result=$wxUSE_MDI_ARCHITECTURE
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10381 $as_echo "$result" >&6; }
10385 defaultval=$wxUSE_ALL_FEATURES
10386 if test -z "$defaultval"; then
10387 if test x"$enablestring" = xdisable; then
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10395 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10396 # Check whether --enable-mediactrl was given.
10397 if test "${enable_mediactrl+set}" = set; then :
10398 enableval=$enable_mediactrl;
10399 if test "$enableval" = yes; then
10400 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
10402 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
10407 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10412 eval "$wx_cv_use_mediactrl"
10414 if test x"$enablestring" = xdisable; then
10415 if test $wxUSE_MEDIACTRL = no; then
10421 result=$wxUSE_MEDIACTRL
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10425 $as_echo "$result" >&6; }
10429 defaultval=$wxUSE_ALL_FEATURES
10430 if test -z "$defaultval"; then
10431 if test x"$enablestring" = xdisable; then
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gstreamer8" >&5
10439 $as_echo_n "checking
for --${enablestring:-enable}-gstreamer8...
" >&6; }
10440 # Check whether --enable-gstreamer8 was given.
10441 if test "${enable_gstreamer8+set}" = set; then :
10442 enableval=$enable_gstreamer8;
10443 if test "$enableval" = yes; then
10444 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10446 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10451 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10456 eval "$wx_cv_use_gstreamer8"
10458 if test x
"$enablestring" = xdisable
; then
10459 if test $wxUSE_GSTREAMER8 = no
; then
10465 result
=$wxUSE_GSTREAMER8
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10469 $as_echo "$result" >&6; }
10473 defaultval
=$wxUSE_ALL_FEATURES
10474 if test -z "$defaultval"; then
10475 if test x
"$enablestring" = xdisable
; then
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10483 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10484 # Check whether --enable-richtext was given.
10485 if test "${enable_richtext+set}" = set; then :
10486 enableval
=$enable_richtext;
10487 if test "$enableval" = yes; then
10488 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
10490 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
10495 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10500 eval "$wx_cv_use_richtext"
10502 if test x"$enablestring" = xdisable; then
10503 if test $wxUSE_RICHTEXT = no; then
10509 result=$wxUSE_RICHTEXT
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10513 $as_echo "$result" >&6; }
10517 defaultval=$wxUSE_ALL_FEATURES
10518 if test -z "$defaultval"; then
10519 if test x"$enablestring" = xdisable; then
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10527 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10528 # Check whether --enable-postscript was given.
10529 if test "${enable_postscript+set}" = set; then :
10530 enableval=$enable_postscript;
10531 if test "$enableval" = yes; then
10532 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
10534 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
10539 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10544 eval "$wx_cv_use_postscript"
10546 if test x"$enablestring" = xdisable; then
10547 if test $wxUSE_POSTSCRIPT = no; then
10553 result=$wxUSE_POSTSCRIPT
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10557 $as_echo "$result" >&6; }
10561 defaultval=$wxUSE_ALL_FEATURES
10562 if test -z "$defaultval"; then
10563 if test x"$enablestring" = xdisable; then
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-printarch" >&5
10571 $as_echo_n "checking
for --${enablestring:-enable}-printarch...
" >&6; }
10572 # Check whether --enable-printarch was given.
10573 if test "${enable_printarch+set}" = set; then :
10574 enableval=$enable_printarch;
10575 if test "$enableval" = yes; then
10576 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10578 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10583 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10588 eval "$wx_cv_use_printarch"
10590 if test x
"$enablestring" = xdisable
; then
10591 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
10597 result
=$wxUSE_PRINTING_ARCHITECTURE
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10601 $as_echo "$result" >&6; }
10605 defaultval
=$wxUSE_ALL_FEATURES
10606 if test -z "$defaultval"; then
10607 if test x
"$enablestring" = xdisable
; then
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10615 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10616 # Check whether --enable-svg was given.
10617 if test "${enable_svg+set}" = set; then :
10618 enableval
=$enable_svg;
10619 if test "$enableval" = yes; then
10620 wx_cv_use_svg
='wxUSE_SVG=yes'
10622 wx_cv_use_svg
='wxUSE_SVG=no'
10627 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10632 eval "$wx_cv_use_svg"
10634 if test x"$enablestring" = xdisable; then
10635 if test $wxUSE_SVG = no; then
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10645 $as_echo "$result" >&6; }
10649 defaultval=$wxUSE_ALL_FEATURES
10650 if test -z "$defaultval"; then
10651 if test x"$enablestring" = xdisable; then
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10659 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10660 # Check whether --enable-webkit was given.
10661 if test "${enable_webkit+set}" = set; then :
10662 enableval=$enable_webkit;
10663 if test "$enableval" = yes; then
10664 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
10666 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
10671 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10676 eval "$wx_cv_use_webkit"
10678 if test x"$enablestring" = xdisable; then
10679 if test $wxUSE_WEBKIT = no; then
10685 result=$wxUSE_WEBKIT
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10689 $as_echo "$result" >&6; }
10693 defaultval=$wxUSE_ALL_FEATURES
10694 if test -z "$defaultval"; then
10695 if test x"$enablestring" = xdisable; then
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webview" >&5
10703 $as_echo_n "checking
for --${enablestring:-enable}-webview...
" >&6; }
10704 # Check whether --enable-webview was given.
10705 if test "${enable_webview+set}" = set; then :
10706 enableval=$enable_webview;
10707 if test "$enableval" = yes; then
10708 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10710 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10715 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10720 eval "$wx_cv_use_webview"
10722 if test x
"$enablestring" = xdisable
; then
10723 if test $wxUSE_WEBVIEW = no
; then
10729 result
=$wxUSE_WEBVIEW
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10733 $as_echo "$result" >&6; }
10736 if test "$wxUSE_MAC" != 1; then
10739 defaultval
=$wxUSE_ALL_FEATURES
10740 if test -z "$defaultval"; then
10741 if test x
"$enablestring" = xdisable
; then
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10749 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10750 # Check whether --enable-graphics_ctx was given.
10751 if test "${enable_graphics_ctx+set}" = set; then :
10752 enableval
=$enable_graphics_ctx;
10753 if test "$enableval" = yes; then
10754 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
10756 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
10761 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10766 eval "$wx_cv_use_graphics_ctx"
10768 if test x"$enablestring" = xdisable; then
10769 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10775 result=$wxUSE_GRAPHICS_CONTEXT
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10779 $as_echo "$result" >&6; }
10786 defaultval=$wxUSE_ALL_FEATURES
10787 if test -z "$defaultval"; then
10788 if test x"$enablestring" = xdisable; then
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10796 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10797 # Check whether --enable-clipboard was given.
10798 if test "${enable_clipboard+set}" = set; then :
10799 enableval=$enable_clipboard;
10800 if test "$enableval" = yes; then
10801 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
10803 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
10808 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10813 eval "$wx_cv_use_clipboard"
10815 if test x"$enablestring" = xdisable; then
10816 if test $wxUSE_CLIPBOARD = no; then
10822 result=$wxUSE_CLIPBOARD
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10826 $as_echo "$result" >&6; }
10830 defaultval=$wxUSE_ALL_FEATURES
10831 if test -z "$defaultval"; then
10832 if test x"$enablestring" = xdisable; then
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dnd" >&5
10840 $as_echo_n "checking
for --${enablestring:-enable}-dnd...
" >&6; }
10841 # Check whether --enable-dnd was given.
10842 if test "${enable_dnd+set}" = set; then :
10843 enableval=$enable_dnd;
10844 if test "$enableval" = yes; then
10845 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10847 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10852 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10857 eval "$wx_cv_use_dnd"
10859 if test x
"$enablestring" = xdisable
; then
10860 if test $wxUSE_DRAG_AND_DROP = no
; then
10866 result
=$wxUSE_DRAG_AND_DROP
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10870 $as_echo "$result" >&6; }
10874 DEFAULT_wxUSE_CONTROLS
=none
10876 enablestring
=disable
10878 if test -z "$defaultval"; then
10879 if test x
"$enablestring" = xdisable
; then
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10887 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10888 # Check whether --enable-controls was given.
10889 if test "${enable_controls+set}" = set; then :
10890 enableval
=$enable_controls;
10891 if test "$enableval" = yes; then
10892 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
10894 wx_cv_use_controls
='wxUSE_CONTROLS=no'
10899 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10904 eval "$wx_cv_use_controls"
10906 if test x"$enablestring" = xdisable; then
10907 if test $wxUSE_CONTROLS = no; then
10913 result=$wxUSE_CONTROLS
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10917 $as_echo "$result" >&6; }
10920 if test "$wxUSE_CONTROLS" = "no"; then
10921 DEFAULT_wxUSE_ACCEL=no
10922 DEFAULT_wxUSE_ANIMATIONCTRL=no
10923 DEFAULT_wxUSE_BANNERWINDOW=no
10924 DEFAULT_wxUSE_BMPBUTTON=no
10925 DEFAULT_wxUSE_BUTTON=no
10926 DEFAULT_wxUSE_CALCTRL=no
10927 DEFAULT_wxUSE_CARET=no
10928 DEFAULT_wxUSE_CHECKBOX=no
10929 DEFAULT_wxUSE_CHECKLISTBOX=no
10930 DEFAULT_wxUSE_CHOICE=no
10931 DEFAULT_wxUSE_CHOICEBOOK=no
10932 DEFAULT_wxUSE_COLLPANE=no
10933 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10934 DEFAULT_wxUSE_COMBOBOX=no
10935 DEFAULT_wxUSE_COMBOBOX=no
10936 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10937 DEFAULT_wxUSE_DATAVIEWCTRL=no
10938 DEFAULT_wxUSE_DATEPICKCTRL=no
10939 DEFAULT_wxUSE_DETECT_SM=no
10940 DEFAULT_wxUSE_DIRPICKERCTRL=no
10941 DEFAULT_wxUSE_DISPLAY=no
10942 DEFAULT_wxUSE_FILECTRL=no
10943 DEFAULT_wxUSE_FILEPICKERCTRL=no
10944 DEFAULT_wxUSE_FONTPICKERCTRL=no
10945 DEFAULT_wxUSE_GAUGE=no
10946 DEFAULT_wxUSE_GRID=no
10947 DEFAULT_wxUSE_HEADERCTRL=no
10948 DEFAULT_wxUSE_HYPERLINKCTRL=no
10949 DEFAULT_wxUSE_IMAGLIST=no
10950 DEFAULT_wxUSE_LISTBOOK=no
10951 DEFAULT_wxUSE_LISTBOX=no
10952 DEFAULT_wxUSE_LISTCTRL=no
10953 DEFAULT_wxUSE_MARKUP=no
10954 DEFAULT_wxUSE_NOTEBOOK=no
10955 DEFAULT_wxUSE_POPUPWIN=no
10956 DEFAULT_wxUSE_RADIOBOX=no
10957 DEFAULT_wxUSE_RADIOBTN=no
10958 DEFAULT_wxUSE_RICHMSGDLG=no
10959 DEFAULT_wxUSE_RICHTOOLTIP=no
10960 DEFAULT_wxUSE_REARRANGECTRL=no
10961 DEFAULT_wxUSE_SASH=no
10962 DEFAULT_wxUSE_SCROLLBAR=no
10963 DEFAULT_wxUSE_SEARCHCTRL=no
10964 DEFAULT_wxUSE_SLIDER=no
10965 DEFAULT_wxUSE_SPINBTN=no
10966 DEFAULT_wxUSE_SPINCTRL=no
10967 DEFAULT_wxUSE_SPLITTER=no
10968 DEFAULT_wxUSE_STATBMP=no
10969 DEFAULT_wxUSE_STATBOX=no
10970 DEFAULT_wxUSE_STATLINE=no
10971 DEFAULT_wxUSE_STATUSBAR=no
10972 DEFAULT_wxUSE_TIMEPICKCTRL=no
10973 DEFAULT_wxUSE_TIPWINDOW=no
10974 DEFAULT_wxUSE_TOGGLEBTN=no
10975 DEFAULT_wxUSE_TOOLBAR=no
10976 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10977 DEFAULT_wxUSE_TOOLBOOK=no
10978 DEFAULT_wxUSE_TOOLTIPS=no
10979 DEFAULT_wxUSE_TREEBOOK=no
10980 DEFAULT_wxUSE_TREECTRL=no
10981 DEFAULT_wxUSE_TREELISTCTRL=no
10986 defaultval=$wxUSE_ALL_FEATURES
10987 if test -z "$defaultval"; then
10988 if test x"$enablestring" = xdisable; then
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
10996 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
10997 # Check whether --enable-markup was given.
10998 if test "${enable_markup+set}" = set; then :
10999 enableval=$enable_markup;
11000 if test "$enableval" = yes; then
11001 wx_cv_use_markup='wxUSE_MARKUP
=yes'
11003 wx_cv_use_markup='wxUSE_MARKUP
=no
'
11008 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11013 eval "$wx_cv_use_markup"
11015 if test x"$enablestring" = xdisable; then
11016 if test $wxUSE_MARKUP = no; then
11022 result=$wxUSE_MARKUP
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11026 $as_echo "$result" >&6; }
11031 defaultval=$wxUSE_ALL_FEATURES
11032 if test -z "$defaultval"; then
11033 if test x"$enablestring" = xdisable; then
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-accel" >&5
11041 $as_echo_n "checking
for --${enablestring:-enable}-accel...
" >&6; }
11042 # Check whether --enable-accel was given.
11043 if test "${enable_accel+set}" = set; then :
11044 enableval=$enable_accel;
11045 if test "$enableval" = yes; then
11046 wx_cv_use_accel='wxUSE_ACCEL=yes'
11048 wx_cv_use_accel='wxUSE_ACCEL=no'
11053 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11058 eval "$wx_cv_use_accel"
11060 if test x
"$enablestring" = xdisable
; then
11061 if test $wxUSE_ACCEL = no
; then
11067 result
=$wxUSE_ACCEL
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11071 $as_echo "$result" >&6; }
11075 defaultval
=$wxUSE_ALL_FEATURES
11076 if test -z "$defaultval"; then
11077 if test x
"$enablestring" = xdisable
; then
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11085 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11086 # Check whether --enable-animatectrl was given.
11087 if test "${enable_animatectrl+set}" = set; then :
11088 enableval
=$enable_animatectrl;
11089 if test "$enableval" = yes; then
11090 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
11092 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
11097 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11102 eval "$wx_cv_use_animatectrl"
11104 if test x"$enablestring" = xdisable; then
11105 if test $wxUSE_ANIMATIONCTRL = no; then
11111 result=$wxUSE_ANIMATIONCTRL
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11115 $as_echo "$result" >&6; }
11119 defaultval=$wxUSE_ALL_FEATURES
11120 if test -z "$defaultval"; then
11121 if test x"$enablestring" = xdisable; then
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11129 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11130 # Check whether --enable-bannerwindow was given.
11131 if test "${enable_bannerwindow+set}" = set; then :
11132 enableval=$enable_bannerwindow;
11133 if test "$enableval" = yes; then
11134 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=yes'
11136 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=no
'
11141 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11146 eval "$wx_cv_use_bannerwindow"
11148 if test x"$enablestring" = xdisable; then
11149 if test $wxUSE_BANNERWINDOW = no; then
11155 result=$wxUSE_BANNERWINDOW
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11159 $as_echo "$result" >&6; }
11163 defaultval=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x"$enablestring" = xdisable; then
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-artstd" >&5
11173 $as_echo_n "checking
for --${enablestring:-enable}-artstd...
" >&6; }
11174 # Check whether --enable-artstd was given.
11175 if test "${enable_artstd+set}" = set; then :
11176 enableval=$enable_artstd;
11177 if test "$enableval" = yes; then
11178 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11180 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11185 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11190 eval "$wx_cv_use_artstd"
11192 if test x
"$enablestring" = xdisable
; then
11193 if test $wxUSE_ARTPROVIDER_STD = no
; then
11199 result
=$wxUSE_ARTPROVIDER_STD
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11203 $as_echo "$result" >&6; }
11207 defaultval
=$wxUSE_ALL_FEATURES
11208 if test -z "$defaultval"; then
11209 if test x
"$enablestring" = xdisable
; then
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11217 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11218 # Check whether --enable-arttango was given.
11219 if test "${enable_arttango+set}" = set; then :
11220 enableval
=$enable_arttango;
11221 if test "$enableval" = yes; then
11222 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
11224 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
11229 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11234 eval "$wx_cv_use_arttango"
11236 if test x"$enablestring" = xdisable; then
11237 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11243 result=$wxUSE_ARTPROVIDER_TANGO
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11247 $as_echo "$result" >&6; }
11251 defaultval=$wxUSE_ALL_FEATURES
11252 if test -z "$defaultval"; then
11253 if test x"$enablestring" = xdisable; then
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11261 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11262 # Check whether --enable-bmpbutton was given.
11263 if test "${enable_bmpbutton+set}" = set; then :
11264 enableval=$enable_bmpbutton;
11265 if test "$enableval" = yes; then
11266 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
11268 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
11273 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11278 eval "$wx_cv_use_bmpbutton"
11280 if test x"$enablestring" = xdisable; then
11281 if test $wxUSE_BMPBUTTON = no; then
11287 result=$wxUSE_BMPBUTTON
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11291 $as_echo "$result" >&6; }
11295 defaultval=$wxUSE_ALL_FEATURES
11296 if test -z "$defaultval"; then
11297 if test x"$enablestring" = xdisable; then
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bmpcombobox" >&5
11305 $as_echo_n "checking
for --${enablestring:-enable}-bmpcombobox...
" >&6; }
11306 # Check whether --enable-bmpcombobox was given.
11307 if test "${enable_bmpcombobox+set}" = set; then :
11308 enableval=$enable_bmpcombobox;
11309 if test "$enableval" = yes; then
11310 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11312 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11317 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11322 eval "$wx_cv_use_bmpcombobox"
11324 if test x
"$enablestring" = xdisable
; then
11325 if test $wxUSE_BITMAPCOMBOBOX = no
; then
11331 result
=$wxUSE_BITMAPCOMBOBOX
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11335 $as_echo "$result" >&6; }
11339 defaultval
=$wxUSE_ALL_FEATURES
11340 if test -z "$defaultval"; then
11341 if test x
"$enablestring" = xdisable
; then
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11349 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11350 # Check whether --enable-button was given.
11351 if test "${enable_button+set}" = set; then :
11352 enableval
=$enable_button;
11353 if test "$enableval" = yes; then
11354 wx_cv_use_button
='wxUSE_BUTTON=yes'
11356 wx_cv_use_button
='wxUSE_BUTTON=no'
11361 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11366 eval "$wx_cv_use_button"
11368 if test x"$enablestring" = xdisable; then
11369 if test $wxUSE_BUTTON = no; then
11375 result=$wxUSE_BUTTON
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11379 $as_echo "$result" >&6; }
11383 defaultval=$wxUSE_ALL_FEATURES
11384 if test -z "$defaultval"; then
11385 if test x"$enablestring" = xdisable; then
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11393 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11394 # Check whether --enable-calendar was given.
11395 if test "${enable_calendar+set}" = set; then :
11396 enableval=$enable_calendar;
11397 if test "$enableval" = yes; then
11398 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
11400 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
11405 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11410 eval "$wx_cv_use_calendar"
11412 if test x"$enablestring" = xdisable; then
11413 if test $wxUSE_CALCTRL = no; then
11419 result=$wxUSE_CALCTRL
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11423 $as_echo "$result" >&6; }
11427 defaultval=$wxUSE_ALL_FEATURES
11428 if test -z "$defaultval"; then
11429 if test x"$enablestring" = xdisable; then
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-caret" >&5
11437 $as_echo_n "checking
for --${enablestring:-enable}-caret...
" >&6; }
11438 # Check whether --enable-caret was given.
11439 if test "${enable_caret+set}" = set; then :
11440 enableval=$enable_caret;
11441 if test "$enableval" = yes; then
11442 wx_cv_use_caret='wxUSE_CARET=yes'
11444 wx_cv_use_caret='wxUSE_CARET=no'
11449 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11454 eval "$wx_cv_use_caret"
11456 if test x
"$enablestring" = xdisable
; then
11457 if test $wxUSE_CARET = no
; then
11463 result
=$wxUSE_CARET
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11467 $as_echo "$result" >&6; }
11471 defaultval
=$wxUSE_ALL_FEATURES
11472 if test -z "$defaultval"; then
11473 if test x
"$enablestring" = xdisable
; then
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11481 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11482 # Check whether --enable-checkbox was given.
11483 if test "${enable_checkbox+set}" = set; then :
11484 enableval
=$enable_checkbox;
11485 if test "$enableval" = yes; then
11486 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
11488 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
11493 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11498 eval "$wx_cv_use_checkbox"
11500 if test x"$enablestring" = xdisable; then
11501 if test $wxUSE_CHECKBOX = no; then
11507 result=$wxUSE_CHECKBOX
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11511 $as_echo "$result" >&6; }
11515 defaultval=$wxUSE_ALL_FEATURES
11516 if test -z "$defaultval"; then
11517 if test x"$enablestring" = xdisable; then
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11525 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11526 # Check whether --enable-checklst was given.
11527 if test "${enable_checklst+set}" = set; then :
11528 enableval=$enable_checklst;
11529 if test "$enableval" = yes; then
11530 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
11532 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
11537 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11542 eval "$wx_cv_use_checklst"
11544 if test x"$enablestring" = xdisable; then
11545 if test $wxUSE_CHECKLST = no; then
11551 result=$wxUSE_CHECKLST
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11555 $as_echo "$result" >&6; }
11559 defaultval=$wxUSE_ALL_FEATURES
11560 if test -z "$defaultval"; then
11561 if test x"$enablestring" = xdisable; then
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-choice" >&5
11569 $as_echo_n "checking
for --${enablestring:-enable}-choice...
" >&6; }
11570 # Check whether --enable-choice was given.
11571 if test "${enable_choice+set}" = set; then :
11572 enableval=$enable_choice;
11573 if test "$enableval" = yes; then
11574 wx_cv_use_choice='wxUSE_CHOICE=yes'
11576 wx_cv_use_choice='wxUSE_CHOICE=no'
11581 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11586 eval "$wx_cv_use_choice"
11588 if test x
"$enablestring" = xdisable
; then
11589 if test $wxUSE_CHOICE = no
; then
11595 result
=$wxUSE_CHOICE
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11599 $as_echo "$result" >&6; }
11603 defaultval
=$wxUSE_ALL_FEATURES
11604 if test -z "$defaultval"; then
11605 if test x
"$enablestring" = xdisable
; then
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11613 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11614 # Check whether --enable-choicebook was given.
11615 if test "${enable_choicebook+set}" = set; then :
11616 enableval
=$enable_choicebook;
11617 if test "$enableval" = yes; then
11618 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
11620 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
11625 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11630 eval "$wx_cv_use_choicebook"
11632 if test x"$enablestring" = xdisable; then
11633 if test $wxUSE_CHOICEBOOK = no; then
11639 result=$wxUSE_CHOICEBOOK
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11643 $as_echo "$result" >&6; }
11647 defaultval=$wxUSE_ALL_FEATURES
11648 if test -z "$defaultval"; then
11649 if test x"$enablestring" = xdisable; then
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11657 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11658 # Check whether --enable-collpane was given.
11659 if test "${enable_collpane+set}" = set; then :
11660 enableval=$enable_collpane;
11661 if test "$enableval" = yes; then
11662 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
11664 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
11669 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11674 eval "$wx_cv_use_collpane"
11676 if test x"$enablestring" = xdisable; then
11677 if test $wxUSE_COLLPANE = no; then
11683 result=$wxUSE_COLLPANE
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11687 $as_echo "$result" >&6; }
11691 defaultval=$wxUSE_ALL_FEATURES
11692 if test -z "$defaultval"; then
11693 if test x"$enablestring" = xdisable; then
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-colourpicker" >&5
11701 $as_echo_n "checking
for --${enablestring:-enable}-colourpicker...
" >&6; }
11702 # Check whether --enable-colourpicker was given.
11703 if test "${enable_colourpicker+set}" = set; then :
11704 enableval=$enable_colourpicker;
11705 if test "$enableval" = yes; then
11706 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11708 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11713 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11718 eval "$wx_cv_use_colourpicker"
11720 if test x
"$enablestring" = xdisable
; then
11721 if test $wxUSE_COLOURPICKERCTRL = no
; then
11727 result
=$wxUSE_COLOURPICKERCTRL
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11731 $as_echo "$result" >&6; }
11735 defaultval
=$wxUSE_ALL_FEATURES
11736 if test -z "$defaultval"; then
11737 if test x
"$enablestring" = xdisable
; then
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11745 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11746 # Check whether --enable-combobox was given.
11747 if test "${enable_combobox+set}" = set; then :
11748 enableval
=$enable_combobox;
11749 if test "$enableval" = yes; then
11750 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
11752 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
11757 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11762 eval "$wx_cv_use_combobox"
11764 if test x"$enablestring" = xdisable; then
11765 if test $wxUSE_COMBOBOX = no; then
11771 result=$wxUSE_COMBOBOX
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11775 $as_echo "$result" >&6; }
11779 defaultval=$wxUSE_ALL_FEATURES
11780 if test -z "$defaultval"; then
11781 if test x"$enablestring" = xdisable; then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11789 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11790 # Check whether --enable-comboctrl was given.
11791 if test "${enable_comboctrl+set}" = set; then :
11792 enableval=$enable_comboctrl;
11793 if test "$enableval" = yes; then
11794 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
11796 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
11801 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11806 eval "$wx_cv_use_comboctrl"
11808 if test x"$enablestring" = xdisable; then
11809 if test $wxUSE_COMBOCTRL = no; then
11815 result=$wxUSE_COMBOCTRL
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11819 $as_echo "$result" >&6; }
11823 defaultval=$wxUSE_ALL_FEATURES
11824 if test -z "$defaultval"; then
11825 if test x"$enablestring" = xdisable; then
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
11833 $as_echo_n "checking
for --${enablestring:-enable}-commandlinkbutton...
" >&6; }
11834 # Check whether --enable-commandlinkbutton was given.
11835 if test "${enable_commandlinkbutton+set}" = set; then :
11836 enableval=$enable_commandlinkbutton;
11837 if test "$enableval" = yes; then
11838 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11840 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11845 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11850 eval "$wx_cv_use_commandlinkbutton"
11852 if test x
"$enablestring" = xdisable
; then
11853 if test $wxUSE_COMMANDLINKBUTTON = no
; then
11859 result
=$wxUSE_COMMANDLINKBUTTON
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11863 $as_echo "$result" >&6; }
11867 defaultval
=$wxUSE_ALL_FEATURES
11868 if test -z "$defaultval"; then
11869 if test x
"$enablestring" = xdisable
; then
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11877 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11878 # Check whether --enable-dataviewctrl was given.
11879 if test "${enable_dataviewctrl+set}" = set; then :
11880 enableval
=$enable_dataviewctrl;
11881 if test "$enableval" = yes; then
11882 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
11884 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
11889 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11894 eval "$wx_cv_use_dataviewctrl"
11896 if test x"$enablestring" = xdisable; then
11897 if test $wxUSE_DATAVIEWCTRL = no; then
11903 result=$wxUSE_DATAVIEWCTRL
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11907 $as_echo "$result" >&6; }
11911 defaultval=$wxUSE_ALL_FEATURES
11912 if test -z "$defaultval"; then
11913 if test x"$enablestring" = xdisable; then
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11921 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11922 # Check whether --enable-datepick was given.
11923 if test "${enable_datepick+set}" = set; then :
11924 enableval=$enable_datepick;
11925 if test "$enableval" = yes; then
11926 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
11928 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
11933 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11938 eval "$wx_cv_use_datepick"
11940 if test x"$enablestring" = xdisable; then
11941 if test $wxUSE_DATEPICKCTRL = no; then
11947 result=$wxUSE_DATEPICKCTRL
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11951 $as_echo "$result" >&6; }
11955 defaultval=$wxUSE_ALL_FEATURES
11956 if test -z "$defaultval"; then
11957 if test x"$enablestring" = xdisable; then
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-detect_sm" >&5
11965 $as_echo_n "checking
for --${enablestring:-enable}-detect_sm...
" >&6; }
11966 # Check whether --enable-detect_sm was given.
11967 if test "${enable_detect_sm+set}" = set; then :
11968 enableval=$enable_detect_sm;
11969 if test "$enableval" = yes; then
11970 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11972 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11977 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11982 eval "$wx_cv_use_detect_sm"
11984 if test x
"$enablestring" = xdisable
; then
11985 if test $wxUSE_DETECT_SM = no
; then
11991 result
=$wxUSE_DETECT_SM
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11995 $as_echo "$result" >&6; }
11999 defaultval
=$wxUSE_ALL_FEATURES
12000 if test -z "$defaultval"; then
12001 if test x
"$enablestring" = xdisable
; then
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12009 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12010 # Check whether --enable-dirpicker was given.
12011 if test "${enable_dirpicker+set}" = set; then :
12012 enableval
=$enable_dirpicker;
12013 if test "$enableval" = yes; then
12014 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
12016 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
12021 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12026 eval "$wx_cv_use_dirpicker"
12028 if test x"$enablestring" = xdisable; then
12029 if test $wxUSE_DIRPICKERCTRL = no; then
12035 result=$wxUSE_DIRPICKERCTRL
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12039 $as_echo "$result" >&6; }
12043 defaultval=$wxUSE_ALL_FEATURES
12044 if test -z "$defaultval"; then
12045 if test x"$enablestring" = xdisable; then
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12053 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12054 # Check whether --enable-display was given.
12055 if test "${enable_display+set}" = set; then :
12056 enableval=$enable_display;
12057 if test "$enableval" = yes; then
12058 wx_cv_use_display='wxUSE_DISPLAY
=yes'
12060 wx_cv_use_display='wxUSE_DISPLAY
=no
'
12065 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12070 eval "$wx_cv_use_display"
12072 if test x"$enablestring" = xdisable; then
12073 if test $wxUSE_DISPLAY = no; then
12079 result=$wxUSE_DISPLAY
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12083 $as_echo "$result" >&6; }
12087 defaultval=$wxUSE_ALL_FEATURES
12088 if test -z "$defaultval"; then
12089 if test x"$enablestring" = xdisable; then
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-editablebox" >&5
12097 $as_echo_n "checking
for --${enablestring:-enable}-editablebox...
" >&6; }
12098 # Check whether --enable-editablebox was given.
12099 if test "${enable_editablebox+set}" = set; then :
12100 enableval=$enable_editablebox;
12101 if test "$enableval" = yes; then
12102 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12104 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12109 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12114 eval "$wx_cv_use_editablebox"
12116 if test x
"$enablestring" = xdisable
; then
12117 if test $wxUSE_EDITABLELISTBOX = no
; then
12123 result
=$wxUSE_EDITABLELISTBOX
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12127 $as_echo "$result" >&6; }
12131 defaultval
=$wxUSE_ALL_FEATURES
12132 if test -z "$defaultval"; then
12133 if test x
"$enablestring" = xdisable
; then
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12141 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12142 # Check whether --enable-filectrl was given.
12143 if test "${enable_filectrl+set}" = set; then :
12144 enableval
=$enable_filectrl;
12145 if test "$enableval" = yes; then
12146 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
12148 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
12153 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12158 eval "$wx_cv_use_filectrl"
12160 if test x"$enablestring" = xdisable; then
12161 if test $wxUSE_FILECTRL = no; then
12167 result=$wxUSE_FILECTRL
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12171 $as_echo "$result" >&6; }
12175 defaultval=$wxUSE_ALL_FEATURES
12176 if test -z "$defaultval"; then
12177 if test x"$enablestring" = xdisable; then
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12185 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12186 # Check whether --enable-filepicker was given.
12187 if test "${enable_filepicker+set}" = set; then :
12188 enableval=$enable_filepicker;
12189 if test "$enableval" = yes; then
12190 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
12192 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
12197 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12202 eval "$wx_cv_use_filepicker"
12204 if test x"$enablestring" = xdisable; then
12205 if test $wxUSE_FILEPICKERCTRL = no; then
12211 result=$wxUSE_FILEPICKERCTRL
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12215 $as_echo "$result" >&6; }
12219 defaultval=$wxUSE_ALL_FEATURES
12220 if test -z "$defaultval"; then
12221 if test x"$enablestring" = xdisable; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontpicker" >&5
12229 $as_echo_n "checking
for --${enablestring:-enable}-fontpicker...
" >&6; }
12230 # Check whether --enable-fontpicker was given.
12231 if test "${enable_fontpicker+set}" = set; then :
12232 enableval=$enable_fontpicker;
12233 if test "$enableval" = yes; then
12234 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12236 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12241 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12246 eval "$wx_cv_use_fontpicker"
12248 if test x
"$enablestring" = xdisable
; then
12249 if test $wxUSE_FONTPICKERCTRL = no
; then
12255 result
=$wxUSE_FONTPICKERCTRL
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12259 $as_echo "$result" >&6; }
12263 defaultval
=$wxUSE_ALL_FEATURES
12264 if test -z "$defaultval"; then
12265 if test x
"$enablestring" = xdisable
; then
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12273 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12274 # Check whether --enable-gauge was given.
12275 if test "${enable_gauge+set}" = set; then :
12276 enableval
=$enable_gauge;
12277 if test "$enableval" = yes; then
12278 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
12280 wx_cv_use_gauge
='wxUSE_GAUGE=no'
12285 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12290 eval "$wx_cv_use_gauge"
12292 if test x"$enablestring" = xdisable; then
12293 if test $wxUSE_GAUGE = no; then
12299 result=$wxUSE_GAUGE
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12303 $as_echo "$result" >&6; }
12307 defaultval=$wxUSE_ALL_FEATURES
12308 if test -z "$defaultval"; then
12309 if test x"$enablestring" = xdisable; then
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12317 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12318 # Check whether --enable-grid was given.
12319 if test "${enable_grid+set}" = set; then :
12320 enableval=$enable_grid;
12321 if test "$enableval" = yes; then
12322 wx_cv_use_grid='wxUSE_GRID
=yes'
12324 wx_cv_use_grid='wxUSE_GRID
=no
'
12329 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12334 eval "$wx_cv_use_grid"
12336 if test x"$enablestring" = xdisable; then
12337 if test $wxUSE_GRID = no; then
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12347 $as_echo "$result" >&6; }
12351 defaultval=$wxUSE_ALL_FEATURES
12352 if test -z "$defaultval"; then
12353 if test x"$enablestring" = xdisable; then
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-headerctrl" >&5
12361 $as_echo_n "checking
for --${enablestring:-enable}-headerctrl...
" >&6; }
12362 # Check whether --enable-headerctrl was given.
12363 if test "${enable_headerctrl+set}" = set; then :
12364 enableval=$enable_headerctrl;
12365 if test "$enableval" = yes; then
12366 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12368 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12373 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12378 eval "$wx_cv_use_headerctrl"
12380 if test x
"$enablestring" = xdisable
; then
12381 if test $wxUSE_HEADERCTRL = no
; then
12387 result
=$wxUSE_HEADERCTRL
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12391 $as_echo "$result" >&6; }
12395 defaultval
=$wxUSE_ALL_FEATURES
12396 if test -z "$defaultval"; then
12397 if test x
"$enablestring" = xdisable
; then
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12405 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12406 # Check whether --enable-hyperlink was given.
12407 if test "${enable_hyperlink+set}" = set; then :
12408 enableval
=$enable_hyperlink;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
12412 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
12417 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12422 eval "$wx_cv_use_hyperlink"
12424 if test x"$enablestring" = xdisable; then
12425 if test $wxUSE_HYPERLINKCTRL = no; then
12431 result=$wxUSE_HYPERLINKCTRL
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12435 $as_echo "$result" >&6; }
12439 defaultval=$wxUSE_ALL_FEATURES
12440 if test -z "$defaultval"; then
12441 if test x"$enablestring" = xdisable; then
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12449 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12450 # Check whether --enable-imaglist was given.
12451 if test "${enable_imaglist+set}" = set; then :
12452 enableval=$enable_imaglist;
12453 if test "$enableval" = yes; then
12454 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
12456 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
12461 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12466 eval "$wx_cv_use_imaglist"
12468 if test x"$enablestring" = xdisable; then
12469 if test $wxUSE_IMAGLIST = no; then
12475 result=$wxUSE_IMAGLIST
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12479 $as_echo "$result" >&6; }
12483 defaultval=$wxUSE_ALL_FEATURES
12484 if test -z "$defaultval"; then
12485 if test x"$enablestring" = xdisable; then
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-infobar" >&5
12493 $as_echo_n "checking
for --${enablestring:-enable}-infobar...
" >&6; }
12494 # Check whether --enable-infobar was given.
12495 if test "${enable_infobar+set}" = set; then :
12496 enableval=$enable_infobar;
12497 if test "$enableval" = yes; then
12498 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12500 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12505 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12510 eval "$wx_cv_use_infobar"
12512 if test x
"$enablestring" = xdisable
; then
12513 if test $wxUSE_INFOBAR = no
; then
12519 result
=$wxUSE_INFOBAR
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12523 $as_echo "$result" >&6; }
12527 defaultval
=$wxUSE_ALL_FEATURES
12528 if test -z "$defaultval"; then
12529 if test x
"$enablestring" = xdisable
; then
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12537 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12538 # Check whether --enable-listbook was given.
12539 if test "${enable_listbook+set}" = set; then :
12540 enableval
=$enable_listbook;
12541 if test "$enableval" = yes; then
12542 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
12544 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
12549 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12554 eval "$wx_cv_use_listbook"
12556 if test x"$enablestring" = xdisable; then
12557 if test $wxUSE_LISTBOOK = no; then
12563 result=$wxUSE_LISTBOOK
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12567 $as_echo "$result" >&6; }
12571 defaultval=$wxUSE_ALL_FEATURES
12572 if test -z "$defaultval"; then
12573 if test x"$enablestring" = xdisable; then
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12581 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12582 # Check whether --enable-listbox was given.
12583 if test "${enable_listbox+set}" = set; then :
12584 enableval=$enable_listbox;
12585 if test "$enableval" = yes; then
12586 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
12588 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
12593 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12598 eval "$wx_cv_use_listbox"
12600 if test x"$enablestring" = xdisable; then
12601 if test $wxUSE_LISTBOX = no; then
12607 result=$wxUSE_LISTBOX
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12611 $as_echo "$result" >&6; }
12615 defaultval=$wxUSE_ALL_FEATURES
12616 if test -z "$defaultval"; then
12617 if test x"$enablestring" = xdisable; then
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listctrl" >&5
12625 $as_echo_n "checking
for --${enablestring:-enable}-listctrl...
" >&6; }
12626 # Check whether --enable-listctrl was given.
12627 if test "${enable_listctrl+set}" = set; then :
12628 enableval=$enable_listctrl;
12629 if test "$enableval" = yes; then
12630 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12632 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12637 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12642 eval "$wx_cv_use_listctrl"
12644 if test x
"$enablestring" = xdisable
; then
12645 if test $wxUSE_LISTCTRL = no
; then
12651 result
=$wxUSE_LISTCTRL
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12655 $as_echo "$result" >&6; }
12659 defaultval
=$wxUSE_ALL_FEATURES
12660 if test -z "$defaultval"; then
12661 if test x
"$enablestring" = xdisable
; then
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12669 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12670 # Check whether --enable-notebook was given.
12671 if test "${enable_notebook+set}" = set; then :
12672 enableval
=$enable_notebook;
12673 if test "$enableval" = yes; then
12674 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
12676 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
12681 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12686 eval "$wx_cv_use_notebook"
12688 if test x"$enablestring" = xdisable; then
12689 if test $wxUSE_NOTEBOOK = no; then
12695 result=$wxUSE_NOTEBOOK
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12699 $as_echo "$result" >&6; }
12703 defaultval=$wxUSE_ALL_FEATURES
12704 if test -z "$defaultval"; then
12705 if test x"$enablestring" = xdisable; then
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12713 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12714 # Check whether --enable-notifmsg was given.
12715 if test "${enable_notifmsg+set}" = set; then :
12716 enableval=$enable_notifmsg;
12717 if test "$enableval" = yes; then
12718 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
12720 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
12725 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12730 eval "$wx_cv_use_notifmsg"
12732 if test x"$enablestring" = xdisable; then
12733 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12739 result=$wxUSE_NOTIFICATION_MESSAGE
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12743 $as_echo "$result" >&6; }
12747 defaultval=$wxUSE_ALL_FEATURES
12748 if test -z "$defaultval"; then
12749 if test x"$enablestring" = xdisable; then
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-odcombobox" >&5
12757 $as_echo_n "checking
for --${enablestring:-enable}-odcombobox...
" >&6; }
12758 # Check whether --enable-odcombobox was given.
12759 if test "${enable_odcombobox+set}" = set; then :
12760 enableval=$enable_odcombobox;
12761 if test "$enableval" = yes; then
12762 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12764 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12769 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12774 eval "$wx_cv_use_odcombobox"
12776 if test x
"$enablestring" = xdisable
; then
12777 if test $wxUSE_ODCOMBOBOX = no
; then
12783 result
=$wxUSE_ODCOMBOBOX
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12787 $as_echo "$result" >&6; }
12791 defaultval
=$wxUSE_ALL_FEATURES
12792 if test -z "$defaultval"; then
12793 if test x
"$enablestring" = xdisable
; then
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12801 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12802 # Check whether --enable-popupwin was given.
12803 if test "${enable_popupwin+set}" = set; then :
12804 enableval
=$enable_popupwin;
12805 if test "$enableval" = yes; then
12806 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
12808 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
12813 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12818 eval "$wx_cv_use_popupwin"
12820 if test x"$enablestring" = xdisable; then
12821 if test $wxUSE_POPUPWIN = no; then
12827 result=$wxUSE_POPUPWIN
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12831 $as_echo "$result" >&6; }
12835 defaultval=$wxUSE_ALL_FEATURES
12836 if test -z "$defaultval"; then
12837 if test x"$enablestring" = xdisable; then
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12845 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12846 # Check whether --enable-radiobox was given.
12847 if test "${enable_radiobox+set}" = set; then :
12848 enableval=$enable_radiobox;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
12852 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
12857 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12862 eval "$wx_cv_use_radiobox"
12864 if test x"$enablestring" = xdisable; then
12865 if test $wxUSE_RADIOBOX = no; then
12871 result=$wxUSE_RADIOBOX
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12875 $as_echo "$result" >&6; }
12879 defaultval=$wxUSE_ALL_FEATURES
12880 if test -z "$defaultval"; then
12881 if test x"$enablestring" = xdisable; then
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-radiobtn" >&5
12889 $as_echo_n "checking
for --${enablestring:-enable}-radiobtn...
" >&6; }
12890 # Check whether --enable-radiobtn was given.
12891 if test "${enable_radiobtn+set}" = set; then :
12892 enableval=$enable_radiobtn;
12893 if test "$enableval" = yes; then
12894 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12896 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12901 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12906 eval "$wx_cv_use_radiobtn"
12908 if test x
"$enablestring" = xdisable
; then
12909 if test $wxUSE_RADIOBTN = no
; then
12915 result
=$wxUSE_RADIOBTN
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12919 $as_echo "$result" >&6; }
12923 defaultval
=$wxUSE_ALL_FEATURES
12924 if test -z "$defaultval"; then
12925 if test x
"$enablestring" = xdisable
; then
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12933 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12934 # Check whether --enable-richmsgdlg was given.
12935 if test "${enable_richmsgdlg+set}" = set; then :
12936 enableval
=$enable_richmsgdlg;
12937 if test "$enableval" = yes; then
12938 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
12940 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
12945 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12950 eval "$wx_cv_use_richmsgdlg"
12952 if test x"$enablestring" = xdisable; then
12953 if test $wxUSE_RICHMSGDLG = no; then
12959 result=$wxUSE_RICHMSGDLG
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12963 $as_echo "$result" >&6; }
12967 defaultval=$wxUSE_ALL_FEATURES
12968 if test -z "$defaultval"; then
12969 if test x"$enablestring" = xdisable; then
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
12977 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
12978 # Check whether --enable-richtooltip was given.
12979 if test "${enable_richtooltip+set}" = set; then :
12980 enableval=$enable_richtooltip;
12981 if test "$enableval" = yes; then
12982 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=yes'
12984 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=no
'
12989 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
12994 eval "$wx_cv_use_richtooltip"
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_RICHTOOLTIP = no; then
13003 result=$wxUSE_RICHTOOLTIP
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13007 $as_echo "$result" >&6; }
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rearrangectrl" >&5
13021 $as_echo_n "checking
for --${enablestring:-enable}-rearrangectrl...
" >&6; }
13022 # Check whether --enable-rearrangectrl was given.
13023 if test "${enable_rearrangectrl+set}" = set; then :
13024 enableval=$enable_rearrangectrl;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13028 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13033 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13038 eval "$wx_cv_use_rearrangectrl"
13040 if test x
"$enablestring" = xdisable
; then
13041 if test $wxUSE_REARRANGECTRL = no
; then
13047 result
=$wxUSE_REARRANGECTRL
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13051 $as_echo "$result" >&6; }
13055 defaultval
=$wxUSE_ALL_FEATURES
13056 if test -z "$defaultval"; then
13057 if test x
"$enablestring" = xdisable
; then
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13065 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13066 # Check whether --enable-sash was given.
13067 if test "${enable_sash+set}" = set; then :
13068 enableval
=$enable_sash;
13069 if test "$enableval" = yes; then
13070 wx_cv_use_sash
='wxUSE_SASH=yes'
13072 wx_cv_use_sash
='wxUSE_SASH=no'
13077 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13082 eval "$wx_cv_use_sash"
13084 if test x"$enablestring" = xdisable; then
13085 if test $wxUSE_SASH = no; then
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13095 $as_echo "$result" >&6; }
13099 defaultval=$wxUSE_ALL_FEATURES
13100 if test -z "$defaultval"; then
13101 if test x"$enablestring" = xdisable; then
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13109 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13110 # Check whether --enable-scrollbar was given.
13111 if test "${enable_scrollbar+set}" = set; then :
13112 enableval=$enable_scrollbar;
13113 if test "$enableval" = yes; then
13114 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
13116 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
13121 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13126 eval "$wx_cv_use_scrollbar"
13128 if test x"$enablestring" = xdisable; then
13129 if test $wxUSE_SCROLLBAR = no; then
13135 result=$wxUSE_SCROLLBAR
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13139 $as_echo "$result" >&6; }
13143 defaultval=$wxUSE_ALL_FEATURES
13144 if test -z "$defaultval"; then
13145 if test x"$enablestring" = xdisable; then
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-searchctrl" >&5
13153 $as_echo_n "checking
for --${enablestring:-enable}-searchctrl...
" >&6; }
13154 # Check whether --enable-searchctrl was given.
13155 if test "${enable_searchctrl+set}" = set; then :
13156 enableval=$enable_searchctrl;
13157 if test "$enableval" = yes; then
13158 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13160 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13165 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13170 eval "$wx_cv_use_searchctrl"
13172 if test x
"$enablestring" = xdisable
; then
13173 if test $wxUSE_SEARCHCTRL = no
; then
13179 result
=$wxUSE_SEARCHCTRL
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13183 $as_echo "$result" >&6; }
13187 defaultval
=$wxUSE_ALL_FEATURES
13188 if test -z "$defaultval"; then
13189 if test x
"$enablestring" = xdisable
; then
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13197 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13198 # Check whether --enable-slider was given.
13199 if test "${enable_slider+set}" = set; then :
13200 enableval
=$enable_slider;
13201 if test "$enableval" = yes; then
13202 wx_cv_use_slider
='wxUSE_SLIDER=yes'
13204 wx_cv_use_slider
='wxUSE_SLIDER=no'
13209 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13214 eval "$wx_cv_use_slider"
13216 if test x"$enablestring" = xdisable; then
13217 if test $wxUSE_SLIDER = no; then
13223 result=$wxUSE_SLIDER
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13227 $as_echo "$result" >&6; }
13231 defaultval=$wxUSE_ALL_FEATURES
13232 if test -z "$defaultval"; then
13233 if test x"$enablestring" = xdisable; then
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13241 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13242 # Check whether --enable-spinbtn was given.
13243 if test "${enable_spinbtn+set}" = set; then :
13244 enableval=$enable_spinbtn;
13245 if test "$enableval" = yes; then
13246 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
13248 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
13253 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13258 eval "$wx_cv_use_spinbtn"
13260 if test x"$enablestring" = xdisable; then
13261 if test $wxUSE_SPINBTN = no; then
13267 result=$wxUSE_SPINBTN
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13271 $as_echo "$result" >&6; }
13275 defaultval=$wxUSE_ALL_FEATURES
13276 if test -z "$defaultval"; then
13277 if test x"$enablestring" = xdisable; then
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-spinctrl" >&5
13285 $as_echo_n "checking
for --${enablestring:-enable}-spinctrl...
" >&6; }
13286 # Check whether --enable-spinctrl was given.
13287 if test "${enable_spinctrl+set}" = set; then :
13288 enableval=$enable_spinctrl;
13289 if test "$enableval" = yes; then
13290 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13292 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13297 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13302 eval "$wx_cv_use_spinctrl"
13304 if test x
"$enablestring" = xdisable
; then
13305 if test $wxUSE_SPINCTRL = no
; then
13311 result
=$wxUSE_SPINCTRL
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13315 $as_echo "$result" >&6; }
13319 defaultval
=$wxUSE_ALL_FEATURES
13320 if test -z "$defaultval"; then
13321 if test x
"$enablestring" = xdisable
; then
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13329 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13330 # Check whether --enable-splitter was given.
13331 if test "${enable_splitter+set}" = set; then :
13332 enableval
=$enable_splitter;
13333 if test "$enableval" = yes; then
13334 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
13336 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
13341 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13346 eval "$wx_cv_use_splitter"
13348 if test x"$enablestring" = xdisable; then
13349 if test $wxUSE_SPLITTER = no; then
13355 result=$wxUSE_SPLITTER
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13359 $as_echo "$result" >&6; }
13363 defaultval=$wxUSE_ALL_FEATURES
13364 if test -z "$defaultval"; then
13365 if test x"$enablestring" = xdisable; then
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13373 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13374 # Check whether --enable-statbmp was given.
13375 if test "${enable_statbmp+set}" = set; then :
13376 enableval=$enable_statbmp;
13377 if test "$enableval" = yes; then
13378 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
13380 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
13385 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13390 eval "$wx_cv_use_statbmp"
13392 if test x"$enablestring" = xdisable; then
13393 if test $wxUSE_STATBMP = no; then
13399 result=$wxUSE_STATBMP
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13403 $as_echo "$result" >&6; }
13407 defaultval=$wxUSE_ALL_FEATURES
13408 if test -z "$defaultval"; then
13409 if test x"$enablestring" = xdisable; then
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statbox" >&5
13417 $as_echo_n "checking
for --${enablestring:-enable}-statbox...
" >&6; }
13418 # Check whether --enable-statbox was given.
13419 if test "${enable_statbox+set}" = set; then :
13420 enableval=$enable_statbox;
13421 if test "$enableval" = yes; then
13422 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13424 wx_cv_use_statbox='wxUSE_STATBOX=no'
13429 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13434 eval "$wx_cv_use_statbox"
13436 if test x
"$enablestring" = xdisable
; then
13437 if test $wxUSE_STATBOX = no
; then
13443 result
=$wxUSE_STATBOX
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13447 $as_echo "$result" >&6; }
13451 defaultval
=$wxUSE_ALL_FEATURES
13452 if test -z "$defaultval"; then
13453 if test x
"$enablestring" = xdisable
; then
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13461 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13462 # Check whether --enable-statline was given.
13463 if test "${enable_statline+set}" = set; then :
13464 enableval
=$enable_statline;
13465 if test "$enableval" = yes; then
13466 wx_cv_use_statline
='wxUSE_STATLINE=yes'
13468 wx_cv_use_statline
='wxUSE_STATLINE=no'
13473 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13478 eval "$wx_cv_use_statline"
13480 if test x"$enablestring" = xdisable; then
13481 if test $wxUSE_STATLINE = no; then
13487 result=$wxUSE_STATLINE
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13491 $as_echo "$result" >&6; }
13495 defaultval=$wxUSE_ALL_FEATURES
13496 if test -z "$defaultval"; then
13497 if test x"$enablestring" = xdisable; then
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13505 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13506 # Check whether --enable-stattext was given.
13507 if test "${enable_stattext+set}" = set; then :
13508 enableval=$enable_stattext;
13509 if test "$enableval" = yes; then
13510 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
13512 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
13517 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13522 eval "$wx_cv_use_stattext"
13524 if test x"$enablestring" = xdisable; then
13525 if test $wxUSE_STATTEXT = no; then
13531 result=$wxUSE_STATTEXT
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13535 $as_echo "$result" >&6; }
13539 defaultval=$wxUSE_ALL_FEATURES
13540 if test -z "$defaultval"; then
13541 if test x"$enablestring" = xdisable; then
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statusbar" >&5
13549 $as_echo_n "checking
for --${enablestring:-enable}-statusbar...
" >&6; }
13550 # Check whether --enable-statusbar was given.
13551 if test "${enable_statusbar+set}" = set; then :
13552 enableval=$enable_statusbar;
13553 if test "$enableval" = yes; then
13554 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13556 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13561 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13566 eval "$wx_cv_use_statusbar"
13568 if test x
"$enablestring" = xdisable
; then
13569 if test $wxUSE_STATUSBAR = no
; then
13575 result
=$wxUSE_STATUSBAR
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13579 $as_echo "$result" >&6; }
13583 defaultval
=$wxUSE_ALL_FEATURES
13584 if test -z "$defaultval"; then
13585 if test x
"$enablestring" = xdisable
; then
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13593 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13594 # Check whether --enable-taskbaricon was given.
13595 if test "${enable_taskbaricon+set}" = set; then :
13596 enableval
=$enable_taskbaricon;
13597 if test "$enableval" = yes; then
13598 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
13600 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
13605 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13610 eval "$wx_cv_use_taskbaricon"
13612 if test x"$enablestring" = xdisable; then
13613 if test $wxUSE_TASKBARICON = no; then
13619 result=$wxUSE_TASKBARICON
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13623 $as_echo "$result" >&6; }
13627 defaultval=$wxUSE_ALL_FEATURES
13628 if test -z "$defaultval"; then
13629 if test x"$enablestring" = xdisable; then
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13637 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13638 # Check whether --enable-tbarnative was given.
13639 if test "${enable_tbarnative+set}" = set; then :
13640 enableval=$enable_tbarnative;
13641 if test "$enableval" = yes; then
13642 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
13644 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
13649 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13654 eval "$wx_cv_use_tbarnative"
13656 if test x"$enablestring" = xdisable; then
13657 if test $wxUSE_TOOLBAR_NATIVE = no; then
13663 result=$wxUSE_TOOLBAR_NATIVE
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13667 $as_echo "$result" >&6; }
13671 defaultval=$wxUSE_ALL_FEATURES
13672 if test -z "$defaultval"; then
13673 if test x"$enablestring" = xdisable; then
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textctrl" >&5
13681 $as_echo_n "checking
for --${enablestring:-enable}-textctrl...
" >&6; }
13682 # Check whether --enable-textctrl was given.
13683 if test "${enable_textctrl+set}" = set; then :
13684 enableval=$enable_textctrl;
13685 if test "$enableval" = yes; then
13686 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13688 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13693 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13698 eval "$wx_cv_use_textctrl"
13700 if test x
"$enablestring" = xdisable
; then
13701 if test $wxUSE_TEXTCTRL = no
; then
13707 result
=$wxUSE_TEXTCTRL
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13711 $as_echo "$result" >&6; }
13715 defaultval
=$wxUSE_ALL_FEATURES
13716 if test -z "$defaultval"; then
13717 if test x
"$enablestring" = xdisable
; then
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13725 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13726 # Check whether --enable-datepick was given.
13727 if test "${enable_datepick+set}" = set; then :
13728 enableval
=$enable_datepick;
13729 if test "$enableval" = yes; then
13730 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=yes'
13732 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=no'
13737 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13742 eval "$wx_cv_use_datepick"
13744 if test x"$enablestring" = xdisable; then
13745 if test $wxUSE_TIMEPICKCTRL = no; then
13751 result=$wxUSE_TIMEPICKCTRL
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13755 $as_echo "$result" >&6; }
13759 defaultval=$wxUSE_ALL_FEATURES
13760 if test -z "$defaultval"; then
13761 if test x"$enablestring" = xdisable; then
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13769 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13770 # Check whether --enable-tipwindow was given.
13771 if test "${enable_tipwindow+set}" = set; then :
13772 enableval=$enable_tipwindow;
13773 if test "$enableval" = yes; then
13774 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
13776 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
13781 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13786 eval "$wx_cv_use_tipwindow"
13788 if test x"$enablestring" = xdisable; then
13789 if test $wxUSE_TIPWINDOW = no; then
13795 result=$wxUSE_TIPWINDOW
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13799 $as_echo "$result" >&6; }
13803 defaultval=$wxUSE_ALL_FEATURES
13804 if test -z "$defaultval"; then
13805 if test x"$enablestring" = xdisable; then
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-togglebtn" >&5
13813 $as_echo_n "checking
for --${enablestring:-enable}-togglebtn...
" >&6; }
13814 # Check whether --enable-togglebtn was given.
13815 if test "${enable_togglebtn+set}" = set; then :
13816 enableval=$enable_togglebtn;
13817 if test "$enableval" = yes; then
13818 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13820 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13825 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13830 eval "$wx_cv_use_togglebtn"
13832 if test x
"$enablestring" = xdisable
; then
13833 if test $wxUSE_TOGGLEBTN = no
; then
13839 result
=$wxUSE_TOGGLEBTN
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13843 $as_echo "$result" >&6; }
13847 defaultval
=$wxUSE_ALL_FEATURES
13848 if test -z "$defaultval"; then
13849 if test x
"$enablestring" = xdisable
; then
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13857 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13858 # Check whether --enable-toolbar was given.
13859 if test "${enable_toolbar+set}" = set; then :
13860 enableval
=$enable_toolbar;
13861 if test "$enableval" = yes; then
13862 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
13864 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
13869 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13874 eval "$wx_cv_use_toolbar"
13876 if test x"$enablestring" = xdisable; then
13877 if test $wxUSE_TOOLBAR = no; then
13883 result=$wxUSE_TOOLBAR
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13887 $as_echo "$result" >&6; }
13891 defaultval=$wxUSE_ALL_FEATURES
13892 if test -z "$defaultval"; then
13893 if test x"$enablestring" = xdisable; then
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13901 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13902 # Check whether --enable-toolbook was given.
13903 if test "${enable_toolbook+set}" = set; then :
13904 enableval=$enable_toolbook;
13905 if test "$enableval" = yes; then
13906 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
13908 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
13913 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13918 eval "$wx_cv_use_toolbook"
13920 if test x"$enablestring" = xdisable; then
13921 if test $wxUSE_TOOLBOOK = no; then
13927 result=$wxUSE_TOOLBOOK
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13931 $as_echo "$result" >&6; }
13935 defaultval=$wxUSE_ALL_FEATURES
13936 if test -z "$defaultval"; then
13937 if test x"$enablestring" = xdisable; then
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treebook" >&5
13945 $as_echo_n "checking
for --${enablestring:-enable}-treebook...
" >&6; }
13946 # Check whether --enable-treebook was given.
13947 if test "${enable_treebook+set}" = set; then :
13948 enableval=$enable_treebook;
13949 if test "$enableval" = yes; then
13950 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13952 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13957 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13962 eval "$wx_cv_use_treebook"
13964 if test x
"$enablestring" = xdisable
; then
13965 if test $wxUSE_TREEBOOK = no
; then
13971 result
=$wxUSE_TREEBOOK
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13975 $as_echo "$result" >&6; }
13979 defaultval
=$wxUSE_ALL_FEATURES
13980 if test -z "$defaultval"; then
13981 if test x
"$enablestring" = xdisable
; then
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
13989 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
13990 # Check whether --enable-treectrl was given.
13991 if test "${enable_treectrl+set}" = set; then :
13992 enableval
=$enable_treectrl;
13993 if test "$enableval" = yes; then
13994 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
13996 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
14001 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14006 eval "$wx_cv_use_treectrl"
14008 if test x"$enablestring" = xdisable; then
14009 if test $wxUSE_TREECTRL = no; then
14015 result=$wxUSE_TREECTRL
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14019 $as_echo "$result" >&6; }
14023 defaultval=$wxUSE_ALL_FEATURES
14024 if test -z "$defaultval"; then
14025 if test x"$enablestring" = xdisable; then
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14033 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14034 # Check whether --enable-treelist was given.
14035 if test "${enable_treelist+set}" = set; then :
14036 enableval=$enable_treelist;
14037 if test "$enableval" = yes; then
14038 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=yes'
14040 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=no
'
14045 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14050 eval "$wx_cv_use_treelist"
14052 if test x"$enablestring" = xdisable; then
14053 if test $wxUSE_TREELISTCTRL = no; then
14059 result=$wxUSE_TREELISTCTRL
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14063 $as_echo "$result" >&6; }
14069 defaultval=$wxUSE_ALL_FEATURES
14070 if test -z "$defaultval"; then
14071 if test x"$enablestring" = xdisable; then
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-commondlg" >&5
14079 $as_echo_n "checking
for --${enablestring:-enable}-commondlg...
" >&6; }
14080 # Check whether --enable-commondlg was given.
14081 if test "${enable_commondlg+set}" = set; then :
14082 enableval=$enable_commondlg;
14083 if test "$enableval" = yes; then
14084 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14086 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14091 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14096 eval "$wx_cv_use_commondlg"
14098 if test x
"$enablestring" = xdisable
; then
14099 if test $wxUSE_COMMONDLGS = no
; then
14105 result
=$wxUSE_COMMONDLGS
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14109 $as_echo "$result" >&6; }
14113 defaultval
=$wxUSE_ALL_FEATURES
14114 if test -z "$defaultval"; then
14115 if test x
"$enablestring" = xdisable
; then
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14123 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14124 # Check whether --enable-aboutdlg was given.
14125 if test "${enable_aboutdlg+set}" = set; then :
14126 enableval
=$enable_aboutdlg;
14127 if test "$enableval" = yes; then
14128 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
14130 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
14135 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14140 eval "$wx_cv_use_aboutdlg"
14142 if test x"$enablestring" = xdisable; then
14143 if test $wxUSE_ABOUTDLG = no; then
14149 result=$wxUSE_ABOUTDLG
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14153 $as_echo "$result" >&6; }
14157 defaultval=$wxUSE_ALL_FEATURES
14158 if test -z "$defaultval"; then
14159 if test x"$enablestring" = xdisable; then
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14167 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14168 # Check whether --enable-choicedlg was given.
14169 if test "${enable_choicedlg+set}" = set; then :
14170 enableval=$enable_choicedlg;
14171 if test "$enableval" = yes; then
14172 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
14174 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
14179 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14184 eval "$wx_cv_use_choicedlg"
14186 if test x"$enablestring" = xdisable; then
14187 if test $wxUSE_CHOICEDLG = no; then
14193 result=$wxUSE_CHOICEDLG
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14197 $as_echo "$result" >&6; }
14201 defaultval=$wxUSE_ALL_FEATURES
14202 if test -z "$defaultval"; then
14203 if test x"$enablestring" = xdisable; then
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-coldlg" >&5
14211 $as_echo_n "checking
for --${enablestring:-enable}-coldlg...
" >&6; }
14212 # Check whether --enable-coldlg was given.
14213 if test "${enable_coldlg+set}" = set; then :
14214 enableval=$enable_coldlg;
14215 if test "$enableval" = yes; then
14216 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14218 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14223 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14228 eval "$wx_cv_use_coldlg"
14230 if test x
"$enablestring" = xdisable
; then
14231 if test $wxUSE_COLOURDLG = no
; then
14237 result
=$wxUSE_COLOURDLG
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14241 $as_echo "$result" >&6; }
14245 defaultval
=$wxUSE_ALL_FEATURES
14246 if test -z "$defaultval"; then
14247 if test x
"$enablestring" = xdisable
; then
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14255 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14256 # Check whether --enable-filedlg was given.
14257 if test "${enable_filedlg+set}" = set; then :
14258 enableval
=$enable_filedlg;
14259 if test "$enableval" = yes; then
14260 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
14262 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
14267 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14272 eval "$wx_cv_use_filedlg"
14274 if test x"$enablestring" = xdisable; then
14275 if test $wxUSE_FILEDLG = no; then
14281 result=$wxUSE_FILEDLG
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14285 $as_echo "$result" >&6; }
14289 defaultval=$wxUSE_ALL_FEATURES
14290 if test -z "$defaultval"; then
14291 if test x"$enablestring" = xdisable; then
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14299 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14300 # Check whether --enable-finddlg was given.
14301 if test "${enable_finddlg+set}" = set; then :
14302 enableval=$enable_finddlg;
14303 if test "$enableval" = yes; then
14304 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
14306 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
14311 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14316 eval "$wx_cv_use_finddlg"
14318 if test x"$enablestring" = xdisable; then
14319 if test $wxUSE_FINDREPLDLG = no; then
14325 result=$wxUSE_FINDREPLDLG
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14329 $as_echo "$result" >&6; }
14333 defaultval=$wxUSE_ALL_FEATURES
14334 if test -z "$defaultval"; then
14335 if test x"$enablestring" = xdisable; then
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontdlg" >&5
14343 $as_echo_n "checking
for --${enablestring:-enable}-fontdlg...
" >&6; }
14344 # Check whether --enable-fontdlg was given.
14345 if test "${enable_fontdlg+set}" = set; then :
14346 enableval=$enable_fontdlg;
14347 if test "$enableval" = yes; then
14348 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14350 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14355 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14360 eval "$wx_cv_use_fontdlg"
14362 if test x
"$enablestring" = xdisable
; then
14363 if test $wxUSE_FONTDLG = no
; then
14369 result
=$wxUSE_FONTDLG
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14373 $as_echo "$result" >&6; }
14377 defaultval
=$wxUSE_ALL_FEATURES
14378 if test -z "$defaultval"; then
14379 if test x
"$enablestring" = xdisable
; then
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14387 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14388 # Check whether --enable-dirdlg was given.
14389 if test "${enable_dirdlg+set}" = set; then :
14390 enableval
=$enable_dirdlg;
14391 if test "$enableval" = yes; then
14392 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
14394 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
14399 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14404 eval "$wx_cv_use_dirdlg"
14406 if test x"$enablestring" = xdisable; then
14407 if test $wxUSE_DIRDLG = no; then
14413 result=$wxUSE_DIRDLG
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14417 $as_echo "$result" >&6; }
14421 defaultval=$wxUSE_ALL_FEATURES
14422 if test -z "$defaultval"; then
14423 if test x"$enablestring" = xdisable; then
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14431 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14432 # Check whether --enable-msgdlg was given.
14433 if test "${enable_msgdlg+set}" = set; then :
14434 enableval=$enable_msgdlg;
14435 if test "$enableval" = yes; then
14436 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
14438 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
14443 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14448 eval "$wx_cv_use_msgdlg"
14450 if test x"$enablestring" = xdisable; then
14451 if test $wxUSE_MSGDLG = no; then
14457 result=$wxUSE_MSGDLG
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14461 $as_echo "$result" >&6; }
14465 defaultval=$wxUSE_ALL_FEATURES
14466 if test -z "$defaultval"; then
14467 if test x"$enablestring" = xdisable; then
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-numberdlg" >&5
14475 $as_echo_n "checking
for --${enablestring:-enable}-numberdlg...
" >&6; }
14476 # Check whether --enable-numberdlg was given.
14477 if test "${enable_numberdlg+set}" = set; then :
14478 enableval=$enable_numberdlg;
14479 if test "$enableval" = yes; then
14480 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14482 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14487 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14492 eval "$wx_cv_use_numberdlg"
14494 if test x
"$enablestring" = xdisable
; then
14495 if test $wxUSE_NUMBERDLG = no
; then
14501 result
=$wxUSE_NUMBERDLG
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14505 $as_echo "$result" >&6; }
14509 defaultval
=$wxUSE_ALL_FEATURES
14510 if test -z "$defaultval"; then
14511 if test x
"$enablestring" = xdisable
; then
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14519 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14520 # Check whether --enable-splash was given.
14521 if test "${enable_splash+set}" = set; then :
14522 enableval
=$enable_splash;
14523 if test "$enableval" = yes; then
14524 wx_cv_use_splash
='wxUSE_SPLASH=yes'
14526 wx_cv_use_splash
='wxUSE_SPLASH=no'
14531 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14536 eval "$wx_cv_use_splash"
14538 if test x"$enablestring" = xdisable; then
14539 if test $wxUSE_SPLASH = no; then
14545 result=$wxUSE_SPLASH
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14549 $as_echo "$result" >&6; }
14553 defaultval=$wxUSE_ALL_FEATURES
14554 if test -z "$defaultval"; then
14555 if test x"$enablestring" = xdisable; then
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14563 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14564 # Check whether --enable-textdlg was given.
14565 if test "${enable_textdlg+set}" = set; then :
14566 enableval=$enable_textdlg;
14567 if test "$enableval" = yes; then
14568 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
14570 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
14575 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14580 eval "$wx_cv_use_textdlg"
14582 if test x"$enablestring" = xdisable; then
14583 if test $wxUSE_TEXTDLG = no; then
14589 result=$wxUSE_TEXTDLG
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14593 $as_echo "$result" >&6; }
14597 defaultval=$wxUSE_ALL_FEATURES
14598 if test -z "$defaultval"; then
14599 if test x"$enablestring" = xdisable; then
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tipdlg" >&5
14607 $as_echo_n "checking
for --${enablestring:-enable}-tipdlg...
" >&6; }
14608 # Check whether --enable-tipdlg was given.
14609 if test "${enable_tipdlg+set}" = set; then :
14610 enableval=$enable_tipdlg;
14611 if test "$enableval" = yes; then
14612 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14614 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14619 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14624 eval "$wx_cv_use_tipdlg"
14626 if test x
"$enablestring" = xdisable
; then
14627 if test $wxUSE_STARTUP_TIPS = no
; then
14633 result
=$wxUSE_STARTUP_TIPS
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14637 $as_echo "$result" >&6; }
14641 defaultval
=$wxUSE_ALL_FEATURES
14642 if test -z "$defaultval"; then
14643 if test x
"$enablestring" = xdisable
; then
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14651 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14652 # Check whether --enable-progressdlg was given.
14653 if test "${enable_progressdlg+set}" = set; then :
14654 enableval
=$enable_progressdlg;
14655 if test "$enableval" = yes; then
14656 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
14658 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
14663 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14668 eval "$wx_cv_use_progressdlg"
14670 if test x"$enablestring" = xdisable; then
14671 if test $wxUSE_PROGRESSDLG = no; then
14677 result=$wxUSE_PROGRESSDLG
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14681 $as_echo "$result" >&6; }
14685 defaultval=$wxUSE_ALL_FEATURES
14686 if test -z "$defaultval"; then
14687 if test x"$enablestring" = xdisable; then
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14695 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14696 # Check whether --enable-wizarddlg was given.
14697 if test "${enable_wizarddlg+set}" = set; then :
14698 enableval=$enable_wizarddlg;
14699 if test "$enableval" = yes; then
14700 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
14702 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
14707 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14712 eval "$wx_cv_use_wizarddlg"
14714 if test x"$enablestring" = xdisable; then
14715 if test $wxUSE_WIZARDDLG = no; then
14721 result=$wxUSE_WIZARDDLG
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14725 $as_echo "$result" >&6; }
14731 defaultval=$wxUSE_ALL_FEATURES
14732 if test -z "$defaultval"; then
14733 if test x"$enablestring" = xdisable; then
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-menus" >&5
14741 $as_echo_n "checking
for --${enablestring:-enable}-menus...
" >&6; }
14742 # Check whether --enable-menus was given.
14743 if test "${enable_menus+set}" = set; then :
14744 enableval=$enable_menus;
14745 if test "$enableval" = yes; then
14746 wx_cv_use_menus='wxUSE_MENUS=yes'
14748 wx_cv_use_menus='wxUSE_MENUS=no'
14753 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14758 eval "$wx_cv_use_menus"
14760 if test x
"$enablestring" = xdisable
; then
14761 if test $wxUSE_MENUS = no
; then
14767 result
=$wxUSE_MENUS
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14771 $as_echo "$result" >&6; }
14775 defaultval
=$wxUSE_ALL_FEATURES
14776 if test -z "$defaultval"; then
14777 if test x
"$enablestring" = xdisable
; then
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14785 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14786 # Check whether --enable-miniframe was given.
14787 if test "${enable_miniframe+set}" = set; then :
14788 enableval
=$enable_miniframe;
14789 if test "$enableval" = yes; then
14790 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
14792 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
14797 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14802 eval "$wx_cv_use_miniframe"
14804 if test x"$enablestring" = xdisable; then
14805 if test $wxUSE_MINIFRAME = no; then
14811 result=$wxUSE_MINIFRAME
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14815 $as_echo "$result" >&6; }
14819 defaultval=$wxUSE_ALL_FEATURES
14820 if test -z "$defaultval"; then
14821 if test x"$enablestring" = xdisable; then
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14829 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14830 # Check whether --enable-tooltips was given.
14831 if test "${enable_tooltips+set}" = set; then :
14832 enableval=$enable_tooltips;
14833 if test "$enableval" = yes; then
14834 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
14836 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
14841 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14846 eval "$wx_cv_use_tooltips"
14848 if test x"$enablestring" = xdisable; then
14849 if test $wxUSE_TOOLTIPS = no; then
14855 result=$wxUSE_TOOLTIPS
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14859 $as_echo "$result" >&6; }
14863 defaultval=$wxUSE_ALL_FEATURES
14864 if test -z "$defaultval"; then
14865 if test x"$enablestring" = xdisable; then
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-splines" >&5
14873 $as_echo_n "checking
for --${enablestring:-enable}-splines...
" >&6; }
14874 # Check whether --enable-splines was given.
14875 if test "${enable_splines+set}" = set; then :
14876 enableval=$enable_splines;
14877 if test "$enableval" = yes; then
14878 wx_cv_use_splines='wxUSE_SPLINES=yes'
14880 wx_cv_use_splines='wxUSE_SPLINES=no'
14885 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14890 eval "$wx_cv_use_splines"
14892 if test x
"$enablestring" = xdisable
; then
14893 if test $wxUSE_SPLINES = no
; then
14899 result
=$wxUSE_SPLINES
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14903 $as_echo "$result" >&6; }
14907 defaultval
=$wxUSE_ALL_FEATURES
14908 if test -z "$defaultval"; then
14909 if test x
"$enablestring" = xdisable
; then
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14917 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14918 # Check whether --enable-mousewheel was given.
14919 if test "${enable_mousewheel+set}" = set; then :
14920 enableval
=$enable_mousewheel;
14921 if test "$enableval" = yes; then
14922 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
14924 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
14929 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14934 eval "$wx_cv_use_mousewheel"
14936 if test x"$enablestring" = xdisable; then
14937 if test $wxUSE_MOUSEWHEEL = no; then
14943 result=$wxUSE_MOUSEWHEEL
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14947 $as_echo "$result" >&6; }
14951 defaultval=$wxUSE_ALL_FEATURES
14952 if test -z "$defaultval"; then
14953 if test x"$enablestring" = xdisable; then
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14961 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14962 # Check whether --enable-validators was given.
14963 if test "${enable_validators+set}" = set; then :
14964 enableval=$enable_validators;
14965 if test "$enableval" = yes; then
14966 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
14968 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
14973 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14978 eval "$wx_cv_use_validators"
14980 if test x"$enablestring" = xdisable; then
14981 if test $wxUSE_VALIDATORS = no; then
14987 result=$wxUSE_VALIDATORS
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14991 $as_echo "$result" >&6; }
14995 defaultval=$wxUSE_ALL_FEATURES
14996 if test -z "$defaultval"; then
14997 if test x"$enablestring" = xdisable; then
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-busyinfo" >&5
15005 $as_echo_n "checking
for --${enablestring:-enable}-busyinfo...
" >&6; }
15006 # Check whether --enable-busyinfo was given.
15007 if test "${enable_busyinfo+set}" = set; then :
15008 enableval=$enable_busyinfo;
15009 if test "$enableval" = yes; then
15010 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15012 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15017 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15022 eval "$wx_cv_use_busyinfo"
15024 if test x
"$enablestring" = xdisable
; then
15025 if test $wxUSE_BUSYINFO = no
; then
15031 result
=$wxUSE_BUSYINFO
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15035 $as_echo "$result" >&6; }
15039 defaultval
=$wxUSE_ALL_FEATURES
15040 if test -z "$defaultval"; then
15041 if test x
"$enablestring" = xdisable
; then
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15049 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15050 # Check whether --enable-hotkey was given.
15051 if test "${enable_hotkey+set}" = set; then :
15052 enableval
=$enable_hotkey;
15053 if test "$enableval" = yes; then
15054 wx_cv_use_hotkey
='wxUSE_HOTKEY=yes'
15056 wx_cv_use_hotkey
='wxUSE_HOTKEY=no'
15061 wx_cv_use_hotkey
='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15066 eval "$wx_cv_use_hotkey"
15068 if test x"$enablestring" = xdisable; then
15069 if test $wxUSE_HOTKEY = no; then
15075 result=$wxUSE_HOTKEY
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15079 $as_echo "$result" >&6; }
15083 defaultval=$wxUSE_ALL_FEATURES
15084 if test -z "$defaultval"; then
15085 if test x"$enablestring" = xdisable; then
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15093 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15094 # Check whether --enable-joystick was given.
15095 if test "${enable_joystick+set}" = set; then :
15096 enableval=$enable_joystick;
15097 if test "$enableval" = yes; then
15098 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
15100 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
15105 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15110 eval "$wx_cv_use_joystick"
15112 if test x"$enablestring" = xdisable; then
15113 if test $wxUSE_JOYSTICK = no; then
15119 result=$wxUSE_JOYSTICK
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15123 $as_echo "$result" >&6; }
15127 defaultval=$wxUSE_ALL_FEATURES
15128 if test -z "$defaultval"; then
15129 if test x"$enablestring" = xdisable; then
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-metafile" >&5
15137 $as_echo_n "checking
for --${enablestring:-enable}-metafile...
" >&6; }
15138 # Check whether --enable-metafile was given.
15139 if test "${enable_metafile+set}" = set; then :
15140 enableval=$enable_metafile;
15141 if test "$enableval" = yes; then
15142 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15144 wx_cv_use_metafile='wxUSE_METAFILE=no'
15149 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15154 eval "$wx_cv_use_metafile"
15156 if test x
"$enablestring" = xdisable
; then
15157 if test $wxUSE_METAFILE = no
; then
15163 result
=$wxUSE_METAFILE
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15167 $as_echo "$result" >&6; }
15171 defaultval
=$wxUSE_ALL_FEATURES
15172 if test -z "$defaultval"; then
15173 if test x
"$enablestring" = xdisable
; then
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15181 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15182 # Check whether --enable-dragimage was given.
15183 if test "${enable_dragimage+set}" = set; then :
15184 enableval
=$enable_dragimage;
15185 if test "$enableval" = yes; then
15186 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
15188 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
15193 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15198 eval "$wx_cv_use_dragimage"
15200 if test x"$enablestring" = xdisable; then
15201 if test $wxUSE_DRAGIMAGE = no; then
15207 result=$wxUSE_DRAGIMAGE
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15211 $as_echo "$result" >&6; }
15215 defaultval=$wxUSE_ALL_FEATURES
15216 if test -z "$defaultval"; then
15217 if test x"$enablestring" = xdisable; then
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15225 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15226 # Check whether --enable-accessibility was given.
15227 if test "${enable_accessibility+set}" = set; then :
15228 enableval=$enable_accessibility;
15229 if test "$enableval" = yes; then
15230 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
15232 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
15237 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15242 eval "$wx_cv_use_accessibility"
15244 if test x"$enablestring" = xdisable; then
15245 if test $wxUSE_ACCESSIBILITY = no; then
15251 result=$wxUSE_ACCESSIBILITY
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15255 $as_echo "$result" >&6; }
15259 defaultval=$wxUSE_ALL_FEATURES
15260 if test -z "$defaultval"; then
15261 if test x"$enablestring" = xdisable; then
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-uiactionsim" >&5
15269 $as_echo_n "checking
for --${enablestring:-enable}-uiactionsim...
" >&6; }
15270 # Check whether --enable-uiactionsim was given.
15271 if test "${enable_uiactionsim+set}" = set; then :
15272 enableval=$enable_uiactionsim;
15273 if test "$enableval" = yes; then
15274 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15276 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15281 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15286 eval "$wx_cv_use_uiactionsim"
15288 if test x
"$enablestring" = xdisable
; then
15289 if test $wxUSE_UIACTIONSIMULATOR = no
; then
15295 result
=$wxUSE_UIACTIONSIMULATOR
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15299 $as_echo "$result" >&6; }
15303 defaultval
=$wxUSE_ALL_FEATURES
15304 if test -z "$defaultval"; then
15305 if test x
"$enablestring" = xdisable
; then
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15313 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15314 # Check whether --enable-dctransform was given.
15315 if test "${enable_dctransform+set}" = set; then :
15316 enableval
=$enable_dctransform;
15317 if test "$enableval" = yes; then
15318 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=yes'
15320 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=no'
15325 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15330 eval "$wx_cv_use_dctransform"
15332 if test x"$enablestring" = xdisable; then
15333 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15339 result=$wxUSE_DC_TRANSFORM_MATRIX
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15343 $as_echo "$result" >&6; }
15347 defaultval=$wxUSE_ALL_FEATURES
15348 if test -z "$defaultval"; then
15349 if test x"$enablestring" = xdisable; then
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15357 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15358 # Check whether --enable-webviewwebkit was given.
15359 if test "${enable_webviewwebkit+set}" = set; then :
15360 enableval=$enable_webviewwebkit;
15361 if test "$enableval" = yes; then
15362 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=yes'
15364 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=no
'
15369 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15374 eval "$wx_cv_use_webviewwebkit"
15376 if test x"$enablestring" = xdisable; then
15377 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15383 result=$wxUSE_WEBVIEW_WEBKIT
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15387 $as_echo "$result" >&6; }
15393 defaultval=$wxUSE_ALL_FEATURES
15394 if test -z "$defaultval"; then
15395 if test x"$enablestring" = xdisable; then
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-palette" >&5
15403 $as_echo_n "checking
for --${enablestring:-enable}-palette...
" >&6; }
15404 # Check whether --enable-palette was given.
15405 if test "${enable_palette+set}" = set; then :
15406 enableval=$enable_palette;
15407 if test "$enableval" = yes; then
15408 wx_cv_use_palette='wxUSE_PALETTE=yes'
15410 wx_cv_use_palette='wxUSE_PALETTE=no'
15415 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15420 eval "$wx_cv_use_palette"
15422 if test x
"$enablestring" = xdisable
; then
15423 if test $wxUSE_PALETTE = no
; then
15429 result
=$wxUSE_PALETTE
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15433 $as_echo "$result" >&6; }
15437 defaultval
=$wxUSE_ALL_FEATURES
15438 if test -z "$defaultval"; then
15439 if test x
"$enablestring" = xdisable
; then
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15447 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15448 # Check whether --enable-image was given.
15449 if test "${enable_image+set}" = set; then :
15450 enableval
=$enable_image;
15451 if test "$enableval" = yes; then
15452 wx_cv_use_image
='wxUSE_IMAGE=yes'
15454 wx_cv_use_image
='wxUSE_IMAGE=no'
15459 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15464 eval "$wx_cv_use_image"
15466 if test x"$enablestring" = xdisable; then
15467 if test $wxUSE_IMAGE = no; then
15473 result=$wxUSE_IMAGE
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15477 $as_echo "$result" >&6; }
15481 defaultval=$wxUSE_ALL_FEATURES
15482 if test -z "$defaultval"; then
15483 if test x"$enablestring" = xdisable; then
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15491 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15492 # Check whether --enable-gif was given.
15493 if test "${enable_gif+set}" = set; then :
15494 enableval=$enable_gif;
15495 if test "$enableval" = yes; then
15496 wx_cv_use_gif='wxUSE_GIF
=yes'
15498 wx_cv_use_gif='wxUSE_GIF
=no
'
15503 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15508 eval "$wx_cv_use_gif"
15510 if test x"$enablestring" = xdisable; then
15511 if test $wxUSE_GIF = no; then
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15521 $as_echo "$result" >&6; }
15525 defaultval=$wxUSE_ALL_FEATURES
15526 if test -z "$defaultval"; then
15527 if test x"$enablestring" = xdisable; then
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-pcx" >&5
15535 $as_echo_n "checking
for --${enablestring:-enable}-pcx...
" >&6; }
15536 # Check whether --enable-pcx was given.
15537 if test "${enable_pcx+set}" = set; then :
15538 enableval=$enable_pcx;
15539 if test "$enableval" = yes; then
15540 wx_cv_use_pcx='wxUSE_PCX=yes'
15542 wx_cv_use_pcx='wxUSE_PCX=no'
15547 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15552 eval "$wx_cv_use_pcx"
15554 if test x
"$enablestring" = xdisable
; then
15555 if test $wxUSE_PCX = no
; then
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15565 $as_echo "$result" >&6; }
15569 defaultval
=$wxUSE_ALL_FEATURES
15570 if test -z "$defaultval"; then
15571 if test x
"$enablestring" = xdisable
; then
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15579 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15580 # Check whether --enable-tga was given.
15581 if test "${enable_tga+set}" = set; then :
15582 enableval
=$enable_tga;
15583 if test "$enableval" = yes; then
15584 wx_cv_use_tga
='wxUSE_TGA=yes'
15586 wx_cv_use_tga
='wxUSE_TGA=no'
15591 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15596 eval "$wx_cv_use_tga"
15598 if test x"$enablestring" = xdisable; then
15599 if test $wxUSE_TGA = no; then
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15609 $as_echo "$result" >&6; }
15613 defaultval=$wxUSE_ALL_FEATURES
15614 if test -z "$defaultval"; then
15615 if test x"$enablestring" = xdisable; then
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15623 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15624 # Check whether --enable-iff was given.
15625 if test "${enable_iff+set}" = set; then :
15626 enableval=$enable_iff;
15627 if test "$enableval" = yes; then
15628 wx_cv_use_iff='wxUSE_IFF
=yes'
15630 wx_cv_use_iff='wxUSE_IFF
=no
'
15635 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15640 eval "$wx_cv_use_iff"
15642 if test x"$enablestring" = xdisable; then
15643 if test $wxUSE_IFF = no; then
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15653 $as_echo "$result" >&6; }
15657 defaultval=$wxUSE_ALL_FEATURES
15658 if test -z "$defaultval"; then
15659 if test x"$enablestring" = xdisable; then
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-pnm" >&5
15667 $as_echo_n "checking
for --${enablestring:-enable}-pnm...
" >&6; }
15668 # Check whether --enable-pnm was given.
15669 if test "${enable_pnm+set}" = set; then :
15670 enableval=$enable_pnm;
15671 if test "$enableval" = yes; then
15672 wx_cv_use_pnm='wxUSE_PNM=yes'
15674 wx_cv_use_pnm='wxUSE_PNM=no'
15679 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15684 eval "$wx_cv_use_pnm"
15686 if test x
"$enablestring" = xdisable
; then
15687 if test $wxUSE_PNM = no
; then
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15697 $as_echo "$result" >&6; }
15701 defaultval
=$wxUSE_ALL_FEATURES
15702 if test -z "$defaultval"; then
15703 if test x
"$enablestring" = xdisable
; then
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15711 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15712 # Check whether --enable-xpm was given.
15713 if test "${enable_xpm+set}" = set; then :
15714 enableval
=$enable_xpm;
15715 if test "$enableval" = yes; then
15716 wx_cv_use_xpm
='wxUSE_XPM=yes'
15718 wx_cv_use_xpm
='wxUSE_XPM=no'
15723 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15728 eval "$wx_cv_use_xpm"
15730 if test x"$enablestring" = xdisable; then
15731 if test $wxUSE_XPM = no; then
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15741 $as_echo "$result" >&6; }
15745 defaultval=$wxUSE_ALL_FEATURES
15746 if test -z "$defaultval"; then
15747 if test x"$enablestring" = xdisable; then
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15755 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15756 # Check whether --enable-ico_cur was given.
15757 if test "${enable_ico_cur+set}" = set; then :
15758 enableval=$enable_ico_cur;
15759 if test "$enableval" = yes; then
15760 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
15762 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
15767 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15772 eval "$wx_cv_use_ico_cur"
15774 if test x"$enablestring" = xdisable; then
15775 if test $wxUSE_ICO_CUR = no; then
15781 result=$wxUSE_ICO_CUR
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15785 $as_echo "$result" >&6; }
15791 defaultval=$wxUSE_ALL_FEATURES
15792 if test -z "$defaultval"; then
15793 if test x"$enablestring" = xdisable; then
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dccache" >&5
15801 $as_echo_n "checking
for --${enablestring:-enable}-dccache...
" >&6; }
15802 # Check whether --enable-dccache was given.
15803 if test "${enable_dccache+set}" = set; then :
15804 enableval=$enable_dccache;
15805 if test "$enableval" = yes; then
15806 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15808 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15813 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15818 eval "$wx_cv_use_dccache"
15820 if test x
"$enablestring" = xdisable
; then
15821 if test $wxUSE_DC_CACHEING = no
; then
15827 result
=$wxUSE_DC_CACHEING
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15831 $as_echo "$result" >&6; }
15835 defaultval
=$wxUSE_ALL_FEATURES
15836 if test -z "$defaultval"; then
15837 if test x
"$enablestring" = xdisable
; then
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15845 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15846 # Check whether --enable-ps-in-msw was given.
15847 if test "${enable_ps_in_msw+set}" = set; then :
15848 enableval
=$enable_ps_in_msw;
15849 if test "$enableval" = yes; then
15850 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15852 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15857 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15862 eval "$wx_cv_use_ps_in_msw"
15864 if test x"$enablestring" = xdisable; then
15865 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15871 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15875 $as_echo "$result" >&6; }
15879 defaultval=$wxUSE_ALL_FEATURES
15880 if test -z "$defaultval"; then
15881 if test x"$enablestring" = xdisable; then
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15889 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15890 # Check whether --enable-ownerdrawn was given.
15891 if test "${enable_ownerdrawn+set}" = set; then :
15892 enableval=$enable_ownerdrawn;
15893 if test "$enableval" = yes; then
15894 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
15896 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
15901 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15906 eval "$wx_cv_use_ownerdrawn"
15908 if test x"$enablestring" = xdisable; then
15909 if test $wxUSE_OWNER_DRAWN = no; then
15915 result=$wxUSE_OWNER_DRAWN
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15919 $as_echo "$result" >&6; }
15923 defaultval=$wxUSE_ALL_FEATURES
15924 if test -z "$defaultval"; then
15925 if test x"$enablestring" = xdisable; then
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-uxtheme" >&5
15933 $as_echo_n "checking
for --${enablestring:-enable}-uxtheme...
" >&6; }
15934 # Check whether --enable-uxtheme was given.
15935 if test "${enable_uxtheme+set}" = set; then :
15936 enableval=$enable_uxtheme;
15937 if test "$enableval" = yes; then
15938 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15940 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15945 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15950 eval "$wx_cv_use_uxtheme"
15952 if test x
"$enablestring" = xdisable
; then
15953 if test $wxUSE_UXTHEME = no
; then
15959 result
=$wxUSE_UXTHEME
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15963 $as_echo "$result" >&6; }
15967 defaultval
=$wxUSE_ALL_FEATURES
15968 if test -z "$defaultval"; then
15969 if test x
"$enablestring" = xdisable
; then
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
15977 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
15978 # Check whether --enable-wxdib was given.
15979 if test "${enable_wxdib+set}" = set; then :
15980 enableval
=$enable_wxdib;
15981 if test "$enableval" = yes; then
15982 wx_cv_use_wxdib
='wxUSE_DIB=yes'
15984 wx_cv_use_wxdib
='wxUSE_DIB=no'
15989 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15994 eval "$wx_cv_use_wxdib"
15996 if test x"$enablestring" = xdisable; then
15997 if test $wxUSE_DIB = no; then
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16007 $as_echo "$result" >&6; }
16011 defaultval=$wxUSE_ALL_FEATURES
16012 if test -z "$defaultval"; then
16013 if test x"$enablestring" = xdisable; then
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16021 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16022 # Check whether --enable-webviewie was given.
16023 if test "${enable_webviewie+set}" = set; then :
16024 enableval=$enable_webviewie;
16025 if test "$enableval" = yes; then
16026 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=yes'
16028 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=no
'
16033 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16038 eval "$wx_cv_use_webviewie"
16040 if test x"$enablestring" = xdisable; then
16041 if test $wxUSE_WEBVIEW_IE = no; then
16047 result=$wxUSE_WEBVIEW_IE
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16051 $as_echo "$result" >&6; }
16054 if test "$wxUSE_MSW" != 1; then
16055 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16060 defaultval=$wxUSE_ALL_FEATURES
16061 if test -z "$defaultval"; then
16062 if test x"$enablestring" = xdisable; then
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-autoidman" >&5
16070 $as_echo_n "checking
for --${enablestring:-enable}-autoidman...
" >&6; }
16071 # Check whether --enable-autoidman was given.
16072 if test "${enable_autoidman+set}" = set; then :
16073 enableval=$enable_autoidman;
16074 if test "$enableval" = yes; then
16075 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16077 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16082 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16087 eval "$wx_cv_use_autoidman"
16089 if test x
"$enablestring" = xdisable
; then
16090 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
16096 result
=$wxUSE_AUTOID_MANAGEMENT
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16100 $as_echo "$result" >&6; }
16106 cat >confcache
<<\_ACEOF
16107 # This file is a shell script that caches the results of configure
16108 # tests run on this system so they can be shared between configure
16109 # scripts and configure runs, see configure's option --config-cache.
16110 # It is not useful on other systems. If it contains results you don't
16111 # want to keep, you may remove or edit it.
16113 # config.status only pays attention to the cache file if you give it
16114 # the --recheck option to rerun configure.
16116 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16117 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16118 # following values.
16122 # The following way of writing the cache mishandles newlines in values,
16123 # but we know of no workaround that is simple, portable, and efficient.
16124 # So, we kill variables containing newlines.
16125 # Ultrix sh set writes to stderr and can't be redirected directly,
16126 # and sets the high bit in the cache file unless we assign to the vars.
16128 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16129 eval ac_val
=\$
$ac_var
16133 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16134 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16137 _
| IFS
| as_nl
) ;; #(
16138 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16139 *) { eval $ac_var=; unset $ac_var;} ;;
16145 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16146 *${as_nl}ac_space
=\
*)
16147 # `set' does not quote correctly, so add quotes: double-quote
16148 # substitution turns \\\\ into \\, and sed turns \\ into \.
16151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16154 # `set' quotes correctly as required by POSIX, so do not add quotes.
16155 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16164 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16166 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16168 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16169 if test -w "$cache_file"; then
16170 test "x$cache_file" != "x/dev/null" &&
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16172 $as_echo "$as_me: updating cache $cache_file" >&6;}
16173 cat confcache
>$cache_file
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16176 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16183 ac_cpp
='$CPP $CPPFLAGS'
16184 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16185 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16186 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16187 if test -n "$ac_tool_prefix"; then
16188 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16189 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16191 $as_echo_n "checking for $ac_word... " >&6; }
16192 if test "${ac_cv_prog_CC+set}" = set; then :
16193 $as_echo_n "(cached) " >&6
16195 if test -n "$CC"; then
16196 ac_cv_prog_CC
="$CC" # Let the user override the test.
16198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16199 for as_dir
in $PATH
16202 test -z "$as_dir" && as_dir
=.
16203 for ac_exec_ext
in '' $ac_executable_extensions; do
16204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16205 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16216 if test -n "$CC"; then
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16218 $as_echo "$CC" >&6; }
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16221 $as_echo "no" >&6; }
16226 if test -z "$ac_cv_prog_CC"; then
16228 # Extract the first word of "gcc", so it can be a program name with args.
16229 set dummy gcc
; ac_word
=$2
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16231 $as_echo_n "checking for $ac_word... " >&6; }
16232 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16233 $as_echo_n "(cached) " >&6
16235 if test -n "$ac_ct_CC"; then
16236 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16239 for as_dir
in $PATH
16242 test -z "$as_dir" && as_dir
=.
16243 for ac_exec_ext
in '' $ac_executable_extensions; do
16244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16245 ac_cv_prog_ac_ct_CC
="gcc"
16246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16255 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16256 if test -n "$ac_ct_CC"; then
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16258 $as_echo "$ac_ct_CC" >&6; }
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16261 $as_echo "no" >&6; }
16264 if test "x$ac_ct_CC" = x
; then
16267 case $cross_compiling:$ac_tool_warned in
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16271 ac_tool_warned
=yes ;;
16276 CC
="$ac_cv_prog_CC"
16279 if test -z "$CC"; then
16280 if test -n "$ac_tool_prefix"; then
16281 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16282 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16284 $as_echo_n "checking for $ac_word... " >&6; }
16285 if test "${ac_cv_prog_CC+set}" = set; then :
16286 $as_echo_n "(cached) " >&6
16288 if test -n "$CC"; then
16289 ac_cv_prog_CC
="$CC" # Let the user override the test.
16291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16292 for as_dir
in $PATH
16295 test -z "$as_dir" && as_dir
=.
16296 for ac_exec_ext
in '' $ac_executable_extensions; do
16297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16298 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16309 if test -n "$CC"; then
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16311 $as_echo "$CC" >&6; }
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16314 $as_echo "no" >&6; }
16320 if test -z "$CC"; then
16321 # Extract the first word of "cc", so it can be a program name with args.
16322 set dummy cc
; ac_word
=$2
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16324 $as_echo_n "checking for $ac_word... " >&6; }
16325 if test "${ac_cv_prog_CC+set}" = set; then :
16326 $as_echo_n "(cached) " >&6
16328 if test -n "$CC"; then
16329 ac_cv_prog_CC
="$CC" # Let the user override the test.
16331 ac_prog_rejected
=no
16332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16333 for as_dir
in $PATH
16336 test -z "$as_dir" && as_dir
=.
16337 for ac_exec_ext
in '' $ac_executable_extensions; do
16338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16339 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16340 ac_prog_rejected
=yes
16344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16351 if test $ac_prog_rejected = yes; then
16352 # We found a bogon in the path, so make sure we never use it.
16353 set dummy
$ac_cv_prog_CC
16355 if test $# != 0; then
16356 # We chose a different compiler from the bogus one.
16357 # However, it has the same basename, so the bogon will be chosen
16358 # first if we set CC to just the basename; use the full file name.
16360 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16366 if test -n "$CC"; then
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16368 $as_echo "$CC" >&6; }
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16371 $as_echo "no" >&6; }
16376 if test -z "$CC"; then
16377 if test -n "$ac_tool_prefix"; then
16378 for ac_prog
in cl.exe
16380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16381 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16383 $as_echo_n "checking for $ac_word... " >&6; }
16384 if test "${ac_cv_prog_CC+set}" = set; then :
16385 $as_echo_n "(cached) " >&6
16387 if test -n "$CC"; then
16388 ac_cv_prog_CC
="$CC" # Let the user override the test.
16390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16391 for as_dir
in $PATH
16394 test -z "$as_dir" && as_dir
=.
16395 for ac_exec_ext
in '' $ac_executable_extensions; do
16396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16397 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16408 if test -n "$CC"; then
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16410 $as_echo "$CC" >&6; }
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16413 $as_echo "no" >&6; }
16417 test -n "$CC" && break
16420 if test -z "$CC"; then
16422 for ac_prog
in cl.exe
16424 # Extract the first word of "$ac_prog", so it can be a program name with args.
16425 set dummy
$ac_prog; ac_word
=$2
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16427 $as_echo_n "checking for $ac_word... " >&6; }
16428 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16429 $as_echo_n "(cached) " >&6
16431 if test -n "$ac_ct_CC"; then
16432 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16435 for as_dir
in $PATH
16438 test -z "$as_dir" && as_dir
=.
16439 for ac_exec_ext
in '' $ac_executable_extensions; do
16440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16441 ac_cv_prog_ac_ct_CC
="$ac_prog"
16442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16451 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16452 if test -n "$ac_ct_CC"; then
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16454 $as_echo "$ac_ct_CC" >&6; }
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16457 $as_echo "no" >&6; }
16461 test -n "$ac_ct_CC" && break
16464 if test "x$ac_ct_CC" = x
; then
16467 case $cross_compiling:$ac_tool_warned in
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16471 ac_tool_warned
=yes ;;
16480 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16482 as_fn_error $?
"no acceptable C compiler found in \$PATH
16483 See \`config.log' for more details" "$LINENO" 5 ; }
16485 # Provide some information about the compiler.
16486 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16489 for ac_option
in --version -v -V -qversion; do
16490 { { ac_try
="$ac_compiler $ac_option >&5"
16491 case "(($ac_try" in
16492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16493 *) ac_try_echo=$ac_try;;
16495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16496 $as_echo "$ac_try_echo"; } >&5
16497 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16499 if test -s conftest.err; then
16501 ... rest of stderr output deleted ...
16502 10q' conftest.err >conftest.er1
16503 cat conftest.er1 >&5
16505 rm -f conftest.er1 conftest.err
16506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16507 test $ac_status = 0; }
16510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16511 /* end confdefs.h. */
16521 ac_clean_files_save=$ac_clean_files
16522 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16523 # Try to create an executable without -o first, disregard a.out.
16524 # It will help us diagnose broken compilers, and finding out an intuition
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16527 $as_echo_n "checking whether the C compiler works... " >&6; }
16528 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16530 # The possible output files:
16531 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16534 for ac_file in $ac_files
16537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16538 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16543 if { { ac_try="$ac_link_default"
16544 case "(($ac_try" in
16545 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16546 *) ac_try_echo
=$ac_try;;
16548 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16549 $as_echo "$ac_try_echo"; } >&5
16550 (eval "$ac_link_default") 2>&5
16552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16553 test $ac_status = 0; }; then :
16554 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16555 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16556 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16557 # so that the user can short-circuit this test for compilers unknown to
16559 for ac_file
in $ac_files ''
16561 test -f "$ac_file" || continue
16563 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
16566 # We found the default executable, but exeext='' is most
16570 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16572 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16574 # We set ac_cv_exeext here because the later test for it is not
16575 # safe: cross compilers may not add the suffix if given an `-o'
16576 # argument, so we may need to know it at that point already.
16577 # Even if this section looks crufty: it has the advantage of
16578 # actually working.
16584 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16589 if test -z "$ac_file"; then :
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16591 $as_echo "no" >&6; }
16592 $as_echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.
$ac_ext >&5
16595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16597 as_fn_error
77 "C compiler cannot create executables
16598 See \`config.log' for more details" "$LINENO" 5 ; }
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16601 $as_echo "yes" >&6; }
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16604 $as_echo_n "checking for C compiler default output file name... " >&6; }
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16606 $as_echo "$ac_file" >&6; }
16607 ac_exeext
=$ac_cv_exeext
16609 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
16610 ac_clean_files
=$ac_clean_files_save
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16612 $as_echo_n "checking for suffix of executables... " >&6; }
16613 if { { ac_try
="$ac_link"
16614 case "(($ac_try" in
16615 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16616 *) ac_try_echo=$ac_try;;
16618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16619 $as_echo "$ac_try_echo"; } >&5
16620 (eval "$ac_link") 2>&5
16622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16623 test $ac_status = 0; }; then :
16624 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
16625 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
16626 # work properly (i.e., refer to `conftest.exe'), while it won't with
16628 for ac_file
in conftest.exe conftest conftest.
*; do
16629 test -f "$ac_file" || continue
16631 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
16632 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16640 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
16641 See \`config.log' for more details" "$LINENO" 5 ; }
16643 rm -f conftest conftest
$ac_cv_exeext
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16645 $as_echo "$ac_cv_exeext" >&6; }
16647 rm -f conftest.
$ac_ext
16648 EXEEXT
=$ac_cv_exeext
16650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16656 FILE *f = fopen ("conftest.out", "w");
16657 return ferror (f) || fclose (f) != 0;
16663 ac_clean_files
="$ac_clean_files conftest.out"
16664 # Check that the compiler produces executables we can run. If not, either
16665 # the compiler is broken, or we cross compile.
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16667 $as_echo_n "checking whether we are cross compiling... " >&6; }
16668 if test "$cross_compiling" != yes; then
16669 { { ac_try
="$ac_link"
16670 case "(($ac_try" in
16671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16672 *) ac_try_echo=$ac_try;;
16674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16675 $as_echo "$ac_try_echo"; } >&5
16676 (eval "$ac_link") 2>&5
16678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16679 test $ac_status = 0; }
16680 if { ac_try='./conftest$ac_cv_exeext'
16681 { { case "(($ac_try" in
16682 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16683 *) ac_try_echo
=$ac_try;;
16685 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16686 $as_echo "$ac_try_echo"; } >&5
16687 (eval "$ac_try") 2>&5
16689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16690 test $ac_status = 0; }; }; then
16693 if test "$cross_compiling" = maybe
; then
16694 cross_compiling
=yes
16696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16698 as_fn_error $?
"cannot run C compiled programs.
16699 If you meant to cross compile, use \`--host'.
16700 See \`config.log' for more details" "$LINENO" 5 ; }
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16705 $as_echo "$cross_compiling" >&6; }
16707 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
16708 ac_clean_files
=$ac_clean_files_save
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16710 $as_echo_n "checking for suffix of object files... " >&6; }
16711 if test "${ac_cv_objext+set}" = set; then :
16712 $as_echo_n "(cached) " >&6
16714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16725 rm -f conftest.o conftest.obj
16726 if { { ac_try
="$ac_compile"
16727 case "(($ac_try" in
16728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16732 $as_echo "$ac_try_echo"; } >&5
16733 (eval "$ac_compile") 2>&5
16735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16736 test $ac_status = 0; }; then :
16737 for ac_file in conftest.o conftest.obj conftest.*; do
16738 test -f "$ac_file" || continue;
16740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16741 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16746 $as_echo "$as_me: failed program was:" >&5
16747 sed 's/^/| /' conftest.$ac_ext >&5
16749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16751 as_fn_error $? "cannot compute suffix of object files
: cannot compile
16752 See \
`config.log' for more details" "$LINENO" 5 ; }
16754 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16757 $as_echo "$ac_cv_objext" >&6; }
16758 OBJEXT=$ac_cv_objext
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16761 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16762 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
16763 $as_echo_n "(cached) " >&6
16765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16766 /* end confdefs.h. */
16779 if ac_fn_c_try_compile "$LINENO"; then :
16780 ac_compiler_gnu=yes
16784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16785 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16789 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16790 if test $ac_compiler_gnu = yes; then
16795 ac_test_CFLAGS=${CFLAGS+set}
16796 ac_save_CFLAGS=$CFLAGS
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16798 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16799 if test "${ac_cv_prog_cc_g+set}" = set; then :
16800 $as_echo_n "(cached) " >&6
16802 ac_save_c_werror_flag=$ac_c_werror_flag
16803 ac_c_werror_flag=yes
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16817 if ac_fn_c_try_compile "$LINENO"; then :
16818 ac_cv_prog_cc_g=yes
16821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16822 /* end confdefs.h. */
16832 if ac_fn_c_try_compile "$LINENO"; then :
16835 ac_c_werror_flag=$ac_save_c_werror_flag
16837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16838 /* end confdefs.h. */
16848 if ac_fn_c_try_compile "$LINENO"; then :
16849 ac_cv_prog_cc_g=yes
16851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16856 ac_c_werror_flag=$ac_save_c_werror_flag
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16859 $as_echo "$ac_cv_prog_cc_g" >&6; }
16860 if test "$ac_test_CFLAGS" = set; then
16861 CFLAGS=$ac_save_CFLAGS
16862 elif test $ac_cv_prog_cc_g = yes; then
16863 if test "$GCC" = yes; then
16869 if test "$GCC" = yes; then
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16876 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16877 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16878 $as_echo_n "(cached) " >&6
16880 ac_cv_prog_cc_c89=no
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16884 #include <stdarg.h>
16886 #include <sys/types.h>
16887 #include <sys/stat.h>
16888 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16889 struct buf { int x; };
16890 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16891 static char *e (p, i)
16897 static char *f (char * (*g) (char **, int), char **p, ...)
16902 s = g (p, va_arg (v,int));
16907 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16908 function prototypes and stuff, but not '\xHH' hex character constants.
16909 These don't provoke an error unfortunately, instead are silently treated
16910 as 'x'. The following induces an error, until -std is added to get
16911 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16912 array size at least. It's necessary to write '\x00'==0 to get something
16913 that's true only with -std. */
16914 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16916 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16917 inside strings and character constants. */
16919 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16921 int test (int i, double x);
16922 struct s1 {int (*f) (int a);};
16923 struct s2 {int (*f) (double a);};
16924 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16930 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16935 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16936 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16938 CC="$ac_save_CC $ac_arg"
16939 if ac_fn_c_try_compile "$LINENO"; then :
16940 ac_cv_prog_cc_c89=$ac_arg
16942 rm -f core conftest.err conftest.$ac_objext
16943 test "x$ac_cv_prog_cc_c89" != "xno" && break
16945 rm -f conftest.$ac_ext
16950 case "x$ac_cv_prog_cc_c89" in
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16953 $as_echo "none needed" >&6; } ;;
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16956 $as_echo "unsupported" >&6; } ;;
16958 CC="$CC $ac_cv_prog_cc_c89"
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16960 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16962 if test "x$ac_cv_prog_cc_c89" != xno; then :
16967 ac_cpp='$CPP $CPPFLAGS'
16968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16980 ac_cpp='$CPP $CPPFLAGS'
16981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
16986 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
16987 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then :
16988 $as_echo_n "(cached) " >&6
16990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16991 /* end confdefs.h. */
16997 #ifndef __INTEL_COMPILER
17005 if ac_fn_c_try_compile "$LINENO"; then :
17006 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17008 bakefile_cv_c_compiler___INTEL_COMPILER=no
17011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17016 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17017 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17023 ac_cpp='$CPP $CPPFLAGS'
17024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17031 if test "$INTELCC" = "yes"; then
17035 ac_cpp='$CPP $CPPFLAGS'
17036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17041 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17042 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
17043 $as_echo_n "(cached) " >&6
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17052 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17060 if ac_fn_c_try_compile "$LINENO"; then :
17061 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17063 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17071 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17072 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17078 ac_cpp='$CPP $CPPFLAGS'
17079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17088 ac_cpp='$CPP $CPPFLAGS'
17089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17094 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17095 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
17096 $as_echo_n "(cached) " >&6
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17105 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17113 if ac_fn_c_try_compile "$LINENO"; then :
17114 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17116 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17124 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17125 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17131 ac_cpp='$CPP $CPPFLAGS'
17132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17140 if test "x$GCC" != "xyes"; then
17141 if test "xCC" = "xC"; then
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17143 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17144 if test "${bakefile_cv_c_exto+set}" = set; then :
17145 $as_echo_n "(cached) " >&6
17147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h. */
17158 rm -f conftest.$ac_objext conftest.$ac_ext.o
17159 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17160 (eval $ac_compile) 2>&5
17162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17163 test $ac_status = 0; }; then :
17164 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
17166 conftest.$ac_ext.o)
17167 bakefile_cv_c_exto="-ext o"
17174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17176 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
17177 See \
`config.log' for more details" "$LINENO" 5 ; }
17180 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17184 $as_echo "$bakefile_cv_c_exto" >&6; }
17185 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17186 if test "c" = "c"; then
17187 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17189 if test "c" = "cxx"; then
17190 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17194 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17195 unset ac_cv_prog_cc_g
17196 ac_test_CFLAGS=${CFLAGS+set}
17197 ac_save_CFLAGS=$CFLAGS
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17199 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17200 if test "${ac_cv_prog_cc_g+set}" = set; then :
17201 $as_echo_n "(cached) " >&6
17203 ac_save_c_werror_flag=$ac_c_werror_flag
17204 ac_c_werror_flag=yes
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17218 if ac_fn_c_try_compile "$LINENO"; then :
17219 ac_cv_prog_cc_g=yes
17222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17223 /* end confdefs.h. */
17233 if ac_fn_c_try_compile "$LINENO"; then :
17236 ac_c_werror_flag=$ac_save_c_werror_flag
17238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h. */
17249 if ac_fn_c_try_compile "$LINENO"; then :
17250 ac_cv_prog_cc_g=yes
17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17257 ac_c_werror_flag=$ac_save_c_werror_flag
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17260 $as_echo "$ac_cv_prog_cc_g" >&6; }
17261 if test "$ac_test_CFLAGS" = set; then
17262 CFLAGS=$ac_save_CFLAGS
17263 elif test $ac_cv_prog_cc_g = yes; then
17264 if test "$GCC" = yes; then
17270 if test "$GCC" = yes; then
17284 ac_cpp='$CPP $CPPFLAGS'
17285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17290 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17291 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17292 $as_echo_n "(cached) " >&6
17294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h. */
17309 if ac_fn_c_try_compile "$LINENO"; then :
17310 bakefile_cv_c_compiler___xlC__=yes
17312 bakefile_cv_c_compiler___xlC__=no
17315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17320 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17321 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17327 ac_cpp='$CPP $CPPFLAGS'
17328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17340 ac_cpp='$CPP $CPPFLAGS'
17341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17346 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17347 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then :
17348 $as_echo_n "(cached) " >&6
17350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17351 /* end confdefs.h. */
17365 if ac_fn_c_try_compile "$LINENO"; then :
17366 bakefile_cv_c_compiler___MWERKS__=yes
17368 bakefile_cv_c_compiler___MWERKS__=no
17371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17376 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17377 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17383 ac_cpp='$CPP $CPPFLAGS'
17384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17390 if test "$MWCC" != "yes"; then
17394 ac_cpp='$CPP $CPPFLAGS'
17395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17400 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17401 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17402 $as_echo_n "(cached) " >&6
17404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h. */
17419 if ac_fn_c_try_compile "$LINENO"; then :
17420 bakefile_cv_c_compiler___xlC__=yes
17422 bakefile_cv_c_compiler___xlC__=no
17425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17430 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17431 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17437 ac_cpp='$CPP $CPPFLAGS'
17438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17451 ac_cpp='$CPP $CPPFLAGS'
17452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17457 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17458 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then :
17459 $as_echo_n "(cached) " >&6
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17468 #ifndef _SGI_COMPILER_VERSION
17476 if ac_fn_c_try_compile "$LINENO"; then :
17477 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17479 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17487 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17488 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17494 ac_cpp='$CPP $CPPFLAGS'
17495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17504 if test "$INTELCC" != "yes"; then
17508 ac_cpp='$CPP $CPPFLAGS'
17509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17514 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17515 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17516 $as_echo_n "(cached) " >&6
17518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17519 /* end confdefs.h. */
17533 if ac_fn_c_try_compile "$LINENO"; then :
17534 bakefile_cv_c_compiler___SUNPRO_C=yes
17536 bakefile_cv_c_compiler___SUNPRO_C=no
17539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17544 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17545 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17551 ac_cpp='$CPP $CPPFLAGS'
17552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17565 ac_cpp='$CPP $CPPFLAGS'
17566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17571 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17572 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then :
17573 $as_echo_n "(cached) " >&6
17575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h. */
17590 if ac_fn_c_try_compile "$LINENO"; then :
17591 bakefile_cv_c_compiler___HP_cc=yes
17593 bakefile_cv_c_compiler___HP_cc=no
17596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17601 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17602 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17608 ac_cpp='$CPP $CPPFLAGS'
17609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17621 ac_cpp='$CPP $CPPFLAGS'
17622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17627 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17628 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then :
17629 $as_echo_n "(cached) " >&6
17631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17646 if ac_fn_c_try_compile "$LINENO"; then :
17647 bakefile_cv_c_compiler___DECC=yes
17649 bakefile_cv_c_compiler___DECC=no
17652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17657 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17658 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17664 ac_cpp='$CPP $CPPFLAGS'
17665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17677 ac_cpp='$CPP $CPPFLAGS'
17678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17683 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17684 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17685 $as_echo_n "(cached) " >&6
17687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17688 /* end confdefs.h. */
17702 if ac_fn_c_try_compile "$LINENO"; then :
17703 bakefile_cv_c_compiler___SUNPRO_C=yes
17705 bakefile_cv_c_compiler___SUNPRO_C=no
17708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17713 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17714 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17720 ac_cpp='$CPP $CPPFLAGS'
17721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17734 ac_cpp='$CPP $CPPFLAGS'
17735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17739 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17740 # On Suns, sometimes $CPP names a directory.
17741 if test -n "$CPP" && test -d "$CPP"; then
17744 if test -z "$CPP"; then
17745 if test "${ac_cv_prog_CPP+set}" = set; then :
17746 $as_echo_n "(cached) " >&6
17748 # Double quotes because CPP needs to be expanded
17749 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17751 ac_preproc_ok=false
17752 for ac_c_preproc_warn_flag in '' yes
17754 # Use a header file that comes with gcc, so configuring glibc
17755 # with a fresh cross-compiler works.
17756 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17757 # <limits.h> exists even on freestanding compilers.
17758 # On the NeXT, cc -E runs the code through the compiler's parser,
17759 # not just through cpp. "Syntax error" is here to catch this case.
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17763 # include <limits.h>
17765 # include <assert.h>
17769 if ac_fn_c_try_cpp "$LINENO"; then :
17772 # Broken: fails on valid input.
17775 rm -f conftest.err conftest.i conftest.$ac_ext
17777 # OK, works on sane cases. Now check whether nonexistent headers
17778 # can be detected and how.
17779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17781 #include <ac_nonexistent.h>
17783 if ac_fn_c_try_cpp "$LINENO"; then :
17784 # Broken: success on invalid input.
17787 # Passes both tests.
17791 rm -f conftest.err conftest.i conftest.$ac_ext
17794 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17795 rm -f conftest.i conftest.err conftest.
$ac_ext
17796 if $ac_preproc_ok; then :
17801 ac_cv_prog_CPP
=$CPP
17804 CPP
=$ac_cv_prog_CPP
17806 ac_cv_prog_CPP
=$CPP
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17809 $as_echo "$CPP" >&6; }
17810 ac_preproc_ok
=false
17811 for ac_c_preproc_warn_flag
in '' yes
17813 # Use a header file that comes with gcc, so configuring glibc
17814 # with a fresh cross-compiler works.
17815 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17816 # <limits.h> exists even on freestanding compilers.
17817 # On the NeXT, cc -E runs the code through the compiler's parser,
17818 # not just through cpp. "Syntax error" is here to catch this case.
17819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17822 # include <limits.h>
17824 # include <assert.h>
17828 if ac_fn_c_try_cpp
"$LINENO"; then :
17831 # Broken: fails on valid input.
17834 rm -f conftest.err conftest.i conftest.
$ac_ext
17836 # OK, works on sane cases. Now check whether nonexistent headers
17837 # can be detected and how.
17838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17839 /* end confdefs.h. */
17840 #include <ac_nonexistent.h>
17842 if ac_fn_c_try_cpp
"$LINENO"; then :
17843 # Broken: success on invalid input.
17846 # Passes both tests.
17850 rm -f conftest.err conftest.i conftest.
$ac_ext
17853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17854 rm -f conftest.i conftest.err conftest.
$ac_ext
17855 if $ac_preproc_ok; then :
17858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17860 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
17861 See \`config.log' for more details" "$LINENO" 5 ; }
17865 ac_cpp
='$CPP $CPPFLAGS'
17866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17872 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17873 if test "${ac_cv_path_GREP+set}" = set; then :
17874 $as_echo_n "(cached) " >&6
17876 if test -z "$GREP"; then
17877 ac_path_GREP_found
=false
17878 # Loop through the user's path and test for each of PROGNAME-LIST
17879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17880 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17883 test -z "$as_dir" && as_dir
=.
17884 for ac_prog
in grep ggrep
; do
17885 for ac_exec_ext
in '' $ac_executable_extensions; do
17886 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17887 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17888 # Check for GNU ac_path_GREP and select it if it is found.
17889 # Check for GNU $ac_path_GREP
17890 case `"$ac_path_GREP" --version 2>&1` in
17892 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17895 $as_echo_n 0123456789 >"conftest.in"
17898 cat "conftest.in" "conftest.in" >"conftest.tmp"
17899 mv "conftest.tmp" "conftest.in"
17900 cp "conftest.in" "conftest.nl"
17901 $as_echo 'GREP' >> "conftest.nl"
17902 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17903 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17904 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
17905 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17906 # Best one so far, save it but keep looking for a better one
17907 ac_cv_path_GREP
="$ac_path_GREP"
17908 ac_path_GREP_max
=$ac_count
17910 # 10*(2^10) chars as input seems more than enough
17911 test $ac_count -gt 10 && break
17913 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17916 $ac_path_GREP_found && break 3
17921 if test -z "$ac_cv_path_GREP"; then
17922 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17925 ac_cv_path_GREP
=$GREP
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17930 $as_echo "$ac_cv_path_GREP" >&6; }
17931 GREP
="$ac_cv_path_GREP"
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17935 $as_echo_n "checking for egrep... " >&6; }
17936 if test "${ac_cv_path_EGREP+set}" = set; then :
17937 $as_echo_n "(cached) " >&6
17939 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17940 then ac_cv_path_EGREP
="$GREP -E"
17942 if test -z "$EGREP"; then
17943 ac_path_EGREP_found
=false
17944 # Loop through the user's path and test for each of PROGNAME-LIST
17945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17946 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17949 test -z "$as_dir" && as_dir
=.
17950 for ac_prog
in egrep; do
17951 for ac_exec_ext
in '' $ac_executable_extensions; do
17952 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17953 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17954 # Check for GNU ac_path_EGREP and select it if it is found.
17955 # Check for GNU $ac_path_EGREP
17956 case `"$ac_path_EGREP" --version 2>&1` in
17958 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17961 $as_echo_n 0123456789 >"conftest.in"
17964 cat "conftest.in" "conftest.in" >"conftest.tmp"
17965 mv "conftest.tmp" "conftest.in"
17966 cp "conftest.in" "conftest.nl"
17967 $as_echo 'EGREP' >> "conftest.nl"
17968 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17969 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17970 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
17971 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17972 # Best one so far, save it but keep looking for a better one
17973 ac_cv_path_EGREP
="$ac_path_EGREP"
17974 ac_path_EGREP_max
=$ac_count
17976 # 10*(2^10) chars as input seems more than enough
17977 test $ac_count -gt 10 && break
17979 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17982 $ac_path_EGREP_found && break 3
17987 if test -z "$ac_cv_path_EGREP"; then
17988 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17991 ac_cv_path_EGREP
=$EGREP
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
17997 $as_echo "$ac_cv_path_EGREP" >&6; }
17998 EGREP
="$ac_cv_path_EGREP"
18001 if test $ac_cv_c_compiler_gnu = yes; then
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18003 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18004 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
18005 $as_echo_n "(cached) " >&6
18007 ac_pattern
="Autoconf.*'x'"
18008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18009 /* end confdefs.h. */
18013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18014 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18015 ac_cv_prog_gcc_traditional
=yes
18017 ac_cv_prog_gcc_traditional
=no
18022 if test $ac_cv_prog_gcc_traditional = no
; then
18023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18025 #include <termio.h>
18028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18029 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18030 ac_cv_prog_gcc_traditional
=yes
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18037 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18038 if test $ac_cv_prog_gcc_traditional = yes; then
18039 CC
="$CC -traditional"
18044 CXXFLAGS
=${CXXFLAGS:=}
18046 ac_cpp
='$CXXCPP $CPPFLAGS'
18047 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18048 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18049 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18050 if test -z "$CXX"; then
18051 if test -n "$CCC"; then
18054 if test -n "$ac_tool_prefix"; then
18055 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18057 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18058 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18060 $as_echo_n "checking for $ac_word... " >&6; }
18061 if test "${ac_cv_prog_CXX+set}" = set; then :
18062 $as_echo_n "(cached) " >&6
18064 if test -n "$CXX"; then
18065 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18068 for as_dir
in $PATH
18071 test -z "$as_dir" && as_dir
=.
18072 for ac_exec_ext
in '' $ac_executable_extensions; do
18073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18074 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18084 CXX
=$ac_cv_prog_CXX
18085 if test -n "$CXX"; then
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18087 $as_echo "$CXX" >&6; }
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18090 $as_echo "no" >&6; }
18094 test -n "$CXX" && break
18097 if test -z "$CXX"; then
18099 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18101 # Extract the first word of "$ac_prog", so it can be a program name with args.
18102 set dummy
$ac_prog; ac_word
=$2
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18104 $as_echo_n "checking for $ac_word... " >&6; }
18105 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
18106 $as_echo_n "(cached) " >&6
18108 if test -n "$ac_ct_CXX"; then
18109 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18112 for as_dir
in $PATH
18115 test -z "$as_dir" && as_dir
=.
18116 for ac_exec_ext
in '' $ac_executable_extensions; do
18117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18118 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18128 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18129 if test -n "$ac_ct_CXX"; then
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18131 $as_echo "$ac_ct_CXX" >&6; }
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18134 $as_echo "no" >&6; }
18138 test -n "$ac_ct_CXX" && break
18141 if test "x$ac_ct_CXX" = x
; then
18144 case $cross_compiling:$ac_tool_warned in
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18148 ac_tool_warned
=yes ;;
18156 # Provide some information about the compiler.
18157 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18160 for ac_option
in --version -v -V -qversion; do
18161 { { ac_try
="$ac_compiler $ac_option >&5"
18162 case "(($ac_try" in
18163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18164 *) ac_try_echo=$ac_try;;
18166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18167 $as_echo "$ac_try_echo"; } >&5
18168 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18170 if test -s conftest.err; then
18172 ... rest of stderr output deleted ...
18173 10q' conftest.err >conftest.er1
18174 cat conftest.er1 >&5
18176 rm -f conftest.er1 conftest.err
18177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18178 test $ac_status = 0; }
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18182 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18183 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
18184 $as_echo_n "(cached) " >&6
18186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18187 /* end confdefs.h. */
18200 if ac_fn_cxx_try_compile "$LINENO"; then :
18201 ac_compiler_gnu=yes
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18206 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18210 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18211 if test $ac_compiler_gnu = yes; then
18216 ac_test_CXXFLAGS=${CXXFLAGS+set}
18217 ac_save_CXXFLAGS=$CXXFLAGS
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18219 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18220 if test "${ac_cv_prog_cxx_g+set}" = set; then :
18221 $as_echo_n "(cached) " >&6
18223 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18224 ac_cxx_werror_flag=yes
18225 ac_cv_prog_cxx_g=no
18227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18228 /* end confdefs.h. */
18238 if ac_fn_cxx_try_compile "$LINENO"; then :
18239 ac_cv_prog_cxx_g=yes
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18253 if ac_fn_cxx_try_compile "$LINENO"; then :
18256 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18259 /* end confdefs.h. */
18269 if ac_fn_cxx_try_compile "$LINENO"; then :
18270 ac_cv_prog_cxx_g=yes
18272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18277 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18280 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18281 if test "$ac_test_CXXFLAGS" = set; then
18282 CXXFLAGS=$ac_save_CXXFLAGS
18283 elif test $ac_cv_prog_cxx_g = yes; then
18284 if test "$GXX" = yes; then
18290 if test "$GXX" = yes; then
18297 ac_cpp='$CPP $CPPFLAGS'
18298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18310 ac_cpp='$CXXCPP $CPPFLAGS'
18311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18316 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18317 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then :
18318 $as_echo_n "(cached) " >&6
18320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18321 /* end confdefs.h. */
18327 #ifndef __INTEL_COMPILER
18335 if ac_fn_cxx_try_compile "$LINENO"; then :
18336 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18338 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18346 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18347 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18353 ac_cpp='$CPP $CPPFLAGS'
18354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18361 if test "$INTELCXX" = "yes"; then
18365 ac_cpp='$CXXCPP $CPPFLAGS'
18366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18371 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18372 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
18373 $as_echo_n "(cached) " >&6
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18382 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18390 if ac_fn_cxx_try_compile "$LINENO"; then :
18391 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18393 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18401 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18402 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18408 ac_cpp='$CPP $CPPFLAGS'
18409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18418 ac_cpp='$CXXCPP $CPPFLAGS'
18419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18424 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18425 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
18426 $as_echo_n "(cached) " >&6
18428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18429 /* end confdefs.h. */
18435 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18443 if ac_fn_cxx_try_compile "$LINENO"; then :
18444 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18446 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18454 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18455 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18461 ac_cpp='$CPP $CPPFLAGS'
18462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18470 if test "x$GCXX" != "xyes"; then
18471 if test "xCXX" = "xC"; then
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18473 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18474 if test "${bakefile_cv_c_exto+set}" = set; then :
18475 $as_echo_n "(cached) " >&6
18477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h. */
18488 rm -f conftest.$ac_objext conftest.$ac_ext.o
18489 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18490 (eval $ac_compile) 2>&5
18492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18493 test $ac_status = 0; }; then :
18494 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18496 conftest.$ac_ext.o)
18497 bakefile_cv_c_exto="-ext o"
18504 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18506 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18507 See \
`config.log' for more details" "$LINENO" 5 ; }
18510 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18514 $as_echo "$bakefile_cv_c_exto" >&6; }
18515 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18516 if test "c" = "c"; then
18517 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18519 if test "c" = "cxx"; then
18520 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18524 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18525 unset ac_cv_prog_cc_g
18526 ac_test_CFLAGS=${CFLAGS+set}
18527 ac_save_CFLAGS=$CFLAGS
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18529 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18530 if test "${ac_cv_prog_cc_g+set}" = set; then :
18531 $as_echo_n "(cached) " >&6
18533 ac_save_c_werror_flag=$ac_c_werror_flag
18534 ac_c_werror_flag=yes
18537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18538 /* end confdefs.h. */
18548 if ac_fn_c_try_compile "$LINENO"; then :
18549 ac_cv_prog_cc_g=yes
18552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18553 /* end confdefs.h. */
18563 if ac_fn_c_try_compile "$LINENO"; then :
18566 ac_c_werror_flag=$ac_save_c_werror_flag
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18579 if ac_fn_c_try_compile "$LINENO"; then :
18580 ac_cv_prog_cc_g=yes
18582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18587 ac_c_werror_flag=$ac_save_c_werror_flag
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18590 $as_echo "$ac_cv_prog_cc_g" >&6; }
18591 if test "$ac_test_CFLAGS" = set; then
18592 CFLAGS=$ac_save_CFLAGS
18593 elif test $ac_cv_prog_cc_g = yes; then
18594 if test "$GCC" = yes; then
18600 if test "$GCC" = yes; then
18614 ac_cpp='$CXXCPP $CPPFLAGS'
18615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18620 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18621 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18622 $as_echo_n "(cached) " >&6
18624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18639 if ac_fn_cxx_try_compile "$LINENO"; then :
18640 bakefile_cv_cxx_compiler___xlC__=yes
18642 bakefile_cv_cxx_compiler___xlC__=no
18645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18650 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18651 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18657 ac_cpp='$CPP $CPPFLAGS'
18658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18670 ac_cpp='$CXXCPP $CPPFLAGS'
18671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18676 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18677 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then :
18678 $as_echo_n "(cached) " >&6
18680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18681 /* end confdefs.h. */
18695 if ac_fn_cxx_try_compile "$LINENO"; then :
18696 bakefile_cv_cxx_compiler___MWERKS__=yes
18698 bakefile_cv_cxx_compiler___MWERKS__=no
18701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18706 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18707 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18713 ac_cpp='$CPP $CPPFLAGS'
18714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18720 if test "$MWCXX" != "yes"; then
18724 ac_cpp='$CXXCPP $CPPFLAGS'
18725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18730 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18731 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18732 $as_echo_n "(cached) " >&6
18734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18735 /* end confdefs.h. */
18749 if ac_fn_cxx_try_compile "$LINENO"; then :
18750 bakefile_cv_cxx_compiler___xlC__=yes
18752 bakefile_cv_cxx_compiler___xlC__=no
18755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18760 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18761 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18767 ac_cpp='$CPP $CPPFLAGS'
18768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18781 ac_cpp='$CXXCPP $CPPFLAGS'
18782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18787 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18788 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then :
18789 $as_echo_n "(cached) " >&6
18791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18792 /* end confdefs.h. */
18798 #ifndef _SGI_COMPILER_VERSION
18806 if ac_fn_cxx_try_compile "$LINENO"; then :
18807 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18809 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18817 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18818 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18824 ac_cpp='$CPP $CPPFLAGS'
18825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18834 if test "$INTELCXX" != "yes"; then
18838 ac_cpp='$CXXCPP $CPPFLAGS'
18839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18844 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18845 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
18846 $as_echo_n "(cached) " >&6
18848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18849 /* end confdefs.h. */
18855 #ifndef __SUNPRO_CC
18863 if ac_fn_cxx_try_compile "$LINENO"; then :
18864 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18866 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18874 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18875 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18881 ac_cpp='$CPP $CPPFLAGS'
18882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18895 ac_cpp='$CXXCPP $CPPFLAGS'
18896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18901 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18902 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then :
18903 $as_echo_n "(cached) " >&6
18905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18906 /* end confdefs.h. */
18920 if ac_fn_cxx_try_compile "$LINENO"; then :
18921 bakefile_cv_cxx_compiler___HP_aCC=yes
18923 bakefile_cv_cxx_compiler___HP_aCC=no
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18931 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18932 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18938 ac_cpp='$CPP $CPPFLAGS'
18939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18951 ac_cpp='$CXXCPP $CPPFLAGS'
18952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
18957 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
18958 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then :
18959 $as_echo_n "(cached) " >&6
18961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18962 /* end confdefs.h. */
18976 if ac_fn_cxx_try_compile "$LINENO"; then :
18977 bakefile_cv_cxx_compiler___DECCXX=yes
18979 bakefile_cv_cxx_compiler___DECCXX=no
18982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18987 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18988 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18994 ac_cpp='$CPP $CPPFLAGS'
18995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19007 ac_cpp='$CXXCPP $CPPFLAGS'
19008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19013 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19014 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
19015 $as_echo_n "(cached) " >&6
19017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19018 /* end confdefs.h. */
19024 #ifndef __SUNPRO_CC
19032 if ac_fn_cxx_try_compile "$LINENO"; then :
19033 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19035 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19043 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19044 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19050 ac_cpp='$CPP $CPPFLAGS'
19051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19063 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19064 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19067 if test "x$SUNCXX" != xyes; then
19068 if test -n "$ac_tool_prefix"; then
19069 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19070 set dummy ${ac_tool_prefix}ar; ac_word=$2
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19072 $as_echo_n "checking for $ac_word... " >&6; }
19073 if test "${ac_cv_prog_AR+set}" = set; then :
19074 $as_echo_n "(cached) " >&6
19076 if test -n "$AR"; then
19077 ac_cv_prog_AR="$AR" # Let the user override the test.
19079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19080 for as_dir in $PATH
19083 test -z "$as_dir" && as_dir=.
19084 for ac_exec_ext in '' $ac_executable_extensions; do
19085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19086 ac_cv_prog_AR="${ac_tool_prefix}ar"
19087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19097 if test -n "$AR"; then
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19099 $as_echo "$AR" >&6; }
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19102 $as_echo "no" >&6; }
19107 if test -z "$ac_cv_prog_AR"; then
19109 # Extract the first word of "ar", so it can be a program name with args.
19110 set dummy ar; ac_word=$2
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19112 $as_echo_n "checking for $ac_word... " >&6; }
19113 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
19114 $as_echo_n "(cached) " >&6
19116 if test -n "$ac_ct_AR"; then
19117 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19120 for as_dir in $PATH
19123 test -z "$as_dir" && as_dir=.
19124 for ac_exec_ext in '' $ac_executable_extensions; do
19125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19126 ac_cv_prog_ac_ct_AR="ar"
19127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19136 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19137 if test -n "$ac_ct_AR"; then
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19139 $as_echo "$ac_ct_AR" >&6; }
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19142 $as_echo "no" >&6; }
19145 if test "x$ac_ct_AR" = x; then
19148 case $cross_compiling:$ac_tool_warned in
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19152 ac_tool_warned=yes ;;
19157 AR="$ac_cv_prog_AR"
19160 if test "x$AR" = "x" ; then
19161 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19166 if test "$wxUSE_MAC" = 1; then
19168 retest_macosx_linking=no
19172 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19173 if test "x$wxUSE_MAC_ARCH" != xno; then
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19175 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19178 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19179 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19180 else OSX_ARCH_OPTS="ppc,i386"
19181 if test "$wxUSE_OSX_COCOA" = 1; then
19182 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19187 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19189 $as_echo "$OSX_ARCH_OPTS" >&6; }
19191 retest_macosx_linking=yes
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19194 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19197 if test "x$wxUSE_MAC_ARCH" != xno; then
19198 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19202 if test "x$OSX_ARCH_OPTS" != "x"; then
19203 if echo $OSX_ARCH_OPTS | grep -q ","; then
19204 disable_macosx_deps=yes
19207 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19209 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19210 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19211 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19212 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19213 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19216 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19218 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19219 # TODO: Search for most recent SDK and use it.
19220 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19224 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19226 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19227 if ! test -d "$wxUSE_MACOSX_SDK"; then
19228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19230 as_fn_error $? "not found
19231 See \
`config.log' for more details" "$LINENO" 5 ; }
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19234 $as_echo "exists" >&6; }
19236 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19237 retest_macosx_linking=yes
19240 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19241 wxUSE_MACOSX_VERSION_MIN=
19242 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19243 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19245 $as_echo_n "checking SDK deployment version... " >&6; }
19247 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/'`
19249 # If that failed, try again with the new key
19250 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19252 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/'`
19256 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19257 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19259 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19262 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19263 wxUSE_MACOSX_VERSION_MIN=
19266 wxUSE_MACOSX_VERSION_MIN=
19268 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19269 wxUSE_MACOSX_VERSION_MIN=10.5
19272 if test "x$MACOSX_SDK_OPTS" != "x"; then
19273 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19274 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19275 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19276 retest_macosx_linking=yes
19279 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19280 if test "$wxUSE_OSX_IPHONE" = 1; then
19281 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19283 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19285 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19286 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19287 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19288 retest_macosx_linking=yes
19291 if test "x$retest_macosx_linking" = "xyes"; then
19293 ac_cpp='$CPP $CPPFLAGS'
19294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19299 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19311 if ac_fn_c_try_link "$LINENO"; then :
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19313 $as_echo "yes" >&6; }
19315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19317 as_fn_error $? "no. Try a different SDK
19318 See \
`config.log' for more details" "$LINENO" 5 ; }; exit 1
19320 rm -f core conftest.err conftest.$ac_objext \
19321 conftest$ac_exeext conftest.$ac_ext
19323 ac_cpp='$CPP $CPPFLAGS'
19324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19330 ac_cpp='$CXXCPP $CPPFLAGS'
19331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19336 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19338 /* end confdefs.h. */
19348 if ac_fn_cxx_try_link "$LINENO"; then :
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19350 $as_echo "yes" >&6; }
19352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19354 as_fn_error $? "no. Try a different SDK
19355 See \
`config.log' for more details" "$LINENO" 5 ; }; exit 1
19357 rm -f core conftest.err conftest.$ac_objext \
19358 conftest$ac_exeext conftest.$ac_ext
19360 ac_cpp='$CPP $CPPFLAGS'
19361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19371 INSTALL_PROGRAM="cp -fp"
19372 INSTALL_DATA="cp -fp"
19379 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19380 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19383 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19384 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19387 if test "x$USE_AIX" = "x1"; then
19388 if test "x$XLCXX" = "xyes"; then
19389 CXXFLAGS="-qunique $CXXFLAGS"
19392 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19396 powerpc-*-darwin* )
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19398 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19405 #ifndef __POWERPC__
19406 choke me for lack of PowerPC
19413 if ac_fn_c_try_compile "$LINENO"; then :
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19415 $as_echo "yes" >&6; }
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19418 $as_echo "no" >&6; }
19419 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19430 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19432 /* end confdefs.h. */
19433 #include <CoreFoundation/CFBase.h>
19443 if ac_fn_c_try_compile "$LINENO"; then :
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19445 $as_echo "yes" >&6; }
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19448 $as_echo "no" >&6; }
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19450 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19452 /* end confdefs.h. */
19453 #define __CF_USE_FRAMEWORK_INCLUDES__
19454 #include <CoreFoundation/CFBase.h>
19464 if ac_fn_c_try_compile "$LINENO"; then :
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19466 $as_echo "yes" >&6; }
19467 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19471 as_fn_error $? "no. CoreFoundation not available.
19472 See \
`config.log' for more details" "$LINENO" 5 ; }
19475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19484 doesnt_want_win32=0
19487 if test "$wxUSE_MSW" = 1 ; then
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19491 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19492 if test "${wx_cv_nocygwin+set}" = set; then :
19493 $as_echo_n "(cached) " >&6
19496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19497 /* end confdefs.h. */
19511 if ac_fn_c_try_compile "$LINENO"; then :
19517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19522 $as_echo "$wx_cv_nocygwin" >&6; }
19524 if test "$wx_cv_nocygwin" = "yes"; then
19527 doesnt_want_win32=1
19530 if test "$wants_win32" = 1 ; then
19531 BAKEFILE_FORCE_PLATFORM=win32
19539 if test "$wxUSE_WINE" = "yes"; then
19541 LDFLAGS_GUI="-mwindows"
19544 if test "$wants_win32" = 1 ; then
19547 $as_echo "#define __WIN32__ 1" >>confdefs.h
19549 $as_echo "#define __WIN95__ 1" >>confdefs.h
19551 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19553 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19555 $as_echo "#define STRICT 1" >>confdefs.h
19558 if test "$doesnt_want_win32" = 1 ; then
19563 if test "$USE_UNIX" = 1 ; then
19565 $as_echo "#define __UNIX__ 1" >>confdefs.h
19570 *-pc-os2_emx | *-pc-os2-emx )
19571 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19573 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19574 if test "${ac_cv_lib_cExt_drand48+set}" = set; then :
19575 $as_echo_n "(cached) " >&6
19577 ac_check_lib_save_LIBS=$LIBS
19578 LIBS="-lcExt $LIBS"
19579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19580 /* end confdefs.h. */
19582 /* Override any GCC internal prototype to avoid an error.
19583 Use char because int might match the return type of a GCC
19584 builtin and then its argument prototype would still apply. */
19597 if ac_fn_c_try_link "$LINENO"; then :
19598 ac_cv_lib_cExt_drand48=yes
19600 ac_cv_lib_cExt_drand48=no
19602 rm -f core conftest.err conftest.$ac_objext \
19603 conftest$ac_exeext conftest.$ac_ext
19604 LIBS=$ac_check_lib_save_LIBS
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19607 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19608 if test "x$ac_cv_lib_cExt_drand48" = x""yes; then :
19609 LIBS="$LIBS -lcExt"
19613 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19616 $as_echo_n "checking for gcc/libc version... " >&6; }
19617 if test "${wx_cv_gccversion+set}" = set; then :
19618 $as_echo_n "(cached) " >&6
19621 if test "$cross_compiling" = yes; then :
19622 wx_cv_gccversion="EMX2"
19625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19626 /* end confdefs.h. */
19632 FILE *f=fopen("conftestval", "w");
19637 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19639 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19649 if ac_fn_c_try_run "$LINENO"; then :
19650 wx_cv_gccversion=`cat conftestval
`
19652 wx_cv_gccversion="EMX2"
19654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19655 conftest.$ac_objext conftest.beam conftest.$ac_ext
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19661 $as_echo "$wx_cv_gccversion" >&6; }
19662 if test "$wx_cv_gccversion" = "EMX2"; then
19663 LIBS="$LIBS -lstdcpp"
19664 LDFLAGS="$LDFLAGS -Zsysv-signals"
19666 if test "$wx_cv_gccversion" = "EMX3"; then
19667 LIBS="$LIBS -lstdcxx -lgcc"
19668 LDFLAGS="$LDFLAGS -Zsysv-signals"
19670 LIBS="$LIBS -lstdc++"
19673 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19675 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19683 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19684 if test "${ac_cv_string_strcasecmp+set}" = set; then :
19685 $as_echo_n "(cached) " >&6
19688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19689 /* end confdefs.h. */
19691 #include <string.h>
19697 strcasecmp("foo", "bar");
19703 if ac_fn_c_try_link "$LINENO"; then :
19704 ac_cv_string_strcasecmp=yes
19706 ac_cv_string_strcasecmp=no
19709 rm -f core conftest.err conftest.$ac_objext \
19710 conftest$ac_exeext conftest.$ac_ext
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19714 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19716 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19717 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19721 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19722 if test "${ac_cv_strings_strcasecmp+set}" = set; then :
19723 $as_echo_n "(cached) " >&6
19726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19727 /* end confdefs.h. */
19729 #include <strings.h>
19735 strcasecmp("foo", "bar");
19741 if ac_fn_c_try_link "$LINENO"; then :
19742 ac_cv_strings_strcasecmp=yes
19744 ac_cv_strings_strcasecmp=no
19747 rm -f core conftest.err conftest.$ac_objext \
19748 conftest$ac_exeext conftest.$ac_ext
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19752 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19754 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19755 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19758 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19767 $as_echo_n "checking for ANSI C header files... " >&6; }
19768 if test "${ac_cv_header_stdc+set}" = set; then :
19769 $as_echo_n "(cached) " >&6
19771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19772 /* end confdefs.h. */
19773 #include <stdlib.h>
19774 #include <stdarg.h>
19775 #include <string.h>
19786 if ac_fn_c_try_compile "$LINENO"; then :
19787 ac_cv_header_stdc=yes
19789 ac_cv_header_stdc=no
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19793 if test $ac_cv_header_stdc = yes; then
19794 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19796 /* end confdefs.h. */
19797 #include <string.h>
19800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19801 $EGREP "memchr" >/dev/null 2>&1; then :
19804 ac_cv_header_stdc=no
19810 if test $ac_cv_header_stdc = yes; then
19811 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19813 /* end confdefs.h. */
19814 #include <stdlib.h>
19817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19818 $EGREP "free" >/dev/null 2>&1; then :
19821 ac_cv_header_stdc=no
19827 if test $ac_cv_header_stdc = yes; then
19828 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19829 if test "$cross_compiling" = yes; then :
19832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19833 /* end confdefs.h. */
19835 #include <stdlib.h>
19836 #if ((' ' & 0x0FF) == 0x020)
19837 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19838 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19840 # define ISLOWER(c) \
19841 (('a' <= (c) && (c) <= 'i') \
19842 || ('j' <= (c) && (c) <= 'r') \
19843 || ('s' <= (c) && (c) <= 'z'))
19844 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19847 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19852 for (i = 0; i < 256; i++)
19853 if (XOR (islower (i), ISLOWER (i))
19854 || toupper (i) != TOUPPER (i))
19859 if ac_fn_c_try_run "$LINENO"; then :
19862 ac_cv_header_stdc=no
19864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19865 conftest.$ac_objext conftest.beam conftest.$ac_ext
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19871 $as_echo "$ac_cv_header_stdc" >&6; }
19872 if test $ac_cv_header_stdc = yes; then
19874 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19878 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19879 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19880 inttypes.h stdint.h unistd.h
19882 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19883 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19885 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19886 cat >>confdefs.h <<_ACEOF
19887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19895 for ac_header in langinfo.h wchar.h
19897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19898 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19900 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19901 cat >>confdefs.h <<_ACEOF
19902 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19910 if test "$ac_cv_header_wchar_h" != "yes"; then
19911 for ac_header in wcstr.h
19913 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
19915 if test "x$ac_cv_header_wcstr_h" = x""yes; then :
19916 cat >>confdefs.h <<_ACEOF
19917 #define HAVE_WCSTR_H 1
19927 *-pc-os2_emx | *-pc-os2-emx )
19928 if test $ac_cv_header_langinfo_h = "yes" \
19929 -a \( "$wx_cv_gccversion" = "EMX2" \
19930 -o "$wx_cv_gccversion" = "EMX3" \
19931 -o "$wx_cv_gccversion" = "Innotek5" \); then
19932 LIBS="$LIBS -lintl"
19937 if test "$USE_UNIX" = 1 ; then
19938 for ac_header in sys/select.h
19940 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
19942 if test "x$ac_cv_header_sys_select_h" = x""yes; then :
19943 cat >>confdefs.h <<_ACEOF
19944 #define HAVE_SYS_SELECT_H 1
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19955 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19956 if test "${ac_cv_c_const+set}" = set; then :
19957 $as_echo_n "(cached) " >&6
19959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19960 /* end confdefs.h. */
19965 /* FIXME: Include the comments suggested by Paul. */
19966 #ifndef __cplusplus
19967 /* Ultrix mips cc rejects this. */
19968 typedef int charset[2];
19970 /* SunOS 4.1.1 cc rejects this. */
19971 char const *const *pcpcc;
19973 /* NEC SVR4.0.2 mips cc rejects this. */
19974 struct point {int x, y;};
19975 static struct point const zero = {0,0};
19976 /* AIX XL C 1.02.0.0 rejects this.
19977 It does not let you subtract one const X* pointer from another in
19978 an arm of an if-expression whose if-part is not a constant
19980 const char *g = "string";
19981 pcpcc = &g + (g ? g-g : 0);
19982 /* HPUX 7.0 cc rejects these. */
19984 ppc = (char**) pcpcc;
19985 pcpcc = (char const *const *) ppc;
19986 { /* SCO 3.2v4 cc rejects this. */
19988 char const *s = 0 ? (char *) 0 : (char const *) 0;
19993 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19994 int x[] = {25, 17};
19995 const int *foo = &x[0];
19998 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19999 typedef const int *iptr;
20003 { /* AIX XL C 1.02.0.0 rejects this saying
20004 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20005 struct s { int j; const int *ap[3]; };
20006 struct s *b; b->j = 5;
20008 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20009 const int foo = 10;
20010 if (!foo) return 0;
20012 return !cs[0] && !zero.x;
20019 if ac_fn_c_try_compile "$LINENO"; then :
20024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20027 $as_echo "$ac_cv_c_const" >&6; }
20028 if test $ac_cv_c_const = no; then
20030 $as_echo "#define const /**/" >>confdefs.h
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20035 $as_echo_n "checking for inline... " >&6; }
20036 if test "${ac_cv_c_inline+set}" = set; then :
20037 $as_echo_n "(cached) " >&6
20040 for ac_kw in inline __inline__ __inline; do
20041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20042 /* end confdefs.h. */
20043 #ifndef __cplusplus
20045 static $ac_kw foo_t static_foo () {return 0; }
20046 $ac_kw foo_t foo () {return 0; }
20050 if ac_fn_c_try_compile "$LINENO"; then :
20051 ac_cv_c_inline=$ac_kw
20053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20054 test "$ac_cv_c_inline" != no && break
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20059 $as_echo "$ac_cv_c_inline" >&6; }
20061 case $ac_cv_c_inline in
20064 case $ac_cv_c_inline in
20066 *) ac_val=$ac_cv_c_inline;;
20068 cat >>confdefs.h <<_ACEOF
20069 #ifndef __cplusplus
20070 #define inline $ac_val
20077 # The cast to long int works around a bug in the HP C Compiler
20078 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20079 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20080 # This bug is HP SR number 8606223364.
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20082 $as_echo_n "checking size of short... " >&6; }
20083 if test "${ac_cv_sizeof_short+set}" = set; then :
20084 $as_echo_n "(cached) " >&6
20086 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20089 if test "$ac_cv_type_short" = yes; then
20090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20091 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20092 as_fn_error 77 "cannot compute sizeof (short)
20093 See \`config.log
' for more details" "$LINENO" 5 ; }
20095 ac_cv_sizeof_short=0
20100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20101 $as_echo "$ac_cv_sizeof_short" >&6; }
20105 cat >>confdefs.h <<_ACEOF
20106 #define SIZEOF_SHORT $ac_cv_sizeof_short
20110 # The cast to long int works around a bug in the HP C Compiler
20111 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20112 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20113 # This bug is HP SR number 8606223364.
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20115 $as_echo_n "checking size of void *... " >&6; }
20116 if test "${ac_cv_sizeof_void_p+set}" = set; then :
20117 $as_echo_n "(cached) " >&6
20119 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20122 if test "$ac_cv_type_void_p" = yes; then
20123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20125 as_fn_error
77 "cannot compute sizeof (void *)
20126 See \`config.log' for more details" "$LINENO" 5 ; }
20128 ac_cv_sizeof_void_p
=0
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20134 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20138 cat >>confdefs.h
<<_ACEOF
20139 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20143 # The cast to long int works around a bug in the HP C Compiler
20144 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20145 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20146 # This bug is HP SR number 8606223364.
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20148 $as_echo_n "checking size of int... " >&6; }
20149 if test "${ac_cv_sizeof_int+set}" = set; then :
20150 $as_echo_n "(cached) " >&6
20152 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20155 if test "$ac_cv_type_int" = yes; then
20156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20158 as_fn_error
77 "cannot compute sizeof (int)
20159 See \`config.log' for more details" "$LINENO" 5 ; }
20166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20167 $as_echo "$ac_cv_sizeof_int" >&6; }
20171 cat >>confdefs.h
<<_ACEOF
20172 #define SIZEOF_INT $ac_cv_sizeof_int
20176 # The cast to long int works around a bug in the HP C Compiler
20177 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20178 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20179 # This bug is HP SR number 8606223364.
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20181 $as_echo_n "checking size of long... " >&6; }
20182 if test "${ac_cv_sizeof_long+set}" = set; then :
20183 $as_echo_n "(cached) " >&6
20185 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20188 if test "$ac_cv_type_long" = yes; then
20189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20191 as_fn_error
77 "cannot compute sizeof (long)
20192 See \`config.log' for more details" "$LINENO" 5 ; }
20194 ac_cv_sizeof_long
=0
20199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20200 $as_echo "$ac_cv_sizeof_long" >&6; }
20204 cat >>confdefs.h
<<_ACEOF
20205 #define SIZEOF_LONG $ac_cv_sizeof_long
20209 # The cast to long int works around a bug in the HP C Compiler
20210 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20211 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20212 # This bug is HP SR number 8606223364.
20213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20214 $as_echo_n "checking size of size_t... " >&6; }
20215 if test "${ac_cv_sizeof_size_t+set}" = set; then :
20216 $as_echo_n "(cached) " >&6
20218 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20221 if test "$ac_cv_type_size_t" = yes; then
20222 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20224 as_fn_error
77 "cannot compute sizeof (size_t)
20225 See \`config.log' for more details" "$LINENO" 5 ; }
20227 ac_cv_sizeof_size_t
=0
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20233 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20237 cat >>confdefs.h
<<_ACEOF
20238 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20245 # The cast to long int works around a bug in the HP C Compiler
20246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20248 # This bug is HP SR number 8606223364.
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20250 $as_echo_n "checking size of long long... " >&6; }
20251 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20252 $as_echo_n "(cached) " >&6
20254 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20257 if test "$ac_cv_type_long_long" = yes; then
20258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20260 as_fn_error
77 "cannot compute sizeof (long long)
20261 See \`config.log' for more details" "$LINENO" 5 ; }
20263 ac_cv_sizeof_long_long
=0
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20269 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20273 cat >>confdefs.h
<<_ACEOF
20274 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20280 # The cast to long int works around a bug in the HP C Compiler
20281 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20282 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20283 # This bug is HP SR number 8606223364.
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20285 $as_echo_n "checking size of long long... " >&6; }
20286 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20287 $as_echo_n "(cached) " >&6
20289 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20292 if test "$ac_cv_type_long_long" = yes; then
20293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20295 as_fn_error
77 "cannot compute sizeof (long long)
20296 See \`config.log' for more details" "$LINENO" 5 ; }
20298 ac_cv_sizeof_long_long
=0
20303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20304 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20308 cat >>confdefs.h
<<_ACEOF
20309 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20313 if test "$ac_cv_sizeof_long_long" != 0; then
20314 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20318 # The cast to long int works around a bug in the HP C Compiler
20319 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20320 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20321 # This bug is HP SR number 8606223364.
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20323 $as_echo_n "checking size of long long... " >&6; }
20324 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20325 $as_echo_n "(cached) " >&6
20327 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20330 if test "$ac_cv_type_long_long" = yes; then
20331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20333 as_fn_error
77 "cannot compute sizeof (long long)
20334 See \`config.log' for more details" "$LINENO" 5 ; }
20336 ac_cv_sizeof_long_long
=0
20341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20342 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20346 cat >>confdefs.h
<<_ACEOF
20347 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20353 # The cast to long int works around a bug in the HP C Compiler
20354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20356 # This bug is HP SR number 8606223364.
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20358 $as_echo_n "checking size of wchar_t... " >&6; }
20359 if test "${ac_cv_sizeof_wchar_t+set}" = set; then :
20360 $as_echo_n "(cached) " >&6
20362 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20363 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20364 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20365 # error \"fake wchar_t\"
20367 #ifdef HAVE_WCHAR_H
20369 # include <stddef.h>
20371 # include <wchar.h>
20373 #ifdef HAVE_STDLIB_H
20374 # include <stdlib.h>
20382 if test "$ac_cv_type_wchar_t" = yes; then
20383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20385 as_fn_error
77 "cannot compute sizeof (wchar_t)
20386 See \`config.log' for more details" "$LINENO" 5 ; }
20388 ac_cv_sizeof_wchar_t
=0
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20394 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20398 cat >>confdefs.h
<<_ACEOF
20399 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20403 if test "$ac_cv_sizeof_wchar_t" = 0; then
20404 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20406 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20410 $as_echo_n "checking for va_copy... " >&6; }
20411 if test "${wx_cv_func_va_copy+set}" = set; then :
20412 $as_echo_n "(cached) " >&6
20416 ac_cpp
='$CXXCPP $CPPFLAGS'
20417 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20418 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20419 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20422 /* end confdefs.h. */
20425 #include <stdarg.h>
20426 void foo(char *f, ...)
20441 if ac_fn_cxx_try_link
"$LINENO"; then :
20442 wx_cv_func_va_copy
=yes
20444 wx_cv_func_va_copy
=no
20447 rm -f core conftest.err conftest.
$ac_objext \
20448 conftest
$ac_exeext conftest.
$ac_ext
20450 ac_cpp
='$CPP $CPPFLAGS'
20451 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20452 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20453 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20459 $as_echo "$wx_cv_func_va_copy" >&6; }
20461 if test $wx_cv_func_va_copy = "yes"; then
20462 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20466 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20467 if test "${wx_cv_type_va_list_lvalue+set}" = set; then :
20468 $as_echo_n "(cached) " >&6
20471 if test "$cross_compiling" = yes; then :
20472 wx_cv_type_va_list_lvalue
=yes
20475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20476 /* end confdefs.h. */
20479 #include <stdarg.h>
20480 int foo(char *f, ...)
20485 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20493 return foo("hi", 17);
20497 if ac_fn_c_try_run
"$LINENO"; then :
20498 wx_cv_type_va_list_lvalue
=yes
20500 wx_cv_type_va_list_lvalue
=no
20502 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20503 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20510 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20512 if test $wx_cv_type_va_list_lvalue != "yes"; then
20513 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20518 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20521 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20522 if test "${wx_cv_have_variadic_macros+set}" = set; then :
20523 $as_echo_n "(cached) " >&6
20527 ac_cpp
='$CXXCPP $CPPFLAGS'
20528 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20529 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20530 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20533 /* end confdefs.h. */
20537 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20543 test("%s %d %p", "test", 1, 0);
20550 if ac_fn_cxx_try_compile
"$LINENO"; then :
20551 wx_cv_have_variadic_macros
=yes
20553 wx_cv_have_variadic_macros
=no
20556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20558 ac_cpp
='$CPP $CPPFLAGS'
20559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20567 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20569 if test $wx_cv_have_variadic_macros = "yes"; then
20570 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20576 LARGEFILE_CPPFLAGS
=
20577 # Check whether --enable-largefile was given.
20578 if test "${enable_largefile+set}" = set; then :
20579 enableval
=$enable_largefile;
20582 if test "$enable_largefile" != no
; then
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20586 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20587 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
20588 $as_echo_n "(cached) " >&6
20591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20592 /* end confdefs.h. */
20593 #define _FILE_OFFSET_BITS 64
20594 #include <sys/types.h>
20599 unsigned int field: sizeof(off_t) == 8;
20606 if ac_fn_c_try_compile
"$LINENO"; then :
20607 ac_cv_sys_file_offset_bits
=64
20609 ac_cv_sys_file_offset_bits
=no
20611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20616 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20618 if test "$ac_cv_sys_file_offset_bits" != no
; then
20620 cat >>confdefs.h
<<_ACEOF
20621 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20626 if test "x$wx_largefile" != "xyes"; then
20628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20629 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20630 if test "${ac_cv_sys_large_files+set}" = set; then :
20631 $as_echo_n "(cached) " >&6
20634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20635 /* end confdefs.h. */
20636 #define _LARGE_FILES 1
20637 #include <sys/types.h>
20642 unsigned int field: sizeof(off_t) == 8;
20649 if ac_fn_c_try_compile
"$LINENO"; then :
20650 ac_cv_sys_large_files
=1
20652 ac_cv_sys_large_files
=no
20654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20659 $as_echo "$ac_cv_sys_large_files" >&6; }
20661 if test "$ac_cv_sys_large_files" != no
; then
20663 cat >>confdefs.h
<<_ACEOF
20664 #define _LARGE_FILES $ac_cv_sys_large_files
20671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20672 $as_echo_n "checking if large file support is available... " >&6; }
20673 if test "x$wx_largefile" = "xyes"; then
20674 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20678 $as_echo "$wx_largefile" >&6; }
20681 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20682 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20683 elif test "$ac_cv_sys_large_files" = 1; then
20684 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20687 if test -n "$LARGEFILE_CPPFLAGS"; then
20688 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20690 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20692 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20693 if test "${wx_cv_STDC_EXT_required+set}" = set; then :
20694 $as_echo_n "(cached) " >&6
20698 ac_cpp
='$CXXCPP $CPPFLAGS'
20699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20704 /* end confdefs.h. */
20710 #ifndef __STDC_EXT__
20718 if ac_fn_cxx_try_compile
"$LINENO"; then :
20719 wx_cv_STDC_EXT_required
=no
20721 wx_cv_STDC_EXT_required
=yes
20724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20726 ac_cpp
='$CPP $CPPFLAGS'
20727 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20728 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20735 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20736 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20737 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20743 ac_cpp
='$CXXCPP $CPPFLAGS'
20744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20748 old_CPPFLAGS
="$CPPFLAGS"
20749 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20751 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20752 if test "${ac_cv_sys_largefile_source+set}" = set; then :
20753 $as_echo_n "(cached) " >&6
20756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20757 /* end confdefs.h. */
20758 #include <sys/types.h> /* for off_t */
20763 int (*fp) (FILE *, off_t, int) = fseeko;
20764 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20769 if ac_fn_cxx_try_link
"$LINENO"; then :
20770 ac_cv_sys_largefile_source
=no
; break
20772 rm -f core conftest.err conftest.
$ac_objext \
20773 conftest
$ac_exeext conftest.
$ac_ext
20774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20775 /* end confdefs.h. */
20776 #define _LARGEFILE_SOURCE 1
20777 #include <sys/types.h> /* for off_t */
20782 int (*fp) (FILE *, off_t, int) = fseeko;
20783 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20788 if ac_fn_cxx_try_link
"$LINENO"; then :
20789 ac_cv_sys_largefile_source
=1; break
20791 rm -f core conftest.err conftest.
$ac_objext \
20792 conftest
$ac_exeext conftest.
$ac_ext
20793 ac_cv_sys_largefile_source
=unknown
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20798 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20799 case $ac_cv_sys_largefile_source in #(
20802 cat >>confdefs.h
<<_ACEOF
20803 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20809 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20810 # in glibc 2.1.3, but that breaks too many other things.
20811 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20812 if test $ac_cv_sys_largefile_source != unknown
; then
20814 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20818 CPPFLAGS
="$old_CPPFLAGS"
20820 ac_cpp
='$CPP $CPPFLAGS'
20821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20825 if test "$ac_cv_sys_largefile_source" != no
; then
20826 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20830 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20831 if test "${ac_cv_c_bigendian+set}" = set; then :
20832 $as_echo_n "(cached) " >&6
20834 ac_cv_c_bigendian
=unknown
20835 # See if sys/param.h defines the BYTE_ORDER macro.
20836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20837 /* end confdefs.h. */
20838 #include <sys/types.h>
20839 #include <sys/param.h>
20844 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20845 bogus endian macros
20851 if ac_fn_c_try_compile
"$LINENO"; then :
20852 # It does; now see whether it defined to BIG_ENDIAN or not.
20853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20854 /* end confdefs.h. */
20855 #include <sys/types.h>
20856 #include <sys/param.h>
20861 #if BYTE_ORDER != BIG_ENDIAN
20868 if ac_fn_c_try_compile
"$LINENO"; then :
20869 ac_cv_c_bigendian
=yes
20871 ac_cv_c_bigendian
=no
20873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20876 if test $ac_cv_c_bigendian = unknown
; then
20877 if test "$cross_compiling" = yes; then :
20878 ac_cv_c_bigendian
=unknown
20880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20883 /* Are we little or big endian? From Harbison&Steele. */
20887 char c[sizeof (long)];
20890 exit (u.c[sizeof (long) - 1] == 1);
20893 if ac_fn_c_try_run
"$LINENO"; then :
20894 ac_cv_c_bigendian
=no
20896 ac_cv_c_bigendian
=yes
20898 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20899 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
20905 $as_echo "$ac_cv_c_bigendian" >&6; }
20906 if test $ac_cv_c_bigendian = unknown
; then
20907 { $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
20908 $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;}
20910 if test $ac_cv_c_bigendian = yes; then
20911 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
20919 ac_cpp
='$CXXCPP $CPPFLAGS'
20920 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20921 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20922 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20925 for ac_header
in iostream
20927 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
20929 if test "x$ac_cv_header_iostream" = x
""yes; then :
20930 cat >>confdefs.h
<<_ACEOF
20931 #define HAVE_IOSTREAM 1
20939 if test "$ac_cv_header_iostream" = "yes" ; then
20942 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
20947 ac_cpp
='$CPP $CPPFLAGS'
20948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
20956 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
20957 if test "${wx_cv_explicit+set}" = set; then :
20958 $as_echo_n "(cached) " >&6
20963 ac_cpp
='$CXXCPP $CPPFLAGS'
20964 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20965 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20966 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20970 /* end confdefs.h. */
20972 class Foo { public: explicit Foo(int) {} };
20984 if ac_fn_cxx_try_compile
"$LINENO"; then :
20986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20989 class Foo { public: explicit Foo(int) {} };
20990 static void TakeFoo(const Foo& foo) { }
21003 if ac_fn_cxx_try_compile
"$LINENO"; then :
21009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21018 ac_cpp
='$CPP $CPPFLAGS'
21019 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21020 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21021 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21026 $as_echo "$wx_cv_explicit" >&6; }
21028 if test "$wx_cv_explicit" = "yes"; then
21029 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21034 if test "x$SUNCXX" = xyes
; then
21035 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21038 if test "x$SUNCC" = xyes
; then
21039 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21042 if test "x$SGICC" = "xyes"; then
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21044 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21045 if test "${wx_cv_prog_sgicc744+set}" = set; then :
21046 $as_echo_n "(cached) " >&6
21049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21050 /* end confdefs.h. */
21056 #if _SGI_COMPILER_VERSION >= 744
21057 chock me: mipsPro is 7.4.4 or later
21064 if ac_fn_c_try_compile
"$LINENO"; then :
21065 wx_cv_prog_sgicc744
=no
21067 wx_cv_prog_sgicc744
=yes
21070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21075 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21077 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21078 CFLAGS
="-woff 3970 $CFLAGS"
21081 if test "x$SGICXX" = "xyes"; then
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21083 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21084 if test "${wx_cv_prog_sgicxx744+set}" = set; then :
21085 $as_echo_n "(cached) " >&6
21089 ac_cpp
='$CXXCPP $CPPFLAGS'
21090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21095 /* end confdefs.h. */
21101 #if _SGI_COMPILER_VERSION >= 744
21102 chock me: mipsPro is 7.4.4 or later
21109 if ac_fn_cxx_try_compile
"$LINENO"; then :
21110 wx_cv_prog_sgicxx744
=no
21112 wx_cv_prog_sgicxx744
=yes
21115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21117 ac_cpp
='$CPP $CPPFLAGS'
21118 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21119 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21120 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21126 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21128 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21129 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21133 if test "x$HPCC" = "xyes"; then
21134 CFLAGS
="+W 2011,2450 $CFLAGS"
21136 if test "x$HPCXX" = "xyes"; then
21137 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21140 if test "x$COMPAQCXX" = "xyes"; then
21141 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21145 ac_cpp
='$CXXCPP $CPPFLAGS'
21146 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21147 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21148 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21151 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21152 if test "$wxUSE_UNICODE" = "yes"; then
21153 std_string
="std::wstring"
21154 char_type
="wchar_t"
21156 std_string
="std::string"
21160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21161 $as_echo_n "checking for $std_string in <string>... " >&6; }
21162 if test "${wx_cv_class_stdstring+set}" = set; then :
21163 $as_echo_n "(cached) " >&6
21166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21167 /* end confdefs.h. */
21177 if ac_fn_cxx_try_compile
"$LINENO"; then :
21178 wx_cv_class_stdstring
=yes
21180 wx_cv_class_stdstring
=no
21183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21188 $as_echo "$wx_cv_class_stdstring" >&6; }
21190 if test "$wx_cv_class_stdstring" = yes; then
21191 if test "$wxUSE_UNICODE" = "yes"; then
21192 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21197 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21198 if test "${wx_cv_class_stdbasicstring+set}" = set; then :
21199 $as_echo_n "(cached) " >&6
21202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21203 /* end confdefs.h. */
21205 #ifdef HAVE_WCHAR_H
21207 # include <stddef.h>
21209 # include <wchar.h>
21211 #ifdef HAVE_STDLIB_H
21212 # include <stdlib.h>
21220 std::basic_string<$char_type> foo;
21221 const $char_type* dummy = foo.c_str();
21226 if ac_fn_cxx_try_compile
"$LINENO"; then :
21227 wx_cv_class_stdbasicstring
=yes
21229 wx_cv_class_stdbasicstring
=no
21232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21237 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21239 if test "$wx_cv_class_stdbasicstring" != yes; then
21240 if test "$wxUSE_STL" = "yes"; then
21241 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21242 elif test "$wxUSE_STD_STRING" = "yes"; then
21243 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21246 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21247 wxUSE_STD_STRING
=no
21253 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21254 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21256 if test "x$ac_cv_type_std__istream" = x
""yes; then :
21258 cat >>confdefs.h
<<_ACEOF
21259 #define HAVE_STD__ISTREAM 1
21264 wxUSE_STD_IOSTREAM
=no
21266 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21268 if test "x$ac_cv_type_std__ostream" = x
""yes; then :
21270 cat >>confdefs.h
<<_ACEOF
21271 #define HAVE_STD__OSTREAM 1
21276 wxUSE_STD_IOSTREAM
=no
21280 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21281 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21282 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21285 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21290 if test "$wxUSE_STL" = "yes"; then
21291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21292 $as_echo_n "checking for basic STL functionality... " >&6; }
21293 if test "${wx_cv_lib_stl+set}" = set; then :
21294 $as_echo_n "(cached) " >&6
21296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21297 /* end confdefs.h. */
21299 #include <functional>
21300 #include <algorithm>
21306 std::vector<int> moo;
21307 std::list<int> foo;
21308 std::vector<int>::iterator it =
21309 std::find_if(moo.begin(), moo.end(),
21310 std::bind2nd(std::less<int>(), 3));
21315 if ac_fn_cxx_try_compile
"$LINENO"; then :
21321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21325 $as_echo "$wx_cv_lib_stl" >&6; }
21327 if test "$wx_cv_lib_stl" != yes; then
21328 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21332 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21333 if test "${wx_cv_func_stdstring_compare+set}" = set; then :
21334 $as_echo_n "(cached) " >&6
21336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21337 /* end confdefs.h. */
21342 std::string foo, bar;
21344 foo.compare(1, 1, bar);
21345 foo.compare(1, 1, bar, 1, 1);
21347 foo.compare(1, 1, "");
21348 foo.compare(1, 1, "", 2);
21353 if ac_fn_cxx_try_compile
"$LINENO"; then :
21354 wx_cv_func_stdstring_compare
=yes
21356 wx_cv_func_stdstring_compare
=no
21359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21363 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21365 if test "$wx_cv_func_stdstring_compare" = yes; then
21366 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21370 if test "$wx_cv_class_gnuhashmapset" = yes; then
21371 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21373 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21377 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21380 if test "x$ac_cv_header_unordered_map" = x
""yes; then :
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21382 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21383 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then :
21384 $as_echo_n "(cached) " >&6
21386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21387 /* end confdefs.h. */
21388 #include <unordered_map>
21389 #include <unordered_set>
21393 std::unordered_map<double*, char*> test1;
21394 std::unordered_set<char*> test2;
21399 if ac_fn_cxx_try_compile
"$LINENO"; then :
21400 wx_cv_class_stdunorderedmapset
=yes
21402 wx_cv_class_stdunorderedmapset
=no
21404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21409 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21414 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21415 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21417 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21420 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21423 if test "x$ac_cv_header_tr1_unordered_map" = x
""yes; then :
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21425 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21426 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then :
21427 $as_echo_n "(cached) " >&6
21429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21430 /* end confdefs.h. */
21431 #include <tr1/unordered_map>
21432 #include <tr1/unordered_set>
21436 std::tr1::unordered_map<double*, char*> test1;
21437 std::tr1::unordered_set<char*> test2;
21438 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21439 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21445 if ac_fn_cxx_try_compile
"$LINENO"; then :
21446 wx_cv_class_tr1unorderedmapset
=yes
21448 wx_cv_class_tr1unorderedmapset
=no
21450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21455 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21460 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21461 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21463 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21466 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21469 if test "x$ac_cv_header_hash_map" = x
""yes; then :
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21471 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21472 if test "${wx_cv_class_stdhashmapset+set}" = set; then :
21473 $as_echo_n "(cached) " >&6
21475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21476 /* end confdefs.h. */
21477 #include <hash_map>
21478 #include <hash_set>
21482 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21483 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21488 if ac_fn_cxx_try_compile
"$LINENO"; then :
21489 wx_cv_class_stdhashmapset
=yes
21491 wx_cv_class_stdhashmapset
=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_stdhashmapset" >&5
21498 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21503 if test "$wx_cv_class_stdhashmapset" = yes; then
21504 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21506 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21510 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21513 if test "x$ac_cv_header_ext_hash_map" = x
""yes; then :
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21515 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21516 if test "${wx_cv_class_gnuhashmapset+set}" = set; then :
21517 $as_echo_n "(cached) " >&6
21519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21520 /* end confdefs.h. */
21521 #include <ext/hash_map>
21522 #include <ext/hash_set>
21526 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21527 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21532 if ac_fn_cxx_try_compile
"$LINENO"; then :
21533 wx_cv_class_gnuhashmapset
=yes
21535 wx_cv_class_gnuhashmapset
=no
21537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21542 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21552 ac_cpp
='$CXXCPP $CPPFLAGS'
21553 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21554 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21555 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21557 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21558 if test -z "$CXXCPP"; then
21559 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
21560 $as_echo_n "(cached) " >&6
21562 # Double quotes because CXXCPP needs to be expanded
21563 for CXXCPP
in "$CXX -E" "/lib/cpp"
21565 ac_preproc_ok
=false
21566 for ac_cxx_preproc_warn_flag
in '' yes
21568 # Use a header file that comes with gcc, so configuring glibc
21569 # with a fresh cross-compiler works.
21570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21571 # <limits.h> exists even on freestanding compilers.
21572 # On the NeXT, cc -E runs the code through the compiler's parser,
21573 # not just through cpp. "Syntax error" is here to catch this case.
21574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21575 /* end confdefs.h. */
21577 # include <limits.h>
21579 # include <assert.h>
21583 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21586 # Broken: fails on valid input.
21589 rm -f conftest.err conftest.i conftest.
$ac_ext
21591 # OK, works on sane cases. Now check whether nonexistent headers
21592 # can be detected and how.
21593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21594 /* end confdefs.h. */
21595 #include <ac_nonexistent.h>
21597 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21598 # Broken: success on invalid input.
21601 # Passes both tests.
21605 rm -f conftest.err conftest.i conftest.
$ac_ext
21608 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21609 rm -f conftest.i conftest.err conftest.
$ac_ext
21610 if $ac_preproc_ok; then :
21615 ac_cv_prog_CXXCPP
=$CXXCPP
21618 CXXCPP
=$ac_cv_prog_CXXCPP
21620 ac_cv_prog_CXXCPP
=$CXXCPP
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21623 $as_echo "$CXXCPP" >&6; }
21624 ac_preproc_ok
=false
21625 for ac_cxx_preproc_warn_flag
in '' yes
21627 # Use a header file that comes with gcc, so configuring glibc
21628 # with a fresh cross-compiler works.
21629 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21630 # <limits.h> exists even on freestanding compilers.
21631 # On the NeXT, cc -E runs the code through the compiler's parser,
21632 # not just through cpp. "Syntax error" is here to catch this case.
21633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21634 /* end confdefs.h. */
21636 # include <limits.h>
21638 # include <assert.h>
21642 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21645 # Broken: fails on valid input.
21648 rm -f conftest.err conftest.i conftest.
$ac_ext
21650 # OK, works on sane cases. Now check whether nonexistent headers
21651 # can be detected and how.
21652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21653 /* end confdefs.h. */
21654 #include <ac_nonexistent.h>
21656 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21657 # Broken: success on invalid input.
21660 # Passes both tests.
21664 rm -f conftest.err conftest.i conftest.
$ac_ext
21667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21668 rm -f conftest.i conftest.err conftest.
$ac_ext
21669 if $ac_preproc_ok; then :
21672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21674 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21675 See \`config.log' for more details" "$LINENO" 5 ; }
21679 ac_cpp
='$CXXCPP $CPPFLAGS'
21680 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21681 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21682 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21685 for ac_header
in type_traits tr
1/type_traits
21687 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21688 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21689 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21690 cat >>confdefs.h
<<_ACEOF
21691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21701 if test -n "$GCC"; then
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21703 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21704 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then :
21705 $as_echo_n "(cached) " >&6
21708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21709 /* end confdefs.h. */
21715 unsigned int value=0;
21716 /* wxAtomicInc doesn't use return value here */
21717 __sync_fetch_and_add(&value, 2);
21718 __sync_sub_and_fetch(&value, 1);
21719 /* but wxAtomicDec does, so mimic that: */
21720 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21726 if ac_fn_cxx_try_link
"$LINENO"; then :
21727 wx_cv_cc_gcc_atomic_builtins
=yes
21729 wx_cv_cc_gcc_atomic_builtins
=no
21731 rm -f core conftest.err conftest.
$ac_objext \
21732 conftest
$ac_exeext conftest.
$ac_ext
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21737 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21738 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21739 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21746 ac_cpp
='$CPP $CPPFLAGS'
21747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21754 /usr/local/include \
21755 /usr/local/X11/include \
21756 /usr/local/include/X11 \
21757 /usr/local/X11R7/include \
21758 /usr/local/X11R6/include \
21759 /usr/local/include/X11R7 \
21760 /usr/local/include/X11R6 \
21762 /usr/Motif-2.1/include \
21763 /usr/Motif-1.2/include \
21764 /usr/include/Motif1.2 \
21767 /usr/openwin/include \
21771 /usr/X11R7/include \
21772 /usr/X11R6/include \
21773 /usr/X11R6.4/include \
21775 /usr/include/X11R7 \
21776 /usr/include/X11R6 \
21781 /usr/XFree86/include/X11 \
21784 /usr/local/X1R5/include \
21785 /usr/local/include/X11R5 \
21786 /usr/X11R5/include \
21787 /usr/include/X11R5 \
21789 /usr/local/X11R4/include \
21790 /usr/local/include/X11R4 \
21791 /usr/X11R4/include \
21792 /usr/include/X11R4 \
21794 /usr/openwin/share/include"
21796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21797 $as_echo_n "checking for libraries directories... " >&6; }
21801 if test "${wx_cv_std_libpath+set}" = set; then :
21802 $as_echo_n "(cached) " >&6
21805 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
21806 for e
in a so sl dylib dll.a
; do
21808 if test -f $libc; then
21811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21812 /* end confdefs.h. */
21814 int main() { return 0; }
21817 if ac_fn_c_try_link
"$LINENO"; then :
21818 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
21820 rm -f core conftest.err conftest.
$ac_objext \
21821 conftest
$ac_exeext conftest.
$ac_ext
21823 if test "x$wx_cv_std_libpath" != "x"; then
21836 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21837 wx_cv_std_libpath
="lib/64"
21842 if test "$ac_cv_sizeof_void_p" = 8; then
21843 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21844 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
21845 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21846 wx_cv_std_libpath
="lib64"
21851 if test -d '/usr/lib/i386-linux-gnu'; then
21852 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
21857 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21858 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
21863 if test -z "$wx_cv_std_libpath"; then
21864 wx_cv_std_libpath
="lib"
21867 if test -z "$wx_cv_std_libfullpath"; then
21868 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21873 $as_echo "$wx_cv_std_libfullpath" >&6; }
21875 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21877 if test "$build" != "$host" -a "$GCC" = yes; then
21878 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
21879 cross_root
=`dirname $cross_root`
21880 cross_root
=`dirname $cross_root`
21882 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21883 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21884 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
21886 if test -z "$PKG_CONFIG_PATH"; then
21887 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21888 export PKG_CONFIG_PATH
21891 if test -z "$x_includes" -o "$x_includes" = NONE
; then
21894 for ac_dir
in $SEARCH_INCLUDE /usr
/include
21896 if test -f "$ac_dir/X11/Intrinsic.h"; then
21897 ac_find_includes
=$ac_dir
21902 x_includes
=$ac_find_includes
21904 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
21907 for ac_dir
in $SEARCH_LIB
21909 for ac_extension
in a so sl dylib dll.a
; do
21910 if test -f "$ac_dir/libXt.$ac_extension"; then
21911 ac_find_libraries
=$ac_dir
21917 x_libraries
=$ac_find_libraries
21923 cat >confcache
<<\_ACEOF
21924 # This file is a shell script that caches the results of configure
21925 # tests run on this system so they can be shared between configure
21926 # scripts and configure runs, see configure's option --config-cache.
21927 # It is not useful on other systems. If it contains results you don't
21928 # want to keep, you may remove or edit it.
21930 # config.status only pays attention to the cache file if you give it
21931 # the --recheck option to rerun configure.
21933 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21934 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21935 # following values.
21939 # The following way of writing the cache mishandles newlines in values,
21940 # but we know of no workaround that is simple, portable, and efficient.
21941 # So, we kill variables containing newlines.
21942 # Ultrix sh set writes to stderr and can't be redirected directly,
21943 # and sets the high bit in the cache file unless we assign to the vars.
21945 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21946 eval ac_val
=\$
$ac_var
21950 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21951 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21954 _
| IFS
| as_nl
) ;; #(
21955 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21956 *) { eval $ac_var=; unset $ac_var;} ;;
21962 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21963 *${as_nl}ac_space
=\
*)
21964 # `set' does not quote correctly, so add quotes: double-quote
21965 # substitution turns \\\\ into \\, and sed turns \\ into \.
21968 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21971 # `set' quotes correctly as required by POSIX, so do not add quotes.
21972 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21981 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21983 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21985 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21986 if test -w "$cache_file"; then
21987 test "x$cache_file" != "x/dev/null" &&
21988 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21989 $as_echo "$as_me: updating cache $cache_file" >&6;}
21990 cat confcache
>$cache_file
21992 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21993 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22002 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22003 if test "x$ac_cv_func_cos" = x
""yes; then :
22004 cat >>confdefs.h
<<_ACEOF
22011 for ac_func
in floor
22013 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22014 if test "x$ac_cv_func_floor" = x
""yes; then :
22015 cat >>confdefs.h
<<_ACEOF
22016 #define HAVE_FLOOR 1
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22023 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22024 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22026 $as_echo "yes" >&6; }
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22029 $as_echo "no" >&6; }
22031 # use different functions to avoid configure caching
22036 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22037 if test "x$ac_cv_func_sin" = x
""yes; then :
22038 cat >>confdefs.h
<<_ACEOF
22045 for ac_func
in ceil
22047 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22048 if test "x$ac_cv_func_ceil" = x
""yes; then :
22049 cat >>confdefs.h
<<_ACEOF
22050 #define HAVE_CEIL 1
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22057 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22058 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22060 $as_echo "yes" >&6; }
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22063 $as_echo "no" >&6; }
22064 # not sure we should warn the user, crash, etc.
22069 ac_cpp
='$CXXCPP $CPPFLAGS'
22070 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22071 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22072 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22074 if test "wxUSE_UNICODE" = "yes"; then
22076 for wx_func
in wcstoull
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22079 $as_echo_n "checking for $wx_func... " >&6; }
22080 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22081 $as_echo_n "(cached) " >&6
22084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22085 /* end confdefs.h. */
22089 $ac_includes_default
22105 if ac_fn_cxx_try_link
"$LINENO"; then :
22106 eval wx_cv_func_
$wx_func=yes
22108 eval wx_cv_func_
$wx_func=no
22110 rm -f core conftest.err conftest.
$ac_objext \
22111 conftest
$ac_exeext conftest.
$ac_ext
22114 eval ac_res
=\
$wx_cv_func_$wx_func
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22116 $as_echo "$ac_res" >&6; }
22118 if eval test \
$wx_cv_func_$wx_func = yes
22120 cat >>confdefs.h
<<_ACEOF
22121 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22133 for wx_func
in strtoull
22135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22136 $as_echo_n "checking for $wx_func... " >&6; }
22137 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22138 $as_echo_n "(cached) " >&6
22141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22142 /* end confdefs.h. */
22146 $ac_includes_default
22162 if ac_fn_cxx_try_link
"$LINENO"; then :
22163 eval wx_cv_func_
$wx_func=yes
22165 eval wx_cv_func_
$wx_func=no
22167 rm -f core conftest.err conftest.
$ac_objext \
22168 conftest
$ac_exeext conftest.
$ac_ext
22171 eval ac_res
=\
$wx_cv_func_$wx_func
22172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22173 $as_echo "$ac_res" >&6; }
22175 if eval test \
$wx_cv_func_$wx_func = yes
22177 cat >>confdefs.h
<<_ACEOF
22178 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22190 ac_cpp
='$CPP $CPPFLAGS'
22191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22198 if test "$wxUSE_REGEX" != "no"; then
22199 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22202 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22204 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22205 wxUSE_REGEX
=builtin
22208 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22209 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22211 if test "x$ac_cv_header_regex_h" = x
""yes; then :
22212 for ac_func
in regcomp re_search
22214 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22215 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22216 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22217 cat >>confdefs.h
<<_ACEOF
22218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22228 if test "x$ac_cv_func_regcomp" != "xyes"; then
22229 if test "$wxUSE_REGEX" = "sys" ; then
22230 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22233 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22234 wxUSE_REGEX
=builtin
22238 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22246 if test "$wxUSE_ZLIB" != "no" ; then
22247 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22250 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22251 if test "$USE_DARWIN" = 1; then
22252 system_zlib_h_ok
="yes"
22254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22255 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22256 if test "${ac_cv_header_zlib_h+set}" = set; then :
22257 $as_echo_n "(cached) " >&6
22259 if test "$cross_compiling" = yes; then :
22260 unset ac_cv_header_zlib_h
22263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22264 /* end confdefs.h. */
22271 FILE *f=fopen("conftestval", "w");
22274 ZLIB_VERSION[0] == '1' &&
22275 (ZLIB_VERSION[2] > '1' ||
22276 (ZLIB_VERSION[2] == '1' &&
22277 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22282 if ac_fn_c_try_run
"$LINENO"; then :
22283 ac_cv_header_zlib_h
=`cat conftestval`
22285 ac_cv_header_zlib_h
=no
22287 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22288 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22294 $as_echo "$ac_cv_header_zlib_h" >&6; }
22295 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22297 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
22303 system_zlib_h_ok
=$ac_cv_header_zlib_h
22306 if test "$system_zlib_h_ok" = "yes"; then
22307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22308 $as_echo_n "checking for deflate in -lz... " >&6; }
22309 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22310 $as_echo_n "(cached) " >&6
22312 ac_check_lib_save_LIBS
=$LIBS
22314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22315 /* end confdefs.h. */
22317 /* Override any GCC internal prototype to avoid an error.
22318 Use char because int might match the return type of a GCC
22319 builtin and then its argument prototype would still apply. */
22332 if ac_fn_c_try_link
"$LINENO"; then :
22333 ac_cv_lib_z_deflate
=yes
22335 ac_cv_lib_z_deflate
=no
22337 rm -f core conftest.err conftest.
$ac_objext \
22338 conftest
$ac_exeext conftest.
$ac_ext
22339 LIBS
=$ac_check_lib_save_LIBS
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22342 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22343 if test "x$ac_cv_lib_z_deflate" = x
""yes; then :
22349 if test "x$ZLIB_LINK" = "x" ; then
22350 if test "$wxUSE_ZLIB" = "sys" ; then
22351 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22354 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22365 if test "$wxUSE_LIBPNG" != "no" ; then
22366 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22369 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22371 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22372 wxUSE_LIBPNG
=builtin
22375 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22377 $as_echo_n "checking for png.h > 0.90... " >&6; }
22378 if test "${ac_cv_header_png_h+set}" = set; then :
22379 $as_echo_n "(cached) " >&6
22381 if test "$cross_compiling" = yes; then :
22382 unset ac_cv_header_png_h
22385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22386 /* end confdefs.h. */
22393 FILE *f=fopen("conftestval", "w");
22396 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22401 if ac_fn_c_try_run
"$LINENO"; then :
22402 ac_cv_header_png_h
=`cat conftestval`
22404 ac_cv_header_png_h
=no
22406 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22407 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22413 $as_echo "$ac_cv_header_png_h" >&6; }
22414 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22416 if test "x$ac_cv_header_png_h" = x
""yes; then :
22422 if test "$ac_cv_header_png_h" = "yes"; then
22423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22424 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22425 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then :
22426 $as_echo_n "(cached) " >&6
22428 ac_check_lib_save_LIBS
=$LIBS
22429 LIBS
="-lpng -lz -lm $LIBS"
22430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22431 /* end confdefs.h. */
22433 /* Override any GCC internal prototype to avoid an error.
22434 Use char because int might match the return type of a GCC
22435 builtin and then its argument prototype would still apply. */
22439 char png_sig_cmp ();
22443 return png_sig_cmp ();
22448 if ac_fn_c_try_link
"$LINENO"; then :
22449 ac_cv_lib_png_png_sig_cmp
=yes
22451 ac_cv_lib_png_png_sig_cmp
=no
22453 rm -f core conftest.err conftest.
$ac_objext \
22454 conftest
$ac_exeext conftest.
$ac_ext
22455 LIBS
=$ac_check_lib_save_LIBS
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22458 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22459 if test "x$ac_cv_lib_png_png_sig_cmp" = x
""yes; then :
22460 PNG_LINK
=" -lpng -lz"
22465 if test "x$PNG_LINK" = "x" ; then
22466 if test "$wxUSE_LIBPNG" = "sys" ; then
22467 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22470 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22471 wxUSE_LIBPNG
=builtin
22481 if test "$wxUSE_LIBJPEG" != "no" ; then
22482 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22485 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22487 $as_echo_n "checking for jpeglib.h... " >&6; }
22488 if test "${ac_cv_header_jpeglib_h+set}" = set; then :
22489 $as_echo_n "(cached) " >&6
22491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22492 /* end confdefs.h. */
22494 #undef HAVE_STDLIB_H
22496 #include <jpeglib.h>
22507 if ac_fn_c_try_compile
"$LINENO"; then :
22508 ac_cv_header_jpeglib_h
=yes
22510 ac_cv_header_jpeglib_h
=no
22513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22518 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22520 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22522 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22523 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then :
22524 $as_echo_n "(cached) " >&6
22526 ac_check_lib_save_LIBS
=$LIBS
22527 LIBS
="-ljpeg $LIBS"
22528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22529 /* end confdefs.h. */
22531 /* Override any GCC internal prototype to avoid an error.
22532 Use char because int might match the return type of a GCC
22533 builtin and then its argument prototype would still apply. */
22537 char jpeg_read_header ();
22541 return jpeg_read_header ();
22546 if ac_fn_c_try_link
"$LINENO"; then :
22547 ac_cv_lib_jpeg_jpeg_read_header
=yes
22549 ac_cv_lib_jpeg_jpeg_read_header
=no
22551 rm -f core conftest.err conftest.
$ac_objext \
22552 conftest
$ac_exeext conftest.
$ac_ext
22553 LIBS
=$ac_check_lib_save_LIBS
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22556 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22557 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = x
""yes; then :
22558 JPEG_LINK
=" -ljpeg"
22563 if test "x$JPEG_LINK" = "x" ; then
22564 if test "$wxUSE_LIBJPEG" = "sys" ; then
22565 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22568 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22569 wxUSE_LIBJPEG
=builtin
22574 if test "$wxUSE_MSW" = 1; then
22575 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22577 if test "x$ac_cv_type_boolean" = x
""yes; then :
22579 cat >>confdefs.h
<<_ACEOF
22580 #define HAVE_BOOLEAN 1
22584 # The cast to long int works around a bug in the HP C Compiler
22585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22587 # This bug is HP SR number 8606223364.
22588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22589 $as_echo_n "checking size of boolean... " >&6; }
22590 if test "${ac_cv_sizeof_boolean+set}" = set; then :
22591 $as_echo_n "(cached) " >&6
22593 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22594 #undef HAVE_BOOLEAN
22596 #include <jpeglib.h>
22601 if test "$ac_cv_type_boolean" = yes; then
22602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22604 as_fn_error
77 "cannot compute sizeof (boolean)
22605 See \`config.log' for more details" "$LINENO" 5 ; }
22607 ac_cv_sizeof_boolean
=0
22612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22613 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22617 cat >>confdefs.h
<<_ACEOF
22618 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22622 cat >>confdefs.h
<<_ACEOF
22623 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22636 TIFF_PREREQ_LINKS
=-lm
22637 if test "$wxUSE_LIBTIFF" != "no" ; then
22638 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22641 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22642 if test "$wxUSE_LIBJPEG" = "sys"; then
22643 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22645 if test "$wxUSE_ZLIB" = "sys"; then
22646 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22648 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22651 if test "x$ac_cv_header_tiffio_h" = x
""yes; then :
22653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22654 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22655 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then :
22656 $as_echo_n "(cached) " >&6
22658 ac_check_lib_save_LIBS
=$LIBS
22659 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22661 /* end confdefs.h. */
22663 /* Override any GCC internal prototype to avoid an error.
22664 Use char because int might match the return type of a GCC
22665 builtin and then its argument prototype would still apply. */
22673 return TIFFError ();
22678 if ac_fn_c_try_link
"$LINENO"; then :
22679 ac_cv_lib_tiff_TIFFError
=yes
22681 ac_cv_lib_tiff_TIFFError
=no
22683 rm -f core conftest.err conftest.
$ac_objext \
22684 conftest
$ac_exeext conftest.
$ac_ext
22685 LIBS
=$ac_check_lib_save_LIBS
22687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22688 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22689 if test "x$ac_cv_lib_tiff_TIFFError" = x
""yes; then :
22690 TIFF_LINK
=" -ltiff"
22698 if test "x$TIFF_LINK" = "x" ; then
22699 if test "$wxUSE_LIBTIFF" = "sys" ; then
22700 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22703 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22704 wxUSE_LIBTIFF
=builtin
22710 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22711 if test "$wxUSE_LIBJPEG" = "no"; then
22712 ac_configure_args
="$ac_configure_args --disable-jpeg"
22716 subdirs
="$subdirs src/tiff"
22722 if test "$wxUSE_EXPAT" != "no"; then
22724 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22726 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22729 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22730 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
22732 if test "x$ac_cv_header_expat_h" = x
""yes; then :
22737 if test "x$found_expat_h" = "x1"; then
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22739 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22740 if test "${wx_cv_expat_is_not_broken+set}" = set; then :
22741 $as_echo_n "(cached) " >&6
22745 ac_cpp
='$CXXCPP $CPPFLAGS'
22746 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22747 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22748 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22751 /* end confdefs.h. */
22761 if ac_fn_cxx_try_compile
"$LINENO"; then :
22762 wx_cv_expat_is_not_broken
=yes
22764 wx_cv_expat_is_not_broken
=no
22767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22769 ac_cpp
='$CPP $CPPFLAGS'
22770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22778 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22779 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22781 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22782 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
22783 $as_echo_n "(cached) " >&6
22785 ac_check_lib_save_LIBS
=$LIBS
22786 LIBS
="-lexpat $LIBS"
22787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22788 /* end confdefs.h. */
22790 /* Override any GCC internal prototype to avoid an error.
22791 Use char because int might match the return type of a GCC
22792 builtin and then its argument prototype would still apply. */
22796 char XML_ParserCreate ();
22800 return XML_ParserCreate ();
22805 if ac_fn_c_try_link
"$LINENO"; then :
22806 ac_cv_lib_expat_XML_ParserCreate
=yes
22808 ac_cv_lib_expat_XML_ParserCreate
=no
22810 rm -f core conftest.err conftest.
$ac_objext \
22811 conftest
$ac_exeext conftest.
$ac_ext
22812 LIBS
=$ac_check_lib_save_LIBS
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22815 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22816 if test "x$ac_cv_lib_expat_XML_ParserCreate" = x
""yes; then :
22817 EXPAT_LINK
=" -lexpat"
22822 if test "x$EXPAT_LINK" = "x" ; then
22823 if test "$wxUSE_EXPAT" = "sys" ; then
22824 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22827 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22828 wxUSE_EXPAT
=builtin
22834 if test "$wxUSE_EXPAT" = "builtin" ; then
22835 subdirs
="$subdirs src/expat"
22842 if test "$wxUSE_LIBMSPACK" != "no"; then
22843 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22845 if test "x$ac_cv_header_mspack_h" = x
""yes; then :
22850 if test "x$found_mspack_h" = "x1"; then
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22852 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22853 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then :
22854 $as_echo_n "(cached) " >&6
22856 ac_check_lib_save_LIBS
=$LIBS
22857 LIBS
="-lmspack $LIBS"
22858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22859 /* end confdefs.h. */
22861 /* Override any GCC internal prototype to avoid an error.
22862 Use char because int might match the return type of a GCC
22863 builtin and then its argument prototype would still apply. */
22867 char mspack_create_chm_decompressor ();
22871 return mspack_create_chm_decompressor ();
22876 if ac_fn_c_try_link
"$LINENO"; then :
22877 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22879 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22881 rm -f core conftest.err conftest.
$ac_objext \
22882 conftest
$ac_exeext conftest.
$ac_ext
22883 LIBS
=$ac_check_lib_save_LIBS
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22886 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22887 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = x
""yes; then :
22888 MSPACK_LINK
=" -lmspack"
22892 if test "x$MSPACK_LINK" = "x" ; then
22897 if test "$wxUSE_LIBMSPACK" != "no"; then
22898 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
22911 if test "$USE_WIN32" = 1 ; then
22912 for ac_header
in w32api.h
22914 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
22916 if test "x$ac_cv_header_w32api_h" = x
""yes; then :
22917 cat >>confdefs.h
<<_ACEOF
22918 #define HAVE_W32API_H 1
22925 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
22927 if test "x$ac_cv_header_windows_h" = x
""yes; then :
22931 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
22937 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
22939 x86_64
-*-mingw32* )
22940 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
22943 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22944 LIBS
="$LIBS -loleacc"
22949 LIBS
="$LIBS -lkernel32 -luser32"
22952 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
22953 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22955 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
22957 WIN32INSTALL
=win32install
22960 if test "$wxUSE_GUI" = "yes"; then
22971 if test "$wxUSE_OLD_COCOA" = 1 ; then
22972 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22974 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22975 wxUSE_PRINTING_ARCHITECTURE
=no
22977 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22979 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22980 wxUSE_DRAG_AND_DROP
=no
22982 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
22984 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
22989 if test "$wxUSE_MSW" = 1 ; then
22995 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22999 if test "$wxUSE_GTK" = 1; then
23000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23001 $as_echo_n "checking for GTK+ version... " >&6; }
23003 gtk_version_cached
=1
23004 if test "${wx_cv_lib_gtk+set}" = set; then :
23005 $as_echo_n "(cached) " >&6
23008 gtk_version_cached
=0
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23013 if test "$wxUSE_THREADS" = "yes"; then
23014 GTK_MODULES
=gthread
23017 if test -z "$wxGTK_VERSION"; then
23022 if test "x$wxGTK_VERSION" != "x1"
23026 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23031 if test "$wxGTK_VERSION" != 3; then
23032 # Check whether --enable-gtktest was given.
23033 if test "${enable_gtktest+set}" = set; then :
23034 enableval
=$enable_gtktest;
23040 pkg_config_args
=gtk
+-2.0
23041 for module
in .
$GTK_MODULES
23045 pkg_config_args
="$pkg_config_args gthread-2.0"
23052 # Extract the first word of "pkg-config", so it can be a program name with args.
23053 set dummy pkg
-config; ac_word
=$2
23054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23055 $as_echo_n "checking for $ac_word... " >&6; }
23056 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23057 $as_echo_n "(cached) " >&6
23059 case $PKG_CONFIG in
23061 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23065 for as_dir
in $PATH
23068 test -z "$as_dir" && as_dir
=.
23069 for ac_exec_ext
in '' $ac_executable_extensions; do
23070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23071 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23079 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23083 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23084 if test -n "$PKG_CONFIG"; then
23085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23086 $as_echo "$PKG_CONFIG" >&6; }
23088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23089 $as_echo "no" >&6; }
23094 if test x
$PKG_CONFIG != xno
; then
23095 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23098 echo "*** pkg-config too old; version 0.7 or better required."
23106 min_gtk_version
=2.4.0
23107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23108 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23110 if test x
$PKG_CONFIG != xno
; then
23111 ## don't try to run the test against uninstalled libtool libs
23112 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23113 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23117 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23124 if test x
"$no_gtk" = x
; then
23125 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23126 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23127 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23129 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23130 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23131 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23132 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23133 if test "x$enable_gtktest" = "xyes" ; then
23134 ac_save_CFLAGS
="$CFLAGS"
23135 ac_save_LIBS
="$LIBS"
23136 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23137 LIBS
="$GTK_LIBS $LIBS"
23139 if test "$cross_compiling" = yes; then :
23140 echo $ac_n "cross compiling; assumed OK... $ac_c"
23142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23143 /* end confdefs.h. */
23145 #include <gtk/gtk.h>
23147 #include <stdlib.h>
23152 int major, minor, micro;
23155 system ("touch conf.gtktest");
23157 /* HP/UX 9 (%@#!) writes to sscanf strings */
23158 tmp_version = g_strdup("$min_gtk_version");
23159 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23160 printf("%s, bad version string\n", "$min_gtk_version");
23164 if ((gtk_major_version != $gtk_config_major_version) ||
23165 (gtk_minor_version != $gtk_config_minor_version) ||
23166 (gtk_micro_version != $gtk_config_micro_version))
23168 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23169 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23170 gtk_major_version, gtk_minor_version, gtk_micro_version);
23171 printf ("*** was found! If pkg-config was correct, then it is best\n");
23172 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23173 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23174 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23175 printf("*** required on your system.\n");
23176 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23177 printf("*** to point to the correct configuration files\n");
23179 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23180 (gtk_minor_version != GTK_MINOR_VERSION) ||
23181 (gtk_micro_version != GTK_MICRO_VERSION))
23183 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23184 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23185 printf("*** library (version %d.%d.%d)\n",
23186 gtk_major_version, gtk_minor_version, gtk_micro_version);
23190 if ((gtk_major_version > major) ||
23191 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23192 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23198 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23199 gtk_major_version, gtk_minor_version, gtk_micro_version);
23200 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23201 major, minor, micro);
23202 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23204 printf("*** If you have already installed a sufficiently new version, this error\n");
23205 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23206 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23207 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23208 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23209 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23210 printf("*** so that the correct libraries are found at run-time))\n");
23217 if ac_fn_c_try_run
"$LINENO"; then :
23222 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23223 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23226 CFLAGS
="$ac_save_CFLAGS"
23227 LIBS
="$ac_save_LIBS"
23230 if test "x$no_gtk" = x
; then
23231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23232 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23236 $as_echo "no" >&6; }
23237 if test "$PKG_CONFIG" = "no" ; then
23238 echo "*** A new enough version of pkg-config was not found."
23239 echo "*** See http://pkgconfig.sourceforge.net"
23241 if test -f conf.gtktest
; then
23244 echo "*** Could not run GTK+ test program, checking why..."
23245 ac_save_CFLAGS
="$CFLAGS"
23246 ac_save_LIBS
="$LIBS"
23247 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23248 LIBS
="$LIBS $GTK_LIBS"
23249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23250 /* end confdefs.h. */
23252 #include <gtk/gtk.h>
23258 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23263 if ac_fn_c_try_link
"$LINENO"; then :
23264 echo "*** The test program compiled, but did not run. This usually means"
23265 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23266 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23267 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23268 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23269 echo "*** is required on your system"
23271 echo "*** If you have an old version installed, it is best to remove it, although"
23272 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23274 echo "*** The test program failed to compile or link. See the file config.log for the"
23275 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23277 rm -f core conftest.err conftest.
$ac_objext \
23278 conftest
$ac_exeext conftest.
$ac_ext
23279 CFLAGS
="$ac_save_CFLAGS"
23280 LIBS
="$ac_save_LIBS"
23292 if test -z "$wx_cv_lib_gtk"; then
23293 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23294 # Check whether --enable-gtktest was given.
23295 if test "${enable_gtktest+set}" = set; then :
23296 enableval
=$enable_gtktest;
23302 pkg_config_args
=gtk
+-3.0
23303 for module
in .
$GTK_MODULES
23307 pkg_config_args
="$pkg_config_args gthread-2.0"
23314 # Extract the first word of "pkg-config", so it can be a program name with args.
23315 set dummy pkg
-config; ac_word
=$2
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23317 $as_echo_n "checking for $ac_word... " >&6; }
23318 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23319 $as_echo_n "(cached) " >&6
23321 case $PKG_CONFIG in
23323 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23327 for as_dir
in $PATH
23330 test -z "$as_dir" && as_dir
=.
23331 for ac_exec_ext
in '' $ac_executable_extensions; do
23332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23333 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23341 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23345 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23346 if test -n "$PKG_CONFIG"; then
23347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23348 $as_echo "$PKG_CONFIG" >&6; }
23350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23351 $as_echo "no" >&6; }
23356 if test x
$PKG_CONFIG != xno
; then
23357 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23360 echo "*** pkg-config too old; version 0.7 or better required."
23368 min_gtk_version
=3.0.0
23369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23370 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23372 if test x
$PKG_CONFIG != xno
; then
23373 ## don't try to run the test against uninstalled libtool libs
23374 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23375 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23379 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23386 if test x
"$no_gtk" = x
; then
23387 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23388 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23389 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23391 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23393 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23395 if test "x$enable_gtktest" = "xyes" ; then
23396 ac_save_CFLAGS
="$CFLAGS"
23397 ac_save_LIBS
="$LIBS"
23398 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23399 LIBS
="$GTK_LIBS $LIBS"
23401 if test "$cross_compiling" = yes; then :
23402 echo $ac_n "cross compiling; assumed OK... $ac_c"
23404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23405 /* end confdefs.h. */
23407 #include <gtk/gtk.h>
23409 #include <stdlib.h>
23414 int major, minor, micro;
23417 fclose (fopen ("conf.gtktest", "w"));
23419 /* HP/UX 9 (%@#!) writes to sscanf strings */
23420 tmp_version = g_strdup("$min_gtk_version");
23421 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23422 printf("%s, bad version string\n", "$min_gtk_version");
23426 if ((gtk_major_version != $gtk_config_major_version) ||
23427 (gtk_minor_version != $gtk_config_minor_version) ||
23428 (gtk_micro_version != $gtk_config_micro_version))
23430 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23431 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23432 gtk_major_version, gtk_minor_version, gtk_micro_version);
23433 printf ("*** was found! If pkg-config was correct, then it is best\n");
23434 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23435 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23436 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23437 printf("*** required on your system.\n");
23438 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23439 printf("*** to point to the correct configuration files\n");
23441 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23442 (gtk_minor_version != GTK_MINOR_VERSION) ||
23443 (gtk_micro_version != GTK_MICRO_VERSION))
23445 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23446 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23447 printf("*** library (version %d.%d.%d)\n",
23448 gtk_major_version, gtk_minor_version, gtk_micro_version);
23452 if ((gtk_major_version > major) ||
23453 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23454 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23460 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23461 gtk_major_version, gtk_minor_version, gtk_micro_version);
23462 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23463 major, minor, micro);
23464 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23466 printf("*** If you have already installed a sufficiently new version, this error\n");
23467 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23468 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23469 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23470 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23471 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23472 printf("*** so that the correct libraries are found at run-time))\n");
23479 if ac_fn_c_try_run
"$LINENO"; then :
23484 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23485 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23488 CFLAGS
="$ac_save_CFLAGS"
23489 LIBS
="$ac_save_LIBS"
23492 if test "x$no_gtk" = x
; then
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23494 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23498 $as_echo "no" >&6; }
23499 if test "$PKG_CONFIG" = "no" ; then
23500 echo "*** A new enough version of pkg-config was not found."
23501 echo "*** See http://pkgconfig.sourceforge.net"
23503 if test -f conf.gtktest
; then
23506 echo "*** Could not run GTK+ test program, checking why..."
23507 ac_save_CFLAGS
="$CFLAGS"
23508 ac_save_LIBS
="$LIBS"
23509 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23510 LIBS
="$LIBS $GTK_LIBS"
23511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23512 /* end confdefs.h. */
23514 #include <gtk/gtk.h>
23520 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23525 if ac_fn_c_try_link
"$LINENO"; then :
23526 echo "*** The test program compiled, but did not run. This usually means"
23527 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23528 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23529 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23530 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23531 echo "*** is required on your system"
23533 echo "*** If you have an old version installed, it is best to remove it, although"
23534 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23536 echo "*** The test program failed to compile or link. See the file config.log for the"
23537 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23539 rm -f core conftest.err conftest.
$ac_objext \
23540 conftest
$ac_exeext conftest.
$ac_ext
23541 CFLAGS
="$ac_save_CFLAGS"
23542 LIBS
="$ac_save_LIBS"
23557 if test -z "$wx_cv_lib_gtk"; then
23558 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23560 # Check whether --with-gtk-prefix was given.
23561 if test "${with_gtk_prefix+set}" = set; then :
23562 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23564 gtk_config_prefix
=""
23568 # Check whether --with-gtk-exec-prefix was given.
23569 if test "${with_gtk_exec_prefix+set}" = set; then :
23570 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23572 gtk_config_exec_prefix
=""
23575 # Check whether --enable-gtktest was given.
23576 if test "${enable_gtktest+set}" = set; then :
23577 enableval
=$enable_gtktest;
23583 for module
in .
$GTK_MODULES
23587 gtk_config_args
="$gtk_config_args gthread"
23592 if test x
$gtk_config_exec_prefix != x
; then
23593 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23594 if test x
${GTK_CONFIG+set} != xset
; then
23595 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23598 if test x
$gtk_config_prefix != x
; then
23599 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23600 if test x
${GTK_CONFIG+set} != xset
; then
23601 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23605 # Extract the first word of "gtk-config", so it can be a program name with args.
23606 set dummy gtk
-config; ac_word
=$2
23607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23608 $as_echo_n "checking for $ac_word... " >&6; }
23609 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23610 $as_echo_n "(cached) " >&6
23612 case $GTK_CONFIG in
23614 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23618 for as_dir
in $PATH
23621 test -z "$as_dir" && as_dir
=.
23622 for ac_exec_ext
in '' $ac_executable_extensions; do
23623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23624 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23632 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23636 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23637 if test -n "$GTK_CONFIG"; then
23638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23639 $as_echo "$GTK_CONFIG" >&6; }
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23642 $as_echo "no" >&6; }
23646 min_gtk_version
=1.2.7
23647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23648 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23650 if test "$GTK_CONFIG" = "no" ; then
23653 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23654 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23655 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23656 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23657 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23658 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23659 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23660 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23661 if test "x$enable_gtktest" = "xyes" ; then
23662 ac_save_CFLAGS
="$CFLAGS"
23663 ac_save_LIBS
="$LIBS"
23664 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23665 LIBS
="$GTK_LIBS $LIBS"
23667 if test "$cross_compiling" = yes; then :
23668 echo $ac_n "cross compiling; assumed OK... $ac_c"
23670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23671 /* end confdefs.h. */
23673 #include <gtk/gtk.h>
23675 #include <stdlib.h>
23680 int major, minor, micro;
23683 system ("touch conf.gtktest");
23685 /* HP/UX 9 (%@#!) writes to sscanf strings */
23686 tmp_version = g_strdup("$min_gtk_version");
23687 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23688 printf("%s, bad version string\n", "$min_gtk_version");
23692 if ((gtk_major_version != $gtk_config_major_version) ||
23693 (gtk_minor_version != $gtk_config_minor_version) ||
23694 (gtk_micro_version != $gtk_config_micro_version))
23696 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23697 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23698 gtk_major_version, gtk_minor_version, gtk_micro_version);
23699 printf ("*** was found! If gtk-config was correct, then it is best\n");
23700 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23701 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23702 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23703 printf("*** required on your system.\n");
23704 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23705 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23706 printf("*** before re-running configure\n");
23708 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23709 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23710 (gtk_minor_version != GTK_MINOR_VERSION) ||
23711 (gtk_micro_version != GTK_MICRO_VERSION))
23713 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23714 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23715 printf("*** library (version %d.%d.%d)\n",
23716 gtk_major_version, gtk_minor_version, gtk_micro_version);
23718 #endif /* defined (GTK_MAJOR_VERSION) ... */
23721 if ((gtk_major_version > major) ||
23722 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23723 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23729 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23730 gtk_major_version, gtk_minor_version, gtk_micro_version);
23731 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23732 major, minor, micro);
23733 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23735 printf("*** If you have already installed a sufficiently new version, this error\n");
23736 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23737 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23738 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23739 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23740 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23741 printf("*** so that the correct libraries are found at run-time))\n");
23748 if ac_fn_c_try_run
"$LINENO"; then :
23753 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23754 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23757 CFLAGS
="$ac_save_CFLAGS"
23758 LIBS
="$ac_save_LIBS"
23761 if test "x$no_gtk" = x
; then
23762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23763 $as_echo "yes" >&6; }
23764 wx_cv_lib_gtk
=1.2.7
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23767 $as_echo "no" >&6; }
23768 if test "$GTK_CONFIG" = "no" ; then
23769 echo "*** The gtk-config script installed by GTK could not be found"
23770 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23771 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23772 echo "*** full path to gtk-config."
23774 if test -f conf.gtktest
; then
23777 echo "*** Could not run GTK test program, checking why..."
23778 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23779 LIBS
="$LIBS $GTK_LIBS"
23780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23781 /* end confdefs.h. */
23783 #include <gtk/gtk.h>
23789 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23794 if ac_fn_c_try_link
"$LINENO"; then :
23795 echo "*** The test program compiled, but did not run. This usually means"
23796 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23797 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23798 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23799 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23800 echo "*** is required on your system"
23802 echo "*** If you have an old version installed, it is best to remove it, although"
23803 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23805 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23806 echo "*** came with the system with the command"
23808 echo "*** rpm --erase --nodeps gtk gtk-devel"
23810 echo "*** The test program failed to compile or link. See the file config.log for the"
23811 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23812 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23813 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23815 rm -f core conftest.err conftest.
$ac_objext \
23816 conftest
$ac_exeext conftest.
$ac_ext
23817 CFLAGS
="$ac_save_CFLAGS"
23818 LIBS
="$ac_save_LIBS"
23830 if test -z "$wx_cv_lib_gtk"; then
23832 # Check whether --with-gtk-prefix was given.
23833 if test "${with_gtk_prefix+set}" = set; then :
23834 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23836 gtk_config_prefix
=""
23840 # Check whether --with-gtk-exec-prefix was given.
23841 if test "${with_gtk_exec_prefix+set}" = set; then :
23842 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23844 gtk_config_exec_prefix
=""
23847 # Check whether --enable-gtktest was given.
23848 if test "${enable_gtktest+set}" = set; then :
23849 enableval
=$enable_gtktest;
23855 for module
in .
$GTK_MODULES
23859 gtk_config_args
="$gtk_config_args gthread"
23864 if test x
$gtk_config_exec_prefix != x
; then
23865 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23866 if test x
${GTK_CONFIG+set} != xset
; then
23867 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23870 if test x
$gtk_config_prefix != x
; then
23871 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23872 if test x
${GTK_CONFIG+set} != xset
; then
23873 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23877 # Extract the first word of "gtk-config", so it can be a program name with args.
23878 set dummy gtk
-config; ac_word
=$2
23879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23880 $as_echo_n "checking for $ac_word... " >&6; }
23881 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23882 $as_echo_n "(cached) " >&6
23884 case $GTK_CONFIG in
23886 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23890 for as_dir
in $PATH
23893 test -z "$as_dir" && as_dir
=.
23894 for ac_exec_ext
in '' $ac_executable_extensions; do
23895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23896 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23904 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23908 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23909 if test -n "$GTK_CONFIG"; then
23910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23911 $as_echo "$GTK_CONFIG" >&6; }
23913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23914 $as_echo "no" >&6; }
23918 min_gtk_version
=1.2.3
23919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23920 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23922 if test "$GTK_CONFIG" = "no" ; then
23925 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23926 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23927 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23929 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23931 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23933 if test "x$enable_gtktest" = "xyes" ; then
23934 ac_save_CFLAGS
="$CFLAGS"
23935 ac_save_LIBS
="$LIBS"
23936 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23937 LIBS
="$GTK_LIBS $LIBS"
23939 if test "$cross_compiling" = yes; then :
23940 echo $ac_n "cross compiling; assumed OK... $ac_c"
23942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23943 /* end confdefs.h. */
23945 #include <gtk/gtk.h>
23947 #include <stdlib.h>
23952 int major, minor, micro;
23955 system ("touch conf.gtktest");
23957 /* HP/UX 9 (%@#!) writes to sscanf strings */
23958 tmp_version = g_strdup("$min_gtk_version");
23959 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23960 printf("%s, bad version string\n", "$min_gtk_version");
23964 if ((gtk_major_version != $gtk_config_major_version) ||
23965 (gtk_minor_version != $gtk_config_minor_version) ||
23966 (gtk_micro_version != $gtk_config_micro_version))
23968 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23969 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23970 gtk_major_version, gtk_minor_version, gtk_micro_version);
23971 printf ("*** was found! If gtk-config was correct, then it is best\n");
23972 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23973 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23974 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23975 printf("*** required on your system.\n");
23976 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23977 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23978 printf("*** before re-running configure\n");
23980 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23981 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23982 (gtk_minor_version != GTK_MINOR_VERSION) ||
23983 (gtk_micro_version != GTK_MICRO_VERSION))
23985 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23986 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23987 printf("*** library (version %d.%d.%d)\n",
23988 gtk_major_version, gtk_minor_version, gtk_micro_version);
23990 #endif /* defined (GTK_MAJOR_VERSION) ... */
23993 if ((gtk_major_version > major) ||
23994 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23995 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24001 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24002 gtk_major_version, gtk_minor_version, gtk_micro_version);
24003 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24004 major, minor, micro);
24005 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24007 printf("*** If you have already installed a sufficiently new version, this error\n");
24008 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24009 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24010 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24011 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24012 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24013 printf("*** so that the correct libraries are found at run-time))\n");
24020 if ac_fn_c_try_run
"$LINENO"; then :
24025 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24026 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24029 CFLAGS
="$ac_save_CFLAGS"
24030 LIBS
="$ac_save_LIBS"
24033 if test "x$no_gtk" = x
; then
24034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24035 $as_echo "yes" >&6; }
24036 wx_cv_lib_gtk
=1.2.3
24038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24039 $as_echo "no" >&6; }
24040 if test "$GTK_CONFIG" = "no" ; then
24041 echo "*** The gtk-config script installed by GTK could not be found"
24042 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24043 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24044 echo "*** full path to gtk-config."
24046 if test -f conf.gtktest
; then
24049 echo "*** Could not run GTK test program, checking why..."
24050 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24051 LIBS
="$LIBS $GTK_LIBS"
24052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24053 /* end confdefs.h. */
24055 #include <gtk/gtk.h>
24061 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24066 if ac_fn_c_try_link
"$LINENO"; then :
24067 echo "*** The test program compiled, but did not run. This usually means"
24068 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24069 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24070 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24071 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24072 echo "*** is required on your system"
24074 echo "*** If you have an old version installed, it is best to remove it, although"
24075 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24077 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24078 echo "*** came with the system with the command"
24080 echo "*** rpm --erase --nodeps gtk gtk-devel"
24082 echo "*** The test program failed to compile or link. See the file config.log for the"
24083 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24084 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24085 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24087 rm -f core conftest.err conftest.
$ac_objext \
24088 conftest
$ac_exeext conftest.
$ac_ext
24089 CFLAGS
="$ac_save_CFLAGS"
24090 LIBS
="$ac_save_LIBS"
24105 if test -z "$wx_cv_lib_gtk"; then
24108 GTK_LIBS
="$GTK_LIBS -lX11"
24110 wx_cv_cflags_gtk
=$GTK_CFLAGS
24111 wx_cv_libs_gtk
=$GTK_LIBS
24118 if test "$gtk_version_cached" = 1; then
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24120 $as_echo "$wx_cv_lib_gtk" >&6; }
24123 case "$wx_cv_lib_gtk" in
24134 *) as_fn_error $?
"
24135 The development files for GTK+ were not found. For GTK+ 2, please
24136 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24137 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24138 and that the version is 1.2.3 or above. Also check that the
24139 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24140 --libs' are in the LD_LIBRARY_PATH or equivalent.
24145 if test "$WXGTK3" = 1; then
24146 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24148 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24150 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24152 elif test "$WXGTK2" = 1; then
24153 save_CFLAGS
="$CFLAGS"
24155 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24156 LIBS
="$LIBS $wx_cv_libs_gtk"
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24159 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24161 /* end confdefs.h. */
24163 #include <gtk/gtk.h>
24169 #if !GTK_CHECK_VERSION(2,18,0)
24177 if ac_fn_c_try_compile
"$LINENO"; then :
24179 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24181 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24183 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24186 $as_echo "yes" >&6; }
24191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24192 $as_echo "no" >&6; }
24196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24198 if test "$ac_wxgtk218" = 0; then
24199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24200 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24202 /* end confdefs.h. */
24204 #include <gtk/gtk.h>
24210 #if !GTK_CHECK_VERSION(2,10,0)
24218 if ac_fn_c_try_compile
"$LINENO"; then :
24220 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24222 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24225 $as_echo "yes" >&6; }
24230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24231 $as_echo "no" >&6; }
24235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24237 if test "$ac_wxgtk210" = 0; then
24238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.6" >&5
24239 $as_echo_n "checking if GTK+ is version >= 2.6... " >&6; }
24240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24241 /* end confdefs.h. */
24243 #include <gtk/gtk.h>
24249 #if !GTK_CHECK_VERSION(2,6,0)
24257 if ac_fn_c_try_compile
"$LINENO"; then :
24259 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24262 $as_echo "yes" >&6; }
24267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24268 $as_echo "no" >&6; }
24272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24276 CFLAGS
="$save_CFLAGS"
24279 if test "$wxUSE_UNICODE" = "yes"; then
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24281 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24286 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24287 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then :
24288 $as_echo_n "(cached) " >&6
24290 ac_check_lib_save_LIBS
=$LIBS
24292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24293 /* end confdefs.h. */
24295 /* Override any GCC internal prototype to avoid an error.
24296 Use char because int might match the return type of a GCC
24297 builtin and then its argument prototype would still apply. */
24301 char gdk_im_open ();
24305 return gdk_im_open ();
24310 if ac_fn_c_try_link
"$LINENO"; then :
24311 ac_cv_lib_gdk_gdk_im_open
=yes
24313 ac_cv_lib_gdk_gdk_im_open
=no
24315 rm -f core conftest.err conftest.
$ac_objext \
24316 conftest
$ac_exeext conftest.
$ac_ext
24317 LIBS
=$ac_check_lib_save_LIBS
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24320 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24321 if test "x$ac_cv_lib_gdk_gdk_im_open" = x
""yes; then :
24322 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24327 if test "$USE_DARWIN" != 1; then
24328 for ac_func
in poll
24330 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24331 if test "x$ac_cv_func_poll" = x
""yes; then :
24332 cat >>confdefs.h
<<_ACEOF
24333 #define HAVE_POLL 1
24342 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24343 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24344 AFMINSTALL
=afminstall
24348 if test "$wxUSE_GPE" = "yes"; then
24349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24350 $as_echo_n "checking for gpewidget library... " >&6; }
24353 for ac_dir
in $SEARCH_LIB
24355 for ac_extension
in a so sl dylib dll.a
; do
24356 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24357 ac_find_libraries
=$ac_dir
24363 if test "$ac_find_libraries" != "" ; then
24365 if test "$ac_find_libraries" = "default location"; then
24368 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24370 if test $result = 0; then
24373 ac_path_to_link
=" -L$ac_find_libraries"
24377 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24380 $as_echo "found in $ac_find_libraries" >&6; }
24382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24383 $as_echo "not found" >&6; }
24389 if test "$wxUSE_DFB" = 1; then
24392 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24393 if test -n "$ac_tool_prefix"; then
24394 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24395 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24397 $as_echo_n "checking for $ac_word... " >&6; }
24398 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
24399 $as_echo_n "(cached) " >&6
24401 case $PKG_CONFIG in
24403 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24407 for as_dir
in $PATH
24410 test -z "$as_dir" && as_dir
=.
24411 for ac_exec_ext
in '' $ac_executable_extensions; do
24412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24413 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24424 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24425 if test -n "$PKG_CONFIG"; then
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24427 $as_echo "$PKG_CONFIG" >&6; }
24429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24430 $as_echo "no" >&6; }
24435 if test -z "$ac_cv_path_PKG_CONFIG"; then
24436 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24437 # Extract the first word of "pkg-config", so it can be a program name with args.
24438 set dummy pkg
-config; ac_word
=$2
24439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24440 $as_echo_n "checking for $ac_word... " >&6; }
24441 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
24442 $as_echo_n "(cached) " >&6
24444 case $ac_pt_PKG_CONFIG in
24446 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24450 for as_dir
in $PATH
24453 test -z "$as_dir" && as_dir
=.
24454 for ac_exec_ext
in '' $ac_executable_extensions; do
24455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24456 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24467 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24468 if test -n "$ac_pt_PKG_CONFIG"; then
24469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24470 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24473 $as_echo "no" >&6; }
24476 if test "x$ac_pt_PKG_CONFIG" = x
; then
24479 case $cross_compiling:$ac_tool_warned in
24481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24483 ac_tool_warned
=yes ;;
24485 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24488 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24492 if test -n "$PKG_CONFIG"; then
24493 _pkg_min_version
=0.9.0
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24495 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24496 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24498 $as_echo "yes" >&6; }
24500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24501 $as_echo "no" >&6; }
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24510 $as_echo_n "checking for DIRECTFB... " >&6; }
24512 if test -n "$PKG_CONFIG"; then
24513 if test -n "$DIRECTFB_CFLAGS"; then
24514 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24516 if test -n "$PKG_CONFIG" && \
24517 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24518 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24521 test $ac_status = 0; }; then
24522 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24530 if test -n "$PKG_CONFIG"; then
24531 if test -n "$DIRECTFB_LIBS"; then
24532 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24534 if test -n "$PKG_CONFIG" && \
24535 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24536 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24539 test $ac_status = 0; }; then
24540 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24551 if test $pkg_failed = yes; then
24553 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24554 _pkg_short_errors_supported
=yes
24556 _pkg_short_errors_supported
=no
24558 if test $_pkg_short_errors_supported = yes; then
24559 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24561 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24563 # Put the nasty error message in config.log where it belongs
24564 echo "$DIRECTFB_PKG_ERRORS" >&5
24567 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24570 elif test $pkg_failed = untried
; then
24572 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24576 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24577 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24579 $as_echo "yes" >&6; }
24581 wxUSE_UNIVERSAL
="yes"
24582 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24583 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24590 if test "$wxUSE_MICROWIN" = 1; then
24591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24592 $as_echo_n "checking for MicroWindows... " >&6; }
24593 if test "x$MICROWINDOWS" = x
; then
24594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24595 $as_echo "not found" >&6; }
24596 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24599 $as_echo "$MICROWINDOWS" >&6; }
24602 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24604 $as_echo "MicroWindows' libraries found." >&6; }
24606 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24609 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24610 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24612 wxUSE_UNIVERSAL
="yes"
24614 AFMINSTALL
=afminstall
24616 GUIDIST
=MICROWIN_DIST
24618 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24621 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24623 $as_echo_n "checking for X... " >&6; }
24626 # Check whether --with-x was given.
24627 if test "${with_x+set}" = set; then :
24631 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24632 if test "x$with_x" = xno
; then
24633 # The user explicitly disabled X.
24636 case $x_includes,$x_libraries in #(
24637 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
24638 *,NONE
| NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
24639 $as_echo_n "(cached) " >&6
24641 # One or both of the vars are not set, and there is no cached value.
24642 ac_x_includes
=no ac_x_libraries
=no
24643 rm -f -r conftest.dir
24644 if mkdir conftest.dir
; then
24646 cat >Imakefile
<<'_ACEOF'
24648 @echo incroot='${INCROOT}'
24650 @echo usrlibdir='${USRLIBDIR}'
24652 @echo libdir='${LIBDIR}'
24654 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24655 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24656 for ac_var
in incroot usrlibdir libdir
; do
24657 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24659 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24660 for ac_extension
in a so sl dylib la dll
; do
24661 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24662 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24663 ac_im_usrlibdir
=$ac_im_libdir; break
24666 # Screen out bogus values from the imake configuration. They are
24667 # bogus both because they are the default anyway, and because
24668 # using them would break gcc on systems where it needs fixed includes.
24669 case $ac_im_incroot in
24670 /usr
/include
) ac_x_includes
= ;;
24671 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24673 case $ac_im_usrlibdir in
24674 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24675 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24679 rm -f -r conftest.dir
24682 # Standard set of common directories for X headers.
24683 # Check X11 before X11Rn because it is often a symlink to the current release.
24697 /usr/local/X11/include
24698 /usr/local/X11R7/include
24699 /usr/local/X11R6/include
24700 /usr/local/X11R5/include
24701 /usr/local/X11R4/include
24703 /usr/local/include/X11
24704 /usr/local/include/X11R7
24705 /usr/local/include/X11R6
24706 /usr/local/include/X11R5
24707 /usr/local/include/X11R4
24711 /usr/XFree86/include/X11
24715 /usr/unsupported/include
24716 /usr/athena/include
24717 /usr/local/x11r5/include
24718 /usr/lpp/Xamples/include
24720 /usr/openwin/include
24721 /usr/openwin/share/include'
24723 if test "$ac_x_includes" = no
; then
24724 # Guess where to find include files, by looking for Xlib.h.
24725 # First, try using that file with no special directory specified.
24726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24727 /* end confdefs.h. */
24728 #include <X11/Xlib.h>
24730 if ac_fn_c_try_cpp
"$LINENO"; then :
24731 # We can compile using X headers with no special include directory.
24734 for ac_dir
in $ac_x_header_dirs; do
24735 if test -r "$ac_dir/X11/Xlib.h"; then
24736 ac_x_includes
=$ac_dir
24741 rm -f conftest.err conftest.i conftest.
$ac_ext
24742 fi # $ac_x_includes = no
24744 if test "$ac_x_libraries" = no
; then
24745 # Check for the libraries.
24746 # See if we find them without any special options.
24747 # Don't add to $LIBS permanently.
24750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24751 /* end confdefs.h. */
24752 #include <X11/Xlib.h>
24761 if ac_fn_c_try_link
"$LINENO"; then :
24763 # We can link X programs with no special library path.
24767 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24769 # Don't even attempt the hair of trying to link an X program!
24770 for ac_extension
in a so sl dylib la dll
; do
24771 if test -r "$ac_dir/libX11.$ac_extension"; then
24772 ac_x_libraries
=$ac_dir
24778 rm -f core conftest.err conftest.
$ac_objext \
24779 conftest
$ac_exeext conftest.
$ac_ext
24780 fi # $ac_x_libraries = no
24782 case $ac_x_includes,$ac_x_libraries in #(
24783 no
,* | *,no
| *\'*)
24784 # Didn't find X, or a directory has "'" in its name.
24785 ac_cv_have_x
="have_x=no";; #(
24787 # Record where we found X for the cache.
24788 ac_cv_have_x
="have_x=yes\
24789 ac_x_includes='$ac_x_includes'\
24790 ac_x_libraries='$ac_x_libraries'"
24796 eval "$ac_cv_have_x"
24799 if test "$have_x" != yes; then
24800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24801 $as_echo "$have_x" >&6; }
24804 # If each of the values was on the command line, it overrides each guess.
24805 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24806 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24807 # Update the cache value to reflect the command line values.
24808 ac_cv_have_x
="have_x=yes\
24809 ac_x_includes='$x_includes'\
24810 ac_x_libraries='$x_libraries'"
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24812 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24815 if test "$no_x" = yes; then
24816 # Not all programs may use this symbol, but it does not hurt to define it.
24818 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24820 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24822 if test -n "$x_includes"; then
24823 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24826 # It would also be nice to do this for all -L options, not just this one.
24827 if test -n "$x_libraries"; then
24828 X_LIBS
="$X_LIBS -L$x_libraries"
24829 # For Solaris; some versions of Sun CC require a space after -R and
24830 # others require no space. Words are not sufficient . . . .
24831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24832 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24833 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24834 ac_xsave_c_werror_flag
=$ac_c_werror_flag
24835 ac_c_werror_flag
=yes
24836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24837 /* end confdefs.h. */
24847 if ac_fn_c_try_link
"$LINENO"; then :
24848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24849 $as_echo "no" >&6; }
24850 X_LIBS
="$X_LIBS -R$x_libraries"
24852 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24854 /* end confdefs.h. */
24864 if ac_fn_c_try_link
"$LINENO"; then :
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24866 $as_echo "yes" >&6; }
24867 X_LIBS
="$X_LIBS -R $x_libraries"
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24870 $as_echo "neither works" >&6; }
24872 rm -f core conftest.err conftest.
$ac_objext \
24873 conftest
$ac_exeext conftest.
$ac_ext
24875 rm -f core conftest.err conftest.
$ac_objext \
24876 conftest
$ac_exeext conftest.
$ac_ext
24877 ac_c_werror_flag
=$ac_xsave_c_werror_flag
24878 LIBS
=$ac_xsave_LIBS
24881 # Check for system-dependent libraries X programs must link with.
24882 # Do this before checking for the system-independent R6 libraries
24883 # (-lICE), since we may need -lsocket or whatever for X linking.
24885 if test "$ISC" = yes; then
24886 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24888 # Martyn Johnson says this is needed for Ultrix, if the X
24889 # libraries were built with DECnet support. And Karl Berry says
24890 # the Alpha needs dnet_stub (dnet does not exist).
24891 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24893 /* end confdefs.h. */
24895 /* Override any GCC internal prototype to avoid an error.
24896 Use char because int might match the return type of a GCC
24897 builtin and then its argument prototype would still apply. */
24901 char XOpenDisplay ();
24905 return XOpenDisplay ();
24910 if ac_fn_c_try_link
"$LINENO"; then :
24913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24914 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24915 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
24916 $as_echo_n "(cached) " >&6
24918 ac_check_lib_save_LIBS
=$LIBS
24919 LIBS
="-ldnet $LIBS"
24920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24921 /* end confdefs.h. */
24923 /* Override any GCC internal prototype to avoid an error.
24924 Use char because int might match the return type of a GCC
24925 builtin and then its argument prototype would still apply. */
24933 return dnet_ntoa ();
24938 if ac_fn_c_try_link
"$LINENO"; then :
24939 ac_cv_lib_dnet_dnet_ntoa
=yes
24941 ac_cv_lib_dnet_dnet_ntoa
=no
24943 rm -f core conftest.err conftest.
$ac_objext \
24944 conftest
$ac_exeext conftest.
$ac_ext
24945 LIBS
=$ac_check_lib_save_LIBS
24947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24948 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24949 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
24950 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24953 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24955 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24956 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
24957 $as_echo_n "(cached) " >&6
24959 ac_check_lib_save_LIBS
=$LIBS
24960 LIBS
="-ldnet_stub $LIBS"
24961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24962 /* end confdefs.h. */
24964 /* Override any GCC internal prototype to avoid an error.
24965 Use char because int might match the return type of a GCC
24966 builtin and then its argument prototype would still apply. */
24974 return dnet_ntoa ();
24979 if ac_fn_c_try_link
"$LINENO"; then :
24980 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24982 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24984 rm -f core conftest.err conftest.
$ac_objext \
24985 conftest
$ac_exeext conftest.
$ac_ext
24986 LIBS
=$ac_check_lib_save_LIBS
24988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24989 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24990 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
24991 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24996 rm -f core conftest.err conftest.
$ac_objext \
24997 conftest
$ac_exeext conftest.
$ac_ext
24998 LIBS
="$ac_xsave_LIBS"
25000 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25001 # to get the SysV transport functions.
25002 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25004 # The nsl library prevents programs from opening the X display
25005 # on Irix 5.2, according to T.E. Dickey.
25006 # The functions gethostbyname, getservbyname, and inet_addr are
25007 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25008 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25009 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
25013 if test $ac_cv_func_gethostbyname = no
; then
25014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25015 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25016 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
25017 $as_echo_n "(cached) " >&6
25019 ac_check_lib_save_LIBS
=$LIBS
25021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25022 /* end confdefs.h. */
25024 /* Override any GCC internal prototype to avoid an error.
25025 Use char because int might match the return type of a GCC
25026 builtin and then its argument prototype would still apply. */
25030 char gethostbyname ();
25034 return gethostbyname ();
25039 if ac_fn_c_try_link
"$LINENO"; then :
25040 ac_cv_lib_nsl_gethostbyname
=yes
25042 ac_cv_lib_nsl_gethostbyname
=no
25044 rm -f core conftest.err conftest.
$ac_objext \
25045 conftest
$ac_exeext conftest.
$ac_ext
25046 LIBS
=$ac_check_lib_save_LIBS
25048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25049 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25050 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
25051 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25054 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25056 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25057 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
25058 $as_echo_n "(cached) " >&6
25060 ac_check_lib_save_LIBS
=$LIBS
25062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25063 /* end confdefs.h. */
25065 /* Override any GCC internal prototype to avoid an error.
25066 Use char because int might match the return type of a GCC
25067 builtin and then its argument prototype would still apply. */
25071 char gethostbyname ();
25075 return gethostbyname ();
25080 if ac_fn_c_try_link
"$LINENO"; then :
25081 ac_cv_lib_bsd_gethostbyname
=yes
25083 ac_cv_lib_bsd_gethostbyname
=no
25085 rm -f core conftest.err conftest.
$ac_objext \
25086 conftest
$ac_exeext conftest.
$ac_ext
25087 LIBS
=$ac_check_lib_save_LIBS
25089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25090 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25091 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
25092 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25098 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25099 # socket/setsockopt and other routines are undefined under SCO ODT
25100 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25101 # on later versions), says Simon Leinen: it contains gethostby*
25102 # variants that don't use the name server (or something). -lsocket
25103 # must be given before -lnsl if both are needed. We assume that
25104 # if connect needs -lnsl, so does gethostbyname.
25105 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25106 if test "x$ac_cv_func_connect" = x
""yes; then :
25110 if test $ac_cv_func_connect = no
; then
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25112 $as_echo_n "checking for connect in -lsocket... " >&6; }
25113 if test "${ac_cv_lib_socket_connect+set}" = set; then :
25114 $as_echo_n "(cached) " >&6
25116 ac_check_lib_save_LIBS
=$LIBS
25117 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25119 /* end confdefs.h. */
25121 /* Override any GCC internal prototype to avoid an error.
25122 Use char because int might match the return type of a GCC
25123 builtin and then its argument prototype would still apply. */
25136 if ac_fn_c_try_link
"$LINENO"; then :
25137 ac_cv_lib_socket_connect
=yes
25139 ac_cv_lib_socket_connect
=no
25141 rm -f core conftest.err conftest.
$ac_objext \
25142 conftest
$ac_exeext conftest.
$ac_ext
25143 LIBS
=$ac_check_lib_save_LIBS
25145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25146 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25147 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
25148 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25153 # Guillermo Gomez says -lposix is necessary on A/UX.
25154 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25155 if test "x$ac_cv_func_remove" = x
""yes; then :
25159 if test $ac_cv_func_remove = no
; then
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25161 $as_echo_n "checking for remove in -lposix... " >&6; }
25162 if test "${ac_cv_lib_posix_remove+set}" = set; then :
25163 $as_echo_n "(cached) " >&6
25165 ac_check_lib_save_LIBS
=$LIBS
25166 LIBS
="-lposix $LIBS"
25167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25168 /* end confdefs.h. */
25170 /* Override any GCC internal prototype to avoid an error.
25171 Use char because int might match the return type of a GCC
25172 builtin and then its argument prototype would still apply. */
25185 if ac_fn_c_try_link
"$LINENO"; then :
25186 ac_cv_lib_posix_remove
=yes
25188 ac_cv_lib_posix_remove
=no
25190 rm -f core conftest.err conftest.
$ac_objext \
25191 conftest
$ac_exeext conftest.
$ac_ext
25192 LIBS
=$ac_check_lib_save_LIBS
25194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25195 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25196 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
25197 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25202 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25203 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25204 if test "x$ac_cv_func_shmat" = x
""yes; then :
25208 if test $ac_cv_func_shmat = no
; then
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25210 $as_echo_n "checking for shmat in -lipc... " >&6; }
25211 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
25212 $as_echo_n "(cached) " >&6
25214 ac_check_lib_save_LIBS
=$LIBS
25216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25217 /* end confdefs.h. */
25219 /* Override any GCC internal prototype to avoid an error.
25220 Use char because int might match the return type of a GCC
25221 builtin and then its argument prototype would still apply. */
25234 if ac_fn_c_try_link
"$LINENO"; then :
25235 ac_cv_lib_ipc_shmat
=yes
25237 ac_cv_lib_ipc_shmat
=no
25239 rm -f core conftest.err conftest.
$ac_objext \
25240 conftest
$ac_exeext conftest.
$ac_ext
25241 LIBS
=$ac_check_lib_save_LIBS
25243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25244 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25245 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
25246 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25252 # Check for libraries that X11R6 Xt/Xaw programs need.
25253 ac_save_LDFLAGS
=$LDFLAGS
25254 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25255 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25256 # check for ICE first), but we must link in the order -lSM -lICE or
25257 # we get undefined symbols. So assume we have SM if we have ICE.
25258 # These have to be linked with before -lX11, unlike the other
25259 # libraries we check for below, so use a different variable.
25260 # John Interrante, Karl Berry
25261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25262 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25263 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
25264 $as_echo_n "(cached) " >&6
25266 ac_check_lib_save_LIBS
=$LIBS
25267 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25269 /* end confdefs.h. */
25271 /* Override any GCC internal prototype to avoid an error.
25272 Use char because int might match the return type of a GCC
25273 builtin and then its argument prototype would still apply. */
25277 char IceConnectionNumber ();
25281 return IceConnectionNumber ();
25286 if ac_fn_c_try_link
"$LINENO"; then :
25287 ac_cv_lib_ICE_IceConnectionNumber
=yes
25289 ac_cv_lib_ICE_IceConnectionNumber
=no
25291 rm -f core conftest.err conftest.
$ac_objext \
25292 conftest
$ac_exeext conftest.
$ac_ext
25293 LIBS
=$ac_check_lib_save_LIBS
25295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25296 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25297 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
25298 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25301 LDFLAGS
=$ac_save_LDFLAGS
25306 if test "$no_x" = "yes"; then
25307 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25310 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25311 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25312 AFMINSTALL
=afminstall
25313 COMPILED_X_PROGRAM
=0
25317 if test "$wxUSE_X11" = 1; then
25318 if test "$wxUSE_NANOX" = "yes"; then
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25320 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25321 if test "x$MICROWIN" = x
; then
25322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25323 $as_echo "not found" >&6; }
25324 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25327 $as_echo "$MICROWIN" >&6; }
25328 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25333 if test "$wxUSE_UNICODE" = "yes"; then
25336 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25337 if test -n "$ac_tool_prefix"; then
25338 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25339 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25341 $as_echo_n "checking for $ac_word... " >&6; }
25342 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
25343 $as_echo_n "(cached) " >&6
25345 case $PKG_CONFIG in
25347 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25351 for as_dir
in $PATH
25354 test -z "$as_dir" && as_dir
=.
25355 for ac_exec_ext
in '' $ac_executable_extensions; do
25356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25357 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25368 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25369 if test -n "$PKG_CONFIG"; then
25370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25371 $as_echo "$PKG_CONFIG" >&6; }
25373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25374 $as_echo "no" >&6; }
25379 if test -z "$ac_cv_path_PKG_CONFIG"; then
25380 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25381 # Extract the first word of "pkg-config", so it can be a program name with args.
25382 set dummy pkg
-config; ac_word
=$2
25383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25384 $as_echo_n "checking for $ac_word... " >&6; }
25385 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
25386 $as_echo_n "(cached) " >&6
25388 case $ac_pt_PKG_CONFIG in
25390 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25394 for as_dir
in $PATH
25397 test -z "$as_dir" && as_dir
=.
25398 for ac_exec_ext
in '' $ac_executable_extensions; do
25399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25400 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25411 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25412 if test -n "$ac_pt_PKG_CONFIG"; then
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25414 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25417 $as_echo "no" >&6; }
25420 if test "x$ac_pt_PKG_CONFIG" = x
; then
25423 case $cross_compiling:$ac_tool_warned in
25425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25427 ac_tool_warned
=yes ;;
25429 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25432 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25436 if test -n "$PKG_CONFIG"; then
25437 _pkg_min_version
=0.9.0
25438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25439 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25440 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25442 $as_echo "yes" >&6; }
25444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25445 $as_echo "no" >&6; }
25453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25454 $as_echo_n "checking for PANGOX... " >&6; }
25456 if test -n "$PKG_CONFIG"; then
25457 if test -n "$PANGOX_CFLAGS"; then
25458 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25460 if test -n "$PKG_CONFIG" && \
25461 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25462 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25465 test $ac_status = 0; }; then
25466 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25474 if test -n "$PKG_CONFIG"; then
25475 if test -n "$PANGOX_LIBS"; then
25476 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25478 if test -n "$PKG_CONFIG" && \
25479 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25480 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25483 test $ac_status = 0; }; then
25484 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25495 if test $pkg_failed = yes; then
25497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25498 _pkg_short_errors_supported
=yes
25500 _pkg_short_errors_supported
=no
25502 if test $_pkg_short_errors_supported = yes; then
25503 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25505 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25507 # Put the nasty error message in config.log where it belongs
25508 echo "$PANGOX_PKG_ERRORS" >&5
25511 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25514 elif test $pkg_failed = untried
; then
25516 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25520 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25521 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25523 $as_echo "yes" >&6; }
25525 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25526 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25527 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25533 $as_echo_n "checking for PANGOFT2... " >&6; }
25535 if test -n "$PKG_CONFIG"; then
25536 if test -n "$PANGOFT2_CFLAGS"; then
25537 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25539 if test -n "$PKG_CONFIG" && \
25540 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25541 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25544 test $ac_status = 0; }; then
25545 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25553 if test -n "$PKG_CONFIG"; then
25554 if test -n "$PANGOFT2_LIBS"; then
25555 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25557 if test -n "$PKG_CONFIG" && \
25558 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25559 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25562 test $ac_status = 0; }; then
25563 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25574 if test $pkg_failed = yes; then
25576 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25577 _pkg_short_errors_supported
=yes
25579 _pkg_short_errors_supported
=no
25581 if test $_pkg_short_errors_supported = yes; then
25582 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25584 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25586 # Put the nasty error message in config.log where it belongs
25587 echo "$PANGOFT2_PKG_ERRORS" >&5
25590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25591 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25592 wxUSE_PRINTING_ARCHITECTURE
="no"
25595 elif test $pkg_failed = untried
; then
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25598 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25599 wxUSE_PRINTING_ARCHITECTURE
="no"
25603 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25604 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25606 $as_echo "yes" >&6; }
25608 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25609 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25610 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25616 $as_echo_n "checking for PANGOXFT... " >&6; }
25618 if test -n "$PKG_CONFIG"; then
25619 if test -n "$PANGOXFT_CFLAGS"; then
25620 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25622 if test -n "$PKG_CONFIG" && \
25623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25624 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25627 test $ac_status = 0; }; then
25628 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25636 if test -n "$PKG_CONFIG"; then
25637 if test -n "$PANGOXFT_LIBS"; then
25638 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25640 if test -n "$PKG_CONFIG" && \
25641 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25642 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25645 test $ac_status = 0; }; then
25646 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25657 if test $pkg_failed = yes; then
25659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25660 _pkg_short_errors_supported
=yes
25662 _pkg_short_errors_supported
=no
25664 if test $_pkg_short_errors_supported = yes; then
25665 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25667 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25669 # Put the nasty error message in config.log where it belongs
25670 echo "$PANGOXFT_PKG_ERRORS" >&5
25673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25674 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25677 elif test $pkg_failed = untried
; then
25679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25680 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25684 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25685 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25687 $as_echo "yes" >&6; }
25689 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25691 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25692 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25693 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25697 LIBS
="$LIBS $PANGOX_LIBS"
25698 for ac_func
in pango_font_family_is_monospace
25700 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25701 if test "x$ac_cv_func_pango_font_family_is_monospace" = x
""yes; then :
25702 cat >>confdefs.h
<<_ACEOF
25703 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25712 wxUSE_UNIVERSAL
="yes"
25714 if test "$wxUSE_NANOX" = "yes"; then
25715 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25716 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"
25717 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25719 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25726 if test "$wxUSE_MOTIF" = 1; then
25727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25728 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25731 for ac_dir
in $SEARCH_INCLUDE /usr
/include
25733 if test -f "$ac_dir/Xm/Xm.h"; then
25734 ac_find_includes
=$ac_dir
25739 if test "$ac_find_includes" != "" ; then
25740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25741 $as_echo "found in $ac_find_includes" >&6; }
25743 if test "x$ac_find_includes" = "x/usr/include"; then
25744 ac_path_to_include
=""
25746 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25748 if test $result = 0; then
25749 ac_path_to_include
=""
25751 ac_path_to_include
=" -I$ac_find_includes"
25755 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25757 save_CFLAGS
=$CFLAGS
25758 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25761 /* end confdefs.h. */
25770 version = xmUseVersion;
25776 if ac_fn_c_try_compile
"$LINENO"; then :
25778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25779 $as_echo "found in default search path" >&6; }
25780 COMPILED_X_PROGRAM
=1
25784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25785 $as_echo "no" >&6; }
25786 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25792 CFLAGS
=$save_CFLAGS
25796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25797 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25800 for ac_dir
in $SEARCH_LIB
25802 for ac_extension
in a so sl dylib dll.a
; do
25803 if test -f "$ac_dir/libXm.$ac_extension"; then
25804 ac_find_libraries
=$ac_dir
25811 if test "x$ac_find_libraries" != "x" ; then
25812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25813 $as_echo "found in $ac_find_libraries" >&6; }
25816 if test "$ac_find_libraries" = "default location"; then
25819 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25821 if test $result = 0; then
25824 ac_path_to_link
=" -L$ac_find_libraries"
25828 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25830 save_CFLAGS
=$CFLAGS
25831 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25833 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25836 /* end confdefs.h. */
25845 version = xmUseVersion;
25851 if ac_fn_c_try_link
"$LINENO"; then :
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25854 $as_echo "found in default search path" >&6; }
25855 COMPILED_X_PROGRAM
=1
25859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25860 $as_echo "no" >&6; }
25861 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25865 rm -f core conftest.err conftest.
$ac_objext \
25866 conftest
$ac_exeext conftest.
$ac_ext
25868 CFLAGS
=$save_CFLAGS
25872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25873 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25877 for libp
in "" " -lXp"; do
25878 if test "$libs_found" = 0; then
25879 for libsm_ice
in "" " -lSM -lICE"; do
25880 if test "$libs_found" = 0; then
25882 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25883 save_CFLAGS
=$CFLAGS
25884 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25887 /* end confdefs.h. */
25890 #include <Xm/List.h>
25896 XmString string = NULL;
25899 XmListAddItem(w, string, position);
25905 if ac_fn_c_try_link
"$LINENO"; then :
25908 libsm_ice_link
="$libsm_ice"
25909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25910 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
25914 rm -f core conftest.err conftest.
$ac_objext \
25915 conftest
$ac_exeext conftest.
$ac_ext
25918 CFLAGS
=$save_CFLAGS
25924 if test "$libs_found" = 0; then
25925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
25926 $as_echo "can't find the right libraries" >&6; }
25927 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
25930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
25931 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
25932 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then :
25933 $as_echo_n "(cached) " >&6
25935 ac_check_lib_save_LIBS
=$LIBS
25937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25938 /* end confdefs.h. */
25940 /* Override any GCC internal prototype to avoid an error.
25941 Use char because int might match the return type of a GCC
25942 builtin and then its argument prototype would still apply. */
25946 char SgCreateList ();
25950 return SgCreateList ();
25955 if ac_fn_c_try_link
"$LINENO"; then :
25956 ac_cv_lib_Sgm_SgCreateList
=yes
25958 ac_cv_lib_Sgm_SgCreateList
=no
25960 rm -f core conftest.err conftest.
$ac_objext \
25961 conftest
$ac_exeext conftest.
$ac_ext
25962 LIBS
=$ac_check_lib_save_LIBS
25964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
25965 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
25966 if test "x$ac_cv_lib_Sgm_SgCreateList" = x
""yes; then :
25967 libsgm_link
=" -lSgm"
25971 save_CFLAGS
=$CFLAGS
25972 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
25975 $as_echo_n "checking for Motif 2... " >&6; }
25976 if test "${wx_cv_lib_motif2+set}" = set; then :
25977 $as_echo_n "(cached) " >&6
25979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25980 /* end confdefs.h. */
25988 #if XmVersion < 2000
25996 if ac_fn_c_try_compile
"$LINENO"; then :
25997 wx_cv_lib_motif2
="yes"
25999 wx_cv_lib_motif2
="no"
26001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26004 $as_echo "$wx_cv_lib_motif2" >&6; }
26005 if test "$wx_cv_lib_motif2" = "yes"; then
26006 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26009 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26014 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26015 if test "${wx_cv_lib_lesstif+set}" = set; then :
26016 $as_echo_n "(cached) " >&6
26018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26019 /* end confdefs.h. */
26027 #if !defined(LesstifVersion) || LesstifVersion <= 0
26035 if ac_fn_c_try_compile
"$LINENO"; then :
26036 wx_cv_lib_lesstif
="yes"
26038 wx_cv_lib_lesstif
="no"
26040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26044 $as_echo "$wx_cv_lib_lesstif" >&6; }
26045 if test "$wx_cv_lib_lesstif" = "yes"; then
26046 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26049 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26053 CFLAGS
=$save_CFLAGS
26055 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26060 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26061 if test "$wxUSE_LIBXPM" = "sys"; then
26062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26063 $as_echo_n "checking for Xpm library... " >&6; }
26066 for ac_dir
in $SEARCH_LIB
26068 for ac_extension
in a so sl dylib dll.a
; do
26069 if test -f "$ac_dir/libXpm.$ac_extension"; then
26070 ac_find_libraries
=$ac_dir
26076 if test "$ac_find_libraries" != "" ; then
26078 if test "$ac_find_libraries" = "default location"; then
26081 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26083 if test $result = 0; then
26086 ac_path_to_link
=" -L$ac_find_libraries"
26090 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26092 $as_echo "found in $ac_find_libraries" >&6; }
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26095 $as_echo_n "checking for X11/xpm.h... " >&6; }
26096 if test "${wx_cv_x11_xpm_h+set}" = set; then :
26097 $as_echo_n "(cached) " >&6
26100 save_CFLAGS
=$CFLAGS
26101 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26104 /* end confdefs.h. */
26106 #include <X11/xpm.h>
26113 version = XpmLibraryVersion();
26119 if ac_fn_c_try_compile
"$LINENO"; then :
26120 wx_cv_x11_xpm_h
=yes
26125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26127 CFLAGS
=$save_CFLAGS
26131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26132 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26134 if test $wx_cv_x11_xpm_h = "yes"; then
26135 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26136 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26140 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26147 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26148 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
26149 $as_echo_n "(cached) " >&6
26151 ac_check_lib_save_LIBS
=$LIBS
26152 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26154 /* end confdefs.h. */
26156 /* Override any GCC internal prototype to avoid an error.
26157 Use char because int might match the return type of a GCC
26158 builtin and then its argument prototype would still apply. */
26162 char XShapeQueryExtension ();
26166 return XShapeQueryExtension ();
26171 if ac_fn_c_try_link
"$LINENO"; then :
26172 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26174 ac_cv_lib_Xext_XShapeQueryExtension
=no
26176 rm -f core conftest.err conftest.
$ac_objext \
26177 conftest
$ac_exeext conftest.
$ac_ext
26178 LIBS
=$ac_check_lib_save_LIBS
26180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26181 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26182 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x
""yes; then :
26184 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26190 if test "$wxHAVE_XEXT_LIB" = 1; then
26191 save_CFLAGS
="$CFLAGS"
26192 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26195 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26197 /* end confdefs.h. */
26199 #include <X11/Xlib.h>
26200 #include <X11/extensions/shape.h>
26206 int dummy1, dummy2;
26207 XShapeQueryExtension((Display*)NULL,
26208 (int*)NULL, (int*)NULL);
26214 if ac_fn_c_try_compile
"$LINENO"; then :
26216 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26219 $as_echo "found" >&6; }
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26224 $as_echo "not found" >&6; }
26227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26228 CFLAGS
="$save_CFLAGS"
26233 if test "$wxUSE_OSX_CARBON" = 1; then
26234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26235 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26236 if test "$GCC" = yes; then
26237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26238 $as_echo "gcc" >&6; }
26239 CPPFLAGS_PASCAL
="-fpascal-strings"
26240 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26242 $as_echo "xlc" >&6; }
26243 CPPFLAGS_PASCAL
="-qmacpstr"
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26246 $as_echo "none" >&6; }
26249 if test "x$wxUSE_UNIX" = "xyes"; then
26250 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26252 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26256 GUIDIST
=OSX_CARBON_DIST
26257 WXBASEPORT
="_carbon"
26259 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26262 if test "$wxUSE_OSX_COCOA" = 1; then
26264 GUIDIST
=OSX_COCOA_DIST
26266 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26269 if test "$wxUSE_OSX_IPHONE" = 1; then
26273 if test "$wxUSE_OLD_COCOA" = 1; then
26278 if test "$wxUSE_PM" = 1; then
26281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26282 $as_echo_n "checking for type SPBCDATA... " >&6; }
26283 if test "${wx_cv_spbcdata+set}" = set; then :
26284 $as_echo_n "(cached) " >&6
26287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26288 /* end confdefs.h. */
26303 if ac_fn_c_try_compile
"$LINENO"; then :
26309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26314 $as_echo "$wx_cv_spbcdata" >&6; }
26316 if test $wx_cv_spbcdata = "yes"; then
26317 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26322 if test "$TOOLKIT" = "PM" ; then
26325 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26328 if test "$wxUSE_UNIVERSAL" = "yes"; then
26329 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26333 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26334 DISTDIR
="wx\$(TOOLKIT)"
26340 if test "$USE_WIN32" = 1 ; then
26344 GUIDIST
="BASE_DIST"
26350 if test "$wxUSE_GUI" = "yes"; then
26351 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26352 for ac_header
in X
11/Xlib.h
26354 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26356 if test "x$ac_cv_header_X11_Xlib_h" = x
""yes; then :
26357 cat >>confdefs.h
<<_ACEOF
26358 #define HAVE_X11_XLIB_H 1
26365 for ac_header
in X
11/XKBlib.h
26367 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26368 #if HAVE_X11_XLIB_H
26369 #include <X11/Xlib.h>
26373 if test "x$ac_cv_header_X11_XKBlib_h" = x
""yes; then :
26374 cat >>confdefs.h
<<_ACEOF
26375 #define HAVE_X11_XKBLIB_H 1
26388 if test "$wxUSE_DISPLAY" = "yes"; then
26389 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26393 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26396 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26397 if test -n "$ac_tool_prefix"; then
26398 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26399 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26401 $as_echo_n "checking for $ac_word... " >&6; }
26402 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26403 $as_echo_n "(cached) " >&6
26405 case $PKG_CONFIG in
26407 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26411 for as_dir
in $PATH
26414 test -z "$as_dir" && as_dir
=.
26415 for ac_exec_ext
in '' $ac_executable_extensions; do
26416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26417 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26428 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26429 if test -n "$PKG_CONFIG"; then
26430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26431 $as_echo "$PKG_CONFIG" >&6; }
26433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26434 $as_echo "no" >&6; }
26439 if test -z "$ac_cv_path_PKG_CONFIG"; then
26440 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26441 # Extract the first word of "pkg-config", so it can be a program name with args.
26442 set dummy pkg
-config; ac_word
=$2
26443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26444 $as_echo_n "checking for $ac_word... " >&6; }
26445 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26446 $as_echo_n "(cached) " >&6
26448 case $ac_pt_PKG_CONFIG in
26450 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26454 for as_dir
in $PATH
26457 test -z "$as_dir" && as_dir
=.
26458 for ac_exec_ext
in '' $ac_executable_extensions; do
26459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26460 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26471 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26472 if test -n "$ac_pt_PKG_CONFIG"; then
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26474 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26477 $as_echo "no" >&6; }
26480 if test "x$ac_pt_PKG_CONFIG" = x
; then
26483 case $cross_compiling:$ac_tool_warned in
26485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26487 ac_tool_warned
=yes ;;
26489 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26492 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26496 if test -n "$PKG_CONFIG"; then
26497 _pkg_min_version
=0.9.0
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26499 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26500 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26502 $as_echo "yes" >&6; }
26504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26505 $as_echo "no" >&6; }
26512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26513 $as_echo_n "checking for Xinerama... " >&6; }
26515 if test -n "$PKG_CONFIG"; then
26516 if test -n "$Xinerama_CFLAGS"; then
26517 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26519 if test -n "$PKG_CONFIG" && \
26520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26521 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26524 test $ac_status = 0; }; then
26525 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26533 if test -n "$PKG_CONFIG"; then
26534 if test -n "$Xinerama_LIBS"; then
26535 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26537 if test -n "$PKG_CONFIG" && \
26538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26539 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26542 test $ac_status = 0; }; then
26543 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26554 if test $pkg_failed = yes; then
26556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26557 _pkg_short_errors_supported
=yes
26559 _pkg_short_errors_supported
=no
26561 if test $_pkg_short_errors_supported = yes; then
26562 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26564 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26566 # Put the nasty error message in config.log where it belongs
26567 echo "$Xinerama_PKG_ERRORS" >&5
26570 if test "x$ac_find_libraries" = "x"; then
26571 if test "xXineramaQueryScreens" != "x"; then
26572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26573 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26574 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26575 $as_echo_n "(cached) " >&6
26577 ac_check_lib_save_LIBS
=$LIBS
26578 LIBS
="-lXinerama $LIBS"
26579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26580 /* end confdefs.h. */
26582 /* Override any GCC internal prototype to avoid an error.
26583 Use char because int might match the return type of a GCC
26584 builtin and then its argument prototype would still apply. */
26588 char XineramaQueryScreens ();
26592 return XineramaQueryScreens ();
26597 if ac_fn_c_try_link
"$LINENO"; then :
26598 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26600 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26602 rm -f core conftest.err conftest.
$ac_objext \
26603 conftest
$ac_exeext conftest.
$ac_ext
26604 LIBS
=$ac_check_lib_save_LIBS
26606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26607 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26608 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x
""yes; then :
26609 ac_find_libraries
="std"
26615 if test "x$ac_find_libraries" = "x"; then
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26617 $as_echo_n "checking elsewhere... " >&6; }
26620 for ac_dir
in $SEARCH_LIB
26622 for ac_extension
in a so sl dylib dll.a
; do
26623 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26624 ac_find_libraries
=$ac_dir
26630 if test "x$ac_find_libraries" != "x"; then
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26632 $as_echo "yes" >&6; }
26634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26635 $as_echo "no" >&6; }
26639 elif test $pkg_failed = untried
; then
26641 if test "x$ac_find_libraries" = "x"; then
26642 if test "xXineramaQueryScreens" != "x"; then
26643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26644 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26645 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26646 $as_echo_n "(cached) " >&6
26648 ac_check_lib_save_LIBS
=$LIBS
26649 LIBS
="-lXinerama $LIBS"
26650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26651 /* end confdefs.h. */
26653 /* Override any GCC internal prototype to avoid an error.
26654 Use char because int might match the return type of a GCC
26655 builtin and then its argument prototype would still apply. */
26659 char XineramaQueryScreens ();
26663 return XineramaQueryScreens ();
26668 if ac_fn_c_try_link
"$LINENO"; then :
26669 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26671 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26673 rm -f core conftest.err conftest.
$ac_objext \
26674 conftest
$ac_exeext conftest.
$ac_ext
26675 LIBS
=$ac_check_lib_save_LIBS
26677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26678 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26679 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x
""yes; then :
26680 ac_find_libraries
="std"
26686 if test "x$ac_find_libraries" = "x"; then
26687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26688 $as_echo_n "checking elsewhere... " >&6; }
26691 for ac_dir
in $SEARCH_LIB
26693 for ac_extension
in a so sl dylib dll.a
; do
26694 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26695 ac_find_libraries
=$ac_dir
26701 if test "x$ac_find_libraries" != "x"; then
26702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26703 $as_echo "yes" >&6; }
26705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26706 $as_echo "no" >&6; }
26711 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
26712 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
26713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26714 $as_echo "yes" >&6; }
26716 ac_find_libraries
="std"
26718 eval ac_find_cflags
=\
$Xinerama_CFLAGS
26719 eval fl_libs
=\
$Xinerama_LIBS
26721 for fl_path
in $fl_libs
26723 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26724 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
26730 if test "$ac_find_libraries" != "" ; then
26731 if test "$ac_find_libraries" != "std" ; then
26733 if test "$ac_find_libraries" = "default location"; then
26736 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26738 if test $result = 0; then
26741 ac_path_to_link
=" -L$ac_find_libraries"
26745 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26746 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26750 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26753 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26756 elif test "$wxUSE_MSW" = 1; then
26757 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26759 if test "x$ac_cv_header_ddraw_h" = x
""yes; then :
26767 if test "$wxUSE_DISPLAY" = "yes"; then
26768 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26772 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26775 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26776 if test -n "$ac_tool_prefix"; then
26777 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26778 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26780 $as_echo_n "checking for $ac_word... " >&6; }
26781 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26782 $as_echo_n "(cached) " >&6
26784 case $PKG_CONFIG in
26786 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26790 for as_dir
in $PATH
26793 test -z "$as_dir" && as_dir
=.
26794 for ac_exec_ext
in '' $ac_executable_extensions; do
26795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26796 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26807 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26808 if test -n "$PKG_CONFIG"; then
26809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26810 $as_echo "$PKG_CONFIG" >&6; }
26812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26813 $as_echo "no" >&6; }
26818 if test -z "$ac_cv_path_PKG_CONFIG"; then
26819 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26820 # Extract the first word of "pkg-config", so it can be a program name with args.
26821 set dummy pkg
-config; ac_word
=$2
26822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26823 $as_echo_n "checking for $ac_word... " >&6; }
26824 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26825 $as_echo_n "(cached) " >&6
26827 case $ac_pt_PKG_CONFIG in
26829 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26833 for as_dir
in $PATH
26836 test -z "$as_dir" && as_dir
=.
26837 for ac_exec_ext
in '' $ac_executable_extensions; do
26838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26839 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26850 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26851 if test -n "$ac_pt_PKG_CONFIG"; then
26852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26853 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26856 $as_echo "no" >&6; }
26859 if test "x$ac_pt_PKG_CONFIG" = x
; then
26862 case $cross_compiling:$ac_tool_warned in
26864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26866 ac_tool_warned
=yes ;;
26868 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26871 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26875 if test -n "$PKG_CONFIG"; then
26876 _pkg_min_version
=0.9.0
26877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26878 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26879 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26881 $as_echo "yes" >&6; }
26883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26884 $as_echo "no" >&6; }
26891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26892 $as_echo_n "checking for Xxf86vm... " >&6; }
26894 if test -n "$PKG_CONFIG"; then
26895 if test -n "$Xxf86vm_CFLAGS"; then
26896 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
26898 if test -n "$PKG_CONFIG" && \
26899 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26900 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26903 test $ac_status = 0; }; then
26904 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26912 if test -n "$PKG_CONFIG"; then
26913 if test -n "$Xxf86vm_LIBS"; then
26914 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
26916 if test -n "$PKG_CONFIG" && \
26917 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26918 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26921 test $ac_status = 0; }; then
26922 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26933 if test $pkg_failed = yes; then
26935 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26936 _pkg_short_errors_supported
=yes
26938 _pkg_short_errors_supported
=no
26940 if test $_pkg_short_errors_supported = yes; then
26941 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26943 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26945 # Put the nasty error message in config.log where it belongs
26946 echo "$Xxf86vm_PKG_ERRORS" >&5
26949 if test "x$ac_find_libraries" = "x"; then
26950 if test "xXF86VidModeQueryExtension" != "x"; then
26951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26952 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26953 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
26954 $as_echo_n "(cached) " >&6
26956 ac_check_lib_save_LIBS
=$LIBS
26957 LIBS
="-lXxf86vm $LIBS"
26958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26959 /* end confdefs.h. */
26961 /* Override any GCC internal prototype to avoid an error.
26962 Use char because int might match the return type of a GCC
26963 builtin and then its argument prototype would still apply. */
26967 char XF86VidModeQueryExtension ();
26971 return XF86VidModeQueryExtension ();
26976 if ac_fn_c_try_link
"$LINENO"; then :
26977 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
26979 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
26981 rm -f core conftest.err conftest.
$ac_objext \
26982 conftest
$ac_exeext conftest.
$ac_ext
26983 LIBS
=$ac_check_lib_save_LIBS
26985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
26986 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
26987 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
26988 ac_find_libraries
="std"
26994 if test "x$ac_find_libraries" = "x"; then
26995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26996 $as_echo_n "checking elsewhere... " >&6; }
26999 for ac_dir
in $SEARCH_LIB
27001 for ac_extension
in a so sl dylib dll.a
; do
27002 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27003 ac_find_libraries
=$ac_dir
27009 if test "x$ac_find_libraries" != "x"; then
27010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27011 $as_echo "yes" >&6; }
27013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27014 $as_echo "no" >&6; }
27018 elif test $pkg_failed = untried
; then
27020 if test "x$ac_find_libraries" = "x"; then
27021 if test "xXF86VidModeQueryExtension" != "x"; then
27022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27023 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27024 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
27025 $as_echo_n "(cached) " >&6
27027 ac_check_lib_save_LIBS
=$LIBS
27028 LIBS
="-lXxf86vm $LIBS"
27029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27030 /* end confdefs.h. */
27032 /* Override any GCC internal prototype to avoid an error.
27033 Use char because int might match the return type of a GCC
27034 builtin and then its argument prototype would still apply. */
27038 char XF86VidModeQueryExtension ();
27042 return XF86VidModeQueryExtension ();
27047 if ac_fn_c_try_link
"$LINENO"; then :
27048 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27050 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27052 rm -f core conftest.err conftest.
$ac_objext \
27053 conftest
$ac_exeext conftest.
$ac_ext
27054 LIBS
=$ac_check_lib_save_LIBS
27056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27057 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27058 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
27059 ac_find_libraries
="std"
27065 if test "x$ac_find_libraries" = "x"; then
27066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27067 $as_echo_n "checking elsewhere... " >&6; }
27070 for ac_dir
in $SEARCH_LIB
27072 for ac_extension
in a so sl dylib dll.a
; do
27073 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27074 ac_find_libraries
=$ac_dir
27080 if test "x$ac_find_libraries" != "x"; then
27081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27082 $as_echo "yes" >&6; }
27084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27085 $as_echo "no" >&6; }
27090 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27091 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27093 $as_echo "yes" >&6; }
27095 ac_find_libraries
="std"
27097 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27098 eval fl_libs
=\
$Xxf86vm_LIBS
27100 for fl_path
in $fl_libs
27102 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27103 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27109 if test "$ac_find_libraries" != "" ; then
27110 for ac_header
in X
11/extensions
/xf86vmode.h
27112 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27113 #if HAVE_X11_XLIB_H
27114 #include <X11/Xlib.h>
27118 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = x
""yes; then :
27119 cat >>confdefs.h
<<_ACEOF
27120 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27123 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27133 if test "$wxUSE_DETECT_SM" = "yes"; then
27134 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27138 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27141 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27142 if test -n "$ac_tool_prefix"; then
27143 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27144 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27146 $as_echo_n "checking for $ac_word... " >&6; }
27147 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27148 $as_echo_n "(cached) " >&6
27150 case $PKG_CONFIG in
27152 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27156 for as_dir
in $PATH
27159 test -z "$as_dir" && as_dir
=.
27160 for ac_exec_ext
in '' $ac_executable_extensions; do
27161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27162 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27173 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27174 if test -n "$PKG_CONFIG"; then
27175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27176 $as_echo "$PKG_CONFIG" >&6; }
27178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27179 $as_echo "no" >&6; }
27184 if test -z "$ac_cv_path_PKG_CONFIG"; then
27185 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27186 # Extract the first word of "pkg-config", so it can be a program name with args.
27187 set dummy pkg
-config; ac_word
=$2
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27189 $as_echo_n "checking for $ac_word... " >&6; }
27190 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27191 $as_echo_n "(cached) " >&6
27193 case $ac_pt_PKG_CONFIG in
27195 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27199 for as_dir
in $PATH
27202 test -z "$as_dir" && as_dir
=.
27203 for ac_exec_ext
in '' $ac_executable_extensions; do
27204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27205 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27216 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27217 if test -n "$ac_pt_PKG_CONFIG"; then
27218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27219 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27222 $as_echo "no" >&6; }
27225 if test "x$ac_pt_PKG_CONFIG" = x
; then
27228 case $cross_compiling:$ac_tool_warned in
27230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27232 ac_tool_warned
=yes ;;
27234 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27237 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27241 if test -n "$PKG_CONFIG"; then
27242 _pkg_min_version
=0.9.0
27243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27244 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27245 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27247 $as_echo "yes" >&6; }
27249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27250 $as_echo "no" >&6; }
27257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27258 $as_echo_n "checking for SM... " >&6; }
27260 if test -n "$PKG_CONFIG"; then
27261 if test -n "$SM_CFLAGS"; then
27262 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27264 if test -n "$PKG_CONFIG" && \
27265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27266 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27269 test $ac_status = 0; }; then
27270 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27278 if test -n "$PKG_CONFIG"; then
27279 if test -n "$SM_LIBS"; then
27280 pkg_cv_SM_LIBS
="$SM_LIBS"
27282 if test -n "$PKG_CONFIG" && \
27283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27284 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27287 test $ac_status = 0; }; then
27288 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27299 if test $pkg_failed = yes; then
27301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27302 _pkg_short_errors_supported
=yes
27304 _pkg_short_errors_supported
=no
27306 if test $_pkg_short_errors_supported = yes; then
27307 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27309 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27311 # Put the nasty error message in config.log where it belongs
27312 echo "$SM_PKG_ERRORS" >&5
27315 if test "x$ac_find_libraries" = "x"; then
27316 if test "xSmcOpenConnection" != "x"; then
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27318 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27319 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27320 $as_echo_n "(cached) " >&6
27322 ac_check_lib_save_LIBS
=$LIBS
27324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27325 /* end confdefs.h. */
27327 /* Override any GCC internal prototype to avoid an error.
27328 Use char because int might match the return type of a GCC
27329 builtin and then its argument prototype would still apply. */
27333 char SmcOpenConnection ();
27337 return SmcOpenConnection ();
27342 if ac_fn_c_try_link
"$LINENO"; then :
27343 ac_cv_lib_SM_SmcOpenConnection
=yes
27345 ac_cv_lib_SM_SmcOpenConnection
=no
27347 rm -f core conftest.err conftest.
$ac_objext \
27348 conftest
$ac_exeext conftest.
$ac_ext
27349 LIBS
=$ac_check_lib_save_LIBS
27351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27352 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27353 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x
""yes; then :
27354 ac_find_libraries
="std"
27360 if test "x$ac_find_libraries" = "x"; then
27361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27362 $as_echo_n "checking elsewhere... " >&6; }
27365 for ac_dir
in $SEARCH_LIB
27367 for ac_extension
in a so sl dylib dll.a
; do
27368 if test -f "$ac_dir/libSM.$ac_extension"; then
27369 ac_find_libraries
=$ac_dir
27375 if test "x$ac_find_libraries" != "x"; then
27376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27377 $as_echo "yes" >&6; }
27379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27380 $as_echo "no" >&6; }
27384 elif test $pkg_failed = untried
; then
27386 if test "x$ac_find_libraries" = "x"; then
27387 if test "xSmcOpenConnection" != "x"; then
27388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27389 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27390 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27391 $as_echo_n "(cached) " >&6
27393 ac_check_lib_save_LIBS
=$LIBS
27395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27396 /* end confdefs.h. */
27398 /* Override any GCC internal prototype to avoid an error.
27399 Use char because int might match the return type of a GCC
27400 builtin and then its argument prototype would still apply. */
27404 char SmcOpenConnection ();
27408 return SmcOpenConnection ();
27413 if ac_fn_c_try_link
"$LINENO"; then :
27414 ac_cv_lib_SM_SmcOpenConnection
=yes
27416 ac_cv_lib_SM_SmcOpenConnection
=no
27418 rm -f core conftest.err conftest.
$ac_objext \
27419 conftest
$ac_exeext conftest.
$ac_ext
27420 LIBS
=$ac_check_lib_save_LIBS
27422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27423 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27424 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x
""yes; then :
27425 ac_find_libraries
="std"
27431 if test "x$ac_find_libraries" = "x"; then
27432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27433 $as_echo_n "checking elsewhere... " >&6; }
27436 for ac_dir
in $SEARCH_LIB
27438 for ac_extension
in a so sl dylib dll.a
; do
27439 if test -f "$ac_dir/libSM.$ac_extension"; then
27440 ac_find_libraries
=$ac_dir
27446 if test "x$ac_find_libraries" != "x"; then
27447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27448 $as_echo "yes" >&6; }
27450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27451 $as_echo "no" >&6; }
27456 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27457 SM_LIBS
=$pkg_cv_SM_LIBS
27458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27459 $as_echo "yes" >&6; }
27461 ac_find_libraries
="std"
27463 eval ac_find_cflags
=\
$SM_CFLAGS
27464 eval fl_libs
=\
$SM_LIBS
27466 for fl_path
in $fl_libs
27468 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27469 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27475 if test "$ac_find_libraries" != "" ; then
27476 if test "$ac_find_libraries" != "std" ; then
27478 if test "$ac_find_libraries" = "default location"; then
27481 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27483 if test $result = 0; then
27486 ac_path_to_link
=" -L$ac_find_libraries"
27490 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27491 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27494 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27497 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27498 wxUSE_DETECT_SM
="no"
27501 wxUSE_DETECT_SM
="no"
27508 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27511 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27512 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27513 elif test "$wxUSE_MSW" = 1; then
27514 OPENGL_LIBS
="-lopengl32 -lglu32"
27515 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27518 $as_echo_n "checking for OpenGL headers... " >&6; }
27521 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27523 if test -f "$ac_dir/GL/gl.h"; then
27524 ac_find_includes
=$ac_dir
27529 if test "$ac_find_includes" != "" ; then
27530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27531 $as_echo "found in $ac_find_includes" >&6; }
27533 if test "x$ac_find_includes" = "x/usr/include"; then
27534 ac_path_to_include
=""
27536 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27538 if test $result = 0; then
27539 ac_path_to_include
=""
27541 ac_path_to_include
=" -I$ac_find_includes"
27545 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27548 $as_echo "not found" >&6; }
27551 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27553 if test "x$ac_cv_header_GL_gl_h" = x
""yes; then :
27555 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27557 if test "x$ac_cv_header_GL_glu_h" = x
""yes; then :
27564 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27567 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27568 if test -n "$ac_tool_prefix"; then
27569 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27570 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27572 $as_echo_n "checking for $ac_word... " >&6; }
27573 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27574 $as_echo_n "(cached) " >&6
27576 case $PKG_CONFIG in
27578 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27582 for as_dir
in $PATH
27585 test -z "$as_dir" && as_dir
=.
27586 for ac_exec_ext
in '' $ac_executable_extensions; do
27587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27588 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27599 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27600 if test -n "$PKG_CONFIG"; then
27601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27602 $as_echo "$PKG_CONFIG" >&6; }
27604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27605 $as_echo "no" >&6; }
27610 if test -z "$ac_cv_path_PKG_CONFIG"; then
27611 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27612 # Extract the first word of "pkg-config", so it can be a program name with args.
27613 set dummy pkg
-config; ac_word
=$2
27614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27615 $as_echo_n "checking for $ac_word... " >&6; }
27616 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27617 $as_echo_n "(cached) " >&6
27619 case $ac_pt_PKG_CONFIG in
27621 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27625 for as_dir
in $PATH
27628 test -z "$as_dir" && as_dir
=.
27629 for ac_exec_ext
in '' $ac_executable_extensions; do
27630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27631 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27642 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27643 if test -n "$ac_pt_PKG_CONFIG"; then
27644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27645 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27648 $as_echo "no" >&6; }
27651 if test "x$ac_pt_PKG_CONFIG" = x
; then
27654 case $cross_compiling:$ac_tool_warned in
27656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27658 ac_tool_warned
=yes ;;
27660 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27663 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27667 if test -n "$PKG_CONFIG"; then
27668 _pkg_min_version
=0.9.0
27669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27670 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27671 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27673 $as_echo "yes" >&6; }
27675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27676 $as_echo "no" >&6; }
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27684 $as_echo_n "checking for GL... " >&6; }
27686 if test -n "$PKG_CONFIG"; then
27687 if test -n "$GL_CFLAGS"; then
27688 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27690 if test -n "$PKG_CONFIG" && \
27691 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27692 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27695 test $ac_status = 0; }; then
27696 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27704 if test -n "$PKG_CONFIG"; then
27705 if test -n "$GL_LIBS"; then
27706 pkg_cv_GL_LIBS
="$GL_LIBS"
27708 if test -n "$PKG_CONFIG" && \
27709 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27710 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27713 test $ac_status = 0; }; then
27714 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27725 if test $pkg_failed = yes; then
27727 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27728 _pkg_short_errors_supported
=yes
27730 _pkg_short_errors_supported
=no
27732 if test $_pkg_short_errors_supported = yes; then
27733 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27735 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27737 # Put the nasty error message in config.log where it belongs
27738 echo "$GL_PKG_ERRORS" >&5
27741 if test "x$ac_find_libraries" = "x"; then
27742 if test "xglBegin" != "x"; then
27743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27744 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27745 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27746 $as_echo_n "(cached) " >&6
27748 ac_check_lib_save_LIBS
=$LIBS
27750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27751 /* end confdefs.h. */
27753 /* Override any GCC internal prototype to avoid an error.
27754 Use char because int might match the return type of a GCC
27755 builtin and then its argument prototype would still apply. */
27768 if ac_fn_c_try_link
"$LINENO"; then :
27769 ac_cv_lib_GL_glBegin
=yes
27771 ac_cv_lib_GL_glBegin
=no
27773 rm -f core conftest.err conftest.
$ac_objext \
27774 conftest
$ac_exeext conftest.
$ac_ext
27775 LIBS
=$ac_check_lib_save_LIBS
27777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27778 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27779 if test "x$ac_cv_lib_GL_glBegin" = x
""yes; then :
27780 ac_find_libraries
="std"
27786 if test "x$ac_find_libraries" = "x"; then
27787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27788 $as_echo_n "checking elsewhere... " >&6; }
27791 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27793 for ac_extension
in a so sl dylib dll.a
; do
27794 if test -f "$ac_dir/libGL.$ac_extension"; then
27795 ac_find_libraries
=$ac_dir
27801 if test "x$ac_find_libraries" != "x"; then
27802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27803 $as_echo "yes" >&6; }
27805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27806 $as_echo "no" >&6; }
27810 elif test $pkg_failed = untried
; then
27812 if test "x$ac_find_libraries" = "x"; then
27813 if test "xglBegin" != "x"; then
27814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27815 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27816 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27817 $as_echo_n "(cached) " >&6
27819 ac_check_lib_save_LIBS
=$LIBS
27821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27822 /* end confdefs.h. */
27824 /* Override any GCC internal prototype to avoid an error.
27825 Use char because int might match the return type of a GCC
27826 builtin and then its argument prototype would still apply. */
27839 if ac_fn_c_try_link
"$LINENO"; then :
27840 ac_cv_lib_GL_glBegin
=yes
27842 ac_cv_lib_GL_glBegin
=no
27844 rm -f core conftest.err conftest.
$ac_objext \
27845 conftest
$ac_exeext conftest.
$ac_ext
27846 LIBS
=$ac_check_lib_save_LIBS
27848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27849 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27850 if test "x$ac_cv_lib_GL_glBegin" = x
""yes; then :
27851 ac_find_libraries
="std"
27857 if test "x$ac_find_libraries" = "x"; then
27858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27859 $as_echo_n "checking elsewhere... " >&6; }
27862 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27864 for ac_extension
in a so sl dylib dll.a
; do
27865 if test -f "$ac_dir/libGL.$ac_extension"; then
27866 ac_find_libraries
=$ac_dir
27872 if test "x$ac_find_libraries" != "x"; then
27873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27874 $as_echo "yes" >&6; }
27876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27877 $as_echo "no" >&6; }
27882 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
27883 GL_LIBS
=$pkg_cv_GL_LIBS
27884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27885 $as_echo "yes" >&6; }
27887 ac_find_libraries
="std"
27889 eval ac_find_cflags
=\
$GL_CFLAGS
27890 eval fl_libs
=\
$GL_LIBS
27892 for fl_path
in $fl_libs
27894 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27895 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27901 if test "$ac_find_libraries" != "" ; then
27902 if test "$ac_find_libraries" != "std" ; then
27904 if test "$ac_find_libraries" = "default location"; then
27907 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27909 if test $result = 0; then
27912 ac_path_to_link
=" -L$ac_find_libraries"
27916 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27917 LDFLAGS_GL
="$ac_path_to_link"
27924 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
27927 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27928 if test -n "$ac_tool_prefix"; then
27929 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27930 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27932 $as_echo_n "checking for $ac_word... " >&6; }
27933 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27934 $as_echo_n "(cached) " >&6
27936 case $PKG_CONFIG in
27938 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27942 for as_dir
in $PATH
27945 test -z "$as_dir" && as_dir
=.
27946 for ac_exec_ext
in '' $ac_executable_extensions; do
27947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27948 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27959 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27960 if test -n "$PKG_CONFIG"; then
27961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27962 $as_echo "$PKG_CONFIG" >&6; }
27964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27965 $as_echo "no" >&6; }
27970 if test -z "$ac_cv_path_PKG_CONFIG"; then
27971 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27972 # Extract the first word of "pkg-config", so it can be a program name with args.
27973 set dummy pkg
-config; ac_word
=$2
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27975 $as_echo_n "checking for $ac_word... " >&6; }
27976 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27977 $as_echo_n "(cached) " >&6
27979 case $ac_pt_PKG_CONFIG in
27981 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27985 for as_dir
in $PATH
27988 test -z "$as_dir" && as_dir
=.
27989 for ac_exec_ext
in '' $ac_executable_extensions; do
27990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27991 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28002 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28003 if test -n "$ac_pt_PKG_CONFIG"; then
28004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28005 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28008 $as_echo "no" >&6; }
28011 if test "x$ac_pt_PKG_CONFIG" = x
; then
28014 case $cross_compiling:$ac_tool_warned in
28016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28018 ac_tool_warned
=yes ;;
28020 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28023 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28027 if test -n "$PKG_CONFIG"; then
28028 _pkg_min_version
=0.9.0
28029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28030 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28031 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28033 $as_echo "yes" >&6; }
28035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28036 $as_echo "no" >&6; }
28043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28044 $as_echo_n "checking for GLU... " >&6; }
28046 if test -n "$PKG_CONFIG"; then
28047 if test -n "$GLU_CFLAGS"; then
28048 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28050 if test -n "$PKG_CONFIG" && \
28051 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28052 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28055 test $ac_status = 0; }; then
28056 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28064 if test -n "$PKG_CONFIG"; then
28065 if test -n "$GLU_LIBS"; then
28066 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28068 if test -n "$PKG_CONFIG" && \
28069 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28070 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28073 test $ac_status = 0; }; then
28074 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28085 if test $pkg_failed = yes; then
28087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28088 _pkg_short_errors_supported
=yes
28090 _pkg_short_errors_supported
=no
28092 if test $_pkg_short_errors_supported = yes; then
28093 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28095 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28097 # Put the nasty error message in config.log where it belongs
28098 echo "$GLU_PKG_ERRORS" >&5
28101 if test "x$ac_find_libraries" = "x"; then
28102 if test "xgluBeginCurve" != "x"; then
28103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28104 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28105 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
28106 $as_echo_n "(cached) " >&6
28108 ac_check_lib_save_LIBS
=$LIBS
28110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28111 /* end confdefs.h. */
28113 /* Override any GCC internal prototype to avoid an error.
28114 Use char because int might match the return type of a GCC
28115 builtin and then its argument prototype would still apply. */
28119 char gluBeginCurve ();
28123 return gluBeginCurve ();
28128 if ac_fn_c_try_link
"$LINENO"; then :
28129 ac_cv_lib_GLU_gluBeginCurve
=yes
28131 ac_cv_lib_GLU_gluBeginCurve
=no
28133 rm -f core conftest.err conftest.
$ac_objext \
28134 conftest
$ac_exeext conftest.
$ac_ext
28135 LIBS
=$ac_check_lib_save_LIBS
28137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28138 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28139 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x
""yes; then :
28140 ac_find_libraries
="std"
28146 if test "x$ac_find_libraries" = "x"; then
28147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28148 $as_echo_n "checking elsewhere... " >&6; }
28151 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28153 for ac_extension
in a so sl dylib dll.a
; do
28154 if test -f "$ac_dir/libGLU.$ac_extension"; then
28155 ac_find_libraries
=$ac_dir
28161 if test "x$ac_find_libraries" != "x"; then
28162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28163 $as_echo "yes" >&6; }
28165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28166 $as_echo "no" >&6; }
28170 elif test $pkg_failed = untried
; then
28172 if test "x$ac_find_libraries" = "x"; then
28173 if test "xgluBeginCurve" != "x"; then
28174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28175 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28176 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
28177 $as_echo_n "(cached) " >&6
28179 ac_check_lib_save_LIBS
=$LIBS
28181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28182 /* end confdefs.h. */
28184 /* Override any GCC internal prototype to avoid an error.
28185 Use char because int might match the return type of a GCC
28186 builtin and then its argument prototype would still apply. */
28190 char gluBeginCurve ();
28194 return gluBeginCurve ();
28199 if ac_fn_c_try_link
"$LINENO"; then :
28200 ac_cv_lib_GLU_gluBeginCurve
=yes
28202 ac_cv_lib_GLU_gluBeginCurve
=no
28204 rm -f core conftest.err conftest.
$ac_objext \
28205 conftest
$ac_exeext conftest.
$ac_ext
28206 LIBS
=$ac_check_lib_save_LIBS
28208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28209 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28210 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x
""yes; then :
28211 ac_find_libraries
="std"
28217 if test "x$ac_find_libraries" = "x"; then
28218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28219 $as_echo_n "checking elsewhere... " >&6; }
28222 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28224 for ac_extension
in a so sl dylib dll.a
; do
28225 if test -f "$ac_dir/libGLU.$ac_extension"; then
28226 ac_find_libraries
=$ac_dir
28232 if test "x$ac_find_libraries" != "x"; then
28233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28234 $as_echo "yes" >&6; }
28236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28237 $as_echo "no" >&6; }
28242 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28243 GLU_LIBS
=$pkg_cv_GLU_LIBS
28244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28245 $as_echo "yes" >&6; }
28247 ac_find_libraries
="std"
28249 eval ac_find_cflags
=\
$GLU_CFLAGS
28250 eval fl_libs
=\
$GLU_LIBS
28252 for fl_path
in $fl_libs
28254 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28255 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28261 if test "$ac_find_libraries" != "" ; then
28262 if test "$ac_find_libraries" != "std" ; then
28264 if test "$ac_find_libraries" = "default location"; then
28267 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28269 if test $result = 0; then
28272 ac_path_to_link
=" -L$ac_find_libraries"
28276 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28277 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28278 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28283 OPENGL_LIBS
="-lGL -lGLU"
28287 if test "$found_gl" != 1; then
28291 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28294 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28295 if test -n "$ac_tool_prefix"; then
28296 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28297 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28299 $as_echo_n "checking for $ac_word... " >&6; }
28300 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
28301 $as_echo_n "(cached) " >&6
28303 case $PKG_CONFIG in
28305 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28309 for as_dir
in $PATH
28312 test -z "$as_dir" && as_dir
=.
28313 for ac_exec_ext
in '' $ac_executable_extensions; do
28314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28315 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28326 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28327 if test -n "$PKG_CONFIG"; then
28328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28329 $as_echo "$PKG_CONFIG" >&6; }
28331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28332 $as_echo "no" >&6; }
28337 if test -z "$ac_cv_path_PKG_CONFIG"; then
28338 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28339 # Extract the first word of "pkg-config", so it can be a program name with args.
28340 set dummy pkg
-config; ac_word
=$2
28341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28342 $as_echo_n "checking for $ac_word... " >&6; }
28343 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
28344 $as_echo_n "(cached) " >&6
28346 case $ac_pt_PKG_CONFIG in
28348 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28352 for as_dir
in $PATH
28355 test -z "$as_dir" && as_dir
=.
28356 for ac_exec_ext
in '' $ac_executable_extensions; do
28357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28358 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28369 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28370 if test -n "$ac_pt_PKG_CONFIG"; then
28371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28372 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28375 $as_echo "no" >&6; }
28378 if test "x$ac_pt_PKG_CONFIG" = x
; then
28381 case $cross_compiling:$ac_tool_warned in
28383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28385 ac_tool_warned
=yes ;;
28387 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28390 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28394 if test -n "$PKG_CONFIG"; then
28395 _pkg_min_version
=0.9.0
28396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28397 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28398 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28400 $as_echo "yes" >&6; }
28402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28403 $as_echo "no" >&6; }
28410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28411 $as_echo_n "checking for MesaGL... " >&6; }
28413 if test -n "$PKG_CONFIG"; then
28414 if test -n "$MesaGL_CFLAGS"; then
28415 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28417 if test -n "$PKG_CONFIG" && \
28418 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28419 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28422 test $ac_status = 0; }; then
28423 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28431 if test -n "$PKG_CONFIG"; then
28432 if test -n "$MesaGL_LIBS"; then
28433 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28435 if test -n "$PKG_CONFIG" && \
28436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28437 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28440 test $ac_status = 0; }; then
28441 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28452 if test $pkg_failed = yes; then
28454 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28455 _pkg_short_errors_supported
=yes
28457 _pkg_short_errors_supported
=no
28459 if test $_pkg_short_errors_supported = yes; then
28460 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28462 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28464 # Put the nasty error message in config.log where it belongs
28465 echo "$MesaGL_PKG_ERRORS" >&5
28468 if test "x$ac_find_libraries" = "x"; then
28469 if test "xglEnable" != "x"; then
28470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28471 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28472 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28473 $as_echo_n "(cached) " >&6
28475 ac_check_lib_save_LIBS
=$LIBS
28476 LIBS
="-lMesaGL $LIBS"
28477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28478 /* end confdefs.h. */
28480 /* Override any GCC internal prototype to avoid an error.
28481 Use char because int might match the return type of a GCC
28482 builtin and then its argument prototype would still apply. */
28490 return glEnable ();
28495 if ac_fn_c_try_link
"$LINENO"; then :
28496 ac_cv_lib_MesaGL_glEnable
=yes
28498 ac_cv_lib_MesaGL_glEnable
=no
28500 rm -f core conftest.err conftest.
$ac_objext \
28501 conftest
$ac_exeext conftest.
$ac_ext
28502 LIBS
=$ac_check_lib_save_LIBS
28504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28505 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28506 if test "x$ac_cv_lib_MesaGL_glEnable" = x
""yes; then :
28507 ac_find_libraries
="std"
28513 if test "x$ac_find_libraries" = "x"; then
28514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28515 $as_echo_n "checking elsewhere... " >&6; }
28518 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28520 for ac_extension
in a so sl dylib dll.a
; do
28521 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28522 ac_find_libraries
=$ac_dir
28528 if test "x$ac_find_libraries" != "x"; then
28529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28530 $as_echo "yes" >&6; }
28532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28533 $as_echo "no" >&6; }
28537 elif test $pkg_failed = untried
; then
28539 if test "x$ac_find_libraries" = "x"; then
28540 if test "xglEnable" != "x"; then
28541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28542 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28543 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28544 $as_echo_n "(cached) " >&6
28546 ac_check_lib_save_LIBS
=$LIBS
28547 LIBS
="-lMesaGL $LIBS"
28548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28549 /* end confdefs.h. */
28551 /* Override any GCC internal prototype to avoid an error.
28552 Use char because int might match the return type of a GCC
28553 builtin and then its argument prototype would still apply. */
28561 return glEnable ();
28566 if ac_fn_c_try_link
"$LINENO"; then :
28567 ac_cv_lib_MesaGL_glEnable
=yes
28569 ac_cv_lib_MesaGL_glEnable
=no
28571 rm -f core conftest.err conftest.
$ac_objext \
28572 conftest
$ac_exeext conftest.
$ac_ext
28573 LIBS
=$ac_check_lib_save_LIBS
28575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28576 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28577 if test "x$ac_cv_lib_MesaGL_glEnable" = x
""yes; then :
28578 ac_find_libraries
="std"
28584 if test "x$ac_find_libraries" = "x"; then
28585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28586 $as_echo_n "checking elsewhere... " >&6; }
28589 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28591 for ac_extension
in a so sl dylib dll.a
; do
28592 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28593 ac_find_libraries
=$ac_dir
28599 if test "x$ac_find_libraries" != "x"; then
28600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28601 $as_echo "yes" >&6; }
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28604 $as_echo "no" >&6; }
28609 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28610 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28612 $as_echo "yes" >&6; }
28614 ac_find_libraries
="std"
28616 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28617 eval fl_libs
=\
$MesaGL_LIBS
28619 for fl_path
in $fl_libs
28621 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28622 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28628 if test "$ac_find_libraries" != "" ; then
28629 if test "$ac_find_libraries" != "std" ; then
28631 if test "$ac_find_libraries" = "default location"; then
28634 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28636 if test $result = 0; then
28639 ac_path_to_link
=" -L$ac_find_libraries"
28643 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28644 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28647 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28659 if test "x$OPENGL_LIBS" = "x"; then
28660 if test "$wxUSE_OPENGL" = "yes"; then
28661 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28664 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28671 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28675 if test "$wxUSE_OPENGL" = "auto"; then
28679 if test "$wxUSE_OPENGL" = "yes"; then
28681 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28683 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28685 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28690 if test -n "$TOOLKIT" ; then
28691 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28696 if test "$wxUSE_SHARED" = "yes"; then
28700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28701 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28706 if test "$wxUSE_SHARED" = "yes"; then
28710 *-*-cygwin* | *-*-mingw* )
28711 wx_cv_version_script
=no
28715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28716 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28717 if test "${wx_cv_version_script+set}" = set; then :
28718 $as_echo_n "(cached) " >&6
28721 echo "VER_1 { *; };" >conftest.sym
28722 echo "int main() { return 0; }" >conftest.cpp
28725 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28726 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28727 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28728 (eval $ac_try) 2>&5
28730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28731 test $ac_status = 0; }; } ; then
28732 if test -s conftest.stderr
; then
28733 wx_cv_version_script
=no
28735 wx_cv_version_script
=yes
28738 wx_cv_version_script
=no
28741 if test $wx_cv_version_script = yes
28743 echo "struct B { virtual ~B() { } }; \
28744 struct D : public B { }; \
28745 void F() { D d; }" > conftest.cpp
28748 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28749 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28750 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28751 (eval $ac_try) 2>&5
28753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28754 test $ac_status = 0; }; } &&
28756 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28757 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28758 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28759 (eval $ac_try) 2>&5
28761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28762 test $ac_status = 0; }; }
28765 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28766 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28767 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28768 (eval $ac_try) 2>&5
28770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28771 test $ac_status = 0; }; }
28773 wx_cv_version_script
=yes
28775 wx_cv_version_script
=no
28780 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28781 rm -f conftest1.output conftest2.output conftest3.output
28784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28785 $as_echo "$wx_cv_version_script" >&6; }
28787 if test $wx_cv_version_script = yes ; then
28788 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28794 if test "$wxUSE_VISIBILITY" != "no"; then
28797 if test -n "$GCC"; then
28798 CFLAGS_VISIBILITY
="-fvisibility=hidden"
28799 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
28800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28801 $as_echo_n "checking for symbols visibility support... " >&6; }
28802 if test "${wx_cv_cc_visibility+set}" = set; then :
28803 $as_echo_n "(cached) " >&6
28806 wx_save_CXXFLAGS
="$CXXFLAGS"
28807 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28809 ac_cpp
='$CXXCPP $CPPFLAGS'
28810 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28811 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28812 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28815 /* end confdefs.h. */
28817 /* we need gcc >= 4.0, older versions with visibility support
28818 didn't have class visibility: */
28819 #if defined(__GNUC__) && __GNUC__ < 4
28820 error this gcc is too old;
28823 /* visibility only makes sense for ELF shared libs: */
28824 #if !defined(__ELF__) && !defined(__APPLE__)
28825 error this platform has no visibility;
28828 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28829 #if defined(__clang__)
28830 clang compiler is still broken w.r.t. visibility;
28833 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28834 extern __attribute__((__visibility__("default"))) int exportedvar;
28835 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28836 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28837 class __attribute__((__visibility__("default"))) Foo {
28849 if ac_fn_cxx_try_compile
"$LINENO"; then :
28850 wx_cv_cc_visibility
=yes
28852 wx_cv_cc_visibility
=no
28854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28856 ac_cpp
='$CPP $CPPFLAGS'
28857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28861 CXXFLAGS
="$wx_save_CXXFLAGS"
28864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28865 $as_echo "$wx_cv_cc_visibility" >&6; }
28866 if test $wx_cv_cc_visibility = yes; then
28867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28868 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28869 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then :
28870 $as_echo_n "(cached) " >&6
28873 wx_save_CXXFLAGS
="$CXXFLAGS"
28874 wx_save_LDFLAGS
="$LDFLAGS"
28875 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28876 LDFLAGS
="$LDFLAGS -shared -fPIC"
28878 ac_cpp
='$CXXCPP $CPPFLAGS'
28879 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28880 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28881 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28884 /* end confdefs.h. */
28892 std::string s("hello");
28899 if ac_fn_cxx_try_link
"$LINENO"; then :
28900 wx_cv_cc_broken_libstdcxx_visibility
=no
28902 wx_cv_cc_broken_libstdcxx_visibility
=yes
28904 rm -f core conftest.err conftest.
$ac_objext \
28905 conftest
$ac_exeext conftest.
$ac_ext
28907 ac_cpp
='$CPP $CPPFLAGS'
28908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28912 CXXFLAGS
="$wx_save_CXXFLAGS"
28913 LDFLAGS
="$wx_save_LDFLAGS"
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
28917 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
28919 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
28921 $as_echo_n "checking whether we can work around it... " >&6; }
28922 if test "${wx_cv_cc_visibility_workaround+set}" = set; then :
28923 $as_echo_n "(cached) " >&6
28927 ac_cpp
='$CXXCPP $CPPFLAGS'
28928 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28929 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28930 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28933 /* end confdefs.h. */
28935 #pragma GCC visibility push(default)
28937 #pragma GCC visibility pop
28943 std::string s("hello");
28950 if ac_fn_cxx_try_link
"$LINENO"; then :
28951 wx_cv_cc_visibility_workaround
=no
28953 wx_cv_cc_visibility_workaround
=yes
28955 rm -f core conftest.err conftest.
$ac_objext \
28956 conftest
$ac_exeext conftest.
$ac_ext
28958 ac_cpp
='$CPP $CPPFLAGS'
28959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
28967 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
28969 if test $wx_cv_cc_visibility_workaround = no
; then
28970 wx_cv_cc_visibility
=no
28975 if test $wx_cv_cc_visibility = yes; then
28976 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
28978 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28979 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
28983 CFLAGS_VISIBILITY
=""
28984 CXXFLAGS_VISIBILITY
=""
28992 if test "x$SUNCXX" = xyes
; then
28993 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
28994 WXCONFIG_RPATH
="-R\$libdir"
28997 *-*-linux* | *-*-gnu* )
28998 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
28999 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29004 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
29006 saveLdflags
="$LDFLAGS"
29007 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29009 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29011 /* end confdefs.h. */
29021 if ac_fn_c_try_link
"$LINENO"; then :
29023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29024 $as_echo "yes" >&6; }
29025 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29026 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29031 $as_echo "no" >&6; }
29032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29033 $as_echo_n "checking if the linker accepts -R... " >&6; }
29034 LDFLAGS
="$saveLdflags -Wl,-R,/"
29035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29036 /* end confdefs.h. */
29046 if ac_fn_c_try_link
"$LINENO"; then :
29048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29049 $as_echo "yes" >&6; }
29050 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29051 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29056 $as_echo "no" >&6; }
29059 rm -f core conftest.err conftest.
$ac_objext \
29060 conftest
$ac_exeext conftest.
$ac_ext
29063 rm -f core conftest.err conftest.
$ac_objext \
29064 conftest
$ac_exeext conftest.
$ac_ext
29065 LDFLAGS
="$saveLdflags"
29069 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29070 if test "$install_name_tool" -a -x "$install_name_tool"; then
29071 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29072 cat <<EOF >change-install-names
29074 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29075 for i in \${libnames} ; do
29076 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29077 for dep in \${libnames} ; do
29078 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29082 chmod +x change
-install-names
29083 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29086 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29089 *-*-cygwin* | *-*-mingw32* )
29093 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29094 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29100 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29102 if test $wxUSE_RPATH = "no"; then
29103 SAMPLES_RPATH_FLAG
=''
29104 DYLIB_PATH_POSTLINK
=''
29112 config_linkage_component
="-static"
29119 lib_unicode_suffix
=
29121 if test "$wxUSE_UNICODE" = "yes"; then
29122 lib_unicode_suffix
=u
29123 WX_CHARTYPE
="unicode"
29127 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29128 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29131 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29135 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29137 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29139 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29142 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29143 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29145 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29147 if test "${TOOLKIT_DIR}" = "os2"; then
29148 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29150 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29155 if test "$wxUSE_OLD_COCOA" = 1; then
29158 ac_cpp
='$CPP $CPPFLAGS'
29159 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29160 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29161 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29166 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29168 /* end confdefs.h. */
29169 #include <AppKit/NSEvent.h>
29170 #include <CoreFoundation/CoreFoundation.h>
29180 if ac_fn_c_try_compile
"$LINENO"; then :
29181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29182 $as_echo "no" >&6; }
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29185 $as_echo "yes" >&6; }
29186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29187 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29189 /* end confdefs.h. */
29190 #define __Point__ 1
29191 #include <AppKit/NSEvent.h>
29192 #include <CoreFoundation/CoreFoundation.h>
29202 if ac_fn_c_try_compile
"$LINENO"; then :
29203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29204 $as_echo "yes" >&6; }
29205 $as_echo "#define __Point__ 1" >>confdefs.h
29209 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29212 See \`config.log' for more details" "$LINENO" 5 ; }
29215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29220 ac_cpp
='$CPP $CPPFLAGS'
29221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29228 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29229 if test "x$ac_cv_type_mode_t" = x
""yes; then :
29233 cat >>confdefs.h
<<_ACEOF
29239 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29240 if test "x$ac_cv_type_off_t" = x
""yes; then :
29244 cat >>confdefs.h
<<_ACEOF
29245 #define off_t long int
29250 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29251 if test "x$ac_cv_type_pid_t" = x
""yes; then :
29255 cat >>confdefs.h
<<_ACEOF
29261 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29262 if test "x$ac_cv_type_size_t" = x
""yes; then :
29266 cat >>confdefs.h
<<_ACEOF
29267 #define size_t unsigned int
29273 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29274 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
29276 cat >>confdefs.h
<<_ACEOF
29277 #define HAVE_SSIZE_T 1
29285 ac_cpp
='$CXXCPP $CPPFLAGS'
29286 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29287 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29288 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29290 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29291 if test "${wx_cv_size_t_is_uint+set}" = set; then :
29292 $as_echo_n "(cached) " >&6
29295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29296 /* end confdefs.h. */
29297 #include <stddef.h>
29304 struct Foo { void foo(size_t); void foo(unsigned int); };
29312 if ac_fn_cxx_try_compile
"$LINENO"; then :
29313 wx_cv_size_t_is_uint
=no
29315 wx_cv_size_t_is_uint
=yes
29318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29323 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29325 if test "$wx_cv_size_t_is_uint" = "yes"; then
29326 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29330 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29331 if test "${wx_cv_size_t_is_ulong+set}" = set; then :
29332 $as_echo_n "(cached) " >&6
29334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29335 /* end confdefs.h. */
29336 #include <stddef.h>
29343 struct Foo { void foo(size_t); void foo(unsigned long); };
29351 if ac_fn_cxx_try_compile
"$LINENO"; then :
29352 wx_cv_size_t_is_ulong
=no
29354 wx_cv_size_t_is_ulong
=yes
29357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29361 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29363 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29364 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29370 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29371 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then :
29372 $as_echo_n "(cached) " >&6
29374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29375 /* end confdefs.h. */
29383 struct Foo { void foo(wchar_t);
29384 void foo(unsigned short);
29385 void foo(unsigned int);
29386 void foo(unsigned long); };
29394 if ac_fn_cxx_try_compile
"$LINENO"; then :
29395 wx_cv_wchar_t_is_separate_type
=yes
29397 wx_cv_wchar_t_is_separate_type
=no
29400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29404 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29406 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29407 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29410 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29415 ac_cpp
='$CPP $CPPFLAGS'
29416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29422 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29423 if test "${wx_cv_struct_pw_gecos+set}" = set; then :
29424 $as_echo_n "(cached) " >&6
29427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29428 /* end confdefs.h. */
29442 if ac_fn_c_try_compile
"$LINENO"; then :
29444 wx_cv_struct_pw_gecos
=yes
29448 wx_cv_struct_pw_gecos
=no
29452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29457 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29459 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29460 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29467 for ac_func
in wcslen
29469 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29470 if test "x$ac_cv_func_wcslen" = x
""yes; then :
29471 cat >>confdefs.h
<<_ACEOF
29472 #define HAVE_WCSLEN 1
29479 if test "$WCSLEN_FOUND" = 0; then
29480 if test "$TOOLKIT" = "MSW"; then
29481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29482 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29483 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then :
29484 $as_echo_n "(cached) " >&6
29486 ac_check_lib_save_LIBS
=$LIBS
29487 LIBS
="-lmsvcrt $LIBS"
29488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29489 /* end confdefs.h. */
29491 /* Override any GCC internal prototype to avoid an error.
29492 Use char because int might match the return type of a GCC
29493 builtin and then its argument prototype would still apply. */
29506 if ac_fn_c_try_link
"$LINENO"; then :
29507 ac_cv_lib_msvcrt_wcslen
=yes
29509 ac_cv_lib_msvcrt_wcslen
=no
29511 rm -f core conftest.err conftest.
$ac_objext \
29512 conftest
$ac_exeext conftest.
$ac_ext
29513 LIBS
=$ac_check_lib_save_LIBS
29515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29516 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29517 if test "x$ac_cv_lib_msvcrt_wcslen" = x
""yes; then :
29522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29523 $as_echo_n "checking for wcslen in -lw... " >&6; }
29524 if test "${ac_cv_lib_w_wcslen+set}" = set; then :
29525 $as_echo_n "(cached) " >&6
29527 ac_check_lib_save_LIBS
=$LIBS
29529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29530 /* end confdefs.h. */
29532 /* Override any GCC internal prototype to avoid an error.
29533 Use char because int might match the return type of a GCC
29534 builtin and then its argument prototype would still apply. */
29547 if ac_fn_c_try_link
"$LINENO"; then :
29548 ac_cv_lib_w_wcslen
=yes
29550 ac_cv_lib_w_wcslen
=no
29552 rm -f core conftest.err conftest.
$ac_objext \
29553 conftest
$ac_exeext conftest.
$ac_ext
29554 LIBS
=$ac_check_lib_save_LIBS
29556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29557 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29558 if test "x$ac_cv_lib_w_wcslen" = x
""yes; then :
29568 if test "$WCSLEN_FOUND" = 1; then
29569 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29573 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29575 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29576 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29577 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29578 cat >>confdefs.h
<<_ACEOF
29579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29586 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29587 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29590 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29592 if test "x$ac_cv_type_mbstate_t" = x
""yes; then :
29594 cat >>confdefs.h
<<_ACEOF
29595 #define HAVE_MBSTATE_T 1
29598 for ac_func
in wcsrtombs
29600 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29601 if test "x$ac_cv_func_wcsrtombs" = x
""yes; then :
29602 cat >>confdefs.h
<<_ACEOF
29603 #define HAVE_WCSRTOMBS 1
29612 for ac_func
in snprintf vsnprintf vsscanf
29614 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29615 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29616 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29617 cat >>confdefs.h
<<_ACEOF
29618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29626 ac_cpp
='$CXXCPP $CPPFLAGS'
29627 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29628 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29629 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29631 if test "$ac_cv_func_vsnprintf" = "yes"; then
29632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29633 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29634 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then :
29635 $as_echo_n "(cached) " >&6
29638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29639 /* end confdefs.h. */
29642 #include <stdarg.h>
29650 vsnprintf(buf, 10u, "%s", ap);
29656 if ac_fn_cxx_try_compile
"$LINENO"; then :
29657 wx_cv_func_vsnprintf_decl
=yes
29659 wx_cv_func_vsnprintf_decl
=no
29662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29667 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29669 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29670 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29674 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29675 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then :
29676 $as_echo_n "(cached) " >&6
29679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29680 /* end confdefs.h. */
29683 #include <stdarg.h>
29685 #if __MSL__ >= 0x6000
29687 using namespace std;
29697 const char *fmt = "%s";
29698 vsnprintf(buf, 10u, fmt, ap);
29704 if ac_fn_cxx_try_compile
"$LINENO"; then :
29705 wx_cv_func_broken_vsnprintf_decl
=no
29707 wx_cv_func_broken_vsnprintf_decl
=yes
29710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29715 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29717 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29718 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29724 if test "$ac_cv_func_snprintf" = "yes"; then
29725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29726 $as_echo_n "checking for snprintf declaration... " >&6; }
29727 if test "${wx_cv_func_snprintf_decl+set}" = set; then :
29728 $as_echo_n "(cached) " >&6
29731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29732 /* end confdefs.h. */
29735 #include <stdarg.h>
29737 #if __MSL__ >= 0x6000
29739 using namespace std;
29748 snprintf(buf, 10u, "%s", "wx");
29754 if ac_fn_cxx_try_compile
"$LINENO"; then :
29755 wx_cv_func_snprintf_decl
=yes
29757 wx_cv_func_snprintf_decl
=no
29760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29765 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29767 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29768 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29772 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29775 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29776 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then :
29777 $as_echo_n "(cached) " >&6
29780 if test "$cross_compiling" = yes; then :
29782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29783 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29784 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29785 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29786 wx_cv_func_snprintf_pos_params
=no
29790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29791 /* end confdefs.h. */
29798 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29799 if (strcmp ("2 3 1", buffer) == 0)
29805 if ac_fn_cxx_try_run
"$LINENO"; then :
29806 wx_cv_func_snprintf_pos_params
=no
29808 wx_cv_func_snprintf_pos_params
=yes
29810 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
29811 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
29817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29818 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29820 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29821 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29827 if test "$ac_cv_func_vsscanf" = "yes"; then
29828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29829 $as_echo_n "checking for vsscanf declaration... " >&6; }
29830 if test "${wx_cv_func_vsscanf_decl+set}" = set; then :
29831 $as_echo_n "(cached) " >&6
29834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29835 /* end confdefs.h. */
29838 #include <stdarg.h>
29840 #if __MSL__ >= 0x6000
29842 using namespace std;
29852 vsscanf(buf, "%s", args);
29858 if ac_fn_cxx_try_compile
"$LINENO"; then :
29859 wx_cv_func_vsscanf_decl
=yes
29861 wx_cv_func_vsscanf_decl
=no
29864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29869 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29871 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29872 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29877 ac_cpp
='$CPP $CPPFLAGS'
29878 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29879 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29880 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29883 if test "$wxUSE_UNICODE" = yes; then
29885 wchar_headers
="#include <stdio.h>
29886 #include <wchar.h>"
29889 for ac_header
in widec.h
29891 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29893 if test "x$ac_cv_header_widec_h" = x
""yes; then :
29894 cat >>confdefs.h
<<_ACEOF
29895 #define HAVE_WIDEC_H 1
29902 if test "$ac_cv_header_widec_h" = "yes"; then
29903 wchar_headers
="$wchar_headers
29904 #include <widec.h>"
29909 for wx_func
in putws fputws wprintf vswprintf vswscanf
29911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29912 $as_echo_n "checking for $wx_func... " >&6; }
29913 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
29914 $as_echo_n "(cached) " >&6
29917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29918 /* end confdefs.h. */
29922 $ac_includes_default
29938 if ac_fn_c_try_link
"$LINENO"; then :
29939 eval wx_cv_func_
$wx_func=yes
29941 eval wx_cv_func_
$wx_func=no
29943 rm -f core conftest.err conftest.
$ac_objext \
29944 conftest
$ac_exeext conftest.
$ac_ext
29947 eval ac_res
=\
$wx_cv_func_$wx_func
29948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29949 $as_echo "$ac_res" >&6; }
29951 if eval test \
$wx_cv_func_$wx_func = yes
29953 cat >>confdefs.h
<<_ACEOF
29954 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
29966 $as_echo_n "checking for _vsnwprintf... " >&6; }
29967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29968 /* end confdefs.h. */
29978 if ac_fn_c_try_compile
"$LINENO"; then :
29979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29980 $as_echo "yes" >&6; }
29981 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
29984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29985 $as_echo "no" >&6; }
29987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29990 if test "$wxUSE_FILE" = "yes"; then
29992 for wx_func
in fsync
29994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29995 $as_echo_n "checking for $wx_func... " >&6; }
29996 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
29997 $as_echo_n "(cached) " >&6
30000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30001 /* end confdefs.h. */
30005 $ac_includes_default
30021 if ac_fn_c_try_link
"$LINENO"; then :
30022 eval wx_cv_func_
$wx_func=yes
30024 eval wx_cv_func_
$wx_func=no
30026 rm -f core conftest.err conftest.
$ac_objext \
30027 conftest
$ac_exeext conftest.
$ac_ext
30030 eval ac_res
=\
$wx_cv_func_$wx_func
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30032 $as_echo "$ac_res" >&6; }
30034 if eval test \
$wx_cv_func_$wx_func = yes
30036 cat >>confdefs.h
<<_ACEOF
30037 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30050 ac_cpp
='$CXXCPP $CPPFLAGS'
30051 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30052 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30053 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30056 for wx_func
in round
30058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30059 $as_echo_n "checking for $wx_func... " >&6; }
30060 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30061 $as_echo_n "(cached) " >&6
30064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30065 /* end confdefs.h. */
30069 $ac_includes_default
30085 if ac_fn_cxx_try_link
"$LINENO"; then :
30086 eval wx_cv_func_
$wx_func=yes
30088 eval wx_cv_func_
$wx_func=no
30090 rm -f core conftest.err conftest.
$ac_objext \
30091 conftest
$ac_exeext conftest.
$ac_ext
30094 eval ac_res
=\
$wx_cv_func_$wx_func
30095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30096 $as_echo "$ac_res" >&6; }
30098 if eval test \
$wx_cv_func_$wx_func = yes
30100 cat >>confdefs.h
<<_ACEOF
30101 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30112 ac_cpp
='$CPP $CPPFLAGS'
30113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30118 if test "$TOOLKIT" != "MSW"; then
30120 if test "$wxUSE_LIBICONV" != "no" ; then
30124 # Check whether --with-libiconv-prefix was given.
30125 if test "${with_libiconv_prefix+set}" = set; then :
30126 withval
=$with_libiconv_prefix;
30127 for dir
in `echo "$withval" | tr : ' '`; do
30128 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30129 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30136 $as_echo_n "checking for iconv... " >&6; }
30137 if test "${am_cv_func_iconv+set}" = set; then :
30138 $as_echo_n "(cached) " >&6
30141 am_cv_func_iconv
="no, consider installing GNU libiconv"
30143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30144 /* end confdefs.h. */
30145 #include <stdlib.h>
30150 iconv_t cd = iconv_open("","");
30151 iconv(cd,NULL,NULL,NULL,NULL);
30157 if ac_fn_c_try_link
"$LINENO"; then :
30158 am_cv_func_iconv
=yes
30160 rm -f core conftest.err conftest.
$ac_objext \
30161 conftest
$ac_exeext conftest.
$ac_ext
30162 if test "$am_cv_func_iconv" != yes; then
30163 am_save_LIBS
="$LIBS"
30164 LIBS
="$LIBS -liconv"
30165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30166 /* end confdefs.h. */
30167 #include <stdlib.h>
30172 iconv_t cd = iconv_open("","");
30173 iconv(cd,NULL,NULL,NULL,NULL);
30179 if ac_fn_c_try_link
"$LINENO"; then :
30180 am_cv_lib_iconv
=yes
30181 am_cv_func_iconv
=yes
30183 rm -f core conftest.err conftest.
$ac_objext \
30184 conftest
$ac_exeext conftest.
$ac_ext
30185 LIBS
="$am_save_LIBS"
30189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30190 $as_echo "$am_cv_func_iconv" >&6; }
30191 if test "$am_cv_func_iconv" = yes; then
30193 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30196 $as_echo_n "checking if iconv needs const... " >&6; }
30197 if test "${wx_cv_func_iconv_const+set}" = set; then :
30198 $as_echo_n "(cached) " >&6
30200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30201 /* end confdefs.h. */
30203 #include <stdlib.h>
30209 #if defined(__STDC__) || defined(__cplusplus)
30210 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30223 if ac_fn_c_try_compile
"$LINENO"; then :
30224 wx_cv_func_iconv_const
="no"
30226 wx_cv_func_iconv_const
="yes"
30229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30233 $as_echo "$wx_cv_func_iconv_const" >&6; }
30236 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30237 iconv_const
="const"
30241 cat >>confdefs.h
<<_ACEOF
30242 #define ICONV_CONST $iconv_const
30247 if test "$am_cv_lib_iconv" = yes; then
30252 LIBS
="$LIBICONV $LIBS"
30255 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30256 for ac_func
in sigaction
30258 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30259 if test "x$ac_cv_func_sigaction" = x
""yes; then :
30260 cat >>confdefs.h
<<_ACEOF
30261 #define HAVE_SIGACTION 1
30268 if test "$ac_cv_func_sigaction" = "no"; then
30269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30270 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30271 wxUSE_ON_FATAL_EXCEPTION
=no
30274 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30276 $as_echo_n "checking for sa_handler type... " >&6; }
30277 if test "${wx_cv_type_sa_handler+set}" = set; then :
30278 $as_echo_n "(cached) " >&6
30282 ac_cpp
='$CXXCPP $CPPFLAGS'
30283 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30284 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30285 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30288 /* end confdefs.h. */
30289 #include <signal.h>
30294 extern void testSigHandler(int);
30296 struct sigaction sa;
30297 sa.sa_handler = testSigHandler;
30303 if ac_fn_cxx_try_compile
"$LINENO"; then :
30305 wx_cv_type_sa_handler
=int
30309 wx_cv_type_sa_handler
=void
30312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30314 ac_cpp
='$CPP $CPPFLAGS'
30315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30322 $as_echo "$wx_cv_type_sa_handler" >&6; }
30324 cat >>confdefs.h
<<_ACEOF
30325 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30331 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30333 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30334 if test "${wx_cv_func_backtrace+set}" = set; then :
30335 $as_echo_n "(cached) " >&6
30339 ac_cpp
='$CXXCPP $CPPFLAGS'
30340 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30341 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30342 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30345 /* end confdefs.h. */
30346 #include <execinfo.h>
30354 backtrace(trace, 1);
30355 messages = backtrace_symbols(trace, 1);
30361 if ac_fn_cxx_try_compile
"$LINENO"; then :
30362 wx_cv_func_backtrace
=yes
30364 wx_cv_func_backtrace
=no
30367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30369 ac_cpp
='$CPP $CPPFLAGS'
30370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30378 $as_echo "$wx_cv_func_backtrace" >&6; }
30381 if test "$wx_cv_func_backtrace" = "no"; then
30382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30383 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30384 wxUSE_STACKWALKER
=no
30386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30387 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30388 if test "${wx_cv_func_cxa_demangle+set}" = set; then :
30389 $as_echo_n "(cached) " >&6
30393 ac_cpp
='$CXXCPP $CPPFLAGS'
30394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30399 /* end confdefs.h. */
30400 #include <cxxabi.h>
30406 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30412 if ac_fn_cxx_try_link
"$LINENO"; then :
30413 wx_cv_func_cxa_demangle
=yes
30415 wx_cv_func_cxa_demangle
=no
30418 rm -f core conftest.err conftest.
$ac_objext \
30419 conftest
$ac_exeext conftest.
$ac_ext
30421 ac_cpp
='$CPP $CPPFLAGS'
30422 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30423 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30424 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30430 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30432 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30433 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30439 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30441 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30442 wxUSE_STACKWALKER
=no
30446 for ac_func
in mkstemp mktemp
30448 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30449 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30450 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30451 cat >>confdefs.h
<<_ACEOF
30452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30460 $as_echo_n "checking for statfs... " >&6; }
30461 if test "${wx_cv_func_statfs+set}" = set; then :
30462 $as_echo_n "(cached) " >&6
30464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30465 /* end confdefs.h. */
30467 #if defined(__BSD__)
30468 #include <sys/param.h>
30469 #include <sys/mount.h>
30471 #include <sys/vfs.h>
30489 if ac_fn_c_try_compile
"$LINENO"; then :
30490 wx_cv_func_statfs
=yes
30492 wx_cv_func_statfs
=no
30495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30499 $as_echo "$wx_cv_func_statfs" >&6; }
30501 if test "$wx_cv_func_statfs" = "yes"; then
30502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30503 $as_echo_n "checking for statfs declaration... " >&6; }
30504 if test "${wx_cv_func_statfs_decl+set}" = set; then :
30505 $as_echo_n "(cached) " >&6
30508 ac_cpp
='$CXXCPP $CPPFLAGS'
30509 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30510 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30511 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30514 /* end confdefs.h. */
30516 #if defined(__BSD__)
30517 #include <sys/param.h>
30518 #include <sys/mount.h>
30520 #include <sys/vfs.h>
30534 if ac_fn_cxx_try_compile
"$LINENO"; then :
30535 wx_cv_func_statfs_decl
=yes
30537 wx_cv_func_statfs_decl
=no
30540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30542 ac_cpp
='$CPP $CPPFLAGS'
30543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30550 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30552 if test "$wx_cv_func_statfs_decl" = "yes"; then
30553 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30557 wx_cv_type_statvfs_t
="struct statfs"
30558 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30562 $as_echo_n "checking for statvfs... " >&6; }
30563 if test "${wx_cv_func_statvfs+set}" = set; then :
30564 $as_echo_n "(cached) " >&6
30566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30567 /* end confdefs.h. */
30569 #include <stddef.h>
30570 #include <sys/statvfs.h>
30576 statvfs("/", NULL);
30582 if ac_fn_c_try_compile
"$LINENO"; then :
30583 wx_cv_func_statvfs
=yes
30585 wx_cv_func_statvfs
=no
30588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30592 $as_echo "$wx_cv_func_statvfs" >&6; }
30594 if test "$wx_cv_func_statvfs" = "yes"; then
30595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30596 $as_echo_n "checking for statvfs argument type... " >&6; }
30597 if test "${wx_cv_type_statvfs_t+set}" = set; then :
30598 $as_echo_n "(cached) " >&6
30601 ac_cpp
='$CXXCPP $CPPFLAGS'
30602 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30603 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30604 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30607 /* end confdefs.h. */
30609 #include <sys/statvfs.h>
30626 if ac_fn_cxx_try_compile
"$LINENO"; then :
30627 wx_cv_type_statvfs_t
=statvfs_t
30630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30631 /* end confdefs.h. */
30633 #include <sys/statvfs.h>
30650 if ac_fn_cxx_try_compile
"$LINENO"; then :
30651 wx_cv_type_statvfs_t
="struct statvfs"
30653 wx_cv_type_statvfs_t
="unknown"
30656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30662 ac_cpp
='$CPP $CPPFLAGS'
30663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30670 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30672 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30673 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30677 wx_cv_type_statvfs_t
="unknown"
30681 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30682 cat >>confdefs.h
<<_ACEOF
30683 #define WX_STATFS_T $wx_cv_type_statvfs_t
30687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30688 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30691 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30692 for ac_func
in fcntl flock
30694 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30695 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30696 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30697 cat >>confdefs.h
<<_ACEOF
30698 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30705 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30707 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30708 wxUSE_SNGLINST_CHECKER
=no
30712 for ac_func
in setenv putenv
30714 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30715 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30716 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30717 cat >>confdefs.h
<<_ACEOF
30718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30724 if test "$ac_cv_func_setenv" = "yes"; then
30725 for ac_func
in unsetenv
30727 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30728 if test "x$ac_cv_func_unsetenv" = x
""yes; then :
30729 cat >>confdefs.h
<<_ACEOF
30730 #define HAVE_UNSETENV 1
30738 HAVE_SOME_SLEEP_FUNC
=0
30739 if test "$USE_BEOS" = 1; then
30740 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30742 HAVE_SOME_SLEEP_FUNC
=1
30745 if test "$USE_DARWIN" = 1; then
30746 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30748 HAVE_SOME_SLEEP_FUNC
=1
30751 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30753 for ac_func
in nanosleep
30755 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30756 if test "x$ac_cv_func_nanosleep" = x
""yes; then :
30757 cat >>confdefs.h
<<_ACEOF
30758 #define HAVE_NANOSLEEP 1
30760 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30765 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30766 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then :
30767 $as_echo_n "(cached) " >&6
30769 ac_check_lib_save_LIBS
=$LIBS
30770 LIBS
="-lposix4 $LIBS"
30771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30772 /* end confdefs.h. */
30774 /* Override any GCC internal prototype to avoid an error.
30775 Use char because int might match the return type of a GCC
30776 builtin and then its argument prototype would still apply. */
30784 return nanosleep ();
30789 if ac_fn_c_try_link
"$LINENO"; then :
30790 ac_cv_lib_posix4_nanosleep
=yes
30792 ac_cv_lib_posix4_nanosleep
=no
30794 rm -f core conftest.err conftest.
$ac_objext \
30795 conftest
$ac_exeext conftest.
$ac_ext
30796 LIBS
=$ac_check_lib_save_LIBS
30798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30799 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30800 if test "x$ac_cv_lib_posix4_nanosleep" = x
""yes; then :
30802 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30804 POSIX4_LINK
=" -lposix4"
30809 for wx_func
in usleep
30811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30812 $as_echo_n "checking for $wx_func... " >&6; }
30813 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30814 $as_echo_n "(cached) " >&6
30817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30818 /* end confdefs.h. */
30822 $ac_includes_default
30838 if ac_fn_c_try_link
"$LINENO"; then :
30839 eval wx_cv_func_
$wx_func=yes
30841 eval wx_cv_func_
$wx_func=no
30843 rm -f core conftest.err conftest.
$ac_objext \
30844 conftest
$ac_exeext conftest.
$ac_ext
30847 eval ac_res
=\
$wx_cv_func_$wx_func
30848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30849 $as_echo "$ac_res" >&6; }
30851 if eval test \
$wx_cv_func_$wx_func = yes
30853 cat >>confdefs.h
<<_ACEOF
30854 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30861 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30878 for wx_func
in uname
30880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30881 $as_echo_n "checking for $wx_func... " >&6; }
30882 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30883 $as_echo_n "(cached) " >&6
30886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30887 /* end confdefs.h. */
30890 #include <sys/utsname.h>
30891 $ac_includes_default
30907 if ac_fn_c_try_link
"$LINENO"; then :
30908 eval wx_cv_func_
$wx_func=yes
30910 eval wx_cv_func_
$wx_func=no
30912 rm -f core conftest.err conftest.
$ac_objext \
30913 conftest
$ac_exeext conftest.
$ac_ext
30916 eval ac_res
=\
$wx_cv_func_$wx_func
30917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30918 $as_echo "$ac_res" >&6; }
30920 if eval test \
$wx_cv_func_$wx_func = yes
30922 cat >>confdefs.h
<<_ACEOF
30923 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30933 if test "$wx_cv_func_uname" != yes; then
30935 for wx_func
in gethostname
30937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30938 $as_echo_n "checking for $wx_func... " >&6; }
30939 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30940 $as_echo_n "(cached) " >&6
30943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30944 /* end confdefs.h. */
30948 $ac_includes_default
30964 if ac_fn_c_try_link
"$LINENO"; then :
30965 eval wx_cv_func_
$wx_func=yes
30967 eval wx_cv_func_
$wx_func=no
30969 rm -f core conftest.err conftest.
$ac_objext \
30970 conftest
$ac_exeext conftest.
$ac_ext
30973 eval ac_res
=\
$wx_cv_func_$wx_func
30974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30975 $as_echo "$ac_res" >&6; }
30977 if eval test \
$wx_cv_func_$wx_func = yes
30979 cat >>confdefs.h
<<_ACEOF
30980 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30993 for wx_func
in strtok_r
30995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30996 $as_echo_n "checking for $wx_func... " >&6; }
30997 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30998 $as_echo_n "(cached) " >&6
31001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31002 /* end confdefs.h. */
31006 $ac_includes_default
31022 if ac_fn_c_try_link
"$LINENO"; then :
31023 eval wx_cv_func_
$wx_func=yes
31025 eval wx_cv_func_
$wx_func=no
31027 rm -f core conftest.err conftest.
$ac_objext \
31028 conftest
$ac_exeext conftest.
$ac_ext
31031 eval ac_res
=\
$wx_cv_func_$wx_func
31032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31033 $as_echo "$ac_res" >&6; }
31035 if eval test \
$wx_cv_func_$wx_func = yes
31037 cat >>confdefs.h
<<_ACEOF
31038 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31050 for ac_func
in inet_addr
31052 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31053 if test "x$ac_cv_func_inet_addr" = x
""yes; then :
31054 cat >>confdefs.h
<<_ACEOF
31055 #define HAVE_INET_ADDR 1
31057 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31062 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31063 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then :
31064 $as_echo_n "(cached) " >&6
31066 ac_check_lib_save_LIBS
=$LIBS
31068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31069 /* end confdefs.h. */
31071 /* Override any GCC internal prototype to avoid an error.
31072 Use char because int might match the return type of a GCC
31073 builtin and then its argument prototype would still apply. */
31081 return inet_addr ();
31086 if ac_fn_c_try_link
"$LINENO"; then :
31087 ac_cv_lib_nsl_inet_addr
=yes
31089 ac_cv_lib_nsl_inet_addr
=no
31091 rm -f core conftest.err conftest.
$ac_objext \
31092 conftest
$ac_exeext conftest.
$ac_ext
31093 LIBS
=$ac_check_lib_save_LIBS
31095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31096 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31097 if test "x$ac_cv_lib_nsl_inet_addr" = x
""yes; then :
31101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31102 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31103 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then :
31104 $as_echo_n "(cached) " >&6
31106 ac_check_lib_save_LIBS
=$LIBS
31107 LIBS
="-lresolv $LIBS"
31108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31109 /* end confdefs.h. */
31111 /* Override any GCC internal prototype to avoid an error.
31112 Use char because int might match the return type of a GCC
31113 builtin and then its argument prototype would still apply. */
31121 return inet_addr ();
31126 if ac_fn_c_try_link
"$LINENO"; then :
31127 ac_cv_lib_resolv_inet_addr
=yes
31129 ac_cv_lib_resolv_inet_addr
=no
31131 rm -f core conftest.err conftest.
$ac_objext \
31132 conftest
$ac_exeext conftest.
$ac_ext
31133 LIBS
=$ac_check_lib_save_LIBS
31135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31136 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31137 if test "x$ac_cv_lib_resolv_inet_addr" = x
""yes; then :
31141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31142 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31143 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then :
31144 $as_echo_n "(cached) " >&6
31146 ac_check_lib_save_LIBS
=$LIBS
31147 LIBS
="-lsocket $LIBS"
31148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31149 /* end confdefs.h. */
31151 /* Override any GCC internal prototype to avoid an error.
31152 Use char because int might match the return type of a GCC
31153 builtin and then its argument prototype would still apply. */
31161 return inet_addr ();
31166 if ac_fn_c_try_link
"$LINENO"; then :
31167 ac_cv_lib_socket_inet_addr
=yes
31169 ac_cv_lib_socket_inet_addr
=no
31171 rm -f core conftest.err conftest.
$ac_objext \
31172 conftest
$ac_exeext conftest.
$ac_ext
31173 LIBS
=$ac_check_lib_save_LIBS
31175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31176 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31177 if test "x$ac_cv_lib_socket_inet_addr" = x
""yes; then :
31196 for ac_func
in inet_aton
31198 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31199 if test "x$ac_cv_func_inet_aton" = x
""yes; then :
31200 cat >>confdefs.h
<<_ACEOF
31201 #define HAVE_INET_ATON 1
31203 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31207 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31209 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31210 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
31211 $as_echo_n "(cached) " >&6
31213 ac_check_lib_save_LIBS
=$LIBS
31214 LIBS
="-l$INET_LINK $LIBS"
31215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31216 /* end confdefs.h. */
31218 /* Override any GCC internal prototype to avoid an error.
31219 Use char because int might match the return type of a GCC
31220 builtin and then its argument prototype would still apply. */
31228 return inet_aton ();
31233 if ac_fn_c_try_link
"$LINENO"; then :
31234 eval "$as_ac_Lib=yes"
31236 eval "$as_ac_Lib=no"
31238 rm -f core conftest.err conftest.
$ac_objext \
31239 conftest
$ac_exeext conftest.
$ac_ext
31240 LIBS
=$ac_check_lib_save_LIBS
31242 eval ac_res
=\$
$as_ac_Lib
31243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31244 $as_echo "$ac_res" >&6; }
31245 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31246 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31255 if test "x$INET_LINK" != "x"; then
31256 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31258 INET_LINK
=" -l$INET_LINK"
31262 for wx_func
in fdopen
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31265 $as_echo_n "checking for $wx_func... " >&6; }
31266 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31267 $as_echo_n "(cached) " >&6
31270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31271 /* end confdefs.h. */
31275 $ac_includes_default
31291 if ac_fn_c_try_link
"$LINENO"; then :
31292 eval wx_cv_func_
$wx_func=yes
31294 eval wx_cv_func_
$wx_func=no
31296 rm -f core conftest.err conftest.
$ac_objext \
31297 conftest
$ac_exeext conftest.
$ac_ext
31300 eval ac_res
=\
$wx_cv_func_$wx_func
31301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31302 $as_echo "$ac_res" >&6; }
31304 if eval test \
$wx_cv_func_$wx_func = yes
31306 cat >>confdefs.h
<<_ACEOF
31307 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31318 if test "$wxUSE_TARSTREAM" = "yes"; then
31320 for wx_func
in sysconf
31322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31323 $as_echo_n "checking for $wx_func... " >&6; }
31324 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31325 $as_echo_n "(cached) " >&6
31328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31329 /* end confdefs.h. */
31333 $ac_includes_default
31349 if ac_fn_c_try_link
"$LINENO"; then :
31350 eval wx_cv_func_
$wx_func=yes
31352 eval wx_cv_func_
$wx_func=no
31354 rm -f core conftest.err conftest.
$ac_objext \
31355 conftest
$ac_exeext conftest.
$ac_ext
31358 eval ac_res
=\
$wx_cv_func_$wx_func
31359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31360 $as_echo "$ac_res" >&6; }
31362 if eval test \
$wx_cv_func_$wx_func = yes
31364 cat >>confdefs.h
<<_ACEOF
31365 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31377 for wx_func
in getpwuid_r
31379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31380 $as_echo_n "checking for $wx_func... " >&6; }
31381 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31382 $as_echo_n "(cached) " >&6
31385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31386 /* end confdefs.h. */
31393 $ac_includes_default
31403 struct passwd pw, *ppw;
31405 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31413 if ac_fn_c_try_link
"$LINENO"; then :
31414 eval wx_cv_func_
$wx_func=yes
31416 eval wx_cv_func_
$wx_func=no
31418 rm -f core conftest.err conftest.
$ac_objext \
31419 conftest
$ac_exeext conftest.
$ac_ext
31422 eval ac_res
=\
$wx_cv_func_$wx_func
31423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31424 $as_echo "$ac_res" >&6; }
31426 if eval test \
$wx_cv_func_$wx_func = yes
31428 cat >>confdefs.h
<<_ACEOF
31429 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31441 for wx_func
in getgrgid_r
31443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31444 $as_echo_n "checking for $wx_func... " >&6; }
31445 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31446 $as_echo_n "(cached) " >&6
31449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31450 /* end confdefs.h. */
31457 $ac_includes_default
31467 struct group grp, *pgrp;
31469 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31477 if ac_fn_c_try_link
"$LINENO"; then :
31478 eval wx_cv_func_
$wx_func=yes
31480 eval wx_cv_func_
$wx_func=no
31482 rm -f core conftest.err conftest.
$ac_objext \
31483 conftest
$ac_exeext conftest.
$ac_ext
31486 eval ac_res
=\
$wx_cv_func_$wx_func
31487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31488 $as_echo "$ac_res" >&6; }
31490 if eval test \
$wx_cv_func_$wx_func = yes
31492 cat >>confdefs.h
<<_ACEOF
31493 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31509 cat >confcache
<<\_ACEOF
31510 # This file is a shell script that caches the results of configure
31511 # tests run on this system so they can be shared between configure
31512 # scripts and configure runs, see configure's option --config-cache.
31513 # It is not useful on other systems. If it contains results you don't
31514 # want to keep, you may remove or edit it.
31516 # config.status only pays attention to the cache file if you give it
31517 # the --recheck option to rerun configure.
31519 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31520 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31521 # following values.
31525 # The following way of writing the cache mishandles newlines in values,
31526 # but we know of no workaround that is simple, portable, and efficient.
31527 # So, we kill variables containing newlines.
31528 # Ultrix sh set writes to stderr and can't be redirected directly,
31529 # and sets the high bit in the cache file unless we assign to the vars.
31531 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31532 eval ac_val
=\$
$ac_var
31536 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31537 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31540 _
| IFS
| as_nl
) ;; #(
31541 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31542 *) { eval $ac_var=; unset $ac_var;} ;;
31548 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31549 *${as_nl}ac_space
=\
*)
31550 # `set' does not quote correctly, so add quotes: double-quote
31551 # substitution turns \\\\ into \\, and sed turns \\ into \.
31554 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31557 # `set' quotes correctly as required by POSIX, so do not add quotes.
31558 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31567 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31569 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31571 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31572 if test -w "$cache_file"; then
31573 test "x$cache_file" != "x/dev/null" &&
31574 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31575 $as_echo "$as_me: updating cache $cache_file" >&6;}
31576 cat confcache
>$cache_file
31578 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31579 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31585 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31591 if test "$wxUSE_THREADS" = "yes" ; then
31592 if test "$USE_BEOS" = 1; then
31593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31594 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31599 if test "$wxUSE_THREADS" = "yes" ; then
31602 THREAD_OPTS
="-pthread"
31603 if test "x$SUNCXX" = xyes
; then
31604 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31608 *-*-solaris2* | *-*-sunos4* )
31609 if test "x$GCC" = "xyes"; then
31610 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31614 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31616 *-*-darwin* | *-*-cygwin* )
31620 THREAD_OPTS
="pthreads"
31623 if test "x$GCC" = "xyes"; then
31624 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
31632 if test "x$GCC" = "xyes"; then
31642 if test "x$GCC" != "xyes"; then
31643 THREAD_OPTS
="-Ethread"
31650 THREAD_OPTS
="none pthread"
31654 THREAD_OPTS
="$THREAD_OPTS pthread none"
31659 for flag
in $THREAD_OPTS; do
31662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31663 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31668 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31669 THREADS_CFLAGS
="$flag"
31673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31674 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31675 THREADS_LINK
="-l$flag"
31680 save_CFLAGS
="$CFLAGS"
31681 LIBS
="$THREADS_LINK $LIBS"
31682 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31685 /* end confdefs.h. */
31686 #include <pthread.h>
31690 pthread_create(0,0,0,0);
31695 if ac_fn_c_try_link
"$LINENO"; then :
31698 rm -f core conftest.err conftest.
$ac_objext \
31699 conftest
$ac_exeext conftest.
$ac_ext
31702 CFLAGS
="$save_CFLAGS"
31704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31705 $as_echo "$THREADS_OK" >&6; }
31706 if test "x$THREADS_OK" = "xyes"; then
31714 if test "x$THREADS_OK" != "xyes"; then
31716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31717 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31719 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31720 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31721 LIBS
="$THREADS_LINK $LIBS"
31723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31724 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31728 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31729 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31730 flag
="-D_THREAD_SAFE"
31733 flag
="-D_THREAD_SAFE"
31736 flag
="-D_REENTRANT"
31737 if test "x$GCC" != "xyes"; then
31738 flag
="$flag -D_RWSTD_MULTI_THREAD"
31741 *solaris
* | alpha
*-osf*)
31742 flag
="-D_REENTRANT"
31745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31746 $as_echo "${flag}" >&6; }
31747 if test "x$flag" != xno
; then
31748 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31751 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31755 if test "$wxUSE_THREADS" = "yes" ; then
31756 for ac_func
in pthread_setconcurrency
31758 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31759 if test "x$ac_cv_func_pthread_setconcurrency" = x
""yes; then :
31760 cat >>confdefs.h
<<_ACEOF
31761 #define HAVE_PTHREAD_SETCONCURRENCY 1
31763 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31767 for ac_func
in thr_setconcurrency
31769 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31770 if test "x$ac_cv_func_thr_setconcurrency" = x
""yes; then :
31771 cat >>confdefs.h
<<_ACEOF
31772 #define HAVE_THR_SETCONCURRENCY 1
31774 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31778 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31788 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31789 if test "${wx_cv_func_pthread_cleanup+set}" = set; then :
31790 $as_echo_n "(cached) " >&6
31794 ac_cpp
='$CXXCPP $CPPFLAGS'
31795 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31796 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31797 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31800 /* end confdefs.h. */
31801 #include <pthread.h>
31802 void ThreadCleanupFunc(void *p);
31809 pthread_cleanup_push(ThreadCleanupFunc, p);
31810 pthread_cleanup_pop(0);
31816 if ac_fn_cxx_try_compile
"$LINENO"; then :
31818 wx_cv_func_pthread_cleanup
=yes
31822 wx_cv_func_pthread_cleanup
=no
31826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31828 ac_cpp
='$CPP $CPPFLAGS'
31829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31836 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31837 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31838 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31842 for ac_header
in sched.h
31844 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31846 if test "x$ac_cv_header_sched_h" = x
""yes; then :
31847 cat >>confdefs.h
<<_ACEOF
31848 #define HAVE_SCHED_H 1
31855 if test "$ac_cv_header_sched_h" = "yes"; then
31856 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31857 if test "x$ac_cv_func_sched_yield" = x
""yes; then :
31858 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31863 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31864 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
31865 $as_echo_n "(cached) " >&6
31867 ac_check_lib_save_LIBS
=$LIBS
31868 LIBS
="-lposix4 $LIBS"
31869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31870 /* end confdefs.h. */
31872 /* Override any GCC internal prototype to avoid an error.
31873 Use char because int might match the return type of a GCC
31874 builtin and then its argument prototype would still apply. */
31878 char sched_yield ();
31882 return sched_yield ();
31887 if ac_fn_c_try_link
"$LINENO"; then :
31888 ac_cv_lib_posix4_sched_yield
=yes
31890 ac_cv_lib_posix4_sched_yield
=no
31892 rm -f core conftest.err conftest.
$ac_objext \
31893 conftest
$ac_exeext conftest.
$ac_ext
31894 LIBS
=$ac_check_lib_save_LIBS
31896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31897 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31898 if test "x$ac_cv_lib_posix4_sched_yield" = x
""yes; then :
31899 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31900 POSIX4_LINK
=" -lposix4"
31902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31903 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31914 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
31915 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = x
""yes; then :
31916 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
31917 if test "x$ac_cv_func_pthread_attr_setschedparam" = x
""yes; then :
31918 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
31919 if test "x$ac_cv_func_sched_get_priority_max" = x
""yes; then :
31922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
31923 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
31924 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then :
31925 $as_echo_n "(cached) " >&6
31927 ac_check_lib_save_LIBS
=$LIBS
31928 LIBS
="-lposix4 $LIBS"
31929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31930 /* end confdefs.h. */
31932 /* Override any GCC internal prototype to avoid an error.
31933 Use char because int might match the return type of a GCC
31934 builtin and then its argument prototype would still apply. */
31938 char sched_get_priority_max ();
31942 return sched_get_priority_max ();
31947 if ac_fn_c_try_link
"$LINENO"; then :
31948 ac_cv_lib_posix4_sched_get_priority_max
=yes
31950 ac_cv_lib_posix4_sched_get_priority_max
=no
31952 rm -f core conftest.err conftest.
$ac_objext \
31953 conftest
$ac_exeext conftest.
$ac_ext
31954 LIBS
=$ac_check_lib_save_LIBS
31956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
31957 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
31958 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = x
""yes; then :
31961 POSIX4_LINK
=" -lposix4"
31975 if test "$HAVE_PRIOR_FUNCS" = 1; then
31976 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
31979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
31980 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
31983 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
31984 if test "x$ac_cv_func_pthread_cancel" = x
""yes; then :
31985 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
31988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
31989 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
31993 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
31994 if test "x$ac_cv_func_pthread_mutex_timedlock" = x
""yes; then :
31995 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
31998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
31999 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32003 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32004 if test "x$ac_cv_func_pthread_attr_setstacksize" = x
""yes; then :
32005 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32012 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32013 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then :
32014 $as_echo_n "(cached) " >&6
32017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32018 /* end confdefs.h. */
32019 #include <pthread.h>
32024 pthread_mutexattr_t attr;
32025 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32031 if ac_fn_c_try_compile
"$LINENO"; then :
32032 wx_cv_type_pthread_mutexattr_t
=yes
32034 wx_cv_type_pthread_mutexattr_t
=no
32037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32041 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32043 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32044 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32048 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32049 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then :
32050 $as_echo_n "(cached) " >&6
32053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32054 /* end confdefs.h. */
32055 #include <pthread.h>
32060 pthread_mutexattr_t attr;
32061 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32067 if ac_fn_c_try_compile
"$LINENO"; then :
32068 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32070 wx_cv_func_pthread_mutexattr_settype_decl
=no
32073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32077 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32078 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32079 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32084 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32085 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then :
32086 $as_echo_n "(cached) " >&6
32089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32090 /* end confdefs.h. */
32091 #include <pthread.h>
32096 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32102 if ac_fn_c_try_compile
"$LINENO"; then :
32104 wx_cv_type_pthread_rec_mutex_init
=yes
32108 wx_cv_type_pthread_rec_mutex_init
=no
32112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32116 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32117 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32118 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32122 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32126 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32127 if test "$USE_NETBSD" = 1; then
32128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32129 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32130 wxUSE_COMPILER_TLS
=no
32132 wxUSE_COMPILER_TLS
=yes
32136 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32138 $as_echo_n "checking for __thread keyword... " >&6; }
32139 if test "${wx_cv_cc___thread+set}" = set; then :
32140 $as_echo_n "(cached) " >&6
32143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32144 /* end confdefs.h. */
32145 #include <pthread.h>
32150 static __thread int n = 0;
32151 static __thread int *p = 0;
32157 if ac_fn_c_try_compile
"$LINENO"; then :
32158 wx_cv_cc___thread
=yes
32160 wx_cv_cc___thread
=no
32163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32168 $as_echo "$wx_cv_cc___thread" >&6; }
32170 if test "$wx_cv_cc___thread" = "yes"; then
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32177 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32179 if test "x$GCC" = "xyes" ; then :
32181 if test -z "" ; then :
32183 ax_gcc_option_test
="int main()
32190 ax_gcc_option_test
=""
32194 # Dump the test program to file
32195 cat <<EOF > conftest.c
32196 $ax_gcc_option_test
32199 # Dump back the file to the log, useful for debugging purposes
32200 { ac_try
='cat conftest.c 1>&5'
32201 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32202 (eval $ac_try) 2>&5
32204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32205 test $ac_status = 0; }; }
32207 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32208 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32209 (eval $ac_try) 2>&5
32211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32212 test $ac_status = 0; }; } ; then :
32214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32215 $as_echo "yes" >&6; }
32217 ax_gcc_version_option
=yes
32222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32223 $as_echo "no" >&6; }
32225 ax_gcc_version_option
=no
32232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32233 $as_echo "no gcc available" >&6; }
32237 if test "x$GXX" = "xyes"; then :
32239 if test "x$ax_gxx_version_option" != "no"; then :
32241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32242 $as_echo_n "checking gxx version... " >&6; }
32243 if test "${ax_cv_gxx_version+set}" = set; then :
32244 $as_echo_n "(cached) " >&6
32247 ax_cv_gxx_version
="`$CXX -dumpversion`"
32248 if test "x$ax_cv_gxx_version" = "x"; then :
32250 ax_cv_gxx_version
=""
32255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32256 $as_echo "$ax_cv_gxx_version" >&6; }
32257 GXX_VERSION
=$ax_cv_gxx_version
32264 if test -n "$ax_cv_gxx_version"; then
32265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32266 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32267 case "$ax_cv_gxx_version" in
32269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32270 $as_echo "no, it's broken" >&6; }
32271 wx_cv_cc___thread
=no
32274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32275 $as_echo "yes, it works" >&6; }
32281 if test "$wx_cv_cc___thread" = "yes"; then
32282 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32289 if test "$wxUSE_THREADS" = "yes" ; then
32291 x86_64
-*-mingw32* )
32294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32295 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32296 if test "${wx_cv_cflags_mthread+set}" = set; then :
32297 $as_echo_n "(cached) " >&6
32300 CFLAGS_OLD
="$CFLAGS"
32301 CFLAGS
="-mthreads $CFLAGS"
32302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32303 /* end confdefs.h. */
32313 if ac_fn_c_try_compile
"$LINENO"; then :
32314 wx_cv_cflags_mthread
=yes
32316 wx_cv_cflags_mthread
=no
32319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32324 $as_echo "$wx_cv_cflags_mthread" >&6; }
32326 if test "$wx_cv_cflags_mthread" = "yes"; then
32327 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32328 LDFLAGS
="$LDFLAGS -mthreads"
32330 CFLAGS
="$CFLAGS_OLD"
32334 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32335 LDFLAGS
="$LDFLAGS -Zmt"
32341 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32342 if test "x$ac_cv_func_localtime_r" = x
""yes; then :
32343 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32347 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32348 if test "x$ac_cv_func_gmtime_r" = x
""yes; then :
32349 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32357 ac_cpp
='$CPP $CPPFLAGS'
32358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32363 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32365 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
32366 $as_echo_n "(cached) " >&6
32370 ################################################################
32372 ac_cv_func_which_gethostbyname_r
=unknown
32375 # ONE ARGUMENT (sanity check)
32378 # This should fail, as there is no variant of gethostbyname_r() that takes
32379 # a single argument. If it actually compiles, then we can assume that
32380 # netdb.h is not declaring the function, and the compiler is thereby
32381 # assuming an implicit prototype. In which case, we're out of luck.
32383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32384 /* end confdefs.h. */
32390 char *name = "www.gnu.org";
32391 (void)gethostbyname_r(name) /* ; */
32398 if ac_fn_c_try_compile
"$LINENO"; then :
32399 ac_cv_func_which_gethostbyname_r
=no
32402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32409 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32412 /* end confdefs.h. */
32418 char *name = "www.gnu.org";
32419 struct hostent ret, *retp;
32423 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32430 if ac_fn_c_try_compile
"$LINENO"; then :
32431 ac_cv_func_which_gethostbyname_r
=six
32434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32443 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32446 /* end confdefs.h. */
32452 char *name = "www.gnu.org";
32453 struct hostent ret;
32457 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32464 if ac_fn_c_try_compile
"$LINENO"; then :
32465 ac_cv_func_which_gethostbyname_r
=five
32468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32474 # (e.g. AIX, HP-UX, Tru64)
32477 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32480 /* end confdefs.h. */
32486 char *name = "www.gnu.org";
32487 struct hostent ret;
32488 struct hostent_data data;
32489 (void)gethostbyname_r(name, &ret, &data) /* ; */
32496 if ac_fn_c_try_compile
"$LINENO"; then :
32497 ac_cv_func_which_gethostbyname_r
=three
32500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32504 ################################################################
32509 case "$ac_cv_func_which_gethostbyname_r" in
32511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32512 $as_echo "three" >&6; }
32513 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32519 $as_echo "five" >&6; }
32520 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32526 $as_echo "six" >&6; }
32527 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32533 $as_echo "cannot find function declaration in netdb.h" >&6; }
32537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32538 $as_echo "can't tell" >&6; }
32542 as_fn_error $?
"internal error" "$LINENO" 5
32547 ac_cpp
='$CPP $CPPFLAGS'
32548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32554 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32555 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32556 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32557 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
32558 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32565 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32566 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then :
32567 $as_echo_n "(cached) " >&6
32571 ac_cpp
='$CXXCPP $CPPFLAGS'
32572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32578 /* end confdefs.h. */
32586 struct servent *se, *res;
32589 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32595 if ac_fn_cxx_try_compile
"$LINENO"; then :
32596 ac_cv_func_which_getservbyname_r
=six
32599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32600 /* end confdefs.h. */
32608 struct servent *se;
32611 (void) getservbyname_r(name, proto, se, buffer, buflen)
32617 if ac_fn_cxx_try_compile
"$LINENO"; then :
32618 ac_cv_func_which_getservbyname_r
=five
32621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32622 /* end confdefs.h. */
32630 struct servent *se;
32631 struct servent_data data;
32632 (void) getservbyname_r(name, proto, se, &data);
32638 if ac_fn_cxx_try_compile
"$LINENO"; then :
32639 ac_cv_func_which_getservbyname_r
=four
32641 ac_cv_func_which_getservbyname_r
=no
32644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32654 ac_cpp
='$CPP $CPPFLAGS'
32655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32663 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32665 if test $ac_cv_func_which_getservbyname_r = six
; then
32666 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32668 elif test $ac_cv_func_which_getservbyname_r = five
; then
32669 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32671 elif test $ac_cv_func_which_getservbyname_r = four
; then
32672 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32677 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32678 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32679 for ac_func
in getservbyname
32681 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32682 if test "x$ac_cv_func_getservbyname" = x
""yes; then :
32683 cat >>confdefs.h
<<_ACEOF
32684 #define HAVE_GETSERVBYNAME 1
32686 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32693 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32696 if test "$wxUSE_THREADS" = "yes"; then
32697 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
32702 if test "$wx_cv_func_strtok_r" = "yes"; then
32703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32704 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32705 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32706 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32708 $as_echo "yes" >&6; }
32710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32711 $as_echo "no" >&6; }
32716 if test "$WXGTK3" = 1 ; then
32717 cat >>confdefs.h
<<_ACEOF
32718 #define __WXGTK3__ 1
32723 if test "$WXGTK2" = 1 ; then
32724 cat >>confdefs.h
<<_ACEOF
32725 #define __WXGTK20__ $WXGTK2
32730 if test "$WXGTK127" = 1 ; then
32731 cat >>confdefs.h
<<_ACEOF
32732 #define __WXGTK127__ $WXGTK127
32737 if test "$WXGPE" = 1 ; then
32738 cat >>confdefs.h
<<_ACEOF
32739 #define __WXGPE__ $WXGPE
32745 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32747 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32748 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32752 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32753 wxUSE_DEBUG_INFO
=yes
32754 if test "$GCC" = yes; then
32755 DEBUG_CFLAGS
="-ggdb"
32759 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32760 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32762 if test "$wxUSE_GTK" = 1 ; then
32763 if test "$WXGTK2" = 1 ; then
32764 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32766 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32771 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32772 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32774 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32776 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
32781 if test "$wxUSE_DMALLOC" = "yes" ; then
32782 DMALLOC_LIBS
="-ldmallocthcxx"
32786 if test "$wxUSE_PROFILE" = "yes" ; then
32787 PROFILE_FLAGS
=" -pg"
32790 if test "$GCC" = "yes" ; then
32791 if test "$wxUSE_NO_RTTI" = "yes" ; then
32792 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32794 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32795 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
32797 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32798 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
32803 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
32806 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
32812 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32814 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32816 if test "$wxUSE_OPTIMISE" = "no" ; then
32817 if test "$GCC" = yes ; then
32818 OPTIMISE_CFLAGS
="-O0"
32821 if test "$GCC" = yes ; then
32823 *-pc-os2_emx | *-pc-os2-emx )
32824 OPTIMISE_CFLAGS
="-O2"
32827 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
32831 OPTIMISE_CFLAGS
="-O"
32837 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32838 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32841 WXWIN_COMPATIBILITY_2_8
="yes"
32844 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32845 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32850 if test "$wxUSE_GUI" = "yes"; then
32851 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32857 if test "$wxUSE_UNIX" = "yes"; then
32858 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32863 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32867 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32868 if test "$USE_DOS" = 1; then
32871 for ac_func
in dlopen
32873 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
32874 if test "x$ac_cv_func_dlopen" = x
""yes; then :
32875 cat >>confdefs.h
<<_ACEOF
32876 #define HAVE_DLOPEN 1
32879 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32886 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32887 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
32888 $as_echo_n "(cached) " >&6
32890 ac_check_lib_save_LIBS
=$LIBS
32892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32893 /* end confdefs.h. */
32895 /* Override any GCC internal prototype to avoid an error.
32896 Use char because int might match the return type of a GCC
32897 builtin and then its argument prototype would still apply. */
32910 if ac_fn_c_try_link
"$LINENO"; then :
32911 ac_cv_lib_dl_dlopen
=yes
32913 ac_cv_lib_dl_dlopen
=no
32915 rm -f core conftest.err conftest.
$ac_objext \
32916 conftest
$ac_exeext conftest.
$ac_ext
32917 LIBS
=$ac_check_lib_save_LIBS
32919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32920 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32921 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
32923 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32926 DL_LINK
=" -ldl$DL_LINK"
32930 for ac_func
in shl_load
32932 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
32933 if test "x$ac_cv_func_shl_load" = x
""yes; then :
32934 cat >>confdefs.h
<<_ACEOF
32935 #define HAVE_SHL_LOAD 1
32938 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
32944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
32945 $as_echo_n "checking for dld in -lshl_load... " >&6; }
32946 if test "${ac_cv_lib_shl_load_dld+set}" = set; then :
32947 $as_echo_n "(cached) " >&6
32949 ac_check_lib_save_LIBS
=$LIBS
32950 LIBS
="-lshl_load $LIBS"
32951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32952 /* end confdefs.h. */
32954 /* Override any GCC internal prototype to avoid an error.
32955 Use char because int might match the return type of a GCC
32956 builtin and then its argument prototype would still apply. */
32969 if ac_fn_c_try_link
"$LINENO"; then :
32970 ac_cv_lib_shl_load_dld
=yes
32972 ac_cv_lib_shl_load_dld
=no
32974 rm -f core conftest.err conftest.
$ac_objext \
32975 conftest
$ac_exeext conftest.
$ac_ext
32976 LIBS
=$ac_check_lib_save_LIBS
32978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
32979 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
32980 if test "x$ac_cv_lib_shl_load_dld" = x
""yes; then :
32983 DL_LINK
=" -ldld$DL_LINK"
32999 if test "$HAVE_DL_FUNCS" = 1; then
33000 for ac_func
in dlerror
33002 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33003 if test "x$ac_cv_func_dlerror" = x
""yes; then :
33004 cat >>confdefs.h
<<_ACEOF
33005 #define HAVE_DLERROR 1
33007 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33012 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33013 if test "${ac_cv_lib_dl_dlerror+set}" = set; then :
33014 $as_echo_n "(cached) " >&6
33016 ac_check_lib_save_LIBS
=$LIBS
33018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33019 /* end confdefs.h. */
33021 /* Override any GCC internal prototype to avoid an error.
33022 Use char because int might match the return type of a GCC
33023 builtin and then its argument prototype would still apply. */
33036 if ac_fn_c_try_link
"$LINENO"; then :
33037 ac_cv_lib_dl_dlerror
=yes
33039 ac_cv_lib_dl_dlerror
=no
33041 rm -f core conftest.err conftest.
$ac_objext \
33042 conftest
$ac_exeext conftest.
$ac_ext
33043 LIBS
=$ac_check_lib_save_LIBS
33045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33046 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33047 if test "x$ac_cv_lib_dl_dlerror" = x
""yes; then :
33048 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33060 if test "$USE_DARWIN" = 1; then
33064 if test "$HAVE_DL_FUNCS" = 0; then
33065 if test "$HAVE_SHL_FUNCS" = 0; then
33066 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33068 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33069 wxUSE_DYNAMIC_LOADER
=no
33070 wxUSE_DYNLIB_CLASS
=no
33072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33073 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33080 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33081 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33084 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33085 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33091 if test "$wxUSE_PLUGINS" = "yes" ; then
33092 if test "$wxUSE_SHARED" = "no" ; then
33093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33094 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33097 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33099 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33102 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33104 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33107 if test "$wxUSE_PLUGINS" = "yes" ; then
33108 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33114 if test "$wxUSE_FSWATCHER" = "yes"; then
33115 if test "$wxUSE_MSW" != "1"; then
33116 if test "$wxUSE_UNIX" = "yes"; then
33117 for ac_header
in sys
/inotify.h
33119 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33121 if test "x$ac_cv_header_sys_inotify_h" = x
""yes; then :
33122 cat >>confdefs.h
<<_ACEOF
33123 #define HAVE_SYS_INOTIFY_H 1
33130 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33131 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33134 for ac_header
in sys
/event.h
33136 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33138 if test "x$ac_cv_header_sys_event_h" = x
""yes; then :
33139 cat >>confdefs.h
<<_ACEOF
33140 #define HAVE_SYS_EVENT_H 1
33147 if test "$ac_cv_header_sys_event_h" = "yes"; then
33148 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33158 if test "$wxUSE_THREADS" != "yes"; then
33159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33160 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33165 if test "$wxUSE_FSWATCHER" = "yes"; then
33166 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33168 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33171 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33176 if test "$wxUSE_STL" = "yes"; then
33177 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33181 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33182 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33186 if test "$wxUSE_ANY" = "yes"; then
33187 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33191 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33192 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33196 if test "$wxUSE_TIMER" = "yes"; then
33197 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33201 if test "$USE_UNIX" = 1 ; then
33202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33203 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33204 if test "${ac_cv_header_sys_soundcard+set}" = set; then :
33205 $as_echo_n "(cached) " >&6
33208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33209 /* end confdefs.h. */
33211 #include <sys/ioctl.h>
33212 #include <sys/soundcard.h>
33218 ioctl(0, SNDCTL_DSP_SPEED, 0);
33224 if ac_fn_c_try_link
"$LINENO"; then :
33225 ac_cv_header_sys_soundcard
=yes
33229 LIBS
="$saveLibs -lossaudio"
33230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33231 /* end confdefs.h. */
33233 #include <sys/ioctl.h>
33234 #include <sys/soundcard.h>
33240 ioctl(0, SNDCTL_DSP_SPEED, 0);
33246 if ac_fn_c_try_link
"$LINENO"; then :
33247 ac_cv_header_sys_soundcard
=yes
33251 ac_cv_header_sys_soundcard
=no
33255 rm -f core conftest.err conftest.
$ac_objext \
33256 conftest
$ac_exeext conftest.
$ac_ext
33260 rm -f core conftest.err conftest.
$ac_objext \
33261 conftest
$ac_exeext conftest.
$ac_ext
33264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33265 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33267 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33268 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33274 if test "$wxUSE_SOUND" = "yes"; then
33275 if test "$USE_UNIX" = 1 ; then
33276 if test "$wxUSE_LIBSDL" != "no"; then
33278 # Check whether --with-sdl-prefix was given.
33279 if test "${with_sdl_prefix+set}" = set; then :
33280 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33286 # Check whether --with-sdl-exec-prefix was given.
33287 if test "${with_sdl_exec_prefix+set}" = set; then :
33288 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33293 # Check whether --enable-sdltest was given.
33294 if test "${enable_sdltest+set}" = set; then :
33295 enableval
=$enable_sdltest;
33301 if test x
$sdl_exec_prefix != x
; then
33302 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33303 if test x
${SDL_CONFIG+set} != xset
; then
33304 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33307 if test x
$sdl_prefix != x
; then
33308 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33309 if test x
${SDL_CONFIG+set} != xset
; then
33310 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33314 if test "x$prefix" != xNONE
; then
33315 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33317 # Extract the first word of "sdl-config", so it can be a program name with args.
33318 set dummy sdl
-config; ac_word
=$2
33319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33320 $as_echo_n "checking for $ac_word... " >&6; }
33321 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
33322 $as_echo_n "(cached) " >&6
33324 case $SDL_CONFIG in
33326 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33330 for as_dir
in $PATH
33333 test -z "$as_dir" && as_dir
=.
33334 for ac_exec_ext
in '' $ac_executable_extensions; do
33335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33336 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33344 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33348 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33349 if test -n "$SDL_CONFIG"; then
33350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33351 $as_echo "$SDL_CONFIG" >&6; }
33353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33354 $as_echo "no" >&6; }
33358 min_sdl_version
=1.2.0
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33360 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33362 if test "$SDL_CONFIG" = "no" ; then
33365 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33366 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33368 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33369 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33370 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33371 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33372 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33373 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33374 if test "x$enable_sdltest" = "xyes" ; then
33375 ac_save_CFLAGS
="$CFLAGS"
33376 ac_save_CXXFLAGS
="$CXXFLAGS"
33377 ac_save_LIBS
="$LIBS"
33378 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33379 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33380 LIBS
="$LIBS $SDL_LIBS"
33382 if test "$cross_compiling" = yes; then :
33383 echo $ac_n "cross compiling; assumed OK... $ac_c"
33385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33386 /* end confdefs.h. */
33389 #include <stdlib.h>
33390 #include <string.h>
33394 my_strdup (char *str)
33400 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33401 strcpy (new_str, str);
33409 int main (int argc, char *argv[])
33411 int major, minor, micro;
33414 /* This hangs on some systems (?)
33415 system ("touch conf.sdltest");
33417 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33419 /* HP/UX 9 (%@#!) writes to sscanf strings */
33420 tmp_version = my_strdup("$min_sdl_version");
33421 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33422 printf("%s, bad version string\n", "$min_sdl_version");
33426 if (($sdl_major_version > major) ||
33427 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33428 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33434 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33435 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33436 printf("*** best to upgrade to the required version.\n");
33437 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33438 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33439 printf("*** config.cache before re-running configure\n");
33446 if ac_fn_c_try_run
"$LINENO"; then :
33451 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33452 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33455 CFLAGS
="$ac_save_CFLAGS"
33456 CXXFLAGS
="$ac_save_CXXFLAGS"
33457 LIBS
="$ac_save_LIBS"
33460 if test "x$no_sdl" = x
; then
33461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33462 $as_echo "yes" >&6; }
33464 EXTRALIBS_SDL
="$SDL_LIBS"
33465 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33466 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33467 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33472 $as_echo "no" >&6; }
33473 if test "$SDL_CONFIG" = "no" ; then
33474 echo "*** The sdl-config script installed by SDL could not be found"
33475 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33476 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33477 echo "*** full path to sdl-config."
33479 if test -f conf.sdltest
; then
33482 echo "*** Could not run SDL test program, checking why..."
33483 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33484 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33485 LIBS
="$LIBS $SDL_LIBS"
33486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33487 /* end confdefs.h. */
33492 int main(int argc, char *argv[])
33495 #define main K_and_R_C_main
33505 if ac_fn_c_try_link
"$LINENO"; then :
33506 echo "*** The test program compiled, but did not run. This usually means"
33507 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33508 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33509 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33510 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33511 echo "*** is required on your system"
33513 echo "*** If you have an old version installed, it is best to remove it, although"
33514 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33516 echo "*** The test program failed to compile or link. See the file config.log for the"
33517 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33518 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33519 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33521 rm -f core conftest.err conftest.
$ac_objext \
33522 conftest
$ac_exeext conftest.
$ac_ext
33523 CFLAGS
="$ac_save_CFLAGS"
33524 CXXFLAGS
="$ac_save_CXXFLAGS"
33525 LIBS
="$ac_save_LIBS"
33536 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33543 if test "$wxUSE_SOUND" = "yes"; then
33544 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33549 if test "$WXGTK2" = 1; then
33552 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33553 if test -n "$ac_tool_prefix"; then
33554 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33555 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33557 $as_echo_n "checking for $ac_word... " >&6; }
33558 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
33559 $as_echo_n "(cached) " >&6
33561 case $PKG_CONFIG in
33563 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33567 for as_dir
in $PATH
33570 test -z "$as_dir" && as_dir
=.
33571 for ac_exec_ext
in '' $ac_executable_extensions; do
33572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33573 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33584 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33585 if test -n "$PKG_CONFIG"; then
33586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33587 $as_echo "$PKG_CONFIG" >&6; }
33589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33590 $as_echo "no" >&6; }
33595 if test -z "$ac_cv_path_PKG_CONFIG"; then
33596 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33597 # Extract the first word of "pkg-config", so it can be a program name with args.
33598 set dummy pkg
-config; ac_word
=$2
33599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33600 $as_echo_n "checking for $ac_word... " >&6; }
33601 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
33602 $as_echo_n "(cached) " >&6
33604 case $ac_pt_PKG_CONFIG in
33606 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33610 for as_dir
in $PATH
33613 test -z "$as_dir" && as_dir
=.
33614 for ac_exec_ext
in '' $ac_executable_extensions; do
33615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33616 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33627 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33628 if test -n "$ac_pt_PKG_CONFIG"; then
33629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33630 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33633 $as_echo "no" >&6; }
33636 if test "x$ac_pt_PKG_CONFIG" = x
; then
33639 case $cross_compiling:$ac_tool_warned in
33641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33643 ac_tool_warned
=yes ;;
33645 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33648 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33652 if test -n "$PKG_CONFIG"; then
33653 _pkg_min_version
=0.9.0
33654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33655 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33656 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33658 $as_echo "yes" >&6; }
33660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33661 $as_echo "no" >&6; }
33667 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33669 if test "$wxUSE_GTKPRINT" = "yes" ; then
33670 if test "$WXGTK3" = 1; then
33671 gtk_unix_print
="gtk+-unix-print-3.0"
33673 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
33677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33678 $as_echo_n "checking for GTKPRINT... " >&6; }
33680 if test -n "$PKG_CONFIG"; then
33681 if test -n "$GTKPRINT_CFLAGS"; then
33682 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
33684 if test -n "$PKG_CONFIG" && \
33685 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33686 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33689 test $ac_status = 0; }; then
33690 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33698 if test -n "$PKG_CONFIG"; then
33699 if test -n "$GTKPRINT_LIBS"; then
33700 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
33702 if test -n "$PKG_CONFIG" && \
33703 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33704 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33707 test $ac_status = 0; }; then
33708 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33719 if test $pkg_failed = yes; then
33721 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33722 _pkg_short_errors_supported
=yes
33724 _pkg_short_errors_supported
=no
33726 if test $_pkg_short_errors_supported = yes; then
33727 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33729 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33731 # Put the nasty error message in config.log where it belongs
33732 echo "$GTKPRINT_PKG_ERRORS" >&5
33735 { $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
33736 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33737 wxUSE_GTKPRINT
="no"
33740 elif test $pkg_failed = untried
; then
33742 { $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
33743 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33744 wxUSE_GTKPRINT
="no"
33748 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
33749 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
33750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33751 $as_echo "yes" >&6; }
33753 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
33754 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
33755 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33761 if test "$WXGTK3" = 1; then
33762 wxUSE_LIBGNOMEPRINT
=no
33765 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33770 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33772 if test -n "$PKG_CONFIG"; then
33773 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33774 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
33776 if test -n "$PKG_CONFIG" && \
33777 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33778 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33781 test $ac_status = 0; }; then
33782 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33790 if test -n "$PKG_CONFIG"; then
33791 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33792 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
33794 if test -n "$PKG_CONFIG" && \
33795 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33796 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33799 test $ac_status = 0; }; then
33800 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33811 if test $pkg_failed = yes; then
33813 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33814 _pkg_short_errors_supported
=yes
33816 _pkg_short_errors_supported
=no
33818 if test $_pkg_short_errors_supported = yes; then
33819 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33821 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33823 # Put the nasty error message in config.log where it belongs
33824 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33827 if test "$wxUSE_GTKPRINT" = yes; then
33828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33829 $as_echo "no" >&6; }
33831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33832 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33834 wxUSE_LIBGNOMEPRINT
="no"
33837 elif test $pkg_failed = untried
; then
33839 if test "$wxUSE_GTKPRINT" = yes; then
33840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33841 $as_echo "no" >&6; }
33843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33844 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33846 wxUSE_LIBGNOMEPRINT
="no"
33850 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33851 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33853 $as_echo "yes" >&6; }
33855 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33856 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33857 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33864 if test "$wxUSE_MIMETYPE" = "yes" ; then
33865 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33870 $as_echo_n "checking for GNOMEVFS... " >&6; }
33872 if test -n "$PKG_CONFIG"; then
33873 if test -n "$GNOMEVFS_CFLAGS"; then
33874 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
33876 if test -n "$PKG_CONFIG" && \
33877 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33878 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33881 test $ac_status = 0; }; then
33882 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33890 if test -n "$PKG_CONFIG"; then
33891 if test -n "$GNOMEVFS_LIBS"; then
33892 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
33894 if test -n "$PKG_CONFIG" && \
33895 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33896 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33899 test $ac_status = 0; }; then
33900 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33911 if test $pkg_failed = yes; then
33913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33914 _pkg_short_errors_supported
=yes
33916 _pkg_short_errors_supported
=no
33918 if test $_pkg_short_errors_supported = yes; then
33919 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33921 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33923 # Put the nasty error message in config.log where it belongs
33924 echo "$GNOMEVFS_PKG_ERRORS" >&5
33927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33928 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33929 wxUSE_LIBGNOMEVFS
="no"
33932 elif test $pkg_failed = untried
; then
33934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33935 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33936 wxUSE_LIBGNOMEVFS
="no"
33940 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
33941 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
33942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33943 $as_echo "yes" >&6; }
33945 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
33946 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
33947 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
33954 if test "$wxUSE_LIBHILDON" = "yes" ; then
33957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
33958 $as_echo_n "checking for HILDON... " >&6; }
33960 if test -n "$PKG_CONFIG"; then
33961 if test -n "$HILDON_CFLAGS"; then
33962 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
33964 if test -n "$PKG_CONFIG" && \
33965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33966 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33969 test $ac_status = 0; }; then
33970 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
33978 if test -n "$PKG_CONFIG"; then
33979 if test -n "$HILDON_LIBS"; then
33980 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
33982 if test -n "$PKG_CONFIG" && \
33983 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33984 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33987 test $ac_status = 0; }; then
33988 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
33999 if test $pkg_failed = yes; then
34001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34002 _pkg_short_errors_supported
=yes
34004 _pkg_short_errors_supported
=no
34006 if test $_pkg_short_errors_supported = yes; then
34007 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34009 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34011 # Put the nasty error message in config.log where it belongs
34012 echo "$HILDON_PKG_ERRORS" >&5
34015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34016 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34017 wxUSE_LIBHILDON
="no"
34021 elif test $pkg_failed = untried
; then
34023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34024 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34025 wxUSE_LIBHILDON
="no"
34030 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34031 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34033 $as_echo "yes" >&6; }
34035 EXTRALIBS_HILDON
="$HILDON_LIBS"
34036 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34037 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34038 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34044 if test "$ac_hildon_lgpl" = 0 ; then
34047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34048 $as_echo_n "checking for HILDON2... " >&6; }
34050 if test -n "$PKG_CONFIG"; then
34051 if test -n "$HILDON2_CFLAGS"; then
34052 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34054 if test -n "$PKG_CONFIG" && \
34055 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34056 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34059 test $ac_status = 0; }; then
34060 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34068 if test -n "$PKG_CONFIG"; then
34069 if test -n "$HILDON2_LIBS"; then
34070 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34072 if test -n "$PKG_CONFIG" && \
34073 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34074 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34077 test $ac_status = 0; }; then
34078 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34089 if test $pkg_failed = yes; then
34091 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34092 _pkg_short_errors_supported
=yes
34094 _pkg_short_errors_supported
=no
34096 if test $_pkg_short_errors_supported = yes; then
34097 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34099 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34101 # Put the nasty error message in config.log where it belongs
34102 echo "$HILDON2_PKG_ERRORS" >&5
34105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34106 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34107 wxUSE_LIBHILDON2
="no"
34110 elif test $pkg_failed = untried
; then
34112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34113 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34114 wxUSE_LIBHILDON2
="no"
34118 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34119 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34121 $as_echo "yes" >&6; }
34123 EXTRALIBS_HILDON
="$HILDON2_LIBS"
34124 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34125 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34126 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34134 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34135 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34139 if test "$wxUSE_STOPWATCH" = "yes"; then
34140 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34144 if test "$wxUSE_DATETIME" = "yes"; then
34145 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34149 if test "$wxUSE_FILE" = "yes"; then
34150 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34154 if test "$wxUSE_FFILE" = "yes"; then
34155 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34159 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34160 if test "$wxUSE_STREAMS" != yes; then
34161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34162 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34163 wxUSE_ARCHIVE_STREAMS
=no
34165 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34170 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34171 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34173 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34174 elif test "$wxUSE_ZLIB" = "no"; then
34175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34176 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34178 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34183 if test "$wxUSE_TARSTREAM" = "yes"; then
34184 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34186 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34188 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34193 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34194 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34198 if test "$wxUSE_FILESYSTEM" = "yes"; then
34199 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34201 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34202 wxUSE_FILESYSTEM
=no
34204 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34209 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34210 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34212 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34214 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34219 if test "$wxUSE_FS_ZIP" = "yes"; then
34220 if test "$wxUSE_FS_ARCHIVE" != yes; then
34221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34222 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34224 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34229 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34230 if test "$USE_UNIX" != 1; then
34231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34232 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34233 wxUSE_ON_FATAL_EXCEPTION
=no
34235 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34240 if test "$wxUSE_STACKWALKER" = "yes"; then
34241 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34245 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34246 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34248 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34249 wxUSE_DEBUGREPORT
=no
34251 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34253 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34259 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34260 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34264 if test "$wxUSE_BUSYINFO" = "yes"; then
34265 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34269 if test "$wxUSE_HOTKEY" = "yes"; then
34270 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34272 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34275 elif test "$wxUSE_HOTKEY" = "auto"; then
34276 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34280 if test "$wxUSE_HOTKEY" = "yes"; then
34281 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34285 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34286 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34290 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34291 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34295 if test "$wxUSE_STD_STRING" = "yes"; then
34296 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34300 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34301 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34305 if test "$wxUSE_STDPATHS" = "yes"; then
34306 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34310 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34311 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34315 if test "$wxUSE_TEXTFILE" = "yes"; then
34316 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34318 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34320 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34325 if test "$wxUSE_CONFIG" = "yes" ; then
34326 if test "$wxUSE_TEXTFILE" != "yes"; then
34327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34328 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34330 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34332 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34338 if test "$wxUSE_INTL" = "yes" ; then
34339 if test "$wxUSE_FILE" != "yes"; then
34340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34341 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34343 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34346 GUIDIST
="$GUIDIST INTL_DIST"
34350 if test "$wxUSE_XLOCALE" = "yes" ; then
34351 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34353 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34354 #include <locale.h>
34356 if test "x$ac_cv_type_locale_t" = x
""yes; then :
34358 cat >>confdefs.h
<<_ACEOF
34359 #define HAVE_LOCALE_T 1
34367 if test "$wxUSE_LOG" = "yes"; then
34368 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34371 if test "$wxUSE_LOGGUI" = "yes"; then
34372 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34376 if test "$wxUSE_LOGWINDOW" = "yes"; then
34377 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34381 if test "$wxUSE_LOGDIALOG" = "yes"; then
34382 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34386 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
34389 if test "$wxUSE_LONGLONG" = "yes"; then
34390 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34394 if test "$wxUSE_GEOMETRY" = "yes"; then
34395 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34399 if test "$wxUSE_BASE64" = "yes"; then
34400 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34404 if test "$wxUSE_STREAMS" = "yes" ; then
34405 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34409 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34410 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34414 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34415 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34420 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34421 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34424 if test "$wxUSE_UNIX" = "yes"; then
34425 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34426 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34430 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34431 for ac_header
in sys
/epoll.h
34433 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34435 if test "x$ac_cv_header_sys_epoll_h" = x
""yes; then :
34436 cat >>confdefs.h
<<_ACEOF
34437 #define HAVE_SYS_EPOLL_H 1
34444 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34445 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34449 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34456 for ac_func
in gettimeofday ftime
34458 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34459 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
34460 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
34461 cat >>confdefs.h
<<_ACEOF
34462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34469 if test "$ac_cv_func_gettimeofday" = "yes"; then
34470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34471 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34472 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then :
34473 $as_echo_n "(cached) " >&6
34476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34477 /* end confdefs.h. */
34479 #include <sys/time.h>
34480 #include <unistd.h>
34487 gettimeofday(&tv, NULL);
34493 if ac_fn_c_try_compile
"$LINENO"; then :
34494 wx_cv_func_gettimeofday_has_2_args
=yes
34496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34497 /* end confdefs.h. */
34499 #include <sys/time.h>
34500 #include <unistd.h>
34513 if ac_fn_c_try_compile
"$LINENO"; then :
34514 wx_cv_func_gettimeofday_has_2_args
=no
34517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34518 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34519 wx_cv_func_gettimeofday_has_2_args
=unknown
34523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34530 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34532 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34533 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34538 if test "$wxUSE_DATETIME" = "yes"; then
34539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34540 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34541 if test "${wx_cv_var_timezone+set}" = set; then :
34542 $as_echo_n "(cached) " >&6
34546 ac_cpp
='$CXXCPP $CPPFLAGS'
34547 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34548 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34549 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34552 /* end confdefs.h. */
34567 if ac_fn_cxx_try_compile
"$LINENO"; then :
34569 wx_cv_var_timezone
=timezone
34573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34574 /* end confdefs.h. */
34589 if ac_fn_cxx_try_compile
"$LINENO"; then :
34591 wx_cv_var_timezone
=_timezone
34595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34596 /* end confdefs.h. */
34611 if ac_fn_cxx_try_compile
"$LINENO"; then :
34613 wx_cv_var_timezone
=__timezone
34617 if test "$USE_DOS" = 0 ; then
34618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34619 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34634 ac_cpp
='$CPP $CPPFLAGS'
34635 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34636 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34637 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34643 $as_echo "$wx_cv_var_timezone" >&6; }
34645 if test "x$wx_cv_var_timezone" != x
; then
34646 cat >>confdefs.h
<<_ACEOF
34647 #define WX_TIMEZONE $wx_cv_var_timezone
34652 for ac_func
in localtime
34654 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
34655 if test "x$ac_cv_func_localtime" = x
""yes; then :
34656 cat >>confdefs.h
<<_ACEOF
34657 #define HAVE_LOCALTIME 1
34664 if test "$ac_cv_func_localtime" = "yes"; then
34665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34666 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34667 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then :
34668 $as_echo_n "(cached) " >&6
34671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34672 /* end confdefs.h. */
34687 if ac_fn_c_try_compile
"$LINENO"; then :
34689 wx_cv_struct_tm_has_gmtoff
=yes
34692 wx_cv_struct_tm_has_gmtoff
=no
34695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34699 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34702 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34703 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
34711 if test "$wxUSE_SOCKETS" = "yes"; then
34712 if test "$TOOLKIT" != "MSW"; then
34713 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
34714 if test "x$ac_cv_func_socket" = x
""yes; then :
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34719 $as_echo_n "checking for socket in -lsocket... " >&6; }
34720 if test "${ac_cv_lib_socket_socket+set}" = set; then :
34721 $as_echo_n "(cached) " >&6
34723 ac_check_lib_save_LIBS
=$LIBS
34724 LIBS
="-lsocket $LIBS"
34725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34726 /* end confdefs.h. */
34728 /* Override any GCC internal prototype to avoid an error.
34729 Use char because int might match the return type of a GCC
34730 builtin and then its argument prototype would still apply. */
34743 if ac_fn_c_try_link
"$LINENO"; then :
34744 ac_cv_lib_socket_socket
=yes
34746 ac_cv_lib_socket_socket
=no
34748 rm -f core conftest.err conftest.
$ac_objext \
34749 conftest
$ac_exeext conftest.
$ac_ext
34750 LIBS
=$ac_check_lib_save_LIBS
34752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34753 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34754 if test "x$ac_cv_lib_socket_socket" = x
""yes; then :
34755 if test "$INET_LINK" != " -lsocket"; then
34756 INET_LINK
="$INET_LINK -lsocket"
34760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34761 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34774 if test "$wxUSE_SOCKETS" = "yes" ; then
34775 if test "$TOOLKIT" != "MSW"; then
34776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34777 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34778 if test "${wx_cv_type_getsockname3+set}" = set; then :
34779 $as_echo_n "(cached) " >&6
34783 ac_cpp
='$CXXCPP $CPPFLAGS'
34784 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34785 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34786 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34789 /* end confdefs.h. */
34791 #include <sys/types.h>
34792 #include <sys/socket.h>
34799 getsockname(0, 0, &len);
34805 if ac_fn_cxx_try_compile
"$LINENO"; then :
34806 wx_cv_type_getsockname3
=socklen_t
34809 CFLAGS_OLD
="$CFLAGS"
34810 if test "$GCC" = yes ; then
34811 CFLAGS
="-Werror $CFLAGS"
34814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34815 /* end confdefs.h. */
34817 #include <sys/types.h>
34818 #include <sys/socket.h>
34825 getsockname(0, 0, &len);
34831 if ac_fn_cxx_try_compile
"$LINENO"; then :
34832 wx_cv_type_getsockname3
=size_t
34834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34835 /* end confdefs.h. */
34837 #include <sys/types.h>
34838 #include <sys/socket.h>
34845 getsockname(0, 0, &len);
34851 if ac_fn_cxx_try_compile
"$LINENO"; then :
34852 wx_cv_type_getsockname3
=int
34854 wx_cv_type_getsockname3
=unknown
34857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34862 CFLAGS
="$CFLAGS_OLD"
34866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34868 ac_cpp
='$CPP $CPPFLAGS'
34869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
34876 $as_echo "$wx_cv_type_getsockname3" >&6; }
34878 if test "$wx_cv_type_getsockname3" = "unknown"; then
34880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34881 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34883 cat >>confdefs.h
<<_ACEOF
34884 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
34888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
34889 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
34890 if test "${wx_cv_type_getsockopt5+set}" = set; then :
34891 $as_echo_n "(cached) " >&6
34895 ac_cpp
='$CXXCPP $CPPFLAGS'
34896 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34897 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34898 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34901 /* end confdefs.h. */
34903 #include <sys/types.h>
34904 #include <sys/socket.h>
34911 getsockopt(0, 0, 0, 0, &len);
34917 if ac_fn_cxx_try_compile
"$LINENO"; then :
34918 wx_cv_type_getsockopt5
=socklen_t
34921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34922 /* end confdefs.h. */
34924 #include <sys/types.h>
34925 #include <sys/socket.h>
34932 getsockopt(0, 0, 0, 0, &len);
34938 if ac_fn_cxx_try_compile
"$LINENO"; then :
34939 wx_cv_type_getsockopt5
=size_t
34941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34942 /* end confdefs.h. */
34944 #include <sys/types.h>
34945 #include <sys/socket.h>
34952 getsockopt(0, 0, 0, 0, &len);
34958 if ac_fn_cxx_try_compile
"$LINENO"; then :
34959 wx_cv_type_getsockopt5
=int
34961 wx_cv_type_getsockopt5
=unknown
34964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34973 ac_cpp
='$CPP $CPPFLAGS'
34974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
34981 $as_echo "$wx_cv_type_getsockopt5" >&6; }
34983 if test "$wx_cv_type_getsockopt5" = "unknown"; then
34985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34986 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34988 cat >>confdefs.h
<<_ACEOF
34989 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
34996 if test "$wxUSE_SOCKETS" = "yes" ; then
34997 if test "$wxUSE_IPV6" = "yes"; then
34998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
34999 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35000 if test "${wx_cv_type_sockaddr_in6+set}" = set; then :
35001 $as_echo_n "(cached) " >&6
35004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35005 /* end confdefs.h. */
35007 #include <sys/types.h>
35008 #include <sys/socket.h>
35009 #include <netinet/in.h>
35015 struct sockaddr_in6 sa6;
35021 if ac_fn_c_try_compile
"$LINENO"; then :
35022 wx_cv_type_sockaddr_in6
=yes
35024 wx_cv_type_sockaddr_in6
=no
35027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35032 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35034 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35035 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35039 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35043 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35048 if test "$wxUSE_PROTOCOL" = "yes"; then
35049 if test "$wxUSE_SOCKETS" != "yes"; then
35050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35051 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35056 if test "$wxUSE_PROTOCOL" = "yes"; then
35057 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35060 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35061 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35064 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35065 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35068 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35069 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35073 if test "$wxUSE_FS_INET" = "yes"; then
35074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35075 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35080 if test "$wxUSE_URL" = "yes"; then
35081 if test "$wxUSE_PROTOCOL" != "yes"; then
35082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35083 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35086 if test "$wxUSE_URL" = "yes"; then
35087 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35092 if test "$wxUSE_VARIANT" = "yes"; then
35093 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35097 if test "$wxUSE_FS_INET" = "yes"; then
35098 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35103 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35106 if test "$TOOLKIT" = "MSW"; then
35109 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35110 if test "$USE_DARWIN" = 1; then
35111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35112 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35114 ac_cpp
='$CXXCPP $CPPFLAGS'
35115 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35116 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35117 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35120 /* end confdefs.h. */
35121 #include <IOKit/hid/IOHIDLib.h>
35125 IOHIDQueueInterface *qi = NULL;
35126 IOHIDCallbackFunction cb = NULL;
35127 qi->setEventCallout(NULL, cb, NULL, NULL);
35132 if ac_fn_cxx_try_compile
"$LINENO"; then :
35136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35138 ac_cpp
='$CPP $CPPFLAGS'
35139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35144 $as_echo "$wxUSE_JOYSTICK" >&6; }
35148 for ac_header
in linux
/joystick.h
35150 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35152 if test "x$ac_cv_header_linux_joystick_h" = x
""yes; then :
35153 cat >>confdefs.h
<<_ACEOF
35154 #define HAVE_LINUX_JOYSTICK_H 1
35163 if test "$wxUSE_JOYSTICK" = "yes"; then
35164 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35169 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35175 if test "$wxUSE_FONTENUM" = "yes" ; then
35176 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35180 if test "$wxUSE_FONTMAP" = "yes" ; then
35181 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35185 if test "$wxUSE_UNICODE" = "yes" ; then
35186 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35189 if test "$USE_WIN32" != 1; then
35190 wxUSE_UNICODE_MSLU
=no
35193 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35195 $as_echo_n "checking for main in -lunicows... " >&6; }
35196 if test "${ac_cv_lib_unicows_main+set}" = set; then :
35197 $as_echo_n "(cached) " >&6
35199 ac_check_lib_save_LIBS
=$LIBS
35200 LIBS
="-lunicows $LIBS"
35201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35202 /* end confdefs.h. */
35213 if ac_fn_c_try_link
"$LINENO"; then :
35214 ac_cv_lib_unicows_main
=yes
35216 ac_cv_lib_unicows_main
=no
35218 rm -f core conftest.err conftest.
$ac_objext \
35219 conftest
$ac_exeext conftest.
$ac_ext
35220 LIBS
=$ac_check_lib_save_LIBS
35222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35223 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35224 if test "x$ac_cv_lib_unicows_main" = x
""yes; then :
35226 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35232 Applications will only run on Windows NT/2000/XP!" >&5
35233 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35234 Applications will only run on Windows NT/2000/XP!" >&2;}
35235 wxUSE_UNICODE_MSLU
=no
35242 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35243 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35246 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35247 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35253 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35254 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35256 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35259 if test "$wxUSE_MDI" = "yes"; then
35260 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35263 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35264 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35270 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35271 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35276 if test "$wxUSE_HELP" = "yes"; then
35277 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35279 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35281 if test "$wxUSE_MSW" = 1; then
35282 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35283 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35288 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35289 if test "$wxUSE_HTML" = "yes"; then
35290 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35294 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35295 wxUSE_WXHTML_HELP
=no
35300 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35301 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35306 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35307 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35311 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35314 if test "$wxUSE_SVG" = "yes"; then
35315 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35320 if test "$wxUSE_METAFILE" = "yes"; then
35321 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35323 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35326 elif test "$wxUSE_METAFILE" = "auto"; then
35327 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35332 if test "$wxUSE_METAFILE" = "yes"; then
35333 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35335 if test "$wxUSE_MSW" = 1; then
35336 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35342 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35343 -o "$wxUSE_CLIPBOARD" = "yes" \
35344 -o "$wxUSE_OLE" = "yes" \
35345 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35346 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35348 if test "x$ac_cv_header_ole2_h" = x
""yes; then :
35354 if test "$ac_cv_header_ole2_h" = "yes" ; then
35355 if test "$GCC" = yes ; then
35356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35357 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35359 /* end confdefs.h. */
35360 #include <windows.h>
35370 if ac_fn_c_try_compile
"$LINENO"; then :
35371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35372 $as_echo "no" >&6; }
35374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35375 $as_echo "yes" >&6; }
35376 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35379 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35380 if test "$wxUSE_OLE" = "yes" ; then
35381 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35383 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35385 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35387 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
35391 if test "$wxUSE_DATAOBJ" = "yes" ; then
35392 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35397 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35400 wxUSE_DRAG_AND_DROP
=no
35406 if test "$wxUSE_IPC" = "yes"; then
35407 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35409 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35413 if test "$wxUSE_IPC" = "yes"; then
35414 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
35420 if test "$wxUSE_DATAOBJ" = "yes"; then
35421 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35425 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35427 wxUSE_DRAG_AND_DROP
=no
35430 if test "$wxUSE_CLIPBOARD" = "yes"; then
35431 if test "$wxUSE_DFB" = 1; then
35432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35433 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35437 if test "$wxUSE_CLIPBOARD" = "yes"; then
35438 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35443 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35444 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35446 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35447 wxUSE_DRAG_AND_DROP
=no
35450 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35451 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35457 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
35461 if test "$wxUSE_CLIPBOARD" = "yes"; then
35462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
35465 if test "$wxUSE_SPLINES" = "yes" ; then
35466 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35470 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35471 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35475 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35476 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
35481 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35482 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35488 if test "$wxUSE_CONTROLS" = "yes"; then
35492 if test "$wxUSE_MARKUP" = "yes"; then
35493 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35497 if test "$wxUSE_ACCEL" = "yes"; then
35498 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35503 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35504 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
35510 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35511 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35515 if test "$wxUSE_BUTTON" = "yes"; then
35516 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35521 if test "$wxUSE_BMPBUTTON" = "yes"; then
35522 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35527 if test "$wxUSE_CALCTRL" = "yes"; then
35528 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
35534 if test "$wxUSE_CARET" = "yes"; then
35535 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
35541 if test "$wxUSE_COLLPANE" = "yes"; then
35542 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
35548 if test "$wxUSE_COMBOBOX" = "yes"; then
35549 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35554 if test "$wxUSE_COMBOCTRL" = "yes"; then
35555 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35560 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35561 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35566 if test "$wxUSE_CHOICE" = "yes"; then
35567 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35572 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35573 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35578 if test "$wxUSE_CHECKBOX" = "yes"; then
35579 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35584 if test "$wxUSE_CHECKLST" = "yes"; then
35585 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35590 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35591 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35596 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35597 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35602 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35603 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35608 if test "$wxUSE_FILECTRL" = "yes"; then
35609 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35614 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35615 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35620 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35621 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35626 if test "$wxUSE_DISPLAY" = "yes"; then
35627 if test "$wxUSE_DFB" = 1; then
35628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35629 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35632 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
35638 if test "$wxUSE_DETECT_SM" = "yes"; then
35639 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35643 if test "$wxUSE_GAUGE" = "yes"; then
35644 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35649 if test "$wxUSE_GRID" = "yes"; then
35650 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
35656 if test "$wxUSE_HEADERCTRL" = "yes"; then
35657 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35662 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35663 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35668 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35669 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35674 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35675 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
35681 if test "$wxUSE_IMAGLIST" = "yes"; then
35682 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35686 if test "$wxUSE_INFOBAR" = "yes"; then
35687 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35691 if test "$wxUSE_LISTBOOK" = "yes"; then
35692 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35697 if test "$wxUSE_LISTBOX" = "yes"; then
35698 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35703 if test "$wxUSE_LISTCTRL" = "yes"; then
35704 if test "$wxUSE_IMAGLIST" = "yes"; then
35705 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
35710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35711 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35715 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35716 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35721 if test "$wxUSE_NOTEBOOK" = "yes"; then
35722 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
35728 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35729 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35733 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35734 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
35740 if test "$wxUSE_RADIOBOX" = "yes"; then
35741 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35746 if test "$wxUSE_RADIOBTN" = "yes"; then
35747 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35752 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35753 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35757 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35758 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35762 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35763 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35767 if test "$wxUSE_SASH" = "yes"; then
35768 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
35773 if test "$wxUSE_SCROLLBAR" = "yes"; then
35774 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
35780 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35781 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35786 if test "$wxUSE_SLIDER" = "yes"; then
35787 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35792 if test "$wxUSE_SPINBTN" = "yes"; then
35793 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35798 if test "$wxUSE_SPINCTRL" = "yes"; then
35799 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35804 if test "$wxUSE_SPLITTER" = "yes"; then
35805 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
35810 if test "$wxUSE_STATBMP" = "yes"; then
35811 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35816 if test "$wxUSE_STATBOX" = "yes"; then
35817 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35822 if test "$wxUSE_STATTEXT" = "yes"; then
35823 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35828 if test "$wxUSE_STATLINE" = "yes"; then
35829 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35834 if test "$wxUSE_STATUSBAR" = "yes"; then
35835 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35837 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35841 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
35844 if test "$wxUSE_TEXTCTRL" = "yes"; then
35845 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
35850 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35852 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35856 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35857 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35862 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35863 if test "$wxUSE_OLD_COCOA" = 1 ; then
35864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35865 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35869 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35870 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
35876 if test "$wxUSE_TOOLBAR" = "yes"; then
35877 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
35881 if test "$wxUSE_UNIVERSAL" = "yes"; then
35882 wxUSE_TOOLBAR_NATIVE
="no"
35884 wxUSE_TOOLBAR_NATIVE
="yes"
35885 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
35889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
35892 if test "$wxUSE_TOOLTIPS" = "yes"; then
35893 if test "$wxUSE_MOTIF" = 1; then
35894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35895 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35897 if test "$wxUSE_UNIVERSAL" = "yes"; then
35898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35899 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35901 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
35907 if test "$wxUSE_TREEBOOK" = "yes"; then
35908 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
35913 if test "$wxUSE_TOOLBOOK" = "yes"; then
35914 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
35919 if test "$wxUSE_TREECTRL" = "yes"; then
35920 if test "$wxUSE_IMAGLIST" = "yes"; then
35921 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
35924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
35926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35927 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35931 if test "$wxUSE_TREELISTCTRL" = "yes"; then
35932 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
35935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
35938 if test "$wxUSE_POPUPWIN" = "yes"; then
35939 if test "$wxUSE_OLD_COCOA" = 1 ; then
35940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35941 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35943 if test "$wxUSE_PM" = 1; then
35944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35945 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35947 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
35949 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
35956 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
35957 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
35959 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
35961 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
35963 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35967 if test "$wxUSE_TIPWINDOW" = "yes"; then
35968 if test "$wxUSE_PM" = 1; then
35969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35970 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35972 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
35977 if test "$USES_CONTROLS" = 1; then
35978 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
35983 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
35984 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
35986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
35989 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
35990 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
35994 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
35995 if test "$wxUSE_GTK" != 1; then
35996 if test "$wxUSE_LIBPNG" != no
-a \
35997 "$wxUSE_IMAGE" = yes -a \
35998 "$wxUSE_STREAMS" = yes; then
35999 wxUSE_ARTPROVIDER_TANGO
="yes"
36004 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36005 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36009 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36010 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36015 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36016 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36018 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36020 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36027 if test "$wxUSE_HTML" = "yes"; then
36028 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36033 if test "$wxUSE_WEBKIT" = "yes"; then
36034 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36035 old_CPPFLAGS
="$CPPFLAGS"
36036 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36037 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36038 #include <Carbon/Carbon.h>
36039 #include <WebKit/WebKit.h>
36042 if test "x$ac_cv_header_WebKit_HIWebView_h" = x
""yes; then :
36044 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36046 WEBKIT_LINK
="-framework WebKit"
36050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36051 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36057 CPPFLAGS
="$old_CPPFLAGS"
36058 elif test "$wxUSE_OLD_COCOA" = 1; then
36059 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36064 if test "$wxUSE_WEBKIT" = "yes"; then
36065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36070 if test "$wxUSE_XRC" = "yes"; then
36071 if test "$wxUSE_XML" != "yes"; then
36072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36073 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36076 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36084 if test "$wxUSE_AUI" = "yes"; then
36085 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36092 if test "$wxUSE_PROPGRID" = "yes"; then
36093 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36100 if test "$wxUSE_RIBBON" = "yes"; then
36101 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36108 if test "$wxUSE_STC" = "yes"; then
36109 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36114 # Extract the first word of "python", so it can be a program name with args.
36115 set dummy python
; ac_word
=$2
36116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36117 $as_echo_n "checking for $ac_word... " >&6; }
36118 if test "${ac_cv_path_PYTHON+set}" = set; then :
36119 $as_echo_n "(cached) " >&6
36123 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36127 for as_dir
in $PATH
36130 test -z "$as_dir" && as_dir
=.
36131 for ac_exec_ext
in '' $ac_executable_extensions; do
36132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36133 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36144 PYTHON
=$ac_cv_path_PYTHON
36145 if test -n "$PYTHON"; then
36146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36147 $as_echo "$PYTHON" >&6; }
36149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36150 $as_echo "no" >&6; }
36154 if test "x$PYTHON" = "x"; then
36160 if test "$wxUSE_MENUS" = "yes"; then
36161 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36166 if test "$wxUSE_MIMETYPE" = "yes"; then
36167 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36171 if test "$wxUSE_MINIFRAME" = "yes"; then
36172 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36176 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36177 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36181 if test "$wxUSE_TASKBARICON" = "yes"; then
36182 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36184 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36190 if test "$wxUSE_VALIDATORS" = "yes"; then
36191 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36193 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36196 if test "$wxUSE_PALETTE" = "yes" ; then
36197 if test "$wxUSE_DFB" = 1; then
36198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36199 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36202 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36207 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36208 LIBS
=" -lunicows $LIBS"
36212 if test "$wxUSE_RICHTEXT" = "yes"; then
36213 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36219 if test "$wxUSE_WEBVIEW" = "yes"; then
36220 USE_WEBVIEW_WEBKIT
=0
36221 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36222 if test "$wxUSE_GTK" = 1; then
36223 webkitgtk
=webkit
-1.0
36224 if test "$WXGTK3" = 1; then
36225 webkitgtk
=webkitgtk
-3.0
36229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36230 $as_echo_n "checking for WEBKIT... " >&6; }
36232 if test -n "$PKG_CONFIG"; then
36233 if test -n "$WEBKIT_CFLAGS"; then
36234 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36236 if test -n "$PKG_CONFIG" && \
36237 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36238 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36241 test $ac_status = 0; }; then
36242 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36250 if test -n "$PKG_CONFIG"; then
36251 if test -n "$WEBKIT_LIBS"; then
36252 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36254 if test -n "$PKG_CONFIG" && \
36255 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36256 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36259 test $ac_status = 0; }; then
36260 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36271 if test $pkg_failed = yes; then
36273 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36274 _pkg_short_errors_supported
=yes
36276 _pkg_short_errors_supported
=no
36278 if test $_pkg_short_errors_supported = yes; then
36279 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36281 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36283 # Put the nasty error message in config.log where it belongs
36284 echo "$WEBKIT_PKG_ERRORS" >&5
36287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36288 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36290 elif test $pkg_failed = untried
; then
36292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36293 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36296 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36297 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36299 $as_echo "yes" >&6; }
36301 USE_WEBVIEW_WEBKIT
=1
36302 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36303 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36306 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36307 old_CPPFLAGS
="$CPPFLAGS"
36308 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36309 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36310 #include <Carbon/Carbon.h>
36311 #include <WebKit/WebKit.h>
36314 if test "x$ac_cv_header_WebKit_HIWebView_h" = x
""yes; then :
36316 USE_WEBVIEW_WEBKIT
=1
36317 WEBKIT_LINK
="-framework WebKit"
36321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36322 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36327 CPPFLAGS
="$old_CPPFLAGS"
36332 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36333 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36334 wxUSE_WEBVIEW
="yes"
36335 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36339 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36341 elif test "$wxUSE_MSW" = 1; then
36342 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36343 wxUSE_WEBVIEW
="yes"
36344 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36350 if test "$wxUSE_WEBVIEW" = "yes"; then
36352 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
36360 if test "$wxUSE_IMAGE" = "yes" ; then
36361 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36364 if test "$wxUSE_GIF" = "yes" ; then
36365 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36369 if test "$wxUSE_PCX" = "yes" ; then
36370 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36374 if test "$wxUSE_TGA" = "yes" ; then
36375 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36379 if test "$wxUSE_IFF" = "yes" ; then
36380 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36384 if test "$wxUSE_PNM" = "yes" ; then
36385 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36389 if test "$wxUSE_XPM" = "yes" ; then
36390 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36394 if test "$wxUSE_ICO_CUR" = "yes" ; then
36395 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36401 if test "$wxUSE_ABOUTDLG" = "yes"; then
36402 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36406 if test "$wxUSE_CHOICEDLG" = "yes"; then
36407 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36411 if test "$wxUSE_COLOURDLG" = "yes"; then
36412 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36416 if test "$wxUSE_FILEDLG" = "yes"; then
36417 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36421 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36422 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36426 if test "$wxUSE_FONTDLG" = "yes"; then
36427 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36431 if test "$wxUSE_DIRDLG" = "yes"; then
36432 if test "$wxUSE_TREECTRL" != "yes"; then
36433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36434 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36436 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36441 if test "$wxUSE_MSGDLG" = "yes"; then
36442 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36446 if test "$wxUSE_NUMBERDLG" = "yes"; then
36447 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36451 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36452 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36456 if test "$wxUSE_SPLASH" = "yes"; then
36457 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36459 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
36462 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36463 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36467 if test "$wxUSE_TEXTDLG" = "yes"; then
36468 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36472 if test "$wxUSE_WIZARDDLG" = "yes"; then
36473 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
36479 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36480 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36481 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36487 if test "$wxUSE_MSW" = 1 ; then
36489 if test "$wxUSE_DC_CACHEING" = "yes"; then
36490 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36494 if test "$wxUSE_DIB" = "yes"; then
36495 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36499 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36500 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36504 if test "$wxUSE_UXTHEME" = "yes"; then
36505 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36511 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36512 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36516 if test "$USE_WIN32" = 1 ; then
36517 if test "$wxUSE_INICONF" = "yes"; then
36518 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36522 if test "$wxUSE_REGKEY" = "yes"; then
36523 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36529 if test "$wxUSE_MAC" = 1; then
36530 wxUSE_GRAPHICS_CONTEXT
="yes"
36533 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36535 if test "$wxUSE_MSW" = 1; then
36536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36537 $as_echo_n "checking if GDI+ is available... " >&6; }
36538 if test "${wx_cv_lib_gdiplus+set}" = set; then :
36539 $as_echo_n "(cached) " >&6
36543 ac_cpp
='$CXXCPP $CPPFLAGS'
36544 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36545 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36546 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36549 /* end confdefs.h. */
36550 #include <windows.h>
36551 #include <gdiplus.h>
36556 using namespace Gdiplus;
36562 if ac_fn_cxx_try_compile
"$LINENO"; then :
36563 wx_cv_lib_gdiplus
=yes
36565 wx_cv_lib_gdiplus
=no
36568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36570 ac_cpp
='$CPP $CPPFLAGS'
36571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36579 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36580 if test "$wx_cv_lib_gdiplus" = "yes"; then
36583 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36587 $as_echo_n "checking for CAIRO... " >&6; }
36589 if test -n "$PKG_CONFIG"; then
36590 if test -n "$CAIRO_CFLAGS"; then
36591 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
36593 if test -n "$PKG_CONFIG" && \
36594 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36595 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36598 test $ac_status = 0; }; then
36599 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36607 if test -n "$PKG_CONFIG"; then
36608 if test -n "$CAIRO_LIBS"; then
36609 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
36611 if test -n "$PKG_CONFIG" && \
36612 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36613 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36616 test $ac_status = 0; }; then
36617 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36628 if test $pkg_failed = yes; then
36630 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36631 _pkg_short_errors_supported
=yes
36633 _pkg_short_errors_supported
=no
36635 if test $_pkg_short_errors_supported = yes; then
36636 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36638 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36640 # Put the nasty error message in config.log where it belongs
36641 echo "$CAIRO_PKG_ERRORS" >&5
36643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36644 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36646 elif test $pkg_failed = untried
; then
36647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36648 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36651 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
36652 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
36653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36654 $as_echo "yes" >&6; }
36657 if test "$wx_has_graphics" = 1; then
36659 LIBS
="$LIBS $CAIRO_LIBS"
36660 for ac_func
in cairo_push_group
36662 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36663 if test "x$ac_cv_func_cairo_push_group" = x
""yes; then :
36664 cat >>confdefs.h
<<_ACEOF
36665 #define HAVE_CAIRO_PUSH_GROUP 1
36672 if test "$ac_cv_func_cairo_push_group" = "no"; then
36674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36675 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36677 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36680 if test "$wxUSE_GTK" != 1; then
36681 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
36682 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
36690 if test "$wx_has_graphics" = 1; then
36691 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36695 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36702 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36705 if test "$wxUSE_GTK" = 1; then
36706 wxUSE_GSTREAMER
="no"
36708 GST_VERSION_MAJOR
=0
36709 GST_VERSION_MINOR
=10
36710 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
36712 if test "$wxUSE_GSTREAMER8" = "no"; then
36715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36716 $as_echo_n "checking for GST... " >&6; }
36718 if test -n "$PKG_CONFIG"; then
36719 if test -n "$GST_CFLAGS"; then
36720 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
36722 if test -n "$PKG_CONFIG" && \
36723 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36724 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36727 test $ac_status = 0; }; then
36728 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36736 if test -n "$PKG_CONFIG"; then
36737 if test -n "$GST_LIBS"; then
36738 pkg_cv_GST_LIBS
="$GST_LIBS"
36740 if test -n "$PKG_CONFIG" && \
36741 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36742 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36745 test $ac_status = 0; }; then
36746 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36757 if test $pkg_failed = yes; then
36759 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36760 _pkg_short_errors_supported
=yes
36762 _pkg_short_errors_supported
=no
36764 if test $_pkg_short_errors_supported = yes; then
36765 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36767 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36769 # Put the nasty error message in config.log where it belongs
36770 echo "$GST_PKG_ERRORS" >&5
36773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36774 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36775 GST_VERSION_MINOR
=8
36778 elif test $pkg_failed = untried
; then
36780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36781 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36782 GST_VERSION_MINOR
=8
36786 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
36787 GST_LIBS
=$pkg_cv_GST_LIBS
36788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36789 $as_echo "yes" >&6; }
36791 wxUSE_GSTREAMER
="yes"
36792 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36796 GST_VERSION_MINOR
=8
36799 if test $GST_VERSION_MINOR = "8"; then
36800 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
36803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36804 $as_echo_n "checking for GST... " >&6; }
36806 if test -n "$PKG_CONFIG"; then
36807 if test -n "$GST_CFLAGS"; then
36808 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
36810 if test -n "$PKG_CONFIG" && \
36811 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36812 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36815 test $ac_status = 0; }; then
36816 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36824 if test -n "$PKG_CONFIG"; then
36825 if test -n "$GST_LIBS"; then
36826 pkg_cv_GST_LIBS
="$GST_LIBS"
36828 if test -n "$PKG_CONFIG" && \
36829 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36830 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36833 test $ac_status = 0; }; then
36834 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36845 if test $pkg_failed = yes; then
36847 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36848 _pkg_short_errors_supported
=yes
36850 _pkg_short_errors_supported
=no
36852 if test $_pkg_short_errors_supported = yes; then
36853 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36855 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36857 # Put the nasty error message in config.log where it belongs
36858 echo "$GST_PKG_ERRORS" >&5
36861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36862 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36864 elif test $pkg_failed = untried
; then
36866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36867 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36870 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
36871 GST_LIBS
=$pkg_cv_GST_LIBS
36872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36873 $as_echo "yes" >&6; }
36874 wxUSE_GSTREAMER
="yes"
36879 if test "$wxUSE_GSTREAMER" = "yes"; then
36880 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
36881 EXTRALIBS_MEDIA
="$GST_LIBS"
36883 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
36890 if test $USE_MEDIA = 1; then
36891 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
36892 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
36895 if test "$wxUSE_MEDIACTRL" = "yes"; then
36896 as_fn_error $?
"GStreamer not available" "$LINENO" 5
36898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
36899 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
36905 if test "$cross_compiling" != "no"; then
36908 OSINFO
=`uname -s -r -m`
36909 OSINFO
="\"$OSINFO\""
36912 cat >>confdefs.h
<<_ACEOF
36913 #define WXWIN_OS_DESCRIPTION $OSINFO
36918 if test "x$prefix" != "xNONE"; then
36921 wxPREFIX
=$ac_default_prefix
36924 cat >>confdefs.h
<<_ACEOF
36925 #define wxINSTALL_PREFIX "$wxPREFIX"
36931 STD_BASE_LIBS
="base"
36933 BUILT_WX_LIBS
="base"
36934 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
36936 if test "$wxUSE_SOCKETS" = "yes" ; then
36937 STD_BASE_LIBS
="net $STD_BASE_LIBS"
36938 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
36940 if test "$wxUSE_XML" = "yes" ; then
36941 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
36942 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
36945 if test "$wxUSE_GUI" = "yes"; then
36946 STD_GUI_LIBS
="adv core"
36947 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
36949 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
36950 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
36951 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
36953 if test "$wxUSE_HTML" = "yes" ; then
36954 STD_GUI_LIBS
="html $STD_GUI_LIBS"
36955 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
36957 if test "$wxUSE_MEDIACTRL" = "yes" ; then
36958 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
36960 if test "$wxUSE_OPENGL" = "yes" ; then
36961 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
36963 if test "$wxUSE_AUI" = "yes" ; then
36964 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
36966 if test "$wxUSE_PROPGRID" = "yes" ; then
36967 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
36969 if test "$wxUSE_RIBBON" = "yes" ; then
36970 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
36972 if test "$wxUSE_RICHTEXT" = "yes" ; then
36973 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
36975 if test "$wxUSE_STC" = "yes" ; then
36976 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
36978 if test "$wxUSE_WEBVIEW" = "yes" ; then
36979 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
36980 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
36982 if test "$wxUSE_XRC" = "yes" ; then
36983 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
36984 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
36995 if test "$wxUSE_MAC" = 1 ; then
36996 if test "$USE_DARWIN" = 1; then
36997 if test "$wxUSE_OSX_IPHONE" = 1; then
36998 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37000 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37003 if test "$cross_compiling" != "no"; then
37004 wx_cv_target_x86_64
=no
37006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37007 $as_echo_n "checking if we target only x86_64... " >&6; }
37008 if test "${wx_cv_target_x86_64+set}" = set; then :
37009 $as_echo_n "(cached) " >&6
37011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37012 /* end confdefs.h. */
37013 int main() { return 0; }
37015 if ac_fn_c_try_link
"$LINENO"; then :
37016 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37017 wx_cv_target_x86_64
=no
37019 wx_cv_target_x86_64
=yes
37023 rm -f core conftest.err conftest.
$ac_objext \
37024 conftest
$ac_exeext conftest.
$ac_ext
37027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37028 $as_echo "$wx_cv_target_x86_64" >&6; }
37031 if test "$wx_cv_target_x86_64" != "yes"; then
37032 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37037 if test "$wxUSE_OLD_COCOA" = 1 ; then
37038 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37039 if test "$wxUSE_MEDIACTRL" = "yes"; then
37040 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37043 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37044 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37047 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37048 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37050 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37052 if test "$wxUSE_GUI" = "yes"; then
37055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37056 erase event exec font image minimal render \
37057 shaped svg taborder vscroll widgets wrapsizer"
37059 if test "$wxUSE_MONOLITHIC" != "yes"; then
37060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37062 if test "$TOOLKIT" = "MSW"; then
37063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37064 if test "$wxUSE_UNIVERSAL" != "yes"; then
37065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37068 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37072 SAMPLES_SUBDIRS
="console"
37073 if test "$wxUSE_SOCKETS" = "yes" ; then
37074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37076 if test "$wxUSE_IPC" = "yes" ; then
37077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37082 if test "x$INTELCC" = "xyes" ; then
37083 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37084 elif test "$GCC" = yes ; then
37085 CWARNINGS
="-Wall -Wundef"
37088 if test "x$INTELCXX" = "xyes" ; then
37089 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37090 elif test "$GXX" = yes ; then
37091 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37093 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37094 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then :
37095 $as_echo_n "(cached) " >&6
37097 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37100 ac_cpp
='$CXXCPP $CPPFLAGS'
37101 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37102 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37103 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37105 ac_save_CXXFLAGS
="$CXXFLAGS"
37106 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37107 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37109 /* end confdefs.h. */
37119 if ac_fn_cxx_try_compile
"$LINENO"; then :
37120 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37124 CXXFLAGS
="$ac_save_CXXFLAGS"
37126 ac_cpp
='$CPP $CPPFLAGS'
37127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37134 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37135 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37139 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37140 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37141 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37144 test $ac_status = 0; }
37145 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37146 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37149 test $ac_status = 0; }
37150 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37156 if test "$wxUSE_MAC" = 1 ; then
37157 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37162 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37163 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37166 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37167 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37168 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37171 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37172 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37173 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37174 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37175 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37177 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37180 if test "x$MWCC" = "xyes"; then
37182 CC
="$CC -cwd source -I-"
37183 CXX
="$CXX -cwd source -I-"
37188 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37189 EXTRALIBS_XML
="$EXPAT_LINK"
37190 EXTRALIBS_HTML
="$MSPACK_LINK"
37191 EXTRALIBS_MEDIA
="$GST_LIBS"
37192 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37193 if test "$wxUSE_GUI" = "yes"; then
37194 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
37196 if test "$wxUSE_OPENGL" = "yes"; then
37197 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37200 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37202 WXCONFIG_LIBS
="$LIBS"
37204 if test "$wxUSE_REGEX" = "builtin" ; then
37205 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37207 if test "$wxUSE_EXPAT" = "builtin" ; then
37208 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37210 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37211 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37213 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37214 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37216 if test "$wxUSE_LIBPNG" = "builtin" ; then
37217 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37219 if test "$wxUSE_ZLIB" = "builtin" ; then
37220 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37223 for i
in $wxconfig_3rdparty ; do
37224 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37228 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37231 case "$wxUNIV_THEMES" in
37233 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37238 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37239 cat >>confdefs.h
<<_ACEOF
37240 #define wxUSE_THEME_$t 1
37256 if test $wxUSE_MONOLITHIC = "yes" ; then
37262 if test $wxUSE_PLUGINS = "yes" ; then
37268 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37274 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37306 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37319 TOOLKIT_DESC
="GTK+"
37320 if test "$WXGTK2" = 1; then
37321 if test "$WXGTK3" = 1; then
37322 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
37324 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
37326 if test "$wxUSE_GTKPRINT" = "yes" ; then
37327 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
37329 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37330 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
37332 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37333 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
37335 if test "$wxUSE_LIBHILDON" = "yes"; then
37336 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37338 if test "$wxUSE_LIBHILDON2" = "yes"; then
37339 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37342 if test "$TOOLKIT_EXTRA" != ""; then
37343 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37349 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
37353 TOOLKIT_DESC
="base only"
37357 if test "$wxUSE_WINE" = "yes"; then
37358 BAKEFILE_FORCE_PLATFORM
=win32
37361 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37364 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37365 if test "${wx_cv_gcc_pch_bug+set}" = set; then :
37366 $as_echo_n "(cached) " >&6
37369 echo '#include <stdio.h>
37370 const wchar_t test_var[] = L"awidetest";' > conftest.h
37372 echo '#include "conftest.h"
37375 printf("%ls", test_var);
37379 wx_cv_gcc_pch_bug
="pch not supported"
37381 if $CXX conftest.h
>/dev
/null
2>&1
37385 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
37387 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
37388 grep awidetest
>/dev
/null
37390 wx_cv_gcc_pch_bug
=no
37392 wx_cv_gcc_pch_bug
=yes
37397 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
37400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37401 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37403 if test "$wx_cv_gcc_pch_bug" = yes; then
37408 # Find a good install program. We prefer a C program (faster),
37409 # so one script is as good as another. But avoid the broken or
37410 # incompatible versions:
37411 # SysV /etc/install, /usr/sbin/install
37412 # SunOS /usr/etc/install
37413 # IRIX /sbin/install
37415 # AmigaOS /C/install, which installs bootblocks on floppy discs
37416 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37417 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37418 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37419 # OS/2's system install, which has a completely different semantic
37420 # ./install, which can be erroneously created by make from ./install.sh.
37421 # Reject install programs that cannot install multiple files.
37422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37423 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37424 if test -z "$INSTALL"; then
37425 if test "${ac_cv_path_install+set}" = set; then :
37426 $as_echo_n "(cached) " >&6
37428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37429 for as_dir
in $PATH
37432 test -z "$as_dir" && as_dir
=.
37433 # Account for people who put trailing slashes in PATH elements.
37434 case $as_dir/ in #((
37435 .
/ | .
// | /[cC
]/* | \
37436 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37437 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
37440 # OSF1 and SCO ODT 3.0 have their own names for install.
37441 # Don't use installbsd from OSF since it installs stuff as root
37443 for ac_prog
in ginstall scoinst
install; do
37444 for ac_exec_ext
in '' $ac_executable_extensions; do
37445 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
37446 if test $ac_prog = install &&
37447 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37448 # AIX install. It has an incompatible calling convention.
37450 elif test $ac_prog = install &&
37451 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37452 # program-specific install script used by HP pwplus--don't use.
37455 rm -rf conftest.one conftest.two conftest.dir
37456 echo one
> conftest.one
37457 echo two
> conftest.two
37459 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
37460 test -s conftest.one
&& test -s conftest.two
&&
37461 test -s conftest.dir
/conftest.one
&&
37462 test -s conftest.dir
/conftest.two
37464 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37477 rm -rf conftest.one conftest.two conftest.dir
37480 if test "${ac_cv_path_install+set}" = set; then
37481 INSTALL
=$ac_cv_path_install
37483 # As a last resort, use the slow shell script. Don't cache a
37484 # value for INSTALL within a source directory, because that will
37485 # break other packages using the cache if that directory is
37486 # removed, or if the value is a relative name.
37487 INSTALL
=$ac_install_sh
37490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37491 $as_echo "$INSTALL" >&6; }
37493 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37494 # It thinks the first close brace ends the variable substitution.
37495 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37497 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37499 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37507 if test "x$BAKEFILE_HOST" = "x"; then
37508 if test "x${host}" = "x" ; then
37509 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37512 BAKEFILE_HOST
="${host}"
37515 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37517 if test -n "$ac_tool_prefix"; then
37518 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37519 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37521 $as_echo_n "checking for $ac_word... " >&6; }
37522 if test "${ac_cv_prog_RANLIB+set}" = set; then :
37523 $as_echo_n "(cached) " >&6
37525 if test -n "$RANLIB"; then
37526 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37529 for as_dir
in $PATH
37532 test -z "$as_dir" && as_dir
=.
37533 for ac_exec_ext
in '' $ac_executable_extensions; do
37534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37535 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37545 RANLIB
=$ac_cv_prog_RANLIB
37546 if test -n "$RANLIB"; then
37547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37548 $as_echo "$RANLIB" >&6; }
37550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37551 $as_echo "no" >&6; }
37556 if test -z "$ac_cv_prog_RANLIB"; then
37557 ac_ct_RANLIB
=$RANLIB
37558 # Extract the first word of "ranlib", so it can be a program name with args.
37559 set dummy ranlib
; ac_word
=$2
37560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37561 $as_echo_n "checking for $ac_word... " >&6; }
37562 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
37563 $as_echo_n "(cached) " >&6
37565 if test -n "$ac_ct_RANLIB"; then
37566 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37569 for as_dir
in $PATH
37572 test -z "$as_dir" && as_dir
=.
37573 for ac_exec_ext
in '' $ac_executable_extensions; do
37574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37575 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37585 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37586 if test -n "$ac_ct_RANLIB"; then
37587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37588 $as_echo "$ac_ct_RANLIB" >&6; }
37590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37591 $as_echo "no" >&6; }
37594 if test "x$ac_ct_RANLIB" = x
; then
37597 case $cross_compiling:$ac_tool_warned in
37599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37601 ac_tool_warned
=yes ;;
37603 RANLIB
=$ac_ct_RANLIB
37606 RANLIB
="$ac_cv_prog_RANLIB"
37610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37611 $as_echo_n "checking whether ln -s works... " >&6; }
37613 if test "$LN_S" = "ln -s"; then
37614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37615 $as_echo "yes" >&6; }
37617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37618 $as_echo "no, using $LN_S" >&6; }
37622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37623 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37625 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37626 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
37627 $as_echo_n "(cached) " >&6
37629 cat >conftest.
make <<\_ACEOF
37632 @
echo '@@@%%%=$(MAKE)=@@@%%%'
37634 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37635 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37636 *@@@
%%%=?
*=@@@
%%%*)
37637 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
37639 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
37641 rm -f conftest.
make
37643 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
37644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37645 $as_echo "yes" >&6; }
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37649 $as_echo "no" >&6; }
37650 SET_MAKE
="MAKE=${MAKE-make}"
37655 if test "x$SUNCXX" = "xyes"; then
37657 AROPTIONS
="-xar -o"
37659 elif test "x$SGICC" = "xyes"; then
37664 if test -n "$ac_tool_prefix"; then
37665 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37666 set dummy
${ac_tool_prefix}ar; ac_word
=$2
37667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37668 $as_echo_n "checking for $ac_word... " >&6; }
37669 if test "${ac_cv_prog_AR+set}" = set; then :
37670 $as_echo_n "(cached) " >&6
37672 if test -n "$AR"; then
37673 ac_cv_prog_AR
="$AR" # Let the user override the test.
37675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37676 for as_dir
in $PATH
37679 test -z "$as_dir" && as_dir
=.
37680 for ac_exec_ext
in '' $ac_executable_extensions; do
37681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37682 ac_cv_prog_AR
="${ac_tool_prefix}ar"
37683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37693 if test -n "$AR"; then
37694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37695 $as_echo "$AR" >&6; }
37697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37698 $as_echo "no" >&6; }
37703 if test -z "$ac_cv_prog_AR"; then
37705 # Extract the first word of "ar", so it can be a program name with args.
37706 set dummy
ar; ac_word
=$2
37707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37708 $as_echo_n "checking for $ac_word... " >&6; }
37709 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
37710 $as_echo_n "(cached) " >&6
37712 if test -n "$ac_ct_AR"; then
37713 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
37715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37716 for as_dir
in $PATH
37719 test -z "$as_dir" && as_dir
=.
37720 for ac_exec_ext
in '' $ac_executable_extensions; do
37721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37722 ac_cv_prog_ac_ct_AR
="ar"
37723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37732 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
37733 if test -n "$ac_ct_AR"; then
37734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37735 $as_echo "$ac_ct_AR" >&6; }
37737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37738 $as_echo "no" >&6; }
37741 if test "x$ac_ct_AR" = x
; then
37744 case $cross_compiling:$ac_tool_warned in
37746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37748 ac_tool_warned
=yes ;;
37753 AR
="$ac_cv_prog_AR"
37760 if test -n "$ac_tool_prefix"; then
37761 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37762 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
37763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37764 $as_echo_n "checking for $ac_word... " >&6; }
37765 if test "${ac_cv_prog_STRIP+set}" = set; then :
37766 $as_echo_n "(cached) " >&6
37768 if test -n "$STRIP"; then
37769 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
37771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37772 for as_dir
in $PATH
37775 test -z "$as_dir" && as_dir
=.
37776 for ac_exec_ext
in '' $ac_executable_extensions; do
37777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37778 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
37779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37788 STRIP
=$ac_cv_prog_STRIP
37789 if test -n "$STRIP"; then
37790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37791 $as_echo "$STRIP" >&6; }
37793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37794 $as_echo "no" >&6; }
37799 if test -z "$ac_cv_prog_STRIP"; then
37801 # Extract the first word of "strip", so it can be a program name with args.
37802 set dummy strip
; ac_word
=$2
37803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37804 $as_echo_n "checking for $ac_word... " >&6; }
37805 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
37806 $as_echo_n "(cached) " >&6
37808 if test -n "$ac_ct_STRIP"; then
37809 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
37811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37812 for as_dir
in $PATH
37815 test -z "$as_dir" && as_dir
=.
37816 for ac_exec_ext
in '' $ac_executable_extensions; do
37817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37818 ac_cv_prog_ac_ct_STRIP
="strip"
37819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37828 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
37829 if test -n "$ac_ct_STRIP"; then
37830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37831 $as_echo "$ac_ct_STRIP" >&6; }
37833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37834 $as_echo "no" >&6; }
37837 if test "x$ac_ct_STRIP" = x
; then
37840 case $cross_compiling:$ac_tool_warned in
37842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37844 ac_tool_warned
=yes ;;
37849 STRIP
="$ac_cv_prog_STRIP"
37852 if test -n "$ac_tool_prefix"; then
37853 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37854 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
37855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37856 $as_echo_n "checking for $ac_word... " >&6; }
37857 if test "${ac_cv_prog_NM+set}" = set; then :
37858 $as_echo_n "(cached) " >&6
37860 if test -n "$NM"; then
37861 ac_cv_prog_NM
="$NM" # Let the user override the test.
37863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37864 for as_dir
in $PATH
37867 test -z "$as_dir" && as_dir
=.
37868 for ac_exec_ext
in '' $ac_executable_extensions; do
37869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37870 ac_cv_prog_NM
="${ac_tool_prefix}nm"
37871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37881 if test -n "$NM"; then
37882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
37883 $as_echo "$NM" >&6; }
37885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37886 $as_echo "no" >&6; }
37891 if test -z "$ac_cv_prog_NM"; then
37893 # Extract the first word of "nm", so it can be a program name with args.
37894 set dummy nm
; ac_word
=$2
37895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37896 $as_echo_n "checking for $ac_word... " >&6; }
37897 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
37898 $as_echo_n "(cached) " >&6
37900 if test -n "$ac_ct_NM"; then
37901 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
37903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37904 for as_dir
in $PATH
37907 test -z "$as_dir" && as_dir
=.
37908 for ac_exec_ext
in '' $ac_executable_extensions; do
37909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37910 ac_cv_prog_ac_ct_NM
="nm"
37911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37920 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
37921 if test -n "$ac_ct_NM"; then
37922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
37923 $as_echo "$ac_ct_NM" >&6; }
37925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37926 $as_echo "no" >&6; }
37929 if test "x$ac_ct_NM" = x
; then
37932 case $cross_compiling:$ac_tool_warned in
37934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37936 ac_tool_warned
=yes ;;
37941 NM
="$ac_cv_prog_NM"
37945 INSTALL_DIR
="mkdir -p"
37949 case ${BAKEFILE_HOST} in
37950 *-*-cygwin* | *-*-mingw32* )
37951 LDFLAGS_GUI
="-mwindows"
37957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
37958 $as_echo_n "checking if make is GNU make... " >&6; }
37959 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then :
37960 $as_echo_n "(cached) " >&6
37963 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
37964 egrep -s GNU
> /dev
/null
); then
37965 bakefile_cv_prog_makeisgnu
="yes"
37967 bakefile_cv_prog_makeisgnu
="no"
37971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
37972 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
37974 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
37991 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
37992 case "${BAKEFILE_HOST}" in
37999 *-pc-os2_emx | *-pc-os2-emx )
38009 powerpc
-apple-macos* )
38018 case "$BAKEFILE_FORCE_PLATFORM" in
38039 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38054 # Check whether --enable-omf was given.
38055 if test "${enable_omf+set}" = set; then :
38056 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38060 case "${BAKEFILE_HOST}" in
38062 if test "x$GCC" = "xyes"; then
38063 CFLAGS
="$CFLAGS -fno-common"
38064 CXXFLAGS
="$CXXFLAGS -fno-common"
38066 if test "x$XLCC" = "xyes"; then
38067 CFLAGS
="$CFLAGS -qnocommon"
38068 CXXFLAGS
="$CXXFLAGS -qnocommon"
38072 *-pc-os2_emx | *-pc-os2-emx )
38073 if test "x$bk_os2_use_omf" = "xyes" ; then
38076 LDFLAGS
="-Zomf $LDFLAGS"
38077 CFLAGS
="-Zomf $CFLAGS"
38078 CXXFLAGS
="-Zomf $CXXFLAGS"
38086 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38092 SO_SUFFIX_MODULE
="so"
38097 DLLPREFIX_MODULE
=""
38101 case "${BAKEFILE_HOST}" in
38106 SO_SUFFIX_MODULE
="sl"
38110 SO_SUFFIX_MODULE
="a"
38114 SO_SUFFIX_MODULE
="dll"
38115 DLLIMP_SUFFIX
="dll.a"
38122 SO_SUFFIX_MODULE
="dll"
38123 DLLIMP_SUFFIX
="dll.a"
38133 *-pc-os2_emx | *-pc-os2-emx )
38135 SO_SUFFIX_MODULE
="dll"
38136 DLLIMP_SUFFIX
=$OS2_LIBEXT
38140 LIBEXT
=".$OS2_LIBEXT"
38145 SO_SUFFIX_MODULE
="bundle"
38149 if test "x$DLLIMP_SUFFIX" = "x" ; then
38150 DLLIMP_SUFFIX
="$SO_SUFFIX"
38165 if test "x$GCC" = "xyes"; then
38169 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38170 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38173 case "${BAKEFILE_HOST}" in
38175 if test "x$GCC" != "xyes"; then
38176 LDFLAGS
="$LDFLAGS -L/usr/lib"
38178 SHARED_LD_CC
="${CC} -b -o"
38179 SHARED_LD_CXX
="${CXX} -b -o"
38185 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38187 elif test "x$SUNCXX" = "xyes"; then
38188 SHARED_LD_CC
="${CC} -G -o"
38189 SHARED_LD_CXX
="${CXX} -G -o"
38195 if test "x$SUNCXX" = xyes
; then
38196 SHARED_LD_CC
="${CC} -G -o"
38197 SHARED_LD_CXX
="${CXX} -G -o"
38205 cat <<EOF >shared-ld-sh
38207 #-----------------------------------------------------------------------------
38208 #-- Name: distrib/mac/shared-ld-sh
38209 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38210 #-- Author: Gilles Depeyrot
38211 #-- Copyright: (c) 2002 Gilles Depeyrot
38212 #-- Licence: any use permitted
38213 #-----------------------------------------------------------------------------
38218 linking_flag="-dynamiclib"
38219 ldargs="-r -keep_private_externs -nostdlib"
38221 if test "x${D}CXX" = "x"; then
38225 while test ${D}# -gt 0; do
38232 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38233 # collect these options and values
38234 args="${D}{args} ${D}1 ${D}2"
38239 # collect these options and values
38240 ldargs="${D}{ldargs} ${D}1 ${D}2"
38245 # collect these load args
38246 ldargs="${D}{ldargs} ${D}1"
38249 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38250 # collect these options
38251 args="${D}{args} ${D}1"
38254 -dynamiclib|-bundle)
38255 linking_flag="${D}1"
38259 echo "shared-ld: unhandled option '${D}1'"
38263 *.o | *.a | *.dylib)
38264 # collect object files
38265 objects="${D}{objects} ${D}1"
38269 echo "shared-ld: unhandled argument '${D}1'"
38280 # Link one module containing all the others
38282 if test ${D}{verbose} = 1; then
38283 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38285 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38289 # Link the shared library from the single module created, but only if the
38290 # previous command didn't fail:
38292 if test ${D}{status} = 0; then
38293 if test ${D}{verbose} = 1; then
38294 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38296 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38301 # Remove intermediate module
38303 rm -f master.${D}${D}.o
38308 chmod +x shared
-ld-sh
38310 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38311 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38315 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38316 if test "${bakefile_cv_gcc31+set}" = set; then :
38317 $as_echo_n "(cached) " >&6
38320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38321 /* end confdefs.h. */
38327 #if (__GNUC__ < 3) || \
38328 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38336 if ac_fn_c_try_compile
"$LINENO"; then :
38338 bakefile_cv_gcc31
=yes
38342 bakefile_cv_gcc31
=no
38346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38350 $as_echo "$bakefile_cv_gcc31" >&6; }
38351 if test "$bakefile_cv_gcc31" = "no"; then
38352 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38353 SHARED_LD_CXX
="$SHARED_LD_CC"
38355 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38356 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38359 if test "x$GCC" == "xyes"; then
38360 PIC_FLAG
="-dynamic -fPIC"
38362 if test "x$XLCC" = "xyes"; then
38363 PIC_FLAG
="-dynamic -DPIC"
38368 if test "x$GCC" = "xyes"; then
38371 case "${BAKEFILE_HOST}" in
38373 LD_EXPFULL
="-Wl,-bexpfull"
38377 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
38378 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
38380 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38381 set dummy makeC
++SharedLib
; ac_word
=$2
38382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38383 $as_echo_n "checking for $ac_word... " >&6; }
38384 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then :
38385 $as_echo_n "(cached) " >&6
38387 if test -n "$AIX_CXX_LD"; then
38388 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38391 for as_dir
in $PATH
38394 test -z "$as_dir" && as_dir
=.
38395 for ac_exec_ext
in '' $ac_executable_extensions; do
38396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38397 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38405 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38408 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38409 if test -n "$AIX_CXX_LD"; then
38410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38411 $as_echo "$AIX_CXX_LD" >&6; }
38413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38414 $as_echo "no" >&6; }
38418 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38419 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38424 SHARED_LD_CC
="${LD} -nostart -o"
38425 SHARED_LD_CXX
="${LD} -nostart -o"
38429 if test "x$GCC" != "xyes"; then
38434 *-*-cygwin* | *-*-mingw32* )
38436 SHARED_LD_CC
="\$(CC) -shared -o"
38437 SHARED_LD_CXX
="\$(CXX) -shared -o"
38441 *-pc-os2_emx | *-pc-os2-emx )
38442 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38443 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38447 cat <<EOF >dllar.sh
38450 # dllar - a tool to build both a .dll and an .a file
38451 # from a set of object (.o) files for EMX/OS2.
38453 # Written by Andrew Zabolotny, bit@freya.etu.ru
38454 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38456 # This script will accept a set of files on the command line.
38457 # All the public symbols from the .o files will be exported into
38458 # a .DEF file, then linker will be run (through gcc) against them to
38459 # build a shared library consisting of all given .o files. All libraries
38460 # (.a) will be first decompressed into component .o files then act as
38461 # described above. You can optionally give a description (-d "description")
38462 # which will be put into .DLL. To see the list of accepted options (as well
38463 # as command-line format) simply run this program without options. The .DLL
38464 # is built to be imported by name (there is no guarantee that new versions
38465 # of the library you build will have same ordinals for same symbols).
38467 # dllar is free software; you can redistribute it and/or modify
38468 # it under the terms of the GNU General Public License as published by
38469 # the Free Software Foundation; either version 2, or (at your option)
38470 # any later version.
38472 # dllar is distributed in the hope that it will be useful,
38473 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38474 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38475 # GNU General Public License for more details.
38477 # You should have received a copy of the GNU General Public License
38478 # along with dllar; see the file COPYING. If not, write to the Free
38479 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38482 # To successfuly run this program you will need:
38483 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38484 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38486 # (used to build the .dll)
38488 # (used to create .def file from .o files)
38490 # (used to create .a file from .def file)
38491 # - GNU text utilites (cat, sort, uniq)
38492 # used to process emxexp output
38493 # - GNU file utilities (mv, rm)
38495 # - lxlite (optional, see flag below)
38496 # (used for general .dll cleanup)
38503 # basnam, variant of basename, which does _not_ remove the path, _iff_
38504 # second argument (suffix to remove) is given
38508 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38511 echo ${D}1 | sed 's/'${D}2'${D}//'
38514 echo "error in basnam ${D}*"
38520 # Cleanup temporary files and output
38523 for i in ${D}inputFiles ; do
38526 rm -rf \`basnam ${D}i !\`
38533 # Kill result in case of failure as there is just to many stupid make/nmake
38534 # things out there which doesn't do this.
38535 if [ ${D}# -eq 0 ]; then
38536 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38540 # Print usage and exit script with rc=1.
38542 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38543 echo ' [-name-mangler-script script.sh]'
38544 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38545 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38546 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38547 echo ' [*.o] [*.a]'
38548 echo '*> "output_file" should have no extension.'
38549 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38550 echo ' The import library name is derived from this and is set to "name".a,'
38551 echo ' unless overridden by -import'
38552 echo '*> "importlib_name" should have no extension.'
38553 echo ' If it has the .o, or .a extension, it is automatically removed.'
38554 echo ' This name is used as the import library name and may be longer and'
38555 echo ' more descriptive than the DLL name which has to follow the old '
38556 echo ' 8.3 convention of FAT.'
38557 echo '*> "script.sh may be given to override the output_file name by a'
38558 echo ' different name. It is mainly useful if the regular make process'
38559 echo ' of some package does not take into account OS/2 restriction of'
38560 echo ' DLL name lengths. It takes the importlib name as input and is'
38561 echo ' supposed to procude a shorter name as output. The script should'
38562 echo ' expect to get importlib_name without extension and should produce'
38563 echo ' a (max.) 8 letter name without extension.'
38564 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38565 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38566 echo ' These flags will be put at the start of GCC command line.'
38567 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38568 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38569 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38570 echo ' If the last character of a symbol is "*", all symbols beginning'
38571 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38572 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38573 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38574 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38575 echo ' C runtime DLLs.'
38576 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38577 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38578 echo ' unchanged to GCC at the end of command line.'
38579 echo '*> If you create a DLL from a library and you do not specify -o,'
38580 echo ' the basename for DLL and import library will be set to library name,'
38581 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38582 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38583 echo ' library will be renamed into gcc_s.a.'
38586 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38587 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38592 # Execute a command.
38593 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38594 # @Uses Whatever CleanUp() uses.
38600 if [ ${D}rcCmd -ne 0 ]; then
38601 echo "command failed, exit code="${D}rcCmd
38616 CFLAGS="-s -Zcrtdll"
38618 EXPORT_BY_ORDINALS=0
38623 case ${D}curDirS in
38627 curDirS=${D}{curDirS}"/"
38630 # Parse commandline
38633 while [ ${D}1 ]; do
38636 EXPORT_BY_ORDINALS=1;
38646 -name-mangler-script)
38667 exclude_symbols=${D}{exclude_symbols}${D}1" "
38671 library_flags=${D}{library_flags}${D}1" "
38690 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38693 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38694 if [ ${D}omfLinking -eq 1 ]; then
38695 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38697 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38702 if [ ${D}libsToLink -ne 0 ]; then
38703 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38705 for file in ${D}1 ; do
38706 if [ -f ${D}file ]; then
38707 inputFiles="${D}{inputFiles} ${D}file"
38711 if [ ${D}found -eq 0 ]; then
38712 echo "ERROR: No file(s) found: "${D}1
38719 done # iterate cmdline words
38722 if [ -z "${D}inputFiles" ]; then
38723 echo "dllar: no input files"
38727 # Now extract all .o files from .a files
38729 for file in ${D}inputFiles ; do
38740 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38745 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38747 if [ ${D}? -ne 0 ]; then
38748 echo "Failed to create subdirectory ./${D}dirname"
38752 # Append '!' to indicate archive
38753 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38754 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38757 for subfile in ${D}dirname/*.o* ; do
38758 if [ -f ${D}subfile ]; then
38760 if [ -s ${D}subfile ]; then
38761 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38762 newInputFiles="${D}newInputFiles ${D}subfile"
38766 if [ ${D}found -eq 0 ]; then
38767 echo "WARNING: there are no files in archive \\'${D}file\\'"
38771 newInputFiles="${D}{newInputFiles} ${D}file"
38775 inputFiles="${D}newInputFiles"
38777 # Output filename(s).
38779 if [ -z ${D}outFile ]; then
38781 set outFile ${D}inputFiles; outFile=${D}2
38784 # If it is an archive, remove the '!' and the '_%' suffixes
38785 case ${D}outFile in
38787 outFile=\`basnam ${D}outFile _%!\`
38792 case ${D}outFile in
38794 outFile=\`basnam ${D}outFile .dll\`
38797 outFile=\`basnam ${D}outFile .DLL\`
38800 outFile=\`basnam ${D}outFile .o\`
38803 outFile=\`basnam ${D}outFile .obj\`
38806 outFile=\`basnam ${D}outFile .a\`
38809 outFile=\`basnam ${D}outFile .lib\`
38814 case ${D}outimpFile in
38816 outimpFile=\`basnam ${D}outimpFile .a\`
38819 outimpFile=\`basnam ${D}outimpFile .lib\`
38824 if [ -z ${D}outimpFile ]; then
38825 outimpFile=${D}outFile
38827 defFile="${D}{outFile}.def"
38828 arcFile="${D}{outimpFile}.a"
38829 arcFile2="${D}{outimpFile}.lib"
38831 #create ${D}dllFile as something matching 8.3 restrictions,
38832 if [ -z ${D}renameScript ] ; then
38833 dllFile="${D}outFile"
38835 dllFile=\`${D}renameScript ${D}outimpFile\`
38838 if [ ${D}do_backup -ne 0 ] ; then
38839 if [ -f ${D}arcFile ] ; then
38840 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38842 if [ -f ${D}arcFile2 ] ; then
38843 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38847 # Extract public symbols from all the object files.
38848 tmpdefFile=${D}{defFile}_%
38849 rm -f ${D}tmpdefFile
38850 for file in ${D}inputFiles ; do
38855 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38860 # Create the def file.
38862 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38863 dllFile="${D}{dllFile}.dll"
38864 if [ ! -z ${D}description ]; then
38865 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
38867 echo "EXPORTS" >> ${D}defFile
38869 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38870 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38872 # Checks if the export is ok or not.
38873 for word in ${D}exclude_symbols; do
38874 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38875 mv ${D}{tmpdefFile}% ${D}tmpdefFile
38879 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38880 sed "=" < ${D}tmpdefFile | \\
38884 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
38886 ' > ${D}{tmpdefFile}%
38887 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38889 rm -f ${D}{tmpdefFile}%
38891 cat ${D}tmpdefFile >> ${D}defFile
38892 rm -f ${D}tmpdefFile
38894 # Do linking, create implib, and apply lxlite.
38896 for file in ${D}inputFiles ; do
38901 gccCmdl="${D}gccCmdl ${D}file"
38905 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38906 touch "${D}{outFile}.dll"
38908 doCommand "emximp -o ${D}arcFile ${D}defFile"
38909 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
38911 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38914 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
38916 doCommand "emxomf -s -l ${D}arcFile"
38926 powerpc
-apple-macos* | \
38927 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
38937 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
38940 if test "x$PIC_FLAG" != "x" ; then
38941 PIC_FLAG
="$PIC_FLAG -DPIC"
38944 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38945 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
38947 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38948 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
38963 USE_SOTWOSYMLINKS
=0
38967 case "${BAKEFILE_HOST}" in
38968 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38969 *-*-k*bsd
*-gnu | *-*-mirbsd* )
38970 if test "x$SUNCXX" = "xyes"; then
38973 SONAME_FLAG
="-Wl,-soname,"
38977 USE_SOTWOSYMLINKS
=1
38989 USE_SOTWOSYMLINKS
=1
39007 # Check whether --enable-dependency-tracking was given.
39008 if test "${enable_dependency_tracking+set}" = set; then :
39009 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39014 $as_echo_n "checking for dependency tracking method... " >&6; }
39017 if test "x$bk_use_trackdeps" = "xno" ; then
39019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39020 $as_echo "disabled" >&6; }
39024 if test "x$GCC" = "xyes"; then
39027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39028 $as_echo "gcc" >&6; }
39029 elif test "x$MWCC" = "xyes"; then
39032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39033 $as_echo "mwcc" >&6; }
39034 elif test "x$SUNCC" = "xyes"; then
39037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39038 $as_echo "Sun cc" >&6; }
39039 elif test "x$SGICC" = "xyes"; then
39042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39043 $as_echo "SGI cc" >&6; }
39044 elif test "x$HPCC" = "xyes"; then
39047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39048 $as_echo "HP cc" >&6; }
39049 elif test "x$COMPAQCC" = "xyes"; then
39052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39053 $as_echo "Compaq cc" >&6; }
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39057 $as_echo "none" >&6; }
39060 if test $DEPS_TRACKING = 1 ; then
39066 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39067 # script. It is used to track C/C++ files dependencies in portable way.
39069 # Permission is given to use this file in any way.
39071 DEPSMODE=${DEPSMODE}
39072 DEPSFLAG="${DEPSFLAG}"
39075 if test ${D}DEPSMODE = gcc ; then
39076 ${D}* ${D}{DEPSFLAG}
39079 # determine location of created files:
39080 while test ${D}# -gt 0; do
39094 objfilebase=\`basename ${D}objfile\`
39095 builddir=\`dirname ${D}objfile\`
39096 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39097 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39098 depsdir=${D}builddir/${D}DEPSDIRBASE
39099 mkdir -p ${D}depsdir
39101 # if the compiler failed, we're done:
39102 if test ${D}{status} != 0 ; then
39107 # move created file to the location we want it in:
39108 if test -f ${D}depfile ; then
39109 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39112 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39113 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39114 if test ! -f ${D}depfile ; then
39115 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39116 depfile="${D}objfile.d"
39118 if test -f ${D}depfile ; then
39119 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39125 elif test ${D}DEPSMODE = mwcc ; then
39126 ${D}* || exit ${D}?
39127 # Run mwcc again with -MM and redirect into the dep file we want
39128 # NOTE: We can't use shift here because we need ${D}* to be valid
39130 for arg in ${D}* ; do
39131 if test "${D}prevarg" = "-o"; then
39145 objfilebase=\`basename ${D}objfile\`
39146 builddir=\`dirname ${D}objfile\`
39147 depsdir=${D}builddir/${D}DEPSDIRBASE
39148 mkdir -p ${D}depsdir
39150 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39153 elif test ${D}DEPSMODE = unixcc; then
39154 ${D}* || exit ${D}?
39155 # Run compiler again with deps flag and redirect into the dep file.
39156 # It doesn't work if the '-o FILE' option is used, but without it the
39157 # dependency file will contain the wrong name for the object. So it is
39158 # removed from the command line, and the dep file is fixed with sed.
39160 while test ${D}# -gt 0; do
39167 eval arg${D}#=\\${D}1
39168 cmd="${D}cmd \\${D}arg${D}#"
39174 objfilebase=\`basename ${D}objfile\`
39175 builddir=\`dirname ${D}objfile\`
39176 depsdir=${D}builddir/${D}DEPSDIRBASE
39177 mkdir -p ${D}depsdir
39179 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39189 BK_DEPS
="`pwd`/bk-deps"
39197 case ${BAKEFILE_HOST} in
39198 *-*-cygwin* | *-*-mingw32* )
39199 if test -n "$ac_tool_prefix"; then
39200 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39201 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39203 $as_echo_n "checking for $ac_word... " >&6; }
39204 if test "${ac_cv_prog_WINDRES+set}" = set; then :
39205 $as_echo_n "(cached) " >&6
39207 if test -n "$WINDRES"; then
39208 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39211 for as_dir
in $PATH
39214 test -z "$as_dir" && as_dir
=.
39215 for ac_exec_ext
in '' $ac_executable_extensions; do
39216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39217 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39227 WINDRES
=$ac_cv_prog_WINDRES
39228 if test -n "$WINDRES"; then
39229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39230 $as_echo "$WINDRES" >&6; }
39232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39233 $as_echo "no" >&6; }
39238 if test -z "$ac_cv_prog_WINDRES"; then
39239 ac_ct_WINDRES
=$WINDRES
39240 # Extract the first word of "windres", so it can be a program name with args.
39241 set dummy windres
; ac_word
=$2
39242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39243 $as_echo_n "checking for $ac_word... " >&6; }
39244 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
39245 $as_echo_n "(cached) " >&6
39247 if test -n "$ac_ct_WINDRES"; then
39248 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39251 for as_dir
in $PATH
39254 test -z "$as_dir" && as_dir
=.
39255 for ac_exec_ext
in '' $ac_executable_extensions; do
39256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39257 ac_cv_prog_ac_ct_WINDRES
="windres"
39258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39267 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39268 if test -n "$ac_ct_WINDRES"; then
39269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39270 $as_echo "$ac_ct_WINDRES" >&6; }
39272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39273 $as_echo "no" >&6; }
39276 if test "x$ac_ct_WINDRES" = x
; then
39279 case $cross_compiling:$ac_tool_warned in
39281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39283 ac_tool_warned
=yes ;;
39285 WINDRES
=$ac_ct_WINDRES
39288 WINDRES
="$ac_cv_prog_WINDRES"
39293 *-*-darwin* | powerpc
-apple-macos* )
39294 # Extract the first word of "Rez", so it can be a program name with args.
39295 set dummy Rez
; ac_word
=$2
39296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39297 $as_echo_n "checking for $ac_word... " >&6; }
39298 if test "${ac_cv_prog_REZ+set}" = set; then :
39299 $as_echo_n "(cached) " >&6
39301 if test -n "$REZ"; then
39302 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39305 for as_dir
in $PATH
39308 test -z "$as_dir" && as_dir
=.
39309 for ac_exec_ext
in '' $ac_executable_extensions; do
39310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39311 ac_cv_prog_REZ
="Rez"
39312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39319 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
39322 REZ
=$ac_cv_prog_REZ
39323 if test -n "$REZ"; then
39324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39325 $as_echo "$REZ" >&6; }
39327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39328 $as_echo "no" >&6; }
39332 # Extract the first word of "SetFile", so it can be a program name with args.
39333 set dummy SetFile
; ac_word
=$2
39334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39335 $as_echo_n "checking for $ac_word... " >&6; }
39336 if test "${ac_cv_prog_SETFILE+set}" = set; then :
39337 $as_echo_n "(cached) " >&6
39339 if test -n "$SETFILE"; then
39340 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39343 for as_dir
in $PATH
39346 test -z "$as_dir" && as_dir
=.
39347 for ac_exec_ext
in '' $ac_executable_extensions; do
39348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39349 ac_cv_prog_SETFILE
="SetFile"
39350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39357 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39360 SETFILE
=$ac_cv_prog_SETFILE
39361 if test -n "$SETFILE"; then
39362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39363 $as_echo "$SETFILE" >&6; }
39365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39366 $as_echo "no" >&6; }
39381 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
39384 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
39388 # Check whether --enable-precomp-headers was given.
39389 if test "${enable_precomp_headers+set}" = set; then :
39390 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
39399 case ${BAKEFILE_HOST} in
39405 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39406 if test "x$GCC" = "xyes"; then
39407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39408 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39410 /* end confdefs.h. */
39416 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39417 There is no PCH support
39420 There is no PCH support
39422 #if (__GNUC__ == 3) && \
39423 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39424 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39425 ( defined(__INTEL_COMPILER) )
39426 There is no PCH support
39433 if ac_fn_c_try_compile
"$LINENO"; then :
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39436 $as_echo "yes" >&6; }
39441 if test "$INTELCXX8" = "yes"; then
39442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39443 $as_echo "yes" >&6; }
39445 if test "$INTELCXX10" = "yes"; then
39446 ICC_PCH_CREATE_SWITCH
="-pch-create"
39447 ICC_PCH_USE_SWITCH
="-pch-use"
39449 ICC_PCH_CREATE_SWITCH
="-create-pch"
39450 ICC_PCH_USE_SWITCH
="-use-pch"
39453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39454 $as_echo "no" >&6; }
39458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39459 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39463 cat <<EOF >bk-make-pch
39466 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39467 # script. It is used to generated precompiled headers.
39469 # Permission is given to use this file in any way.
39476 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39481 while test ${D}{#} -gt 0; do
39485 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39486 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39487 headerfile="${D}{incdir}/${D}{header}"
39490 -use-pch|-use_pch|-pch-use )
39495 if test ${D}add_to_cmdline = 1 ; then
39496 compiler="${D}{compiler} ${D}{1}"
39501 if test "x${D}{headerfile}" = "x" ; then
39502 echo "error: can't find header ${D}{header} in include paths" >&2
39504 if test -f ${D}{outfile} ; then
39505 rm -f ${D}{outfile}
39507 mkdir -p \`dirname ${D}{outfile}\`
39509 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39510 mkdir -p ${D}{builddir}/.deps
39511 if test "x${GCC_PCH}" = "x1" ; then
39512 # can do this because gcc is >= 3.4:
39513 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39514 elif test "x${ICC_PCH}" = "x1" ; then
39515 filename=pch_gen-${D}${D}
39516 file=${D}{filename}.c
39517 dfile=${D}{filename}.d
39518 cat > ${D}file <<EOT
39519 #include "${D}header"
39521 # using -MF icc complains about differing command lines in creation/use
39522 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39523 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39524 rm -f ${D}file ${D}dfile ${D}{filename}.o
39530 chmod +x bk
-make-pch
39531 BK_MAKE_PCH
="`pwd`/bk-make-pch"
39542 COND_BUILD_DEBUG
="#"
39543 if test "x$BUILD" = "xdebug" ; then
39544 COND_BUILD_DEBUG
=""
39547 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39548 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39549 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39552 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39553 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39554 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39557 COND_BUILD_DEBUG_UNICODE_0
="#"
39558 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39559 COND_BUILD_DEBUG_UNICODE_0
=""
39562 COND_BUILD_DEBUG_UNICODE_1
="#"
39563 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39564 COND_BUILD_DEBUG_UNICODE_1
=""
39567 COND_BUILD_RELEASE
="#"
39568 if test "x$BUILD" = "xrelease" ; then
39569 COND_BUILD_RELEASE
=""
39572 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39573 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39574 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39577 COND_BUILD_RELEASE_UNICODE_0
="#"
39578 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39579 COND_BUILD_RELEASE_UNICODE_0
=""
39582 COND_BUILD_RELEASE_UNICODE_1
="#"
39583 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39584 COND_BUILD_RELEASE_UNICODE_1
=""
39587 COND_BUILD_debug
="#"
39588 if test "x$BUILD" = "xdebug" ; then
39589 COND_BUILD_debug
=""
39592 COND_BUILD_debug_DEBUG_FLAG_default
="#"
39593 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39594 COND_BUILD_debug_DEBUG_FLAG_default
=""
39597 COND_BUILD_debug_DEBUG_INFO_default
="#"
39598 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39599 COND_BUILD_debug_DEBUG_INFO_default
=""
39602 COND_BUILD_debug_UNICODE_0
="#"
39603 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39604 COND_BUILD_debug_UNICODE_0
=""
39607 COND_BUILD_debug_UNICODE_1
="#"
39608 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39609 COND_BUILD_debug_UNICODE_1
=""
39612 COND_BUILD_release
="#"
39613 if test "x$BUILD" = "xrelease" ; then
39614 COND_BUILD_release
=""
39617 COND_BUILD_release_DEBUG_INFO_default
="#"
39618 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39619 COND_BUILD_release_DEBUG_INFO_default
=""
39622 COND_BUILD_release_UNICODE_0
="#"
39623 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39624 COND_BUILD_release_UNICODE_0
=""
39627 COND_BUILD_release_UNICODE_1
="#"
39628 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39629 COND_BUILD_release_UNICODE_1
=""
39632 COND_DEBUG_FLAG_0
="#"
39633 if test "x$DEBUG_FLAG" = "x0" ; then
39634 COND_DEBUG_FLAG_0
=""
39637 COND_DEBUG_FLAG_1
="#"
39638 if test "x$DEBUG_FLAG" = "x1" ; then
39639 COND_DEBUG_FLAG_1
=""
39642 COND_DEBUG_INFO_0
="#"
39643 if test "x$DEBUG_INFO" = "x0" ; then
39644 COND_DEBUG_INFO_0
=""
39647 COND_DEBUG_INFO_1
="#"
39648 if test "x$DEBUG_INFO" = "x1" ; then
39649 COND_DEBUG_INFO_1
=""
39652 COND_DEPS_TRACKING_0
="#"
39653 if test "x$DEPS_TRACKING" = "x0" ; then
39654 COND_DEPS_TRACKING_0
=""
39657 COND_DEPS_TRACKING_1
="#"
39658 if test "x$DEPS_TRACKING" = "x1" ; then
39659 COND_DEPS_TRACKING_1
=""
39663 if test "x$GCC_PCH" = "x1" ; then
39668 if test "x$ICC_PCH" = "x1" ; then
39672 COND_MONOLITHIC_0
="#"
39673 if test "x$MONOLITHIC" = "x0" ; then
39674 COND_MONOLITHIC_0
=""
39677 COND_MONOLITHIC_0_SHARED_0
="#"
39678 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39679 COND_MONOLITHIC_0_SHARED_0
=""
39682 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
39683 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39684 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
39687 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39688 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39689 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39692 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
39693 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39694 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
39697 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
39698 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39699 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
39702 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
39703 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39704 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
39707 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
39708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39709 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
39712 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
39713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39714 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
39717 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
39718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39719 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
39722 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
39723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39724 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
39727 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
39728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39729 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
39732 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
39733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39734 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
39737 COND_MONOLITHIC_0_SHARED_1
="#"
39738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39739 COND_MONOLITHIC_0_SHARED_1
=""
39742 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
39743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39744 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
39747 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39749 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39752 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
39753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39754 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
39757 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
39758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39759 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
39762 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
39763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39764 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
39767 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
39768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39769 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
39772 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
39773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39774 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
39777 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
39778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39779 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
39782 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
39783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39784 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
39787 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
39788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39789 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
39792 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
39793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39794 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
39797 COND_MONOLITHIC_0_USE_AUI_1
="#"
39798 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39799 COND_MONOLITHIC_0_USE_AUI_1
=""
39802 COND_MONOLITHIC_0_USE_GUI_1
="#"
39803 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39804 COND_MONOLITHIC_0_USE_GUI_1
=""
39807 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
39808 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39809 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
39812 COND_MONOLITHIC_0_USE_HTML_1
="#"
39813 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39814 COND_MONOLITHIC_0_USE_HTML_1
=""
39817 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
39818 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39819 COND_MONOLITHIC_0_USE_MEDIA_1
=""
39822 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
39823 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39824 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
39827 COND_MONOLITHIC_0_USE_QA_1
="#"
39828 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39829 COND_MONOLITHIC_0_USE_QA_1
=""
39832 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
39833 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39834 COND_MONOLITHIC_0_USE_RIBBON_1
=""
39837 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
39838 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39839 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
39842 COND_MONOLITHIC_0_USE_STC_1
="#"
39843 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39844 COND_MONOLITHIC_0_USE_STC_1
=""
39847 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
39848 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39849 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
39852 COND_MONOLITHIC_0_USE_XRC_1
="#"
39853 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39854 COND_MONOLITHIC_0_USE_XRC_1
=""
39857 COND_MONOLITHIC_1
="#"
39858 if test "x$MONOLITHIC" = "x1" ; then
39859 COND_MONOLITHIC_1
=""
39862 COND_MONOLITHIC_1_SHARED_0
="#"
39863 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39864 COND_MONOLITHIC_1_SHARED_0
=""
39867 COND_MONOLITHIC_1_SHARED_1
="#"
39868 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39869 COND_MONOLITHIC_1_SHARED_1
=""
39872 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39873 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39874 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39877 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39878 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39879 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39882 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
39883 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
39887 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39888 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39889 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39892 COND_PLATFORM_MACOSX_1
="#"
39893 if test "x$PLATFORM_MACOSX" = "x1" ; then
39894 COND_PLATFORM_MACOSX_1
=""
39897 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
39898 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
39899 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
39902 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
39903 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39904 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
39907 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
39908 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
39909 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
39912 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
39913 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39914 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
39917 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
39918 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
39919 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
39922 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
39923 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39924 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
39927 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
39928 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
39929 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
39932 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
39933 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39934 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
39937 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39938 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39939 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39942 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
39943 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39944 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
39947 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39948 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39949 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39952 COND_PLATFORM_MACOS_1
="#"
39953 if test "x$PLATFORM_MACOS" = "x1" ; then
39954 COND_PLATFORM_MACOS_1
=""
39957 COND_PLATFORM_MAC_0
="#"
39958 if test "x$PLATFORM_MAC" = "x0" ; then
39959 COND_PLATFORM_MAC_0
=""
39962 COND_PLATFORM_MAC_1
="#"
39963 if test "x$PLATFORM_MAC" = "x1" ; then
39964 COND_PLATFORM_MAC_1
=""
39967 COND_PLATFORM_MSDOS_0
="#"
39968 if test "x$PLATFORM_MSDOS" = "x0" ; then
39969 COND_PLATFORM_MSDOS_0
=""
39972 COND_PLATFORM_MSDOS_1
="#"
39973 if test "x$PLATFORM_MSDOS" = "x1" ; then
39974 COND_PLATFORM_MSDOS_1
=""
39977 COND_PLATFORM_OS2_1
="#"
39978 if test "x$PLATFORM_OS2" = "x1" ; then
39979 COND_PLATFORM_OS2_1
=""
39982 COND_PLATFORM_UNIX_0
="#"
39983 if test "x$PLATFORM_UNIX" = "x0" ; then
39984 COND_PLATFORM_UNIX_0
=""
39987 COND_PLATFORM_UNIX_1
="#"
39988 if test "x$PLATFORM_UNIX" = "x1" ; then
39989 COND_PLATFORM_UNIX_1
=""
39992 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
39993 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39994 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
39997 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
39998 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39999 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40002 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40003 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40004 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40007 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40008 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40009 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40012 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40013 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40014 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40017 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40018 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40019 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40022 COND_PLATFORM_WIN32_0
="#"
40023 if test "x$PLATFORM_WIN32" = "x0" ; then
40024 COND_PLATFORM_WIN32_0
=""
40027 COND_PLATFORM_WIN32_1
="#"
40028 if test "x$PLATFORM_WIN32" = "x1" ; then
40029 COND_PLATFORM_WIN32_1
=""
40032 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40033 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40034 COND_PLATFORM_WIN32_1_SHARED_0
=""
40038 if test "x$SHARED" = "x0" ; then
40042 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40043 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40044 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40047 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40048 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40049 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40052 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40053 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40054 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40057 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40058 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40059 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40062 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40063 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40064 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40067 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40068 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40069 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40072 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40073 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40074 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40077 COND_SHARED_0_USE_STC_1
="#"
40078 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40079 COND_SHARED_0_USE_STC_1
=""
40082 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40083 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40084 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40087 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40088 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40089 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40092 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40093 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40094 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40098 if test "x$SHARED" = "x1" ; then
40102 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40103 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40104 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40108 if test "x$TOOLKIT" = "x" ; then
40112 COND_TOOLKIT_COCOA
="#"
40113 if test "x$TOOLKIT" = "xCOCOA" ; then
40114 COND_TOOLKIT_COCOA
=""
40117 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40118 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40119 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40122 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40123 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40124 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40127 COND_TOOLKIT_DFB
="#"
40128 if test "x$TOOLKIT" = "xDFB" ; then
40129 COND_TOOLKIT_DFB
=""
40132 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40133 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40134 COND_TOOLKIT_DFB_USE_GUI_1
=""
40137 COND_TOOLKIT_GTK
="#"
40138 if test "x$TOOLKIT" = "xGTK" ; then
40139 COND_TOOLKIT_GTK
=""
40142 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40143 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40144 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40147 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40148 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40149 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40152 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40153 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40154 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40157 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40158 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40159 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40162 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40163 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40164 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40167 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40168 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40169 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40172 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40173 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40174 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40177 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40178 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40179 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40182 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40183 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40184 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40187 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40188 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40189 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40192 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40193 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40194 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40197 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40198 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40199 COND_TOOLKIT_GTK_USE_GUI_1
=""
40202 COND_TOOLKIT_MAC
="#"
40203 if test "x$TOOLKIT" = "xMAC" ; then
40204 COND_TOOLKIT_MAC
=""
40207 COND_TOOLKIT_MOTIF
="#"
40208 if test "x$TOOLKIT" = "xMOTIF" ; then
40209 COND_TOOLKIT_MOTIF
=""
40212 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40213 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40214 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40217 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40218 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40219 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40222 COND_TOOLKIT_MSW
="#"
40223 if test "x$TOOLKIT" = "xMSW" ; then
40224 COND_TOOLKIT_MSW
=""
40227 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40228 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40229 COND_TOOLKIT_MSW_USE_GUI_1
=""
40232 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40233 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40234 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40237 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40238 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40239 COND_TOOLKIT_MSW_WXUNIV_0
=""
40242 COND_TOOLKIT_OSX_CARBON
="#"
40243 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40244 COND_TOOLKIT_OSX_CARBON
=""
40247 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40248 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40249 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40252 COND_TOOLKIT_OSX_COCOA
="#"
40253 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40254 COND_TOOLKIT_OSX_COCOA
=""
40257 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40258 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40259 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40262 COND_TOOLKIT_OSX_IPHONE
="#"
40263 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40264 COND_TOOLKIT_OSX_IPHONE
=""
40267 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40268 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40269 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40272 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40273 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40274 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40277 COND_TOOLKIT_PM
="#"
40278 if test "x$TOOLKIT" = "xPM" ; then
40282 COND_TOOLKIT_PM_USE_GUI_1
="#"
40283 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40284 COND_TOOLKIT_PM_USE_GUI_1
=""
40287 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40288 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40289 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40292 COND_TOOLKIT_WINCE
="#"
40293 if test "x$TOOLKIT" = "xWINCE" ; then
40294 COND_TOOLKIT_WINCE
=""
40297 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40298 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40299 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40302 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40303 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40304 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40307 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40308 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40309 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40312 COND_TOOLKIT_X11
="#"
40313 if test "x$TOOLKIT" = "xX11" ; then
40314 COND_TOOLKIT_X11
=""
40317 COND_TOOLKIT_X11_USE_GUI_1
="#"
40318 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40319 COND_TOOLKIT_X11_USE_GUI_1
=""
40323 if test "x$UNICODE" = "x1" ; then
40327 COND_USE_CAIRO_1
="#"
40328 if test "x$USE_CAIRO" = "x1" ; then
40329 COND_USE_CAIRO_1
=""
40332 COND_USE_EXCEPTIONS_0
="#"
40333 if test "x$USE_EXCEPTIONS" = "x0" ; then
40334 COND_USE_EXCEPTIONS_0
=""
40337 COND_USE_EXCEPTIONS_1
="#"
40338 if test "x$USE_EXCEPTIONS" = "x1" ; then
40339 COND_USE_EXCEPTIONS_1
=""
40343 if test "x$USE_GUI" = "x0" ; then
40348 if test "x$USE_GUI" = "x1" ; then
40352 COND_USE_GUI_1_USE_OPENGL_1
="#"
40353 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40354 COND_USE_GUI_1_USE_OPENGL_1
=""
40357 COND_USE_GUI_1_WXUNIV_0
="#"
40358 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40359 COND_USE_GUI_1_WXUNIV_0
=""
40362 COND_USE_GUI_1_WXUNIV_1
="#"
40363 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40364 COND_USE_GUI_1_WXUNIV_1
=""
40367 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40368 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40369 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40372 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40373 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40374 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40377 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40378 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40379 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40382 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40383 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40384 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40387 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40388 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40389 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40392 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40393 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40394 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40397 COND_USE_OPENGL_1
="#"
40398 if test "x$USE_OPENGL" = "x1" ; then
40399 COND_USE_OPENGL_1
=""
40403 if test "x$USE_PCH" = "x1" ; then
40407 COND_USE_PLUGINS_0
="#"
40408 if test "x$USE_PLUGINS" = "x0" ; then
40409 COND_USE_PLUGINS_0
=""
40412 COND_USE_RTTI_0
="#"
40413 if test "x$USE_RTTI" = "x0" ; then
40417 COND_USE_RTTI_1
="#"
40418 if test "x$USE_RTTI" = "x1" ; then
40422 COND_USE_SOTWOSYMLINKS_1
="#"
40423 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40424 COND_USE_SOTWOSYMLINKS_1
=""
40427 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
40428 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40429 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
40432 COND_USE_SOVERLINUX_1
="#"
40433 if test "x$USE_SOVERLINUX" = "x1" ; then
40434 COND_USE_SOVERLINUX_1
=""
40437 COND_USE_SOVERSION_0
="#"
40438 if test "x$USE_SOVERSION" = "x0" ; then
40439 COND_USE_SOVERSION_0
=""
40442 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
40443 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40444 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
40447 COND_USE_SOVERSOLARIS_1
="#"
40448 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40449 COND_USE_SOVERSOLARIS_1
=""
40453 if test "x$USE_STC" = "x1" ; then
40457 COND_USE_THREADS_0
="#"
40458 if test "x$USE_THREADS" = "x0" ; then
40459 COND_USE_THREADS_0
=""
40462 COND_USE_THREADS_1
="#"
40463 if test "x$USE_THREADS" = "x1" ; then
40464 COND_USE_THREADS_1
=""
40468 if test "x$USE_XRC" = "x1" ; then
40472 COND_WINDOWS_IMPLIB_1
="#"
40473 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40474 COND_WINDOWS_IMPLIB_1
=""
40477 COND_WITH_PLUGIN_SDL_1
="#"
40478 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40479 COND_WITH_PLUGIN_SDL_1
=""
40483 if test "x$WXUNIV" = "x0" ; then
40488 if test "x$WXUNIV" = "x1" ; then
40492 COND_WXUSE_EXPAT_BUILTIN
="#"
40493 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40494 COND_WXUSE_EXPAT_BUILTIN
=""
40497 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40498 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40499 COND_WXUSE_LIBJPEG_BUILTIN
=""
40502 COND_WXUSE_LIBPNG_BUILTIN
="#"
40503 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40504 COND_WXUSE_LIBPNG_BUILTIN
=""
40507 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40508 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40509 COND_WXUSE_LIBTIFF_BUILTIN
=""
40512 COND_WXUSE_REGEX_BUILTIN
="#"
40513 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40514 COND_WXUSE_REGEX_BUILTIN
=""
40517 COND_WXUSE_ZLIB_BUILTIN
="#"
40518 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40519 COND_WXUSE_ZLIB_BUILTIN
=""
40522 COND_wxUSE_EXPAT_builtin
="#"
40523 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40524 COND_wxUSE_EXPAT_builtin
=""
40527 COND_wxUSE_LIBJPEG_builtin
="#"
40528 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40529 COND_wxUSE_LIBJPEG_builtin
=""
40532 COND_wxUSE_LIBPNG_builtin
="#"
40533 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40534 COND_wxUSE_LIBPNG_builtin
=""
40537 COND_wxUSE_LIBTIFF_builtin
="#"
40538 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40539 COND_wxUSE_LIBTIFF_builtin
=""
40542 COND_wxUSE_REGEX_builtin
="#"
40543 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40544 COND_wxUSE_REGEX_builtin
=""
40547 COND_wxUSE_ZLIB_builtin
="#"
40548 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40549 COND_wxUSE_ZLIB_builtin
=""
40554 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40555 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
40558 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40559 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
40566 ?
:* ) # Drive letter, considered as absolute.
40569 INSTALL
=`pwd`/${INSTALL} ;;
40572 if test "$wxUSE_GUI" = "yes"; then
40574 if test "$wxUSE_MSW" = 1 ; then
40575 if test "x$WINDRES" = "x"; then
40576 as_fn_error $?
"Required windres program not found" "$LINENO" 5
40582 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40583 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40584 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40586 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40588 # Extract the first word of "DeRez", so it can be a program name with args.
40589 set dummy DeRez
; ac_word
=$2
40590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40591 $as_echo_n "checking for $ac_word... " >&6; }
40592 if test "${ac_cv_prog_DEREZ+set}" = set; then :
40593 $as_echo_n "(cached) " >&6
40595 if test -n "$DEREZ"; then
40596 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
40598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40599 for as_dir
in $PATH
40602 test -z "$as_dir" && as_dir
=.
40603 for ac_exec_ext
in '' $ac_executable_extensions; do
40604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40605 ac_cv_prog_DEREZ
="DeRez"
40606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40613 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
40616 DEREZ
=$ac_cv_prog_DEREZ
40617 if test -n "$DEREZ"; then
40618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40619 $as_echo "$DEREZ" >&6; }
40621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40622 $as_echo "no" >&6; }
40627 MACSETFILE
="\$(SETFILE)"
40629 if test "$wxUSE_OSX_CARBON" = 1; then
40630 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40632 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
40634 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40635 RESCOMP
="cat /dev/null \| $REZ"
40636 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40642 if test "$wxUSE_PM" = 1; then
40644 WXCONFIG_RESFLAGS
="-ep"
40646 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
40648 POSTLINK_COMMAND
="@true"
40655 if test $GCC_PCH = 1
40657 if test "$wx_cv_gcc_pch_bug" = yes; then
40658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40659 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40661 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40663 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40666 # Our WX_PRECOMP flag does not make sense for any language except C++ because
40667 # the headers that benefit from precompilation are mostly C++ headers.
40668 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
40669 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40670 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40674 if test "$wxUSE_MAC" = 1 ; then
40675 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40676 if test "x$disable_macosx_deps" = "xyes"; then
40677 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
40684 if test "$wxUSE_SHARED" = "yes"; then
40686 *-pc-os2_emx | *-pc-os2-emx )
40687 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40688 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40689 cp -p ${srcdir}/src
/os
2/dllnames.sh .
40690 cp -p ${srcdir}/src
/os
2/dllar.sh .
40694 if test "$wxUSE_OMF" = "yes"; then
40696 *-pc-os2_emx | *-pc-os2-emx )
40697 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
40698 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
40699 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
40704 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40709 if test "$GCC" = yes; then
40710 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
40711 LIBS
=`echo $LIBS | sed 's/-mt//g'`
40712 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40717 if test "x$SUNCXX" = xyes
; then
40718 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
40719 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
40720 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40725 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
40726 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40727 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
40728 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40730 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40792 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40794 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40795 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
40796 $as_echo_n "(cached) " >&6
40798 cat >conftest.
make <<\_ACEOF
40801 @
echo '@@@%%%=$(MAKE)=@@@%%%'
40803 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40804 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40805 *@@@
%%%=?
*=@@@
%%%*)
40806 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
40808 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
40810 rm -f conftest.
make
40812 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
40813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40814 $as_echo "yes" >&6; }
40817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40818 $as_echo "no" >&6; }
40819 SET_MAKE
="MAKE=${MAKE-make}"
40824 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40827 if test "$USE_WIN32" = 1; then
40828 ac_config_commands
="$ac_config_commands rcdefs.h"
40832 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40835 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40838 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
40841 if test "$wx_cv_version_script" = "yes"; then
40842 ac_config_files
="$ac_config_files version-script"
40845 ac_config_files
="$ac_config_files Makefile"
40848 ac_config_commands
="$ac_config_commands wx-config"
40852 if test "$wxWITH_SUBDIRS" != "no"; then
40853 if test "$wxUSE_GUI" = "yes"; then
40854 SUBDIRS
="samples demos utils"
40856 SUBDIRS
="samples utils"
40861 # Check whether --with-cppunit-prefix was given.
40862 if test "${with_cppunit_prefix+set}" = set; then :
40863 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
40865 cppunit_config_prefix
=""
40869 # Check whether --with-cppunit-exec-prefix was given.
40870 if test "${with_cppunit_exec_prefix+set}" = set; then :
40871 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
40873 cppunit_config_exec_prefix
=""
40877 if test x
$cppunit_config_exec_prefix != x
; then
40878 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40879 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40880 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
40883 if test x
$cppunit_config_prefix != x
; then
40884 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
40885 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40886 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
40890 # Extract the first word of "cppunit-config", so it can be a program name with args.
40891 set dummy cppunit
-config; ac_word
=$2
40892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40893 $as_echo_n "checking for $ac_word... " >&6; }
40894 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then :
40895 $as_echo_n "(cached) " >&6
40897 case $CPPUNIT_CONFIG in
40899 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40903 for as_dir
in $PATH
40906 test -z "$as_dir" && as_dir
=.
40907 for ac_exec_ext
in '' $ac_executable_extensions; do
40908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40909 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40917 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
40921 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
40922 if test -n "$CPPUNIT_CONFIG"; then
40923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
40924 $as_echo "$CPPUNIT_CONFIG" >&6; }
40926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40927 $as_echo "no" >&6; }
40931 cppunit_version_min
=1.8.0
40933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
40934 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
40936 if test "$CPPUNIT_CONFIG" = "no" ; then
40937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40938 $as_echo "no" >&6; }
40941 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
40942 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
40943 cppunit_version
=`$CPPUNIT_CONFIG --version`
40945 cppunit_major_version
=`echo $cppunit_version | \
40946 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40947 cppunit_minor_version
=`echo $cppunit_version | \
40948 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40949 cppunit_micro_version
=`echo $cppunit_version | \
40950 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40952 cppunit_major_min
=`echo $cppunit_version_min | \
40953 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40954 cppunit_minor_min
=`echo $cppunit_version_min | \
40955 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40956 cppunit_micro_min
=`echo $cppunit_version_min | \
40957 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40959 cppunit_version_proper
=`expr \
40960 $cppunit_major_version \> $cppunit_major_min \| \
40961 $cppunit_major_version \= $cppunit_major_min \& \
40962 $cppunit_minor_version \> $cppunit_minor_min \| \
40963 $cppunit_major_version \= $cppunit_major_min \& \
40964 $cppunit_minor_version \= $cppunit_minor_min \& \
40965 $cppunit_micro_version \>= $cppunit_micro_min `
40967 if test "$cppunit_version_proper" = "1" ; then
40968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40969 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
40971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40972 $as_echo "no" >&6; }
40977 if test "x$no_cppunit" = x
; then
40978 SUBDIRS
="$SUBDIRS tests"
40989 for subdir
in $SUBDIRS; do
40990 if test -d ${srcdir}/${subdir} ; then
40991 if test "$wxUSE_GUI" = "yes"; then
40992 if test ${subdir} = "samples"; then
40993 makefiles
="samples/Makefile.in $makefiles"
40994 for sample
in $SAMPLES_SUBDIRS; do
40995 if test -d $srcdir/samples
/$sample; then
40996 makefiles
="samples/$sample/Makefile.in $makefiles"
41000 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41001 eval "disabled=\$$disabled_var"
41002 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41003 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41006 if test ${subdir} = "samples"; then
41007 makefiles
="samples/Makefile.in $makefiles"
41008 for sample
in `echo $SAMPLES_SUBDIRS`; do
41009 if test -d $srcdir/samples
/$sample; then
41010 makefiles
="samples/$sample/Makefile.in $makefiles"
41013 elif test ${subdir} = "utils"; then
41015 for util
in ifacecheck
; do
41016 if test -d $srcdir/utils
/$util ; then
41017 makefiles
="utils/$util/src/Makefile.in \
41022 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41026 for mkin
in $makefiles ; do
41027 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41028 ac_config_files
="$ac_config_files $mk"
41034 cat >confcache
<<\_ACEOF
41035 # This file is a shell script that caches the results of configure
41036 # tests run on this system so they can be shared between configure
41037 # scripts and configure runs, see configure's option --config-cache.
41038 # It is not useful on other systems. If it contains results you don't
41039 # want to keep, you may remove or edit it.
41041 # config.status only pays attention to the cache file if you give it
41042 # the --recheck option to rerun configure.
41044 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41045 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41046 # following values.
41050 # The following way of writing the cache mishandles newlines in values,
41051 # but we know of no workaround that is simple, portable, and efficient.
41052 # So, we kill variables containing newlines.
41053 # Ultrix sh set writes to stderr and can't be redirected directly,
41054 # and sets the high bit in the cache file unless we assign to the vars.
41056 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41057 eval ac_val
=\$
$ac_var
41061 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41062 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41065 _
| IFS
| as_nl
) ;; #(
41066 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41067 *) { eval $ac_var=; unset $ac_var;} ;;
41073 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41074 *${as_nl}ac_space
=\
*)
41075 # `set' does not quote correctly, so add quotes: double-quote
41076 # substitution turns \\\\ into \\, and sed turns \\ into \.
41079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41082 # `set' quotes correctly as required by POSIX, so do not add quotes.
41083 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41092 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41094 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41096 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41097 if test -w "$cache_file"; then
41098 test "x$cache_file" != "x/dev/null" &&
41099 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41100 $as_echo "$as_me: updating cache $cache_file" >&6;}
41101 cat confcache
>$cache_file
41103 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41104 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41109 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41110 # Let make expand exec_prefix.
41111 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41113 DEFS
=-DHAVE_CONFIG_H
41118 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41119 # 1. Remove the extension, and $U if already installed.
41120 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41121 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41122 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41123 # will be set to the directory where LIBOBJS objects are built.
41124 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41125 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41127 LIBOBJS
=$ac_libobjs
41129 LTLIBOBJS
=$ac_ltlibobjs
41133 : ${CONFIG_STATUS=./config.status}
41135 ac_clean_files_save
=$ac_clean_files
41136 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41137 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41138 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41140 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41142 # Generated by $as_me.
41143 # Run this file to recreate the current configuration.
41144 # Compiler output produced by configure, useful for debugging
41145 # configure, is in config.log if it exists.
41148 ac_cs_recheck=false
41151 SHELL=\${CONFIG_SHELL-$SHELL}
41154 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41155 ## -------------------- ##
41156 ## M4sh Initialization. ##
41157 ## -------------------- ##
41159 # Be more Bourne compatible
41160 DUALCASE
=1; export DUALCASE
# for MKS sh
41161 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41164 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41165 # is contrary to our usage. Disable this feature.
41166 alias -g '${1+"$@"}'='"$@"'
41167 setopt NO_GLOB_SUBST
41169 case `(set -o) 2>/dev/null` in #(
41181 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41182 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41183 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41184 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41185 # Prefer a ksh shell builtin over an external printf program on Solaris,
41186 # but without wasting forks for bash or zsh.
41187 if test -z "$BASH_VERSION$ZSH_VERSION" \
41188 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41189 as_echo='print
-r --'
41190 as_echo_n='print
-rn --'
41191 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41192 as_echo='printf %s
\n'
41193 as_echo_n='printf %s
'
41195 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41196 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41197 as_echo_n='/usr
/ucb
/echo -n'
41199 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41200 as_echo_n_body='eval
41204 expr "X$arg" : "X\\(.*\\)$as_nl";
41205 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41207 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41209 export as_echo_n_body
41210 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41212 export as_echo_body
41213 as_echo='sh
-c $as_echo_body as_echo
'
41216 # The user is always right.
41217 if test "${PATH_SEPARATOR+set}" != set; then
41219 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41220 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41227 # We need space, tab and new line, in precisely that order. Quoting is
41228 # there to prevent editors from complaining about space-tab.
41229 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41230 # splitting by setting IFS to empty value.)
41233 # Find who we are. Look in the path if we contain no directory separator.
41235 *[\\/]* ) as_myself=$0 ;;
41236 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41237 for as_dir in $PATH
41240 test -z "$as_dir" && as_dir=.
41241 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41247 # We did not find ourselves, most probably we were run as `sh COMMAND'
41248 # in which case we are not to be found in the path.
41249 if test "x$as_myself" = x
; then
41252 if test ! -f "$as_myself"; then
41253 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41257 # Unset variables that we do not need and which cause bugs (e.g. in
41258 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41259 # suppresses any "Segmentation fault" message there. '((' could
41260 # trigger a bug in pdksh 5.2.14.
41261 for as_var
in BASH_ENV ENV MAIL MAILPATH
41262 do eval test x\
${$as_var+set} = xset \
41263 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41276 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41279 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41280 # ----------------------------------------
41281 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41282 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41283 # script with STATUS, using 1 if that was 0.
41286 as_status
=$1; test $as_status -eq 0 && as_status
=1
41288 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41289 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41291 $as_echo "$as_me: error: $2" >&2
41292 as_fn_exit
$as_status
41296 # as_fn_set_status STATUS
41297 # -----------------------
41298 # Set $? to STATUS, without forking.
41299 as_fn_set_status
()
41302 } # as_fn_set_status
41304 # as_fn_exit STATUS
41305 # -----------------
41306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41310 as_fn_set_status
$1
41316 # Portably unset VAR.
41319 { eval $1=; unset $1;}
41321 as_unset
=as_fn_unset
41322 # as_fn_append VAR VALUE
41323 # ----------------------
41324 # Append the text in VALUE to the end of the definition contained in VAR. Take
41325 # advantage of any shell optimizations that allow amortized linear growth over
41326 # repeated appends, instead of the typical quadratic growth present in naive
41328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41329 eval 'as_fn_append ()
41340 # as_fn_arith ARG...
41341 # ------------------
41342 # Perform arithmetic evaluation on the ARGs, and store the result in the
41343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41344 # must be portable across $(()) and expr.
41345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41346 eval 'as_fn_arith ()
41353 as_val
=`expr "$@" || test $? -eq 1`
41358 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41359 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
41365 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41366 as_basename
=basename
41371 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
41377 as_me
=`$as_basename -- "$0" ||
41378 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41379 X"$0" : 'X\(//\)$' \| \
41380 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41382 sed '/^.*\/\([^/][^/]*\)\/*$/{
41396 # Avoid depending upon Character Ranges.
41397 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41398 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41399 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41400 as_cr_digits
='0123456789'
41401 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41403 ECHO_C
= ECHO_N
= ECHO_T
=
41404 case `echo -n x` in #(((((
41406 case `echo 'xy\c'` in
41407 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
41409 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
41416 rm -f conf$$ conf$$.exe conf$$.
file
41417 if test -d conf$$.dir
; then
41418 rm -f conf$$.dir
/conf$$.
file
41421 mkdir conf$$.dir
2>/dev
/null
41423 if (echo >conf$$.
file) 2>/dev
/null
; then
41424 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41426 # ... but there are two gotchas:
41427 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41428 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41429 # In both cases, we have to default to `cp -p'.
41430 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
41432 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41440 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
41441 rmdir conf$$.dir
2>/dev
/null
41446 # Create "$as_dir" as a directory, including parents if necessary.
41451 -*) as_dir
=.
/$as_dir;;
41453 test -d "$as_dir" || eval $as_mkdir_p || {
41457 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41458 *) as_qdir
=$as_dir;;
41460 as_dirs
="'$as_qdir' $as_dirs"
41461 as_dir
=`$as_dirname -- "$as_dir" ||
41462 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41463 X"$as_dir" : 'X\(//\)[^/]' \| \
41464 X"$as_dir" : 'X\(//\)$' \| \
41465 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41466 $as_echo X"$as_dir" |
41467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41471 /^X\(\/\/\)[^/].*/{
41484 test -d "$as_dir" && break
41486 test -z "$as_dirs" || eval "mkdir $as_dirs"
41487 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
41491 if mkdir -p .
2>/dev
/null
; then
41492 as_mkdir_p
='mkdir -p "$as_dir"'
41494 test -d .
/-p && rmdir .
/-p
41498 if test -x / >/dev
/null
2>&1; then
41499 as_test_x
='test -x'
41501 if ls -dL / >/dev
/null
2>&1; then
41508 if test -d "$1"; then
41514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
41515 ???[sx]*):;;*)false;;esac;fi
41519 as_executable_p
=$as_test_x
41521 # Sed expression to map a string onto a valid CPP name.
41522 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41524 # Sed expression to map a string onto a valid variable name.
41525 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41529 ## ----------------------------------- ##
41530 ## Main body of $CONFIG_STATUS script. ##
41531 ## ----------------------------------- ##
41533 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
41535 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41536 # Save the log message, to keep $0 and so on meaningful, and to
41537 # report actual input values of CONFIG_FILES etc. instead of their
41538 # values after options handling.
41540 This file was extended by wxWidgets $as_me 2.9.4, which was
41541 generated by GNU Autoconf 2.67. Invocation command line was
41543 CONFIG_FILES = $CONFIG_FILES
41544 CONFIG_HEADERS = $CONFIG_HEADERS
41545 CONFIG_LINKS = $CONFIG_LINKS
41546 CONFIG_COMMANDS = $CONFIG_COMMANDS
41549 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41554 case $ac_config_files in *"
41555 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
41558 case $ac_config_headers in *"
41559 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
41563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41564 # Files that config.status was made for.
41565 config_files="$ac_config_files"
41566 config_headers="$ac_config_headers"
41567 config_commands="$ac_config_commands"
41571 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41573 \`$as_me' instantiates files and other configuration actions
41574 from templates according to the current configuration. Unless the files
41575 and actions are specified as TAGs, all are instantiated by default.
41577 Usage: $0 [OPTION]... [TAG]...
41579 -h, --help print this help, then exit
41580 -V, --version print version number and configuration settings, then exit
41581 --config print configuration, then exit
41582 -q, --quiet, --silent
41583 do not print progress messages
41584 -d, --debug don't remove temporary files
41585 --recheck update $as_me by reconfiguring in the same conditions
41586 --file=FILE[:TEMPLATE]
41587 instantiate the configuration file FILE
41588 --header=FILE[:TEMPLATE]
41589 instantiate the configuration header FILE
41591 Configuration files:
41594 Configuration headers:
41597 Configuration commands:
41600 Report bugs to <wx-dev@lists.wxwidgets.org>."
41603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41604 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41606 wxWidgets config.status 2.9.4
41607 configured by $0, generated by GNU Autoconf 2.67,
41608 with options \\"\$ac_cs_config\\"
41610 Copyright (C) 2010 Free Software Foundation, Inc.
41611 This config.status script is free software; the Free Software Foundation
41612 gives unlimited permission to copy, distribute and modify it."
41617 test -n "\$AWK" || AWK=awk
41620 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41621 # The default lists apply if the user does not specify any file.
41627 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
41628 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
41632 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
41644 # Handling of the options.
41645 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41647 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41648 $as_echo "$ac_cs_version"; exit ;;
41649 --config | --confi | --conf | --con | --co | --c )
41650 $as_echo "$ac_cs_config"; exit ;;
41651 --debug | --debu | --deb | --de | --d | -d )
41653 --file | --fil | --fi | --f )
41656 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41657 '') as_fn_error $?
"missing file argument" ;;
41659 as_fn_append CONFIG_FILES
" '$ac_optarg'"
41660 ac_need_defaults
=false
;;
41661 --header | --heade | --head | --hea )
41664 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41666 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
41667 ac_need_defaults
=false
;;
41669 # Conflict between --help and --header
41670 as_fn_error $?
"ambiguous option: \`$1'
41671 Try \`$0 --help' for more information.";;
41672 --help | --hel | -h )
41673 $as_echo "$ac_cs_usage"; exit ;;
41674 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41675 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41678 # This is an error.
41679 -*) as_fn_error $?
"unrecognized option: \`$1'
41680 Try \`$0 --help' for more information." ;;
41682 *) as_fn_append ac_config_targets
" $1"
41683 ac_need_defaults
=false
;;
41689 ac_configure_extra_args
=
41691 if $ac_cs_silent; then
41693 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41698 if \$ac_cs_recheck; then
41699 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41701 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41702 CONFIG_SHELL='$SHELL'
41703 export CONFIG_SHELL
41708 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41712 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41713 ## Running $as_me. ##
41719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41725 infile="$srcdir/include/wx/msw/genrcdefs.h"
41726 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41729 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41730 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41731 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41737 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41739 # Handling of arguments.
41740 for ac_config_target
in $ac_config_targets
41742 case $ac_config_target in
41743 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41744 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
41745 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41746 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41747 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41748 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41749 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41750 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
41751 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41753 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
41758 # If the user did not use the arguments to specify the items to instantiate,
41759 # then the envvar interface is used. Set only those that are not.
41760 # We use the long form for the default assignment because of an extremely
41761 # bizarre bug on SunOS 4.1.3.
41762 if $ac_need_defaults; then
41763 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41764 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41765 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41768 # Have a temporary directory for convenience. Make it in the build tree
41769 # simply because there is no reason against having it here, and in addition,
41770 # creating and moving files from /tmp can sometimes cause problems.
41771 # Hook for its removal unless debugging.
41772 # Note that there is a small window in which the directory will not be cleaned:
41773 # after its creation but before its name has been assigned to `$tmp'.
41777 trap 'exit_status=$?
41778 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
41780 trap 'as_fn_exit 1' 1 2 13 15
41782 # Create a (secure) tmp directory for tmp files.
41785 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41786 test -n "$tmp" && test -d "$tmp"
41789 tmp
=.
/conf$$
-$RANDOM
41790 (umask 077 && mkdir "$tmp")
41791 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
41793 # Set up the scripts for CONFIG_FILES section.
41794 # No need to generate them if there are no CONFIG_FILES.
41795 # This happens for instance with `./config.status config.h'.
41796 if test -n "$CONFIG_FILES"; then
41799 ac_cr
=`echo X | tr X '\015'`
41800 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41801 # But we know of no other shell where ac_cr would be empty at this
41802 # point, so we can use a bashism as a fallback.
41803 if test "x$ac_cr" = x
; then
41804 eval ac_cr
=\$
\'\\r
\'
41806 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41807 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41810 ac_cs_awk_cr
=$ac_cr
41813 echo 'BEGIN {' >"$tmp/subs1.awk" &&
41818 echo "cat >conf$$subs.awk <<_ACEOF" &&
41819 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41821 } >conf$$subs.sh ||
41822 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41823 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41825 for ac_last_try in false false false false false :; do
41826 . ./conf$$subs.sh ||
41827 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41829 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
41830 if test $ac_delim_n = $ac_delim_num; then
41832 elif $ac_last_try; then
41833 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41835 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
41838 rm -f conf$$subs.sh
41840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41841 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
41845 s/^/S["/; s
/!.
*/"]=/
41855 s/\(.\{148\}\)..*/\1/
41857 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
41862 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
41869 s/\(.\{148\}\)..*/\1/
41871 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
41875 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
41880 ' <conf$$subs.awk | sed '
41885 ' >>$CONFIG_STATUS || ac_write_fail=1
41886 rm -f conf$$subs.awk
41887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41889 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
41890 for (key in S) S_is_set[key] = 1
41896 nfields = split(line, field, "@
")
41898 len = length(field[1])
41899 for (i = 2; i < nfields; i++) {
41901 keylen = length(key)
41902 if (S_is_set[key]) {
41904 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41905 len += length(value) + length(field[++i])
41916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41917 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
41918 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
41921 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
41922 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
41925 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
41926 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
41927 # trailing colons and then remove the whole line if VPATH becomes empty
41928 # (actually we leave an empty line to preserve line numbers).
41929 if test "x
$srcdir" = x.; then
41930 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
41948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41949 fi # test -n "$CONFIG_FILES"
41951 # Set up the scripts for CONFIG_HEADERS section.
41952 # No need to generate them if there are no CONFIG_HEADERS.
41953 # This happens for instance with `./config.status Makefile'.
41954 if test -n "$CONFIG_HEADERS"; then
41955 cat >"$tmp/defines.
awk" <<\_ACAWK ||
41959 # Transform confdefs.h into an awk script `defines.awk', embedded as
41960 # here-document in config.status, that substitutes the proper values into
41961 # config.h.in to produce config.h.
41963 # Create a delimiter string that does not exist in confdefs.h, to ease
41964 # handling of long lines.
41966 for ac_last_try in false false :; do
41967 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
41968 if test -z "$ac_t"; then
41970 elif $ac_last_try; then
41971 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
41973 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
41977 # For the awk script, D is an array of macro values keyed by name,
41978 # likewise P contains macro parameters if any. Preserve backslash
41979 # newline sequences.
41981 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
41983 s/.\{148\}/&'"$ac_delim"'/g
41986 s/^[ ]*#[ ]*define[ ][ ]*/ /
41993 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
41995 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
41999 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42000 D["\
1"]=" \
3\\\\\\n
"\\/p
42002 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42007 s/.\{148\}/&'"$ac_delim"'/g
42012 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42015 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42017 ' <confdefs.h | sed '
42018 s/'"$ac_delim"'/"\\\
42019 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42022 for (key in D) D_is_set[key] = 1
42025 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42027 split(line, arg, " ")
42028 if (arg[1] == "#") {
42032 defundef
= substr
(arg
[1], 2)
42035 split(mac1
, mac2
, "(") #)
42037 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42038 if (D_is_set
[macro
]) {
42039 # Preserve the white space surrounding the "#".
42040 print prefix
"define", macro P
[macro
] D
[macro
]
42043 # Replace #undef with comments. This is necessary, for example,
42044 # in the case of _POSIX_SOURCE, which is predefined and required
42045 # on some systems where configure will not decide to define it.
42046 if (defundef
== "undef") {
42047 print
"/*", prefix defundef
, macro
, "*/"
42055 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42056 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42057 fi # test -n "$CONFIG_HEADERS"
42060 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42065 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42067 case $ac_mode$ac_tag in
42069 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
42070 :[FH
]-) ac_tag
=-:-;;
42071 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42088 -) ac_f
="$tmp/stdin";;
42089 *) # Look for the file first in the build tree, then in the source tree
42090 # (if the path is not absolute). The absolute path cannot be DOS-style,
42091 # because $ac_f cannot contain `:'.
42095 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42097 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
42099 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42100 as_fn_append ac_file_inputs
" '$ac_f'"
42103 # Let's still pretend it is `configure' which instantiates (i.e., don't
42104 # use $as_me), people would be surprised to read:
42105 # /* config.h. Generated by config.status. */
42106 configure_input
='Generated from '`
42107 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42109 if test x
"$ac_file" != x
-; then
42110 configure_input
="$ac_file. $configure_input"
42111 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42112 $as_echo "$as_me: creating $ac_file" >&6;}
42114 # Neutralize special characters interpreted by sed in replacement strings.
42115 case $configure_input in #(
42116 *\
&* | *\
|* | *\\* )
42117 ac_sed_conf_input
=`$as_echo "$configure_input" |
42118 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42119 *) ac_sed_conf_input
=$configure_input;;
42123 *:-:* | *:-) cat >"$tmp/stdin" \
42124 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42129 ac_dir
=`$as_dirname -- "$ac_file" ||
42130 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42131 X"$ac_file" : 'X\(//\)[^/]' \| \
42132 X"$ac_file" : 'X\(//\)$' \| \
42133 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42134 $as_echo X"$ac_file" |
42135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42139 /^X\(\/\/\)[^/].*/{
42152 as_dir
="$ac_dir"; as_fn_mkdir_p
42156 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42158 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42159 # A ".." for each directory in $ac_dir_suffix.
42160 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42161 case $ac_top_builddir_sub in
42162 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42163 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42166 ac_abs_top_builddir
=$ac_pwd
42167 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42168 # for backward compatibility:
42169 ac_top_builddir
=$ac_top_build_prefix
42172 .
) # We are building in place.
42174 ac_top_srcdir
=$ac_top_builddir_sub
42175 ac_abs_top_srcdir
=$ac_pwd ;;
42176 [\\/]* | ?
:[\\/]* ) # Absolute name.
42177 ac_srcdir
=$srcdir$ac_dir_suffix;
42178 ac_top_srcdir
=$srcdir
42179 ac_abs_top_srcdir
=$srcdir ;;
42180 *) # Relative name.
42181 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42182 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42183 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42185 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42195 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42196 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42200 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42201 # If the template does not know about datarootdir, expand it.
42202 # FIXME: This hack should be removed a few years after 2.60.
42203 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42214 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42215 *datarootdir
*) ac_datarootdir_seen
=yes;;
42216 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42218 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42221 ac_datarootdir_hack='
42222 s&@datadir@&$datadir&g
42223 s&@docdir@&$docdir&g
42224 s&@infodir@&$infodir&g
42225 s&@localedir@&$localedir&g
42226 s&@mandir@&$mandir&g
42227 s&\\\${datarootdir}&$datarootdir&g' ;;
42231 # Neutralize VPATH when `$srcdir' = `.'.
42232 # Shell code in configure.ac might set extrasub.
42233 # FIXME: do we really want to maintain this feature?
42234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42235 ac_sed_extra="$ac_vpsub
42238 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42240 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42241 s
|@configure_input@
|$ac_sed_conf_input|;t t
42242 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42243 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42244 s
&@srcdir@
&$ac_srcdir&;t t
42245 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42246 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42247 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42248 s
&@builddir@
&$ac_builddir&;t t
42249 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42250 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42251 s
&@INSTALL@
&$ac_INSTALL&;t t
42252 $ac_datarootdir_hack
42254 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
42255 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42257 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42258 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
42259 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
42260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42261 which seems to be undefined. Please make sure it is defined" >&5
42262 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42263 which seems to be undefined. Please make sure it is defined" >&2;}
42267 -) cat "$tmp/out" && rm -f "$tmp/out";;
42268 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
42270 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42276 if test x"$ac_file" != x-; then
42278 $as_echo "/* $configure_input */" \
42279 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
42280 } >"$tmp/config.h" \
42281 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42282 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
42283 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42284 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42287 mv "$tmp/config.h" "$ac_file" \
42288 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42291 $as_echo "/* $configure_input */" \
42292 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
42293 || as_fn_error $? "could not create -" "$LINENO" 5
42297 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42298 $as_echo "$as_me: executing $ac_file commands" >&6;}
42303 case $ac_file$ac_mode in
42305 mkdir -p $outdir &&
42306 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42308 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42309 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42310 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42311 "wx-config":C
) rm -f wx
-config
42312 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42321 ac_clean_files
=$ac_clean_files_save
42323 test $ac_write_fail = 0 ||
42324 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42327 # configure is writing to config.log, and then calls config.status.
42328 # config.status does its own redirection, appending to config.log.
42329 # Unfortunately, on DOS this fails, as config.log is still kept open
42330 # by configure, so config.status won't be able to write to it; its
42331 # output is simply discarded. So we exec the FD to /dev/null,
42332 # effectively closing config.log, so it can be properly (re)opened and
42333 # appended to by config.status. When coming back to configure, we
42334 # need to make the FD available again.
42335 if test "$no_create" != yes; then
42337 ac_config_status_args
=
42338 test "$silent" = yes &&
42339 ac_config_status_args
="$ac_config_status_args --quiet"
42341 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42343 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42344 # would make configure fail if this is the last instruction.
42345 $ac_cs_success || as_fn_exit
1
42349 # CONFIG_SUBDIRS section.
42351 if test "$no_recursion" != yes; then
42353 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42354 # so they do not pile up.
42355 ac_sub_configure_args
=
42357 eval "set x $ac_configure_args"
42361 if test -n "$ac_prev"; then
42366 -cache-file | --cache-file | --cache-fil | --cache-fi \
42367 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42368 ac_prev
=cache_file
;;
42369 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42370 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42373 --config-cache | -C)
42375 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42377 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42379 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42381 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42383 --disable-option-checking)
42387 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42389 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
42393 # Always prepend --prefix to ensure using the same prefix
42394 # in subdir configurations.
42395 ac_arg
="--prefix=$prefix"
42397 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42399 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
42402 if test "$silent" = yes; then
42403 ac_sub_configure_args
="--silent $ac_sub_configure_args"
42406 # Always prepend --disable-option-checking to silence warnings, since
42407 # different subdirs can have different --enable and --with options.
42408 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
42411 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42413 # Do not complain, so a configure script can configure whichever
42414 # parts of a large source tree are present.
42415 test -d "$srcdir/$ac_dir" || continue
42417 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42418 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42419 $as_echo "$ac_msg" >&6
42420 as_dir
="$ac_dir"; as_fn_mkdir_p
42424 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42426 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42427 # A ".." for each directory in $ac_dir_suffix.
42428 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42429 case $ac_top_builddir_sub in
42430 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42431 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42434 ac_abs_top_builddir
=$ac_pwd
42435 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42436 # for backward compatibility:
42437 ac_top_builddir
=$ac_top_build_prefix
42440 .
) # We are building in place.
42442 ac_top_srcdir
=$ac_top_builddir_sub
42443 ac_abs_top_srcdir
=$ac_pwd ;;
42444 [\\/]* | ?
:[\\/]* ) # Absolute name.
42445 ac_srcdir
=$srcdir$ac_dir_suffix;
42446 ac_top_srcdir
=$srcdir
42447 ac_abs_top_srcdir
=$srcdir ;;
42448 *) # Relative name.
42449 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42450 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42451 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42453 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42458 # Check for guested configure; otherwise get Cygnus style configure.
42459 if test -f "$ac_srcdir/configure.gnu"; then
42460 ac_sub_configure
=$ac_srcdir/configure.gnu
42461 elif test -f "$ac_srcdir/configure"; then
42462 ac_sub_configure
=$ac_srcdir/configure
42463 elif test -f "$ac_srcdir/configure.in"; then
42464 # This should be Cygnus configure.
42465 ac_sub_configure
=$ac_aux_dir/configure
42467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42468 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42472 # The recursion is here.
42473 if test -n "$ac_sub_configure"; then
42474 # Make the cache file name correct relative to the subdirectory.
42475 case $cache_file in
42476 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42477 *) # Relative name.
42478 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
42481 { $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
42482 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42483 # The eval makes quoting arguments work.
42484 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42485 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42486 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42492 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
42493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42494 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42499 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42501 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42502 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42503 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42504 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42505 if test "$wxUSE_UNICODE" = "yes"; then
42506 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42507 echo " (using UTF-8)"
42509 echo " (using wchar_t)"
42515 echo " What level of wxWidgets compatibility should be enabled?"
42516 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42517 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42519 echo " Which libraries should wxWidgets use?"
42520 echo " STL ${wxUSE_STL}"
42521 echo " jpeg ${wxUSE_LIBJPEG-none}"
42522 echo " png ${wxUSE_LIBPNG-none}"
42523 echo " regex ${wxUSE_REGEX}"
42524 echo " tiff ${wxUSE_LIBTIFF-none}"
42525 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42526 echo " xpm ${wxUSE_LIBXPM-none}"
42528 echo " zlib ${wxUSE_ZLIB}"
42529 echo " expat ${wxUSE_EXPAT}"
42530 echo " libmspack ${wxUSE_LIBMSPACK}"
42531 echo " sdl ${wxUSE_LIBSDL}"