2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for wxWidgets 2.9.5.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print
-rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
141 _as_can_reexec
=no
; export _as_can_reexec
;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
150 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec
=; unset _as_can_reexec
;}
163 if test "x$CONFIG_SHELL" = x
; then
164 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required
="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203 if (eval "$as_required") 2>/dev
/null
; then :
208 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
213 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
216 test -z "$as_dir" && as_dir
=.
220 for as_base
in sh bash ksh sh5
; do
221 # Try only shells that exist, to save several forks.
222 as_shell
=$as_dir/$as_base
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
225 CONFIG_SHELL
=$as_shell as_have_required
=yes
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
236 CONFIG_SHELL
=$SHELL as_have_required
=yes
241 if test "x$CONFIG_SHELL" != x
; then :
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
249 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
251 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
263 if test x
$as_have_required = xno
; then :
264 $as_echo "$0: This script requires a shell more modern than all"
265 $as_echo "$0: the shells that I found on your system."
266 if test x
${ZSH_VERSION+set} = xset
; then
267 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
270 $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: wx-dev@lists.wxwidgets.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Create "$as_dir" as a directory, including parents if necessary.
323 -*) as_dir
=.
/$as_dir;;
325 test -d "$as_dir" || eval $as_mkdir_p || {
329 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
332 as_dirs
="'$as_qdir' $as_dirs"
333 as_dir
=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
356 test -d "$as_dir" && break
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p
()
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
378 eval 'as_fn_append ()
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
402 as_val
=`expr "$@" || test $? -eq 1`
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
414 as_status
=$1; test $as_status -eq 0 && as_status
=1
416 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit
$as_status
423 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
430 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
436 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
442 as_me
=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
461 # Avoid depending upon Character Ranges.
462 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits
='0123456789'
466 as_cr_alnum
=$as_cr_Letters$as_cr_digits
469 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
470 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 chmod +x
"$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec
=no
; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
500 # Exit status is that of the last command.
504 ECHO_C
= ECHO_N
= ECHO_T
=
505 case `echo -n x` in #(((((
507 case `echo 'xy\c'` in
508 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
517 rm -f conf$$ conf$$.exe conf$$.
file
518 if test -d conf$$.dir
; then
519 rm -f conf$$.dir
/conf$$.
file
522 mkdir conf$$.dir
2>/dev
/null
524 if (echo >conf$$.
file) 2>/dev
/null
; then
525 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
533 elif ln conf$$.
file conf$$
2>/dev
/null
; then
541 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
542 rmdir conf$$.dir
2>/dev
/null
544 if mkdir -p .
2>/dev
/null
; then
545 as_mkdir_p
='mkdir -p "$as_dir"'
547 test -d .
/-p && rmdir .
/-p
552 as_executable_p
=as_fn_executable_p
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
561 test -n "$DJDIR" || exec 7<&0 </dev
/null
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
572 ac_default_prefix
=/usr
/local
574 ac_config_libobj_dir
=.
581 # Identity of this package.
582 PACKAGE_NAME
='wxWidgets'
583 PACKAGE_TARNAME
='wxwidgets'
584 PACKAGE_VERSION
='2.9.5'
585 PACKAGE_STRING
='wxWidgets 2.9.5'
586 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
589 ac_unique_file
="wx-config.in"
590 # Factoring default headers for most tests.
591 ac_includes_default
="\
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
603 # ifdef HAVE_STDLIB_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
626 enable_option_checking
=no
627 ac_subst_vars
='LTLIBOBJS
635 WX_RESOURCES_MACOSX_DATA
636 WX_RESOURCES_MACOSX_ASCII
668 WX_LIBRARY_BASENAME_GUI
669 WX_LIBRARY_BASENAME_NOGUI
672 COND_wxUSE_ZLIB_builtin
673 COND_wxUSE_REGEX_builtin
674 COND_wxUSE_LIBTIFF_builtin
675 COND_wxUSE_LIBPNG_builtin
676 COND_wxUSE_LIBJPEG_builtin
677 COND_wxUSE_EXPAT_builtin
678 COND_WXUSE_ZLIB_BUILTIN
679 COND_WXUSE_REGEX_BUILTIN
680 COND_WXUSE_LIBTIFF_BUILTIN
681 COND_WXUSE_LIBPNG_BUILTIN
682 COND_WXUSE_LIBJPEG_BUILTIN
683 COND_WXUSE_EXPAT_BUILTIN
686 COND_WITH_PLUGIN_SDL_1
687 COND_WINDOWS_IMPLIB_1
692 COND_USE_SOVERSOLARIS_1
693 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
695 COND_USE_SOVERLINUX_1
696 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
697 COND_USE_SOTWOSYMLINKS_1
703 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
704 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
705 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
706 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
707 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
708 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
709 COND_USE_GUI_1_WXUNIV_1
710 COND_USE_GUI_1_WXUNIV_0
711 COND_USE_GUI_1_USE_OPENGL_1
714 COND_USE_EXCEPTIONS_1
715 COND_USE_EXCEPTIONS_0
718 COND_TOOLKIT_X11_USE_GUI_1
720 COND_TOOLKIT_WINCE_WXUNIV_0
721 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
722 COND_TOOLKIT_WINCE_USE_GUI_1
724 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_PM_USE_GUI_1
727 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
729 COND_TOOLKIT_OSX_IPHONE
730 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
731 COND_TOOLKIT_OSX_COCOA
732 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
733 COND_TOOLKIT_OSX_CARBON
734 COND_TOOLKIT_MSW_WXUNIV_0
735 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_MSW_USE_GUI_1
738 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
739 COND_TOOLKIT_MOTIF_USE_GUI_1
742 COND_TOOLKIT_GTK_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
747 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
755 COND_TOOLKIT_DFB_USE_GUI_1
757 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
758 COND_TOOLKIT_COCOA_USE_GUI_1
761 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
763 COND_SHARED_0_wxUSE_ZLIB_builtin
764 COND_SHARED_0_wxUSE_REGEX_builtin
765 COND_SHARED_0_wxUSE_EXPAT_builtin
766 COND_SHARED_0_USE_STC_1
767 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
768 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
769 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
770 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
771 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
772 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
773 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
775 COND_PLATFORM_WIN32_1_SHARED_0
776 COND_PLATFORM_WIN32_1
777 COND_PLATFORM_WIN32_0
778 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
779 COND_PLATFORM_UNIX_1_USE_GUI_1
780 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
781 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
782 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
783 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
787 COND_PLATFORM_MSDOS_1
788 COND_PLATFORM_MSDOS_0
791 COND_PLATFORM_MACOS_1
792 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
793 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
794 COND_PLATFORM_MACOSX_1_USE_GUI_1
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
796 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
798 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
800 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
802 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
803 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
804 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
805 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
806 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
807 COND_PLATFORM_MACOSX_1
808 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
809 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
810 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
811 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
812 COND_MONOLITHIC_1_SHARED_1
813 COND_MONOLITHIC_1_SHARED_0
815 COND_MONOLITHIC_0_USE_XRC_1
816 COND_MONOLITHIC_0_USE_WEBVIEW_1
817 COND_MONOLITHIC_0_USE_STC_1
818 COND_MONOLITHIC_0_USE_RICHTEXT_1
819 COND_MONOLITHIC_0_USE_RIBBON_1
820 COND_MONOLITHIC_0_USE_QA_1
821 COND_MONOLITHIC_0_USE_PROPGRID_1
822 COND_MONOLITHIC_0_USE_MEDIA_1
823 COND_MONOLITHIC_0_USE_HTML_1
824 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
825 COND_MONOLITHIC_0_USE_GUI_1
826 COND_MONOLITHIC_0_USE_AUI_1
827 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
828 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
829 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
830 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
831 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
841 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
842 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
843 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
850 COND_MONOLITHIC_0_SHARED_0
860 COND_BUILD_release_UNICODE_1
861 COND_BUILD_release_UNICODE_0
862 COND_BUILD_release_DEBUG_INFO_default
864 COND_BUILD_debug_UNICODE_1
865 COND_BUILD_debug_UNICODE_0
866 COND_BUILD_debug_DEBUG_INFO_default
867 COND_BUILD_debug_DEBUG_FLAG_default
869 COND_BUILD_RELEASE_UNICODE_1
870 COND_BUILD_RELEASE_UNICODE_0
871 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
873 COND_BUILD_DEBUG_UNICODE_1
874 COND_BUILD_DEBUG_UNICODE_0
875 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
876 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
880 ICC_PCH_CREATE_SWITCH
988 LIBGNOMEPRINTUI_CFLAGS
1079 program_transform_name
1092 enable_option_checking
1098 enable_official_build
1140 with_macosx_version_min
1149 enable_std_containers
1150 enable_std_iostreams
1152 enable_std_string_conv_in_wxstring
1157 enable_extended_rtti
1162 enable_no_exceptions
1165 enable_vararg_macros
1166 enable_universal_binary
1171 enable_objc_uniquifying
1200 enable_dynamicloader
1216 enable_printfposparam
1231 enable_protocol_http
1233 enable_protocol_file
1284 enable_commandlinkbutton
1311 enable_rearrangectrl
1360 enable_accessibility
1363 enable_webviewwebkit
1383 with_gtk_exec_prefix
1385 with_libiconv_prefix
1387 with_sdl_exec_prefix
1389 enable_dependency_tracking
1390 enable_precomp_headers
1392 with_cppunit_exec_prefix
1394 ac_precious_vars
='build_alias
1431 LIBGNOMEPRINTUI_CFLAGS
1432 LIBGNOMEPRINTUI_LIBS
1447 ac_subdirs_all
='src/tiff
1450 # Initialize some variables set by options.
1452 ac_init_version
=false
1453 ac_unrecognized_opts
=
1454 ac_unrecognized_sep
=
1455 # The variables have the same names as the options, with
1456 # dashes changed to underlines.
1457 cache_file
=/dev
/null
1464 program_transform_name
=s
,x
,x
,
1472 # Installation directory options.
1473 # These are left unexpanded so users can "make install exec_prefix=/foo"
1474 # and all the variables that are supposed to be based on exec_prefix
1475 # by default will actually change.
1476 # Use braces instead of parens because sh, perl, etc. also accept them.
1477 # (The list follows the same order as the GNU Coding Standards.)
1478 bindir
='${exec_prefix}/bin'
1479 sbindir
='${exec_prefix}/sbin'
1480 libexecdir
='${exec_prefix}/libexec'
1481 datarootdir
='${prefix}/share'
1482 datadir
='${datarootdir}'
1483 sysconfdir
='${prefix}/etc'
1484 sharedstatedir
='${prefix}/com'
1485 localstatedir
='${prefix}/var'
1486 includedir
='${prefix}/include'
1487 oldincludedir
='/usr/include'
1488 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1489 infodir
='${datarootdir}/info'
1494 libdir
='${exec_prefix}/lib'
1495 localedir
='${datarootdir}/locale'
1496 mandir
='${datarootdir}/man'
1502 # If the previous option needs an argument, assign it.
1503 if test -n "$ac_prev"; then
1504 eval $ac_prev=\
$ac_option
1510 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1515 # Accept the important Cygnus configure options, so we can diagnose typos.
1517 case $ac_dashdash$ac_option in
1521 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1523 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1524 bindir
=$ac_optarg ;;
1526 -build | --build | --buil | --bui | --bu)
1527 ac_prev
=build_alias
;;
1528 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1529 build_alias
=$ac_optarg ;;
1531 -cache-file | --cache-file | --cache-fil | --cache-fi \
1532 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1533 ac_prev
=cache_file
;;
1534 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1535 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1536 cache_file
=$ac_optarg ;;
1538 --config-cache | -C)
1539 cache_file
=config.cache
;;
1541 -datadir | --datadir | --datadi | --datad)
1543 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1544 datadir
=$ac_optarg ;;
1546 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1547 | --dataroo | --dataro | --datar)
1548 ac_prev
=datarootdir
;;
1549 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1550 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1551 datarootdir
=$ac_optarg ;;
1553 -disable-* | --disable-*)
1554 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1555 # Reject names that are not valid shell variable names.
1556 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1557 as_fn_error $?
"invalid feature name: $ac_useropt"
1558 ac_useropt_orig
=$ac_useropt
1559 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1560 case $ac_user_opts in
1562 "enable_
$ac_useropt"
1564 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1565 ac_unrecognized_sep
=', ';;
1567 eval enable_
$ac_useropt=no
;;
1569 -docdir | --docdir | --docdi | --doc | --do)
1571 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1572 docdir
=$ac_optarg ;;
1574 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1576 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1577 dvidir
=$ac_optarg ;;
1579 -enable-* | --enable-*)
1580 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1581 # Reject names that are not valid shell variable names.
1582 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1583 as_fn_error $?
"invalid feature name: $ac_useropt"
1584 ac_useropt_orig
=$ac_useropt
1585 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1586 case $ac_user_opts in
1588 "enable_
$ac_useropt"
1590 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1591 ac_unrecognized_sep
=', ';;
1593 eval enable_
$ac_useropt=\
$ac_optarg ;;
1595 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1596 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1597 | --exec | --exe | --ex)
1598 ac_prev
=exec_prefix
;;
1599 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1600 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1601 | --exec=* | --exe=* | --ex=*)
1602 exec_prefix
=$ac_optarg ;;
1604 -gas | --gas | --ga | --g)
1605 # Obsolete; use --with-gas.
1608 -help | --help | --hel | --he | -h)
1609 ac_init_help
=long
;;
1610 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1611 ac_init_help
=recursive
;;
1612 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1613 ac_init_help
=short
;;
1615 -host | --host | --hos | --ho)
1616 ac_prev
=host_alias
;;
1617 -host=* | --host=* | --hos=* | --ho=*)
1618 host_alias
=$ac_optarg ;;
1620 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1622 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1624 htmldir
=$ac_optarg ;;
1626 -includedir | --includedir | --includedi | --included | --include \
1627 | --includ | --inclu | --incl | --inc)
1628 ac_prev
=includedir
;;
1629 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1630 | --includ=* | --inclu=* | --incl=* | --inc=*)
1631 includedir
=$ac_optarg ;;
1633 -infodir | --infodir | --infodi | --infod | --info | --inf)
1635 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1636 infodir
=$ac_optarg ;;
1638 -libdir | --libdir | --libdi | --libd)
1640 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1641 libdir
=$ac_optarg ;;
1643 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1644 | --libexe | --libex | --libe)
1645 ac_prev
=libexecdir
;;
1646 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1647 | --libexe=* | --libex=* | --libe=*)
1648 libexecdir
=$ac_optarg ;;
1650 -localedir | --localedir | --localedi | --localed | --locale)
1651 ac_prev
=localedir
;;
1652 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1653 localedir
=$ac_optarg ;;
1655 -localstatedir | --localstatedir | --localstatedi | --localstated \
1656 | --localstate | --localstat | --localsta | --localst | --locals)
1657 ac_prev
=localstatedir
;;
1658 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1659 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1660 localstatedir
=$ac_optarg ;;
1662 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1664 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1665 mandir
=$ac_optarg ;;
1667 -nfp | --nfp | --nf)
1668 # Obsolete; use --without-fp.
1671 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1672 | --no-cr | --no-c | -n)
1675 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1676 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1679 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1680 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1681 | --oldin | --oldi | --old | --ol | --o)
1682 ac_prev
=oldincludedir
;;
1683 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1684 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1685 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1686 oldincludedir
=$ac_optarg ;;
1688 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1690 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1691 prefix
=$ac_optarg ;;
1693 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1694 | --program-pre | --program-pr | --program-p)
1695 ac_prev
=program_prefix
;;
1696 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1697 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1698 program_prefix
=$ac_optarg ;;
1700 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1701 | --program-suf | --program-su | --program-s)
1702 ac_prev
=program_suffix
;;
1703 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1704 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1705 program_suffix
=$ac_optarg ;;
1707 -program-transform-name | --program-transform-name \
1708 | --program-transform-nam | --program-transform-na \
1709 | --program-transform-n | --program-transform- \
1710 | --program-transform | --program-transfor \
1711 | --program-transfo | --program-transf \
1712 | --program-trans | --program-tran \
1713 | --progr-tra | --program-tr | --program-t)
1714 ac_prev
=program_transform_name
;;
1715 -program-transform-name=* | --program-transform-name=* \
1716 | --program-transform-nam=* | --program-transform-na=* \
1717 | --program-transform-n=* | --program-transform-=* \
1718 | --program-transform=* | --program-transfor=* \
1719 | --program-transfo=* | --program-transf=* \
1720 | --program-trans=* | --program-tran=* \
1721 | --progr-tra=* | --program-tr=* | --program-t=*)
1722 program_transform_name
=$ac_optarg ;;
1724 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1726 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1727 pdfdir
=$ac_optarg ;;
1729 -psdir | --psdir | --psdi | --psd | --ps)
1731 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1735 | -silent | --silent | --silen | --sile | --sil)
1738 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1740 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1742 sbindir
=$ac_optarg ;;
1744 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1745 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1746 | --sharedst | --shareds | --shared | --share | --shar \
1748 ac_prev
=sharedstatedir
;;
1749 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1750 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1751 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1753 sharedstatedir
=$ac_optarg ;;
1755 -site | --site | --sit)
1757 -site=* | --site=* | --sit=*)
1760 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1762 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1763 srcdir
=$ac_optarg ;;
1765 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1766 | --syscon | --sysco | --sysc | --sys | --sy)
1767 ac_prev
=sysconfdir
;;
1768 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1769 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1770 sysconfdir
=$ac_optarg ;;
1772 -target | --target | --targe | --targ | --tar | --ta | --t)
1773 ac_prev
=target_alias
;;
1774 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1775 target_alias
=$ac_optarg ;;
1777 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1780 -version | --version | --versio | --versi | --vers | -V)
1781 ac_init_version
=: ;;
1784 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1785 # Reject names that are not valid shell variable names.
1786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1787 as_fn_error $?
"invalid package name: $ac_useropt"
1788 ac_useropt_orig
=$ac_useropt
1789 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1790 case $ac_user_opts in
1794 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1795 ac_unrecognized_sep
=', ';;
1797 eval with_
$ac_useropt=\
$ac_optarg ;;
1799 -without-* | --without-*)
1800 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1801 # Reject names that are not valid shell variable names.
1802 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1803 as_fn_error $?
"invalid package name: $ac_useropt"
1804 ac_useropt_orig
=$ac_useropt
1805 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1806 case $ac_user_opts in
1810 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1811 ac_unrecognized_sep
=', ';;
1813 eval with_
$ac_useropt=no
;;
1816 # Obsolete; use --with-x.
1819 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1820 | --x-incl | --x-inc | --x-in | --x-i)
1821 ac_prev
=x_includes
;;
1822 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1823 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1824 x_includes
=$ac_optarg ;;
1826 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1827 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1828 ac_prev
=x_libraries
;;
1829 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1830 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1831 x_libraries
=$ac_optarg ;;
1833 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1834 Try \`$0 --help' for more information"
1838 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1839 # Reject names that are not valid shell variable names.
1840 case $ac_envvar in #(
1841 '' | [0-9]* | *[!_$as_cr_alnum]* )
1842 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1844 eval $ac_envvar=\
$ac_optarg
1845 export $ac_envvar ;;
1848 # FIXME: should be removed in autoconf 3.0.
1849 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1850 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1851 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1852 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1858 if test -n "$ac_prev"; then
1859 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1860 as_fn_error $?
"missing argument to $ac_option"
1863 if test -n "$ac_unrecognized_opts"; then
1864 case $enable_option_checking in
1866 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1867 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1871 # Check all directory arguments for consistency.
1872 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1873 datadir sysconfdir sharedstatedir localstatedir includedir \
1874 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1875 libdir localedir mandir
1877 eval ac_val
=\$
$ac_var
1878 # Remove trailing slashes.
1881 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1882 eval $ac_var=\
$ac_val;;
1884 # Be sure to have absolute directory names.
1886 [\\/$
]* | ?
:[\\/]* ) continue;;
1887 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1889 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1892 # There might be people who depend on the old broken behavior: `$host'
1893 # used to hold the argument of --host etc.
1894 # FIXME: To remove some day.
1897 target
=$target_alias
1899 # FIXME: To remove some day.
1900 if test "x$host_alias" != x
; then
1901 if test "x$build_alias" = x
; then
1902 cross_compiling
=maybe
1903 elif test "x$build_alias" != "x$host_alias"; then
1909 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1911 test "$silent" = yes && exec 6>/dev
/null
1914 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1915 ac_ls_di
=`ls -di .` &&
1916 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1917 as_fn_error $?
"working directory cannot be determined"
1918 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1919 as_fn_error $?
"pwd does not report name of working directory"
1922 # Find the source files, if location was not specified.
1923 if test -z "$srcdir"; then
1924 ac_srcdir_defaulted
=yes
1925 # Try the directory containing this script, then the parent directory.
1926 ac_confdir
=`$as_dirname -- "$as_myself" ||
1927 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1928 X"$as_myself" : 'X\(//\)[^/]' \| \
1929 X"$as_myself" : 'X\(//\)$' \| \
1930 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1931 $as_echo X"$as_myself" |
1932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1950 if test ! -r "$srcdir/$ac_unique_file"; then
1954 ac_srcdir_defaulted
=no
1956 if test ! -r "$srcdir/$ac_unique_file"; then
1957 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1958 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1960 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1962 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1964 # When building in place, set srcdir=.
1965 if test "$ac_abs_confdir" = "$ac_pwd"; then
1968 # Remove unnecessary trailing slashes from srcdir.
1969 # Double slashes in file names in object file debugging info
1970 # mess up M-x gdb in Emacs.
1972 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1974 for ac_var
in $ac_precious_vars; do
1975 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1976 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1977 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1978 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1982 # Report the --help message.
1984 if test "$ac_init_help" = "long"; then
1985 # Omit some internal or obsolete options to make the list less imposing.
1986 # This message is too long to be a string in the A/UX 3.1 sh.
1988 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1990 Usage: $0 [OPTION]... [VAR=VALUE]...
1992 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1993 VAR=VALUE. See below for descriptions of some of the useful variables.
1995 Defaults for the options are specified in brackets.
1998 -h, --help display this help and exit
1999 --help=short display options specific to this package
2000 --help=recursive display the short help of all the included packages
2001 -V, --version display version information and exit
2002 -q, --quiet, --silent do not print \`checking ...' messages
2003 --cache-file=FILE cache test results in FILE [disabled]
2004 -C, --config-cache alias for \`--cache-file=config.cache'
2005 -n, --no-create do not create output files
2006 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2008 Installation directories:
2009 --prefix=PREFIX install architecture-independent files in PREFIX
2010 [$ac_default_prefix]
2011 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2014 By default, \`make install' will install all the files in
2015 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2016 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2017 for instance \`--prefix=\$HOME'.
2019 For better control, use the options below.
2021 Fine tuning of the installation directories:
2022 --bindir=DIR user executables [EPREFIX/bin]
2023 --sbindir=DIR system admin executables [EPREFIX/sbin]
2024 --libexecdir=DIR program executables [EPREFIX/libexec]
2025 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2026 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2027 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2028 --libdir=DIR object code libraries [EPREFIX/lib]
2029 --includedir=DIR C header files [PREFIX/include]
2030 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2031 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2032 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2033 --infodir=DIR info documentation [DATAROOTDIR/info]
2034 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2035 --mandir=DIR man documentation [DATAROOTDIR/man]
2036 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2037 --htmldir=DIR html documentation [DOCDIR]
2038 --dvidir=DIR dvi documentation [DOCDIR]
2039 --pdfdir=DIR pdf documentation [DOCDIR]
2040 --psdir=DIR ps documentation [DOCDIR]
2046 --x-includes=DIR X include files are
in DIR
2047 --x-libraries=DIR X library files are
in DIR
2050 --build=BUILD configure
for building on BUILD
[guessed
]
2051 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2055 if test -n "$ac_init_help"; then
2056 case $ac_init_help in
2057 short
| recursive
) echo "Configuration of wxWidgets 2.9.5:";;
2062 --disable-option-checking ignore unrecognized
--enable/--with options
2063 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2064 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2065 --disable-gui don
't build GUI parts of the library
2066 --enable-monolithic build wxWidgets as single library
2067 --enable-plugins build parts of wxWidgets as loadable components
2068 --enable-official_build official build of wxWidgets (win32 DLL only)
2069 --enable-vendor=VENDOR vendor name (win32 DLL only)
2070 --disable-all-features disable all optional features to build minimal library
2071 --enable-universal use wxWidgets GUI controls instead of native ones
2072 --enable-nanox use NanoX
2073 --enable-gpe use GNOME PDA Environment features if possible
2074 --enable-debug build library for debugging
2075 --disable-debug_flag disable all debugging support
2076 --enable-debug_info generate debug information
2077 --enable-debug_gdb create code with extra GDB debugging information
2078 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2079 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2080 --disable-shared create static library instead of shared
2081 --enable-stl use standard C++ classes for everything
2082 --enable-std_containers use standard C++ container classes
2083 --enable-std_iostreams use standard C++ stream classes
2084 --enable-std_string use standard C++ string classes
2085 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2086 --disable-unicode compile without Unicode support
2087 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2088 --enable-utf8 use UTF-8 representation for strings (Unix only)
2089 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2090 --enable-extended_rtti use extended RTTI (XTI)
2091 --enable-omf use OMF object format
2092 --disable-optimise compile without optimisations
2093 --enable-profile create code with profiling information
2094 --enable-no_rtti create code without RTTI information
2095 --enable-no_exceptions create code without C++ exceptions handling
2096 --enable-permissive compile code disregarding strict ANSI
2097 --enable-no_deps create code without dependency information
2098 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2099 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2100 --enable-macosx_arch=ARCH build
for just the specified architecture
2101 --enable-compat26 enable wxWidgets
2.6 compatibility
2102 --disable-compat28 disable wxWidgets
2.8 compatibility
2103 --disable-rpath disable use of rpath
for uninstalled builds
2104 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2105 --disable-visibility disable use of ELF symbols visibility even
if supported
2106 --disable-tls disable use of compiler TLS support
2107 --enable-intl use internationalization system
2108 --enable-xlocale use x
-locale support
(requires wxLocale
)
2109 --enable-config use wxConfig
(and derived
) classes
2110 --enable-protocols use wxProtocol and derived classes
2111 --enable-ftp use wxFTP
(requires wxProtocol
2112 --enable-http use wxHTTP
(requires wxProtocol
2113 --enable-fileproto use wxFileProto class
(requires wxProtocol
2114 --enable-sockets use socket
/network classes
2115 --enable-ipv6 enable IPv6 support
in wxSocket
2116 --enable-ole use OLE classes
(Win32 only
)
2117 --enable-dataobj use data object classes
2118 --enable-ipc use interprocess communication
(wxSocket etc.
)
2119 --enable-baseevtloop use event loop
in console programs too
2120 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2121 --enable-selectloop use wxSelectDispatcher class
2122 --enable-any use wxAny class
2123 --enable-apple_ieee use the Apple IEEE codec
2124 --enable-arcstream use wxArchive streams
2125 --enable-base64 use base64 encoding
/decoding functions
2126 --enable-backtrace use wxStackWalker class
for getting backtraces
2127 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2128 --enable-cmdline use wxCmdLineParser class
2129 --enable-datetime use wxDateTime class
2130 --enable-debugreport use wxDebugReport class
2131 --enable-dialupman use dialup network classes
2132 --enable-dynlib use wxLibrary class
for DLL loading
2133 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2134 --enable-exceptions build exception
-safe library
2135 --enable-ffile use wxFFile class
2136 --enable-file use wxFile class
2137 --enable-filehistory use wxFileHistory class
2138 --enable-filesystem use virtual
file systems classes
2139 --enable-fontenum use wxFontEnumerator class
2140 --enable-fontmap use font encodings conversion classes
2141 --enable-fs_archive use virtual archive filesystems
2142 --enable-fs_inet use virtual HTTP
/FTP filesystems
2143 --enable-fs_zip now replaced by fs_archive
2144 --enable-fswatcher use wxFileSystemWatcher class
2145 --enable-geometry use geometry class
2146 --enable-log use logging system
2147 --enable-longlong use wxLongLong class
2148 --enable-mimetype use wxMimeTypesManager
2149 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2150 --enable-snglinst use wxSingleInstanceChecker class
2151 --enable-sound use wxSound class
2152 --enable-stdpaths use wxStandardPaths class
2153 --enable-stopwatch use wxStopWatch class
2154 --enable-streams use wxStream etc classes
2155 --enable-sysoptions use wxSystemOptions
2156 --enable-tarstream use wxTar streams
2157 --enable-textbuf use wxTextBuffer class
2158 --enable-textfile use wxTextFile class
2159 --enable-timer use wxTimer class
2160 --enable-variant use wxVariant class
2161 --enable-zipstream use wxZip streams
2162 --enable-url use wxURL class
2163 --enable-protocol use wxProtocol class
2164 --enable-protocol-http HTTP support
in wxProtocol
2165 --enable-protocol-ftp FTP support
in wxProtocol
2166 --enable-protocol-file FILE support
in wxProtocol
2167 --enable-threads use threads
2168 --enable-iniconf use wxIniConfig
(Win32 only
)
2169 --enable-regkey use wxRegKey class
(Win32 only
)
2170 --enable-docview use document view architecture
2171 --enable-help use
help subsystem
2172 --enable-mshtmlhelp use MS HTML Help
(win32
)
2173 --enable-html use wxHTML sub
-library
2174 --enable-htmlhelp use wxHTML
-based help
2175 --enable-xrc use XRC resources sub
-library
2176 --enable-aui use AUI docking library
2177 --enable-propgrid use wxPropertyGrid library
2178 --enable-ribbon use wxRibbon library
2179 --enable-stc use wxStyledTextCtrl library
2180 --enable-constraints use layout
-constraints system
2181 --enable-loggui use standard GUI logger
2182 --enable-logwin use wxLogWindow
2183 --enable-logdialog use wxLogDialog
2184 --enable-mdi use multiple document interface architecture
2185 --enable-mdidoc use docview architecture with MDI
2186 --enable-mediactrl use wxMediaCtrl class
2187 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2188 --enable-richtext use wxRichTextCtrl
2189 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2190 --enable-printarch use printing architecture
2191 --enable-svg use wxSVGFileDC device context
2192 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2193 --enable-webview use wxWebView library
2194 --enable-graphics_ctx use graphics context
2D drawing API
2195 --enable-clipboard use wxClipboard class
2196 --enable-dnd use Drag
'n'Drop classes
2197 --disable-controls disable compilation of all standard controls
2198 --enable-markup support wxControl
::SetLabelMarkup
2199 --enable-accel use accelerators
2200 --enable-animatectrl use wxAnimationCtrl class
2201 --enable-bannerwindow use wxBannerWindow class
2202 --enable-artstd use standard XPM icons
in wxArtProvider
2203 --enable-arttango use Tango icons
in wxArtProvider
2204 --enable-bmpbutton use wxBitmapButton class
2205 --enable-bmpcombobox use wxBitmapComboBox class
2206 --enable-button use wxButton class
2207 --enable-calendar use wxCalendarCtrl class
2208 --enable-caret use wxCaret class
2209 --enable-checkbox use wxCheckBox class
2210 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2211 --enable-choice use wxChoice class
2212 --enable-choicebook use wxChoicebook class
2213 --enable-collpane use wxCollapsiblePane class
2214 --enable-colourpicker use wxColourPickerCtrl class
2215 --enable-combobox use wxComboBox class
2216 --enable-comboctrl use wxComboCtrl class
2217 --enable-commandlinkbutton use wxCommmandLinkButton class
2218 --enable-dataviewctrl use wxDataViewCtrl class
2219 --enable-datepick use wxDatePickerCtrl class
2220 --enable-detect_sm use code to detect X11 session manager
2221 --enable-dirpicker use wxDirPickerCtrl class
2222 --enable-display use wxDisplay class
2223 --enable-editablebox use wxEditableListBox class
2224 --enable-filectrl use wxFileCtrl class
2225 --enable-filepicker use wxFilePickerCtrl class
2226 --enable-fontpicker use wxFontPickerCtrl class
2227 --enable-gauge use wxGauge class
2228 --enable-grid use wxGrid class
2229 --enable-headerctrl use wxHeaderCtrl class
2230 --enable-hyperlink use wxHyperlinkCtrl class
2231 --enable-imaglist use wxImageList class
2232 --enable-infobar use wxInfoBar class
2233 --enable-listbook use wxListbook class
2234 --enable-listbox use wxListBox class
2235 --enable-listctrl use wxListCtrl class
2236 --enable-notebook use wxNotebook class
2237 --enable-notifmsg use wxNotificationMessage class
2238 --enable-odcombobox use wxOwnerDrawnComboBox class
2239 --enable-popupwin use wxPopUpWindow class
2240 --enable-radiobox use wxRadioBox class
2241 --enable-radiobtn use wxRadioButton class
2242 --enable-richmsgdlg use wxRichMessageDialog class
2243 --enable-richtooltip use wxRichToolTip class
2244 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2245 --enable-sash use wxSashWindow class
2246 --enable-scrollbar use wxScrollBar class and scrollable windows
2247 --enable-searchctrl use wxSearchCtrl class
2248 --enable-slider use wxSlider class
2249 --enable-spinbtn use wxSpinButton class
2250 --enable-spinctrl use wxSpinCtrl class
2251 --enable-splitter use wxSplitterWindow class
2252 --enable-statbmp use wxStaticBitmap class
2253 --enable-statbox use wxStaticBox class
2254 --enable-statline use wxStaticLine class
2255 --enable-stattext use wxStaticText class
2256 --enable-statusbar use wxStatusBar class
2257 --enable-taskbaricon use wxTaskBarIcon class
2258 --enable-tbarnative use native wxToolBar class
2259 --enable-textctrl use wxTextCtrl class
2260 --enable-timepick use wxTimePickerCtrl class
2261 --enable-tipwindow use wxTipWindow class
2262 --enable-togglebtn use wxToggleButton class
2263 --enable-toolbar use wxToolBar class
2264 --enable-toolbook use wxToolbook class
2265 --enable-treebook use wxTreebook class
2266 --enable-treectrl use wxTreeCtrl class
2267 --enable-treelist use wxTreeListCtrl class
2268 --enable-commondlg use all common dialogs
2269 --enable-aboutdlg use wxAboutBox
2270 --enable-choicedlg use wxChoiceDialog
2271 --enable-coldlg use wxColourDialog
2272 --enable-filedlg use wxFileDialog
2273 --enable-finddlg use wxFindReplaceDialog
2274 --enable-fontdlg use wxFontDialog
2275 --enable-dirdlg use wxDirDialog
2276 --enable-msgdlg use wxMessageDialog
2277 --enable-numberdlg use wxNumberEntryDialog
2278 --enable-splash use wxSplashScreen
2279 --enable-textdlg use wxTextDialog
2280 --enable-tipdlg use startup tips
2281 --enable-progressdlg use wxProgressDialog
2282 --enable-wizarddlg use wxWizard
2283 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2284 --enable-miniframe use wxMiniFrame class
2285 --enable-tooltips use wxToolTip class
2286 --enable-splines use spline drawing code
2287 --enable-mousewheel use mousewheel
2288 --enable-validators use wxValidator and derived classes
2289 --enable-busyinfo use wxBusyInfo
2290 --enable-hotkey use wxWindow
::RegisterHotKey
()
2291 --enable-joystick use wxJoystick
2292 --enable-metafiles use wxMetaFile
2293 --enable-dragimage use wxDragImage
2294 --enable-accessibility enable accessibility support
2295 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2296 --enable-dctransform use wxDC
::SetTransformMatrix and related
2297 --enable-webview_webkit use wxWebView WebKit backend
2298 --enable-palette use wxPalette class
2299 --enable-image use wxImage class
2300 --enable-gif use gif images
(GIF
file format
)
2301 --enable-pcx use pcx images
(PCX
file format
)
2302 --enable-tga use tga images
(TGA
file format
)
2303 --enable-iff use iff images
(IFF
file format
)
2304 --enable-pnm use pnm images
(PNM
file format
)
2305 --enable-xpm use xpm images
(XPM
file format
)
2306 --enable-ico_cur use Windows ICO and CUR formats
2307 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2308 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2309 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2310 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2311 --enable-wxdib use wxDIB class
(Win32 only
)
2312 --enable-webview_ie use wxWebView IE backend
(Win32 only
)
2313 --enable-autoidman use automatic ids management
2314 --disable-largefile omit support
for large files
2315 --disable-gtktest do not try to compile and run a
test GTK
+ program
2316 --disable-gtktest Do not try to compile and run a
test GTK program
2317 --disable-sdltest Do not try to compile and run a
test SDL program
2318 --enable-omf use OMF object format
(OS
/2)
2319 --disable-dependency-tracking
2320 don
't use dependency tracking even if the compiler
2322 --disable-precomp-headers
2323 don't use precompiled headers even
if compiler can
2326 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2327 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2328 --without-subdirs don
't generate makefiles for samples/demos/...
2329 --with-flavour=NAME specify a name to identify this build
2330 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2331 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2332 --with-motif use Motif/Lesstif
2333 --with-osx_carbon use Mac OS X (Carbon)
2334 --with-osx_cocoa use Mac OS X (Cocoa)
2335 --with-osx_iphone use iPhone OS X port
2336 --with-osx use Mac OS X (default port, currently Carbon)
2337 --with-carbon same as --with-osx_carbon
2338 --with-cocoa same as --with-osx_cocoa
2339 --with-iphone same as --with-osx_iphone
2340 --with-mac same as --with-osx
2341 --with-old_cocoa use old, deprecated, Cocoa port
2342 --with-wine use Wine
2343 --with-msw use MS-Windows
2344 --with-pm use OS/2 Presentation Manager
2345 --with-directfb use DirectFB
2346 --with-microwin use MicroWindows
2348 --with-libpng use libpng (PNG image format)
2349 --with-libjpeg use libjpeg (JPEG file format)
2350 --with-libtiff use libtiff (TIFF file format)
2351 --with-libxpm use libxpm (XPM file format)
2352 --with-libiconv use libiconv (character conversion)
2353 --with-libmspack use libmspack (CHM help files loading)
2354 --without-gtkprint don't use GTK printing support
2355 --without-gnomeprint don
't use GNOME printing libraries
2356 --with-gnomevfs use GNOME VFS for associating MIME types
2357 --with-libnotify use libnotify for notifications
2358 --with-hildon use Hildon framework for Nokia 770/800/810
2359 --with-opengl use OpenGL (or Mesa)
2360 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2361 --with-sdl use SDL for audio on Unix
2362 --with-regex enable support for wxRegEx class
2363 --with-zlib use zlib for LZW compression
2364 --with-expat enable XML support using expat parser
2365 --with-macosx-sdk=PATH use an OS X SDK at PATH
2366 --with-macosx-version-min=VER build binaries which require at least this OS X version
2367 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2368 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2369 --with-x use the X Window System
2370 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2371 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2372 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2373 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2374 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2376 Some influential environment variables:
2377 CC C compiler command
2378 CFLAGS C compiler flags
2379 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2380 nonstandard directory <lib dir>
2381 LIBS libraries to pass to the linker, e.g. -l<library>
2382 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2383 you have headers in a nonstandard directory <include dir>
2385 CXX C++ compiler command
2386 CXXFLAGS C++ compiler flags
2387 CXXCPP C++ preprocessor
2388 PKG_CONFIG path to pkg-config utility
2390 C compiler flags for DIRECTFB, overriding pkg-config
2392 linker flags for DIRECTFB, overriding pkg-config
2393 XMKMF Path to xmkmf, Makefile generator for X Window System
2395 C compiler flags for PANGOX, overriding pkg-config
2396 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2398 C compiler flags for PANGOFT2, overriding pkg-config
2400 linker flags for PANGOFT2, overriding pkg-config
2402 C compiler flags for PANGOXFT, overriding pkg-config
2404 linker flags for PANGOXFT, overriding pkg-config
2406 C compiler flags for Xinerama, overriding pkg-config
2408 linker flags for Xinerama, overriding pkg-config
2410 C compiler flags for Xxf86vm, overriding pkg-config
2412 linker flags for Xxf86vm, overriding pkg-config
2413 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2414 SM_LIBS linker flags for SM, overriding pkg-config
2415 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2416 GL_LIBS linker flags for GL, overriding pkg-config
2417 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2418 GLU_LIBS linker flags for GLU, overriding pkg-config
2420 C compiler flags for MesaGL, overriding pkg-config
2421 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2423 C compiler flags for GTKPRINT, overriding pkg-config
2425 linker flags for GTKPRINT, overriding pkg-config
2426 LIBGNOMEPRINTUI_CFLAGS
2427 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2428 LIBGNOMEPRINTUI_LIBS
2429 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2431 C compiler flags for GNOMEVFS, overriding pkg-config
2433 linker flags for GNOMEVFS, overriding pkg-config
2435 C compiler flags for LIBNOTIFY, overriding pkg-config
2437 linker flags for LIBNOTIFY, overriding pkg-config
2439 C compiler flags for HILDON, overriding pkg-config
2440 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2442 C compiler flags for HILDON2, overriding pkg-config
2444 linker flags for HILDON2, overriding pkg-config
2446 C compiler flags for WEBKIT, overriding pkg-config
2447 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2449 C compiler flags for CAIRO, overriding pkg-config
2450 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2451 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2452 GST_LIBS linker flags for GST, overriding pkg-config
2454 Use these variables to override the choices made by `configure' or to
help
2455 it to
find libraries and programs with nonstandard names
/locations.
2457 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2462 if test "$ac_init_help" = "recursive"; then
2463 # If there are subdirs, report their specific --help.
2464 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2465 test -d "$ac_dir" ||
2466 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2471 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2473 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2474 # A ".." for each directory in $ac_dir_suffix.
2475 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2476 case $ac_top_builddir_sub in
2477 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2478 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2481 ac_abs_top_builddir
=$ac_pwd
2482 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2483 # for backward compatibility:
2484 ac_top_builddir
=$ac_top_build_prefix
2487 .
) # We are building in place.
2489 ac_top_srcdir
=$ac_top_builddir_sub
2490 ac_abs_top_srcdir
=$ac_pwd ;;
2491 [\\/]* | ?
:[\\/]* ) # Absolute name.
2492 ac_srcdir
=$srcdir$ac_dir_suffix;
2493 ac_top_srcdir
=$srcdir
2494 ac_abs_top_srcdir
=$srcdir ;;
2496 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2497 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2498 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2500 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2502 cd "$ac_dir" || { ac_status
=$?
; continue; }
2503 # Check for guested configure.
2504 if test -f "$ac_srcdir/configure.gnu"; then
2506 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2507 elif test -f "$ac_srcdir/configure"; then
2509 $SHELL "$ac_srcdir/configure" --help=recursive
2511 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2513 cd "$ac_pwd" || { ac_status
=$?
; break; }
2517 test -n "$ac_init_help" && exit $ac_status
2518 if $ac_init_version; then
2520 wxWidgets configure
2.9.5
2521 generated by GNU Autoconf
2.69
2523 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2524 This configure
script is free software
; the Free Software Foundation
2525 gives unlimited permission to copy
, distribute and modify it.
2530 ## ------------------------ ##
2531 ## Autoconf initialization. ##
2532 ## ------------------------ ##
2534 # ac_fn_c_try_compile LINENO
2535 # --------------------------
2536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2537 ac_fn_c_try_compile
()
2539 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2540 rm -f conftest.
$ac_objext
2541 if { { ac_try
="$ac_compile"
2543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2544 *) ac_try_echo=$ac_try;;
2546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2547 $as_echo "$ac_try_echo"; } >&5
2548 (eval "$ac_compile") 2>conftest.err
2550 if test -s conftest.err; then
2551 grep -v '^ *+' conftest.err >conftest.er1
2552 cat conftest.er1 >&5
2553 mv -f conftest.er1 conftest.err
2555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2556 test $ac_status = 0; } && {
2557 test -z "$ac_c_werror_flag" ||
2558 test ! -s conftest.err
2559 } && test -s conftest.$ac_objext; then :
2562 $as_echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.$ac_ext >&5
2567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2568 as_fn_set_status $ac_retval
2570 } # ac_fn_c_try_compile
2572 # ac_fn_c_try_cpp LINENO
2573 # ----------------------
2574 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2578 if { { ac_try="$ac_cpp conftest.$ac_ext"
2580 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2581 *) ac_try_echo
=$ac_try;;
2583 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2584 $as_echo "$ac_try_echo"; } >&5
2585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2587 if test -s conftest.err
; then
2588 grep -v '^ *+' conftest.err
>conftest.er1
2589 cat conftest.er1
>&5
2590 mv -f conftest.er1 conftest.err
2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593 test $ac_status = 0; } > conftest.i
&& {
2594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2595 test ! -s conftest.err
2599 $as_echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.
$ac_ext >&5
2604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2605 as_fn_set_status
$ac_retval
2609 # ac_fn_cxx_try_compile LINENO
2610 # ----------------------------
2611 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2612 ac_fn_cxx_try_compile
()
2614 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2615 rm -f conftest.
$ac_objext
2616 if { { ac_try
="$ac_compile"
2618 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623 (eval "$ac_compile") 2>conftest.err
2625 if test -s conftest.err; then
2626 grep -v '^ *+' conftest.err >conftest.er1
2627 cat conftest.er1 >&5
2628 mv -f conftest.er1 conftest.err
2630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631 test $ac_status = 0; } && {
2632 test -z "$ac_cxx_werror_flag" ||
2633 test ! -s conftest.err
2634 } && test -s conftest.$ac_objext; then :
2637 $as_echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.$ac_ext >&5
2642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2643 as_fn_set_status $ac_retval
2645 } # ac_fn_cxx_try_compile
2647 # ac_fn_c_try_link LINENO
2648 # -----------------------
2649 # Try to link conftest.$ac_ext, and return whether this succeeded.
2652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2653 rm -f conftest.$ac_objext conftest$ac_exeext
2654 if { { ac_try="$ac_link"
2656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2657 *) ac_try_echo
=$ac_try;;
2659 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2660 $as_echo "$ac_try_echo"; } >&5
2661 (eval "$ac_link") 2>conftest.err
2663 if test -s conftest.err
; then
2664 grep -v '^ *+' conftest.err
>conftest.er1
2665 cat conftest.er1
>&5
2666 mv -f conftest.er1 conftest.err
2668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2669 test $ac_status = 0; } && {
2670 test -z "$ac_c_werror_flag" ||
2671 test ! -s conftest.err
2672 } && test -s conftest
$ac_exeext && {
2673 test "$cross_compiling" = yes ||
2674 test -x conftest
$ac_exeext
2678 $as_echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.
$ac_ext >&5
2683 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2684 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2685 # interfere with the next link command; also delete a directory that is
2686 # left behind by Apple's compiler. We do this before executing the actions.
2687 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2689 as_fn_set_status
$ac_retval
2691 } # ac_fn_c_try_link
2693 # ac_fn_cxx_try_link LINENO
2694 # -------------------------
2695 # Try to link conftest.$ac_ext, and return whether this succeeded.
2696 ac_fn_cxx_try_link
()
2698 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2699 rm -f conftest.
$ac_objext conftest
$ac_exeext
2700 if { { ac_try
="$ac_link"
2702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2703 *) ac_try_echo=$ac_try;;
2705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2706 $as_echo "$ac_try_echo"; } >&5
2707 (eval "$ac_link") 2>conftest.err
2709 if test -s conftest.err; then
2710 grep -v '^ *+' conftest.err >conftest.er1
2711 cat conftest.er1 >&5
2712 mv -f conftest.er1 conftest.err
2714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2715 test $ac_status = 0; } && {
2716 test -z "$ac_cxx_werror_flag" ||
2717 test ! -s conftest.err
2718 } && test -s conftest$ac_exeext && {
2719 test "$cross_compiling" = yes ||
2720 test -x conftest$ac_exeext
2724 $as_echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2729 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2730 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2731 # interfere with the next link command; also delete a directory that is
2732 # left behind by Apple's compiler. We do this before executing the actions.
2733 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2735 as_fn_set_status $ac_retval
2737 } # ac_fn_cxx_try_link
2739 # ac_fn_c_try_run LINENO
2740 # ----------------------
2741 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2742 # that executables *can* be run.
2745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2746 if { { ac_try="$ac_link"
2748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2749 *) ac_try_echo
=$ac_try;;
2751 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753 (eval "$ac_link") 2>&5
2755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2756 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2757 { { case "(($ac_try" in
2758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2759 *) ac_try_echo=$ac_try;;
2761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2762 $as_echo "$ac_try_echo"; } >&5
2763 (eval "$ac_try") 2>&5
2765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2766 test $ac_status = 0; }; }; then :
2769 $as_echo "$as_me: program exited with status $ac_status" >&5
2770 $as_echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.$ac_ext >&5
2773 ac_retval=$ac_status
2775 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2777 as_fn_set_status $ac_retval
2781 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2782 # -------------------------------------------------------
2783 # Tests whether HEADER exists and can be compiled using the include files in
2784 # INCLUDES, setting the cache variable VAR accordingly.
2785 ac_fn_c_check_header_compile ()
2787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2789 $as_echo_n "checking for $2... " >&6; }
2790 if eval \${$3+:} false; then :
2791 $as_echo_n "(cached) " >&6
2793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2794 /* end confdefs.h. */
2798 if ac_fn_c_try_compile "$LINENO"; then :
2803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2807 $as_echo "$ac_res" >&6; }
2808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2810 } # ac_fn_c_check_header_compile
2812 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2813 # --------------------------------------------
2814 # Tries to find the compile-time value of EXPR in a program that includes
2815 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2817 ac_fn_c_compute_int ()
2819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2820 if test "$cross_compiling" = yes; then
2821 # Depending upon the size, compute the lo and hi bounds.
2822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2823 /* end confdefs.h. */
2828 static int test_array [1 - 2 * !(($2) >= 0)];
2830 return test_array [0];
2836 if ac_fn_c_try_compile "$LINENO"; then :
2839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2840 /* end confdefs.h. */
2845 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2847 return test_array [0];
2853 if ac_fn_c_try_compile "$LINENO"; then :
2854 ac_hi=$ac_mid; break
2856 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2857 if test $ac_lo -le $ac_mid; then
2861 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2872 static int test_array [1 - 2 * !(($2) < 0)];
2874 return test_array [0];
2880 if ac_fn_c_try_compile "$LINENO"; then :
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2889 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2891 return test_array [0];
2897 if ac_fn_c_try_compile "$LINENO"; then :
2898 ac_lo=$ac_mid; break
2900 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2901 if test $ac_mid -le $ac_hi; then
2905 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 # Binary search between lo and hi bounds.
2916 while test "x$ac_lo" != "x$ac_hi"; do
2917 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2924 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2926 return test_array [0];
2932 if ac_fn_c_try_compile "$LINENO"; then :
2935 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2940 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2947 static long int longval () { return $2; }
2948 static unsigned long int ulongval () { return $2; }
2955 FILE *f = fopen ("conftest.val", "w");
2960 long int i = longval ();
2963 fprintf (f, "%ld", i);
2967 unsigned long int i = ulongval ();
2970 fprintf (f, "%lu", i);
2972 /* Do not output a trailing newline, as this causes \r\n confusion
2973 on some platforms. */
2974 return ferror (f) || fclose (f) != 0;
2980 if ac_fn_c_try_run "$LINENO"; then :
2981 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2986 conftest.$ac_objext conftest.beam conftest.$ac_ext
2990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2991 as_fn_set_status $ac_retval
2993 } # ac_fn_c_compute_int
2995 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2996 # ---------------------------------------------------------
2997 # Tests whether HEADER exists and can be compiled using the include files in
2998 # INCLUDES, setting the cache variable VAR accordingly.
2999 ac_fn_cxx_check_header_compile ()
3001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3003 $as_echo_n "checking for $2... " >&6; }
3004 if eval \${$3+:} false; then :
3005 $as_echo_n "(cached) " >&6
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3012 if ac_fn_cxx_try_compile "$LINENO"; then :
3017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3021 $as_echo "$ac_res" >&6; }
3022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3024 } # ac_fn_cxx_check_header_compile
3026 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3027 # ---------------------------------------------
3028 # Tests whether TYPE exists after having included INCLUDES, setting cache
3029 # variable VAR accordingly.
3030 ac_fn_cxx_check_type ()
3032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3034 $as_echo_n "checking for $2... " >&6; }
3035 if eval \${$3+:} false; then :
3036 $as_echo_n "(cached) " >&6
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3051 if ac_fn_cxx_try_compile "$LINENO"; then :
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3064 if ac_fn_cxx_try_compile "$LINENO"; then :
3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3075 $as_echo "$ac_res" >&6; }
3076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3078 } # ac_fn_cxx_check_type
3080 # ac_fn_cxx_try_cpp LINENO
3081 # ------------------------
3082 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3083 ac_fn_cxx_try_cpp ()
3085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3086 if { { ac_try="$ac_cpp conftest.$ac_ext"
3088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3089 *) ac_try_echo
=$ac_try;;
3091 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3092 $as_echo "$ac_try_echo"; } >&5
3093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3095 if test -s conftest.err
; then
3096 grep -v '^ *+' conftest.err
>conftest.er1
3097 cat conftest.er1
>&5
3098 mv -f conftest.er1 conftest.err
3100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3101 test $ac_status = 0; } > conftest.i
&& {
3102 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3103 test ! -s conftest.err
3107 $as_echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.
$ac_ext >&5
3112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113 as_fn_set_status
$ac_retval
3115 } # ac_fn_cxx_try_cpp
3117 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3118 # ---------------------------------------------------------
3119 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3120 # the include files in INCLUDES and setting the cache variable VAR
3122 ac_fn_cxx_check_header_mongrel
()
3124 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3125 if eval \
${$3+:} false
; then :
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3127 $as_echo_n "checking for $2... " >&6; }
3128 if eval \
${$3+:} false
; then :
3129 $as_echo_n "(cached) " >&6
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3133 $as_echo "$ac_res" >&6; }
3135 # Is the header compilable?
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3137 $as_echo_n "checking $2 usability... " >&6; }
3138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3143 if ac_fn_cxx_try_compile
"$LINENO"; then :
3144 ac_header_compiler
=yes
3146 ac_header_compiler
=no
3148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3150 $as_echo "$ac_header_compiler" >&6; }
3152 # Is the header present?
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3154 $as_echo_n "checking $2 presence... " >&6; }
3155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3159 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3160 ac_header_preproc
=yes
3162 ac_header_preproc
=no
3164 rm -f conftest.err conftest.i conftest.
$ac_ext
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3166 $as_echo "$ac_header_preproc" >&6; }
3168 # So? What about this header?
3169 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3172 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3174 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3178 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3180 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3182 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3184 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3186 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3187 ( $as_echo "## ----------------------------------------- ##
3188 ## Report this to wx-dev@lists.wxwidgets.org ##
3189 ## ----------------------------------------- ##"
3190 ) | sed "s/^/$as_me: WARNING: /" >&2
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3194 $as_echo_n "checking for $2... " >&6; }
3195 if eval \
${$3+:} false
; then :
3196 $as_echo_n "(cached) " >&6
3198 eval "$3=\$ac_header_compiler"
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3202 $as_echo "$ac_res" >&6; }
3204 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3206 } # ac_fn_cxx_check_header_mongrel
3208 # ac_fn_c_check_func LINENO FUNC VAR
3209 # ----------------------------------
3210 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3211 ac_fn_c_check_func
()
3213 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3215 $as_echo_n "checking for $2... " >&6; }
3216 if eval \
${$3+:} false
; then :
3217 $as_echo_n "(cached) " >&6
3219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3220 /* end confdefs.h. */
3221 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3223 #define $2 innocuous_$2
3225 /* System header to define __stub macros and hopefully few prototypes,
3226 which can conflict with char $2 (); below.
3227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3228 <limits.h> exists even on freestanding compilers. */
3231 # include <limits.h>
3233 # include <assert.h>
3238 /* Override any GCC internal prototype to avoid an error.
3239 Use char because int might match the return type of a GCC
3240 builtin and then its argument prototype would still apply. */
3245 /* The GNU C library defines this for functions which it implements
3246 to always fail with ENOSYS. Some functions are actually named
3247 something starting with __ and the normal name is an alias. */
3248 #if defined __stub_$2 || defined __stub___$2
3260 if ac_fn_c_try_link
"$LINENO"; then :
3265 rm -f core conftest.err conftest.
$ac_objext \
3266 conftest
$ac_exeext conftest.
$ac_ext
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3270 $as_echo "$ac_res" >&6; }
3271 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3273 } # ac_fn_c_check_func
3275 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3276 # -------------------------------------------
3277 # Tests whether TYPE exists after having included INCLUDES, setting cache
3278 # variable VAR accordingly.
3279 ac_fn_c_check_type
()
3281 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3283 $as_echo_n "checking for $2... " >&6; }
3284 if eval \
${$3+:} false
; then :
3285 $as_echo_n "(cached) " >&6
3288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3300 if ac_fn_c_try_compile
"$LINENO"; then :
3301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3313 if ac_fn_c_try_compile
"$LINENO"; then :
3318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3324 $as_echo "$ac_res" >&6; }
3325 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3327 } # ac_fn_c_check_type
3329 # ac_fn_cxx_try_run LINENO
3330 # ------------------------
3331 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3332 # that executables *can* be run.
3333 ac_fn_cxx_try_run
()
3335 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3336 if { { ac_try
="$ac_link"
3338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3342 $as_echo "$ac_try_echo"; } >&5
3343 (eval "$ac_link") 2>&5
3345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3347 { { case "(($ac_try" in
3348 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3349 *) ac_try_echo
=$ac_try;;
3351 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_try") 2>&5
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356 test $ac_status = 0; }; }; then :
3359 $as_echo "$as_me: program exited with status $ac_status" >&5
3360 $as_echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.
$ac_ext >&5
3363 ac_retval
=$ac_status
3365 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3367 as_fn_set_status
$ac_retval
3369 } # ac_fn_cxx_try_run
3370 cat >config.log
<<_ACEOF
3371 This file contains any messages produced by compilers while
3372 running configure, to aid debugging if configure makes a mistake.
3374 It was created by wxWidgets $as_me 2.9.5, which was
3375 generated by GNU Autoconf 2.69. Invocation command line was
3387 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3388 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3389 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3390 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3391 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3393 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3394 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3396 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3397 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3398 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3399 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3400 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3401 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3402 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir
=.
3411 $as_echo "PATH: $as_dir"
3427 # Keep a trace of the command line.
3428 # Strip out --no-create and --no-recursion so they do not pile up.
3429 # Strip out --silent because we don't want to record it for future runs.
3430 # Also quote any args containing shell meta-characters.
3431 # Make two passes to allow for proper duplicate-argument suppression.
3435 ac_must_keep_next
=false
3441 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3442 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3443 | -silent | --silent | --silen | --sile | --sil)
3446 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3449 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3451 as_fn_append ac_configure_args1
" '$ac_arg'"
3452 if test $ac_must_keep_next = true
; then
3453 ac_must_keep_next
=false
# Got value, back to normal.
3456 *=* | --config-cache | -C | -disable-* | --disable-* \
3457 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3458 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3459 | -with-* | --with-* | -without-* | --without-* | --x)
3460 case "$ac_configure_args0 " in
3461 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3464 -* ) ac_must_keep_next
=true
;;
3467 as_fn_append ac_configure_args
" '$ac_arg'"
3472 { ac_configure_args0
=; unset ac_configure_args0
;}
3473 { ac_configure_args1
=; unset ac_configure_args1
;}
3475 # When interrupted or exit'd, cleanup temporary files, and complete
3476 # config.log. We remove comments because anyway the quotes in there
3477 # would cause problems or look ugly.
3478 # WARNING: Use '\'' to represent an apostrophe within the trap.
3479 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3480 trap 'exit_status=$?
3481 # Save into config.log some information that might help in debugging.
3485 $as_echo "## ---------------- ##
3486 ## Cache variables. ##
3487 ## ---------------- ##"
3489 # The following way of writing the cache mishandles newlines in values,
3491 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3492 eval ac_val=\$$ac_var
3496 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3497 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3500 _ | IFS | as_nl) ;; #(
3501 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3502 *) { eval $ac_var=; unset $ac_var;} ;;
3507 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3508 *${as_nl}ac_space=\ *)
3510 "s/'\''/'\''\\\\'\'''\''/g;
3511 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3521 $as_echo "## ----------------- ##
3522 ## Output variables. ##
3523 ## ----------------- ##"
3525 for ac_var in $ac_subst_vars
3527 eval ac_val=\$$ac_var
3529 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3531 $as_echo "$ac_var='\''$ac_val'\''"
3535 if test -n "$ac_subst_files"; then
3536 $as_echo "## ------------------- ##
3537 ## File substitutions. ##
3538 ## ------------------- ##"
3540 for ac_var
in $ac_subst_files
3542 eval ac_val
=\$
$ac_var
3544 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3546 $as_echo "$ac_var='\''$ac_val'\''"
3551 if test -s confdefs.h; then
3552 $as_echo "## ----------- ##
3559 test "$ac_signal" != 0 &&
3560 $as_echo "$as_me: caught signal $ac_signal"
3561 $as_echo "$as_me: exit $exit_status"
3563 rm -f core *.core core.conftest.* &&
3564 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3567 for ac_signal
in 1 2 13 15; do
3568 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3572 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3573 rm -f -r conftest
* confdefs.h
3575 $as_echo "/* confdefs.h */" > confdefs.h
3577 # Predefined preprocessor variables.
3579 cat >>confdefs.h
<<_ACEOF
3580 #define PACKAGE_NAME "$PACKAGE_NAME"
3583 cat >>confdefs.h
<<_ACEOF
3584 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3587 cat >>confdefs.h
<<_ACEOF
3588 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3591 cat >>confdefs.h
<<_ACEOF
3592 #define PACKAGE_STRING "$PACKAGE_STRING"
3595 cat >>confdefs.h
<<_ACEOF
3596 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3599 cat >>confdefs.h
<<_ACEOF
3600 #define PACKAGE_URL "$PACKAGE_URL"
3604 # Let the site file select an alternate cache file if it wants to.
3605 # Prefer an explicitly selected file to automatically selected ones.
3608 if test -n "$CONFIG_SITE"; then
3609 # We do not want a PATH search for config.site.
3610 case $CONFIG_SITE in #((
3611 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3612 */*) ac_site_file1
=$CONFIG_SITE;;
3613 *) ac_site_file1
=.
/$CONFIG_SITE;;
3615 elif test "x$prefix" != xNONE
; then
3616 ac_site_file1
=$prefix/share
/config.site
3617 ac_site_file2
=$prefix/etc
/config.site
3619 ac_site_file1
=$ac_default_prefix/share
/config.site
3620 ac_site_file2
=$ac_default_prefix/etc
/config.site
3622 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3624 test "x$ac_site_file" = xNONE
&& continue
3625 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3627 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3628 sed 's/^/| /' "$ac_site_file" >&5
3630 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3632 as_fn_error $?
"failed to load site script $ac_site_file
3633 See \`config.log' for more details" "$LINENO" 5; }
3637 if test -r "$cache_file"; then
3638 # Some versions of bash will fail to source /dev/null (special files
3639 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3640 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3642 $as_echo "$as_me: loading cache $cache_file" >&6;}
3644 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3645 *) .
"./$cache_file";;
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3650 $as_echo "$as_me: creating cache $cache_file" >&6;}
3654 # Check that the precious variables saved in the cache have kept the same
3656 ac_cache_corrupted
=false
3657 for ac_var
in $ac_precious_vars; do
3658 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3659 eval ac_new_set
=\
$ac_env_${ac_var}_set
3660 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3661 eval ac_new_val
=\
$ac_env_${ac_var}_value
3662 case $ac_old_set,$ac_new_set in
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3665 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3666 ac_cache_corrupted
=: ;;
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3669 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3670 ac_cache_corrupted
=: ;;
3673 if test "x$ac_old_val" != "x$ac_new_val"; then
3674 # differences in whitespace do not lead to failure.
3675 ac_old_val_w
=`echo x $ac_old_val`
3676 ac_new_val_w
=`echo x $ac_new_val`
3677 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3679 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3680 ac_cache_corrupted
=:
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3683 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3684 eval $ac_var=\
$ac_old_val
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3687 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3689 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3692 # Pass precious variables to config.status.
3693 if test "$ac_new_set" = set; then
3695 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3696 *) ac_arg
=$ac_var=$ac_new_val ;;
3698 case " $ac_configure_args " in
3699 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3700 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3704 if $ac_cache_corrupted; then
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3708 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3709 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3711 ## -------------------- ##
3712 ## Main body of script. ##
3713 ## -------------------- ##
3716 ac_cpp
='$CPP $CPPFLAGS'
3717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3726 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3727 if test -f "$ac_dir/install-sh"; then
3729 ac_install_sh
="$ac_aux_dir/install-sh -c"
3731 elif test -f "$ac_dir/install.sh"; then
3733 ac_install_sh
="$ac_aux_dir/install.sh -c"
3735 elif test -f "$ac_dir/shtool"; then
3737 ac_install_sh
="$ac_aux_dir/shtool install -c"
3741 if test -z "$ac_aux_dir"; then
3742 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3745 # These three variables are undocumented and unsupported,
3746 # and are intended to be withdrawn in a future Autoconf release.
3747 # They can cause serious problems if a builder's source tree is in a directory
3748 # whose full name contains unusual characters.
3749 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3750 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3751 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3754 # Make sure we can run config.sub.
3755 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3756 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3759 $as_echo_n "checking build system type... " >&6; }
3760 if ${ac_cv_build+:} false
; then :
3761 $as_echo_n "(cached) " >&6
3763 ac_build_alias
=$build_alias
3764 test "x$ac_build_alias" = x
&&
3765 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3766 test "x$ac_build_alias" = x
&&
3767 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3768 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3769 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3773 $as_echo "$ac_cv_build" >&6; }
3774 case $ac_cv_build in
3776 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3779 ac_save_IFS
=$IFS; IFS
='-'
3785 # Remember, the first character of IFS is used to create $*,
3786 # except with old shells:
3789 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3793 $as_echo_n "checking host system type... " >&6; }
3794 if ${ac_cv_host+:} false
; then :
3795 $as_echo_n "(cached) " >&6
3797 if test "x$host_alias" = x
; then
3798 ac_cv_host
=$ac_cv_build
3800 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3801 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3806 $as_echo "$ac_cv_host" >&6; }
3809 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3812 ac_save_IFS
=$IFS; IFS
='-'
3818 # Remember, the first character of IFS is used to create $*,
3819 # except with old shells:
3822 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3826 if test "$cross_compiling" != "no"; then
3827 HOST_PREFIX
="${host_alias}-"
3828 HOST_SUFFIX
="-$host_alias"
3835 wx_major_version_number
=2
3836 wx_minor_version_number
=9
3838 wx_subrelease_number
=0
3840 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3841 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3842 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3844 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3847 wx_top_builddir
="`pwd`"
3860 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3866 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3872 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3874 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3876 DEFAULT_wxUSE_OLD_COCOA
=0
3878 DEFAULT_wxUSE_OSX_CARBON
=0
3879 DEFAULT_wxUSE_OSX_COCOA
=0
3880 DEFAULT_wxUSE_OSX_IPHONE
=0
3881 DEFAULT_wxUSE_MICROWIN
=0
3882 DEFAULT_wxUSE_MOTIF
=0
3888 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3889 DEFAULT_DEFAULT_wxUSE_GTK
=0
3890 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3891 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3892 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3893 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3894 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3895 DEFAULT_DEFAULT_wxUSE_MSW
=0
3896 DEFAULT_DEFAULT_wxUSE_PM
=0
3897 DEFAULT_DEFAULT_wxUSE_X11
=0
3898 DEFAULT_DEFAULT_wxUSE_DFB
=0
3902 DYLIB_RPATH_INSTALL
=
3903 DYLIB_RPATH_POSTLINK
=
3905 DEFAULT_STD_FLAG
=yes
3910 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3911 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3912 $as_echo "#define __HPUX__ 1" >>confdefs.h
3915 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3919 $as_echo "#define __LINUX__ 1" >>confdefs.h
3922 if test "x$TMP" = "xalpha"; then
3924 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3927 DEFAULT_DEFAULT_wxUSE_GTK
=1
3929 *-*-gnu* | *-*-k*bsd
*-gnu )
3932 if test "x$TMP" = "xalpha"; then
3934 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3937 DEFAULT_DEFAULT_wxUSE_GTK
=1
3939 *-*-irix5* | *-*-irix6* )
3942 $as_echo "#define __SGI__ 1" >>confdefs.h
3944 $as_echo "#define __SVR4__ 1" >>confdefs.h
3946 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3950 $as_echo "#define __QNX__ 1" >>confdefs.h
3952 DEFAULT_DEFAULT_wxUSE_X11
=1
3958 $as_echo "#define __SUN__ 1" >>confdefs.h
3960 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3962 $as_echo "#define __SVR4__ 1" >>confdefs.h
3964 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3965 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3971 $as_echo "#define __SUN__ 1" >>confdefs.h
3973 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3975 $as_echo "#define __BSD__ 1" >>confdefs.h
3977 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3982 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3984 $as_echo "#define __BSD__ 1" >>confdefs.h
3986 DEFAULT_DEFAULT_wxUSE_GTK
=1
3988 *-*-openbsd*|*-*-mirbsd*)
3991 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3993 $as_echo "#define __BSD__ 1" >>confdefs.h
3995 DEFAULT_DEFAULT_wxUSE_GTK
=1
4000 $as_echo "#define __NETBSD__ 1" >>confdefs.h
4002 $as_echo "#define __BSD__ 1" >>confdefs.h
4004 DEFAULT_DEFAULT_wxUSE_GTK
=1
4005 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4007 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4012 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4014 $as_echo "#define __OSF__ 1" >>confdefs.h
4016 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4017 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4022 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4024 $as_echo "#define __SVR4__ 1" >>confdefs.h
4026 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4031 $as_echo "#define __SYSV__ 1" >>confdefs.h
4033 $as_echo "#define __SVR4__ 1" >>confdefs.h
4035 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4041 $as_echo "#define __AIX__ 1" >>confdefs.h
4043 $as_echo "#define __SYSV__ 1" >>confdefs.h
4045 $as_echo "#define __SVR4__ 1" >>confdefs.h
4047 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4054 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4058 *-*-cygwin* | *-*-mingw32* )
4060 DEFAULT_DEFAULT_wxUSE_MSW
=1
4066 $as_echo "#define __DOS__ 1" >>confdefs.h
4071 *-pc-os2_emx | *-pc-os2-emx )
4072 $as_echo "#define __EMX__ 1" >>confdefs.h
4075 $as_echo "#define __OS2__ 1" >>confdefs.h
4078 DEFAULT_DEFAULT_wxUSE_PM
=1
4080 LDFLAGS
="$LDFLAGS -Zcrtdll"
4081 ac_executable_extensions
=".exe"
4082 export ac_executable_extensions
4086 for ac_dir
in $PATH; do
4088 if test -z "$ac_TEMP_PATH"; then
4089 ac_TEMP_PATH
="$ac_dir"
4091 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4094 export PATH
="$ac_TEMP_PATH"
4102 $as_echo "#define __BSD__ 1" >>confdefs.h
4104 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4106 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4112 $as_echo "#define __BSD__ 1" >>confdefs.h
4114 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4116 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4118 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
4123 $as_echo "#define __BEOS__ 1" >>confdefs.h
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4129 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4131 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4133 DEFAULT_DEFAULT_wxUSE_X11
=1
4134 DEFAULT_wxUSE_SHARED
=no
4139 DEFAULT_wxUSE_ALL_FEATURES
=yes
4141 DEFAULT_wxUSE_STD_CONTAINERS
=no
4142 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4143 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4145 DEFAULT_wxUSE_DMALLOC
=no
4146 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4147 DEFAULT_wxUSE_LIBHILDON
=no
4148 DEFAULT_wxUSE_LIBHILDON2
=no
4149 DEFAULT_wxUSE_LIBMSPACK
=no
4150 DEFAULT_wxUSE_LIBSDL
=no
4152 DEFAULT_wxUSE_ACCESSIBILITY
=no
4153 DEFAULT_wxUSE_IPV6
=no
4154 DEFAULT_wxUSE_GSTREAMER8
=no
4155 DEFAULT_wxUSE_UNICODE_UTF8
=no
4156 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4158 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4159 DEFAULT_wxUSE_OPENGL
=auto
4160 DEFAULT_wxUSE_MEDIACTRL
=auto
4161 DEFAULT_wxUSE_COMPILER_TLS
=auto
4162 DEFAULT_wxUSE_HOTKEY
=auto
4163 DEFAULT_wxUSE_METAFILE
=auto
4165 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4166 DEFAULT_wxUSE_MAC_ARCH
=no
4168 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4170 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4176 enablestring
=disable
4178 if test -z "$defaultval"; then
4179 if test x
"$enablestring" = xdisable
; then
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4187 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4188 # Check whether --enable-gui was given.
4189 if test "${enable_gui+set}" = set; then :
4190 enableval
=$enable_gui;
4191 if test "$enableval" = yes; then
4192 wx_cv_use_gui
='wxUSE_GUI=yes'
4194 wx_cv_use_gui
='wxUSE_GUI=no'
4199 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4204 eval "$wx_cv_use_gui"
4206 if test x"$enablestring" = xdisable; then
4207 if test $wxUSE_GUI = no; then
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4217 $as_echo "$result" >&6; }
4222 if test -z "$defaultval"; then
4223 if test x"$enablestring" = xdisable; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4231 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4232 # Check whether --enable-monolithic was given.
4233 if test "${enable_monolithic+set}" = set; then :
4234 enableval=$enable_monolithic;
4235 if test "$enableval" = yes; then
4236 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4238 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4243 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4248 eval "$wx_cv_use_monolithic"
4250 if test x"$enablestring" = xdisable; then
4251 if test $wxUSE_MONOLITHIC = no; then
4257 result=$wxUSE_MONOLITHIC
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4261 $as_echo "$result" >&6; }
4266 if test -z "$defaultval"; then
4267 if test x"$enablestring" = xdisable; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4275 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4276 # Check whether --enable-plugins was given.
4277 if test "${enable_plugins+set}" = set; then :
4278 enableval=$enable_plugins;
4279 if test "$enableval" = yes; then
4280 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4282 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4287 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4292 eval "$wx_cv_use_plugins"
4294 if test x
"$enablestring" = xdisable
; then
4295 if test $wxUSE_PLUGINS = no
; then
4301 result
=$wxUSE_PLUGINS
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4305 $as_echo "$result" >&6; }
4309 defaultval
=$wxUSE_ALL_FEATURES
4310 if test -z "$defaultval"; then
4311 if test x
"$withstring" = xwithout
; then
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4318 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4320 # Check whether --with-subdirs was given.
4321 if test "${with_subdirs+set}" = set; then :
4322 withval
=$with_subdirs;
4323 if test "$withval" = yes; then
4324 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4326 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4331 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4336 eval "$wx_cv_use_subdirs"
4338 if test x"$withstring" = xwithout; then
4339 if test $wxWITH_SUBDIRS = yes; then
4345 result=$wxWITH_SUBDIRS
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4349 $as_echo "$result" >&6; }
4352 # Check whether --with-flavour was given.
4353 if test "${with_flavour+set}" = set; then :
4354 withval=$with_flavour; WX_FLAVOUR="$withval"
4360 if test -z "$defaultval"; then
4361 if test x"$enablestring" = xdisable; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4369 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4370 # Check whether --enable-official_build was given.
4371 if test "${enable_official_build+set}" = set; then :
4372 enableval=$enable_official_build;
4373 if test "$enableval" = yes; then
4374 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4376 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4381 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4386 eval "$wx_cv_use_official_build"
4388 if test x"$enablestring" = xdisable; then
4389 if test $wxUSE_OFFICIAL_BUILD = no; then
4395 result=$wxUSE_OFFICIAL_BUILD
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4399 $as_echo "$result" >&6; }
4401 # Check whether --enable-vendor was given.
4402 if test "${enable_vendor+set}" = set; then :
4403 enableval=$enable_vendor; VENDOR="$enableval"
4406 if test "x
$VENDOR" = "x
"; then
4411 enablestring=disable
4413 if test -z "$defaultval"; then
4414 if test x"$enablestring" = xdisable; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4422 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4423 # Check whether --enable-all-features was given.
4424 if test "${enable_all_features+set}" = set; then :
4425 enableval=$enable_all_features;
4426 if test "$enableval" = yes; then
4427 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4429 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4434 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4439 eval "$wx_cv_use_all_features"
4441 if test x
"$enablestring" = xdisable
; then
4442 if test $wxUSE_ALL_FEATURES = no
; then
4448 result
=$wxUSE_ALL_FEATURES
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4452 $as_echo "$result" >&6; }
4455 if test "$wxUSE_ALL_FEATURES" = "no"; then
4456 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4457 DEFAULT_wxUSE_MEDIACTRL
=no
4461 if test "$wxUSE_GUI" = "yes"; then
4466 if test -z "$defaultval"; then
4467 if test x
"$enablestring" = xdisable
; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4475 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4476 # Check whether --enable-universal was given.
4477 if test "${enable_universal+set}" = set; then :
4478 enableval
=$enable_universal;
4479 if test "$enableval" = yes; then
4480 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4482 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4487 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4492 eval "$wx_cv_use_universal"
4494 if test x"$enablestring" = xdisable; then
4495 if test $wxUSE_UNIVERSAL = no; then
4501 result=$wxUSE_UNIVERSAL
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4505 $as_echo "$result" >&6; }
4507 if test "$wxUSE_UNIVERSAL" = "yes"; then
4509 # Check whether --with-themes was given.
4510 if test "${with_themes+set}" = set; then :
4511 withval=$with_themes; wxUNIV_THEMES="$withval"
4517 # Check whether --with-gtk was given.
4518 if test "${with_gtk+set}" = set; then :
4519 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4523 # Check whether --with-motif was given.
4524 if test "${with_motif+set}" = set; then :
4525 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4529 # Check whether --with-osx_carbon was given.
4530 if test "${with_osx_carbon+set}" = set; then :
4531 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4535 # Check whether --with-osx_cocoa was given.
4536 if test "${with_osx_cocoa+set}" = set; then :
4537 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4541 # Check whether --with-osx_iphone was given.
4542 if test "${with_osx_iphone+set}" = set; then :
4543 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4547 # Check whether --with-osx was given.
4548 if test "${with_osx+set}" = set; then :
4549 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4553 # Check whether --with-carbon was given.
4554 if test "${with_carbon+set}" = set; then :
4555 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4559 # Check whether --with-cocoa was given.
4560 if test "${with_cocoa+set}" = set; then :
4561 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4565 # Check whether --with-iphone was given.
4566 if test "${with_iphone+set}" = set; then :
4567 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4571 # Check whether --with-mac was given.
4572 if test "${with_mac+set}" = set; then :
4573 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4577 # Check whether --with-old_cocoa was given.
4578 if test "${with_old_cocoa+set}" = set; then :
4579 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4583 # Check whether --with-wine was given.
4584 if test "${with_wine+set}" = set; then :
4585 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4589 # Check whether --with-msw was given.
4590 if test "${with_msw+set}" = set; then :
4591 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4595 # Check whether --with-pm was given.
4596 if test "${with_pm+set}" = set; then :
4597 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4601 # Check whether --with-directfb was given.
4602 if test "${with_directfb+set}" = set; then :
4603 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4607 # Check whether --with-microwin was given.
4608 if test "${with_microwin+set}" = set; then :
4609 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4613 # Check whether --with-x11 was given.
4614 if test "${with_x11+set}" = set; then :
4615 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4621 if test -z "$defaultval"; then
4622 if test x"$enablestring" = xdisable; then
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4630 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4631 # Check whether --enable-nanox was given.
4632 if test "${enable_nanox+set}" = set; then :
4633 enableval=$enable_nanox;
4634 if test "$enableval" = yes; then
4635 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4637 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4642 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4647 eval "$wx_cv_use_nanox"
4649 if test x"$enablestring" = xdisable; then
4650 if test $wxUSE_NANOX = no; then
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4660 $as_echo "$result" >&6; }
4665 if test -z "$defaultval"; then
4666 if test x"$enablestring" = xdisable; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4674 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4675 # Check whether --enable-gpe was given.
4676 if test "${enable_gpe+set}" = set; then :
4677 enableval=$enable_gpe;
4678 if test "$enableval" = yes; then
4679 wx_cv_use_gpe='wxUSE_GPE=yes'
4681 wx_cv_use_gpe='wxUSE_GPE=no'
4686 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4691 eval "$wx_cv_use_gpe"
4693 if test x
"$enablestring" = xdisable
; then
4694 if test $wxUSE_GPE = no
; then
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4704 $as_echo "$result" >&6; }
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4709 $as_echo_n "checking for toolkit... " >&6; }
4713 # In Wine, we need to default to MSW, not GTK or MOTIF
4714 if test "$wxUSE_WINE" = "yes"; then
4715 DEFAULT_DEFAULT_wxUSE_GTK
=0
4716 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4717 DEFAULT_DEFAULT_wxUSE_MSW
=1
4724 if test "$wxUSE_GUI" = "yes"; then
4726 if test "$USE_BEOS" = 1; then
4727 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4730 if test "$TOOLKIT_GIVEN" = 1; then
4731 for toolkit
in $ALL_TOOLKITS; do
4733 eval "value=\$${var}"
4734 if test "x$value" = "xno"; then
4736 elif test "x$value" != "x"; then
4740 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4741 eval "wx${toolkit}_VERSION=$value"
4745 for toolkit
in $ALL_TOOLKITS; do
4746 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4747 eval "wxUSE_$toolkit=\$${var}"
4751 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4752 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4753 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4756 *-pc-os2_emx | *-pc-os2-emx )
4757 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4760 case "$NUM_TOOLKITS" in
4764 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4767 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4770 for toolkit
in $ALL_TOOLKITS; do
4772 eval "value=\$${var}"
4773 if test "$value" = 1; then
4774 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4776 $as_echo "$toolkit_echo" >&6; }
4780 if test "x$host_alias" != "x"; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4782 $as_echo "base ($host_alias hosted) only" >&6; }
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4785 $as_echo "base only" >&6; }
4790 if test "$wxUSE_OSX_CARBON" = 1 \
4791 -o "$wxUSE_OSX_COCOA" = 1 \
4792 -o "$wxUSE_OSX_IPHONE" = 1; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4799 $as_echo_n "checking for --with-libpng... " >&6; }
4801 # Check whether --with-libpng was given.
4802 if test "${with_libpng+set}" = set; then :
4803 withval
=$with_libpng;
4804 if test "$withval" = yes; then
4805 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4806 elif test "$withval" = no
; then
4807 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4808 elif test "$withval" = sys
; then
4809 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4810 elif test "$withval" = builtin; then
4811 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4813 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4818 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4823 eval "$wx_cv_use_libpng"
4825 if test "$wxUSE_LIBPNG" = yes; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4827 $as_echo "yes" >&6; }
4828 elif test "$wxUSE_LIBPNG" = no; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 $as_echo "no" >&6; }
4831 elif test "$wxUSE_LIBPNG" = sys; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4833 $as_echo "system version" >&6; }
4834 elif test "$wxUSE_LIBPNG" = builtin; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4836 $as_echo "builtin version" >&6; }
4838 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4843 $as_echo_n "checking for --with-libjpeg... " >&6; }
4845 # Check whether --with-libjpeg was given.
4846 if test "${with_libjpeg+set}" = set; then :
4847 withval=$with_libjpeg;
4848 if test "$withval" = yes; then
4849 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4850 elif test "$withval" = no; then
4851 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4852 elif test "$withval" = sys; then
4853 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4854 elif test "$withval" = builtin; then
4855 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4857 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4862 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4867 eval "$wx_cv_use_libjpeg"
4869 if test "$wxUSE_LIBJPEG" = yes; then
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4871 $as_echo "yes" >&6; }
4872 elif test "$wxUSE_LIBJPEG" = no; then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4874 $as_echo "no
" >&6; }
4875 elif test "$wxUSE_LIBJPEG" = sys; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4877 $as_echo "system version
" >&6; }
4878 elif test "$wxUSE_LIBJPEG" = builtin; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4880 $as_echo "builtin version
" >&6; }
4882 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4887 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4889 # Check whether --with-libtiff was given.
4890 if test "${with_libtiff+set}" = set; then :
4891 withval=$with_libtiff;
4892 if test "$withval" = yes; then
4893 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4894 elif test "$withval" = no; then
4895 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4896 elif test "$withval" = sys; then
4897 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4898 elif test "$withval" = builtin; then
4899 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4901 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4906 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4911 eval "$wx_cv_use_libtiff"
4913 if test "$wxUSE_LIBTIFF" = yes; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4915 $as_echo "yes" >&6; }
4916 elif test "$wxUSE_LIBTIFF" = no
; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4919 elif test "$wxUSE_LIBTIFF" = sys
; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4921 $as_echo "system version" >&6; }
4922 elif test "$wxUSE_LIBTIFF" = builtin; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4924 $as_echo "builtin version" >&6; }
4926 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4931 $as_echo_n "checking for --with-libxpm... " >&6; }
4933 # Check whether --with-libxpm was given.
4934 if test "${with_libxpm+set}" = set; then :
4935 withval
=$with_libxpm;
4936 if test "$withval" = yes; then
4937 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
4938 elif test "$withval" = no
; then
4939 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
4940 elif test "$withval" = sys
; then
4941 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
4942 elif test "$withval" = builtin; then
4943 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
4945 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4950 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4955 eval "$wx_cv_use_libxpm"
4957 if test "$wxUSE_LIBXPM" = yes; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4959 $as_echo "yes" >&6; }
4960 elif test "$wxUSE_LIBXPM" = no; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4963 elif test "$wxUSE_LIBXPM" = sys; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4965 $as_echo "system version" >&6; }
4966 elif test "$wxUSE_LIBXPM" = builtin; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4968 $as_echo "builtin version" >&6; }
4970 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4975 defaultval=$wxUSE_ALL_FEATURES
4976 if test -z "$defaultval"; then
4977 if test x"$withstring" = xwithout; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4984 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4986 # Check whether --with-libiconv was given.
4987 if test "${with_libiconv+set}" = set; then :
4988 withval=$with_libiconv;
4989 if test "$withval" = yes; then
4990 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
4992 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
4997 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5002 eval "$wx_cv_use_libiconv"
5004 if test x"$withstring" = xwithout; then
5005 if test $wxUSE_LIBICONV = yes; then
5011 result=$wxUSE_LIBICONV
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5015 $as_echo "$result" >&6; }
5019 defaultval=$wxUSE_ALL_FEATURES
5020 if test -z "$defaultval"; then
5021 if test x"$withstring" = xwithout; then
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libmspack" >&5
5028 $as_echo_n "checking
for --${withstring:-with}-libmspack...
" >&6; }
5030 # Check whether --with-libmspack was given.
5031 if test "${with_libmspack+set}" = set; then :
5032 withval=$with_libmspack;
5033 if test "$withval" = yes; then
5034 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5036 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5041 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5046 eval "$wx_cv_use_libmspack"
5048 if test x
"$withstring" = xwithout
; then
5049 if test $wxUSE_LIBMSPACK = yes; then
5055 result
=$wxUSE_LIBMSPACK
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5059 $as_echo "$result" >&6; }
5063 defaultval
=$wxUSE_ALL_FEATURES
5064 if test -z "$defaultval"; then
5065 if test x
"$withstring" = xwithout
; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5072 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5074 # Check whether --with-gtkprint was given.
5075 if test "${with_gtkprint+set}" = set; then :
5076 withval
=$with_gtkprint;
5077 if test "$withval" = yes; then
5078 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
5080 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
5085 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5090 eval "$wx_cv_use_gtkprint"
5092 if test x"$withstring" = xwithout; then
5093 if test $wxUSE_GTKPRINT = yes; then
5099 result=$wxUSE_GTKPRINT
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5103 $as_echo "$result" >&6; }
5107 defaultval=$wxUSE_ALL_FEATURES
5108 if test -z "$defaultval"; then
5109 if test x"$withstring" = xwithout; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5116 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5118 # Check whether --with-gnomeprint was given.
5119 if test "${with_gnomeprint+set}" = set; then :
5120 withval=$with_gnomeprint;
5121 if test "$withval" = yes; then
5122 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
5124 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
5129 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5134 eval "$wx_cv_use_gnomeprint"
5136 if test x"$withstring" = xwithout; then
5137 if test $wxUSE_LIBGNOMEPRINT = yes; then
5143 result=$wxUSE_LIBGNOMEPRINT
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5147 $as_echo "$result" >&6; }
5151 defaultval=$wxUSE_ALL_FEATURES
5152 if test -z "$defaultval"; then
5153 if test x"$withstring" = xwithout; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gnomevfs" >&5
5160 $as_echo_n "checking
for --${withstring:-with}-gnomevfs...
" >&6; }
5162 # Check whether --with-gnomevfs was given.
5163 if test "${with_gnomevfs+set}" = set; then :
5164 withval=$with_gnomevfs;
5165 if test "$withval" = yes; then
5166 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5168 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5173 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5178 eval "$wx_cv_use_gnomevfs"
5180 if test x
"$withstring" = xwithout
; then
5181 if test $wxUSE_LIBGNOMEVFS = yes; then
5187 result
=$wxUSE_LIBGNOMEVFS
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5191 $as_echo "$result" >&6; }
5195 defaultval
=$wxUSE_ALL_FEATURES
5196 if test -z "$defaultval"; then
5197 if test x
"$withstring" = xwithout
; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5204 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5206 # Check whether --with-libnotify was given.
5207 if test "${with_libnotify+set}" = set; then :
5208 withval
=$with_libnotify;
5209 if test "$withval" = yes; then
5210 wx_cv_use_libnotify
='wxUSE_LIBNOTIFY=yes'
5212 wx_cv_use_libnotify
='wxUSE_LIBNOTIFY=no'
5217 wx_cv_use_libnotify
='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5222 eval "$wx_cv_use_libnotify"
5224 if test x"$withstring" = xwithout; then
5225 if test $wxUSE_LIBNOTIFY = yes; then
5231 result=$wxUSE_LIBNOTIFY
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5235 $as_echo "$result" >&6; }
5239 defaultval=$wxUSE_ALL_FEATURES
5240 if test -z "$defaultval"; then
5241 if test x"$withstring" = xwithout; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5248 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5250 # Check whether --with-hildon was given.
5251 if test "${with_hildon+set}" = set; then :
5252 withval=$with_hildon;
5253 if test "$withval" = yes; then
5254 wx_cv_use_hildon='wxUSE_LIBHILDON
=yes'
5256 wx_cv_use_hildon='wxUSE_LIBHILDON
=no
'
5261 wx_cv_use_hildon='wxUSE_LIBHILDON
=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5266 eval "$wx_cv_use_hildon"
5268 if test x"$withstring" = xwithout; then
5269 if test $wxUSE_LIBHILDON = yes; then
5275 result=$wxUSE_LIBHILDON
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5279 $as_echo "$result" >&6; }
5283 defaultval=$wxUSE_ALL_FEATURES
5284 if test -z "$defaultval"; then
5285 if test x"$withstring" = xwithout; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-opengl" >&5
5292 $as_echo_n "checking
for --${withstring:-with}-opengl...
" >&6; }
5294 # Check whether --with-opengl was given.
5295 if test "${with_opengl+set}" = set; then :
5296 withval=$with_opengl;
5297 if test "$withval" = yes; then
5298 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5300 wx_cv_use_opengl='wxUSE_OPENGL=no'
5305 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5310 eval "$wx_cv_use_opengl"
5312 if test x
"$withstring" = xwithout
; then
5313 if test $wxUSE_OPENGL = yes; then
5319 result
=$wxUSE_OPENGL
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5323 $as_echo "$result" >&6; }
5330 defaultval
=$wxUSE_ALL_FEATURES
5331 if test -z "$defaultval"; then
5332 if test x
"$withstring" = xwithout
; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5339 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5341 # Check whether --with-dmalloc was given.
5342 if test "${with_dmalloc+set}" = set; then :
5343 withval
=$with_dmalloc;
5344 if test "$withval" = yes; then
5345 wx_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
5347 wx_cv_use_dmalloc
='wxUSE_DMALLOC=no'
5352 wx_cv_use_dmalloc
='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5357 eval "$wx_cv_use_dmalloc"
5359 if test x"$withstring" = xwithout; then
5360 if test $wxUSE_DMALLOC = yes; then
5366 result=$wxUSE_DMALLOC
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5370 $as_echo "$result" >&6; }
5374 defaultval=$wxUSE_ALL_FEATURES
5375 if test -z "$defaultval"; then
5376 if test x"$withstring" = xwithout; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5383 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5385 # Check whether --with-sdl was given.
5386 if test "${with_sdl+set}" = set; then :
5388 if test "$withval" = yes; then
5389 wx_cv_use_sdl='wxUSE_LIBSDL
=yes'
5391 wx_cv_use_sdl='wxUSE_LIBSDL
=no
'
5396 wx_cv_use_sdl='wxUSE_LIBSDL
=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5401 eval "$wx_cv_use_sdl"
5403 if test x"$withstring" = xwithout; then
5404 if test $wxUSE_LIBSDL = yes; then
5410 result=$wxUSE_LIBSDL
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5414 $as_echo "$result" >&6; }
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-regex" >&5
5418 $as_echo_n "checking
for --with-regex...
" >&6; }
5420 # Check whether --with-regex was given.
5421 if test "${with_regex+set}" = set; then :
5422 withval=$with_regex;
5423 if test "$withval" = yes; then
5424 wx_cv_use_regex='wxUSE_REGEX=yes'
5425 elif test "$withval" = no; then
5426 wx_cv_use_regex='wxUSE_REGEX=no'
5427 elif test "$withval" = sys; then
5428 wx_cv_use_regex='wxUSE_REGEX=sys'
5429 elif test "$withval" = builtin; then
5430 wx_cv_use_regex='wxUSE_REGEX=builtin'
5432 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5437 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5442 eval "$wx_cv_use_regex"
5444 if test "$wxUSE_REGEX" = yes; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5446 $as_echo "yes" >&6; }
5447 elif test "$wxUSE_REGEX" = no
; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5450 elif test "$wxUSE_REGEX" = sys
; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5452 $as_echo "system version" >&6; }
5453 elif test "$wxUSE_REGEX" = builtin; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5455 $as_echo "builtin version" >&6; }
5457 as_fn_error $?
"Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5462 $as_echo_n "checking for --with-zlib... " >&6; }
5464 # Check whether --with-zlib was given.
5465 if test "${with_zlib+set}" = set; then :
5467 if test "$withval" = yes; then
5468 wx_cv_use_zlib
='wxUSE_ZLIB=yes'
5469 elif test "$withval" = no
; then
5470 wx_cv_use_zlib
='wxUSE_ZLIB=no'
5471 elif test "$withval" = sys
; then
5472 wx_cv_use_zlib
='wxUSE_ZLIB=sys'
5473 elif test "$withval" = builtin; then
5474 wx_cv_use_zlib
='wxUSE_ZLIB=builtin'
5476 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5481 wx_cv_use_zlib
='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5486 eval "$wx_cv_use_zlib"
5488 if test "$wxUSE_ZLIB" = yes; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5490 $as_echo "yes" >&6; }
5491 elif test "$wxUSE_ZLIB" = no; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5494 elif test "$wxUSE_ZLIB" = sys; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5496 $as_echo "system version" >&6; }
5497 elif test "$wxUSE_ZLIB" = builtin; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5499 $as_echo "builtin version" >&6; }
5501 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5506 $as_echo_n "checking for --with-expat... " >&6; }
5508 # Check whether --with-expat was given.
5509 if test "${with_expat+set}" = set; then :
5510 withval=$with_expat;
5511 if test "$withval" = yes; then
5512 wx_cv_use_expat='wxUSE_EXPAT
=yes'
5513 elif test "$withval" = no; then
5514 wx_cv_use_expat='wxUSE_EXPAT
=no
'
5515 elif test "$withval" = sys; then
5516 wx_cv_use_expat='wxUSE_EXPAT
=sys
'
5517 elif test "$withval" = builtin; then
5518 wx_cv_use_expat='wxUSE_EXPAT
=builtin'
5520 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5525 wx_cv_use_expat='wxUSE_EXPAT
=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5530 eval "$wx_cv_use_expat"
5532 if test "$wxUSE_EXPAT" = yes; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5534 $as_echo "yes" >&6; }
5535 elif test "$wxUSE_EXPAT" = no; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5537 $as_echo "no
" >&6; }
5538 elif test "$wxUSE_EXPAT" = sys; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5540 $as_echo "system version
" >&6; }
5541 elif test "$wxUSE_EXPAT" = builtin; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5543 $as_echo "builtin version
" >&6; }
5545 as_fn_error $? "Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-macosx-sdk" >&5
5550 $as_echo_n "checking
for --with-macosx-sdk...
" >&6; }
5552 # Check whether --with-macosx-sdk was given.
5553 if test "${with_macosx_sdk+set}" = set; then :
5554 withval=$with_macosx_sdk;
5555 wxUSE_MACOSX_SDK=$withval
5556 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK
=$withval"
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_MACOSX_SDK" >&5
5561 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-macosx-version-min" >&5
5564 $as_echo_n "checking
for --with-macosx-version-min...
" >&6; }
5566 # Check whether --with-macosx-version-min was given.
5567 if test "${with_macosx_version_min+set}" = set; then :
5568 withval=$with_macosx_version_min;
5569 wxUSE_MACOSX_VERSION_MIN=$withval
5570 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN
=$withval"
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_MACOSX_VERSION_MIN" >&5
5575 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --enable-debug" >&5
5579 $as_echo_n "checking
for --enable-debug...
" >&6; }
5580 # Check whether --enable-debug was given.
5581 if test "${enable_debug+set}" = set; then :
5582 enableval=$enable_debug;
5583 if test "$enableval" = yes; then
5585 elif test "$enableval" = no; then
5587 elif test "$enableval" = max; then
5589 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5591 as_fn_error $? "Invalid
--enable-debug value
, must be
yes, no or max
" "$LINENO" 5
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${enable_debug-default}" >&5
5600 $as_echo "${enable_debug-default}" >&6; }
5602 case "$wxUSE_DEBUG" in
5604 DEFAULT_wxUSE_DEBUG_FLAG=yes
5605 DEFAULT_wxUSE_DEBUG_INFO=yes
5607 DEFAULT_wxUSE_OPTIMISE=no
5611 DEFAULT_wxUSE_DEBUG_FLAG=no
5612 DEFAULT_wxUSE_DEBUG_INFO=no
5616 DEFAULT_wxUSE_DEBUG_FLAG=yes
5617 DEFAULT_wxUSE_DEBUG_INFO=no
5622 enablestring=disable
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_flag" >&5
5633 $as_echo_n "checking
for --${enablestring:-enable}-debug_flag...
" >&6; }
5634 # Check whether --enable-debug_flag was given.
5635 if test "${enable_debug_flag+set}" = set; then :
5636 enableval=$enable_debug_flag;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5640 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5645 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5650 eval "$wx_cv_use_debug_flag"
5652 if test x
"$enablestring" = xdisable
; then
5653 if test $wxUSE_DEBUG_FLAG = no
; then
5659 result
=$wxUSE_DEBUG_FLAG
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5663 $as_echo "$result" >&6; }
5668 if test -z "$defaultval"; then
5669 if test x
"$enablestring" = xdisable
; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5677 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5678 # Check whether --enable-debug_info was given.
5679 if test "${enable_debug_info+set}" = set; then :
5680 enableval
=$enable_debug_info;
5681 if test "$enableval" = yes; then
5682 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
5684 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
5689 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5694 eval "$wx_cv_use_debug_info"
5696 if test x"$enablestring" = xdisable; then
5697 if test $wxUSE_DEBUG_INFO = no; then
5703 result=$wxUSE_DEBUG_INFO
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5707 $as_echo "$result" >&6; }
5714 if test -z "$defaultval"; then
5715 if test x"$enablestring" = xdisable; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5723 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5724 # Check whether --enable-debug_gdb was given.
5725 if test "${enable_debug_gdb+set}" = set; then :
5726 enableval=$enable_debug_gdb;
5727 if test "$enableval" = yes; then
5728 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
5730 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
5735 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5740 eval "$wx_cv_use_debug_gdb"
5742 if test x"$enablestring" = xdisable; then
5743 if test $wxUSE_DEBUG_GDB = no; then
5749 result=$wxUSE_DEBUG_GDB
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5753 $as_echo "$result" >&6; }
5758 if test -z "$defaultval"; then
5759 if test x"$enablestring" = xdisable; then
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_cntxt" >&5
5767 $as_echo_n "checking
for --${enablestring:-enable}-debug_cntxt...
" >&6; }
5768 # Check whether --enable-debug_cntxt was given.
5769 if test "${enable_debug_cntxt+set}" = set; then :
5770 enableval=$enable_debug_cntxt;
5771 if test "$enableval" = yes; then
5772 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5774 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5779 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5784 eval "$wx_cv_use_debug_cntxt"
5786 if test x
"$enablestring" = xdisable
; then
5787 if test $wxUSE_DEBUG_CONTEXT = no
; then
5793 result
=$wxUSE_DEBUG_CONTEXT
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5797 $as_echo "$result" >&6; }
5802 if test -z "$defaultval"; then
5803 if test x
"$enablestring" = xdisable
; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5811 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5812 # Check whether --enable-mem_tracing was given.
5813 if test "${enable_mem_tracing+set}" = set; then :
5814 enableval
=$enable_mem_tracing;
5815 if test "$enableval" = yes; then
5816 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
5818 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
5823 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5828 eval "$wx_cv_use_mem_tracing"
5830 if test x"$enablestring" = xdisable; then
5831 if test $wxUSE_MEM_TRACING = no; then
5837 result=$wxUSE_MEM_TRACING
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5841 $as_echo "$result" >&6; }
5846 enablestring=disable
5848 if test -z "$defaultval"; then
5849 if test x"$enablestring" = xdisable; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5857 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5858 # Check whether --enable-shared was given.
5859 if test "${enable_shared+set}" = set; then :
5860 enableval=$enable_shared;
5861 if test "$enableval" = yes; then
5862 wx_cv_use_shared='wxUSE_SHARED
=yes'
5864 wx_cv_use_shared='wxUSE_SHARED
=no
'
5869 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5874 eval "$wx_cv_use_shared"
5876 if test x"$enablestring" = xdisable; then
5877 if test $wxUSE_SHARED = no; then
5883 result=$wxUSE_SHARED
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5887 $as_echo "$result" >&6; }
5892 if test -z "$defaultval"; then
5893 if test x"$enablestring" = xdisable; then
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stl" >&5
5901 $as_echo_n "checking
for --${enablestring:-enable}-stl...
" >&6; }
5902 # Check whether --enable-stl was given.
5903 if test "${enable_stl+set}" = set; then :
5904 enableval=$enable_stl;
5905 if test "$enableval" = yes; then
5906 wx_cv_use_stl='wxUSE_STL=yes'
5908 wx_cv_use_stl='wxUSE_STL=no'
5913 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5918 eval "$wx_cv_use_stl"
5920 if test x
"$enablestring" = xdisable
; then
5921 if test $wxUSE_STL = no
; then
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5931 $as_echo "$result" >&6; }
5933 if test "$wxUSE_STL" = "yes"; then
5934 DEFAULT_wxUSE_STD_CONTAINERS
=yes
5935 DEFAULT_wxUSE_STD_IOSTREAM
=yes
5936 DEFAULT_wxUSE_STD_STRING
=yes
5941 if test -z "$defaultval"; then
5942 if test x
"$enablestring" = xdisable
; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5950 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5951 # Check whether --enable-std_containers was given.
5952 if test "${enable_std_containers+set}" = set; then :
5953 enableval
=$enable_std_containers;
5954 if test "$enableval" = yes; then
5955 wx_cv_use_std_containers
='wxUSE_STD_CONTAINERS=yes'
5957 wx_cv_use_std_containers
='wxUSE_STD_CONTAINERS=no'
5962 wx_cv_use_std_containers
='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5967 eval "$wx_cv_use_std_containers"
5969 if test x"$enablestring" = xdisable; then
5970 if test $wxUSE_STD_CONTAINERS = no; then
5976 result=$wxUSE_STD_CONTAINERS
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5980 $as_echo "$result" >&6; }
5985 if test -z "$defaultval"; then
5986 if test x"$enablestring" = xdisable; then
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5994 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5995 # Check whether --enable-std_iostreams was given.
5996 if test "${enable_std_iostreams+set}" = set; then :
5997 enableval=$enable_std_iostreams;
5998 if test "$enableval" = yes; then
5999 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
6001 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
6006 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6011 eval "$wx_cv_use_std_iostreams"
6013 if test x"$enablestring" = xdisable; then
6014 if test $wxUSE_STD_IOSTREAM = no; then
6020 result=$wxUSE_STD_IOSTREAM
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6024 $as_echo "$result" >&6; }
6029 if test -z "$defaultval"; then
6030 if test x"$enablestring" = xdisable; then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string" >&5
6038 $as_echo_n "checking
for --${enablestring:-enable}-std_string...
" >&6; }
6039 # Check whether --enable-std_string was given.
6040 if test "${enable_std_string+set}" = set; then :
6041 enableval=$enable_std_string;
6042 if test "$enableval" = yes; then
6043 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6045 wx_cv_use_std_string='wxUSE_STD_STRING=no'
6050 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6055 eval "$wx_cv_use_std_string"
6057 if test x
"$enablestring" = xdisable
; then
6058 if test $wxUSE_STD_STRING = no
; then
6064 result
=$wxUSE_STD_STRING
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6068 $as_echo "$result" >&6; }
6073 if test -z "$defaultval"; then
6074 if test x
"$enablestring" = xdisable
; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6082 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6083 # Check whether --enable-std_string_conv_in_wxstring was given.
6084 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6085 enableval
=$enable_std_string_conv_in_wxstring;
6086 if test "$enableval" = yes; then
6087 wx_cv_use_std_string_conv_in_wxstring
='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6089 wx_cv_use_std_string_conv_in_wxstring
='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6094 wx_cv_use_std_string_conv_in_wxstring
='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6099 eval "$wx_cv_use_std_string_conv_in_wxstring"
6101 if test x"$enablestring" = xdisable; then
6102 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6108 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6112 $as_echo "$result" >&6; }
6115 enablestring=disable
6117 if test -z "$defaultval"; then
6118 if test x"$enablestring" = xdisable; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6126 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6127 # Check whether --enable-unicode was given.
6128 if test "${enable_unicode+set}" = set; then :
6129 enableval=$enable_unicode;
6130 if test "$enableval" = yes; then
6131 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
6133 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
6138 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6143 eval "$wx_cv_use_unicode"
6145 if test x"$enablestring" = xdisable; then
6146 if test $wxUSE_UNICODE = no; then
6152 result=$wxUSE_UNICODE
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6156 $as_echo "$result" >&6; }
6161 if test -z "$defaultval"; then
6162 if test x"$enablestring" = xdisable; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mslu" >&5
6170 $as_echo_n "checking
for --${enablestring:-enable}-mslu...
" >&6; }
6171 # Check whether --enable-mslu was given.
6172 if test "${enable_mslu+set}" = set; then :
6173 enableval=$enable_mslu;
6174 if test "$enableval" = yes; then
6175 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6177 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6182 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6187 eval "$wx_cv_use_mslu"
6189 if test x
"$enablestring" = xdisable
; then
6190 if test $wxUSE_UNICODE_MSLU = no
; then
6196 result
=$wxUSE_UNICODE_MSLU
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6200 $as_echo "$result" >&6; }
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6205 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6206 # Check whether --enable-utf8 was given.
6207 if test "${enable_utf8+set}" = set; then :
6208 enableval
=$enable_utf8;
6209 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
6213 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6218 eval "$wx_cv_use_utf8"
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6221 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6226 if test -z "$defaultval"; then
6227 if test x
"$enablestring" = xdisable
; then
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6235 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6236 # Check whether --enable-utf8only was given.
6237 if test "${enable_utf8only+set}" = set; then :
6238 enableval
=$enable_utf8only;
6239 if test "$enableval" = yes; then
6240 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
6242 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
6247 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6252 eval "$wx_cv_use_utf8only"
6254 if test x"$enablestring" = xdisable; then
6255 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6261 result=$wxUSE_UNICODE_UTF8_LOCALE
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6265 $as_echo "$result" >&6; }
6270 if test -z "$defaultval"; then
6271 if test x"$enablestring" = xdisable; then
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6279 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6280 # Check whether --enable-extended_rtti was given.
6281 if test "${enable_extended_rtti+set}" = set; then :
6282 enableval=$enable_extended_rtti;
6283 if test "$enableval" = yes; then
6284 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
6286 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
6291 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6296 eval "$wx_cv_use_extended_rtti"
6298 if test x"$enablestring" = xdisable; then
6299 if test $wxUSE_EXTENDED_RTTI = no; then
6305 result=$wxUSE_EXTENDED_RTTI
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6309 $as_echo "$result" >&6; }
6311 if test "$USE_OS2" = 1; then
6312 DEFAULT_wxUSE_OMF=no
6316 if test -z "$defaultval"; then
6317 if test x"$enablestring" = xdisable; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-omf" >&5
6325 $as_echo_n "checking
for --${enablestring:-enable}-omf...
" >&6; }
6326 # Check whether --enable-omf was given.
6327 if test "${enable_omf+set}" = set; then :
6328 enableval=$enable_omf;
6329 if test "$enableval" = yes; then
6330 wx_cv_use_omf='wxUSE_OMF=yes'
6332 wx_cv_use_omf='wxUSE_OMF=no'
6337 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6342 eval "$wx_cv_use_omf"
6344 if test x
"$enablestring" = xdisable
; then
6345 if test $wxUSE_OMF = no
; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6355 $as_echo "$result" >&6; }
6360 enablestring
=disable
6362 if test -z "$defaultval"; then
6363 if test x
"$enablestring" = xdisable
; then
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6371 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6372 # Check whether --enable-optimise was given.
6373 if test "${enable_optimise+set}" = set; then :
6374 enableval
=$enable_optimise;
6375 if test "$enableval" = yes; then
6376 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
6378 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
6383 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6388 eval "$wx_cv_use_optimise"
6390 if test x"$enablestring" = xdisable; then
6391 if test $wxUSE_OPTIMISE = no; then
6397 result=$wxUSE_OPTIMISE
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6401 $as_echo "$result" >&6; }
6407 if test -z "$defaultval"; then
6408 if test x"$enablestring" = xdisable; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6416 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6417 # Check whether --enable-profile was given.
6418 if test "${enable_profile+set}" = set; then :
6419 enableval=$enable_profile;
6420 if test "$enableval" = yes; then
6421 wx_cv_use_profile='wxUSE_PROFILE
=yes'
6423 wx_cv_use_profile='wxUSE_PROFILE
=no
'
6428 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6433 eval "$wx_cv_use_profile"
6435 if test x"$enablestring" = xdisable; then
6436 if test $wxUSE_PROFILE = no; then
6442 result=$wxUSE_PROFILE
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6446 $as_echo "$result" >&6; }
6451 if test -z "$defaultval"; then
6452 if test x"$enablestring" = xdisable; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_rtti" >&5
6460 $as_echo_n "checking
for --${enablestring:-enable}-no_rtti...
" >&6; }
6461 # Check whether --enable-no_rtti was given.
6462 if test "${enable_no_rtti+set}" = set; then :
6463 enableval=$enable_no_rtti;
6464 if test "$enableval" = yes; then
6465 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6467 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6472 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6477 eval "$wx_cv_use_no_rtti"
6479 if test x
"$enablestring" = xdisable
; then
6480 if test $wxUSE_NO_RTTI = no
; then
6486 result
=$wxUSE_NO_RTTI
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6490 $as_echo "$result" >&6; }
6495 if test -z "$defaultval"; then
6496 if test x
"$enablestring" = xdisable
; then
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6504 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6505 # Check whether --enable-no_exceptions was given.
6506 if test "${enable_no_exceptions+set}" = set; then :
6507 enableval
=$enable_no_exceptions;
6508 if test "$enableval" = yes; then
6509 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
6511 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
6516 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6521 eval "$wx_cv_use_no_exceptions"
6523 if test x"$enablestring" = xdisable; then
6524 if test $wxUSE_NO_EXCEPTIONS = no; then
6530 result=$wxUSE_NO_EXCEPTIONS
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6534 $as_echo "$result" >&6; }
6539 if test -z "$defaultval"; then
6540 if test x"$enablestring" = xdisable; then
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6548 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6549 # Check whether --enable-permissive was given.
6550 if test "${enable_permissive+set}" = set; then :
6551 enableval=$enable_permissive;
6552 if test "$enableval" = yes; then
6553 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
6555 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
6560 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6565 eval "$wx_cv_use_permissive"
6567 if test x"$enablestring" = xdisable; then
6568 if test $wxUSE_PERMISSIVE = no; then
6574 result=$wxUSE_PERMISSIVE
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6578 $as_echo "$result" >&6; }
6583 if test -z "$defaultval"; then
6584 if test x"$enablestring" = xdisable; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_deps" >&5
6592 $as_echo_n "checking
for --${enablestring:-enable}-no_deps...
" >&6; }
6593 # Check whether --enable-no_deps was given.
6594 if test "${enable_no_deps+set}" = set; then :
6595 enableval=$enable_no_deps;
6596 if test "$enableval" = yes; then
6597 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6599 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6604 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6609 eval "$wx_cv_use_no_deps"
6611 if test x
"$enablestring" = xdisable
; then
6612 if test $wxUSE_NO_DEPS = no
; then
6618 result
=$wxUSE_NO_DEPS
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6622 $as_echo "$result" >&6; }
6625 enablestring
=disable
6627 if test -z "$defaultval"; then
6628 if test x
"$enablestring" = xdisable
; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6636 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6637 # Check whether --enable-vararg_macros was given.
6638 if test "${enable_vararg_macros+set}" = set; then :
6639 enableval
=$enable_vararg_macros;
6640 if test "$enableval" = yes; then
6641 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
6643 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
6648 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6653 eval "$wx_cv_use_vararg_macros"
6655 if test x"$enablestring" = xdisable; then
6656 if test $wxUSE_VARARG_MACROS = no; then
6662 result=$wxUSE_VARARG_MACROS
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6666 $as_echo "$result" >&6; }
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6672 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6673 # Check whether --enable-universal_binary was given.
6674 if test "${enable_universal_binary+set}" = set; then :
6675 enableval=$enable_universal_binary;
6676 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6680 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6685 eval "$wx_cv_use_universal_binary"
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6688 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6693 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6694 # Check whether --enable-macosx_arch was given.
6695 if test "${enable_macosx_arch+set}" = set; then :
6696 enableval=$enable_macosx_arch;
6697 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6701 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH
='$DEFAULT_wxUSE_MAC_ARCH
6706 eval "$wx_cv_use_macosx_arch"
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6709 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6715 if test -z "$defaultval"; then
6716 if test x"$enablestring" = xdisable; then
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6724 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6725 # Check whether --enable-compat26 was given.
6726 if test "${enable_compat26+set}" = set; then :
6727 enableval=$enable_compat26;
6728 if test "$enableval" = yes; then
6729 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
6731 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
6736 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6741 eval "$wx_cv_use_compat26"
6743 if test x"$enablestring" = xdisable; then
6744 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6750 result=$WXWIN_COMPATIBILITY_2_6
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6754 $as_echo "$result" >&6; }
6757 enablestring=disable
6759 if test -z "$defaultval"; then
6760 if test x"$enablestring" = xdisable; then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-compat28" >&5
6768 $as_echo_n "checking
for --${enablestring:-enable}-compat28...
" >&6; }
6769 # Check whether --enable-compat28 was given.
6770 if test "${enable_compat28+set}" = set; then :
6771 enableval=$enable_compat28;
6772 if test "$enableval" = yes; then
6773 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6775 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6780 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6785 eval "$wx_cv_use_compat28"
6787 if test x
"$enablestring" = xdisable
; then
6788 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
6794 result
=$WXWIN_COMPATIBILITY_2_8
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6798 $as_echo "$result" >&6; }
6802 enablestring
=disable
6804 if test -z "$defaultval"; then
6805 if test x
"$enablestring" = xdisable
; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6813 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6814 # Check whether --enable-rpath was given.
6815 if test "${enable_rpath+set}" = set; then :
6816 enableval
=$enable_rpath;
6817 if test "$enableval" = yes; then
6818 wx_cv_use_rpath
='wxUSE_RPATH=yes'
6820 wx_cv_use_rpath
='wxUSE_RPATH=no'
6825 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6830 eval "$wx_cv_use_rpath"
6832 if test x"$enablestring" = xdisable; then
6833 if test $wxUSE_RPATH = no; then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6843 $as_echo "$result" >&6; }
6849 if test -z "$defaultval"; then
6850 if test x"$enablestring" = xdisable; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6858 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6859 # Check whether --enable-objc_uniquifying was given.
6860 if test "${enable_objc_uniquifying+set}" = set; then :
6861 enableval=$enable_objc_uniquifying;
6862 if test "$enableval" = yes; then
6863 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
6865 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
6870 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6875 eval "$wx_cv_use_objc_uniquifying"
6877 if test x"$enablestring" = xdisable; then
6878 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6884 result=$wxUSE_OBJC_UNIQUIFYING
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6888 $as_echo "$result" >&6; }
6892 enablestring=disable
6894 if test -z "$defaultval"; then
6895 if test x"$enablestring" = xdisable; then
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-visibility" >&5
6903 $as_echo_n "checking
for --${enablestring:-enable}-visibility...
" >&6; }
6904 # Check whether --enable-visibility was given.
6905 if test "${enable_visibility+set}" = set; then :
6906 enableval=$enable_visibility;
6907 if test "$enableval" = yes; then
6908 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6910 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6915 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6920 eval "$wx_cv_use_visibility"
6922 if test x
"$enablestring" = xdisable
; then
6923 if test $wxUSE_VISIBILITY = no
; then
6929 result
=$wxUSE_VISIBILITY
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6933 $as_echo "$result" >&6; }
6936 enablestring
=disable
6938 if test -z "$defaultval"; then
6939 if test x
"$enablestring" = xdisable
; then
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6947 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6948 # Check whether --enable-tls was given.
6949 if test "${enable_tls+set}" = set; then :
6950 enableval
=$enable_tls;
6951 if test "$enableval" = yes; then
6952 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
6954 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
6959 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6964 eval "$wx_cv_use_tls"
6966 if test x"$enablestring" = xdisable; then
6967 if test $wxUSE_COMPILER_TLS = no; then
6973 result=$wxUSE_COMPILER_TLS
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6977 $as_echo "$result" >&6; }
6983 defaultval=$wxUSE_ALL_FEATURES
6984 if test -z "$defaultval"; then
6985 if test x"$enablestring" = xdisable; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6993 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6994 # Check whether --enable-intl was given.
6995 if test "${enable_intl+set}" = set; then :
6996 enableval=$enable_intl;
6997 if test "$enableval" = yes; then
6998 wx_cv_use_intl='wxUSE_INTL
=yes'
7000 wx_cv_use_intl='wxUSE_INTL
=no
'
7005 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7010 eval "$wx_cv_use_intl"
7012 if test x"$enablestring" = xdisable; then
7013 if test $wxUSE_INTL = no; then
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7023 $as_echo "$result" >&6; }
7027 defaultval=$wxUSE_ALL_FEATURES
7028 if test -z "$defaultval"; then
7029 if test x"$enablestring" = xdisable; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-xlocale" >&5
7037 $as_echo_n "checking
for --${enablestring:-enable}-xlocale...
" >&6; }
7038 # Check whether --enable-xlocale was given.
7039 if test "${enable_xlocale+set}" = set; then :
7040 enableval=$enable_xlocale;
7041 if test "$enableval" = yes; then
7042 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7044 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7049 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7054 eval "$wx_cv_use_xlocale"
7056 if test x
"$enablestring" = xdisable
; then
7057 if test $wxUSE_XLOCALE = no
; then
7063 result
=$wxUSE_XLOCALE
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7067 $as_echo "$result" >&6; }
7071 defaultval
=$wxUSE_ALL_FEATURES
7072 if test -z "$defaultval"; then
7073 if test x
"$enablestring" = xdisable
; then
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7081 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7082 # Check whether --enable-config was given.
7083 if test "${enable_config+set}" = set; then :
7084 enableval
=$enable_config;
7085 if test "$enableval" = yes; then
7086 wx_cv_use_config
='wxUSE_CONFIG=yes'
7088 wx_cv_use_config
='wxUSE_CONFIG=no'
7093 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7098 eval "$wx_cv_use_config"
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_CONFIG = no; then
7107 result=$wxUSE_CONFIG
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7111 $as_echo "$result" >&6; }
7116 defaultval=$wxUSE_ALL_FEATURES
7117 if test -z "$defaultval"; then
7118 if test x"$enablestring" = xdisable; then
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7126 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7127 # Check whether --enable-protocols was given.
7128 if test "${enable_protocols+set}" = set; then :
7129 enableval=$enable_protocols;
7130 if test "$enableval" = yes; then
7131 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
7133 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
7138 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7143 eval "$wx_cv_use_protocols"
7145 if test x"$enablestring" = xdisable; then
7146 if test $wxUSE_PROTOCOL = no; then
7152 result=$wxUSE_PROTOCOL
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7156 $as_echo "$result" >&6; }
7160 defaultval=$wxUSE_ALL_FEATURES
7161 if test -z "$defaultval"; then
7162 if test x"$enablestring" = xdisable; then
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ftp" >&5
7170 $as_echo_n "checking
for --${enablestring:-enable}-ftp...
" >&6; }
7171 # Check whether --enable-ftp was given.
7172 if test "${enable_ftp+set}" = set; then :
7173 enableval=$enable_ftp;
7174 if test "$enableval" = yes; then
7175 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7177 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7182 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7187 eval "$wx_cv_use_ftp"
7189 if test x
"$enablestring" = xdisable
; then
7190 if test $wxUSE_PROTOCOL_FTP = no
; then
7196 result
=$wxUSE_PROTOCOL_FTP
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7200 $as_echo "$result" >&6; }
7204 defaultval
=$wxUSE_ALL_FEATURES
7205 if test -z "$defaultval"; then
7206 if test x
"$enablestring" = xdisable
; then
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7214 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7215 # Check whether --enable-http was given.
7216 if test "${enable_http+set}" = set; then :
7217 enableval
=$enable_http;
7218 if test "$enableval" = yes; then
7219 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
7221 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
7226 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7231 eval "$wx_cv_use_http"
7233 if test x"$enablestring" = xdisable; then
7234 if test $wxUSE_PROTOCOL_HTTP = no; then
7240 result=$wxUSE_PROTOCOL_HTTP
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7244 $as_echo "$result" >&6; }
7248 defaultval=$wxUSE_ALL_FEATURES
7249 if test -z "$defaultval"; then
7250 if test x"$enablestring" = xdisable; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7258 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7259 # Check whether --enable-fileproto was given.
7260 if test "${enable_fileproto+set}" = set; then :
7261 enableval=$enable_fileproto;
7262 if test "$enableval" = yes; then
7263 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
7265 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
7270 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7275 eval "$wx_cv_use_fileproto"
7277 if test x"$enablestring" = xdisable; then
7278 if test $wxUSE_PROTOCOL_FILE = no; then
7284 result=$wxUSE_PROTOCOL_FILE
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7288 $as_echo "$result" >&6; }
7292 defaultval=$wxUSE_ALL_FEATURES
7293 if test -z "$defaultval"; then
7294 if test x"$enablestring" = xdisable; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sockets" >&5
7302 $as_echo_n "checking
for --${enablestring:-enable}-sockets...
" >&6; }
7303 # Check whether --enable-sockets was given.
7304 if test "${enable_sockets+set}" = set; then :
7305 enableval=$enable_sockets;
7306 if test "$enableval" = yes; then
7307 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7309 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7314 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7319 eval "$wx_cv_use_sockets"
7321 if test x
"$enablestring" = xdisable
; then
7322 if test $wxUSE_SOCKETS = no
; then
7328 result
=$wxUSE_SOCKETS
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7332 $as_echo "$result" >&6; }
7336 defaultval
=$wxUSE_ALL_FEATURES
7337 if test -z "$defaultval"; then
7338 if test x
"$enablestring" = xdisable
; then
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7346 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7347 # Check whether --enable-ipv6 was given.
7348 if test "${enable_ipv6+set}" = set; then :
7349 enableval
=$enable_ipv6;
7350 if test "$enableval" = yes; then
7351 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
7353 wx_cv_use_ipv6
='wxUSE_IPV6=no'
7358 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7363 eval "$wx_cv_use_ipv6"
7365 if test x"$enablestring" = xdisable; then
7366 if test $wxUSE_IPV6 = no; then
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7376 $as_echo "$result" >&6; }
7380 defaultval=$wxUSE_ALL_FEATURES
7381 if test -z "$defaultval"; then
7382 if test x"$enablestring" = xdisable; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7390 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7391 # Check whether --enable-ole was given.
7392 if test "${enable_ole+set}" = set; then :
7393 enableval=$enable_ole;
7394 if test "$enableval" = yes; then
7395 wx_cv_use_ole='wxUSE_OLE
=yes'
7397 wx_cv_use_ole='wxUSE_OLE
=no
'
7402 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7407 eval "$wx_cv_use_ole"
7409 if test x"$enablestring" = xdisable; then
7410 if test $wxUSE_OLE = no; then
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7420 $as_echo "$result" >&6; }
7424 defaultval=$wxUSE_ALL_FEATURES
7425 if test -z "$defaultval"; then
7426 if test x"$enablestring" = xdisable; then
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dataobj" >&5
7434 $as_echo_n "checking
for --${enablestring:-enable}-dataobj...
" >&6; }
7435 # Check whether --enable-dataobj was given.
7436 if test "${enable_dataobj+set}" = set; then :
7437 enableval=$enable_dataobj;
7438 if test "$enableval" = yes; then
7439 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7441 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7446 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7451 eval "$wx_cv_use_dataobj"
7453 if test x
"$enablestring" = xdisable
; then
7454 if test $wxUSE_DATAOBJ = no
; then
7460 result
=$wxUSE_DATAOBJ
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7464 $as_echo "$result" >&6; }
7469 defaultval
=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x
"$enablestring" = xdisable
; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7479 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7480 # Check whether --enable-ipc was given.
7481 if test "${enable_ipc+set}" = set; then :
7482 enableval
=$enable_ipc;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_ipc
='wxUSE_IPC=yes'
7486 wx_cv_use_ipc
='wxUSE_IPC=no'
7491 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7496 eval "$wx_cv_use_ipc"
7498 if test x"$enablestring" = xdisable; then
7499 if test $wxUSE_IPC = no; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7509 $as_echo "$result" >&6; }
7514 defaultval=$wxUSE_ALL_FEATURES
7515 if test -z "$defaultval"; then
7516 if test x"$enablestring" = xdisable; then
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7524 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7525 # Check whether --enable-baseevtloop was given.
7526 if test "${enable_baseevtloop+set}" = set; then :
7527 enableval=$enable_baseevtloop;
7528 if test "$enableval" = yes; then
7529 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
7531 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
7536 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7541 eval "$wx_cv_use_baseevtloop"
7543 if test x"$enablestring" = xdisable; then
7544 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7550 result=$wxUSE_CONSOLE_EVENTLOOP
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7554 $as_echo "$result" >&6; }
7558 defaultval=$wxUSE_ALL_FEATURES
7559 if test -z "$defaultval"; then
7560 if test x"$enablestring" = xdisable; then
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-epollloop" >&5
7568 $as_echo_n "checking
for --${enablestring:-enable}-epollloop...
" >&6; }
7569 # Check whether --enable-epollloop was given.
7570 if test "${enable_epollloop+set}" = set; then :
7571 enableval=$enable_epollloop;
7572 if test "$enableval" = yes; then
7573 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7575 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7580 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7585 eval "$wx_cv_use_epollloop"
7587 if test x
"$enablestring" = xdisable
; then
7588 if test $wxUSE_EPOLL_DISPATCHER = no
; then
7594 result
=$wxUSE_EPOLL_DISPATCHER
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7598 $as_echo "$result" >&6; }
7602 defaultval
=$wxUSE_ALL_FEATURES
7603 if test -z "$defaultval"; then
7604 if test x
"$enablestring" = xdisable
; then
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7612 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7613 # Check whether --enable-selectloop was given.
7614 if test "${enable_selectloop+set}" = set; then :
7615 enableval
=$enable_selectloop;
7616 if test "$enableval" = yes; then
7617 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
7619 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
7624 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7629 eval "$wx_cv_use_selectloop"
7631 if test x"$enablestring" = xdisable; then
7632 if test $wxUSE_SELECT_DISPATCHER = no; then
7638 result=$wxUSE_SELECT_DISPATCHER
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7642 $as_echo "$result" >&6; }
7647 defaultval=$wxUSE_ALL_FEATURES
7648 if test -z "$defaultval"; then
7649 if test x"$enablestring" = xdisable; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7657 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7658 # Check whether --enable-any was given.
7659 if test "${enable_any+set}" = set; then :
7660 enableval=$enable_any;
7661 if test "$enableval" = yes; then
7662 wx_cv_use_any='wxUSE_ANY
=yes'
7664 wx_cv_use_any='wxUSE_ANY
=no
'
7669 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7674 eval "$wx_cv_use_any"
7676 if test x"$enablestring" = xdisable; then
7677 if test $wxUSE_ANY = no; then
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7687 $as_echo "$result" >&6; }
7691 defaultval=$wxUSE_ALL_FEATURES
7692 if test -z "$defaultval"; then
7693 if test x"$enablestring" = xdisable; then
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-apple_ieee" >&5
7701 $as_echo_n "checking
for --${enablestring:-enable}-apple_ieee...
" >&6; }
7702 # Check whether --enable-apple_ieee was given.
7703 if test "${enable_apple_ieee+set}" = set; then :
7704 enableval=$enable_apple_ieee;
7705 if test "$enableval" = yes; then
7706 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7708 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7713 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7718 eval "$wx_cv_use_apple_ieee"
7720 if test x
"$enablestring" = xdisable
; then
7721 if test $wxUSE_APPLE_IEEE = no
; then
7727 result
=$wxUSE_APPLE_IEEE
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7731 $as_echo "$result" >&6; }
7735 defaultval
=$wxUSE_ALL_FEATURES
7736 if test -z "$defaultval"; then
7737 if test x
"$enablestring" = xdisable
; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7745 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7746 # Check whether --enable-arcstream was given.
7747 if test "${enable_arcstream+set}" = set; then :
7748 enableval
=$enable_arcstream;
7749 if test "$enableval" = yes; then
7750 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
7752 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
7757 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7762 eval "$wx_cv_use_arcstream"
7764 if test x"$enablestring" = xdisable; then
7765 if test $wxUSE_ARCHIVE_STREAMS = no; then
7771 result=$wxUSE_ARCHIVE_STREAMS
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7775 $as_echo "$result" >&6; }
7779 defaultval=$wxUSE_ALL_FEATURES
7780 if test -z "$defaultval"; then
7781 if test x"$enablestring" = xdisable; then
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7789 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7790 # Check whether --enable-base64 was given.
7791 if test "${enable_base64+set}" = set; then :
7792 enableval=$enable_base64;
7793 if test "$enableval" = yes; then
7794 wx_cv_use_base64='wxUSE_BASE64
=yes'
7796 wx_cv_use_base64='wxUSE_BASE64
=no
'
7801 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7806 eval "$wx_cv_use_base64"
7808 if test x"$enablestring" = xdisable; then
7809 if test $wxUSE_BASE64 = no; then
7815 result=$wxUSE_BASE64
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7819 $as_echo "$result" >&6; }
7823 defaultval=$wxUSE_ALL_FEATURES
7824 if test -z "$defaultval"; then
7825 if test x"$enablestring" = xdisable; then
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-backtrace" >&5
7833 $as_echo_n "checking
for --${enablestring:-enable}-backtrace...
" >&6; }
7834 # Check whether --enable-backtrace was given.
7835 if test "${enable_backtrace+set}" = set; then :
7836 enableval=$enable_backtrace;
7837 if test "$enableval" = yes; then
7838 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7840 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7845 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7850 eval "$wx_cv_use_backtrace"
7852 if test x
"$enablestring" = xdisable
; then
7853 if test $wxUSE_STACKWALKER = no
; then
7859 result
=$wxUSE_STACKWALKER
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7863 $as_echo "$result" >&6; }
7867 defaultval
=$wxUSE_ALL_FEATURES
7868 if test -z "$defaultval"; then
7869 if test x
"$enablestring" = xdisable
; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7877 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7878 # Check whether --enable-catch_segvs was given.
7879 if test "${enable_catch_segvs+set}" = set; then :
7880 enableval
=$enable_catch_segvs;
7881 if test "$enableval" = yes; then
7882 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
7884 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
7889 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7894 eval "$wx_cv_use_catch_segvs"
7896 if test x"$enablestring" = xdisable; then
7897 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7903 result=$wxUSE_ON_FATAL_EXCEPTION
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7907 $as_echo "$result" >&6; }
7911 defaultval=$wxUSE_ALL_FEATURES
7912 if test -z "$defaultval"; then
7913 if test x"$enablestring" = xdisable; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7921 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7922 # Check whether --enable-cmdline was given.
7923 if test "${enable_cmdline+set}" = set; then :
7924 enableval=$enable_cmdline;
7925 if test "$enableval" = yes; then
7926 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
7928 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
7933 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7938 eval "$wx_cv_use_cmdline"
7940 if test x"$enablestring" = xdisable; then
7941 if test $wxUSE_CMDLINE_PARSER = no; then
7947 result=$wxUSE_CMDLINE_PARSER
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7951 $as_echo "$result" >&6; }
7955 defaultval=$wxUSE_ALL_FEATURES
7956 if test -z "$defaultval"; then
7957 if test x"$enablestring" = xdisable; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datetime" >&5
7965 $as_echo_n "checking
for --${enablestring:-enable}-datetime...
" >&6; }
7966 # Check whether --enable-datetime was given.
7967 if test "${enable_datetime+set}" = set; then :
7968 enableval=$enable_datetime;
7969 if test "$enableval" = yes; then
7970 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7972 wx_cv_use_datetime='wxUSE_DATETIME=no'
7977 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7982 eval "$wx_cv_use_datetime"
7984 if test x
"$enablestring" = xdisable
; then
7985 if test $wxUSE_DATETIME = no
; then
7991 result
=$wxUSE_DATETIME
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7995 $as_echo "$result" >&6; }
7999 defaultval
=$wxUSE_ALL_FEATURES
8000 if test -z "$defaultval"; then
8001 if test x
"$enablestring" = xdisable
; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8009 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8010 # Check whether --enable-debugreport was given.
8011 if test "${enable_debugreport+set}" = set; then :
8012 enableval
=$enable_debugreport;
8013 if test "$enableval" = yes; then
8014 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
8016 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
8021 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8026 eval "$wx_cv_use_debugreport"
8028 if test x"$enablestring" = xdisable; then
8029 if test $wxUSE_DEBUGREPORT = no; then
8035 result=$wxUSE_DEBUGREPORT
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8039 $as_echo "$result" >&6; }
8043 defaultval=$wxUSE_ALL_FEATURES
8044 if test -z "$defaultval"; then
8045 if test x"$enablestring" = xdisable; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8053 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8054 # Check whether --enable-dialupman was given.
8055 if test "${enable_dialupman+set}" = set; then :
8056 enableval=$enable_dialupman;
8057 if test "$enableval" = yes; then
8058 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
8060 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
8065 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8070 eval "$wx_cv_use_dialupman"
8072 if test x"$enablestring" = xdisable; then
8073 if test $wxUSE_DIALUP_MANAGER = no; then
8079 result=$wxUSE_DIALUP_MANAGER
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8083 $as_echo "$result" >&6; }
8087 defaultval=$wxUSE_ALL_FEATURES
8088 if test -z "$defaultval"; then
8089 if test x"$enablestring" = xdisable; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynlib" >&5
8097 $as_echo_n "checking
for --${enablestring:-enable}-dynlib...
" >&6; }
8098 # Check whether --enable-dynlib was given.
8099 if test "${enable_dynlib+set}" = set; then :
8100 enableval=$enable_dynlib;
8101 if test "$enableval" = yes; then
8102 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8104 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8109 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8114 eval "$wx_cv_use_dynlib"
8116 if test x
"$enablestring" = xdisable
; then
8117 if test $wxUSE_DYNLIB_CLASS = no
; then
8123 result
=$wxUSE_DYNLIB_CLASS
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8127 $as_echo "$result" >&6; }
8131 defaultval
=$wxUSE_ALL_FEATURES
8132 if test -z "$defaultval"; then
8133 if test x
"$enablestring" = xdisable
; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8141 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8142 # Check whether --enable-dynamicloader was given.
8143 if test "${enable_dynamicloader+set}" = set; then :
8144 enableval
=$enable_dynamicloader;
8145 if test "$enableval" = yes; then
8146 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
8148 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
8153 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8158 eval "$wx_cv_use_dynamicloader"
8160 if test x"$enablestring" = xdisable; then
8161 if test $wxUSE_DYNAMIC_LOADER = no; then
8167 result=$wxUSE_DYNAMIC_LOADER
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8171 $as_echo "$result" >&6; }
8175 defaultval=$wxUSE_ALL_FEATURES
8176 if test -z "$defaultval"; then
8177 if test x"$enablestring" = xdisable; then
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8185 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8186 # Check whether --enable-exceptions was given.
8187 if test "${enable_exceptions+set}" = set; then :
8188 enableval=$enable_exceptions;
8189 if test "$enableval" = yes; then
8190 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
8192 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
8197 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8202 eval "$wx_cv_use_exceptions"
8204 if test x"$enablestring" = xdisable; then
8205 if test $wxUSE_EXCEPTIONS = no; then
8211 result=$wxUSE_EXCEPTIONS
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8215 $as_echo "$result" >&6; }
8219 defaultval=$wxUSE_ALL_FEATURES
8220 if test -z "$defaultval"; then
8221 if test x"$enablestring" = xdisable; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ffile" >&5
8229 $as_echo_n "checking
for --${enablestring:-enable}-ffile...
" >&6; }
8230 # Check whether --enable-ffile was given.
8231 if test "${enable_ffile+set}" = set; then :
8232 enableval=$enable_ffile;
8233 if test "$enableval" = yes; then
8234 wx_cv_use_ffile='wxUSE_FFILE=yes'
8236 wx_cv_use_ffile='wxUSE_FFILE=no'
8241 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8246 eval "$wx_cv_use_ffile"
8248 if test x
"$enablestring" = xdisable
; then
8249 if test $wxUSE_FFILE = no
; then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8259 $as_echo "$result" >&6; }
8263 defaultval
=$wxUSE_ALL_FEATURES
8264 if test -z "$defaultval"; then
8265 if test x
"$enablestring" = xdisable
; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8273 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8274 # Check whether --enable-file was given.
8275 if test "${enable_file+set}" = set; then :
8276 enableval
=$enable_file;
8277 if test "$enableval" = yes; then
8278 wx_cv_use_file
='wxUSE_FILE=yes'
8280 wx_cv_use_file
='wxUSE_FILE=no'
8285 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8290 eval "$wx_cv_use_file"
8292 if test x"$enablestring" = xdisable; then
8293 if test $wxUSE_FILE = no; then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8303 $as_echo "$result" >&6; }
8307 defaultval=$wxUSE_ALL_FEATURES
8308 if test -z "$defaultval"; then
8309 if test x"$enablestring" = xdisable; then
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8317 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8318 # Check whether --enable-filehistory was given.
8319 if test "${enable_filehistory+set}" = set; then :
8320 enableval=$enable_filehistory;
8321 if test "$enableval" = yes; then
8322 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=yes'
8324 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=no
'
8329 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8334 eval "$wx_cv_use_filehistory"
8336 if test x"$enablestring" = xdisable; then
8337 if test $wxUSE_FILE_HISTORY = no; then
8343 result=$wxUSE_FILE_HISTORY
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8347 $as_echo "$result" >&6; }
8351 defaultval=$wxUSE_ALL_FEATURES
8352 if test -z "$defaultval"; then
8353 if test x"$enablestring" = xdisable; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filesystem" >&5
8361 $as_echo_n "checking
for --${enablestring:-enable}-filesystem...
" >&6; }
8362 # Check whether --enable-filesystem was given.
8363 if test "${enable_filesystem+set}" = set; then :
8364 enableval=$enable_filesystem;
8365 if test "$enableval" = yes; then
8366 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8368 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8373 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8378 eval "$wx_cv_use_filesystem"
8380 if test x
"$enablestring" = xdisable
; then
8381 if test $wxUSE_FILESYSTEM = no
; then
8387 result
=$wxUSE_FILESYSTEM
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8391 $as_echo "$result" >&6; }
8395 defaultval
=$wxUSE_ALL_FEATURES
8396 if test -z "$defaultval"; then
8397 if test x
"$enablestring" = xdisable
; then
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8405 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8406 # Check whether --enable-fontenum was given.
8407 if test "${enable_fontenum+set}" = set; then :
8408 enableval
=$enable_fontenum;
8409 if test "$enableval" = yes; then
8410 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
8412 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
8417 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8422 eval "$wx_cv_use_fontenum"
8424 if test x"$enablestring" = xdisable; then
8425 if test $wxUSE_FONTENUM = no; then
8431 result=$wxUSE_FONTENUM
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8435 $as_echo "$result" >&6; }
8439 defaultval=$wxUSE_ALL_FEATURES
8440 if test -z "$defaultval"; then
8441 if test x"$enablestring" = xdisable; then
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8449 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8450 # Check whether --enable-fontmap was given.
8451 if test "${enable_fontmap+set}" = set; then :
8452 enableval=$enable_fontmap;
8453 if test "$enableval" = yes; then
8454 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
8456 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
8461 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8466 eval "$wx_cv_use_fontmap"
8468 if test x"$enablestring" = xdisable; then
8469 if test $wxUSE_FONTMAP = no; then
8475 result=$wxUSE_FONTMAP
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8479 $as_echo "$result" >&6; }
8483 defaultval=$wxUSE_ALL_FEATURES
8484 if test -z "$defaultval"; then
8485 if test x"$enablestring" = xdisable; then
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_archive" >&5
8493 $as_echo_n "checking
for --${enablestring:-enable}-fs_archive...
" >&6; }
8494 # Check whether --enable-fs_archive was given.
8495 if test "${enable_fs_archive+set}" = set; then :
8496 enableval=$enable_fs_archive;
8497 if test "$enableval" = yes; then
8498 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8500 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8505 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8510 eval "$wx_cv_use_fs_archive"
8512 if test x
"$enablestring" = xdisable
; then
8513 if test $wxUSE_FS_ARCHIVE = no
; then
8519 result
=$wxUSE_FS_ARCHIVE
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8523 $as_echo "$result" >&6; }
8527 defaultval
=$wxUSE_ALL_FEATURES
8528 if test -z "$defaultval"; then
8529 if test x
"$enablestring" = xdisable
; then
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8537 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8538 # Check whether --enable-fs_inet was given.
8539 if test "${enable_fs_inet+set}" = set; then :
8540 enableval
=$enable_fs_inet;
8541 if test "$enableval" = yes; then
8542 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
8544 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
8549 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8554 eval "$wx_cv_use_fs_inet"
8556 if test x"$enablestring" = xdisable; then
8557 if test $wxUSE_FS_INET = no; then
8563 result=$wxUSE_FS_INET
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8567 $as_echo "$result" >&6; }
8571 defaultval=$wxUSE_ALL_FEATURES
8572 if test -z "$defaultval"; then
8573 if test x"$enablestring" = xdisable; then
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8581 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8582 # Check whether --enable-fs_zip was given.
8583 if test "${enable_fs_zip+set}" = set; then :
8584 enableval=$enable_fs_zip;
8585 if test "$enableval" = yes; then
8586 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
8588 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
8593 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8598 eval "$wx_cv_use_fs_zip"
8600 if test x"$enablestring" = xdisable; then
8601 if test $wxUSE_FS_ZIP = no; then
8607 result=$wxUSE_FS_ZIP
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8611 $as_echo "$result" >&6; }
8615 defaultval=$wxUSE_ALL_FEATURES
8616 if test -z "$defaultval"; then
8617 if test x"$enablestring" = xdisable; then
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fswatcher" >&5
8625 $as_echo_n "checking
for --${enablestring:-enable}-fswatcher...
" >&6; }
8626 # Check whether --enable-fswatcher was given.
8627 if test "${enable_fswatcher+set}" = set; then :
8628 enableval=$enable_fswatcher;
8629 if test "$enableval" = yes; then
8630 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8632 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8637 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8642 eval "$wx_cv_use_fswatcher"
8644 if test x
"$enablestring" = xdisable
; then
8645 if test $wxUSE_FSWATCHER = no
; then
8651 result
=$wxUSE_FSWATCHER
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8655 $as_echo "$result" >&6; }
8659 defaultval
=$wxUSE_ALL_FEATURES
8660 if test -z "$defaultval"; then
8661 if test x
"$enablestring" = xdisable
; then
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8669 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8670 # Check whether --enable-geometry was given.
8671 if test "${enable_geometry+set}" = set; then :
8672 enableval
=$enable_geometry;
8673 if test "$enableval" = yes; then
8674 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
8676 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
8681 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8686 eval "$wx_cv_use_geometry"
8688 if test x"$enablestring" = xdisable; then
8689 if test $wxUSE_GEOMETRY = no; then
8695 result=$wxUSE_GEOMETRY
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8699 $as_echo "$result" >&6; }
8703 defaultval=$wxUSE_ALL_FEATURES
8704 if test -z "$defaultval"; then
8705 if test x"$enablestring" = xdisable; then
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8713 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8714 # Check whether --enable-log was given.
8715 if test "${enable_log+set}" = set; then :
8716 enableval=$enable_log;
8717 if test "$enableval" = yes; then
8718 wx_cv_use_log='wxUSE_LOG
=yes'
8720 wx_cv_use_log='wxUSE_LOG
=no
'
8725 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8730 eval "$wx_cv_use_log"
8732 if test x"$enablestring" = xdisable; then
8733 if test $wxUSE_LOG = no; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8743 $as_echo "$result" >&6; }
8747 defaultval=$wxUSE_ALL_FEATURES
8748 if test -z "$defaultval"; then
8749 if test x"$enablestring" = xdisable; then
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-longlong" >&5
8757 $as_echo_n "checking
for --${enablestring:-enable}-longlong...
" >&6; }
8758 # Check whether --enable-longlong was given.
8759 if test "${enable_longlong+set}" = set; then :
8760 enableval=$enable_longlong;
8761 if test "$enableval" = yes; then
8762 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8764 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8769 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8774 eval "$wx_cv_use_longlong"
8776 if test x
"$enablestring" = xdisable
; then
8777 if test $wxUSE_LONGLONG = no
; then
8783 result
=$wxUSE_LONGLONG
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8787 $as_echo "$result" >&6; }
8791 defaultval
=$wxUSE_ALL_FEATURES
8792 if test -z "$defaultval"; then
8793 if test x
"$enablestring" = xdisable
; then
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8801 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8802 # Check whether --enable-mimetype was given.
8803 if test "${enable_mimetype+set}" = set; then :
8804 enableval
=$enable_mimetype;
8805 if test "$enableval" = yes; then
8806 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8808 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8813 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8818 eval "$wx_cv_use_mimetype"
8820 if test x"$enablestring" = xdisable; then
8821 if test $wxUSE_MIMETYPE = no; then
8827 result=$wxUSE_MIMETYPE
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8831 $as_echo "$result" >&6; }
8835 defaultval=$wxUSE_ALL_FEATURES
8836 if test -z "$defaultval"; then
8837 if test x"$enablestring" = xdisable; then
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8845 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8846 # Check whether --enable-printfposparam was given.
8847 if test "${enable_printfposparam+set}" = set; then :
8848 enableval=$enable_printfposparam;
8849 if test "$enableval" = yes; then
8850 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8852 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8857 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8862 eval "$wx_cv_use_printfposparam"
8864 if test x"$enablestring" = xdisable; then
8865 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8871 result=$wxUSE_PRINTF_POS_PARAMS
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8875 $as_echo "$result" >&6; }
8879 defaultval=$wxUSE_ALL_FEATURES
8880 if test -z "$defaultval"; then
8881 if test x"$enablestring" = xdisable; then
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-snglinst" >&5
8889 $as_echo_n "checking
for --${enablestring:-enable}-snglinst...
" >&6; }
8890 # Check whether --enable-snglinst was given.
8891 if test "${enable_snglinst+set}" = set; then :
8892 enableval=$enable_snglinst;
8893 if test "$enableval" = yes; then
8894 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8896 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8901 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8906 eval "$wx_cv_use_snglinst"
8908 if test x
"$enablestring" = xdisable
; then
8909 if test $wxUSE_SNGLINST_CHECKER = no
; then
8915 result
=$wxUSE_SNGLINST_CHECKER
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8919 $as_echo "$result" >&6; }
8923 defaultval
=$wxUSE_ALL_FEATURES
8924 if test -z "$defaultval"; then
8925 if test x
"$enablestring" = xdisable
; then
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8933 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8934 # Check whether --enable-sound was given.
8935 if test "${enable_sound+set}" = set; then :
8936 enableval
=$enable_sound;
8937 if test "$enableval" = yes; then
8938 wx_cv_use_sound
='wxUSE_SOUND=yes'
8940 wx_cv_use_sound
='wxUSE_SOUND=no'
8945 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8950 eval "$wx_cv_use_sound"
8952 if test x"$enablestring" = xdisable; then
8953 if test $wxUSE_SOUND = no; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8963 $as_echo "$result" >&6; }
8967 defaultval=$wxUSE_ALL_FEATURES
8968 if test -z "$defaultval"; then
8969 if test x"$enablestring" = xdisable; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8977 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8978 # Check whether --enable-stdpaths was given.
8979 if test "${enable_stdpaths+set}" = set; then :
8980 enableval=$enable_stdpaths;
8981 if test "$enableval" = yes; then
8982 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
8984 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
8989 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8994 eval "$wx_cv_use_stdpaths"
8996 if test x"$enablestring" = xdisable; then
8997 if test $wxUSE_STDPATHS = no; then
9003 result=$wxUSE_STDPATHS
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9007 $as_echo "$result" >&6; }
9011 defaultval=$wxUSE_ALL_FEATURES
9012 if test -z "$defaultval"; then
9013 if test x"$enablestring" = xdisable; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stopwatch" >&5
9021 $as_echo_n "checking
for --${enablestring:-enable}-stopwatch...
" >&6; }
9022 # Check whether --enable-stopwatch was given.
9023 if test "${enable_stopwatch+set}" = set; then :
9024 enableval=$enable_stopwatch;
9025 if test "$enableval" = yes; then
9026 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9028 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9033 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9038 eval "$wx_cv_use_stopwatch"
9040 if test x
"$enablestring" = xdisable
; then
9041 if test $wxUSE_STOPWATCH = no
; then
9047 result
=$wxUSE_STOPWATCH
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9051 $as_echo "$result" >&6; }
9055 defaultval
=$wxUSE_ALL_FEATURES
9056 if test -z "$defaultval"; then
9057 if test x
"$enablestring" = xdisable
; then
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9065 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9066 # Check whether --enable-streams was given.
9067 if test "${enable_streams+set}" = set; then :
9068 enableval
=$enable_streams;
9069 if test "$enableval" = yes; then
9070 wx_cv_use_streams
='wxUSE_STREAMS=yes'
9072 wx_cv_use_streams
='wxUSE_STREAMS=no'
9077 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9082 eval "$wx_cv_use_streams"
9084 if test x"$enablestring" = xdisable; then
9085 if test $wxUSE_STREAMS = no; then
9091 result=$wxUSE_STREAMS
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9095 $as_echo "$result" >&6; }
9099 defaultval=$wxUSE_ALL_FEATURES
9100 if test -z "$defaultval"; then
9101 if test x"$enablestring" = xdisable; then
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9109 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9110 # Check whether --enable-sysoptions was given.
9111 if test "${enable_sysoptions+set}" = set; then :
9112 enableval=$enable_sysoptions;
9113 if test "$enableval" = yes; then
9114 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
9116 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
9121 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9126 eval "$wx_cv_use_sysoptions"
9128 if test x"$enablestring" = xdisable; then
9129 if test $wxUSE_SYSTEM_OPTIONS = no; then
9135 result=$wxUSE_SYSTEM_OPTIONS
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9139 $as_echo "$result" >&6; }
9143 defaultval=$wxUSE_ALL_FEATURES
9144 if test -z "$defaultval"; then
9145 if test x"$enablestring" = xdisable; then
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tarstream" >&5
9153 $as_echo_n "checking
for --${enablestring:-enable}-tarstream...
" >&6; }
9154 # Check whether --enable-tarstream was given.
9155 if test "${enable_tarstream+set}" = set; then :
9156 enableval=$enable_tarstream;
9157 if test "$enableval" = yes; then
9158 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9160 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9165 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9170 eval "$wx_cv_use_tarstream"
9172 if test x
"$enablestring" = xdisable
; then
9173 if test $wxUSE_TARSTREAM = no
; then
9179 result
=$wxUSE_TARSTREAM
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9183 $as_echo "$result" >&6; }
9187 defaultval
=$wxUSE_ALL_FEATURES
9188 if test -z "$defaultval"; then
9189 if test x
"$enablestring" = xdisable
; then
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9197 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9198 # Check whether --enable-textbuf was given.
9199 if test "${enable_textbuf+set}" = set; then :
9200 enableval
=$enable_textbuf;
9201 if test "$enableval" = yes; then
9202 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
9204 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
9209 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9214 eval "$wx_cv_use_textbuf"
9216 if test x"$enablestring" = xdisable; then
9217 if test $wxUSE_TEXTBUFFER = no; then
9223 result=$wxUSE_TEXTBUFFER
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9227 $as_echo "$result" >&6; }
9231 defaultval=$wxUSE_ALL_FEATURES
9232 if test -z "$defaultval"; then
9233 if test x"$enablestring" = xdisable; then
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9241 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9242 # Check whether --enable-textfile was given.
9243 if test "${enable_textfile+set}" = set; then :
9244 enableval=$enable_textfile;
9245 if test "$enableval" = yes; then
9246 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
9248 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
9253 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9258 eval "$wx_cv_use_textfile"
9260 if test x"$enablestring" = xdisable; then
9261 if test $wxUSE_TEXTFILE = no; then
9267 result=$wxUSE_TEXTFILE
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9271 $as_echo "$result" >&6; }
9275 defaultval=$wxUSE_ALL_FEATURES
9276 if test -z "$defaultval"; then
9277 if test x"$enablestring" = xdisable; then
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-timer" >&5
9285 $as_echo_n "checking
for --${enablestring:-enable}-timer...
" >&6; }
9286 # Check whether --enable-timer was given.
9287 if test "${enable_timer+set}" = set; then :
9288 enableval=$enable_timer;
9289 if test "$enableval" = yes; then
9290 wx_cv_use_timer='wxUSE_TIMER=yes'
9292 wx_cv_use_timer='wxUSE_TIMER=no'
9297 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9302 eval "$wx_cv_use_timer"
9304 if test x
"$enablestring" = xdisable
; then
9305 if test $wxUSE_TIMER = no
; then
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9315 $as_echo "$result" >&6; }
9319 defaultval
=$wxUSE_ALL_FEATURES
9320 if test -z "$defaultval"; then
9321 if test x
"$enablestring" = xdisable
; then
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9329 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9330 # Check whether --enable-variant was given.
9331 if test "${enable_variant+set}" = set; then :
9332 enableval
=$enable_variant;
9333 if test "$enableval" = yes; then
9334 wx_cv_use_variant
='wxUSE_VARIANT=yes'
9336 wx_cv_use_variant
='wxUSE_VARIANT=no'
9341 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9346 eval "$wx_cv_use_variant"
9348 if test x"$enablestring" = xdisable; then
9349 if test $wxUSE_VARIANT = no; then
9355 result=$wxUSE_VARIANT
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9359 $as_echo "$result" >&6; }
9363 defaultval=$wxUSE_ALL_FEATURES
9364 if test -z "$defaultval"; then
9365 if test x"$enablestring" = xdisable; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9373 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9374 # Check whether --enable-zipstream was given.
9375 if test "${enable_zipstream+set}" = set; then :
9376 enableval=$enable_zipstream;
9377 if test "$enableval" = yes; then
9378 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
9380 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
9385 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9390 eval "$wx_cv_use_zipstream"
9392 if test x"$enablestring" = xdisable; then
9393 if test $wxUSE_ZIPSTREAM = no; then
9399 result=$wxUSE_ZIPSTREAM
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9403 $as_echo "$result" >&6; }
9408 defaultval=$wxUSE_ALL_FEATURES
9409 if test -z "$defaultval"; then
9410 if test x"$enablestring" = xdisable; then
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-url" >&5
9418 $as_echo_n "checking
for --${enablestring:-enable}-url...
" >&6; }
9419 # Check whether --enable-url was given.
9420 if test "${enable_url+set}" = set; then :
9421 enableval=$enable_url;
9422 if test "$enableval" = yes; then
9423 wx_cv_use_url='wxUSE_URL=yes'
9425 wx_cv_use_url='wxUSE_URL=no'
9430 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9435 eval "$wx_cv_use_url"
9437 if test x
"$enablestring" = xdisable
; then
9438 if test $wxUSE_URL = no
; then
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9448 $as_echo "$result" >&6; }
9452 defaultval
=$wxUSE_ALL_FEATURES
9453 if test -z "$defaultval"; then
9454 if test x
"$enablestring" = xdisable
; then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9462 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9463 # Check whether --enable-protocol was given.
9464 if test "${enable_protocol+set}" = set; then :
9465 enableval
=$enable_protocol;
9466 if test "$enableval" = yes; then
9467 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
9469 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
9474 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9479 eval "$wx_cv_use_protocol"
9481 if test x"$enablestring" = xdisable; then
9482 if test $wxUSE_PROTOCOL = no; then
9488 result=$wxUSE_PROTOCOL
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9492 $as_echo "$result" >&6; }
9496 defaultval=$wxUSE_ALL_FEATURES
9497 if test -z "$defaultval"; then
9498 if test x"$enablestring" = xdisable; then
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9506 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9507 # Check whether --enable-protocol_http was given.
9508 if test "${enable_protocol_http+set}" = set; then :
9509 enableval=$enable_protocol_http;
9510 if test "$enableval" = yes; then
9511 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
9513 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
9518 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9523 eval "$wx_cv_use_protocol_http"
9525 if test x"$enablestring" = xdisable; then
9526 if test $wxUSE_PROTOCOL_HTTP = no; then
9532 result=$wxUSE_PROTOCOL_HTTP
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9536 $as_echo "$result" >&6; }
9540 defaultval=$wxUSE_ALL_FEATURES
9541 if test -z "$defaultval"; then
9542 if test x"$enablestring" = xdisable; then
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_ftp" >&5
9550 $as_echo_n "checking
for --${enablestring:-enable}-protocol_ftp...
" >&6; }
9551 # Check whether --enable-protocol_ftp was given.
9552 if test "${enable_protocol_ftp+set}" = set; then :
9553 enableval=$enable_protocol_ftp;
9554 if test "$enableval" = yes; then
9555 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9557 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9562 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9567 eval "$wx_cv_use_protocol_ftp"
9569 if test x
"$enablestring" = xdisable
; then
9570 if test $wxUSE_PROTOCOL_FTP = no
; then
9576 result
=$wxUSE_PROTOCOL_FTP
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9580 $as_echo "$result" >&6; }
9584 defaultval
=$wxUSE_ALL_FEATURES
9585 if test -z "$defaultval"; then
9586 if test x
"$enablestring" = xdisable
; then
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9594 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9595 # Check whether --enable-protocol_file was given.
9596 if test "${enable_protocol_file+set}" = set; then :
9597 enableval
=$enable_protocol_file;
9598 if test "$enableval" = yes; then
9599 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
9601 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
9606 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9611 eval "$wx_cv_use_protocol_file"
9613 if test x"$enablestring" = xdisable; then
9614 if test $wxUSE_PROTOCOL_FILE = no; then
9620 result=$wxUSE_PROTOCOL_FILE
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9624 $as_echo "$result" >&6; }
9629 defaultval=$wxUSE_ALL_FEATURES
9630 if test -z "$defaultval"; then
9631 if test x"$enablestring" = xdisable; then
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9639 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9640 # Check whether --enable-threads was given.
9641 if test "${enable_threads+set}" = set; then :
9642 enableval=$enable_threads;
9643 if test "$enableval" = yes; then
9644 wx_cv_use_threads='wxUSE_THREADS
=yes'
9646 wx_cv_use_threads='wxUSE_THREADS
=no
'
9651 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9656 eval "$wx_cv_use_threads"
9658 if test x"$enablestring" = xdisable; then
9659 if test $wxUSE_THREADS = no; then
9665 result=$wxUSE_THREADS
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9669 $as_echo "$result" >&6; }
9675 if test -z "$defaultval"; then
9676 if test x"$enablestring" = xdisable; then
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-iniconf" >&5
9684 $as_echo_n "checking
for --${enablestring:-enable}-iniconf...
" >&6; }
9685 # Check whether --enable-iniconf was given.
9686 if test "${enable_iniconf+set}" = set; then :
9687 enableval=$enable_iniconf;
9688 if test "$enableval" = yes; then
9689 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9691 wx_cv_use_iniconf='wxUSE_INICONF=no'
9696 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9701 eval "$wx_cv_use_iniconf"
9703 if test x
"$enablestring" = xdisable
; then
9704 if test $wxUSE_INICONF = no
; then
9710 result
=$wxUSE_INICONF
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9714 $as_echo "$result" >&6; }
9718 defaultval
=$wxUSE_ALL_FEATURES
9719 if test -z "$defaultval"; then
9720 if test x
"$enablestring" = xdisable
; then
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9728 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9729 # Check whether --enable-regkey was given.
9730 if test "${enable_regkey+set}" = set; then :
9731 enableval
=$enable_regkey;
9732 if test "$enableval" = yes; then
9733 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
9735 wx_cv_use_regkey
='wxUSE_REGKEY=no'
9740 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9745 eval "$wx_cv_use_regkey"
9747 if test x"$enablestring" = xdisable; then
9748 if test $wxUSE_REGKEY = no; then
9754 result=$wxUSE_REGKEY
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9758 $as_echo "$result" >&6; }
9761 if test "$wxUSE_GUI" = "yes"; then
9766 defaultval=$wxUSE_ALL_FEATURES
9767 if test -z "$defaultval"; then
9768 if test x"$enablestring" = xdisable; then
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9776 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9777 # Check whether --enable-docview was given.
9778 if test "${enable_docview+set}" = set; then :
9779 enableval=$enable_docview;
9780 if test "$enableval" = yes; then
9781 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
9783 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
9788 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9793 eval "$wx_cv_use_docview"
9795 if test x"$enablestring" = xdisable; then
9796 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9802 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9806 $as_echo "$result" >&6; }
9810 defaultval=$wxUSE_ALL_FEATURES
9811 if test -z "$defaultval"; then
9812 if test x"$enablestring" = xdisable; then
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-help" >&5
9820 $as_echo_n "checking
for --${enablestring:-enable}-help...
" >&6; }
9821 # Check whether --enable-help was given.
9822 if test "${enable_help+set}" = set; then :
9823 enableval=$enable_help;
9824 if test "$enableval" = yes; then
9825 wx_cv_use_help='wxUSE_HELP=yes'
9827 wx_cv_use_help='wxUSE_HELP=no'
9832 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9837 eval "$wx_cv_use_help"
9839 if test x
"$enablestring" = xdisable
; then
9840 if test $wxUSE_HELP = no
; then
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9850 $as_echo "$result" >&6; }
9854 defaultval
=$wxUSE_ALL_FEATURES
9855 if test -z "$defaultval"; then
9856 if test x
"$enablestring" = xdisable
; then
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9864 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9865 # Check whether --enable-mshtmlhelp was given.
9866 if test "${enable_mshtmlhelp+set}" = set; then :
9867 enableval
=$enable_mshtmlhelp;
9868 if test "$enableval" = yes; then
9869 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
9871 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
9876 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9881 eval "$wx_cv_use_mshtmlhelp"
9883 if test x"$enablestring" = xdisable; then
9884 if test $wxUSE_MS_HTML_HELP = no; then
9890 result=$wxUSE_MS_HTML_HELP
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9894 $as_echo "$result" >&6; }
9898 defaultval=$wxUSE_ALL_FEATURES
9899 if test -z "$defaultval"; then
9900 if test x"$enablestring" = xdisable; then
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9908 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9909 # Check whether --enable-html was given.
9910 if test "${enable_html+set}" = set; then :
9911 enableval=$enable_html;
9912 if test "$enableval" = yes; then
9913 wx_cv_use_html='wxUSE_HTML
=yes'
9915 wx_cv_use_html='wxUSE_HTML
=no
'
9920 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9925 eval "$wx_cv_use_html"
9927 if test x"$enablestring" = xdisable; then
9928 if test $wxUSE_HTML = no; then
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9938 $as_echo "$result" >&6; }
9942 defaultval=$wxUSE_ALL_FEATURES
9943 if test -z "$defaultval"; then
9944 if test x"$enablestring" = xdisable; then
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-htmlhelp" >&5
9952 $as_echo_n "checking
for --${enablestring:-enable}-htmlhelp...
" >&6; }
9953 # Check whether --enable-htmlhelp was given.
9954 if test "${enable_htmlhelp+set}" = set; then :
9955 enableval=$enable_htmlhelp;
9956 if test "$enableval" = yes; then
9957 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9959 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9964 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9969 eval "$wx_cv_use_htmlhelp"
9971 if test x
"$enablestring" = xdisable
; then
9972 if test $wxUSE_WXHTML_HELP = no
; then
9978 result
=$wxUSE_WXHTML_HELP
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9982 $as_echo "$result" >&6; }
9986 defaultval
=$wxUSE_ALL_FEATURES
9987 if test -z "$defaultval"; then
9988 if test x
"$enablestring" = xdisable
; then
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
9996 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
9997 # Check whether --enable-xrc was given.
9998 if test "${enable_xrc+set}" = set; then :
9999 enableval
=$enable_xrc;
10000 if test "$enableval" = yes; then
10001 wx_cv_use_xrc
='wxUSE_XRC=yes'
10003 wx_cv_use_xrc
='wxUSE_XRC=no'
10008 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10013 eval "$wx_cv_use_xrc"
10015 if test x"$enablestring" = xdisable; then
10016 if test $wxUSE_XRC = no; then
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10026 $as_echo "$result" >&6; }
10030 defaultval=$wxUSE_ALL_FEATURES
10031 if test -z "$defaultval"; then
10032 if test x"$enablestring" = xdisable; then
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10040 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10041 # Check whether --enable-aui was given.
10042 if test "${enable_aui+set}" = set; then :
10043 enableval=$enable_aui;
10044 if test "$enableval" = yes; then
10045 wx_cv_use_aui='wxUSE_AUI
=yes'
10047 wx_cv_use_aui='wxUSE_AUI
=no
'
10052 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10057 eval "$wx_cv_use_aui"
10059 if test x"$enablestring" = xdisable; then
10060 if test $wxUSE_AUI = no; then
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10070 $as_echo "$result" >&6; }
10074 defaultval=$wxUSE_ALL_FEATURES
10075 if test -z "$defaultval"; then
10076 if test x"$enablestring" = xdisable; then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-propgrid" >&5
10084 $as_echo_n "checking
for --${enablestring:-enable}-propgrid...
" >&6; }
10085 # Check whether --enable-propgrid was given.
10086 if test "${enable_propgrid+set}" = set; then :
10087 enableval=$enable_propgrid;
10088 if test "$enableval" = yes; then
10089 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10091 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10096 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10101 eval "$wx_cv_use_propgrid"
10103 if test x
"$enablestring" = xdisable
; then
10104 if test $wxUSE_PROPGRID = no
; then
10110 result
=$wxUSE_PROPGRID
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10114 $as_echo "$result" >&6; }
10118 defaultval
=$wxUSE_ALL_FEATURES
10119 if test -z "$defaultval"; then
10120 if test x
"$enablestring" = xdisable
; then
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10128 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10129 # Check whether --enable-ribbon was given.
10130 if test "${enable_ribbon+set}" = set; then :
10131 enableval
=$enable_ribbon;
10132 if test "$enableval" = yes; then
10133 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
10135 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
10140 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10145 eval "$wx_cv_use_ribbon"
10147 if test x"$enablestring" = xdisable; then
10148 if test $wxUSE_RIBBON = no; then
10154 result=$wxUSE_RIBBON
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10158 $as_echo "$result" >&6; }
10162 defaultval=$wxUSE_ALL_FEATURES
10163 if test -z "$defaultval"; then
10164 if test x"$enablestring" = xdisable; then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10172 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10173 # Check whether --enable-stc was given.
10174 if test "${enable_stc+set}" = set; then :
10175 enableval=$enable_stc;
10176 if test "$enableval" = yes; then
10177 wx_cv_use_stc='wxUSE_STC
=yes'
10179 wx_cv_use_stc='wxUSE_STC
=no
'
10184 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
10189 eval "$wx_cv_use_stc"
10191 if test x"$enablestring" = xdisable; then
10192 if test $wxUSE_STC = no; then
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10202 $as_echo "$result" >&6; }
10206 defaultval=$wxUSE_ALL_FEATURES
10207 if test -z "$defaultval"; then
10208 if test x"$enablestring" = xdisable; then
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-constraints" >&5
10216 $as_echo_n "checking
for --${enablestring:-enable}-constraints...
" >&6; }
10217 # Check whether --enable-constraints was given.
10218 if test "${enable_constraints+set}" = set; then :
10219 enableval=$enable_constraints;
10220 if test "$enableval" = yes; then
10221 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10223 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10228 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10233 eval "$wx_cv_use_constraints"
10235 if test x
"$enablestring" = xdisable
; then
10236 if test $wxUSE_CONSTRAINTS = no
; then
10242 result
=$wxUSE_CONSTRAINTS
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10246 $as_echo "$result" >&6; }
10250 defaultval
=$wxUSE_ALL_FEATURES
10251 if test -z "$defaultval"; then
10252 if test x
"$enablestring" = xdisable
; then
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10260 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10261 # Check whether --enable-loggui was given.
10262 if test "${enable_loggui+set}" = set; then :
10263 enableval
=$enable_loggui;
10264 if test "$enableval" = yes; then
10265 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10267 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10272 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10277 eval "$wx_cv_use_loggui"
10279 if test x"$enablestring" = xdisable; then
10280 if test $wxUSE_LOGGUI = no; then
10286 result=$wxUSE_LOGGUI
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10290 $as_echo "$result" >&6; }
10294 defaultval=$wxUSE_ALL_FEATURES
10295 if test -z "$defaultval"; then
10296 if test x"$enablestring" = xdisable; then
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10304 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10305 # Check whether --enable-logwin was given.
10306 if test "${enable_logwin+set}" = set; then :
10307 enableval=$enable_logwin;
10308 if test "$enableval" = yes; then
10309 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10311 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10316 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10321 eval "$wx_cv_use_logwin"
10323 if test x"$enablestring" = xdisable; then
10324 if test $wxUSE_LOGWINDOW = no; then
10330 result=$wxUSE_LOGWINDOW
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10334 $as_echo "$result" >&6; }
10338 defaultval=$wxUSE_ALL_FEATURES
10339 if test -z "$defaultval"; then
10340 if test x"$enablestring" = xdisable; then
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-logdialog" >&5
10348 $as_echo_n "checking
for --${enablestring:-enable}-logdialog...
" >&6; }
10349 # Check whether --enable-logdialog was given.
10350 if test "${enable_logdialog+set}" = set; then :
10351 enableval=$enable_logdialog;
10352 if test "$enableval" = yes; then
10353 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10355 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10360 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10365 eval "$wx_cv_use_logdialog"
10367 if test x
"$enablestring" = xdisable
; then
10368 if test $wxUSE_LOGDIALOG = no
; then
10374 result
=$wxUSE_LOGDIALOG
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10378 $as_echo "$result" >&6; }
10382 defaultval
=$wxUSE_ALL_FEATURES
10383 if test -z "$defaultval"; then
10384 if test x
"$enablestring" = xdisable
; then
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10392 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10393 # Check whether --enable-mdi was given.
10394 if test "${enable_mdi+set}" = set; then :
10395 enableval
=$enable_mdi;
10396 if test "$enableval" = yes; then
10397 wx_cv_use_mdi
='wxUSE_MDI=yes'
10399 wx_cv_use_mdi
='wxUSE_MDI=no'
10404 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10409 eval "$wx_cv_use_mdi"
10411 if test x"$enablestring" = xdisable; then
10412 if test $wxUSE_MDI = no; then
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10422 $as_echo "$result" >&6; }
10426 defaultval=$wxUSE_ALL_FEATURES
10427 if test -z "$defaultval"; then
10428 if test x"$enablestring" = xdisable; then
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10436 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10437 # Check whether --enable-mdidoc was given.
10438 if test "${enable_mdidoc+set}" = set; then :
10439 enableval=$enable_mdidoc;
10440 if test "$enableval" = yes; then
10441 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
10443 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
10448 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10453 eval "$wx_cv_use_mdidoc"
10455 if test x"$enablestring" = xdisable; then
10456 if test $wxUSE_MDI_ARCHITECTURE = no; then
10462 result=$wxUSE_MDI_ARCHITECTURE
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10466 $as_echo "$result" >&6; }
10470 defaultval=$wxUSE_ALL_FEATURES
10471 if test -z "$defaultval"; then
10472 if test x"$enablestring" = xdisable; then
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mediactrl" >&5
10480 $as_echo_n "checking
for --${enablestring:-enable}-mediactrl...
" >&6; }
10481 # Check whether --enable-mediactrl was given.
10482 if test "${enable_mediactrl+set}" = set; then :
10483 enableval=$enable_mediactrl;
10484 if test "$enableval" = yes; then
10485 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10487 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10492 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10497 eval "$wx_cv_use_mediactrl"
10499 if test x
"$enablestring" = xdisable
; then
10500 if test $wxUSE_MEDIACTRL = no
; then
10506 result
=$wxUSE_MEDIACTRL
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10510 $as_echo "$result" >&6; }
10514 defaultval
=$wxUSE_ALL_FEATURES
10515 if test -z "$defaultval"; then
10516 if test x
"$enablestring" = xdisable
; then
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10524 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10525 # Check whether --enable-gstreamer8 was given.
10526 if test "${enable_gstreamer8+set}" = set; then :
10527 enableval
=$enable_gstreamer8;
10528 if test "$enableval" = yes; then
10529 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
10531 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
10536 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10541 eval "$wx_cv_use_gstreamer8"
10543 if test x"$enablestring" = xdisable; then
10544 if test $wxUSE_GSTREAMER8 = no; then
10550 result=$wxUSE_GSTREAMER8
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10554 $as_echo "$result" >&6; }
10558 defaultval=$wxUSE_ALL_FEATURES
10559 if test -z "$defaultval"; then
10560 if test x"$enablestring" = xdisable; then
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10568 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10569 # Check whether --enable-richtext was given.
10570 if test "${enable_richtext+set}" = set; then :
10571 enableval=$enable_richtext;
10572 if test "$enableval" = yes; then
10573 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10575 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10580 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10585 eval "$wx_cv_use_richtext"
10587 if test x"$enablestring" = xdisable; then
10588 if test $wxUSE_RICHTEXT = no; then
10594 result=$wxUSE_RICHTEXT
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10598 $as_echo "$result" >&6; }
10602 defaultval=$wxUSE_ALL_FEATURES
10603 if test -z "$defaultval"; then
10604 if test x"$enablestring" = xdisable; then
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-postscript" >&5
10612 $as_echo_n "checking
for --${enablestring:-enable}-postscript...
" >&6; }
10613 # Check whether --enable-postscript was given.
10614 if test "${enable_postscript+set}" = set; then :
10615 enableval=$enable_postscript;
10616 if test "$enableval" = yes; then
10617 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10619 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10624 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10629 eval "$wx_cv_use_postscript"
10631 if test x
"$enablestring" = xdisable
; then
10632 if test $wxUSE_POSTSCRIPT = no
; then
10638 result
=$wxUSE_POSTSCRIPT
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10642 $as_echo "$result" >&6; }
10646 defaultval
=$wxUSE_ALL_FEATURES
10647 if test -z "$defaultval"; then
10648 if test x
"$enablestring" = xdisable
; then
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10656 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10657 # Check whether --enable-printarch was given.
10658 if test "${enable_printarch+set}" = set; then :
10659 enableval
=$enable_printarch;
10660 if test "$enableval" = yes; then
10661 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
10663 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
10668 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10673 eval "$wx_cv_use_printarch"
10675 if test x"$enablestring" = xdisable; then
10676 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10682 result=$wxUSE_PRINTING_ARCHITECTURE
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10686 $as_echo "$result" >&6; }
10690 defaultval=$wxUSE_ALL_FEATURES
10691 if test -z "$defaultval"; then
10692 if test x"$enablestring" = xdisable; then
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10700 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10701 # Check whether --enable-svg was given.
10702 if test "${enable_svg+set}" = set; then :
10703 enableval=$enable_svg;
10704 if test "$enableval" = yes; then
10705 wx_cv_use_svg='wxUSE_SVG
=yes'
10707 wx_cv_use_svg='wxUSE_SVG
=no
'
10712 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10717 eval "$wx_cv_use_svg"
10719 if test x"$enablestring" = xdisable; then
10720 if test $wxUSE_SVG = no; then
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10730 $as_echo "$result" >&6; }
10734 defaultval=$wxUSE_ALL_FEATURES
10735 if test -z "$defaultval"; then
10736 if test x"$enablestring" = xdisable; then
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webkit" >&5
10744 $as_echo_n "checking
for --${enablestring:-enable}-webkit...
" >&6; }
10745 # Check whether --enable-webkit was given.
10746 if test "${enable_webkit+set}" = set; then :
10747 enableval=$enable_webkit;
10748 if test "$enableval" = yes; then
10749 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10751 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10756 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10761 eval "$wx_cv_use_webkit"
10763 if test x
"$enablestring" = xdisable
; then
10764 if test $wxUSE_WEBKIT = no
; then
10770 result
=$wxUSE_WEBKIT
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10774 $as_echo "$result" >&6; }
10778 defaultval
=$wxUSE_ALL_FEATURES
10779 if test -z "$defaultval"; then
10780 if test x
"$enablestring" = xdisable
; then
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10788 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10789 # Check whether --enable-webview was given.
10790 if test "${enable_webview+set}" = set; then :
10791 enableval
=$enable_webview;
10792 if test "$enableval" = yes; then
10793 wx_cv_use_webview
='wxUSE_WEBVIEW=yes'
10795 wx_cv_use_webview
='wxUSE_WEBVIEW=no'
10800 wx_cv_use_webview
='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10805 eval "$wx_cv_use_webview"
10807 if test x"$enablestring" = xdisable; then
10808 if test $wxUSE_WEBVIEW = no; then
10814 result=$wxUSE_WEBVIEW
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10818 $as_echo "$result" >&6; }
10821 if test "$wxUSE_MAC" != 1; then
10824 defaultval=$wxUSE_ALL_FEATURES
10825 if test -z "$defaultval"; then
10826 if test x"$enablestring" = xdisable; then
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10834 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10835 # Check whether --enable-graphics_ctx was given.
10836 if test "${enable_graphics_ctx+set}" = set; then :
10837 enableval=$enable_graphics_ctx;
10838 if test "$enableval" = yes; then
10839 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
10841 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
10846 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10851 eval "$wx_cv_use_graphics_ctx"
10853 if test x"$enablestring" = xdisable; then
10854 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10860 result=$wxUSE_GRAPHICS_CONTEXT
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10864 $as_echo "$result" >&6; }
10871 defaultval=$wxUSE_ALL_FEATURES
10872 if test -z "$defaultval"; then
10873 if test x"$enablestring" = xdisable; then
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-clipboard" >&5
10881 $as_echo_n "checking
for --${enablestring:-enable}-clipboard...
" >&6; }
10882 # Check whether --enable-clipboard was given.
10883 if test "${enable_clipboard+set}" = set; then :
10884 enableval=$enable_clipboard;
10885 if test "$enableval" = yes; then
10886 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10888 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10893 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10898 eval "$wx_cv_use_clipboard"
10900 if test x
"$enablestring" = xdisable
; then
10901 if test $wxUSE_CLIPBOARD = no
; then
10907 result
=$wxUSE_CLIPBOARD
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10911 $as_echo "$result" >&6; }
10915 defaultval
=$wxUSE_ALL_FEATURES
10916 if test -z "$defaultval"; then
10917 if test x
"$enablestring" = xdisable
; then
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10925 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10926 # Check whether --enable-dnd was given.
10927 if test "${enable_dnd+set}" = set; then :
10928 enableval
=$enable_dnd;
10929 if test "$enableval" = yes; then
10930 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
10932 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
10937 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10942 eval "$wx_cv_use_dnd"
10944 if test x"$enablestring" = xdisable; then
10945 if test $wxUSE_DRAG_AND_DROP = no; then
10951 result=$wxUSE_DRAG_AND_DROP
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10955 $as_echo "$result" >&6; }
10959 DEFAULT_wxUSE_CONTROLS=none
10961 enablestring=disable
10963 if test -z "$defaultval"; then
10964 if test x"$enablestring" = xdisable; then
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10972 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10973 # Check whether --enable-controls was given.
10974 if test "${enable_controls+set}" = set; then :
10975 enableval=$enable_controls;
10976 if test "$enableval" = yes; then
10977 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
10979 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
10984 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10989 eval "$wx_cv_use_controls"
10991 if test x"$enablestring" = xdisable; then
10992 if test $wxUSE_CONTROLS = no; then
10998 result=$wxUSE_CONTROLS
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11002 $as_echo "$result" >&6; }
11005 if test "$wxUSE_CONTROLS" = "no
"; then
11006 DEFAULT_wxUSE_ACCEL=no
11007 DEFAULT_wxUSE_ANIMATIONCTRL=no
11008 DEFAULT_wxUSE_BANNERWINDOW=no
11009 DEFAULT_wxUSE_BMPBUTTON=no
11010 DEFAULT_wxUSE_BUTTON=no
11011 DEFAULT_wxUSE_CALCTRL=no
11012 DEFAULT_wxUSE_CARET=no
11013 DEFAULT_wxUSE_CHECKBOX=no
11014 DEFAULT_wxUSE_CHECKLISTBOX=no
11015 DEFAULT_wxUSE_CHOICE=no
11016 DEFAULT_wxUSE_CHOICEBOOK=no
11017 DEFAULT_wxUSE_COLLPANE=no
11018 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11019 DEFAULT_wxUSE_COMBOBOX=no
11020 DEFAULT_wxUSE_COMBOBOX=no
11021 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11022 DEFAULT_wxUSE_DATAVIEWCTRL=no
11023 DEFAULT_wxUSE_DATEPICKCTRL=no
11024 DEFAULT_wxUSE_DETECT_SM=no
11025 DEFAULT_wxUSE_DIRPICKERCTRL=no
11026 DEFAULT_wxUSE_DISPLAY=no
11027 DEFAULT_wxUSE_FILECTRL=no
11028 DEFAULT_wxUSE_FILEPICKERCTRL=no
11029 DEFAULT_wxUSE_FONTPICKERCTRL=no
11030 DEFAULT_wxUSE_GAUGE=no
11031 DEFAULT_wxUSE_GRID=no
11032 DEFAULT_wxUSE_HEADERCTRL=no
11033 DEFAULT_wxUSE_HYPERLINKCTRL=no
11034 DEFAULT_wxUSE_IMAGLIST=no
11035 DEFAULT_wxUSE_LISTBOOK=no
11036 DEFAULT_wxUSE_LISTBOX=no
11037 DEFAULT_wxUSE_LISTCTRL=no
11038 DEFAULT_wxUSE_MARKUP=no
11039 DEFAULT_wxUSE_NOTEBOOK=no
11040 DEFAULT_wxUSE_POPUPWIN=no
11041 DEFAULT_wxUSE_RADIOBOX=no
11042 DEFAULT_wxUSE_RADIOBTN=no
11043 DEFAULT_wxUSE_RICHMSGDLG=no
11044 DEFAULT_wxUSE_RICHTOOLTIP=no
11045 DEFAULT_wxUSE_REARRANGECTRL=no
11046 DEFAULT_wxUSE_SASH=no
11047 DEFAULT_wxUSE_SCROLLBAR=no
11048 DEFAULT_wxUSE_SEARCHCTRL=no
11049 DEFAULT_wxUSE_SLIDER=no
11050 DEFAULT_wxUSE_SPINBTN=no
11051 DEFAULT_wxUSE_SPINCTRL=no
11052 DEFAULT_wxUSE_SPLITTER=no
11053 DEFAULT_wxUSE_STATBMP=no
11054 DEFAULT_wxUSE_STATBOX=no
11055 DEFAULT_wxUSE_STATLINE=no
11056 DEFAULT_wxUSE_STATUSBAR=no
11057 DEFAULT_wxUSE_TIMEPICKCTRL=no
11058 DEFAULT_wxUSE_TIPWINDOW=no
11059 DEFAULT_wxUSE_TOGGLEBTN=no
11060 DEFAULT_wxUSE_TOOLBAR=no
11061 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11062 DEFAULT_wxUSE_TOOLBOOK=no
11063 DEFAULT_wxUSE_TOOLTIPS=no
11064 DEFAULT_wxUSE_TREEBOOK=no
11065 DEFAULT_wxUSE_TREECTRL=no
11066 DEFAULT_wxUSE_TREELISTCTRL=no
11071 defaultval=$wxUSE_ALL_FEATURES
11072 if test -z "$defaultval"; then
11073 if test x"$enablestring" = xdisable; then
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-markup" >&5
11081 $as_echo_n "checking
for --${enablestring:-enable}-markup...
" >&6; }
11082 # Check whether --enable-markup was given.
11083 if test "${enable_markup+set}" = set; then :
11084 enableval=$enable_markup;
11085 if test "$enableval" = yes; then
11086 wx_cv_use_markup='wxUSE_MARKUP=yes'
11088 wx_cv_use_markup='wxUSE_MARKUP=no'
11093 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11098 eval "$wx_cv_use_markup"
11100 if test x
"$enablestring" = xdisable
; then
11101 if test $wxUSE_MARKUP = no
; then
11107 result
=$wxUSE_MARKUP
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11111 $as_echo "$result" >&6; }
11116 defaultval
=$wxUSE_ALL_FEATURES
11117 if test -z "$defaultval"; then
11118 if test x
"$enablestring" = xdisable
; then
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11126 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11127 # Check whether --enable-accel was given.
11128 if test "${enable_accel+set}" = set; then :
11129 enableval
=$enable_accel;
11130 if test "$enableval" = yes; then
11131 wx_cv_use_accel
='wxUSE_ACCEL=yes'
11133 wx_cv_use_accel
='wxUSE_ACCEL=no'
11138 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11143 eval "$wx_cv_use_accel"
11145 if test x"$enablestring" = xdisable; then
11146 if test $wxUSE_ACCEL = no; then
11152 result=$wxUSE_ACCEL
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11156 $as_echo "$result" >&6; }
11160 defaultval=$wxUSE_ALL_FEATURES
11161 if test -z "$defaultval"; then
11162 if test x"$enablestring" = xdisable; then
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11170 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11171 # Check whether --enable-animatectrl was given.
11172 if test "${enable_animatectrl+set}" = set; then :
11173 enableval=$enable_animatectrl;
11174 if test "$enableval" = yes; then
11175 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11177 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11182 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11187 eval "$wx_cv_use_animatectrl"
11189 if test x"$enablestring" = xdisable; then
11190 if test $wxUSE_ANIMATIONCTRL = no; then
11196 result=$wxUSE_ANIMATIONCTRL
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11200 $as_echo "$result" >&6; }
11204 defaultval=$wxUSE_ALL_FEATURES
11205 if test -z "$defaultval"; then
11206 if test x"$enablestring" = xdisable; then
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bannerwindow" >&5
11214 $as_echo_n "checking
for --${enablestring:-enable}-bannerwindow...
" >&6; }
11215 # Check whether --enable-bannerwindow was given.
11216 if test "${enable_bannerwindow+set}" = set; then :
11217 enableval=$enable_bannerwindow;
11218 if test "$enableval" = yes; then
11219 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11221 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11226 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11231 eval "$wx_cv_use_bannerwindow"
11233 if test x
"$enablestring" = xdisable
; then
11234 if test $wxUSE_BANNERWINDOW = no
; then
11240 result
=$wxUSE_BANNERWINDOW
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11244 $as_echo "$result" >&6; }
11248 defaultval
=$wxUSE_ALL_FEATURES
11249 if test -z "$defaultval"; then
11250 if test x
"$enablestring" = xdisable
; then
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11258 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11259 # Check whether --enable-artstd was given.
11260 if test "${enable_artstd+set}" = set; then :
11261 enableval
=$enable_artstd;
11262 if test "$enableval" = yes; then
11263 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=yes'
11265 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=no'
11270 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11275 eval "$wx_cv_use_artstd"
11277 if test x"$enablestring" = xdisable; then
11278 if test $wxUSE_ARTPROVIDER_STD = no; then
11284 result=$wxUSE_ARTPROVIDER_STD
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11288 $as_echo "$result" >&6; }
11292 defaultval=$wxUSE_ALL_FEATURES
11293 if test -z "$defaultval"; then
11294 if test x"$enablestring" = xdisable; then
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11302 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11303 # Check whether --enable-arttango was given.
11304 if test "${enable_arttango+set}" = set; then :
11305 enableval=$enable_arttango;
11306 if test "$enableval" = yes; then
11307 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=yes'
11309 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=no
'
11314 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11319 eval "$wx_cv_use_arttango"
11321 if test x"$enablestring" = xdisable; then
11322 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11328 result=$wxUSE_ARTPROVIDER_TANGO
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11332 $as_echo "$result" >&6; }
11336 defaultval=$wxUSE_ALL_FEATURES
11337 if test -z "$defaultval"; then
11338 if test x"$enablestring" = xdisable; then
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bmpbutton" >&5
11346 $as_echo_n "checking
for --${enablestring:-enable}-bmpbutton...
" >&6; }
11347 # Check whether --enable-bmpbutton was given.
11348 if test "${enable_bmpbutton+set}" = set; then :
11349 enableval=$enable_bmpbutton;
11350 if test "$enableval" = yes; then
11351 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11353 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11358 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11363 eval "$wx_cv_use_bmpbutton"
11365 if test x
"$enablestring" = xdisable
; then
11366 if test $wxUSE_BMPBUTTON = no
; then
11372 result
=$wxUSE_BMPBUTTON
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11376 $as_echo "$result" >&6; }
11380 defaultval
=$wxUSE_ALL_FEATURES
11381 if test -z "$defaultval"; then
11382 if test x
"$enablestring" = xdisable
; then
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11390 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11391 # Check whether --enable-bmpcombobox was given.
11392 if test "${enable_bmpcombobox+set}" = set; then :
11393 enableval
=$enable_bmpcombobox;
11394 if test "$enableval" = yes; then
11395 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
11397 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
11402 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11407 eval "$wx_cv_use_bmpcombobox"
11409 if test x"$enablestring" = xdisable; then
11410 if test $wxUSE_BITMAPCOMBOBOX = no; then
11416 result=$wxUSE_BITMAPCOMBOBOX
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11420 $as_echo "$result" >&6; }
11424 defaultval=$wxUSE_ALL_FEATURES
11425 if test -z "$defaultval"; then
11426 if test x"$enablestring" = xdisable; then
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11434 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11435 # Check whether --enable-button was given.
11436 if test "${enable_button+set}" = set; then :
11437 enableval=$enable_button;
11438 if test "$enableval" = yes; then
11439 wx_cv_use_button='wxUSE_BUTTON
=yes'
11441 wx_cv_use_button='wxUSE_BUTTON
=no
'
11446 wx_cv_use_button='wxUSE_BUTTON
=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11451 eval "$wx_cv_use_button"
11453 if test x"$enablestring" = xdisable; then
11454 if test $wxUSE_BUTTON = no; then
11460 result=$wxUSE_BUTTON
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11464 $as_echo "$result" >&6; }
11468 defaultval=$wxUSE_ALL_FEATURES
11469 if test -z "$defaultval"; then
11470 if test x"$enablestring" = xdisable; then
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-calendar" >&5
11478 $as_echo_n "checking
for --${enablestring:-enable}-calendar...
" >&6; }
11479 # Check whether --enable-calendar was given.
11480 if test "${enable_calendar+set}" = set; then :
11481 enableval=$enable_calendar;
11482 if test "$enableval" = yes; then
11483 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11485 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11490 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11495 eval "$wx_cv_use_calendar"
11497 if test x
"$enablestring" = xdisable
; then
11498 if test $wxUSE_CALCTRL = no
; then
11504 result
=$wxUSE_CALCTRL
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11508 $as_echo "$result" >&6; }
11512 defaultval
=$wxUSE_ALL_FEATURES
11513 if test -z "$defaultval"; then
11514 if test x
"$enablestring" = xdisable
; then
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11522 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11523 # Check whether --enable-caret was given.
11524 if test "${enable_caret+set}" = set; then :
11525 enableval
=$enable_caret;
11526 if test "$enableval" = yes; then
11527 wx_cv_use_caret
='wxUSE_CARET=yes'
11529 wx_cv_use_caret
='wxUSE_CARET=no'
11534 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11539 eval "$wx_cv_use_caret"
11541 if test x"$enablestring" = xdisable; then
11542 if test $wxUSE_CARET = no; then
11548 result=$wxUSE_CARET
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11552 $as_echo "$result" >&6; }
11556 defaultval=$wxUSE_ALL_FEATURES
11557 if test -z "$defaultval"; then
11558 if test x"$enablestring" = xdisable; then
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11566 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11567 # Check whether --enable-checkbox was given.
11568 if test "${enable_checkbox+set}" = set; then :
11569 enableval=$enable_checkbox;
11570 if test "$enableval" = yes; then
11571 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11573 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11578 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11583 eval "$wx_cv_use_checkbox"
11585 if test x"$enablestring" = xdisable; then
11586 if test $wxUSE_CHECKBOX = no; then
11592 result=$wxUSE_CHECKBOX
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11596 $as_echo "$result" >&6; }
11600 defaultval=$wxUSE_ALL_FEATURES
11601 if test -z "$defaultval"; then
11602 if test x"$enablestring" = xdisable; then
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-checklst" >&5
11610 $as_echo_n "checking
for --${enablestring:-enable}-checklst...
" >&6; }
11611 # Check whether --enable-checklst was given.
11612 if test "${enable_checklst+set}" = set; then :
11613 enableval=$enable_checklst;
11614 if test "$enableval" = yes; then
11615 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11617 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11622 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11627 eval "$wx_cv_use_checklst"
11629 if test x
"$enablestring" = xdisable
; then
11630 if test $wxUSE_CHECKLST = no
; then
11636 result
=$wxUSE_CHECKLST
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11640 $as_echo "$result" >&6; }
11644 defaultval
=$wxUSE_ALL_FEATURES
11645 if test -z "$defaultval"; then
11646 if test x
"$enablestring" = xdisable
; then
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11654 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11655 # Check whether --enable-choice was given.
11656 if test "${enable_choice+set}" = set; then :
11657 enableval
=$enable_choice;
11658 if test "$enableval" = yes; then
11659 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11661 wx_cv_use_choice
='wxUSE_CHOICE=no'
11666 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11671 eval "$wx_cv_use_choice"
11673 if test x"$enablestring" = xdisable; then
11674 if test $wxUSE_CHOICE = no; then
11680 result=$wxUSE_CHOICE
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11684 $as_echo "$result" >&6; }
11688 defaultval=$wxUSE_ALL_FEATURES
11689 if test -z "$defaultval"; then
11690 if test x"$enablestring" = xdisable; then
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11698 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11699 # Check whether --enable-choicebook was given.
11700 if test "${enable_choicebook+set}" = set; then :
11701 enableval=$enable_choicebook;
11702 if test "$enableval" = yes; then
11703 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11705 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11710 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11715 eval "$wx_cv_use_choicebook"
11717 if test x"$enablestring" = xdisable; then
11718 if test $wxUSE_CHOICEBOOK = no; then
11724 result=$wxUSE_CHOICEBOOK
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11728 $as_echo "$result" >&6; }
11732 defaultval=$wxUSE_ALL_FEATURES
11733 if test -z "$defaultval"; then
11734 if test x"$enablestring" = xdisable; then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-collpane" >&5
11742 $as_echo_n "checking
for --${enablestring:-enable}-collpane...
" >&6; }
11743 # Check whether --enable-collpane was given.
11744 if test "${enable_collpane+set}" = set; then :
11745 enableval=$enable_collpane;
11746 if test "$enableval" = yes; then
11747 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11749 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11754 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11759 eval "$wx_cv_use_collpane"
11761 if test x
"$enablestring" = xdisable
; then
11762 if test $wxUSE_COLLPANE = no
; then
11768 result
=$wxUSE_COLLPANE
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11772 $as_echo "$result" >&6; }
11776 defaultval
=$wxUSE_ALL_FEATURES
11777 if test -z "$defaultval"; then
11778 if test x
"$enablestring" = xdisable
; then
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11786 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11787 # Check whether --enable-colourpicker was given.
11788 if test "${enable_colourpicker+set}" = set; then :
11789 enableval
=$enable_colourpicker;
11790 if test "$enableval" = yes; then
11791 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11793 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11798 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11803 eval "$wx_cv_use_colourpicker"
11805 if test x"$enablestring" = xdisable; then
11806 if test $wxUSE_COLOURPICKERCTRL = no; then
11812 result=$wxUSE_COLOURPICKERCTRL
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11816 $as_echo "$result" >&6; }
11820 defaultval=$wxUSE_ALL_FEATURES
11821 if test -z "$defaultval"; then
11822 if test x"$enablestring" = xdisable; then
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11830 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11831 # Check whether --enable-combobox was given.
11832 if test "${enable_combobox+set}" = set; then :
11833 enableval=$enable_combobox;
11834 if test "$enableval" = yes; then
11835 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11837 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11842 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11847 eval "$wx_cv_use_combobox"
11849 if test x"$enablestring" = xdisable; then
11850 if test $wxUSE_COMBOBOX = no; then
11856 result=$wxUSE_COMBOBOX
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11860 $as_echo "$result" >&6; }
11864 defaultval=$wxUSE_ALL_FEATURES
11865 if test -z "$defaultval"; then
11866 if test x"$enablestring" = xdisable; then
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-comboctrl" >&5
11874 $as_echo_n "checking
for --${enablestring:-enable}-comboctrl...
" >&6; }
11875 # Check whether --enable-comboctrl was given.
11876 if test "${enable_comboctrl+set}" = set; then :
11877 enableval=$enable_comboctrl;
11878 if test "$enableval" = yes; then
11879 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11881 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11886 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11891 eval "$wx_cv_use_comboctrl"
11893 if test x
"$enablestring" = xdisable
; then
11894 if test $wxUSE_COMBOCTRL = no
; then
11900 result
=$wxUSE_COMBOCTRL
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11904 $as_echo "$result" >&6; }
11908 defaultval
=$wxUSE_ALL_FEATURES
11909 if test -z "$defaultval"; then
11910 if test x
"$enablestring" = xdisable
; then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11918 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11919 # Check whether --enable-commandlinkbutton was given.
11920 if test "${enable_commandlinkbutton+set}" = set; then :
11921 enableval
=$enable_commandlinkbutton;
11922 if test "$enableval" = yes; then
11923 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=yes'
11925 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=no'
11930 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11935 eval "$wx_cv_use_commandlinkbutton"
11937 if test x"$enablestring" = xdisable; then
11938 if test $wxUSE_COMMANDLINKBUTTON = no; then
11944 result=$wxUSE_COMMANDLINKBUTTON
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11948 $as_echo "$result" >&6; }
11952 defaultval=$wxUSE_ALL_FEATURES
11953 if test -z "$defaultval"; then
11954 if test x"$enablestring" = xdisable; then
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11962 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11963 # Check whether --enable-dataviewctrl was given.
11964 if test "${enable_dataviewctrl+set}" = set; then :
11965 enableval=$enable_dataviewctrl;
11966 if test "$enableval" = yes; then
11967 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
11969 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
11974 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11979 eval "$wx_cv_use_dataviewctrl"
11981 if test x"$enablestring" = xdisable; then
11982 if test $wxUSE_DATAVIEWCTRL = no; then
11988 result=$wxUSE_DATAVIEWCTRL
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11992 $as_echo "$result" >&6; }
11996 defaultval=$wxUSE_ALL_FEATURES
11997 if test -z "$defaultval"; then
11998 if test x"$enablestring" = xdisable; then
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datepick" >&5
12006 $as_echo_n "checking
for --${enablestring:-enable}-datepick...
" >&6; }
12007 # Check whether --enable-datepick was given.
12008 if test "${enable_datepick+set}" = set; then :
12009 enableval=$enable_datepick;
12010 if test "$enableval" = yes; then
12011 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12013 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12018 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12023 eval "$wx_cv_use_datepick"
12025 if test x
"$enablestring" = xdisable
; then
12026 if test $wxUSE_DATEPICKCTRL = no
; then
12032 result
=$wxUSE_DATEPICKCTRL
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12036 $as_echo "$result" >&6; }
12040 defaultval
=$wxUSE_ALL_FEATURES
12041 if test -z "$defaultval"; then
12042 if test x
"$enablestring" = xdisable
; then
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12050 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12051 # Check whether --enable-detect_sm was given.
12052 if test "${enable_detect_sm+set}" = set; then :
12053 enableval
=$enable_detect_sm;
12054 if test "$enableval" = yes; then
12055 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
12057 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
12062 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12067 eval "$wx_cv_use_detect_sm"
12069 if test x"$enablestring" = xdisable; then
12070 if test $wxUSE_DETECT_SM = no; then
12076 result=$wxUSE_DETECT_SM
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12080 $as_echo "$result" >&6; }
12084 defaultval=$wxUSE_ALL_FEATURES
12085 if test -z "$defaultval"; then
12086 if test x"$enablestring" = xdisable; then
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12094 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12095 # Check whether --enable-dirpicker was given.
12096 if test "${enable_dirpicker+set}" = set; then :
12097 enableval=$enable_dirpicker;
12098 if test "$enableval" = yes; then
12099 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
12101 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
12106 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12111 eval "$wx_cv_use_dirpicker"
12113 if test x"$enablestring" = xdisable; then
12114 if test $wxUSE_DIRPICKERCTRL = no; then
12120 result=$wxUSE_DIRPICKERCTRL
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12124 $as_echo "$result" >&6; }
12128 defaultval=$wxUSE_ALL_FEATURES
12129 if test -z "$defaultval"; then
12130 if test x"$enablestring" = xdisable; then
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-display" >&5
12138 $as_echo_n "checking
for --${enablestring:-enable}-display...
" >&6; }
12139 # Check whether --enable-display was given.
12140 if test "${enable_display+set}" = set; then :
12141 enableval=$enable_display;
12142 if test "$enableval" = yes; then
12143 wx_cv_use_display='wxUSE_DISPLAY=yes'
12145 wx_cv_use_display='wxUSE_DISPLAY=no'
12150 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12155 eval "$wx_cv_use_display"
12157 if test x
"$enablestring" = xdisable
; then
12158 if test $wxUSE_DISPLAY = no
; then
12164 result
=$wxUSE_DISPLAY
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12168 $as_echo "$result" >&6; }
12172 defaultval
=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x
"$enablestring" = xdisable
; then
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12182 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12183 # Check whether --enable-editablebox was given.
12184 if test "${enable_editablebox+set}" = set; then :
12185 enableval
=$enable_editablebox;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
12189 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
12194 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12199 eval "$wx_cv_use_editablebox"
12201 if test x"$enablestring" = xdisable; then
12202 if test $wxUSE_EDITABLELISTBOX = no; then
12208 result=$wxUSE_EDITABLELISTBOX
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12212 $as_echo "$result" >&6; }
12216 defaultval=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x"$enablestring" = xdisable; then
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12226 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12227 # Check whether --enable-filectrl was given.
12228 if test "${enable_filectrl+set}" = set; then :
12229 enableval=$enable_filectrl;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
12233 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
12238 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12243 eval "$wx_cv_use_filectrl"
12245 if test x"$enablestring" = xdisable; then
12246 if test $wxUSE_FILECTRL = no; then
12252 result=$wxUSE_FILECTRL
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12256 $as_echo "$result" >&6; }
12260 defaultval=$wxUSE_ALL_FEATURES
12261 if test -z "$defaultval"; then
12262 if test x"$enablestring" = xdisable; then
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filepicker" >&5
12270 $as_echo_n "checking
for --${enablestring:-enable}-filepicker...
" >&6; }
12271 # Check whether --enable-filepicker was given.
12272 if test "${enable_filepicker+set}" = set; then :
12273 enableval=$enable_filepicker;
12274 if test "$enableval" = yes; then
12275 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12277 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12282 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12287 eval "$wx_cv_use_filepicker"
12289 if test x
"$enablestring" = xdisable
; then
12290 if test $wxUSE_FILEPICKERCTRL = no
; then
12296 result
=$wxUSE_FILEPICKERCTRL
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12300 $as_echo "$result" >&6; }
12304 defaultval
=$wxUSE_ALL_FEATURES
12305 if test -z "$defaultval"; then
12306 if test x
"$enablestring" = xdisable
; then
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12314 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12315 # Check whether --enable-fontpicker was given.
12316 if test "${enable_fontpicker+set}" = set; then :
12317 enableval
=$enable_fontpicker;
12318 if test "$enableval" = yes; then
12319 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
12321 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
12326 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12331 eval "$wx_cv_use_fontpicker"
12333 if test x"$enablestring" = xdisable; then
12334 if test $wxUSE_FONTPICKERCTRL = no; then
12340 result=$wxUSE_FONTPICKERCTRL
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12344 $as_echo "$result" >&6; }
12348 defaultval=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x"$enablestring" = xdisable; then
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12358 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12359 # Check whether --enable-gauge was given.
12360 if test "${enable_gauge+set}" = set; then :
12361 enableval=$enable_gauge;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
12365 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
12370 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12375 eval "$wx_cv_use_gauge"
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_GAUGE = no; then
12384 result=$wxUSE_GAUGE
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12388 $as_echo "$result" >&6; }
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-grid" >&5
12402 $as_echo_n "checking
for --${enablestring:-enable}-grid...
" >&6; }
12403 # Check whether --enable-grid was given.
12404 if test "${enable_grid+set}" = set; then :
12405 enableval=$enable_grid;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_grid='wxUSE_GRID=yes'
12409 wx_cv_use_grid='wxUSE_GRID=no'
12414 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12419 eval "$wx_cv_use_grid"
12421 if test x
"$enablestring" = xdisable
; then
12422 if test $wxUSE_GRID = no
; then
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12432 $as_echo "$result" >&6; }
12436 defaultval
=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x
"$enablestring" = xdisable
; then
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12446 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12447 # Check whether --enable-headerctrl was given.
12448 if test "${enable_headerctrl+set}" = set; then :
12449 enableval
=$enable_headerctrl;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
12453 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
12458 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12463 eval "$wx_cv_use_headerctrl"
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_HEADERCTRL = no; then
12472 result=$wxUSE_HEADERCTRL
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12476 $as_echo "$result" >&6; }
12480 defaultval=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x"$enablestring" = xdisable; then
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12490 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12491 # Check whether --enable-hyperlink was given.
12492 if test "${enable_hyperlink+set}" = set; then :
12493 enableval=$enable_hyperlink;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
12497 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
12502 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12507 eval "$wx_cv_use_hyperlink"
12509 if test x"$enablestring" = xdisable; then
12510 if test $wxUSE_HYPERLINKCTRL = no; then
12516 result=$wxUSE_HYPERLINKCTRL
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12520 $as_echo "$result" >&6; }
12524 defaultval=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x"$enablestring" = xdisable; then
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-imaglist" >&5
12534 $as_echo_n "checking
for --${enablestring:-enable}-imaglist...
" >&6; }
12535 # Check whether --enable-imaglist was given.
12536 if test "${enable_imaglist+set}" = set; then :
12537 enableval=$enable_imaglist;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12541 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12546 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12551 eval "$wx_cv_use_imaglist"
12553 if test x
"$enablestring" = xdisable
; then
12554 if test $wxUSE_IMAGLIST = no
; then
12560 result
=$wxUSE_IMAGLIST
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12564 $as_echo "$result" >&6; }
12568 defaultval
=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x
"$enablestring" = xdisable
; then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12578 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12579 # Check whether --enable-infobar was given.
12580 if test "${enable_infobar+set}" = set; then :
12581 enableval
=$enable_infobar;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_infobar
='wxUSE_INFOBAR=yes'
12585 wx_cv_use_infobar
='wxUSE_INFOBAR=no'
12590 wx_cv_use_infobar
='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12595 eval "$wx_cv_use_infobar"
12597 if test x"$enablestring" = xdisable; then
12598 if test $wxUSE_INFOBAR = no; then
12604 result=$wxUSE_INFOBAR
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12608 $as_echo "$result" >&6; }
12612 defaultval=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x"$enablestring" = xdisable; then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12622 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12623 # Check whether --enable-listbook was given.
12624 if test "${enable_listbook+set}" = set; then :
12625 enableval=$enable_listbook;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
12629 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
12634 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12639 eval "$wx_cv_use_listbook"
12641 if test x"$enablestring" = xdisable; then
12642 if test $wxUSE_LISTBOOK = no; then
12648 result=$wxUSE_LISTBOOK
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12652 $as_echo "$result" >&6; }
12656 defaultval=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x"$enablestring" = xdisable; then
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listbox" >&5
12666 $as_echo_n "checking
for --${enablestring:-enable}-listbox...
" >&6; }
12667 # Check whether --enable-listbox was given.
12668 if test "${enable_listbox+set}" = set; then :
12669 enableval=$enable_listbox;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12673 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12678 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12683 eval "$wx_cv_use_listbox"
12685 if test x
"$enablestring" = xdisable
; then
12686 if test $wxUSE_LISTBOX = no
; then
12692 result
=$wxUSE_LISTBOX
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12696 $as_echo "$result" >&6; }
12700 defaultval
=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x
"$enablestring" = xdisable
; then
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12710 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12711 # Check whether --enable-listctrl was given.
12712 if test "${enable_listctrl+set}" = set; then :
12713 enableval
=$enable_listctrl;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
12717 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
12722 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12727 eval "$wx_cv_use_listctrl"
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_LISTCTRL = no; then
12736 result=$wxUSE_LISTCTRL
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12740 $as_echo "$result" >&6; }
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12754 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12755 # Check whether --enable-notebook was given.
12756 if test "${enable_notebook+set}" = set; then :
12757 enableval=$enable_notebook;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
12761 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
12766 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12771 eval "$wx_cv_use_notebook"
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_NOTEBOOK = no; then
12780 result=$wxUSE_NOTEBOOK
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12784 $as_echo "$result" >&6; }
12788 defaultval=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x"$enablestring" = xdisable; then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-notifmsg" >&5
12798 $as_echo_n "checking
for --${enablestring:-enable}-notifmsg...
" >&6; }
12799 # Check whether --enable-notifmsg was given.
12800 if test "${enable_notifmsg+set}" = set; then :
12801 enableval=$enable_notifmsg;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12805 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12810 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12815 eval "$wx_cv_use_notifmsg"
12817 if test x
"$enablestring" = xdisable
; then
12818 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
12824 result
=$wxUSE_NOTIFICATION_MESSAGE
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12828 $as_echo "$result" >&6; }
12832 defaultval
=$wxUSE_ALL_FEATURES
12833 if test -z "$defaultval"; then
12834 if test x
"$enablestring" = xdisable
; then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12842 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12843 # Check whether --enable-odcombobox was given.
12844 if test "${enable_odcombobox+set}" = set; then :
12845 enableval
=$enable_odcombobox;
12846 if test "$enableval" = yes; then
12847 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
12849 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
12854 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12859 eval "$wx_cv_use_odcombobox"
12861 if test x"$enablestring" = xdisable; then
12862 if test $wxUSE_ODCOMBOBOX = no; then
12868 result=$wxUSE_ODCOMBOBOX
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12872 $as_echo "$result" >&6; }
12876 defaultval=$wxUSE_ALL_FEATURES
12877 if test -z "$defaultval"; then
12878 if test x"$enablestring" = xdisable; then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12886 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12887 # Check whether --enable-popupwin was given.
12888 if test "${enable_popupwin+set}" = set; then :
12889 enableval=$enable_popupwin;
12890 if test "$enableval" = yes; then
12891 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
12893 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
12898 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12903 eval "$wx_cv_use_popupwin"
12905 if test x"$enablestring" = xdisable; then
12906 if test $wxUSE_POPUPWIN = no; then
12912 result=$wxUSE_POPUPWIN
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12916 $as_echo "$result" >&6; }
12920 defaultval=$wxUSE_ALL_FEATURES
12921 if test -z "$defaultval"; then
12922 if test x"$enablestring" = xdisable; then
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-radiobox" >&5
12930 $as_echo_n "checking
for --${enablestring:-enable}-radiobox...
" >&6; }
12931 # Check whether --enable-radiobox was given.
12932 if test "${enable_radiobox+set}" = set; then :
12933 enableval=$enable_radiobox;
12934 if test "$enableval" = yes; then
12935 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12937 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12942 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12947 eval "$wx_cv_use_radiobox"
12949 if test x
"$enablestring" = xdisable
; then
12950 if test $wxUSE_RADIOBOX = no
; then
12956 result
=$wxUSE_RADIOBOX
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12960 $as_echo "$result" >&6; }
12964 defaultval
=$wxUSE_ALL_FEATURES
12965 if test -z "$defaultval"; then
12966 if test x
"$enablestring" = xdisable
; then
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12974 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12975 # Check whether --enable-radiobtn was given.
12976 if test "${enable_radiobtn+set}" = set; then :
12977 enableval
=$enable_radiobtn;
12978 if test "$enableval" = yes; then
12979 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
12981 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
12986 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12991 eval "$wx_cv_use_radiobtn"
12993 if test x"$enablestring" = xdisable; then
12994 if test $wxUSE_RADIOBTN = no; then
13000 result=$wxUSE_RADIOBTN
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13004 $as_echo "$result" >&6; }
13008 defaultval=$wxUSE_ALL_FEATURES
13009 if test -z "$defaultval"; then
13010 if test x"$enablestring" = xdisable; then
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13018 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13019 # Check whether --enable-richmsgdlg was given.
13020 if test "${enable_richmsgdlg+set}" = set; then :
13021 enableval=$enable_richmsgdlg;
13022 if test "$enableval" = yes; then
13023 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=yes'
13025 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=no
'
13030 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13035 eval "$wx_cv_use_richmsgdlg"
13037 if test x"$enablestring" = xdisable; then
13038 if test $wxUSE_RICHMSGDLG = no; then
13044 result=$wxUSE_RICHMSGDLG
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13048 $as_echo "$result" >&6; }
13052 defaultval=$wxUSE_ALL_FEATURES
13053 if test -z "$defaultval"; then
13054 if test x"$enablestring" = xdisable; then
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-richtooltip" >&5
13062 $as_echo_n "checking
for --${enablestring:-enable}-richtooltip...
" >&6; }
13063 # Check whether --enable-richtooltip was given.
13064 if test "${enable_richtooltip+set}" = set; then :
13065 enableval=$enable_richtooltip;
13066 if test "$enableval" = yes; then
13067 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13069 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13074 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13079 eval "$wx_cv_use_richtooltip"
13081 if test x
"$enablestring" = xdisable
; then
13082 if test $wxUSE_RICHTOOLTIP = no
; then
13088 result
=$wxUSE_RICHTOOLTIP
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13092 $as_echo "$result" >&6; }
13096 defaultval
=$wxUSE_ALL_FEATURES
13097 if test -z "$defaultval"; then
13098 if test x
"$enablestring" = xdisable
; then
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13106 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13107 # Check whether --enable-rearrangectrl was given.
13108 if test "${enable_rearrangectrl+set}" = set; then :
13109 enableval
=$enable_rearrangectrl;
13110 if test "$enableval" = yes; then
13111 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
13113 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
13118 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13123 eval "$wx_cv_use_rearrangectrl"
13125 if test x"$enablestring" = xdisable; then
13126 if test $wxUSE_REARRANGECTRL = no; then
13132 result=$wxUSE_REARRANGECTRL
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13136 $as_echo "$result" >&6; }
13140 defaultval=$wxUSE_ALL_FEATURES
13141 if test -z "$defaultval"; then
13142 if test x"$enablestring" = xdisable; then
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13150 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13151 # Check whether --enable-sash was given.
13152 if test "${enable_sash+set}" = set; then :
13153 enableval=$enable_sash;
13154 if test "$enableval" = yes; then
13155 wx_cv_use_sash='wxUSE_SASH
=yes'
13157 wx_cv_use_sash='wxUSE_SASH
=no
'
13162 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13167 eval "$wx_cv_use_sash"
13169 if test x"$enablestring" = xdisable; then
13170 if test $wxUSE_SASH = no; then
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13180 $as_echo "$result" >&6; }
13184 defaultval=$wxUSE_ALL_FEATURES
13185 if test -z "$defaultval"; then
13186 if test x"$enablestring" = xdisable; then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-scrollbar" >&5
13194 $as_echo_n "checking
for --${enablestring:-enable}-scrollbar...
" >&6; }
13195 # Check whether --enable-scrollbar was given.
13196 if test "${enable_scrollbar+set}" = set; then :
13197 enableval=$enable_scrollbar;
13198 if test "$enableval" = yes; then
13199 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13201 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13206 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13211 eval "$wx_cv_use_scrollbar"
13213 if test x
"$enablestring" = xdisable
; then
13214 if test $wxUSE_SCROLLBAR = no
; then
13220 result
=$wxUSE_SCROLLBAR
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13224 $as_echo "$result" >&6; }
13228 defaultval
=$wxUSE_ALL_FEATURES
13229 if test -z "$defaultval"; then
13230 if test x
"$enablestring" = xdisable
; then
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13238 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13239 # Check whether --enable-searchctrl was given.
13240 if test "${enable_searchctrl+set}" = set; then :
13241 enableval
=$enable_searchctrl;
13242 if test "$enableval" = yes; then
13243 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
13245 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
13250 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13255 eval "$wx_cv_use_searchctrl"
13257 if test x"$enablestring" = xdisable; then
13258 if test $wxUSE_SEARCHCTRL = no; then
13264 result=$wxUSE_SEARCHCTRL
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13268 $as_echo "$result" >&6; }
13272 defaultval=$wxUSE_ALL_FEATURES
13273 if test -z "$defaultval"; then
13274 if test x"$enablestring" = xdisable; then
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13282 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13283 # Check whether --enable-slider was given.
13284 if test "${enable_slider+set}" = set; then :
13285 enableval=$enable_slider;
13286 if test "$enableval" = yes; then
13287 wx_cv_use_slider='wxUSE_SLIDER
=yes'
13289 wx_cv_use_slider='wxUSE_SLIDER
=no
'
13294 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13299 eval "$wx_cv_use_slider"
13301 if test x"$enablestring" = xdisable; then
13302 if test $wxUSE_SLIDER = no; then
13308 result=$wxUSE_SLIDER
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13312 $as_echo "$result" >&6; }
13316 defaultval=$wxUSE_ALL_FEATURES
13317 if test -z "$defaultval"; then
13318 if test x"$enablestring" = xdisable; then
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-spinbtn" >&5
13326 $as_echo_n "checking
for --${enablestring:-enable}-spinbtn...
" >&6; }
13327 # Check whether --enable-spinbtn was given.
13328 if test "${enable_spinbtn+set}" = set; then :
13329 enableval=$enable_spinbtn;
13330 if test "$enableval" = yes; then
13331 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13333 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13338 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13343 eval "$wx_cv_use_spinbtn"
13345 if test x
"$enablestring" = xdisable
; then
13346 if test $wxUSE_SPINBTN = no
; then
13352 result
=$wxUSE_SPINBTN
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13356 $as_echo "$result" >&6; }
13360 defaultval
=$wxUSE_ALL_FEATURES
13361 if test -z "$defaultval"; then
13362 if test x
"$enablestring" = xdisable
; then
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13370 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13371 # Check whether --enable-spinctrl was given.
13372 if test "${enable_spinctrl+set}" = set; then :
13373 enableval
=$enable_spinctrl;
13374 if test "$enableval" = yes; then
13375 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
13377 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
13382 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13387 eval "$wx_cv_use_spinctrl"
13389 if test x"$enablestring" = xdisable; then
13390 if test $wxUSE_SPINCTRL = no; then
13396 result=$wxUSE_SPINCTRL
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13400 $as_echo "$result" >&6; }
13404 defaultval=$wxUSE_ALL_FEATURES
13405 if test -z "$defaultval"; then
13406 if test x"$enablestring" = xdisable; then
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13414 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13415 # Check whether --enable-splitter was given.
13416 if test "${enable_splitter+set}" = set; then :
13417 enableval=$enable_splitter;
13418 if test "$enableval" = yes; then
13419 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
13421 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
13426 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13431 eval "$wx_cv_use_splitter"
13433 if test x"$enablestring" = xdisable; then
13434 if test $wxUSE_SPLITTER = no; then
13440 result=$wxUSE_SPLITTER
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13444 $as_echo "$result" >&6; }
13448 defaultval=$wxUSE_ALL_FEATURES
13449 if test -z "$defaultval"; then
13450 if test x"$enablestring" = xdisable; then
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statbmp" >&5
13458 $as_echo_n "checking
for --${enablestring:-enable}-statbmp...
" >&6; }
13459 # Check whether --enable-statbmp was given.
13460 if test "${enable_statbmp+set}" = set; then :
13461 enableval=$enable_statbmp;
13462 if test "$enableval" = yes; then
13463 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13465 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13470 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13475 eval "$wx_cv_use_statbmp"
13477 if test x
"$enablestring" = xdisable
; then
13478 if test $wxUSE_STATBMP = no
; then
13484 result
=$wxUSE_STATBMP
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13488 $as_echo "$result" >&6; }
13492 defaultval
=$wxUSE_ALL_FEATURES
13493 if test -z "$defaultval"; then
13494 if test x
"$enablestring" = xdisable
; then
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13502 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13503 # Check whether --enable-statbox was given.
13504 if test "${enable_statbox+set}" = set; then :
13505 enableval
=$enable_statbox;
13506 if test "$enableval" = yes; then
13507 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
13509 wx_cv_use_statbox
='wxUSE_STATBOX=no'
13514 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13519 eval "$wx_cv_use_statbox"
13521 if test x"$enablestring" = xdisable; then
13522 if test $wxUSE_STATBOX = no; then
13528 result=$wxUSE_STATBOX
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13532 $as_echo "$result" >&6; }
13536 defaultval=$wxUSE_ALL_FEATURES
13537 if test -z "$defaultval"; then
13538 if test x"$enablestring" = xdisable; then
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13546 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13547 # Check whether --enable-statline was given.
13548 if test "${enable_statline+set}" = set; then :
13549 enableval=$enable_statline;
13550 if test "$enableval" = yes; then
13551 wx_cv_use_statline='wxUSE_STATLINE
=yes'
13553 wx_cv_use_statline='wxUSE_STATLINE
=no
'
13558 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13563 eval "$wx_cv_use_statline"
13565 if test x"$enablestring" = xdisable; then
13566 if test $wxUSE_STATLINE = no; then
13572 result=$wxUSE_STATLINE
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13576 $as_echo "$result" >&6; }
13580 defaultval=$wxUSE_ALL_FEATURES
13581 if test -z "$defaultval"; then
13582 if test x"$enablestring" = xdisable; then
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stattext" >&5
13590 $as_echo_n "checking
for --${enablestring:-enable}-stattext...
" >&6; }
13591 # Check whether --enable-stattext was given.
13592 if test "${enable_stattext+set}" = set; then :
13593 enableval=$enable_stattext;
13594 if test "$enableval" = yes; then
13595 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13597 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13602 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13607 eval "$wx_cv_use_stattext"
13609 if test x
"$enablestring" = xdisable
; then
13610 if test $wxUSE_STATTEXT = no
; then
13616 result
=$wxUSE_STATTEXT
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13620 $as_echo "$result" >&6; }
13624 defaultval
=$wxUSE_ALL_FEATURES
13625 if test -z "$defaultval"; then
13626 if test x
"$enablestring" = xdisable
; then
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13634 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13635 # Check whether --enable-statusbar was given.
13636 if test "${enable_statusbar+set}" = set; then :
13637 enableval
=$enable_statusbar;
13638 if test "$enableval" = yes; then
13639 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
13641 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
13646 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13651 eval "$wx_cv_use_statusbar"
13653 if test x"$enablestring" = xdisable; then
13654 if test $wxUSE_STATUSBAR = no; then
13660 result=$wxUSE_STATUSBAR
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13664 $as_echo "$result" >&6; }
13668 defaultval=$wxUSE_ALL_FEATURES
13669 if test -z "$defaultval"; then
13670 if test x"$enablestring" = xdisable; then
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13678 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13679 # Check whether --enable-taskbaricon was given.
13680 if test "${enable_taskbaricon+set}" = set; then :
13681 enableval=$enable_taskbaricon;
13682 if test "$enableval" = yes; then
13683 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
13685 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
13690 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13695 eval "$wx_cv_use_taskbaricon"
13697 if test x"$enablestring" = xdisable; then
13698 if test $wxUSE_TASKBARICON = no; then
13704 result=$wxUSE_TASKBARICON
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13708 $as_echo "$result" >&6; }
13712 defaultval=$wxUSE_ALL_FEATURES
13713 if test -z "$defaultval"; then
13714 if test x"$enablestring" = xdisable; then
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tbarnative" >&5
13722 $as_echo_n "checking
for --${enablestring:-enable}-tbarnative...
" >&6; }
13723 # Check whether --enable-tbarnative was given.
13724 if test "${enable_tbarnative+set}" = set; then :
13725 enableval=$enable_tbarnative;
13726 if test "$enableval" = yes; then
13727 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13729 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13734 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13739 eval "$wx_cv_use_tbarnative"
13741 if test x
"$enablestring" = xdisable
; then
13742 if test $wxUSE_TOOLBAR_NATIVE = no
; then
13748 result
=$wxUSE_TOOLBAR_NATIVE
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13752 $as_echo "$result" >&6; }
13756 defaultval
=$wxUSE_ALL_FEATURES
13757 if test -z "$defaultval"; then
13758 if test x
"$enablestring" = xdisable
; then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13766 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13767 # Check whether --enable-textctrl was given.
13768 if test "${enable_textctrl+set}" = set; then :
13769 enableval
=$enable_textctrl;
13770 if test "$enableval" = yes; then
13771 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
13773 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
13778 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13783 eval "$wx_cv_use_textctrl"
13785 if test x"$enablestring" = xdisable; then
13786 if test $wxUSE_TEXTCTRL = no; then
13792 result=$wxUSE_TEXTCTRL
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13796 $as_echo "$result" >&6; }
13800 defaultval=$wxUSE_ALL_FEATURES
13801 if test -z "$defaultval"; then
13802 if test x"$enablestring" = xdisable; then
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13810 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13811 # Check whether --enable-datepick was given.
13812 if test "${enable_datepick+set}" = set; then :
13813 enableval=$enable_datepick;
13814 if test "$enableval" = yes; then
13815 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=yes'
13817 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=no
'
13822 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13827 eval "$wx_cv_use_datepick"
13829 if test x"$enablestring" = xdisable; then
13830 if test $wxUSE_TIMEPICKCTRL = no; then
13836 result=$wxUSE_TIMEPICKCTRL
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13840 $as_echo "$result" >&6; }
13844 defaultval=$wxUSE_ALL_FEATURES
13845 if test -z "$defaultval"; then
13846 if test x"$enablestring" = xdisable; then
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tipwindow" >&5
13854 $as_echo_n "checking
for --${enablestring:-enable}-tipwindow...
" >&6; }
13855 # Check whether --enable-tipwindow was given.
13856 if test "${enable_tipwindow+set}" = set; then :
13857 enableval=$enable_tipwindow;
13858 if test "$enableval" = yes; then
13859 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13861 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13866 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13871 eval "$wx_cv_use_tipwindow"
13873 if test x
"$enablestring" = xdisable
; then
13874 if test $wxUSE_TIPWINDOW = no
; then
13880 result
=$wxUSE_TIPWINDOW
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13884 $as_echo "$result" >&6; }
13888 defaultval
=$wxUSE_ALL_FEATURES
13889 if test -z "$defaultval"; then
13890 if test x
"$enablestring" = xdisable
; then
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13898 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13899 # Check whether --enable-togglebtn was given.
13900 if test "${enable_togglebtn+set}" = set; then :
13901 enableval
=$enable_togglebtn;
13902 if test "$enableval" = yes; then
13903 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
13905 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
13910 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13915 eval "$wx_cv_use_togglebtn"
13917 if test x"$enablestring" = xdisable; then
13918 if test $wxUSE_TOGGLEBTN = no; then
13924 result=$wxUSE_TOGGLEBTN
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13928 $as_echo "$result" >&6; }
13932 defaultval=$wxUSE_ALL_FEATURES
13933 if test -z "$defaultval"; then
13934 if test x"$enablestring" = xdisable; then
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13942 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13943 # Check whether --enable-toolbar was given.
13944 if test "${enable_toolbar+set}" = set; then :
13945 enableval=$enable_toolbar;
13946 if test "$enableval" = yes; then
13947 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
13949 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
13954 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13959 eval "$wx_cv_use_toolbar"
13961 if test x"$enablestring" = xdisable; then
13962 if test $wxUSE_TOOLBAR = no; then
13968 result=$wxUSE_TOOLBAR
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13972 $as_echo "$result" >&6; }
13976 defaultval=$wxUSE_ALL_FEATURES
13977 if test -z "$defaultval"; then
13978 if test x"$enablestring" = xdisable; then
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-toolbook" >&5
13986 $as_echo_n "checking
for --${enablestring:-enable}-toolbook...
" >&6; }
13987 # Check whether --enable-toolbook was given.
13988 if test "${enable_toolbook+set}" = set; then :
13989 enableval=$enable_toolbook;
13990 if test "$enableval" = yes; then
13991 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13993 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13998 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14003 eval "$wx_cv_use_toolbook"
14005 if test x
"$enablestring" = xdisable
; then
14006 if test $wxUSE_TOOLBOOK = no
; then
14012 result
=$wxUSE_TOOLBOOK
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14016 $as_echo "$result" >&6; }
14020 defaultval
=$wxUSE_ALL_FEATURES
14021 if test -z "$defaultval"; then
14022 if test x
"$enablestring" = xdisable
; then
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14030 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14031 # Check whether --enable-treebook was given.
14032 if test "${enable_treebook+set}" = set; then :
14033 enableval
=$enable_treebook;
14034 if test "$enableval" = yes; then
14035 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
14037 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
14042 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14047 eval "$wx_cv_use_treebook"
14049 if test x"$enablestring" = xdisable; then
14050 if test $wxUSE_TREEBOOK = no; then
14056 result=$wxUSE_TREEBOOK
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14060 $as_echo "$result" >&6; }
14064 defaultval=$wxUSE_ALL_FEATURES
14065 if test -z "$defaultval"; then
14066 if test x"$enablestring" = xdisable; then
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14074 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14075 # Check whether --enable-treectrl was given.
14076 if test "${enable_treectrl+set}" = set; then :
14077 enableval=$enable_treectrl;
14078 if test "$enableval" = yes; then
14079 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
14081 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
14086 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14091 eval "$wx_cv_use_treectrl"
14093 if test x"$enablestring" = xdisable; then
14094 if test $wxUSE_TREECTRL = no; then
14100 result=$wxUSE_TREECTRL
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14104 $as_echo "$result" >&6; }
14108 defaultval=$wxUSE_ALL_FEATURES
14109 if test -z "$defaultval"; then
14110 if test x"$enablestring" = xdisable; then
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treelist" >&5
14118 $as_echo_n "checking
for --${enablestring:-enable}-treelist...
" >&6; }
14119 # Check whether --enable-treelist was given.
14120 if test "${enable_treelist+set}" = set; then :
14121 enableval=$enable_treelist;
14122 if test "$enableval" = yes; then
14123 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14125 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14130 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14135 eval "$wx_cv_use_treelist"
14137 if test x
"$enablestring" = xdisable
; then
14138 if test $wxUSE_TREELISTCTRL = no
; then
14144 result
=$wxUSE_TREELISTCTRL
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14148 $as_echo "$result" >&6; }
14154 defaultval
=$wxUSE_ALL_FEATURES
14155 if test -z "$defaultval"; then
14156 if test x
"$enablestring" = xdisable
; then
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14164 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14165 # Check whether --enable-commondlg was given.
14166 if test "${enable_commondlg+set}" = set; then :
14167 enableval
=$enable_commondlg;
14168 if test "$enableval" = yes; then
14169 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
14171 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
14176 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14181 eval "$wx_cv_use_commondlg"
14183 if test x"$enablestring" = xdisable; then
14184 if test $wxUSE_COMMONDLGS = no; then
14190 result=$wxUSE_COMMONDLGS
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14194 $as_echo "$result" >&6; }
14198 defaultval=$wxUSE_ALL_FEATURES
14199 if test -z "$defaultval"; then
14200 if test x"$enablestring" = xdisable; then
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14208 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14209 # Check whether --enable-aboutdlg was given.
14210 if test "${enable_aboutdlg+set}" = set; then :
14211 enableval=$enable_aboutdlg;
14212 if test "$enableval" = yes; then
14213 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
14215 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
14220 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14225 eval "$wx_cv_use_aboutdlg"
14227 if test x"$enablestring" = xdisable; then
14228 if test $wxUSE_ABOUTDLG = no; then
14234 result=$wxUSE_ABOUTDLG
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14238 $as_echo "$result" >&6; }
14242 defaultval=$wxUSE_ALL_FEATURES
14243 if test -z "$defaultval"; then
14244 if test x"$enablestring" = xdisable; then
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-choicedlg" >&5
14252 $as_echo_n "checking
for --${enablestring:-enable}-choicedlg...
" >&6; }
14253 # Check whether --enable-choicedlg was given.
14254 if test "${enable_choicedlg+set}" = set; then :
14255 enableval=$enable_choicedlg;
14256 if test "$enableval" = yes; then
14257 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14259 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14264 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14269 eval "$wx_cv_use_choicedlg"
14271 if test x
"$enablestring" = xdisable
; then
14272 if test $wxUSE_CHOICEDLG = no
; then
14278 result
=$wxUSE_CHOICEDLG
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14282 $as_echo "$result" >&6; }
14286 defaultval
=$wxUSE_ALL_FEATURES
14287 if test -z "$defaultval"; then
14288 if test x
"$enablestring" = xdisable
; then
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14296 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14297 # Check whether --enable-coldlg was given.
14298 if test "${enable_coldlg+set}" = set; then :
14299 enableval
=$enable_coldlg;
14300 if test "$enableval" = yes; then
14301 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
14303 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
14308 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14313 eval "$wx_cv_use_coldlg"
14315 if test x"$enablestring" = xdisable; then
14316 if test $wxUSE_COLOURDLG = no; then
14322 result=$wxUSE_COLOURDLG
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14326 $as_echo "$result" >&6; }
14330 defaultval=$wxUSE_ALL_FEATURES
14331 if test -z "$defaultval"; then
14332 if test x"$enablestring" = xdisable; then
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14340 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14341 # Check whether --enable-filedlg was given.
14342 if test "${enable_filedlg+set}" = set; then :
14343 enableval=$enable_filedlg;
14344 if test "$enableval" = yes; then
14345 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
14347 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
14352 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14357 eval "$wx_cv_use_filedlg"
14359 if test x"$enablestring" = xdisable; then
14360 if test $wxUSE_FILEDLG = no; then
14366 result=$wxUSE_FILEDLG
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14370 $as_echo "$result" >&6; }
14374 defaultval=$wxUSE_ALL_FEATURES
14375 if test -z "$defaultval"; then
14376 if test x"$enablestring" = xdisable; then
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-finddlg" >&5
14384 $as_echo_n "checking
for --${enablestring:-enable}-finddlg...
" >&6; }
14385 # Check whether --enable-finddlg was given.
14386 if test "${enable_finddlg+set}" = set; then :
14387 enableval=$enable_finddlg;
14388 if test "$enableval" = yes; then
14389 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14391 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14396 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14401 eval "$wx_cv_use_finddlg"
14403 if test x
"$enablestring" = xdisable
; then
14404 if test $wxUSE_FINDREPLDLG = no
; then
14410 result
=$wxUSE_FINDREPLDLG
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14414 $as_echo "$result" >&6; }
14418 defaultval
=$wxUSE_ALL_FEATURES
14419 if test -z "$defaultval"; then
14420 if test x
"$enablestring" = xdisable
; then
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14428 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14429 # Check whether --enable-fontdlg was given.
14430 if test "${enable_fontdlg+set}" = set; then :
14431 enableval
=$enable_fontdlg;
14432 if test "$enableval" = yes; then
14433 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
14435 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
14440 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14445 eval "$wx_cv_use_fontdlg"
14447 if test x"$enablestring" = xdisable; then
14448 if test $wxUSE_FONTDLG = no; then
14454 result=$wxUSE_FONTDLG
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14458 $as_echo "$result" >&6; }
14462 defaultval=$wxUSE_ALL_FEATURES
14463 if test -z "$defaultval"; then
14464 if test x"$enablestring" = xdisable; then
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14472 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14473 # Check whether --enable-dirdlg was given.
14474 if test "${enable_dirdlg+set}" = set; then :
14475 enableval=$enable_dirdlg;
14476 if test "$enableval" = yes; then
14477 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
14479 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
14484 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14489 eval "$wx_cv_use_dirdlg"
14491 if test x"$enablestring" = xdisable; then
14492 if test $wxUSE_DIRDLG = no; then
14498 result=$wxUSE_DIRDLG
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14502 $as_echo "$result" >&6; }
14506 defaultval=$wxUSE_ALL_FEATURES
14507 if test -z "$defaultval"; then
14508 if test x"$enablestring" = xdisable; then
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-msgdlg" >&5
14516 $as_echo_n "checking
for --${enablestring:-enable}-msgdlg...
" >&6; }
14517 # Check whether --enable-msgdlg was given.
14518 if test "${enable_msgdlg+set}" = set; then :
14519 enableval=$enable_msgdlg;
14520 if test "$enableval" = yes; then
14521 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14523 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14528 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14533 eval "$wx_cv_use_msgdlg"
14535 if test x
"$enablestring" = xdisable
; then
14536 if test $wxUSE_MSGDLG = no
; then
14542 result
=$wxUSE_MSGDLG
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14546 $as_echo "$result" >&6; }
14550 defaultval
=$wxUSE_ALL_FEATURES
14551 if test -z "$defaultval"; then
14552 if test x
"$enablestring" = xdisable
; then
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14560 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14561 # Check whether --enable-numberdlg was given.
14562 if test "${enable_numberdlg+set}" = set; then :
14563 enableval
=$enable_numberdlg;
14564 if test "$enableval" = yes; then
14565 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
14567 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
14572 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14577 eval "$wx_cv_use_numberdlg"
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_NUMBERDLG = no; then
14586 result=$wxUSE_NUMBERDLG
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14590 $as_echo "$result" >&6; }
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14604 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14605 # Check whether --enable-splash was given.
14606 if test "${enable_splash+set}" = set; then :
14607 enableval=$enable_splash;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_splash='wxUSE_SPLASH
=yes'
14611 wx_cv_use_splash='wxUSE_SPLASH
=no
'
14616 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14621 eval "$wx_cv_use_splash"
14623 if test x"$enablestring" = xdisable; then
14624 if test $wxUSE_SPLASH = no; then
14630 result=$wxUSE_SPLASH
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14634 $as_echo "$result" >&6; }
14638 defaultval=$wxUSE_ALL_FEATURES
14639 if test -z "$defaultval"; then
14640 if test x"$enablestring" = xdisable; then
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textdlg" >&5
14648 $as_echo_n "checking
for --${enablestring:-enable}-textdlg...
" >&6; }
14649 # Check whether --enable-textdlg was given.
14650 if test "${enable_textdlg+set}" = set; then :
14651 enableval=$enable_textdlg;
14652 if test "$enableval" = yes; then
14653 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14655 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14660 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14665 eval "$wx_cv_use_textdlg"
14667 if test x
"$enablestring" = xdisable
; then
14668 if test $wxUSE_TEXTDLG = no
; then
14674 result
=$wxUSE_TEXTDLG
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14678 $as_echo "$result" >&6; }
14682 defaultval
=$wxUSE_ALL_FEATURES
14683 if test -z "$defaultval"; then
14684 if test x
"$enablestring" = xdisable
; then
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14692 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14693 # Check whether --enable-tipdlg was given.
14694 if test "${enable_tipdlg+set}" = set; then :
14695 enableval
=$enable_tipdlg;
14696 if test "$enableval" = yes; then
14697 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
14699 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
14704 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14709 eval "$wx_cv_use_tipdlg"
14711 if test x"$enablestring" = xdisable; then
14712 if test $wxUSE_STARTUP_TIPS = no; then
14718 result=$wxUSE_STARTUP_TIPS
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14722 $as_echo "$result" >&6; }
14726 defaultval=$wxUSE_ALL_FEATURES
14727 if test -z "$defaultval"; then
14728 if test x"$enablestring" = xdisable; then
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14736 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14737 # Check whether --enable-progressdlg was given.
14738 if test "${enable_progressdlg+set}" = set; then :
14739 enableval=$enable_progressdlg;
14740 if test "$enableval" = yes; then
14741 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
14743 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
14748 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14753 eval "$wx_cv_use_progressdlg"
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_PROGRESSDLG = no; then
14762 result=$wxUSE_PROGRESSDLG
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14766 $as_echo "$result" >&6; }
14770 defaultval=$wxUSE_ALL_FEATURES
14771 if test -z "$defaultval"; then
14772 if test x"$enablestring" = xdisable; then
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-wizarddlg" >&5
14780 $as_echo_n "checking
for --${enablestring:-enable}-wizarddlg...
" >&6; }
14781 # Check whether --enable-wizarddlg was given.
14782 if test "${enable_wizarddlg+set}" = set; then :
14783 enableval=$enable_wizarddlg;
14784 if test "$enableval" = yes; then
14785 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14787 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14792 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14797 eval "$wx_cv_use_wizarddlg"
14799 if test x
"$enablestring" = xdisable
; then
14800 if test $wxUSE_WIZARDDLG = no
; then
14806 result
=$wxUSE_WIZARDDLG
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14810 $as_echo "$result" >&6; }
14816 defaultval
=$wxUSE_ALL_FEATURES
14817 if test -z "$defaultval"; then
14818 if test x
"$enablestring" = xdisable
; then
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14826 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14827 # Check whether --enable-menus was given.
14828 if test "${enable_menus+set}" = set; then :
14829 enableval
=$enable_menus;
14830 if test "$enableval" = yes; then
14831 wx_cv_use_menus
='wxUSE_MENUS=yes'
14833 wx_cv_use_menus
='wxUSE_MENUS=no'
14838 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14843 eval "$wx_cv_use_menus"
14845 if test x"$enablestring" = xdisable; then
14846 if test $wxUSE_MENUS = no; then
14852 result=$wxUSE_MENUS
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14856 $as_echo "$result" >&6; }
14860 defaultval=$wxUSE_ALL_FEATURES
14861 if test -z "$defaultval"; then
14862 if test x"$enablestring" = xdisable; then
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14870 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14871 # Check whether --enable-miniframe was given.
14872 if test "${enable_miniframe+set}" = set; then :
14873 enableval=$enable_miniframe;
14874 if test "$enableval" = yes; then
14875 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
14877 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
14882 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14887 eval "$wx_cv_use_miniframe"
14889 if test x"$enablestring" = xdisable; then
14890 if test $wxUSE_MINIFRAME = no; then
14896 result=$wxUSE_MINIFRAME
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14900 $as_echo "$result" >&6; }
14904 defaultval=$wxUSE_ALL_FEATURES
14905 if test -z "$defaultval"; then
14906 if test x"$enablestring" = xdisable; then
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tooltips" >&5
14914 $as_echo_n "checking
for --${enablestring:-enable}-tooltips...
" >&6; }
14915 # Check whether --enable-tooltips was given.
14916 if test "${enable_tooltips+set}" = set; then :
14917 enableval=$enable_tooltips;
14918 if test "$enableval" = yes; then
14919 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14921 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14926 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14931 eval "$wx_cv_use_tooltips"
14933 if test x
"$enablestring" = xdisable
; then
14934 if test $wxUSE_TOOLTIPS = no
; then
14940 result
=$wxUSE_TOOLTIPS
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14944 $as_echo "$result" >&6; }
14948 defaultval
=$wxUSE_ALL_FEATURES
14949 if test -z "$defaultval"; then
14950 if test x
"$enablestring" = xdisable
; then
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14958 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14959 # Check whether --enable-splines was given.
14960 if test "${enable_splines+set}" = set; then :
14961 enableval
=$enable_splines;
14962 if test "$enableval" = yes; then
14963 wx_cv_use_splines
='wxUSE_SPLINES=yes'
14965 wx_cv_use_splines
='wxUSE_SPLINES=no'
14970 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14975 eval "$wx_cv_use_splines"
14977 if test x"$enablestring" = xdisable; then
14978 if test $wxUSE_SPLINES = no; then
14984 result=$wxUSE_SPLINES
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14988 $as_echo "$result" >&6; }
14992 defaultval=$wxUSE_ALL_FEATURES
14993 if test -z "$defaultval"; then
14994 if test x"$enablestring" = xdisable; then
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15002 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15003 # Check whether --enable-mousewheel was given.
15004 if test "${enable_mousewheel+set}" = set; then :
15005 enableval=$enable_mousewheel;
15006 if test "$enableval" = yes; then
15007 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
15009 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
15014 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15019 eval "$wx_cv_use_mousewheel"
15021 if test x"$enablestring" = xdisable; then
15022 if test $wxUSE_MOUSEWHEEL = no; then
15028 result=$wxUSE_MOUSEWHEEL
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15032 $as_echo "$result" >&6; }
15036 defaultval=$wxUSE_ALL_FEATURES
15037 if test -z "$defaultval"; then
15038 if test x"$enablestring" = xdisable; then
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-validators" >&5
15046 $as_echo_n "checking
for --${enablestring:-enable}-validators...
" >&6; }
15047 # Check whether --enable-validators was given.
15048 if test "${enable_validators+set}" = set; then :
15049 enableval=$enable_validators;
15050 if test "$enableval" = yes; then
15051 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15053 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15058 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15063 eval "$wx_cv_use_validators"
15065 if test x
"$enablestring" = xdisable
; then
15066 if test $wxUSE_VALIDATORS = no
; then
15072 result
=$wxUSE_VALIDATORS
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15076 $as_echo "$result" >&6; }
15080 defaultval
=$wxUSE_ALL_FEATURES
15081 if test -z "$defaultval"; then
15082 if test x
"$enablestring" = xdisable
; then
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15090 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15091 # Check whether --enable-busyinfo was given.
15092 if test "${enable_busyinfo+set}" = set; then :
15093 enableval
=$enable_busyinfo;
15094 if test "$enableval" = yes; then
15095 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
15097 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
15102 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15107 eval "$wx_cv_use_busyinfo"
15109 if test x"$enablestring" = xdisable; then
15110 if test $wxUSE_BUSYINFO = no; then
15116 result=$wxUSE_BUSYINFO
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15120 $as_echo "$result" >&6; }
15124 defaultval=$wxUSE_ALL_FEATURES
15125 if test -z "$defaultval"; then
15126 if test x"$enablestring" = xdisable; then
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15134 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15135 # Check whether --enable-hotkey was given.
15136 if test "${enable_hotkey+set}" = set; then :
15137 enableval=$enable_hotkey;
15138 if test "$enableval" = yes; then
15139 wx_cv_use_hotkey='wxUSE_HOTKEY
=yes'
15141 wx_cv_use_hotkey='wxUSE_HOTKEY
=no
'
15146 wx_cv_use_hotkey='wxUSE_HOTKEY
=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15151 eval "$wx_cv_use_hotkey"
15153 if test x"$enablestring" = xdisable; then
15154 if test $wxUSE_HOTKEY = no; then
15160 result=$wxUSE_HOTKEY
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15164 $as_echo "$result" >&6; }
15168 defaultval=$wxUSE_ALL_FEATURES
15169 if test -z "$defaultval"; then
15170 if test x"$enablestring" = xdisable; then
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-joystick" >&5
15178 $as_echo_n "checking
for --${enablestring:-enable}-joystick...
" >&6; }
15179 # Check whether --enable-joystick was given.
15180 if test "${enable_joystick+set}" = set; then :
15181 enableval=$enable_joystick;
15182 if test "$enableval" = yes; then
15183 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15185 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15190 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15195 eval "$wx_cv_use_joystick"
15197 if test x
"$enablestring" = xdisable
; then
15198 if test $wxUSE_JOYSTICK = no
; then
15204 result
=$wxUSE_JOYSTICK
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15208 $as_echo "$result" >&6; }
15212 defaultval
=$wxUSE_ALL_FEATURES
15213 if test -z "$defaultval"; then
15214 if test x
"$enablestring" = xdisable
; then
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15222 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15223 # Check whether --enable-metafile was given.
15224 if test "${enable_metafile+set}" = set; then :
15225 enableval
=$enable_metafile;
15226 if test "$enableval" = yes; then
15227 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
15229 wx_cv_use_metafile
='wxUSE_METAFILE=no'
15234 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15239 eval "$wx_cv_use_metafile"
15241 if test x"$enablestring" = xdisable; then
15242 if test $wxUSE_METAFILE = no; then
15248 result=$wxUSE_METAFILE
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15252 $as_echo "$result" >&6; }
15256 defaultval=$wxUSE_ALL_FEATURES
15257 if test -z "$defaultval"; then
15258 if test x"$enablestring" = xdisable; then
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15266 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15267 # Check whether --enable-dragimage was given.
15268 if test "${enable_dragimage+set}" = set; then :
15269 enableval=$enable_dragimage;
15270 if test "$enableval" = yes; then
15271 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
15273 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
15278 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15283 eval "$wx_cv_use_dragimage"
15285 if test x"$enablestring" = xdisable; then
15286 if test $wxUSE_DRAGIMAGE = no; then
15292 result=$wxUSE_DRAGIMAGE
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15296 $as_echo "$result" >&6; }
15300 defaultval=$wxUSE_ALL_FEATURES
15301 if test -z "$defaultval"; then
15302 if test x"$enablestring" = xdisable; then
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-accessibility" >&5
15310 $as_echo_n "checking
for --${enablestring:-enable}-accessibility...
" >&6; }
15311 # Check whether --enable-accessibility was given.
15312 if test "${enable_accessibility+set}" = set; then :
15313 enableval=$enable_accessibility;
15314 if test "$enableval" = yes; then
15315 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15317 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15322 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15327 eval "$wx_cv_use_accessibility"
15329 if test x
"$enablestring" = xdisable
; then
15330 if test $wxUSE_ACCESSIBILITY = no
; then
15336 result
=$wxUSE_ACCESSIBILITY
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15340 $as_echo "$result" >&6; }
15344 defaultval
=$wxUSE_ALL_FEATURES
15345 if test -z "$defaultval"; then
15346 if test x
"$enablestring" = xdisable
; then
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15354 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15355 # Check whether --enable-uiactionsim was given.
15356 if test "${enable_uiactionsim+set}" = set; then :
15357 enableval
=$enable_uiactionsim;
15358 if test "$enableval" = yes; then
15359 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=yes'
15361 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=no'
15366 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15371 eval "$wx_cv_use_uiactionsim"
15373 if test x"$enablestring" = xdisable; then
15374 if test $wxUSE_UIACTIONSIMULATOR = no; then
15380 result=$wxUSE_UIACTIONSIMULATOR
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15384 $as_echo "$result" >&6; }
15388 defaultval=$wxUSE_ALL_FEATURES
15389 if test -z "$defaultval"; then
15390 if test x"$enablestring" = xdisable; then
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15398 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15399 # Check whether --enable-dctransform was given.
15400 if test "${enable_dctransform+set}" = set; then :
15401 enableval=$enable_dctransform;
15402 if test "$enableval" = yes; then
15403 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=yes'
15405 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=no
'
15410 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15415 eval "$wx_cv_use_dctransform"
15417 if test x"$enablestring" = xdisable; then
15418 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15424 result=$wxUSE_DC_TRANSFORM_MATRIX
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15428 $as_echo "$result" >&6; }
15432 defaultval=$wxUSE_ALL_FEATURES
15433 if test -z "$defaultval"; then
15434 if test x"$enablestring" = xdisable; then
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webviewwebkit" >&5
15442 $as_echo_n "checking
for --${enablestring:-enable}-webviewwebkit...
" >&6; }
15443 # Check whether --enable-webviewwebkit was given.
15444 if test "${enable_webviewwebkit+set}" = set; then :
15445 enableval=$enable_webviewwebkit;
15446 if test "$enableval" = yes; then
15447 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15449 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15454 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15459 eval "$wx_cv_use_webviewwebkit"
15461 if test x
"$enablestring" = xdisable
; then
15462 if test $wxUSE_WEBVIEW_WEBKIT = no
; then
15468 result
=$wxUSE_WEBVIEW_WEBKIT
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15472 $as_echo "$result" >&6; }
15478 defaultval
=$wxUSE_ALL_FEATURES
15479 if test -z "$defaultval"; then
15480 if test x
"$enablestring" = xdisable
; then
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15488 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15489 # Check whether --enable-palette was given.
15490 if test "${enable_palette+set}" = set; then :
15491 enableval
=$enable_palette;
15492 if test "$enableval" = yes; then
15493 wx_cv_use_palette
='wxUSE_PALETTE=yes'
15495 wx_cv_use_palette
='wxUSE_PALETTE=no'
15500 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15505 eval "$wx_cv_use_palette"
15507 if test x"$enablestring" = xdisable; then
15508 if test $wxUSE_PALETTE = no; then
15514 result=$wxUSE_PALETTE
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15518 $as_echo "$result" >&6; }
15522 defaultval=$wxUSE_ALL_FEATURES
15523 if test -z "$defaultval"; then
15524 if test x"$enablestring" = xdisable; then
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15532 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15533 # Check whether --enable-image was given.
15534 if test "${enable_image+set}" = set; then :
15535 enableval=$enable_image;
15536 if test "$enableval" = yes; then
15537 wx_cv_use_image='wxUSE_IMAGE
=yes'
15539 wx_cv_use_image='wxUSE_IMAGE
=no
'
15544 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15549 eval "$wx_cv_use_image"
15551 if test x"$enablestring" = xdisable; then
15552 if test $wxUSE_IMAGE = no; then
15558 result=$wxUSE_IMAGE
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15562 $as_echo "$result" >&6; }
15566 defaultval=$wxUSE_ALL_FEATURES
15567 if test -z "$defaultval"; then
15568 if test x"$enablestring" = xdisable; then
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gif" >&5
15576 $as_echo_n "checking
for --${enablestring:-enable}-gif...
" >&6; }
15577 # Check whether --enable-gif was given.
15578 if test "${enable_gif+set}" = set; then :
15579 enableval=$enable_gif;
15580 if test "$enableval" = yes; then
15581 wx_cv_use_gif='wxUSE_GIF=yes'
15583 wx_cv_use_gif='wxUSE_GIF=no'
15588 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15593 eval "$wx_cv_use_gif"
15595 if test x
"$enablestring" = xdisable
; then
15596 if test $wxUSE_GIF = no
; then
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15606 $as_echo "$result" >&6; }
15610 defaultval
=$wxUSE_ALL_FEATURES
15611 if test -z "$defaultval"; then
15612 if test x
"$enablestring" = xdisable
; then
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15620 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15621 # Check whether --enable-pcx was given.
15622 if test "${enable_pcx+set}" = set; then :
15623 enableval
=$enable_pcx;
15624 if test "$enableval" = yes; then
15625 wx_cv_use_pcx
='wxUSE_PCX=yes'
15627 wx_cv_use_pcx
='wxUSE_PCX=no'
15632 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15637 eval "$wx_cv_use_pcx"
15639 if test x"$enablestring" = xdisable; then
15640 if test $wxUSE_PCX = no; then
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15650 $as_echo "$result" >&6; }
15654 defaultval=$wxUSE_ALL_FEATURES
15655 if test -z "$defaultval"; then
15656 if test x"$enablestring" = xdisable; then
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15664 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15665 # Check whether --enable-tga was given.
15666 if test "${enable_tga+set}" = set; then :
15667 enableval=$enable_tga;
15668 if test "$enableval" = yes; then
15669 wx_cv_use_tga='wxUSE_TGA
=yes'
15671 wx_cv_use_tga='wxUSE_TGA
=no
'
15676 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15681 eval "$wx_cv_use_tga"
15683 if test x"$enablestring" = xdisable; then
15684 if test $wxUSE_TGA = no; then
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15694 $as_echo "$result" >&6; }
15698 defaultval=$wxUSE_ALL_FEATURES
15699 if test -z "$defaultval"; then
15700 if test x"$enablestring" = xdisable; then
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-iff" >&5
15708 $as_echo_n "checking
for --${enablestring:-enable}-iff...
" >&6; }
15709 # Check whether --enable-iff was given.
15710 if test "${enable_iff+set}" = set; then :
15711 enableval=$enable_iff;
15712 if test "$enableval" = yes; then
15713 wx_cv_use_iff='wxUSE_IFF=yes'
15715 wx_cv_use_iff='wxUSE_IFF=no'
15720 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15725 eval "$wx_cv_use_iff"
15727 if test x
"$enablestring" = xdisable
; then
15728 if test $wxUSE_IFF = no
; then
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15738 $as_echo "$result" >&6; }
15742 defaultval
=$wxUSE_ALL_FEATURES
15743 if test -z "$defaultval"; then
15744 if test x
"$enablestring" = xdisable
; then
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15752 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15753 # Check whether --enable-pnm was given.
15754 if test "${enable_pnm+set}" = set; then :
15755 enableval
=$enable_pnm;
15756 if test "$enableval" = yes; then
15757 wx_cv_use_pnm
='wxUSE_PNM=yes'
15759 wx_cv_use_pnm
='wxUSE_PNM=no'
15764 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15769 eval "$wx_cv_use_pnm"
15771 if test x"$enablestring" = xdisable; then
15772 if test $wxUSE_PNM = no; then
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15782 $as_echo "$result" >&6; }
15786 defaultval=$wxUSE_ALL_FEATURES
15787 if test -z "$defaultval"; then
15788 if test x"$enablestring" = xdisable; then
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15796 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15797 # Check whether --enable-xpm was given.
15798 if test "${enable_xpm+set}" = set; then :
15799 enableval=$enable_xpm;
15800 if test "$enableval" = yes; then
15801 wx_cv_use_xpm='wxUSE_XPM
=yes'
15803 wx_cv_use_xpm='wxUSE_XPM
=no
'
15808 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15813 eval "$wx_cv_use_xpm"
15815 if test x"$enablestring" = xdisable; then
15816 if test $wxUSE_XPM = no; then
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15826 $as_echo "$result" >&6; }
15830 defaultval=$wxUSE_ALL_FEATURES
15831 if test -z "$defaultval"; then
15832 if test x"$enablestring" = xdisable; then
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ico_cur" >&5
15840 $as_echo_n "checking
for --${enablestring:-enable}-ico_cur...
" >&6; }
15841 # Check whether --enable-ico_cur was given.
15842 if test "${enable_ico_cur+set}" = set; then :
15843 enableval=$enable_ico_cur;
15844 if test "$enableval" = yes; then
15845 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15847 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15852 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15857 eval "$wx_cv_use_ico_cur"
15859 if test x
"$enablestring" = xdisable
; then
15860 if test $wxUSE_ICO_CUR = no
; then
15866 result
=$wxUSE_ICO_CUR
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15870 $as_echo "$result" >&6; }
15876 defaultval
=$wxUSE_ALL_FEATURES
15877 if test -z "$defaultval"; then
15878 if test x
"$enablestring" = xdisable
; then
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15886 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15887 # Check whether --enable-dccache was given.
15888 if test "${enable_dccache+set}" = set; then :
15889 enableval
=$enable_dccache;
15890 if test "$enableval" = yes; then
15891 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
15893 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
15898 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15903 eval "$wx_cv_use_dccache"
15905 if test x"$enablestring" = xdisable; then
15906 if test $wxUSE_DC_CACHEING = no; then
15912 result=$wxUSE_DC_CACHEING
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15916 $as_echo "$result" >&6; }
15920 defaultval=$wxUSE_ALL_FEATURES
15921 if test -z "$defaultval"; then
15922 if test x"$enablestring" = xdisable; then
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15930 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15931 # Check whether --enable-ps-in-msw was given.
15932 if test "${enable_ps_in_msw+set}" = set; then :
15933 enableval=$enable_ps_in_msw;
15934 if test "$enableval" = yes; then
15935 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
15937 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
15942 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15947 eval "$wx_cv_use_ps_in_msw"
15949 if test x"$enablestring" = xdisable; then
15950 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15956 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15960 $as_echo "$result" >&6; }
15964 defaultval=$wxUSE_ALL_FEATURES
15965 if test -z "$defaultval"; then
15966 if test x"$enablestring" = xdisable; then
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ownerdrawn" >&5
15974 $as_echo_n "checking
for --${enablestring:-enable}-ownerdrawn...
" >&6; }
15975 # Check whether --enable-ownerdrawn was given.
15976 if test "${enable_ownerdrawn+set}" = set; then :
15977 enableval=$enable_ownerdrawn;
15978 if test "$enableval" = yes; then
15979 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15981 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15986 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15991 eval "$wx_cv_use_ownerdrawn"
15993 if test x
"$enablestring" = xdisable
; then
15994 if test $wxUSE_OWNER_DRAWN = no
; then
16000 result
=$wxUSE_OWNER_DRAWN
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16004 $as_echo "$result" >&6; }
16008 defaultval
=$wxUSE_ALL_FEATURES
16009 if test -z "$defaultval"; then
16010 if test x
"$enablestring" = xdisable
; then
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16018 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16019 # Check whether --enable-uxtheme was given.
16020 if test "${enable_uxtheme+set}" = set; then :
16021 enableval
=$enable_uxtheme;
16022 if test "$enableval" = yes; then
16023 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
16025 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
16030 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16035 eval "$wx_cv_use_uxtheme"
16037 if test x"$enablestring" = xdisable; then
16038 if test $wxUSE_UXTHEME = no; then
16044 result=$wxUSE_UXTHEME
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16048 $as_echo "$result" >&6; }
16052 defaultval=$wxUSE_ALL_FEATURES
16053 if test -z "$defaultval"; then
16054 if test x"$enablestring" = xdisable; then
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16062 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16063 # Check whether --enable-wxdib was given.
16064 if test "${enable_wxdib+set}" = set; then :
16065 enableval=$enable_wxdib;
16066 if test "$enableval" = yes; then
16067 wx_cv_use_wxdib='wxUSE_DIB
=yes'
16069 wx_cv_use_wxdib='wxUSE_DIB
=no
'
16074 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16079 eval "$wx_cv_use_wxdib"
16081 if test x"$enablestring" = xdisable; then
16082 if test $wxUSE_DIB = no; then
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16092 $as_echo "$result" >&6; }
16096 defaultval=$wxUSE_ALL_FEATURES
16097 if test -z "$defaultval"; then
16098 if test x"$enablestring" = xdisable; then
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webviewie" >&5
16106 $as_echo_n "checking
for --${enablestring:-enable}-webviewie...
" >&6; }
16107 # Check whether --enable-webviewie was given.
16108 if test "${enable_webviewie+set}" = set; then :
16109 enableval=$enable_webviewie;
16110 if test "$enableval" = yes; then
16111 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16113 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16118 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16123 eval "$wx_cv_use_webviewie"
16125 if test x
"$enablestring" = xdisable
; then
16126 if test $wxUSE_WEBVIEW_IE = no
; then
16132 result
=$wxUSE_WEBVIEW_IE
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16136 $as_echo "$result" >&6; }
16139 if test "$wxUSE_MSW" != 1; then
16140 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
16145 defaultval
=$wxUSE_ALL_FEATURES
16146 if test -z "$defaultval"; then
16147 if test x
"$enablestring" = xdisable
; then
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16155 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16156 # Check whether --enable-autoidman was given.
16157 if test "${enable_autoidman+set}" = set; then :
16158 enableval
=$enable_autoidman;
16159 if test "$enableval" = yes; then
16160 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
16162 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
16167 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16172 eval "$wx_cv_use_autoidman"
16174 if test x"$enablestring" = xdisable; then
16175 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16181 result=$wxUSE_AUTOID_MANAGEMENT
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16185 $as_echo "$result" >&6; }
16191 cat >confcache <<\_ACEOF
16192 # This file is a shell script that caches the results of configure
16193 # tests run on this system so they can be shared between configure
16194 # scripts and configure runs, see configure's option
--config-cache.
16195 # It is not useful on other systems. If it contains results you don't
16196 # want to keep, you may remove or edit it.
16198 # config.status only pays attention to the cache file if you give it
16199 # the --recheck option to rerun configure.
16201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16203 # following values.
16207 # The following way of writing the cache mishandles newlines in values,
16208 # but we know of no workaround that is simple, portable, and efficient.
16209 # So, we kill variables containing newlines.
16210 # Ultrix sh set writes to stderr and can't be redirected directly,
16211 # and sets the high bit in the cache file unless we assign to the vars.
16213 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16214 eval ac_val
=\$
$ac_var
16218 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16219 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16222 _
| IFS
| as_nl
) ;; #(
16223 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16224 *) { eval $ac_var=; unset $ac_var;} ;;
16230 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16231 *${as_nl}ac_space
=\
*)
16232 # `set' does not quote correctly, so add quotes: double-quote
16233 # substitution turns \\\\ into \\, and sed turns \\ into \.
16236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16239 # `set' quotes correctly as required by POSIX, so do not add quotes.
16240 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16249 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16251 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16253 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16254 if test -w "$cache_file"; then
16255 if test "x$cache_file" != "x/dev/null"; then
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16257 $as_echo "$as_me: updating cache $cache_file" >&6;}
16258 if test ! -f "$cache_file" || test -h "$cache_file"; then
16259 cat confcache
>"$cache_file"
16261 case $cache_file in #(
16263 mv -f confcache
"$cache_file"$$
&&
16264 mv -f "$cache_file"$$
"$cache_file" ;; #(
16266 mv -f confcache
"$cache_file" ;;
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16272 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16279 ac_cpp
='$CPP $CPPFLAGS'
16280 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16281 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16282 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16283 if test -n "$ac_tool_prefix"; then
16284 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16285 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16287 $as_echo_n "checking for $ac_word... " >&6; }
16288 if ${ac_cv_prog_CC+:} false
; then :
16289 $as_echo_n "(cached) " >&6
16291 if test -n "$CC"; then
16292 ac_cv_prog_CC
="$CC" # Let the user override the test.
16294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16295 for as_dir
in $PATH
16298 test -z "$as_dir" && as_dir
=.
16299 for ac_exec_ext
in '' $ac_executable_extensions; do
16300 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16301 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16312 if test -n "$CC"; then
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16314 $as_echo "$CC" >&6; }
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16317 $as_echo "no" >&6; }
16322 if test -z "$ac_cv_prog_CC"; then
16324 # Extract the first word of "gcc", so it can be a program name with args.
16325 set dummy gcc
; ac_word
=$2
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16327 $as_echo_n "checking for $ac_word... " >&6; }
16328 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16329 $as_echo_n "(cached) " >&6
16331 if test -n "$ac_ct_CC"; then
16332 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16335 for as_dir
in $PATH
16338 test -z "$as_dir" && as_dir
=.
16339 for ac_exec_ext
in '' $ac_executable_extensions; do
16340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16341 ac_cv_prog_ac_ct_CC
="gcc"
16342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16351 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16352 if test -n "$ac_ct_CC"; then
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16354 $as_echo "$ac_ct_CC" >&6; }
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16357 $as_echo "no" >&6; }
16360 if test "x$ac_ct_CC" = x
; then
16363 case $cross_compiling:$ac_tool_warned in
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16367 ac_tool_warned
=yes ;;
16372 CC
="$ac_cv_prog_CC"
16375 if test -z "$CC"; then
16376 if test -n "$ac_tool_prefix"; then
16377 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16378 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16380 $as_echo_n "checking for $ac_word... " >&6; }
16381 if ${ac_cv_prog_CC+:} false
; then :
16382 $as_echo_n "(cached) " >&6
16384 if test -n "$CC"; then
16385 ac_cv_prog_CC
="$CC" # Let the user override the test.
16387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16388 for as_dir
in $PATH
16391 test -z "$as_dir" && as_dir
=.
16392 for ac_exec_ext
in '' $ac_executable_extensions; do
16393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16394 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16405 if test -n "$CC"; then
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16407 $as_echo "$CC" >&6; }
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16410 $as_echo "no" >&6; }
16416 if test -z "$CC"; then
16417 # Extract the first word of "cc", so it can be a program name with args.
16418 set dummy cc
; ac_word
=$2
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16420 $as_echo_n "checking for $ac_word... " >&6; }
16421 if ${ac_cv_prog_CC+:} false
; then :
16422 $as_echo_n "(cached) " >&6
16424 if test -n "$CC"; then
16425 ac_cv_prog_CC
="$CC" # Let the user override the test.
16427 ac_prog_rejected
=no
16428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16429 for as_dir
in $PATH
16432 test -z "$as_dir" && as_dir
=.
16433 for ac_exec_ext
in '' $ac_executable_extensions; do
16434 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16435 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16436 ac_prog_rejected
=yes
16440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16447 if test $ac_prog_rejected = yes; then
16448 # We found a bogon in the path, so make sure we never use it.
16449 set dummy
$ac_cv_prog_CC
16451 if test $# != 0; then
16452 # We chose a different compiler from the bogus one.
16453 # However, it has the same basename, so the bogon will be chosen
16454 # first if we set CC to just the basename; use the full file name.
16456 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16462 if test -n "$CC"; then
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16464 $as_echo "$CC" >&6; }
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16467 $as_echo "no" >&6; }
16472 if test -z "$CC"; then
16473 if test -n "$ac_tool_prefix"; then
16474 for ac_prog
in cl.exe
16476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16477 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16479 $as_echo_n "checking for $ac_word... " >&6; }
16480 if ${ac_cv_prog_CC+:} false
; then :
16481 $as_echo_n "(cached) " >&6
16483 if test -n "$CC"; then
16484 ac_cv_prog_CC
="$CC" # Let the user override the test.
16486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16487 for as_dir
in $PATH
16490 test -z "$as_dir" && as_dir
=.
16491 for ac_exec_ext
in '' $ac_executable_extensions; do
16492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16493 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16504 if test -n "$CC"; then
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16506 $as_echo "$CC" >&6; }
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16509 $as_echo "no" >&6; }
16513 test -n "$CC" && break
16516 if test -z "$CC"; then
16518 for ac_prog
in cl.exe
16520 # Extract the first word of "$ac_prog", so it can be a program name with args.
16521 set dummy
$ac_prog; ac_word
=$2
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16523 $as_echo_n "checking for $ac_word... " >&6; }
16524 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16525 $as_echo_n "(cached) " >&6
16527 if test -n "$ac_ct_CC"; then
16528 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16531 for as_dir
in $PATH
16534 test -z "$as_dir" && as_dir
=.
16535 for ac_exec_ext
in '' $ac_executable_extensions; do
16536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16537 ac_cv_prog_ac_ct_CC
="$ac_prog"
16538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16547 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16548 if test -n "$ac_ct_CC"; then
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16550 $as_echo "$ac_ct_CC" >&6; }
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16553 $as_echo "no" >&6; }
16557 test -n "$ac_ct_CC" && break
16560 if test "x$ac_ct_CC" = x
; then
16563 case $cross_compiling:$ac_tool_warned in
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16567 ac_tool_warned
=yes ;;
16576 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16578 as_fn_error $?
"no acceptable C compiler found in \$PATH
16579 See \`config.log' for more details" "$LINENO" 5; }
16581 # Provide some information about the compiler.
16582 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16585 for ac_option
in --version -v -V -qversion; do
16586 { { ac_try
="$ac_compiler $ac_option >&5"
16587 case "(($ac_try" in
16588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16589 *) ac_try_echo=$ac_try;;
16591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16592 $as_echo "$ac_try_echo"; } >&5
16593 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16595 if test -s conftest.err; then
16597 ... rest of stderr output deleted ...
16598 10q' conftest.err >conftest.er1
16599 cat conftest.er1 >&5
16601 rm -f conftest.er1 conftest.err
16602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16603 test $ac_status = 0; }
16606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16617 ac_clean_files_save=$ac_clean_files
16618 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16619 # Try to create an executable without -o first, disregard a.out.
16620 # It will help us diagnose broken compilers, and finding out an intuition
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16623 $as_echo_n "checking whether the C compiler works... " >&6; }
16624 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16626 # The possible output files:
16627 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16630 for ac_file in $ac_files
16633 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16634 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16639 if { { ac_try="$ac_link_default"
16640 case "(($ac_try" in
16641 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16642 *) ac_try_echo
=$ac_try;;
16644 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16645 $as_echo "$ac_try_echo"; } >&5
16646 (eval "$ac_link_default") 2>&5
16648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16649 test $ac_status = 0; }; then :
16650 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16651 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16652 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16653 # so that the user can short-circuit this test for compilers unknown to
16655 for ac_file
in $ac_files ''
16657 test -f "$ac_file" || continue
16659 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
16662 # We found the default executable, but exeext='' is most
16666 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16668 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16670 # We set ac_cv_exeext here because the later test for it is not
16671 # safe: cross compilers may not add the suffix if given an `-o'
16672 # argument, so we may need to know it at that point already.
16673 # Even if this section looks crufty: it has the advantage of
16674 # actually working.
16680 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16685 if test -z "$ac_file"; then :
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16687 $as_echo "no" >&6; }
16688 $as_echo "$as_me: failed program was:" >&5
16689 sed 's/^/| /' conftest.
$ac_ext >&5
16691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16693 as_fn_error
77 "C compiler cannot create executables
16694 See \`config.log' for more details" "$LINENO" 5; }
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16697 $as_echo "yes" >&6; }
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16700 $as_echo_n "checking for C compiler default output file name... " >&6; }
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16702 $as_echo "$ac_file" >&6; }
16703 ac_exeext
=$ac_cv_exeext
16705 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
16706 ac_clean_files
=$ac_clean_files_save
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16708 $as_echo_n "checking for suffix of executables... " >&6; }
16709 if { { ac_try
="$ac_link"
16710 case "(($ac_try" in
16711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16712 *) ac_try_echo=$ac_try;;
16714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16715 $as_echo "$ac_try_echo"; } >&5
16716 (eval "$ac_link") 2>&5
16718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16719 test $ac_status = 0; }; then :
16720 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
16721 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
16722 # work properly (i.e., refer to `conftest.exe'), while it won't with
16724 for ac_file
in conftest.exe conftest conftest.
*; do
16725 test -f "$ac_file" || continue
16727 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
16728 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16736 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
16737 See \`config.log' for more details" "$LINENO" 5; }
16739 rm -f conftest conftest
$ac_cv_exeext
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16741 $as_echo "$ac_cv_exeext" >&6; }
16743 rm -f conftest.
$ac_ext
16744 EXEEXT
=$ac_cv_exeext
16746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16752 FILE *f = fopen ("conftest.out", "w");
16753 return ferror (f) || fclose (f) != 0;
16759 ac_clean_files
="$ac_clean_files conftest.out"
16760 # Check that the compiler produces executables we can run. If not, either
16761 # the compiler is broken, or we cross compile.
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16763 $as_echo_n "checking whether we are cross compiling... " >&6; }
16764 if test "$cross_compiling" != yes; then
16765 { { ac_try
="$ac_link"
16766 case "(($ac_try" in
16767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16768 *) ac_try_echo=$ac_try;;
16770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16771 $as_echo "$ac_try_echo"; } >&5
16772 (eval "$ac_link") 2>&5
16774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16775 test $ac_status = 0; }
16776 if { ac_try='./conftest$ac_cv_exeext'
16777 { { case "(($ac_try" in
16778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16779 *) ac_try_echo
=$ac_try;;
16781 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16782 $as_echo "$ac_try_echo"; } >&5
16783 (eval "$ac_try") 2>&5
16785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16786 test $ac_status = 0; }; }; then
16789 if test "$cross_compiling" = maybe
; then
16790 cross_compiling
=yes
16792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16794 as_fn_error $?
"cannot run C compiled programs.
16795 If you meant to cross compile, use \`--host'.
16796 See \`config.log' for more details" "$LINENO" 5; }
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16801 $as_echo "$cross_compiling" >&6; }
16803 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
16804 ac_clean_files
=$ac_clean_files_save
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16806 $as_echo_n "checking for suffix of object files... " >&6; }
16807 if ${ac_cv_objext+:} false
; then :
16808 $as_echo_n "(cached) " >&6
16810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h. */
16821 rm -f conftest.o conftest.obj
16822 if { { ac_try
="$ac_compile"
16823 case "(($ac_try" in
16824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16825 *) ac_try_echo=$ac_try;;
16827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16828 $as_echo "$ac_try_echo"; } >&5
16829 (eval "$ac_compile") 2>&5
16831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16832 test $ac_status = 0; }; then :
16833 for ac_file in conftest.o conftest.obj conftest.*; do
16834 test -f "$ac_file" || continue;
16836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16837 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16842 $as_echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.$ac_ext >&5
16845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16847 as_fn_error $? "cannot compute suffix of object files
: cannot compile
16848 See \
`config.log' for more details" "$LINENO" 5; }
16850 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16853 $as_echo "$ac_cv_objext" >&6; }
16854 OBJEXT=$ac_cv_objext
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16857 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16858 if ${ac_cv_c_compiler_gnu+:} false; then :
16859 $as_echo_n "(cached) " >&6
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16875 if ac_fn_c_try_compile "$LINENO"; then :
16876 ac_compiler_gnu=yes
16880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16881 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16885 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16886 if test $ac_compiler_gnu = yes; then
16891 ac_test_CFLAGS=${CFLAGS+set}
16892 ac_save_CFLAGS=$CFLAGS
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16894 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16895 if ${ac_cv_prog_cc_g+:} false; then :
16896 $as_echo_n "(cached) " >&6
16898 ac_save_c_werror_flag=$ac_c_werror_flag
16899 ac_c_werror_flag=yes
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16913 if ac_fn_c_try_compile "$LINENO"; then :
16914 ac_cv_prog_cc_g=yes
16917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h. */
16928 if ac_fn_c_try_compile "$LINENO"; then :
16931 ac_c_werror_flag=$ac_save_c_werror_flag
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16944 if ac_fn_c_try_compile "$LINENO"; then :
16945 ac_cv_prog_cc_g=yes
16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16952 ac_c_werror_flag=$ac_save_c_werror_flag
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16955 $as_echo "$ac_cv_prog_cc_g" >&6; }
16956 if test "$ac_test_CFLAGS" = set; then
16957 CFLAGS=$ac_save_CFLAGS
16958 elif test $ac_cv_prog_cc_g = yes; then
16959 if test "$GCC" = yes; then
16965 if test "$GCC" = yes; then
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16972 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16973 if ${ac_cv_prog_cc_c89+:} false; then :
16974 $as_echo_n "(cached) " >&6
16976 ac_cv_prog_cc_c89=no
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16980 #include <stdarg.h>
16983 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16984 struct buf { int x; };
16985 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16986 static char *e (p, i)
16992 static char *f (char * (*g) (char **, int), char **p, ...)
16997 s = g (p, va_arg (v,int));
17002 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17003 function prototypes and stuff, but not '\xHH' hex character constants.
17004 These don't provoke an error unfortunately, instead are silently treated
17005 as 'x'. The following induces an error, until -std is added to get
17006 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17007 array size at least. It's necessary to write '\x00'==0 to get something
17008 that's true only with -std. */
17009 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17011 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17012 inside strings and character constants. */
17014 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17016 int test (int i, double x);
17017 struct s1 {int (*f) (int a);};
17018 struct s2 {int (*f) (double a);};
17019 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17025 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17030 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17031 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17033 CC="$ac_save_CC $ac_arg"
17034 if ac_fn_c_try_compile "$LINENO"; then :
17035 ac_cv_prog_cc_c89=$ac_arg
17037 rm -f core conftest.err conftest.$ac_objext
17038 test "x$ac_cv_prog_cc_c89" != "xno" && break
17040 rm -f conftest.$ac_ext
17045 case "x$ac_cv_prog_cc_c89" in
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17048 $as_echo "none needed" >&6; } ;;
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17051 $as_echo "unsupported" >&6; } ;;
17053 CC="$CC $ac_cv_prog_cc_c89"
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17055 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17057 if test "x$ac_cv_prog_cc_c89" != xno; then :
17062 ac_cpp='$CPP $CPPFLAGS'
17063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17075 ac_cpp='$CPP $CPPFLAGS'
17076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17081 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17082 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17083 $as_echo_n "(cached) " >&6
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17092 #ifndef __INTEL_COMPILER
17100 if ac_fn_c_try_compile "$LINENO"; then :
17101 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17103 bakefile_cv_c_compiler___INTEL_COMPILER=no
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17111 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17112 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17118 ac_cpp='$CPP $CPPFLAGS'
17119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17126 if test "$INTELCC" = "yes"; then
17130 ac_cpp='$CPP $CPPFLAGS'
17131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17136 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17137 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17138 $as_echo_n "(cached) " >&6
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17147 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17155 if ac_fn_c_try_compile "$LINENO"; then :
17156 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17158 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17166 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17167 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17173 ac_cpp='$CPP $CPPFLAGS'
17174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17183 ac_cpp='$CPP $CPPFLAGS'
17184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17189 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17190 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17191 $as_echo_n "(cached) " >&6
17193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17200 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17208 if ac_fn_c_try_compile "$LINENO"; then :
17209 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17211 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17219 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17220 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17235 if test "x$GCC" != "xyes"; then
17236 if test "xCC" = "xC"; then
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17238 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17239 if ${bakefile_cv_c_exto+:} false; then :
17240 $as_echo_n "(cached) " >&6
17242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17243 /* end confdefs.h. */
17253 rm -f conftest.$ac_objext conftest.$ac_ext.o
17254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17255 (eval $ac_compile) 2>&5
17257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17258 test $ac_status = 0; }; then :
17259 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
17261 conftest.$ac_ext.o)
17262 bakefile_cv_c_exto="-ext o"
17269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17271 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
17272 See \
`config.log' for more details" "$LINENO" 5; }
17275 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17279 $as_echo "$bakefile_cv_c_exto" >&6; }
17280 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17281 if test "c" = "c"; then
17282 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17284 if test "c" = "cxx"; then
17285 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17289 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17290 unset ac_cv_prog_cc_g
17291 ac_test_CFLAGS=${CFLAGS+set}
17292 ac_save_CFLAGS=$CFLAGS
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17294 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17295 if ${ac_cv_prog_cc_g+:} false; then :
17296 $as_echo_n "(cached) " >&6
17298 ac_save_c_werror_flag=$ac_c_werror_flag
17299 ac_c_werror_flag=yes
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17313 if ac_fn_c_try_compile "$LINENO"; then :
17314 ac_cv_prog_cc_g=yes
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17328 if ac_fn_c_try_compile "$LINENO"; then :
17331 ac_c_werror_flag=$ac_save_c_werror_flag
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17344 if ac_fn_c_try_compile "$LINENO"; then :
17345 ac_cv_prog_cc_g=yes
17347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17352 ac_c_werror_flag=$ac_save_c_werror_flag
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17355 $as_echo "$ac_cv_prog_cc_g" >&6; }
17356 if test "$ac_test_CFLAGS" = set; then
17357 CFLAGS=$ac_save_CFLAGS
17358 elif test $ac_cv_prog_cc_g = yes; then
17359 if test "$GCC" = yes; then
17365 if test "$GCC" = yes; then
17379 ac_cpp='$CPP $CPPFLAGS'
17380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17385 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17386 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17387 $as_echo_n "(cached) " >&6
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17404 if ac_fn_c_try_compile "$LINENO"; then :
17405 bakefile_cv_c_compiler___xlC__=yes
17407 bakefile_cv_c_compiler___xlC__=no
17410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17415 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17416 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17422 ac_cpp='$CPP $CPPFLAGS'
17423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17435 ac_cpp='$CPP $CPPFLAGS'
17436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17441 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17442 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17443 $as_echo_n "(cached) " >&6
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17460 if ac_fn_c_try_compile "$LINENO"; then :
17461 bakefile_cv_c_compiler___MWERKS__=yes
17463 bakefile_cv_c_compiler___MWERKS__=no
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17471 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17472 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17478 ac_cpp='$CPP $CPPFLAGS'
17479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17485 if test "$MWCC" != "yes"; then
17489 ac_cpp='$CPP $CPPFLAGS'
17490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17495 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17496 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17497 $as_echo_n "(cached) " >&6
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17514 if ac_fn_c_try_compile "$LINENO"; then :
17515 bakefile_cv_c_compiler___xlC__=yes
17517 bakefile_cv_c_compiler___xlC__=no
17520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17525 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17526 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17532 ac_cpp='$CPP $CPPFLAGS'
17533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17546 ac_cpp='$CPP $CPPFLAGS'
17547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17552 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17553 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17554 $as_echo_n "(cached) " >&6
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17563 #ifndef _SGI_COMPILER_VERSION
17571 if ac_fn_c_try_compile "$LINENO"; then :
17572 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17574 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17582 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17583 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17589 ac_cpp='$CPP $CPPFLAGS'
17590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17599 if test "$INTELCC" != "yes"; then
17603 ac_cpp='$CPP $CPPFLAGS'
17604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17609 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17610 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17611 $as_echo_n "(cached) " >&6
17613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17614 /* end confdefs.h. */
17628 if ac_fn_c_try_compile "$LINENO"; then :
17629 bakefile_cv_c_compiler___SUNPRO_C=yes
17631 bakefile_cv_c_compiler___SUNPRO_C=no
17634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17639 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17640 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17646 ac_cpp='$CPP $CPPFLAGS'
17647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17660 ac_cpp='$CPP $CPPFLAGS'
17661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17666 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17667 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17668 $as_echo_n "(cached) " >&6
17670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17685 if ac_fn_c_try_compile "$LINENO"; then :
17686 bakefile_cv_c_compiler___HP_cc=yes
17688 bakefile_cv_c_compiler___HP_cc=no
17691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17696 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17697 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17703 ac_cpp='$CPP $CPPFLAGS'
17704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17716 ac_cpp='$CPP $CPPFLAGS'
17717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17722 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17723 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17724 $as_echo_n "(cached) " >&6
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17741 if ac_fn_c_try_compile "$LINENO"; then :
17742 bakefile_cv_c_compiler___DECC=yes
17744 bakefile_cv_c_compiler___DECC=no
17747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17752 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17753 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17759 ac_cpp='$CPP $CPPFLAGS'
17760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17772 ac_cpp='$CPP $CPPFLAGS'
17773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17778 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17779 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17780 $as_echo_n "(cached) " >&6
17782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17797 if ac_fn_c_try_compile "$LINENO"; then :
17798 bakefile_cv_c_compiler___SUNPRO_C=yes
17800 bakefile_cv_c_compiler___SUNPRO_C=no
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17808 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17809 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17815 ac_cpp='$CPP $CPPFLAGS'
17816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17829 ac_cpp='$CPP $CPPFLAGS'
17830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17834 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17835 # On Suns, sometimes $CPP names a directory.
17836 if test -n "$CPP" && test -d "$CPP"; then
17839 if test -z "$CPP"; then
17840 if ${ac_cv_prog_CPP+:} false; then :
17841 $as_echo_n "(cached) " >&6
17843 # Double quotes because CPP needs to be expanded
17844 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17846 ac_preproc_ok=false
17847 for ac_c_preproc_warn_flag in '' yes
17849 # Use a header file that comes with gcc, so configuring glibc
17850 # with a fresh cross-compiler works.
17851 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17852 # <limits.h> exists even on freestanding compilers.
17853 # On the NeXT, cc -E runs the code through the compiler's parser,
17854 # not just through cpp. "Syntax error" is here to catch this case.
17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h. */
17858 # include <limits.h>
17860 # include <assert.h>
17864 if ac_fn_c_try_cpp "$LINENO"; then :
17867 # Broken: fails on valid input.
17870 rm -f conftest.err conftest.i conftest.$ac_ext
17872 # OK, works on sane cases. Now check whether nonexistent headers
17873 # can be detected and how.
17874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17875 /* end confdefs.h. */
17876 #include <ac_nonexistent.h>
17878 if ac_fn_c_try_cpp "$LINENO"; then :
17879 # Broken: success on invalid input.
17882 # Passes both tests.
17886 rm -f conftest.err conftest.i conftest.$ac_ext
17889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17890 rm -f conftest.i conftest.err conftest.
$ac_ext
17891 if $ac_preproc_ok; then :
17896 ac_cv_prog_CPP
=$CPP
17899 CPP
=$ac_cv_prog_CPP
17901 ac_cv_prog_CPP
=$CPP
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17904 $as_echo "$CPP" >&6; }
17905 ac_preproc_ok
=false
17906 for ac_c_preproc_warn_flag
in '' yes
17908 # Use a header file that comes with gcc, so configuring glibc
17909 # with a fresh cross-compiler works.
17910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17911 # <limits.h> exists even on freestanding compilers.
17912 # On the NeXT, cc -E runs the code through the compiler's parser,
17913 # not just through cpp. "Syntax error" is here to catch this case.
17914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17917 # include <limits.h>
17919 # include <assert.h>
17923 if ac_fn_c_try_cpp
"$LINENO"; then :
17926 # Broken: fails on valid input.
17929 rm -f conftest.err conftest.i conftest.
$ac_ext
17931 # OK, works on sane cases. Now check whether nonexistent headers
17932 # can be detected and how.
17933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h. */
17935 #include <ac_nonexistent.h>
17937 if ac_fn_c_try_cpp
"$LINENO"; then :
17938 # Broken: success on invalid input.
17941 # Passes both tests.
17945 rm -f conftest.err conftest.i conftest.
$ac_ext
17948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17949 rm -f conftest.i conftest.err conftest.
$ac_ext
17950 if $ac_preproc_ok; then :
17953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17955 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
17956 See \`config.log' for more details" "$LINENO" 5; }
17960 ac_cpp
='$CPP $CPPFLAGS'
17961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17967 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17968 if ${ac_cv_path_GREP+:} false
; then :
17969 $as_echo_n "(cached) " >&6
17971 if test -z "$GREP"; then
17972 ac_path_GREP_found
=false
17973 # Loop through the user's path and test for each of PROGNAME-LIST
17974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17975 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17978 test -z "$as_dir" && as_dir
=.
17979 for ac_prog
in grep ggrep
; do
17980 for ac_exec_ext
in '' $ac_executable_extensions; do
17981 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17982 as_fn_executable_p
"$ac_path_GREP" || continue
17983 # Check for GNU ac_path_GREP and select it if it is found.
17984 # Check for GNU $ac_path_GREP
17985 case `"$ac_path_GREP" --version 2>&1` in
17987 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17990 $as_echo_n 0123456789 >"conftest.in"
17993 cat "conftest.in" "conftest.in" >"conftest.tmp"
17994 mv "conftest.tmp" "conftest.in"
17995 cp "conftest.in" "conftest.nl"
17996 $as_echo 'GREP' >> "conftest.nl"
17997 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17998 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17999 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18000 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18001 # Best one so far, save it but keep looking for a better one
18002 ac_cv_path_GREP
="$ac_path_GREP"
18003 ac_path_GREP_max
=$ac_count
18005 # 10*(2^10) chars as input seems more than enough
18006 test $ac_count -gt 10 && break
18008 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18011 $ac_path_GREP_found && break 3
18016 if test -z "$ac_cv_path_GREP"; then
18017 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18020 ac_cv_path_GREP
=$GREP
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18025 $as_echo "$ac_cv_path_GREP" >&6; }
18026 GREP
="$ac_cv_path_GREP"
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18030 $as_echo_n "checking for egrep... " >&6; }
18031 if ${ac_cv_path_EGREP+:} false
; then :
18032 $as_echo_n "(cached) " >&6
18034 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18035 then ac_cv_path_EGREP
="$GREP -E"
18037 if test -z "$EGREP"; then
18038 ac_path_EGREP_found
=false
18039 # Loop through the user's path and test for each of PROGNAME-LIST
18040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18041 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18044 test -z "$as_dir" && as_dir
=.
18045 for ac_prog
in egrep; do
18046 for ac_exec_ext
in '' $ac_executable_extensions; do
18047 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18048 as_fn_executable_p
"$ac_path_EGREP" || continue
18049 # Check for GNU ac_path_EGREP and select it if it is found.
18050 # Check for GNU $ac_path_EGREP
18051 case `"$ac_path_EGREP" --version 2>&1` in
18053 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18056 $as_echo_n 0123456789 >"conftest.in"
18059 cat "conftest.in" "conftest.in" >"conftest.tmp"
18060 mv "conftest.tmp" "conftest.in"
18061 cp "conftest.in" "conftest.nl"
18062 $as_echo 'EGREP' >> "conftest.nl"
18063 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18064 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18065 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18066 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18067 # Best one so far, save it but keep looking for a better one
18068 ac_cv_path_EGREP
="$ac_path_EGREP"
18069 ac_path_EGREP_max
=$ac_count
18071 # 10*(2^10) chars as input seems more than enough
18072 test $ac_count -gt 10 && break
18074 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18077 $ac_path_EGREP_found && break 3
18082 if test -z "$ac_cv_path_EGREP"; then
18083 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18086 ac_cv_path_EGREP
=$EGREP
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18092 $as_echo "$ac_cv_path_EGREP" >&6; }
18093 EGREP
="$ac_cv_path_EGREP"
18096 if test $ac_cv_c_compiler_gnu = yes; then
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18098 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18099 if ${ac_cv_prog_gcc_traditional+:} false
; then :
18100 $as_echo_n "(cached) " >&6
18102 ac_pattern
="Autoconf.*'x'"
18103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h. */
18108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18109 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18110 ac_cv_prog_gcc_traditional
=yes
18112 ac_cv_prog_gcc_traditional
=no
18117 if test $ac_cv_prog_gcc_traditional = no
; then
18118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18119 /* end confdefs.h. */
18120 #include <termio.h>
18123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18124 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18125 ac_cv_prog_gcc_traditional
=yes
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18132 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18133 if test $ac_cv_prog_gcc_traditional = yes; then
18134 CC
="$CC -traditional"
18139 CXXFLAGS
=${CXXFLAGS:=}
18141 ac_cpp
='$CXXCPP $CPPFLAGS'
18142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18145 if test -z "$CXX"; then
18146 if test -n "$CCC"; then
18149 if test -n "$ac_tool_prefix"; then
18150 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18153 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18155 $as_echo_n "checking for $ac_word... " >&6; }
18156 if ${ac_cv_prog_CXX+:} false
; then :
18157 $as_echo_n "(cached) " >&6
18159 if test -n "$CXX"; then
18160 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18163 for as_dir
in $PATH
18166 test -z "$as_dir" && as_dir
=.
18167 for ac_exec_ext
in '' $ac_executable_extensions; do
18168 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18169 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18179 CXX
=$ac_cv_prog_CXX
18180 if test -n "$CXX"; then
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18182 $as_echo "$CXX" >&6; }
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18185 $as_echo "no" >&6; }
18189 test -n "$CXX" && break
18192 if test -z "$CXX"; then
18194 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18196 # Extract the first word of "$ac_prog", so it can be a program name with args.
18197 set dummy
$ac_prog; ac_word
=$2
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18199 $as_echo_n "checking for $ac_word... " >&6; }
18200 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
18201 $as_echo_n "(cached) " >&6
18203 if test -n "$ac_ct_CXX"; then
18204 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18207 for as_dir
in $PATH
18210 test -z "$as_dir" && as_dir
=.
18211 for ac_exec_ext
in '' $ac_executable_extensions; do
18212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18213 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18223 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18224 if test -n "$ac_ct_CXX"; then
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18226 $as_echo "$ac_ct_CXX" >&6; }
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18229 $as_echo "no" >&6; }
18233 test -n "$ac_ct_CXX" && break
18236 if test "x$ac_ct_CXX" = x
; then
18239 case $cross_compiling:$ac_tool_warned in
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18243 ac_tool_warned
=yes ;;
18251 # Provide some information about the compiler.
18252 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18255 for ac_option
in --version -v -V -qversion; do
18256 { { ac_try
="$ac_compiler $ac_option >&5"
18257 case "(($ac_try" in
18258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18259 *) ac_try_echo=$ac_try;;
18261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18262 $as_echo "$ac_try_echo"; } >&5
18263 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18265 if test -s conftest.err; then
18267 ... rest of stderr output deleted ...
18268 10q' conftest.err >conftest.er1
18269 cat conftest.er1 >&5
18271 rm -f conftest.er1 conftest.err
18272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18273 test $ac_status = 0; }
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18277 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18278 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18279 $as_echo_n "(cached) " >&6
18281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18282 /* end confdefs.h. */
18295 if ac_fn_cxx_try_compile "$LINENO"; then :
18296 ac_compiler_gnu=yes
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18305 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18306 if test $ac_compiler_gnu = yes; then
18311 ac_test_CXXFLAGS=${CXXFLAGS+set}
18312 ac_save_CXXFLAGS=$CXXFLAGS
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18314 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18315 if ${ac_cv_prog_cxx_g+:} false; then :
18316 $as_echo_n "(cached) " >&6
18318 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18319 ac_cxx_werror_flag=yes
18320 ac_cv_prog_cxx_g=no
18322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18333 if ac_fn_cxx_try_compile "$LINENO"; then :
18334 ac_cv_prog_cxx_g=yes
18337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h. */
18348 if ac_fn_cxx_try_compile "$LINENO"; then :
18351 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h. */
18364 if ac_fn_cxx_try_compile "$LINENO"; then :
18365 ac_cv_prog_cxx_g=yes
18367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18372 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18375 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18376 if test "$ac_test_CXXFLAGS" = set; then
18377 CXXFLAGS=$ac_save_CXXFLAGS
18378 elif test $ac_cv_prog_cxx_g = yes; then
18379 if test "$GXX" = yes; then
18385 if test "$GXX" = yes; then
18392 ac_cpp='$CPP $CPPFLAGS'
18393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18405 ac_cpp='$CXXCPP $CPPFLAGS'
18406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18411 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18412 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18413 $as_echo_n "(cached) " >&6
18415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18416 /* end confdefs.h. */
18422 #ifndef __INTEL_COMPILER
18430 if ac_fn_cxx_try_compile "$LINENO"; then :
18431 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18433 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18441 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18442 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18448 ac_cpp='$CPP $CPPFLAGS'
18449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18456 if test "$INTELCXX" = "yes"; then
18460 ac_cpp='$CXXCPP $CPPFLAGS'
18461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18466 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18467 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18468 $as_echo_n "(cached) " >&6
18470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18471 /* end confdefs.h. */
18477 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18485 if ac_fn_cxx_try_compile "$LINENO"; then :
18486 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18488 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18496 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18497 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18503 ac_cpp='$CPP $CPPFLAGS'
18504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18513 ac_cpp='$CXXCPP $CPPFLAGS'
18514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18519 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18520 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18521 $as_echo_n "(cached) " >&6
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18530 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18538 if ac_fn_cxx_try_compile "$LINENO"; then :
18539 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18541 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18549 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18550 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18556 ac_cpp='$CPP $CPPFLAGS'
18557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18565 if test "x$GCXX" != "xyes"; then
18566 if test "xCXX" = "xC"; then
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18568 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18569 if ${bakefile_cv_c_exto+:} false; then :
18570 $as_echo_n "(cached) " >&6
18572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18573 /* end confdefs.h. */
18583 rm -f conftest.$ac_objext conftest.$ac_ext.o
18584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18585 (eval $ac_compile) 2>&5
18587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18588 test $ac_status = 0; }; then :
18589 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18591 conftest.$ac_ext.o)
18592 bakefile_cv_c_exto="-ext o"
18599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18601 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18602 See \
`config.log' for more details" "$LINENO" 5; }
18605 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18609 $as_echo "$bakefile_cv_c_exto" >&6; }
18610 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18611 if test "c" = "c"; then
18612 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18614 if test "c" = "cxx"; then
18615 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18619 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18620 unset ac_cv_prog_cc_g
18621 ac_test_CFLAGS=${CFLAGS+set}
18622 ac_save_CFLAGS=$CFLAGS
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18624 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18625 if ${ac_cv_prog_cc_g+:} false; then :
18626 $as_echo_n "(cached) " >&6
18628 ac_save_c_werror_flag=$ac_c_werror_flag
18629 ac_c_werror_flag=yes
18632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18643 if ac_fn_c_try_compile "$LINENO"; then :
18644 ac_cv_prog_cc_g=yes
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18658 if ac_fn_c_try_compile "$LINENO"; then :
18661 ac_c_werror_flag=$ac_save_c_werror_flag
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18674 if ac_fn_c_try_compile "$LINENO"; then :
18675 ac_cv_prog_cc_g=yes
18677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18682 ac_c_werror_flag=$ac_save_c_werror_flag
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18685 $as_echo "$ac_cv_prog_cc_g" >&6; }
18686 if test "$ac_test_CFLAGS" = set; then
18687 CFLAGS=$ac_save_CFLAGS
18688 elif test $ac_cv_prog_cc_g = yes; then
18689 if test "$GCC" = yes; then
18695 if test "$GCC" = yes; then
18709 ac_cpp='$CXXCPP $CPPFLAGS'
18710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18715 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18716 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18717 $as_echo_n "(cached) " >&6
18719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18734 if ac_fn_cxx_try_compile "$LINENO"; then :
18735 bakefile_cv_cxx_compiler___xlC__=yes
18737 bakefile_cv_cxx_compiler___xlC__=no
18740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18745 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18746 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18752 ac_cpp='$CPP $CPPFLAGS'
18753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18765 ac_cpp='$CXXCPP $CPPFLAGS'
18766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18771 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18772 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18773 $as_echo_n "(cached) " >&6
18775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18790 if ac_fn_cxx_try_compile "$LINENO"; then :
18791 bakefile_cv_cxx_compiler___MWERKS__=yes
18793 bakefile_cv_cxx_compiler___MWERKS__=no
18796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18801 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18802 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18808 ac_cpp='$CPP $CPPFLAGS'
18809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18815 if test "$MWCXX" != "yes"; then
18819 ac_cpp='$CXXCPP $CPPFLAGS'
18820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18825 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18826 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18827 $as_echo_n "(cached) " >&6
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18844 if ac_fn_cxx_try_compile "$LINENO"; then :
18845 bakefile_cv_cxx_compiler___xlC__=yes
18847 bakefile_cv_cxx_compiler___xlC__=no
18850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18855 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18856 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18862 ac_cpp='$CPP $CPPFLAGS'
18863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18876 ac_cpp='$CXXCPP $CPPFLAGS'
18877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18882 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18883 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18884 $as_echo_n "(cached) " >&6
18886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18893 #ifndef _SGI_COMPILER_VERSION
18901 if ac_fn_cxx_try_compile "$LINENO"; then :
18902 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18904 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18912 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18913 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18919 ac_cpp='$CPP $CPPFLAGS'
18920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18929 if test "$INTELCXX" != "yes"; then
18933 ac_cpp='$CXXCPP $CPPFLAGS'
18934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18939 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18940 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18941 $as_echo_n "(cached) " >&6
18943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18950 #ifndef __SUNPRO_CC
18958 if ac_fn_cxx_try_compile "$LINENO"; then :
18959 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18961 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18969 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18970 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18976 ac_cpp='$CPP $CPPFLAGS'
18977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18990 ac_cpp='$CXXCPP $CPPFLAGS'
18991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18996 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18997 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
18998 $as_echo_n "(cached) " >&6
19000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h. */
19015 if ac_fn_cxx_try_compile "$LINENO"; then :
19016 bakefile_cv_cxx_compiler___HP_aCC=yes
19018 bakefile_cv_cxx_compiler___HP_aCC=no
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19026 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19027 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19033 ac_cpp='$CPP $CPPFLAGS'
19034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19046 ac_cpp='$CXXCPP $CPPFLAGS'
19047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19052 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19053 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19054 $as_echo_n "(cached) " >&6
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19071 if ac_fn_cxx_try_compile "$LINENO"; then :
19072 bakefile_cv_cxx_compiler___DECCXX=yes
19074 bakefile_cv_cxx_compiler___DECCXX=no
19077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19082 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19083 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19089 ac_cpp='$CPP $CPPFLAGS'
19090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19102 ac_cpp='$CXXCPP $CPPFLAGS'
19103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19108 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19109 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19110 $as_echo_n "(cached) " >&6
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19119 #ifndef __SUNPRO_CC
19127 if ac_fn_cxx_try_compile "$LINENO"; then :
19128 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19130 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19138 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19139 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19145 ac_cpp='$CPP $CPPFLAGS'
19146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19158 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19159 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19162 if test "x$SUNCXX" != xyes; then
19163 if test -n "$ac_tool_prefix"; then
19164 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19165 set dummy ${ac_tool_prefix}ar; ac_word=$2
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19167 $as_echo_n "checking for $ac_word... " >&6; }
19168 if ${ac_cv_prog_AR+:} false; then :
19169 $as_echo_n "(cached) " >&6
19171 if test -n "$AR"; then
19172 ac_cv_prog_AR="$AR" # Let the user override the test.
19174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19175 for as_dir in $PATH
19178 test -z "$as_dir" && as_dir=.
19179 for ac_exec_ext in '' $ac_executable_extensions; do
19180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19181 ac_cv_prog_AR="${ac_tool_prefix}ar"
19182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19192 if test -n "$AR"; then
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19194 $as_echo "$AR" >&6; }
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19197 $as_echo "no" >&6; }
19202 if test -z "$ac_cv_prog_AR"; then
19204 # Extract the first word of "ar", so it can be a program name with args.
19205 set dummy ar; ac_word=$2
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19207 $as_echo_n "checking for $ac_word... " >&6; }
19208 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19209 $as_echo_n "(cached) " >&6
19211 if test -n "$ac_ct_AR"; then
19212 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19215 for as_dir in $PATH
19218 test -z "$as_dir" && as_dir=.
19219 for ac_exec_ext in '' $ac_executable_extensions; do
19220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19221 ac_cv_prog_ac_ct_AR="ar"
19222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19231 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19232 if test -n "$ac_ct_AR"; then
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19234 $as_echo "$ac_ct_AR" >&6; }
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19237 $as_echo "no" >&6; }
19240 if test "x$ac_ct_AR" = x; then
19243 case $cross_compiling:$ac_tool_warned in
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19247 ac_tool_warned=yes ;;
19252 AR="$ac_cv_prog_AR"
19255 if test "x$AR" = "x" ; then
19256 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19261 if test "$wxUSE_MAC" = 1; then
19263 retest_macosx_linking=no
19267 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19268 if test "x$wxUSE_MAC_ARCH" != xno; then
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19270 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19273 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19274 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19275 else OSX_ARCH_OPTS="ppc,i386"
19276 if test "$wxUSE_OSX_COCOA" = 1; then
19277 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19282 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19284 $as_echo "$OSX_ARCH_OPTS" >&6; }
19286 retest_macosx_linking=yes
19288 if test "x$wxUSE_MAC_ARCH" != xno; then
19289 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19293 if test "x$OSX_ARCH_OPTS" != "x"; then
19294 if echo $OSX_ARCH_OPTS | grep -q ","; then
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19296 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19297 disable_macosx_deps=yes
19299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19300 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19304 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19306 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19307 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19308 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19309 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19310 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19313 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19315 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19316 # TODO: Search for most recent SDK and use it.
19317 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19321 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19323 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19324 if ! test -d "$wxUSE_MACOSX_SDK"; then
19325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19327 as_fn_error $? "not found
19328 See \
`config.log' for more details" "$LINENO" 5; }
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19331 $as_echo "exists" >&6; }
19333 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19334 retest_macosx_linking=yes
19337 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19338 wxUSE_MACOSX_VERSION_MIN=
19339 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19340 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19342 $as_echo_n "checking SDK deployment version... " >&6; }
19344 MACOSX_SDK_PLIST_VERSION_MIN=`defaults
read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings
| grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19346 # If that failed, try again with the new key
19347 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19349 MACOSX_SDK_PLIST_VERSION_MIN=`defaults
read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties
| grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19353 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19354 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19356 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19359 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19360 wxUSE_MACOSX_VERSION_MIN=
19363 wxUSE_MACOSX_VERSION_MIN=
19365 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19366 wxUSE_MACOSX_VERSION_MIN=10.5
19369 if test "x$MACOSX_SDK_OPTS" != "x"; then
19370 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19371 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19372 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19373 retest_macosx_linking=yes
19376 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19377 if test "$wxUSE_OSX_IPHONE" = 1; then
19378 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19380 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19382 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19383 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19384 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19385 retest_macosx_linking=yes
19388 if test "x$retest_macosx_linking" = "xyes"; then
19390 ac_cpp='$CPP $CPPFLAGS'
19391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19396 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19398 /* end confdefs.h. */
19408 if ac_fn_c_try_link "$LINENO"; then :
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19410 $as_echo "yes" >&6; }
19412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19414 as_fn_error $? "no. Try a different SDK
19415 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19417 rm -f core conftest.err conftest.$ac_objext \
19418 conftest$ac_exeext conftest.$ac_ext
19420 ac_cpp='$CPP $CPPFLAGS'
19421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19427 ac_cpp='$CXXCPP $CPPFLAGS'
19428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19433 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19445 if ac_fn_cxx_try_link "$LINENO"; then :
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19447 $as_echo "yes" >&6; }
19449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19451 as_fn_error $? "no. Try a different SDK
19452 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19454 rm -f core conftest.err conftest.$ac_objext \
19455 conftest$ac_exeext conftest.$ac_ext
19457 ac_cpp='$CPP $CPPFLAGS'
19458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19468 INSTALL_PROGRAM="cp -fp"
19469 INSTALL_DATA="cp -fp"
19476 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19477 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19480 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19481 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19484 if test "x$USE_AIX" = "x1"; then
19485 if test "x$XLCXX" = "xyes"; then
19486 CXXFLAGS="-qunique $CXXFLAGS"
19489 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19493 powerpc-*-darwin* )
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19495 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19497 /* end confdefs.h. */
19502 #ifndef __POWERPC__
19503 choke me for lack of PowerPC
19510 if ac_fn_c_try_compile "$LINENO"; then :
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19512 $as_echo "yes" >&6; }
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19515 $as_echo "no" >&6; }
19516 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19527 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19530 #include <CoreFoundation/CFBase.h>
19540 if ac_fn_c_try_compile "$LINENO"; then :
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19542 $as_echo "yes" >&6; }
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19545 $as_echo "no" >&6; }
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19547 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19549 /* end confdefs.h. */
19550 #define __CF_USE_FRAMEWORK_INCLUDES__
19551 #include <CoreFoundation/CFBase.h>
19561 if ac_fn_c_try_compile "$LINENO"; then :
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19563 $as_echo "yes" >&6; }
19564 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19568 as_fn_error $? "no. CoreFoundation not available.
19569 See \
`config.log' for more details" "$LINENO" 5; }
19572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19581 doesnt_want_win32=0
19584 if test "$wxUSE_MSW" = 1 ; then
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19588 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19589 if ${wx_cv_nocygwin+:} false; then :
19590 $as_echo_n "(cached) " >&6
19593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19594 /* end confdefs.h. */
19608 if ac_fn_c_try_compile "$LINENO"; then :
19614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19619 $as_echo "$wx_cv_nocygwin" >&6; }
19621 if test "$wx_cv_nocygwin" = "yes"; then
19624 doesnt_want_win32=1
19627 if test "$wants_win32" = 1 ; then
19628 BAKEFILE_FORCE_PLATFORM=win32
19636 if test "$wxUSE_WINE" = "yes"; then
19638 LDFLAGS_GUI="-mwindows"
19641 if test "$wants_win32" = 1 ; then
19644 $as_echo "#define __WIN32__ 1" >>confdefs.h
19646 $as_echo "#define __WIN95__ 1" >>confdefs.h
19648 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19650 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19652 $as_echo "#define STRICT 1" >>confdefs.h
19655 if test "$doesnt_want_win32" = 1 ; then
19660 if test "$USE_UNIX" = 1 ; then
19662 $as_echo "#define __UNIX__ 1" >>confdefs.h
19667 *-pc-os2_emx | *-pc-os2-emx )
19668 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19670 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19671 if ${ac_cv_lib_cExt_drand48+:} false; then :
19672 $as_echo_n "(cached) " >&6
19674 ac_check_lib_save_LIBS=$LIBS
19675 LIBS="-lcExt $LIBS"
19676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19677 /* end confdefs.h. */
19679 /* Override any GCC internal prototype to avoid an error.
19680 Use char because int might match the return type of a GCC
19681 builtin and then its argument prototype would still apply. */
19694 if ac_fn_c_try_link "$LINENO"; then :
19695 ac_cv_lib_cExt_drand48=yes
19697 ac_cv_lib_cExt_drand48=no
19699 rm -f core conftest.err conftest.$ac_objext \
19700 conftest$ac_exeext conftest.$ac_ext
19701 LIBS=$ac_check_lib_save_LIBS
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19704 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19705 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19706 LIBS="$LIBS -lcExt"
19710 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19713 $as_echo_n "checking for gcc/libc version... " >&6; }
19714 if ${wx_cv_gccversion+:} false; then :
19715 $as_echo_n "(cached) " >&6
19718 if test "$cross_compiling" = yes; then :
19719 wx_cv_gccversion="EMX2"
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19729 FILE *f=fopen("conftestval", "w");
19734 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19736 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19746 if ac_fn_c_try_run "$LINENO"; then :
19747 wx_cv_gccversion=`cat conftestval
`
19749 wx_cv_gccversion="EMX2"
19751 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19752 conftest.$ac_objext conftest.beam conftest.$ac_ext
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19758 $as_echo "$wx_cv_gccversion" >&6; }
19759 if test "$wx_cv_gccversion" = "EMX2"; then
19760 LIBS="$LIBS -lstdcpp"
19761 LDFLAGS="$LDFLAGS -Zsysv-signals"
19763 if test "$wx_cv_gccversion" = "EMX3"; then
19764 LIBS="$LIBS -lstdcxx -lgcc"
19765 LDFLAGS="$LDFLAGS -Zsysv-signals"
19767 LIBS="$LIBS -lstdc++"
19770 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19772 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19780 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19781 if ${ac_cv_string_strcasecmp+:} false; then :
19782 $as_echo_n "(cached) " >&6
19785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19786 /* end confdefs.h. */
19788 #include <string.h>
19794 strcasecmp("foo", "bar");
19800 if ac_fn_c_try_link "$LINENO"; then :
19801 ac_cv_string_strcasecmp=yes
19803 ac_cv_string_strcasecmp=no
19806 rm -f core conftest.err conftest.$ac_objext \
19807 conftest$ac_exeext conftest.$ac_ext
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19811 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19813 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19814 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19818 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19819 if ${ac_cv_strings_strcasecmp+:} false; then :
19820 $as_echo_n "(cached) " >&6
19823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h. */
19826 #include <strings.h>
19832 strcasecmp("foo", "bar");
19838 if ac_fn_c_try_link "$LINENO"; then :
19839 ac_cv_strings_strcasecmp=yes
19841 ac_cv_strings_strcasecmp=no
19844 rm -f core conftest.err conftest.$ac_objext \
19845 conftest$ac_exeext conftest.$ac_ext
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19849 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19851 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19852 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19855 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19864 $as_echo_n "checking for ANSI C header files... " >&6; }
19865 if ${ac_cv_header_stdc+:} false; then :
19866 $as_echo_n "(cached) " >&6
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19870 #include <stdlib.h>
19871 #include <stdarg.h>
19872 #include <string.h>
19883 if ac_fn_c_try_compile "$LINENO"; then :
19884 ac_cv_header_stdc=yes
19886 ac_cv_header_stdc=no
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19890 if test $ac_cv_header_stdc = yes; then
19891 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h. */
19894 #include <string.h>
19897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19898 $EGREP "memchr" >/dev/null 2>&1; then :
19901 ac_cv_header_stdc=no
19907 if test $ac_cv_header_stdc = yes; then
19908 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19910 /* end confdefs.h. */
19911 #include <stdlib.h>
19914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19915 $EGREP "free" >/dev/null 2>&1; then :
19918 ac_cv_header_stdc=no
19924 if test $ac_cv_header_stdc = yes; then
19925 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19926 if test "$cross_compiling" = yes; then :
19929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h. */
19932 #include <stdlib.h>
19933 #if ((' ' & 0x0FF) == 0x020)
19934 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19935 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19937 # define ISLOWER(c) \
19938 (('a' <= (c) && (c) <= 'i') \
19939 || ('j' <= (c) && (c) <= 'r') \
19940 || ('s' <= (c) && (c) <= 'z'))
19941 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19944 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19949 for (i = 0; i < 256; i++)
19950 if (XOR (islower (i), ISLOWER (i))
19951 || toupper (i) != TOUPPER (i))
19956 if ac_fn_c_try_run "$LINENO"; then :
19959 ac_cv_header_stdc=no
19961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19962 conftest.$ac_objext conftest.beam conftest.$ac_ext
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19968 $as_echo "$ac_cv_header_stdc" >&6; }
19969 if test $ac_cv_header_stdc = yes; then
19971 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19975 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19976 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19977 inttypes.h stdint.h unistd.h
19979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19980 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19982 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19983 cat >>confdefs.h <<_ACEOF
19984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19992 for ac_header in langinfo.h wchar.h
19994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19995 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19998 cat >>confdefs.h <<_ACEOF
19999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20007 if test "$ac_cv_header_wchar_h" != "yes"; then
20008 for ac_header in wcstr.h
20010 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20012 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20013 cat >>confdefs.h <<_ACEOF
20014 #define HAVE_WCSTR_H 1
20024 *-pc-os2_emx | *-pc-os2-emx )
20025 if test $ac_cv_header_langinfo_h = "yes" \
20026 -a \( "$wx_cv_gccversion" = "EMX2" \
20027 -o "$wx_cv_gccversion" = "EMX3" \
20028 -o "$wx_cv_gccversion" = "Innotek5" \); then
20029 LIBS="$LIBS -lintl"
20034 if test "$USE_UNIX" = 1 ; then
20035 for ac_header in sys/select.h
20037 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20039 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20040 cat >>confdefs.h <<_ACEOF
20041 #define HAVE_SYS_SELECT_H 1
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20052 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20053 if ${ac_cv_c_const+:} false; then :
20054 $as_echo_n "(cached) " >&6
20056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h. */
20063 #ifndef __cplusplus
20064 /* Ultrix mips cc rejects this sort of thing. */
20065 typedef int charset[2];
20066 const charset cs = { 0, 0 };
20067 /* SunOS 4.1.1 cc rejects this. */
20068 char const *const *pcpcc;
20070 /* NEC SVR4.0.2 mips cc rejects this. */
20071 struct point {int x, y;};
20072 static struct point const zero = {0,0};
20073 /* AIX XL C 1.02.0.0 rejects this.
20074 It does not let you subtract one const X* pointer from another in
20075 an arm of an if-expression whose if-part is not a constant
20077 const char *g = "string";
20078 pcpcc = &g + (g ? g-g : 0);
20079 /* HPUX 7.0 cc rejects these. */
20081 ppc = (char**) pcpcc;
20082 pcpcc = (char const *const *) ppc;
20083 { /* SCO 3.2v4 cc rejects this sort of thing. */
20086 char const *s = 0 ? (char *) 0 : (char const *) 0;
20091 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20092 int x[] = {25, 17};
20093 const int *foo = &x[0];
20096 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20097 typedef const int *iptr;
20101 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20102 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20103 struct s { int j; const int *ap[3]; } bx;
20104 struct s *b = &bx; b->j = 5;
20106 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20107 const int foo = 10;
20108 if (!foo) return 0;
20110 return !cs[0] && !zero.x;
20117 if ac_fn_c_try_compile "$LINENO"; then :
20122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20125 $as_echo "$ac_cv_c_const" >&6; }
20126 if test $ac_cv_c_const = no; then
20128 $as_echo "#define const /**/" >>confdefs.h
20132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20133 $as_echo_n "checking for inline... " >&6; }
20134 if ${ac_cv_c_inline+:} false; then :
20135 $as_echo_n "(cached) " >&6
20138 for ac_kw in inline __inline__ __inline; do
20139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20140 /* end confdefs.h. */
20141 #ifndef __cplusplus
20143 static $ac_kw foo_t static_foo () {return 0; }
20144 $ac_kw foo_t foo () {return 0; }
20148 if ac_fn_c_try_compile "$LINENO"; then :
20149 ac_cv_c_inline=$ac_kw
20151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20152 test "$ac_cv_c_inline" != no && break
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20157 $as_echo "$ac_cv_c_inline" >&6; }
20159 case $ac_cv_c_inline in
20162 case $ac_cv_c_inline in
20164 *) ac_val=$ac_cv_c_inline;;
20166 cat >>confdefs.h <<_ACEOF
20167 #ifndef __cplusplus
20168 #define inline $ac_val
20175 # The cast to long int works around a bug in the HP C Compiler
20176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20177 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20178 # This bug is HP SR number 8606223364.
20179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20180 $as_echo_n "checking size of short... " >&6; }
20181 if ${ac_cv_sizeof_short+:} false; then :
20182 $as_echo_n "(cached) " >&6
20184 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20187 if test "$ac_cv_type_short" = yes; then
20188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20189 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20190 as_fn_error 77 "cannot compute sizeof (short)
20191 See \`config.log
' for more details" "$LINENO" 5; }
20193 ac_cv_sizeof_short=0
20198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20199 $as_echo "$ac_cv_sizeof_short" >&6; }
20203 cat >>confdefs.h <<_ACEOF
20204 #define SIZEOF_SHORT $ac_cv_sizeof_short
20208 # The cast to long int works around a bug in the HP C Compiler
20209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20211 # This bug is HP SR number 8606223364.
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20213 $as_echo_n "checking size of void *... " >&6; }
20214 if ${ac_cv_sizeof_void_p+:} false
; then :
20215 $as_echo_n "(cached) " >&6
20217 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20220 if test "$ac_cv_type_void_p" = yes; then
20221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20223 as_fn_error
77 "cannot compute sizeof (void *)
20224 See \`config.log' for more details" "$LINENO" 5; }
20226 ac_cv_sizeof_void_p
=0
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20232 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20236 cat >>confdefs.h
<<_ACEOF
20237 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20241 # The cast to long int works around a bug in the HP C Compiler
20242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20244 # This bug is HP SR number 8606223364.
20245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20246 $as_echo_n "checking size of int... " >&6; }
20247 if ${ac_cv_sizeof_int+:} false
; then :
20248 $as_echo_n "(cached) " >&6
20250 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20253 if test "$ac_cv_type_int" = yes; then
20254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20256 as_fn_error
77 "cannot compute sizeof (int)
20257 See \`config.log' for more details" "$LINENO" 5; }
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20265 $as_echo "$ac_cv_sizeof_int" >&6; }
20269 cat >>confdefs.h
<<_ACEOF
20270 #define SIZEOF_INT $ac_cv_sizeof_int
20274 # The cast to long int works around a bug in the HP C Compiler
20275 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20276 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20277 # This bug is HP SR number 8606223364.
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20279 $as_echo_n "checking size of long... " >&6; }
20280 if ${ac_cv_sizeof_long+:} false
; then :
20281 $as_echo_n "(cached) " >&6
20283 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20286 if test "$ac_cv_type_long" = yes; then
20287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20289 as_fn_error
77 "cannot compute sizeof (long)
20290 See \`config.log' for more details" "$LINENO" 5; }
20292 ac_cv_sizeof_long
=0
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20298 $as_echo "$ac_cv_sizeof_long" >&6; }
20302 cat >>confdefs.h
<<_ACEOF
20303 #define SIZEOF_LONG $ac_cv_sizeof_long
20307 # The cast to long int works around a bug in the HP C Compiler
20308 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20309 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20310 # This bug is HP SR number 8606223364.
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20312 $as_echo_n "checking size of size_t... " >&6; }
20313 if ${ac_cv_sizeof_size_t+:} false
; then :
20314 $as_echo_n "(cached) " >&6
20316 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20319 if test "$ac_cv_type_size_t" = yes; then
20320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20322 as_fn_error
77 "cannot compute sizeof (size_t)
20323 See \`config.log' for more details" "$LINENO" 5; }
20325 ac_cv_sizeof_size_t
=0
20330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20331 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20335 cat >>confdefs.h
<<_ACEOF
20336 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20343 # The cast to long int works around a bug in the HP C Compiler
20344 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20345 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20346 # This bug is HP SR number 8606223364.
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20348 $as_echo_n "checking size of long long... " >&6; }
20349 if ${ac_cv_sizeof_long_long+:} false
; then :
20350 $as_echo_n "(cached) " >&6
20352 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20355 if test "$ac_cv_type_long_long" = yes; then
20356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20358 as_fn_error
77 "cannot compute sizeof (long long)
20359 See \`config.log' for more details" "$LINENO" 5; }
20361 ac_cv_sizeof_long_long
=0
20366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20367 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20371 cat >>confdefs.h
<<_ACEOF
20372 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20378 # The cast to long int works around a bug in the HP C Compiler
20379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20381 # This bug is HP SR number 8606223364.
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20383 $as_echo_n "checking size of long long... " >&6; }
20384 if ${ac_cv_sizeof_long_long+:} false
; then :
20385 $as_echo_n "(cached) " >&6
20387 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20390 if test "$ac_cv_type_long_long" = yes; then
20391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20393 as_fn_error
77 "cannot compute sizeof (long long)
20394 See \`config.log' for more details" "$LINENO" 5; }
20396 ac_cv_sizeof_long_long
=0
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20402 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20406 cat >>confdefs.h
<<_ACEOF
20407 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20411 if test "$ac_cv_sizeof_long_long" != 0; then
20412 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20416 # The cast to long int works around a bug in the HP C Compiler
20417 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20418 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20419 # This bug is HP SR number 8606223364.
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20421 $as_echo_n "checking size of long long... " >&6; }
20422 if ${ac_cv_sizeof_long_long+:} false
; then :
20423 $as_echo_n "(cached) " >&6
20425 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20428 if test "$ac_cv_type_long_long" = yes; then
20429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20431 as_fn_error
77 "cannot compute sizeof (long long)
20432 See \`config.log' for more details" "$LINENO" 5; }
20434 ac_cv_sizeof_long_long
=0
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20440 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20444 cat >>confdefs.h
<<_ACEOF
20445 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20451 # The cast to long int works around a bug in the HP C Compiler
20452 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20453 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20454 # This bug is HP SR number 8606223364.
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20456 $as_echo_n "checking size of wchar_t... " >&6; }
20457 if ${ac_cv_sizeof_wchar_t+:} false
; then :
20458 $as_echo_n "(cached) " >&6
20460 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20461 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20462 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20463 # error \"fake wchar_t\"
20465 #ifdef HAVE_WCHAR_H
20467 # include <stddef.h>
20469 # include <wchar.h>
20471 #ifdef HAVE_STDLIB_H
20472 # include <stdlib.h>
20480 if test "$ac_cv_type_wchar_t" = yes; then
20481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20483 as_fn_error
77 "cannot compute sizeof (wchar_t)
20484 See \`config.log' for more details" "$LINENO" 5; }
20486 ac_cv_sizeof_wchar_t
=0
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20492 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20496 cat >>confdefs.h
<<_ACEOF
20497 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20501 if test "$ac_cv_sizeof_wchar_t" = 0; then
20502 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20504 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20508 $as_echo_n "checking for va_copy... " >&6; }
20509 if ${wx_cv_func_va_copy+:} false
; then :
20510 $as_echo_n "(cached) " >&6
20514 ac_cpp
='$CXXCPP $CPPFLAGS'
20515 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20520 /* end confdefs.h. */
20523 #include <stdarg.h>
20524 void foo(char *f, ...)
20539 if ac_fn_cxx_try_link
"$LINENO"; then :
20540 wx_cv_func_va_copy
=yes
20542 wx_cv_func_va_copy
=no
20545 rm -f core conftest.err conftest.
$ac_objext \
20546 conftest
$ac_exeext conftest.
$ac_ext
20548 ac_cpp
='$CPP $CPPFLAGS'
20549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20557 $as_echo "$wx_cv_func_va_copy" >&6; }
20559 if test $wx_cv_func_va_copy = "yes"; then
20560 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20564 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20565 if ${wx_cv_type_va_list_lvalue+:} false
; then :
20566 $as_echo_n "(cached) " >&6
20569 if test "$cross_compiling" = yes; then :
20570 wx_cv_type_va_list_lvalue
=yes
20573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20574 /* end confdefs.h. */
20577 #include <stdarg.h>
20578 int foo(char *f, ...)
20583 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20591 return foo("hi", 17);
20595 if ac_fn_c_try_run
"$LINENO"; then :
20596 wx_cv_type_va_list_lvalue
=yes
20598 wx_cv_type_va_list_lvalue
=no
20600 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20601 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20608 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20610 if test $wx_cv_type_va_list_lvalue != "yes"; then
20611 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20616 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20619 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20620 if ${wx_cv_have_variadic_macros+:} false
; then :
20621 $as_echo_n "(cached) " >&6
20625 ac_cpp
='$CXXCPP $CPPFLAGS'
20626 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20627 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20628 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20631 /* end confdefs.h. */
20635 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20641 test("%s %d %p", "test", 1, 0);
20648 if ac_fn_cxx_try_compile
"$LINENO"; then :
20649 wx_cv_have_variadic_macros
=yes
20651 wx_cv_have_variadic_macros
=no
20654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20656 ac_cpp
='$CPP $CPPFLAGS'
20657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20665 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20667 if test $wx_cv_have_variadic_macros = "yes"; then
20668 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20674 LARGEFILE_CPPFLAGS
=
20675 # Check whether --enable-largefile was given.
20676 if test "${enable_largefile+set}" = set; then :
20677 enableval
=$enable_largefile;
20680 if test "$enable_largefile" != no
; then
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20684 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20685 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20686 $as_echo_n "(cached) " >&6
20689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20690 /* end confdefs.h. */
20691 #define _FILE_OFFSET_BITS 64
20692 #include <sys/types.h>
20697 unsigned int field: sizeof(off_t) == 8;
20704 if ac_fn_c_try_compile
"$LINENO"; then :
20705 ac_cv_sys_file_offset_bits
=64
20707 ac_cv_sys_file_offset_bits
=no
20709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20714 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20716 if test "$ac_cv_sys_file_offset_bits" != no
; then
20718 cat >>confdefs.h
<<_ACEOF
20719 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20724 if test "x$wx_largefile" != "xyes"; then
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20727 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20728 if ${ac_cv_sys_large_files+:} false
; then :
20729 $as_echo_n "(cached) " >&6
20732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20733 /* end confdefs.h. */
20734 #define _LARGE_FILES 1
20735 #include <sys/types.h>
20740 unsigned int field: sizeof(off_t) == 8;
20747 if ac_fn_c_try_compile
"$LINENO"; then :
20748 ac_cv_sys_large_files
=1
20750 ac_cv_sys_large_files
=no
20752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20757 $as_echo "$ac_cv_sys_large_files" >&6; }
20759 if test "$ac_cv_sys_large_files" != no
; then
20761 cat >>confdefs.h
<<_ACEOF
20762 #define _LARGE_FILES $ac_cv_sys_large_files
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20770 $as_echo_n "checking if large file support is available... " >&6; }
20771 if test "x$wx_largefile" = "xyes"; then
20772 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20776 $as_echo "$wx_largefile" >&6; }
20779 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20780 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20781 elif test "$ac_cv_sys_large_files" = 1; then
20782 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20785 if test -n "$LARGEFILE_CPPFLAGS"; then
20786 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20788 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20790 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20791 if ${wx_cv_STDC_EXT_required+:} false
; then :
20792 $as_echo_n "(cached) " >&6
20796 ac_cpp
='$CXXCPP $CPPFLAGS'
20797 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20798 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20799 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20802 /* end confdefs.h. */
20808 #ifndef __STDC_EXT__
20816 if ac_fn_cxx_try_compile
"$LINENO"; then :
20817 wx_cv_STDC_EXT_required
=no
20819 wx_cv_STDC_EXT_required
=yes
20822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20824 ac_cpp
='$CPP $CPPFLAGS'
20825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20833 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20834 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20835 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20841 ac_cpp
='$CXXCPP $CPPFLAGS'
20842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20846 old_CPPFLAGS
="$CPPFLAGS"
20847 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20849 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20850 if ${ac_cv_sys_largefile_source+:} false
; then :
20851 $as_echo_n "(cached) " >&6
20854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20855 /* end confdefs.h. */
20856 #include <sys/types.h> /* for off_t */
20861 int (*fp) (FILE *, off_t, int) = fseeko;
20862 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20867 if ac_fn_cxx_try_link
"$LINENO"; then :
20868 ac_cv_sys_largefile_source
=no
; break
20870 rm -f core conftest.err conftest.
$ac_objext \
20871 conftest
$ac_exeext conftest.
$ac_ext
20872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20874 #define _LARGEFILE_SOURCE 1
20875 #include <sys/types.h> /* for off_t */
20880 int (*fp) (FILE *, off_t, int) = fseeko;
20881 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20886 if ac_fn_cxx_try_link
"$LINENO"; then :
20887 ac_cv_sys_largefile_source
=1; break
20889 rm -f core conftest.err conftest.
$ac_objext \
20890 conftest
$ac_exeext conftest.
$ac_ext
20891 ac_cv_sys_largefile_source
=unknown
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20896 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20897 case $ac_cv_sys_largefile_source in #(
20900 cat >>confdefs.h
<<_ACEOF
20901 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20907 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20908 # in glibc 2.1.3, but that breaks too many other things.
20909 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20910 if test $ac_cv_sys_largefile_source != unknown
; then
20912 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20916 CPPFLAGS
="$old_CPPFLAGS"
20918 ac_cpp
='$CPP $CPPFLAGS'
20919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20923 if test "$ac_cv_sys_largefile_source" != no
; then
20924 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20928 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20929 if ${ac_cv_c_bigendian+:} false
; then :
20930 $as_echo_n "(cached) " >&6
20932 ac_cv_c_bigendian
=unknown
20933 # See if sys/param.h defines the BYTE_ORDER macro.
20934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20935 /* end confdefs.h. */
20936 #include <sys/types.h>
20937 #include <sys/param.h>
20942 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20943 bogus endian macros
20949 if ac_fn_c_try_compile
"$LINENO"; then :
20950 # It does; now see whether it defined to BIG_ENDIAN or not.
20951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h. */
20953 #include <sys/types.h>
20954 #include <sys/param.h>
20959 #if BYTE_ORDER != BIG_ENDIAN
20966 if ac_fn_c_try_compile
"$LINENO"; then :
20967 ac_cv_c_bigendian
=yes
20969 ac_cv_c_bigendian
=no
20971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20974 if test $ac_cv_c_bigendian = unknown
; then
20975 if test "$cross_compiling" = yes; then :
20976 ac_cv_c_bigendian
=unknown
20978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20979 /* end confdefs.h. */
20981 /* Are we little or big endian? From Harbison&Steele. */
20985 char c[sizeof (long)];
20988 exit (u.c[sizeof (long) - 1] == 1);
20991 if ac_fn_c_try_run
"$LINENO"; then :
20992 ac_cv_c_bigendian
=no
20994 ac_cv_c_bigendian
=yes
20996 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20997 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21003 $as_echo "$ac_cv_c_bigendian" >&6; }
21004 if test $ac_cv_c_bigendian = unknown
; then
21005 { $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
21006 $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;}
21008 if test $ac_cv_c_bigendian = yes; then
21009 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21017 ac_cpp
='$CXXCPP $CPPFLAGS'
21018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21023 for ac_header
in iostream
21025 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
21027 if test "x$ac_cv_header_iostream" = xyes
; then :
21028 cat >>confdefs.h
<<_ACEOF
21029 #define HAVE_IOSTREAM 1
21037 if test "$ac_cv_header_iostream" = "yes" ; then
21040 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21045 ac_cpp
='$CPP $CPPFLAGS'
21046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21054 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21055 if ${wx_cv_explicit+:} false
; then :
21056 $as_echo_n "(cached) " >&6
21061 ac_cpp
='$CXXCPP $CPPFLAGS'
21062 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21068 /* end confdefs.h. */
21070 class Foo { public: explicit Foo(int) {} };
21082 if ac_fn_cxx_try_compile
"$LINENO"; then :
21084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21085 /* end confdefs.h. */
21087 class Foo { public: explicit Foo(int) {} };
21088 static void TakeFoo(const Foo& foo) { }
21101 if ac_fn_cxx_try_compile
"$LINENO"; then :
21107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21116 ac_cpp
='$CPP $CPPFLAGS'
21117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21124 $as_echo "$wx_cv_explicit" >&6; }
21126 if test "$wx_cv_explicit" = "yes"; then
21127 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21132 if test "x$SUNCXX" = xyes
; then
21133 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21136 if test "x$SUNCC" = xyes
; then
21137 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21140 if test "x$SGICC" = "xyes"; then
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21142 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21143 if ${wx_cv_prog_sgicc744+:} false
; then :
21144 $as_echo_n "(cached) " >&6
21147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21148 /* end confdefs.h. */
21154 #if _SGI_COMPILER_VERSION >= 744
21155 chock me: mipsPro is 7.4.4 or later
21162 if ac_fn_c_try_compile
"$LINENO"; then :
21163 wx_cv_prog_sgicc744
=no
21165 wx_cv_prog_sgicc744
=yes
21168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21173 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21175 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21176 CFLAGS
="-woff 3970 $CFLAGS"
21179 if test "x$SGICXX" = "xyes"; then
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21181 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21182 if ${wx_cv_prog_sgicxx744+:} false
; then :
21183 $as_echo_n "(cached) " >&6
21187 ac_cpp
='$CXXCPP $CPPFLAGS'
21188 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21189 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21190 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21193 /* end confdefs.h. */
21199 #if _SGI_COMPILER_VERSION >= 744
21200 chock me: mipsPro is 7.4.4 or later
21207 if ac_fn_cxx_try_compile
"$LINENO"; then :
21208 wx_cv_prog_sgicxx744
=no
21210 wx_cv_prog_sgicxx744
=yes
21213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21215 ac_cpp
='$CPP $CPPFLAGS'
21216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21224 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21226 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21227 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21231 if test "x$HPCC" = "xyes"; then
21232 CFLAGS
="+W 2011,2450 $CFLAGS"
21234 if test "x$HPCXX" = "xyes"; then
21235 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21238 if test "x$COMPAQCXX" = "xyes"; then
21239 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21243 ac_cpp
='$CXXCPP $CPPFLAGS'
21244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21249 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21250 if test "$wxUSE_UNICODE" = "yes"; then
21251 std_string
="std::wstring"
21252 char_type
="wchar_t"
21254 std_string
="std::string"
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21259 $as_echo_n "checking for $std_string in <string>... " >&6; }
21260 if ${wx_cv_class_stdstring+:} false
; then :
21261 $as_echo_n "(cached) " >&6
21264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21265 /* end confdefs.h. */
21275 if ac_fn_cxx_try_compile
"$LINENO"; then :
21276 wx_cv_class_stdstring
=yes
21278 wx_cv_class_stdstring
=no
21281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21286 $as_echo "$wx_cv_class_stdstring" >&6; }
21288 if test "$wx_cv_class_stdstring" = yes; then
21289 if test "$wxUSE_UNICODE" = "yes"; then
21290 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21295 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21296 if ${wx_cv_class_stdbasicstring+:} false
; then :
21297 $as_echo_n "(cached) " >&6
21300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21301 /* end confdefs.h. */
21303 #ifdef HAVE_WCHAR_H
21305 # include <stddef.h>
21307 # include <wchar.h>
21309 #ifdef HAVE_STDLIB_H
21310 # include <stdlib.h>
21318 std::basic_string<$char_type> foo;
21319 const $char_type* dummy = foo.c_str();
21324 if ac_fn_cxx_try_compile
"$LINENO"; then :
21325 wx_cv_class_stdbasicstring
=yes
21327 wx_cv_class_stdbasicstring
=no
21330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21335 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21337 if test "$wx_cv_class_stdbasicstring" != yes; then
21338 if test "$wxUSE_STL" = "yes"; then
21339 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21340 elif test "$wxUSE_STD_STRING" = "yes"; then
21341 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21344 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21345 wxUSE_STD_STRING
=no
21351 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21352 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21354 if test "x$ac_cv_type_std__istream" = xyes
; then :
21356 cat >>confdefs.h
<<_ACEOF
21357 #define HAVE_STD__ISTREAM 1
21362 wxUSE_STD_IOSTREAM
=no
21364 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21366 if test "x$ac_cv_type_std__ostream" = xyes
; then :
21368 cat >>confdefs.h
<<_ACEOF
21369 #define HAVE_STD__OSTREAM 1
21374 wxUSE_STD_IOSTREAM
=no
21378 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21379 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21380 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21383 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21388 if test "$wxUSE_STL" = "yes"; then
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21390 $as_echo_n "checking for basic STL functionality... " >&6; }
21391 if ${wx_cv_lib_stl+:} false
; then :
21392 $as_echo_n "(cached) " >&6
21394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21395 /* end confdefs.h. */
21397 #include <functional>
21398 #include <algorithm>
21404 std::vector<int> moo;
21405 std::list<int> foo;
21406 std::vector<int>::iterator it =
21407 std::find_if(moo.begin(), moo.end(),
21408 std::bind2nd(std::less<int>(), 3));
21413 if ac_fn_cxx_try_compile
"$LINENO"; then :
21419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21423 $as_echo "$wx_cv_lib_stl" >&6; }
21425 if test "$wx_cv_lib_stl" != yes; then
21426 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21430 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21431 if ${wx_cv_func_stdstring_compare+:} false
; then :
21432 $as_echo_n "(cached) " >&6
21434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h. */
21440 std::string foo, bar;
21442 foo.compare(1, 1, bar);
21443 foo.compare(1, 1, bar, 1, 1);
21445 foo.compare(1, 1, "");
21446 foo.compare(1, 1, "", 2);
21451 if ac_fn_cxx_try_compile
"$LINENO"; then :
21452 wx_cv_func_stdstring_compare
=yes
21454 wx_cv_func_stdstring_compare
=no
21457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21461 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21463 if test "$wx_cv_func_stdstring_compare" = yes; then
21464 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21468 if test "$wx_cv_class_gnuhashmapset" = yes; then
21469 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21471 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21475 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21478 if test "x$ac_cv_header_unordered_map" = xyes
; then :
21479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21480 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21481 if ${wx_cv_class_stdunorderedmapset+:} false
; then :
21482 $as_echo_n "(cached) " >&6
21484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21485 /* end confdefs.h. */
21486 #include <unordered_map>
21487 #include <unordered_set>
21491 std::unordered_map<double*, char*> test1;
21492 std::unordered_set<char*> test2;
21497 if ac_fn_cxx_try_compile
"$LINENO"; then :
21498 wx_cv_class_stdunorderedmapset
=yes
21500 wx_cv_class_stdunorderedmapset
=no
21502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21507 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21512 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21513 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21515 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21518 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21521 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21523 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21524 if ${wx_cv_class_tr1unorderedmapset+:} false
; then :
21525 $as_echo_n "(cached) " >&6
21527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21528 /* end confdefs.h. */
21529 #include <tr1/unordered_map>
21530 #include <tr1/unordered_set>
21534 std::tr1::unordered_map<double*, char*> test1;
21535 std::tr1::unordered_set<char*> test2;
21536 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21537 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21543 if ac_fn_cxx_try_compile
"$LINENO"; then :
21544 wx_cv_class_tr1unorderedmapset
=yes
21546 wx_cv_class_tr1unorderedmapset
=no
21548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21553 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21558 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21559 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21561 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21564 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21567 if test "x$ac_cv_header_hash_map" = xyes
; then :
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21569 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21570 if ${wx_cv_class_stdhashmapset+:} false
; then :
21571 $as_echo_n "(cached) " >&6
21573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21574 /* end confdefs.h. */
21575 #include <hash_map>
21576 #include <hash_set>
21580 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21581 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21586 if ac_fn_cxx_try_compile
"$LINENO"; then :
21587 wx_cv_class_stdhashmapset
=yes
21589 wx_cv_class_stdhashmapset
=no
21591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21596 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21601 if test "$wx_cv_class_stdhashmapset" = yes; then
21602 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21604 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21608 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21611 if test "x$ac_cv_header_ext_hash_map" = xyes
; then :
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21613 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21614 if ${wx_cv_class_gnuhashmapset+:} false
; then :
21615 $as_echo_n "(cached) " >&6
21617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21618 /* end confdefs.h. */
21619 #include <ext/hash_map>
21620 #include <ext/hash_set>
21624 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21625 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21630 if ac_fn_cxx_try_compile
"$LINENO"; then :
21631 wx_cv_class_gnuhashmapset
=yes
21633 wx_cv_class_gnuhashmapset
=no
21635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21640 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21650 ac_cpp
='$CXXCPP $CPPFLAGS'
21651 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21652 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21653 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21655 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21656 if test -z "$CXXCPP"; then
21657 if ${ac_cv_prog_CXXCPP+:} false
; then :
21658 $as_echo_n "(cached) " >&6
21660 # Double quotes because CXXCPP needs to be expanded
21661 for CXXCPP
in "$CXX -E" "/lib/cpp"
21663 ac_preproc_ok
=false
21664 for ac_cxx_preproc_warn_flag
in '' yes
21666 # Use a header file that comes with gcc, so configuring glibc
21667 # with a fresh cross-compiler works.
21668 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21669 # <limits.h> exists even on freestanding compilers.
21670 # On the NeXT, cc -E runs the code through the compiler's parser,
21671 # not just through cpp. "Syntax error" is here to catch this case.
21672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21673 /* end confdefs.h. */
21675 # include <limits.h>
21677 # include <assert.h>
21681 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21684 # Broken: fails on valid input.
21687 rm -f conftest.err conftest.i conftest.
$ac_ext
21689 # OK, works on sane cases. Now check whether nonexistent headers
21690 # can be detected and how.
21691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21692 /* end confdefs.h. */
21693 #include <ac_nonexistent.h>
21695 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21696 # Broken: success on invalid input.
21699 # Passes both tests.
21703 rm -f conftest.err conftest.i conftest.
$ac_ext
21706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21707 rm -f conftest.i conftest.err conftest.
$ac_ext
21708 if $ac_preproc_ok; then :
21713 ac_cv_prog_CXXCPP
=$CXXCPP
21716 CXXCPP
=$ac_cv_prog_CXXCPP
21718 ac_cv_prog_CXXCPP
=$CXXCPP
21720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21721 $as_echo "$CXXCPP" >&6; }
21722 ac_preproc_ok
=false
21723 for ac_cxx_preproc_warn_flag
in '' yes
21725 # Use a header file that comes with gcc, so configuring glibc
21726 # with a fresh cross-compiler works.
21727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21728 # <limits.h> exists even on freestanding compilers.
21729 # On the NeXT, cc -E runs the code through the compiler's parser,
21730 # not just through cpp. "Syntax error" is here to catch this case.
21731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21732 /* end confdefs.h. */
21734 # include <limits.h>
21736 # include <assert.h>
21740 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21743 # Broken: fails on valid input.
21746 rm -f conftest.err conftest.i conftest.
$ac_ext
21748 # OK, works on sane cases. Now check whether nonexistent headers
21749 # can be detected and how.
21750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21751 /* end confdefs.h. */
21752 #include <ac_nonexistent.h>
21754 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21755 # Broken: success on invalid input.
21758 # Passes both tests.
21762 rm -f conftest.err conftest.i conftest.
$ac_ext
21765 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21766 rm -f conftest.i conftest.err conftest.
$ac_ext
21767 if $ac_preproc_ok; then :
21770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21772 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21773 See \`config.log' for more details" "$LINENO" 5; }
21777 ac_cpp
='$CXXCPP $CPPFLAGS'
21778 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21779 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21780 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21783 for ac_header
in type_traits tr
1/type_traits
21785 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21786 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21787 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21788 cat >>confdefs.h
<<_ACEOF
21789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21799 if test -n "$GCC"; then
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21801 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21802 if ${wx_cv_cc_gcc_atomic_builtins+:} false
; then :
21803 $as_echo_n "(cached) " >&6
21806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21807 /* end confdefs.h. */
21813 unsigned int value=0;
21814 /* wxAtomicInc doesn't use return value here */
21815 __sync_fetch_and_add(&value, 2);
21816 __sync_sub_and_fetch(&value, 1);
21817 /* but wxAtomicDec does, so mimic that: */
21818 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21824 if ac_fn_cxx_try_link
"$LINENO"; then :
21825 wx_cv_cc_gcc_atomic_builtins
=yes
21827 wx_cv_cc_gcc_atomic_builtins
=no
21829 rm -f core conftest.err conftest.
$ac_objext \
21830 conftest
$ac_exeext conftest.
$ac_ext
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21835 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21836 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21837 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21844 ac_cpp
='$CPP $CPPFLAGS'
21845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21852 /usr/local/include \
21853 /usr/local/X11/include \
21854 /usr/local/include/X11 \
21855 /usr/local/X11R7/include \
21856 /usr/local/X11R6/include \
21857 /usr/local/include/X11R7 \
21858 /usr/local/include/X11R6 \
21860 /usr/Motif-2.1/include \
21861 /usr/Motif-1.2/include \
21862 /usr/include/Motif1.2 \
21865 /usr/openwin/include \
21869 /usr/X11R7/include \
21870 /usr/X11R6/include \
21871 /usr/X11R6.4/include \
21873 /usr/include/X11R7 \
21874 /usr/include/X11R6 \
21879 /usr/XFree86/include/X11 \
21882 /usr/local/X1R5/include \
21883 /usr/local/include/X11R5 \
21884 /usr/X11R5/include \
21885 /usr/include/X11R5 \
21887 /usr/local/X11R4/include \
21888 /usr/local/include/X11R4 \
21889 /usr/X11R4/include \
21890 /usr/include/X11R4 \
21892 /usr/openwin/share/include"
21894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21895 $as_echo_n "checking for libraries directories... " >&6; }
21899 if ${wx_cv_std_libpath+:} false
; then :
21900 $as_echo_n "(cached) " >&6
21903 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
21904 for e
in a so sl dylib dll.a
; do
21906 if test -f $libc; then
21909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21910 /* end confdefs.h. */
21912 int main() { return 0; }
21915 if ac_fn_c_try_link
"$LINENO"; then :
21916 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
21918 rm -f core conftest.err conftest.
$ac_objext \
21919 conftest
$ac_exeext conftest.
$ac_ext
21921 if test "x$wx_cv_std_libpath" != "x"; then
21934 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21935 wx_cv_std_libpath
="lib/64"
21940 if test "$ac_cv_sizeof_void_p" = 8; then
21941 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21942 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
21943 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21944 wx_cv_std_libpath
="lib64"
21949 if test -d '/usr/lib/i386-linux-gnu'; then
21950 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
21955 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21956 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
21961 if test -z "$wx_cv_std_libpath"; then
21962 wx_cv_std_libpath
="lib"
21965 if test -z "$wx_cv_std_libfullpath"; then
21966 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21971 $as_echo "$wx_cv_std_libfullpath" >&6; }
21973 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21975 if test "$build" != "$host" -a "$GCC" = yes; then
21976 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
21977 cross_root
=`dirname $cross_root`
21978 cross_root
=`dirname $cross_root`
21980 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21981 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21982 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
21984 if test -z "$PKG_CONFIG_PATH"; then
21985 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21986 export PKG_CONFIG_PATH
21989 if test -z "$x_includes" -o "$x_includes" = NONE
; then
21992 for ac_dir
in $SEARCH_INCLUDE /usr
/include
21994 if test -f "$ac_dir/X11/Intrinsic.h"; then
21995 ac_find_includes
=$ac_dir
22000 x_includes
=$ac_find_includes
22002 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22005 for ac_dir
in $SEARCH_LIB
22007 for ac_extension
in a so sl dylib dll.a
; do
22008 if test -f "$ac_dir/libXt.$ac_extension"; then
22009 ac_find_libraries
=$ac_dir
22015 x_libraries
=$ac_find_libraries
22021 cat >confcache
<<\_ACEOF
22022 # This file is a shell script that caches the results of configure
22023 # tests run on this system so they can be shared between configure
22024 # scripts and configure runs, see configure's option --config-cache.
22025 # It is not useful on other systems. If it contains results you don't
22026 # want to keep, you may remove or edit it.
22028 # config.status only pays attention to the cache file if you give it
22029 # the --recheck option to rerun configure.
22031 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22032 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22033 # following values.
22037 # The following way of writing the cache mishandles newlines in values,
22038 # but we know of no workaround that is simple, portable, and efficient.
22039 # So, we kill variables containing newlines.
22040 # Ultrix sh set writes to stderr and can't be redirected directly,
22041 # and sets the high bit in the cache file unless we assign to the vars.
22043 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22044 eval ac_val
=\$
$ac_var
22048 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22049 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22052 _
| IFS
| as_nl
) ;; #(
22053 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22054 *) { eval $ac_var=; unset $ac_var;} ;;
22060 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22061 *${as_nl}ac_space
=\
*)
22062 # `set' does not quote correctly, so add quotes: double-quote
22063 # substitution turns \\\\ into \\, and sed turns \\ into \.
22066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22069 # `set' quotes correctly as required by POSIX, so do not add quotes.
22070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22081 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22083 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22084 if test -w "$cache_file"; then
22085 if test "x$cache_file" != "x/dev/null"; then
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22087 $as_echo "$as_me: updating cache $cache_file" >&6;}
22088 if test ! -f "$cache_file" || test -h "$cache_file"; then
22089 cat confcache
>"$cache_file"
22091 case $cache_file in #(
22093 mv -f confcache
"$cache_file"$$
&&
22094 mv -f "$cache_file"$$
"$cache_file" ;; #(
22096 mv -f confcache
"$cache_file" ;;
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22102 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22111 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22112 if test "x$ac_cv_func_cos" = xyes
; then :
22113 cat >>confdefs.h
<<_ACEOF
22120 for ac_func
in floor
22122 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22123 if test "x$ac_cv_func_floor" = xyes
; then :
22124 cat >>confdefs.h
<<_ACEOF
22125 #define HAVE_FLOOR 1
22131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22132 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22133 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22135 $as_echo "yes" >&6; }
22137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22138 $as_echo "no" >&6; }
22140 # use different functions to avoid configure caching
22145 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22146 if test "x$ac_cv_func_sin" = xyes
; then :
22147 cat >>confdefs.h
<<_ACEOF
22154 for ac_func
in ceil
22156 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22157 if test "x$ac_cv_func_ceil" = xyes
; then :
22158 cat >>confdefs.h
<<_ACEOF
22159 #define HAVE_CEIL 1
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22166 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22167 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22169 $as_echo "yes" >&6; }
22171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22172 $as_echo "no" >&6; }
22173 # not sure we should warn the user, crash, etc.
22178 ac_cpp
='$CXXCPP $CPPFLAGS'
22179 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22180 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22181 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22183 if test "wxUSE_UNICODE" = "yes"; then
22185 for wx_func
in wcstoull
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22188 $as_echo_n "checking for $wx_func... " >&6; }
22189 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22190 $as_echo_n "(cached) " >&6
22193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22194 /* end confdefs.h. */
22198 $ac_includes_default
22214 if ac_fn_cxx_try_link
"$LINENO"; then :
22215 eval wx_cv_func_
$wx_func=yes
22217 eval wx_cv_func_
$wx_func=no
22219 rm -f core conftest.err conftest.
$ac_objext \
22220 conftest
$ac_exeext conftest.
$ac_ext
22223 eval ac_res
=\
$wx_cv_func_$wx_func
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22225 $as_echo "$ac_res" >&6; }
22227 if eval test \
$wx_cv_func_$wx_func = yes
22229 cat >>confdefs.h
<<_ACEOF
22230 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22242 for wx_func
in strtoull
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22245 $as_echo_n "checking for $wx_func... " >&6; }
22246 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22247 $as_echo_n "(cached) " >&6
22250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22251 /* end confdefs.h. */
22255 $ac_includes_default
22271 if ac_fn_cxx_try_link
"$LINENO"; then :
22272 eval wx_cv_func_
$wx_func=yes
22274 eval wx_cv_func_
$wx_func=no
22276 rm -f core conftest.err conftest.
$ac_objext \
22277 conftest
$ac_exeext conftest.
$ac_ext
22280 eval ac_res
=\
$wx_cv_func_$wx_func
22281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22282 $as_echo "$ac_res" >&6; }
22284 if eval test \
$wx_cv_func_$wx_func = yes
22286 cat >>confdefs.h
<<_ACEOF
22287 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22299 ac_cpp
='$CPP $CPPFLAGS'
22300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22307 if test "$wxUSE_REGEX" != "no"; then
22308 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22311 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22313 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22314 wxUSE_REGEX
=builtin
22317 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22318 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22320 if test "x$ac_cv_header_regex_h" = xyes
; then :
22321 for ac_func
in regcomp re_search
22323 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22324 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22325 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22326 cat >>confdefs.h
<<_ACEOF
22327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22337 if test "x$ac_cv_func_regcomp" != "xyes"; then
22338 if test "$wxUSE_REGEX" = "sys" ; then
22339 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22342 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22343 wxUSE_REGEX
=builtin
22347 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22355 if test "$wxUSE_ZLIB" != "no" ; then
22356 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22359 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22360 if test "$USE_DARWIN" = 1; then
22361 system_zlib_h_ok
="yes"
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22364 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22365 if ${ac_cv_header_zlib_h+:} false
; then :
22366 $as_echo_n "(cached) " >&6
22368 if test "$cross_compiling" = yes; then :
22369 unset ac_cv_header_zlib_h
22372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22373 /* end confdefs.h. */
22380 FILE *f=fopen("conftestval", "w");
22383 ZLIB_VERSION[0] == '1' &&
22384 (ZLIB_VERSION[2] > '1' ||
22385 (ZLIB_VERSION[2] == '1' &&
22386 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22391 if ac_fn_c_try_run
"$LINENO"; then :
22392 ac_cv_header_zlib_h
=`cat conftestval`
22394 ac_cv_header_zlib_h
=no
22396 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22397 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22403 $as_echo "$ac_cv_header_zlib_h" >&6; }
22404 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22406 if test "x$ac_cv_header_zlib_h" = xyes
; then :
22412 system_zlib_h_ok
=$ac_cv_header_zlib_h
22415 if test "$system_zlib_h_ok" = "yes"; then
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22417 $as_echo_n "checking for deflate in -lz... " >&6; }
22418 if ${ac_cv_lib_z_deflate+:} false
; then :
22419 $as_echo_n "(cached) " >&6
22421 ac_check_lib_save_LIBS
=$LIBS
22423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22424 /* end confdefs.h. */
22426 /* Override any GCC internal prototype to avoid an error.
22427 Use char because int might match the return type of a GCC
22428 builtin and then its argument prototype would still apply. */
22441 if ac_fn_c_try_link
"$LINENO"; then :
22442 ac_cv_lib_z_deflate
=yes
22444 ac_cv_lib_z_deflate
=no
22446 rm -f core conftest.err conftest.
$ac_objext \
22447 conftest
$ac_exeext conftest.
$ac_ext
22448 LIBS
=$ac_check_lib_save_LIBS
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22451 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22452 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
22458 if test "x$ZLIB_LINK" = "x" ; then
22459 if test "$wxUSE_ZLIB" = "sys" ; then
22460 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22463 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22474 if test "$wxUSE_LIBPNG" != "no" ; then
22475 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22478 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22480 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22481 wxUSE_LIBPNG
=builtin
22484 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22486 $as_echo_n "checking for png.h > 0.90... " >&6; }
22487 if ${ac_cv_header_png_h+:} false
; then :
22488 $as_echo_n "(cached) " >&6
22490 if test "$cross_compiling" = yes; then :
22491 unset ac_cv_header_png_h
22494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22495 /* end confdefs.h. */
22502 FILE *f=fopen("conftestval", "w");
22505 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22510 if ac_fn_c_try_run
"$LINENO"; then :
22511 ac_cv_header_png_h
=`cat conftestval`
22513 ac_cv_header_png_h
=no
22515 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22516 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22522 $as_echo "$ac_cv_header_png_h" >&6; }
22523 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22525 if test "x$ac_cv_header_png_h" = xyes
; then :
22531 if test "$ac_cv_header_png_h" = "yes"; then
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22533 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22534 if ${ac_cv_lib_png_png_sig_cmp+:} false
; then :
22535 $as_echo_n "(cached) " >&6
22537 ac_check_lib_save_LIBS
=$LIBS
22538 LIBS
="-lpng -lz -lm $LIBS"
22539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22540 /* end confdefs.h. */
22542 /* Override any GCC internal prototype to avoid an error.
22543 Use char because int might match the return type of a GCC
22544 builtin and then its argument prototype would still apply. */
22548 char png_sig_cmp ();
22552 return png_sig_cmp ();
22557 if ac_fn_c_try_link
"$LINENO"; then :
22558 ac_cv_lib_png_png_sig_cmp
=yes
22560 ac_cv_lib_png_png_sig_cmp
=no
22562 rm -f core conftest.err conftest.
$ac_objext \
22563 conftest
$ac_exeext conftest.
$ac_ext
22564 LIBS
=$ac_check_lib_save_LIBS
22566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22567 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22568 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes
; then :
22569 PNG_LINK
=" -lpng -lz"
22574 if test "x$PNG_LINK" = "x" ; then
22575 if test "$wxUSE_LIBPNG" = "sys" ; then
22576 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22579 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22580 wxUSE_LIBPNG
=builtin
22590 if test "$wxUSE_LIBJPEG" != "no" ; then
22591 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22594 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22596 $as_echo_n "checking for jpeglib.h... " >&6; }
22597 if ${ac_cv_header_jpeglib_h+:} false
; then :
22598 $as_echo_n "(cached) " >&6
22600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22601 /* end confdefs.h. */
22603 #undef HAVE_STDLIB_H
22605 #include <jpeglib.h>
22616 if ac_fn_c_try_compile
"$LINENO"; then :
22617 ac_cv_header_jpeglib_h
=yes
22619 ac_cv_header_jpeglib_h
=no
22622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22627 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22629 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22631 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22632 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false
; then :
22633 $as_echo_n "(cached) " >&6
22635 ac_check_lib_save_LIBS
=$LIBS
22636 LIBS
="-ljpeg $LIBS"
22637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22638 /* end confdefs.h. */
22640 /* Override any GCC internal prototype to avoid an error.
22641 Use char because int might match the return type of a GCC
22642 builtin and then its argument prototype would still apply. */
22646 char jpeg_read_header ();
22650 return jpeg_read_header ();
22655 if ac_fn_c_try_link
"$LINENO"; then :
22656 ac_cv_lib_jpeg_jpeg_read_header
=yes
22658 ac_cv_lib_jpeg_jpeg_read_header
=no
22660 rm -f core conftest.err conftest.
$ac_objext \
22661 conftest
$ac_exeext conftest.
$ac_ext
22662 LIBS
=$ac_check_lib_save_LIBS
22664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22665 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22666 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes
; then :
22667 JPEG_LINK
=" -ljpeg"
22672 if test "x$JPEG_LINK" = "x" ; then
22673 if test "$wxUSE_LIBJPEG" = "sys" ; then
22674 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22677 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22678 wxUSE_LIBJPEG
=builtin
22683 if test "$wxUSE_MSW" = 1; then
22684 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22686 if test "x$ac_cv_type_boolean" = xyes
; then :
22688 cat >>confdefs.h
<<_ACEOF
22689 #define HAVE_BOOLEAN 1
22693 # The cast to long int works around a bug in the HP C Compiler
22694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22696 # This bug is HP SR number 8606223364.
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22698 $as_echo_n "checking size of boolean... " >&6; }
22699 if ${ac_cv_sizeof_boolean+:} false
; then :
22700 $as_echo_n "(cached) " >&6
22702 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22703 #undef HAVE_BOOLEAN
22705 #include <jpeglib.h>
22710 if test "$ac_cv_type_boolean" = yes; then
22711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22713 as_fn_error
77 "cannot compute sizeof (boolean)
22714 See \`config.log' for more details" "$LINENO" 5; }
22716 ac_cv_sizeof_boolean
=0
22721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22722 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22726 cat >>confdefs.h
<<_ACEOF
22727 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22731 cat >>confdefs.h
<<_ACEOF
22732 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22745 TIFF_PREREQ_LINKS
=-lm
22746 if test "$wxUSE_LIBTIFF" != "no" ; then
22747 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22750 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22751 if test "$wxUSE_LIBJPEG" = "sys"; then
22752 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22754 if test "$wxUSE_ZLIB" = "sys"; then
22755 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22757 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22760 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22763 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22764 if ${ac_cv_lib_tiff_TIFFError+:} false
; then :
22765 $as_echo_n "(cached) " >&6
22767 ac_check_lib_save_LIBS
=$LIBS
22768 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22770 /* end confdefs.h. */
22772 /* Override any GCC internal prototype to avoid an error.
22773 Use char because int might match the return type of a GCC
22774 builtin and then its argument prototype would still apply. */
22782 return TIFFError ();
22787 if ac_fn_c_try_link
"$LINENO"; then :
22788 ac_cv_lib_tiff_TIFFError
=yes
22790 ac_cv_lib_tiff_TIFFError
=no
22792 rm -f core conftest.err conftest.
$ac_objext \
22793 conftest
$ac_exeext conftest.
$ac_ext
22794 LIBS
=$ac_check_lib_save_LIBS
22796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22797 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22798 if test "x$ac_cv_lib_tiff_TIFFError" = xyes
; then :
22799 TIFF_LINK
=" -ltiff"
22807 if test "x$TIFF_LINK" = "x" ; then
22808 if test "$wxUSE_LIBTIFF" = "sys" ; then
22809 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22812 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22813 wxUSE_LIBTIFF
=builtin
22819 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22820 if test "$wxUSE_LIBJPEG" = "no"; then
22821 ac_configure_args
="$ac_configure_args --disable-jpeg"
22825 subdirs
="$subdirs src/tiff"
22831 if test "$wxUSE_EXPAT" != "no"; then
22833 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22835 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22838 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22839 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
22841 if test "x$ac_cv_header_expat_h" = xyes
; then :
22846 if test "x$found_expat_h" = "x1"; then
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22848 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22849 if ${wx_cv_expat_is_not_broken+:} false
; then :
22850 $as_echo_n "(cached) " >&6
22854 ac_cpp
='$CXXCPP $CPPFLAGS'
22855 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22856 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22857 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22860 /* end confdefs.h. */
22870 if ac_fn_cxx_try_compile
"$LINENO"; then :
22871 wx_cv_expat_is_not_broken
=yes
22873 wx_cv_expat_is_not_broken
=no
22876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22878 ac_cpp
='$CPP $CPPFLAGS'
22879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22887 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22888 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22890 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22891 if ${ac_cv_lib_expat_XML_ParserCreate+:} false
; then :
22892 $as_echo_n "(cached) " >&6
22894 ac_check_lib_save_LIBS
=$LIBS
22895 LIBS
="-lexpat $LIBS"
22896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22897 /* end confdefs.h. */
22899 /* Override any GCC internal prototype to avoid an error.
22900 Use char because int might match the return type of a GCC
22901 builtin and then its argument prototype would still apply. */
22905 char XML_ParserCreate ();
22909 return XML_ParserCreate ();
22914 if ac_fn_c_try_link
"$LINENO"; then :
22915 ac_cv_lib_expat_XML_ParserCreate
=yes
22917 ac_cv_lib_expat_XML_ParserCreate
=no
22919 rm -f core conftest.err conftest.
$ac_objext \
22920 conftest
$ac_exeext conftest.
$ac_ext
22921 LIBS
=$ac_check_lib_save_LIBS
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22924 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22925 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
; then :
22926 EXPAT_LINK
=" -lexpat"
22931 if test "x$EXPAT_LINK" = "x" ; then
22932 if test "$wxUSE_EXPAT" = "sys" ; then
22933 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22936 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22937 wxUSE_EXPAT
=builtin
22943 if test "$wxUSE_EXPAT" = "builtin" ; then
22944 subdirs
="$subdirs src/expat"
22951 if test "$wxUSE_LIBMSPACK" != "no"; then
22952 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22954 if test "x$ac_cv_header_mspack_h" = xyes
; then :
22959 if test "x$found_mspack_h" = "x1"; then
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22961 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22962 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false
; then :
22963 $as_echo_n "(cached) " >&6
22965 ac_check_lib_save_LIBS
=$LIBS
22966 LIBS
="-lmspack $LIBS"
22967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22968 /* end confdefs.h. */
22970 /* Override any GCC internal prototype to avoid an error.
22971 Use char because int might match the return type of a GCC
22972 builtin and then its argument prototype would still apply. */
22976 char mspack_create_chm_decompressor ();
22980 return mspack_create_chm_decompressor ();
22985 if ac_fn_c_try_link
"$LINENO"; then :
22986 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22988 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22990 rm -f core conftest.err conftest.
$ac_objext \
22991 conftest
$ac_exeext conftest.
$ac_ext
22992 LIBS
=$ac_check_lib_save_LIBS
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22995 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22996 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes
; then :
22997 MSPACK_LINK
=" -lmspack"
23001 if test "x$MSPACK_LINK" = "x" ; then
23006 if test "$wxUSE_LIBMSPACK" != "no"; then
23007 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23020 if test "$USE_WIN32" = 1 ; then
23021 for ac_header
in w32api.h
23023 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23025 if test "x$ac_cv_header_w32api_h" = xyes
; then :
23026 cat >>confdefs.h
<<_ACEOF
23027 #define HAVE_W32API_H 1
23034 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
23036 if test "x$ac_cv_header_windows_h" = xyes
; then :
23040 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23046 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23048 x86_64
-*-mingw32* )
23049 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
23052 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23053 LIBS
="$LIBS -loleacc"
23058 LIBS
="$LIBS -lkernel32 -luser32"
23061 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23062 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
23064 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23066 WIN32INSTALL
=win32install
23069 if test "$wxUSE_GUI" = "yes"; then
23080 if test "$wxUSE_OLD_COCOA" = 1 ; then
23081 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23083 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23084 wxUSE_PRINTING_ARCHITECTURE
=no
23086 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23088 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23089 wxUSE_DRAG_AND_DROP
=no
23091 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23093 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23098 if test "$wxUSE_MSW" = 1 ; then
23104 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23108 if test "$wxUSE_GTK" = 1; then
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23110 $as_echo_n "checking for GTK+ version... " >&6; }
23112 gtk_version_cached
=1
23113 if ${wx_cv_lib_gtk+:} false
; then :
23114 $as_echo_n "(cached) " >&6
23117 gtk_version_cached
=0
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23122 if test "$wxUSE_THREADS" = "yes"; then
23123 GTK_MODULES
=gthread
23126 if test -z "$wxGTK_VERSION"; then
23131 if test "x$wxGTK_VERSION" != "x1"
23135 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23140 if test "$wxGTK_VERSION" != 3; then
23141 # Check whether --enable-gtktest was given.
23142 if test "${enable_gtktest+set}" = set; then :
23143 enableval
=$enable_gtktest;
23149 pkg_config_args
=gtk
+-2.0
23150 for module
in .
$GTK_MODULES
23154 pkg_config_args
="$pkg_config_args gthread-2.0"
23161 # Extract the first word of "pkg-config", so it can be a program name with args.
23162 set dummy pkg
-config; ac_word
=$2
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23164 $as_echo_n "checking for $ac_word... " >&6; }
23165 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23166 $as_echo_n "(cached) " >&6
23168 case $PKG_CONFIG in
23170 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23174 for as_dir
in $PATH
23177 test -z "$as_dir" && as_dir
=.
23178 for ac_exec_ext
in '' $ac_executable_extensions; do
23179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23180 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23188 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23192 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23193 if test -n "$PKG_CONFIG"; then
23194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23195 $as_echo "$PKG_CONFIG" >&6; }
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23198 $as_echo "no" >&6; }
23203 if test x
$PKG_CONFIG != xno
; then
23204 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23207 echo "*** pkg-config too old; version 0.7 or better required."
23215 min_gtk_version
=2.6.0
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23217 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23219 if test x
$PKG_CONFIG != xno
; then
23220 ## don't try to run the test against uninstalled libtool libs
23221 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23222 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23226 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23233 if test x
"$no_gtk" = x
; then
23234 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23235 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23236 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23237 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23238 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23240 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23242 if test "x$enable_gtktest" = "xyes" ; then
23243 ac_save_CFLAGS
="$CFLAGS"
23244 ac_save_LIBS
="$LIBS"
23245 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23246 LIBS
="$GTK_LIBS $LIBS"
23248 if test "$cross_compiling" = yes; then :
23249 echo $ac_n "cross compiling; assumed OK... $ac_c"
23251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23252 /* end confdefs.h. */
23254 #include <gtk/gtk.h>
23256 #include <stdlib.h>
23261 int major, minor, micro;
23264 system ("touch conf.gtktest");
23266 /* HP/UX 9 (%@#!) writes to sscanf strings */
23267 tmp_version = g_strdup("$min_gtk_version");
23268 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23269 printf("%s, bad version string\n", "$min_gtk_version");
23273 if ((gtk_major_version != $gtk_config_major_version) ||
23274 (gtk_minor_version != $gtk_config_minor_version) ||
23275 (gtk_micro_version != $gtk_config_micro_version))
23277 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23278 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23279 gtk_major_version, gtk_minor_version, gtk_micro_version);
23280 printf ("*** was found! If pkg-config was correct, then it is best\n");
23281 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23282 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23283 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23284 printf("*** required on your system.\n");
23285 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23286 printf("*** to point to the correct configuration files\n");
23288 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23289 (gtk_minor_version != GTK_MINOR_VERSION) ||
23290 (gtk_micro_version != GTK_MICRO_VERSION))
23292 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23293 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23294 printf("*** library (version %d.%d.%d)\n",
23295 gtk_major_version, gtk_minor_version, gtk_micro_version);
23299 if ((gtk_major_version > major) ||
23300 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23301 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23307 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23308 gtk_major_version, gtk_minor_version, gtk_micro_version);
23309 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23310 major, minor, micro);
23311 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23313 printf("*** If you have already installed a sufficiently new version, this error\n");
23314 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23315 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23316 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23317 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23318 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23319 printf("*** so that the correct libraries are found at run-time))\n");
23326 if ac_fn_c_try_run
"$LINENO"; then :
23331 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23332 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23335 CFLAGS
="$ac_save_CFLAGS"
23336 LIBS
="$ac_save_LIBS"
23339 if test "x$no_gtk" = x
; then
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23341 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23345 $as_echo "no" >&6; }
23346 if test "$PKG_CONFIG" = "no" ; then
23347 echo "*** A new enough version of pkg-config was not found."
23348 echo "*** See http://pkgconfig.sourceforge.net"
23350 if test -f conf.gtktest
; then
23353 echo "*** Could not run GTK+ test program, checking why..."
23354 ac_save_CFLAGS
="$CFLAGS"
23355 ac_save_LIBS
="$LIBS"
23356 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23357 LIBS
="$LIBS $GTK_LIBS"
23358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23359 /* end confdefs.h. */
23361 #include <gtk/gtk.h>
23367 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23372 if ac_fn_c_try_link
"$LINENO"; then :
23373 echo "*** The test program compiled, but did not run. This usually means"
23374 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23375 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23376 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23377 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23378 echo "*** is required on your system"
23380 echo "*** If you have an old version installed, it is best to remove it, although"
23381 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23383 echo "*** The test program failed to compile or link. See the file config.log for the"
23384 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23386 rm -f core conftest.err conftest.
$ac_objext \
23387 conftest
$ac_exeext conftest.
$ac_ext
23388 CFLAGS
="$ac_save_CFLAGS"
23389 LIBS
="$ac_save_LIBS"
23401 if test -z "$wx_cv_lib_gtk"; then
23402 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23403 # Check whether --enable-gtktest was given.
23404 if test "${enable_gtktest+set}" = set; then :
23405 enableval
=$enable_gtktest;
23411 pkg_config_args
=gtk
+-3.0
23412 for module
in .
$GTK_MODULES
23416 pkg_config_args
="$pkg_config_args gthread-2.0"
23423 # Extract the first word of "pkg-config", so it can be a program name with args.
23424 set dummy pkg
-config; ac_word
=$2
23425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23426 $as_echo_n "checking for $ac_word... " >&6; }
23427 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23428 $as_echo_n "(cached) " >&6
23430 case $PKG_CONFIG in
23432 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23436 for as_dir
in $PATH
23439 test -z "$as_dir" && as_dir
=.
23440 for ac_exec_ext
in '' $ac_executable_extensions; do
23441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23442 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23450 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23454 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23455 if test -n "$PKG_CONFIG"; then
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23457 $as_echo "$PKG_CONFIG" >&6; }
23459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23460 $as_echo "no" >&6; }
23465 if test x
$PKG_CONFIG != xno
; then
23466 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23469 echo "*** pkg-config too old; version 0.7 or better required."
23477 min_gtk_version
=3.0.0
23478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23479 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23481 if test x
$PKG_CONFIG != xno
; then
23482 ## don't try to run the test against uninstalled libtool libs
23483 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23484 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23488 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23495 if test x
"$no_gtk" = x
; then
23496 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23497 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23498 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23500 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23501 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23502 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23503 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23504 if test "x$enable_gtktest" = "xyes" ; then
23505 ac_save_CFLAGS
="$CFLAGS"
23506 ac_save_LIBS
="$LIBS"
23507 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23508 LIBS
="$GTK_LIBS $LIBS"
23510 if test "$cross_compiling" = yes; then :
23511 echo $ac_n "cross compiling; assumed OK... $ac_c"
23513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23514 /* end confdefs.h. */
23516 #include <gtk/gtk.h>
23518 #include <stdlib.h>
23523 int major, minor, micro;
23526 fclose (fopen ("conf.gtktest", "w"));
23528 /* HP/UX 9 (%@#!) writes to sscanf strings */
23529 tmp_version = g_strdup("$min_gtk_version");
23530 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23531 printf("%s, bad version string\n", "$min_gtk_version");
23535 if ((gtk_major_version != $gtk_config_major_version) ||
23536 (gtk_minor_version != $gtk_config_minor_version) ||
23537 (gtk_micro_version != $gtk_config_micro_version))
23539 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23540 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23541 gtk_major_version, gtk_minor_version, gtk_micro_version);
23542 printf ("*** was found! If pkg-config was correct, then it is best\n");
23543 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23544 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23545 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23546 printf("*** required on your system.\n");
23547 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23548 printf("*** to point to the correct configuration files\n");
23550 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23551 (gtk_minor_version != GTK_MINOR_VERSION) ||
23552 (gtk_micro_version != GTK_MICRO_VERSION))
23554 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23555 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23556 printf("*** library (version %d.%d.%d)\n",
23557 gtk_major_version, gtk_minor_version, gtk_micro_version);
23561 if ((gtk_major_version > major) ||
23562 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23563 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23569 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23570 gtk_major_version, gtk_minor_version, gtk_micro_version);
23571 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23572 major, minor, micro);
23573 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23575 printf("*** If you have already installed a sufficiently new version, this error\n");
23576 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23577 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23578 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23579 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23580 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23581 printf("*** so that the correct libraries are found at run-time))\n");
23588 if ac_fn_c_try_run
"$LINENO"; then :
23593 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23594 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23597 CFLAGS
="$ac_save_CFLAGS"
23598 LIBS
="$ac_save_LIBS"
23601 if test "x$no_gtk" = x
; then
23602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23603 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23607 $as_echo "no" >&6; }
23608 if test "$PKG_CONFIG" = "no" ; then
23609 echo "*** A new enough version of pkg-config was not found."
23610 echo "*** See http://pkgconfig.sourceforge.net"
23612 if test -f conf.gtktest
; then
23615 echo "*** Could not run GTK+ test program, checking why..."
23616 ac_save_CFLAGS
="$CFLAGS"
23617 ac_save_LIBS
="$LIBS"
23618 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23619 LIBS
="$LIBS $GTK_LIBS"
23620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23621 /* end confdefs.h. */
23623 #include <gtk/gtk.h>
23629 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23634 if ac_fn_c_try_link
"$LINENO"; then :
23635 echo "*** The test program compiled, but did not run. This usually means"
23636 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23637 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23638 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23639 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23640 echo "*** is required on your system"
23642 echo "*** If you have an old version installed, it is best to remove it, although"
23643 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23645 echo "*** The test program failed to compile or link. See the file config.log for the"
23646 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23648 rm -f core conftest.err conftest.
$ac_objext \
23649 conftest
$ac_exeext conftest.
$ac_ext
23650 CFLAGS
="$ac_save_CFLAGS"
23651 LIBS
="$ac_save_LIBS"
23666 if test -z "$wx_cv_lib_gtk"; then
23667 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23669 # Check whether --with-gtk-prefix was given.
23670 if test "${with_gtk_prefix+set}" = set; then :
23671 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23673 gtk_config_prefix
=""
23677 # Check whether --with-gtk-exec-prefix was given.
23678 if test "${with_gtk_exec_prefix+set}" = set; then :
23679 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23681 gtk_config_exec_prefix
=""
23684 # Check whether --enable-gtktest was given.
23685 if test "${enable_gtktest+set}" = set; then :
23686 enableval
=$enable_gtktest;
23692 for module
in .
$GTK_MODULES
23696 gtk_config_args
="$gtk_config_args gthread"
23701 if test x
$gtk_config_exec_prefix != x
; then
23702 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23703 if test x
${GTK_CONFIG+set} != xset
; then
23704 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23707 if test x
$gtk_config_prefix != x
; then
23708 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23709 if test x
${GTK_CONFIG+set} != xset
; then
23710 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23714 # Extract the first word of "gtk-config", so it can be a program name with args.
23715 set dummy gtk
-config; ac_word
=$2
23716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23717 $as_echo_n "checking for $ac_word... " >&6; }
23718 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23719 $as_echo_n "(cached) " >&6
23721 case $GTK_CONFIG in
23723 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23727 for as_dir
in $PATH
23730 test -z "$as_dir" && as_dir
=.
23731 for ac_exec_ext
in '' $ac_executable_extensions; do
23732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23733 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23741 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23745 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23746 if test -n "$GTK_CONFIG"; then
23747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23748 $as_echo "$GTK_CONFIG" >&6; }
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23751 $as_echo "no" >&6; }
23755 min_gtk_version
=1.2.7
23756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23757 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23759 if test "$GTK_CONFIG" = "no" ; then
23762 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23763 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23764 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23766 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23768 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23770 if test "x$enable_gtktest" = "xyes" ; then
23771 ac_save_CFLAGS
="$CFLAGS"
23772 ac_save_LIBS
="$LIBS"
23773 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23774 LIBS
="$GTK_LIBS $LIBS"
23776 if test "$cross_compiling" = yes; then :
23777 echo $ac_n "cross compiling; assumed OK... $ac_c"
23779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23780 /* end confdefs.h. */
23782 #include <gtk/gtk.h>
23784 #include <stdlib.h>
23789 int major, minor, micro;
23792 system ("touch conf.gtktest");
23794 /* HP/UX 9 (%@#!) writes to sscanf strings */
23795 tmp_version = g_strdup("$min_gtk_version");
23796 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23797 printf("%s, bad version string\n", "$min_gtk_version");
23801 if ((gtk_major_version != $gtk_config_major_version) ||
23802 (gtk_minor_version != $gtk_config_minor_version) ||
23803 (gtk_micro_version != $gtk_config_micro_version))
23805 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23806 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23807 gtk_major_version, gtk_minor_version, gtk_micro_version);
23808 printf ("*** was found! If gtk-config was correct, then it is best\n");
23809 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23810 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23811 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23812 printf("*** required on your system.\n");
23813 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23814 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23815 printf("*** before re-running configure\n");
23817 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23818 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23819 (gtk_minor_version != GTK_MINOR_VERSION) ||
23820 (gtk_micro_version != GTK_MICRO_VERSION))
23822 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23823 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23824 printf("*** library (version %d.%d.%d)\n",
23825 gtk_major_version, gtk_minor_version, gtk_micro_version);
23827 #endif /* defined (GTK_MAJOR_VERSION) ... */
23830 if ((gtk_major_version > major) ||
23831 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23832 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23838 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23839 gtk_major_version, gtk_minor_version, gtk_micro_version);
23840 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23841 major, minor, micro);
23842 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23844 printf("*** If you have already installed a sufficiently new version, this error\n");
23845 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23846 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23847 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23848 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23849 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23850 printf("*** so that the correct libraries are found at run-time))\n");
23857 if ac_fn_c_try_run
"$LINENO"; then :
23862 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23863 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23866 CFLAGS
="$ac_save_CFLAGS"
23867 LIBS
="$ac_save_LIBS"
23870 if test "x$no_gtk" = x
; then
23871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23872 $as_echo "yes" >&6; }
23873 wx_cv_lib_gtk
=1.2.7
23875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23876 $as_echo "no" >&6; }
23877 if test "$GTK_CONFIG" = "no" ; then
23878 echo "*** The gtk-config script installed by GTK could not be found"
23879 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23880 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23881 echo "*** full path to gtk-config."
23883 if test -f conf.gtktest
; then
23886 echo "*** Could not run GTK test program, checking why..."
23887 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23888 LIBS
="$LIBS $GTK_LIBS"
23889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23890 /* end confdefs.h. */
23892 #include <gtk/gtk.h>
23898 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23903 if ac_fn_c_try_link
"$LINENO"; then :
23904 echo "*** The test program compiled, but did not run. This usually means"
23905 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23906 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23907 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23908 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23909 echo "*** is required on your system"
23911 echo "*** If you have an old version installed, it is best to remove it, although"
23912 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23914 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23915 echo "*** came with the system with the command"
23917 echo "*** rpm --erase --nodeps gtk gtk-devel"
23919 echo "*** The test program failed to compile or link. See the file config.log for the"
23920 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23921 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23922 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23924 rm -f core conftest.err conftest.
$ac_objext \
23925 conftest
$ac_exeext conftest.
$ac_ext
23926 CFLAGS
="$ac_save_CFLAGS"
23927 LIBS
="$ac_save_LIBS"
23939 if test -z "$wx_cv_lib_gtk"; then
23941 # Check whether --with-gtk-prefix was given.
23942 if test "${with_gtk_prefix+set}" = set; then :
23943 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23945 gtk_config_prefix
=""
23949 # Check whether --with-gtk-exec-prefix was given.
23950 if test "${with_gtk_exec_prefix+set}" = set; then :
23951 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23953 gtk_config_exec_prefix
=""
23956 # Check whether --enable-gtktest was given.
23957 if test "${enable_gtktest+set}" = set; then :
23958 enableval
=$enable_gtktest;
23964 for module
in .
$GTK_MODULES
23968 gtk_config_args
="$gtk_config_args gthread"
23973 if test x
$gtk_config_exec_prefix != x
; then
23974 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23975 if test x
${GTK_CONFIG+set} != xset
; then
23976 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23979 if test x
$gtk_config_prefix != x
; then
23980 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23981 if test x
${GTK_CONFIG+set} != xset
; then
23982 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23986 # Extract the first word of "gtk-config", so it can be a program name with args.
23987 set dummy gtk
-config; ac_word
=$2
23988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23989 $as_echo_n "checking for $ac_word... " >&6; }
23990 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23991 $as_echo_n "(cached) " >&6
23993 case $GTK_CONFIG in
23995 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23999 for as_dir
in $PATH
24002 test -z "$as_dir" && as_dir
=.
24003 for ac_exec_ext
in '' $ac_executable_extensions; do
24004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24005 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24013 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24017 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24018 if test -n "$GTK_CONFIG"; then
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24020 $as_echo "$GTK_CONFIG" >&6; }
24022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24023 $as_echo "no" >&6; }
24027 min_gtk_version
=1.2.3
24028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24029 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24031 if test "$GTK_CONFIG" = "no" ; then
24034 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24035 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24036 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24038 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24040 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24042 if test "x$enable_gtktest" = "xyes" ; then
24043 ac_save_CFLAGS
="$CFLAGS"
24044 ac_save_LIBS
="$LIBS"
24045 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24046 LIBS
="$GTK_LIBS $LIBS"
24048 if test "$cross_compiling" = yes; then :
24049 echo $ac_n "cross compiling; assumed OK... $ac_c"
24051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24052 /* end confdefs.h. */
24054 #include <gtk/gtk.h>
24056 #include <stdlib.h>
24061 int major, minor, micro;
24064 system ("touch conf.gtktest");
24066 /* HP/UX 9 (%@#!) writes to sscanf strings */
24067 tmp_version = g_strdup("$min_gtk_version");
24068 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24069 printf("%s, bad version string\n", "$min_gtk_version");
24073 if ((gtk_major_version != $gtk_config_major_version) ||
24074 (gtk_minor_version != $gtk_config_minor_version) ||
24075 (gtk_micro_version != $gtk_config_micro_version))
24077 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24078 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24079 gtk_major_version, gtk_minor_version, gtk_micro_version);
24080 printf ("*** was found! If gtk-config was correct, then it is best\n");
24081 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24082 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24083 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24084 printf("*** required on your system.\n");
24085 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24086 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24087 printf("*** before re-running configure\n");
24089 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24090 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24091 (gtk_minor_version != GTK_MINOR_VERSION) ||
24092 (gtk_micro_version != GTK_MICRO_VERSION))
24094 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24095 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24096 printf("*** library (version %d.%d.%d)\n",
24097 gtk_major_version, gtk_minor_version, gtk_micro_version);
24099 #endif /* defined (GTK_MAJOR_VERSION) ... */
24102 if ((gtk_major_version > major) ||
24103 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24104 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24110 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24111 gtk_major_version, gtk_minor_version, gtk_micro_version);
24112 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24113 major, minor, micro);
24114 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24116 printf("*** If you have already installed a sufficiently new version, this error\n");
24117 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24118 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24119 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24120 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24121 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24122 printf("*** so that the correct libraries are found at run-time))\n");
24129 if ac_fn_c_try_run
"$LINENO"; then :
24134 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24135 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24138 CFLAGS
="$ac_save_CFLAGS"
24139 LIBS
="$ac_save_LIBS"
24142 if test "x$no_gtk" = x
; then
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24144 $as_echo "yes" >&6; }
24145 wx_cv_lib_gtk
=1.2.3
24147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24148 $as_echo "no" >&6; }
24149 if test "$GTK_CONFIG" = "no" ; then
24150 echo "*** The gtk-config script installed by GTK could not be found"
24151 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24152 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24153 echo "*** full path to gtk-config."
24155 if test -f conf.gtktest
; then
24158 echo "*** Could not run GTK test program, checking why..."
24159 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24160 LIBS
="$LIBS $GTK_LIBS"
24161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24162 /* end confdefs.h. */
24164 #include <gtk/gtk.h>
24170 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24175 if ac_fn_c_try_link
"$LINENO"; then :
24176 echo "*** The test program compiled, but did not run. This usually means"
24177 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24178 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24179 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24180 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24181 echo "*** is required on your system"
24183 echo "*** If you have an old version installed, it is best to remove it, although"
24184 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24186 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24187 echo "*** came with the system with the command"
24189 echo "*** rpm --erase --nodeps gtk gtk-devel"
24191 echo "*** The test program failed to compile or link. See the file config.log for the"
24192 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24193 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24194 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24196 rm -f core conftest.err conftest.
$ac_objext \
24197 conftest
$ac_exeext conftest.
$ac_ext
24198 CFLAGS
="$ac_save_CFLAGS"
24199 LIBS
="$ac_save_LIBS"
24214 if test -z "$wx_cv_lib_gtk"; then
24217 GTK_LIBS
="$GTK_LIBS -lX11"
24219 wx_cv_cflags_gtk
=$GTK_CFLAGS
24220 wx_cv_libs_gtk
=$GTK_LIBS
24227 if test "$gtk_version_cached" = 1; then
24228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24229 $as_echo "$wx_cv_lib_gtk" >&6; }
24232 case "$wx_cv_lib_gtk" in
24243 *) as_fn_error $?
"
24244 The development files for GTK+ were not found. For GTK+ 2, please
24245 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24246 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24247 and that the version is 1.2.3 or above. Also check that the
24248 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24249 --libs' are in the LD_LIBRARY_PATH or equivalent.
24254 if test "$WXGTK3" = 1; then
24255 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24257 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24259 elif test "$WXGTK2" = 1; then
24260 save_CFLAGS
="$CFLAGS"
24262 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24263 LIBS
="$LIBS $wx_cv_libs_gtk"
24265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24266 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24268 /* end confdefs.h. */
24270 #include <gtk/gtk.h>
24276 #if !GTK_CHECK_VERSION(2,18,0)
24284 if ac_fn_c_try_compile
"$LINENO"; then :
24286 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24288 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24291 $as_echo "yes" >&6; }
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24297 $as_echo "no" >&6; }
24301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24303 if test "$ac_wxgtk218" = 0; then
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24305 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24307 /* end confdefs.h. */
24309 #include <gtk/gtk.h>
24315 #if !GTK_CHECK_VERSION(2,10,0)
24323 if ac_fn_c_try_compile
"$LINENO"; then :
24325 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24328 $as_echo "yes" >&6; }
24333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24334 $as_echo "no" >&6; }
24338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24341 CFLAGS
="$save_CFLAGS"
24344 if test "$wxUSE_UNICODE" = "yes"; then
24345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24346 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24351 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24352 if ${ac_cv_lib_gdk_gdk_im_open+:} false
; then :
24353 $as_echo_n "(cached) " >&6
24355 ac_check_lib_save_LIBS
=$LIBS
24357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24358 /* end confdefs.h. */
24360 /* Override any GCC internal prototype to avoid an error.
24361 Use char because int might match the return type of a GCC
24362 builtin and then its argument prototype would still apply. */
24366 char gdk_im_open ();
24370 return gdk_im_open ();
24375 if ac_fn_c_try_link
"$LINENO"; then :
24376 ac_cv_lib_gdk_gdk_im_open
=yes
24378 ac_cv_lib_gdk_gdk_im_open
=no
24380 rm -f core conftest.err conftest.
$ac_objext \
24381 conftest
$ac_exeext conftest.
$ac_ext
24382 LIBS
=$ac_check_lib_save_LIBS
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24385 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24386 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes
; then :
24387 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24392 if test "$USE_DARWIN" != 1; then
24393 for ac_func
in poll
24395 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24396 if test "x$ac_cv_func_poll" = xyes
; then :
24397 cat >>confdefs.h
<<_ACEOF
24398 #define HAVE_POLL 1
24407 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24408 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24409 AFMINSTALL
=afminstall
24413 if test "$wxUSE_GPE" = "yes"; then
24414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24415 $as_echo_n "checking for gpewidget library... " >&6; }
24418 for ac_dir
in $SEARCH_LIB
24420 for ac_extension
in a so sl dylib dll.a
; do
24421 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24422 ac_find_libraries
=$ac_dir
24428 if test "$ac_find_libraries" != "" ; then
24430 if test "$ac_find_libraries" = "default location"; then
24433 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24435 if test $result = 0; then
24438 ac_path_to_link
=" -L$ac_find_libraries"
24442 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24445 $as_echo "found in $ac_find_libraries" >&6; }
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24448 $as_echo "not found" >&6; }
24454 if test "$wxUSE_DFB" = 1; then
24457 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24458 if test -n "$ac_tool_prefix"; then
24459 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24460 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24462 $as_echo_n "checking for $ac_word... " >&6; }
24463 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
24464 $as_echo_n "(cached) " >&6
24466 case $PKG_CONFIG in
24468 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24472 for as_dir
in $PATH
24475 test -z "$as_dir" && as_dir
=.
24476 for ac_exec_ext
in '' $ac_executable_extensions; do
24477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24478 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24489 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24490 if test -n "$PKG_CONFIG"; then
24491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24492 $as_echo "$PKG_CONFIG" >&6; }
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24495 $as_echo "no" >&6; }
24500 if test -z "$ac_cv_path_PKG_CONFIG"; then
24501 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24502 # Extract the first word of "pkg-config", so it can be a program name with args.
24503 set dummy pkg
-config; ac_word
=$2
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24505 $as_echo_n "checking for $ac_word... " >&6; }
24506 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
24507 $as_echo_n "(cached) " >&6
24509 case $ac_pt_PKG_CONFIG in
24511 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24515 for as_dir
in $PATH
24518 test -z "$as_dir" && as_dir
=.
24519 for ac_exec_ext
in '' $ac_executable_extensions; do
24520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24521 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24532 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24533 if test -n "$ac_pt_PKG_CONFIG"; then
24534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24535 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24538 $as_echo "no" >&6; }
24541 if test "x$ac_pt_PKG_CONFIG" = x
; then
24544 case $cross_compiling:$ac_tool_warned in
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24548 ac_tool_warned
=yes ;;
24550 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24553 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24557 if test -n "$PKG_CONFIG"; then
24558 _pkg_min_version
=0.9.0
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24560 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24561 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24563 $as_echo "yes" >&6; }
24565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24566 $as_echo "no" >&6; }
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24575 $as_echo_n "checking for DIRECTFB... " >&6; }
24577 if test -n "$PKG_CONFIG"; then
24578 if test -n "$DIRECTFB_CFLAGS"; then
24579 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24581 if test -n "$PKG_CONFIG" && \
24582 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24583 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24586 test $ac_status = 0; }; then
24587 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24595 if test -n "$PKG_CONFIG"; then
24596 if test -n "$DIRECTFB_LIBS"; then
24597 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24599 if test -n "$PKG_CONFIG" && \
24600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24601 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24604 test $ac_status = 0; }; then
24605 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24616 if test $pkg_failed = yes; then
24618 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24619 _pkg_short_errors_supported
=yes
24621 _pkg_short_errors_supported
=no
24623 if test $_pkg_short_errors_supported = yes; then
24624 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24626 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24628 # Put the nasty error message in config.log where it belongs
24629 echo "$DIRECTFB_PKG_ERRORS" >&5
24632 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24635 elif test $pkg_failed = untried
; then
24637 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24641 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24642 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24644 $as_echo "yes" >&6; }
24646 wxUSE_UNIVERSAL
="yes"
24647 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24648 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24655 if test "$wxUSE_MICROWIN" = 1; then
24656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24657 $as_echo_n "checking for MicroWindows... " >&6; }
24658 if test "x$MICROWINDOWS" = x
; then
24659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24660 $as_echo "not found" >&6; }
24661 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24664 $as_echo "$MICROWINDOWS" >&6; }
24667 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24669 $as_echo "MicroWindows' libraries found." >&6; }
24671 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24674 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24675 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24677 wxUSE_UNIVERSAL
="yes"
24679 AFMINSTALL
=afminstall
24681 GUIDIST
=MICROWIN_DIST
24683 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24686 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24688 $as_echo_n "checking for X... " >&6; }
24691 # Check whether --with-x was given.
24692 if test "${with_x+set}" = set; then :
24696 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24697 if test "x$with_x" = xno
; then
24698 # The user explicitly disabled X.
24701 case $x_includes,$x_libraries in #(
24702 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
24703 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
24704 $as_echo_n "(cached) " >&6
24706 # One or both of the vars are not set, and there is no cached value.
24707 ac_x_includes
=no ac_x_libraries
=no
24708 rm -f -r conftest.dir
24709 if mkdir conftest.dir
; then
24711 cat >Imakefile
<<'_ACEOF'
24713 @echo incroot='${INCROOT}'
24715 @echo usrlibdir='${USRLIBDIR}'
24717 @echo libdir='${LIBDIR}'
24719 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24720 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24721 for ac_var
in incroot usrlibdir libdir
; do
24722 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24724 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24725 for ac_extension
in a so sl dylib la dll
; do
24726 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24727 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24728 ac_im_usrlibdir
=$ac_im_libdir; break
24731 # Screen out bogus values from the imake configuration. They are
24732 # bogus both because they are the default anyway, and because
24733 # using them would break gcc on systems where it needs fixed includes.
24734 case $ac_im_incroot in
24735 /usr
/include
) ac_x_includes
= ;;
24736 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24738 case $ac_im_usrlibdir in
24739 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24740 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24744 rm -f -r conftest.dir
24747 # Standard set of common directories for X headers.
24748 # Check X11 before X11Rn because it is often a symlink to the current release.
24762 /usr/local/X11/include
24763 /usr/local/X11R7/include
24764 /usr/local/X11R6/include
24765 /usr/local/X11R5/include
24766 /usr/local/X11R4/include
24768 /usr/local/include/X11
24769 /usr/local/include/X11R7
24770 /usr/local/include/X11R6
24771 /usr/local/include/X11R5
24772 /usr/local/include/X11R4
24776 /usr/XFree86/include/X11
24780 /usr/unsupported/include
24781 /usr/athena/include
24782 /usr/local/x11r5/include
24783 /usr/lpp/Xamples/include
24785 /usr/openwin/include
24786 /usr/openwin/share/include'
24788 if test "$ac_x_includes" = no
; then
24789 # Guess where to find include files, by looking for Xlib.h.
24790 # First, try using that file with no special directory specified.
24791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24792 /* end confdefs.h. */
24793 #include <X11/Xlib.h>
24795 if ac_fn_c_try_cpp
"$LINENO"; then :
24796 # We can compile using X headers with no special include directory.
24799 for ac_dir
in $ac_x_header_dirs; do
24800 if test -r "$ac_dir/X11/Xlib.h"; then
24801 ac_x_includes
=$ac_dir
24806 rm -f conftest.err conftest.i conftest.
$ac_ext
24807 fi # $ac_x_includes = no
24809 if test "$ac_x_libraries" = no
; then
24810 # Check for the libraries.
24811 # See if we find them without any special options.
24812 # Don't add to $LIBS permanently.
24815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24816 /* end confdefs.h. */
24817 #include <X11/Xlib.h>
24826 if ac_fn_c_try_link
"$LINENO"; then :
24828 # We can link X programs with no special library path.
24832 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24834 # Don't even attempt the hair of trying to link an X program!
24835 for ac_extension
in a so sl dylib la dll
; do
24836 if test -r "$ac_dir/libX11.$ac_extension"; then
24837 ac_x_libraries
=$ac_dir
24843 rm -f core conftest.err conftest.
$ac_objext \
24844 conftest
$ac_exeext conftest.
$ac_ext
24845 fi # $ac_x_libraries = no
24847 case $ac_x_includes,$ac_x_libraries in #(
24848 no
,* | *,no
| *\'*)
24849 # Didn't find X, or a directory has "'" in its name.
24850 ac_cv_have_x
="have_x=no";; #(
24852 # Record where we found X for the cache.
24853 ac_cv_have_x
="have_x=yes\
24854 ac_x_includes='$ac_x_includes'\
24855 ac_x_libraries='$ac_x_libraries'"
24861 eval "$ac_cv_have_x"
24864 if test "$have_x" != yes; then
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24866 $as_echo "$have_x" >&6; }
24869 # If each of the values was on the command line, it overrides each guess.
24870 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24871 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24872 # Update the cache value to reflect the command line values.
24873 ac_cv_have_x
="have_x=yes\
24874 ac_x_includes='$x_includes'\
24875 ac_x_libraries='$x_libraries'"
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24877 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24880 if test "$no_x" = yes; then
24881 # Not all programs may use this symbol, but it does not hurt to define it.
24883 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24885 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24887 if test -n "$x_includes"; then
24888 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24891 # It would also be nice to do this for all -L options, not just this one.
24892 if test -n "$x_libraries"; then
24893 X_LIBS
="$X_LIBS -L$x_libraries"
24894 # For Solaris; some versions of Sun CC require a space after -R and
24895 # others require no space. Words are not sufficient . . . .
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24897 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24898 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24899 ac_xsave_c_werror_flag
=$ac_c_werror_flag
24900 ac_c_werror_flag
=yes
24901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24902 /* end confdefs.h. */
24912 if ac_fn_c_try_link
"$LINENO"; then :
24913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24914 $as_echo "no" >&6; }
24915 X_LIBS
="$X_LIBS -R$x_libraries"
24917 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24919 /* end confdefs.h. */
24929 if ac_fn_c_try_link
"$LINENO"; then :
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24931 $as_echo "yes" >&6; }
24932 X_LIBS
="$X_LIBS -R $x_libraries"
24934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24935 $as_echo "neither works" >&6; }
24937 rm -f core conftest.err conftest.
$ac_objext \
24938 conftest
$ac_exeext conftest.
$ac_ext
24940 rm -f core conftest.err conftest.
$ac_objext \
24941 conftest
$ac_exeext conftest.
$ac_ext
24942 ac_c_werror_flag
=$ac_xsave_c_werror_flag
24943 LIBS
=$ac_xsave_LIBS
24946 # Check for system-dependent libraries X programs must link with.
24947 # Do this before checking for the system-independent R6 libraries
24948 # (-lICE), since we may need -lsocket or whatever for X linking.
24950 if test "$ISC" = yes; then
24951 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24953 # Martyn Johnson says this is needed for Ultrix, if the X
24954 # libraries were built with DECnet support. And Karl Berry says
24955 # the Alpha needs dnet_stub (dnet does not exist).
24956 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24958 /* end confdefs.h. */
24960 /* Override any GCC internal prototype to avoid an error.
24961 Use char because int might match the return type of a GCC
24962 builtin and then its argument prototype would still apply. */
24966 char XOpenDisplay ();
24970 return XOpenDisplay ();
24975 if ac_fn_c_try_link
"$LINENO"; then :
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24979 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24980 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
24981 $as_echo_n "(cached) " >&6
24983 ac_check_lib_save_LIBS
=$LIBS
24984 LIBS
="-ldnet $LIBS"
24985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24986 /* end confdefs.h. */
24988 /* Override any GCC internal prototype to avoid an error.
24989 Use char because int might match the return type of a GCC
24990 builtin and then its argument prototype would still apply. */
24998 return dnet_ntoa ();
25003 if ac_fn_c_try_link
"$LINENO"; then :
25004 ac_cv_lib_dnet_dnet_ntoa
=yes
25006 ac_cv_lib_dnet_dnet_ntoa
=no
25008 rm -f core conftest.err conftest.
$ac_objext \
25009 conftest
$ac_exeext conftest.
$ac_ext
25010 LIBS
=$ac_check_lib_save_LIBS
25012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25013 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25014 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
25015 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25018 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25020 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25021 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
25022 $as_echo_n "(cached) " >&6
25024 ac_check_lib_save_LIBS
=$LIBS
25025 LIBS
="-ldnet_stub $LIBS"
25026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25027 /* end confdefs.h. */
25029 /* Override any GCC internal prototype to avoid an error.
25030 Use char because int might match the return type of a GCC
25031 builtin and then its argument prototype would still apply. */
25039 return dnet_ntoa ();
25044 if ac_fn_c_try_link
"$LINENO"; then :
25045 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25047 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25049 rm -f core conftest.err conftest.
$ac_objext \
25050 conftest
$ac_exeext conftest.
$ac_ext
25051 LIBS
=$ac_check_lib_save_LIBS
25053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25054 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25055 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
25056 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25061 rm -f core conftest.err conftest.
$ac_objext \
25062 conftest
$ac_exeext conftest.
$ac_ext
25063 LIBS
="$ac_xsave_LIBS"
25065 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25066 # to get the SysV transport functions.
25067 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25069 # The nsl library prevents programs from opening the X display
25070 # on Irix 5.2, according to T.E. Dickey.
25071 # The functions gethostbyname, getservbyname, and inet_addr are
25072 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25073 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25074 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
25078 if test $ac_cv_func_gethostbyname = no
; then
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25080 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25081 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
25082 $as_echo_n "(cached) " >&6
25084 ac_check_lib_save_LIBS
=$LIBS
25086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25087 /* end confdefs.h. */
25089 /* Override any GCC internal prototype to avoid an error.
25090 Use char because int might match the return type of a GCC
25091 builtin and then its argument prototype would still apply. */
25095 char gethostbyname ();
25099 return gethostbyname ();
25104 if ac_fn_c_try_link
"$LINENO"; then :
25105 ac_cv_lib_nsl_gethostbyname
=yes
25107 ac_cv_lib_nsl_gethostbyname
=no
25109 rm -f core conftest.err conftest.
$ac_objext \
25110 conftest
$ac_exeext conftest.
$ac_ext
25111 LIBS
=$ac_check_lib_save_LIBS
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25114 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25115 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
25116 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25119 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25121 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25122 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
25123 $as_echo_n "(cached) " >&6
25125 ac_check_lib_save_LIBS
=$LIBS
25127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25128 /* end confdefs.h. */
25130 /* Override any GCC internal prototype to avoid an error.
25131 Use char because int might match the return type of a GCC
25132 builtin and then its argument prototype would still apply. */
25136 char gethostbyname ();
25140 return gethostbyname ();
25145 if ac_fn_c_try_link
"$LINENO"; then :
25146 ac_cv_lib_bsd_gethostbyname
=yes
25148 ac_cv_lib_bsd_gethostbyname
=no
25150 rm -f core conftest.err conftest.
$ac_objext \
25151 conftest
$ac_exeext conftest.
$ac_ext
25152 LIBS
=$ac_check_lib_save_LIBS
25154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25155 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25156 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
25157 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25163 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25164 # socket/setsockopt and other routines are undefined under SCO ODT
25165 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25166 # on later versions), says Simon Leinen: it contains gethostby*
25167 # variants that don't use the name server (or something). -lsocket
25168 # must be given before -lnsl if both are needed. We assume that
25169 # if connect needs -lnsl, so does gethostbyname.
25170 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25171 if test "x$ac_cv_func_connect" = xyes
; then :
25175 if test $ac_cv_func_connect = no
; then
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25177 $as_echo_n "checking for connect in -lsocket... " >&6; }
25178 if ${ac_cv_lib_socket_connect+:} false
; then :
25179 $as_echo_n "(cached) " >&6
25181 ac_check_lib_save_LIBS
=$LIBS
25182 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25184 /* end confdefs.h. */
25186 /* Override any GCC internal prototype to avoid an error.
25187 Use char because int might match the return type of a GCC
25188 builtin and then its argument prototype would still apply. */
25201 if ac_fn_c_try_link
"$LINENO"; then :
25202 ac_cv_lib_socket_connect
=yes
25204 ac_cv_lib_socket_connect
=no
25206 rm -f core conftest.err conftest.
$ac_objext \
25207 conftest
$ac_exeext conftest.
$ac_ext
25208 LIBS
=$ac_check_lib_save_LIBS
25210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25211 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25212 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
25213 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25218 # Guillermo Gomez says -lposix is necessary on A/UX.
25219 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25220 if test "x$ac_cv_func_remove" = xyes
; then :
25224 if test $ac_cv_func_remove = no
; then
25225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25226 $as_echo_n "checking for remove in -lposix... " >&6; }
25227 if ${ac_cv_lib_posix_remove+:} false
; then :
25228 $as_echo_n "(cached) " >&6
25230 ac_check_lib_save_LIBS
=$LIBS
25231 LIBS
="-lposix $LIBS"
25232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25233 /* end confdefs.h. */
25235 /* Override any GCC internal prototype to avoid an error.
25236 Use char because int might match the return type of a GCC
25237 builtin and then its argument prototype would still apply. */
25250 if ac_fn_c_try_link
"$LINENO"; then :
25251 ac_cv_lib_posix_remove
=yes
25253 ac_cv_lib_posix_remove
=no
25255 rm -f core conftest.err conftest.
$ac_objext \
25256 conftest
$ac_exeext conftest.
$ac_ext
25257 LIBS
=$ac_check_lib_save_LIBS
25259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25260 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25261 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
25262 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25267 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25268 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25269 if test "x$ac_cv_func_shmat" = xyes
; then :
25273 if test $ac_cv_func_shmat = no
; then
25274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25275 $as_echo_n "checking for shmat in -lipc... " >&6; }
25276 if ${ac_cv_lib_ipc_shmat+:} false
; then :
25277 $as_echo_n "(cached) " >&6
25279 ac_check_lib_save_LIBS
=$LIBS
25281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25282 /* end confdefs.h. */
25284 /* Override any GCC internal prototype to avoid an error.
25285 Use char because int might match the return type of a GCC
25286 builtin and then its argument prototype would still apply. */
25299 if ac_fn_c_try_link
"$LINENO"; then :
25300 ac_cv_lib_ipc_shmat
=yes
25302 ac_cv_lib_ipc_shmat
=no
25304 rm -f core conftest.err conftest.
$ac_objext \
25305 conftest
$ac_exeext conftest.
$ac_ext
25306 LIBS
=$ac_check_lib_save_LIBS
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25309 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25310 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
25311 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25317 # Check for libraries that X11R6 Xt/Xaw programs need.
25318 ac_save_LDFLAGS
=$LDFLAGS
25319 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25320 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25321 # check for ICE first), but we must link in the order -lSM -lICE or
25322 # we get undefined symbols. So assume we have SM if we have ICE.
25323 # These have to be linked with before -lX11, unlike the other
25324 # libraries we check for below, so use a different variable.
25325 # John Interrante, Karl Berry
25326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25327 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25328 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
25329 $as_echo_n "(cached) " >&6
25331 ac_check_lib_save_LIBS
=$LIBS
25332 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25334 /* end confdefs.h. */
25336 /* Override any GCC internal prototype to avoid an error.
25337 Use char because int might match the return type of a GCC
25338 builtin and then its argument prototype would still apply. */
25342 char IceConnectionNumber ();
25346 return IceConnectionNumber ();
25351 if ac_fn_c_try_link
"$LINENO"; then :
25352 ac_cv_lib_ICE_IceConnectionNumber
=yes
25354 ac_cv_lib_ICE_IceConnectionNumber
=no
25356 rm -f core conftest.err conftest.
$ac_objext \
25357 conftest
$ac_exeext conftest.
$ac_ext
25358 LIBS
=$ac_check_lib_save_LIBS
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25361 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25362 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
25363 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25366 LDFLAGS
=$ac_save_LDFLAGS
25371 if test "$no_x" = "yes"; then
25372 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25375 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25376 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25377 AFMINSTALL
=afminstall
25378 COMPILED_X_PROGRAM
=0
25382 if test "$wxUSE_X11" = 1; then
25383 if test "$wxUSE_NANOX" = "yes"; then
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25385 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25386 if test "x$MICROWIN" = x
; then
25387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25388 $as_echo "not found" >&6; }
25389 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25392 $as_echo "$MICROWIN" >&6; }
25393 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25398 if test "$wxUSE_UNICODE" = "yes"; then
25401 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25402 if test -n "$ac_tool_prefix"; then
25403 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25404 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25406 $as_echo_n "checking for $ac_word... " >&6; }
25407 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
25408 $as_echo_n "(cached) " >&6
25410 case $PKG_CONFIG in
25412 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25416 for as_dir
in $PATH
25419 test -z "$as_dir" && as_dir
=.
25420 for ac_exec_ext
in '' $ac_executable_extensions; do
25421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25422 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25433 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25434 if test -n "$PKG_CONFIG"; then
25435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25436 $as_echo "$PKG_CONFIG" >&6; }
25438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25439 $as_echo "no" >&6; }
25444 if test -z "$ac_cv_path_PKG_CONFIG"; then
25445 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25446 # Extract the first word of "pkg-config", so it can be a program name with args.
25447 set dummy pkg
-config; ac_word
=$2
25448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25449 $as_echo_n "checking for $ac_word... " >&6; }
25450 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
25451 $as_echo_n "(cached) " >&6
25453 case $ac_pt_PKG_CONFIG in
25455 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25459 for as_dir
in $PATH
25462 test -z "$as_dir" && as_dir
=.
25463 for ac_exec_ext
in '' $ac_executable_extensions; do
25464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25465 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25476 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25477 if test -n "$ac_pt_PKG_CONFIG"; then
25478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25479 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25482 $as_echo "no" >&6; }
25485 if test "x$ac_pt_PKG_CONFIG" = x
; then
25488 case $cross_compiling:$ac_tool_warned in
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25492 ac_tool_warned
=yes ;;
25494 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25497 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25501 if test -n "$PKG_CONFIG"; then
25502 _pkg_min_version
=0.9.0
25503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25504 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25505 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25507 $as_echo "yes" >&6; }
25509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25510 $as_echo "no" >&6; }
25518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25519 $as_echo_n "checking for PANGOX... " >&6; }
25521 if test -n "$PKG_CONFIG"; then
25522 if test -n "$PANGOX_CFLAGS"; then
25523 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25525 if test -n "$PKG_CONFIG" && \
25526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25527 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25530 test $ac_status = 0; }; then
25531 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25539 if test -n "$PKG_CONFIG"; then
25540 if test -n "$PANGOX_LIBS"; then
25541 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25543 if test -n "$PKG_CONFIG" && \
25544 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25545 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25548 test $ac_status = 0; }; then
25549 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25560 if test $pkg_failed = yes; then
25562 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25563 _pkg_short_errors_supported
=yes
25565 _pkg_short_errors_supported
=no
25567 if test $_pkg_short_errors_supported = yes; then
25568 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25570 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25572 # Put the nasty error message in config.log where it belongs
25573 echo "$PANGOX_PKG_ERRORS" >&5
25576 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25579 elif test $pkg_failed = untried
; then
25581 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25585 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25586 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25588 $as_echo "yes" >&6; }
25590 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25591 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25592 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25598 $as_echo_n "checking for PANGOFT2... " >&6; }
25600 if test -n "$PKG_CONFIG"; then
25601 if test -n "$PANGOFT2_CFLAGS"; then
25602 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25604 if test -n "$PKG_CONFIG" && \
25605 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25606 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25609 test $ac_status = 0; }; then
25610 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25618 if test -n "$PKG_CONFIG"; then
25619 if test -n "$PANGOFT2_LIBS"; then
25620 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25622 if test -n "$PKG_CONFIG" && \
25623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25624 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25627 test $ac_status = 0; }; then
25628 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25639 if test $pkg_failed = yes; then
25641 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25642 _pkg_short_errors_supported
=yes
25644 _pkg_short_errors_supported
=no
25646 if test $_pkg_short_errors_supported = yes; then
25647 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25649 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25651 # Put the nasty error message in config.log where it belongs
25652 echo "$PANGOFT2_PKG_ERRORS" >&5
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25656 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25657 wxUSE_PRINTING_ARCHITECTURE
="no"
25660 elif test $pkg_failed = untried
; then
25662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25663 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25664 wxUSE_PRINTING_ARCHITECTURE
="no"
25668 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25669 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25671 $as_echo "yes" >&6; }
25673 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25674 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25675 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25681 $as_echo_n "checking for PANGOXFT... " >&6; }
25683 if test -n "$PKG_CONFIG"; then
25684 if test -n "$PANGOXFT_CFLAGS"; then
25685 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25687 if test -n "$PKG_CONFIG" && \
25688 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25689 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25692 test $ac_status = 0; }; then
25693 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25701 if test -n "$PKG_CONFIG"; then
25702 if test -n "$PANGOXFT_LIBS"; then
25703 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25705 if test -n "$PKG_CONFIG" && \
25706 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25707 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25710 test $ac_status = 0; }; then
25711 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25722 if test $pkg_failed = yes; then
25724 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25725 _pkg_short_errors_supported
=yes
25727 _pkg_short_errors_supported
=no
25729 if test $_pkg_short_errors_supported = yes; then
25730 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25732 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25734 # Put the nasty error message in config.log where it belongs
25735 echo "$PANGOXFT_PKG_ERRORS" >&5
25738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25739 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25742 elif test $pkg_failed = untried
; then
25744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25745 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25749 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25750 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25752 $as_echo "yes" >&6; }
25754 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25756 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25757 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25758 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25762 LIBS
="$LIBS $PANGOX_LIBS"
25763 for ac_func
in pango_font_family_is_monospace
25765 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25766 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes
; then :
25767 cat >>confdefs.h
<<_ACEOF
25768 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25777 wxUSE_UNIVERSAL
="yes"
25779 if test "$wxUSE_NANOX" = "yes"; then
25780 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25781 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"
25782 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25784 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25791 if test "$wxUSE_MOTIF" = 1; then
25792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25793 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25796 for ac_dir
in $SEARCH_INCLUDE /usr
/include
25798 if test -f "$ac_dir/Xm/Xm.h"; then
25799 ac_find_includes
=$ac_dir
25804 if test "$ac_find_includes" != "" ; then
25805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25806 $as_echo "found in $ac_find_includes" >&6; }
25808 if test "x$ac_find_includes" = "x/usr/include"; then
25809 ac_path_to_include
=""
25811 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25813 if test $result = 0; then
25814 ac_path_to_include
=""
25816 ac_path_to_include
=" -I$ac_find_includes"
25820 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25822 save_CFLAGS
=$CFLAGS
25823 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25826 /* end confdefs.h. */
25835 version = xmUseVersion;
25841 if ac_fn_c_try_compile
"$LINENO"; then :
25843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25844 $as_echo "found in default search path" >&6; }
25845 COMPILED_X_PROGRAM
=1
25849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25850 $as_echo "no" >&6; }
25851 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25857 CFLAGS
=$save_CFLAGS
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25862 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25865 for ac_dir
in $SEARCH_LIB
25867 for ac_extension
in a so sl dylib dll.a
; do
25868 if test -f "$ac_dir/libXm.$ac_extension"; then
25869 ac_find_libraries
=$ac_dir
25876 if test "x$ac_find_libraries" != "x" ; then
25877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25878 $as_echo "found in $ac_find_libraries" >&6; }
25881 if test "$ac_find_libraries" = "default location"; then
25884 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25886 if test $result = 0; then
25889 ac_path_to_link
=" -L$ac_find_libraries"
25893 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25895 save_CFLAGS
=$CFLAGS
25896 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25898 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25901 /* end confdefs.h. */
25910 version = xmUseVersion;
25916 if ac_fn_c_try_link
"$LINENO"; then :
25918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25919 $as_echo "found in default search path" >&6; }
25920 COMPILED_X_PROGRAM
=1
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25925 $as_echo "no" >&6; }
25926 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25930 rm -f core conftest.err conftest.
$ac_objext \
25931 conftest
$ac_exeext conftest.
$ac_ext
25933 CFLAGS
=$save_CFLAGS
25937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25938 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25942 for libp
in "" " -lXp"; do
25943 if test "$libs_found" = 0; then
25944 for libsm_ice
in "" " -lSM -lICE"; do
25945 if test "$libs_found" = 0; then
25947 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25948 save_CFLAGS
=$CFLAGS
25949 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25952 /* end confdefs.h. */
25955 #include <Xm/List.h>
25961 XmString string = NULL;
25964 XmListAddItem(w, string, position);
25970 if ac_fn_c_try_link
"$LINENO"; then :
25973 libsm_ice_link
="$libsm_ice"
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25975 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
25979 rm -f core conftest.err conftest.
$ac_objext \
25980 conftest
$ac_exeext conftest.
$ac_ext
25983 CFLAGS
=$save_CFLAGS
25989 if test "$libs_found" = 0; then
25990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
25991 $as_echo "can't find the right libraries" >&6; }
25992 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
25995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
25996 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
25997 if ${ac_cv_lib_Sgm_SgCreateList+:} false
; then :
25998 $as_echo_n "(cached) " >&6
26000 ac_check_lib_save_LIBS
=$LIBS
26002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26003 /* end confdefs.h. */
26005 /* Override any GCC internal prototype to avoid an error.
26006 Use char because int might match the return type of a GCC
26007 builtin and then its argument prototype would still apply. */
26011 char SgCreateList ();
26015 return SgCreateList ();
26020 if ac_fn_c_try_link
"$LINENO"; then :
26021 ac_cv_lib_Sgm_SgCreateList
=yes
26023 ac_cv_lib_Sgm_SgCreateList
=no
26025 rm -f core conftest.err conftest.
$ac_objext \
26026 conftest
$ac_exeext conftest.
$ac_ext
26027 LIBS
=$ac_check_lib_save_LIBS
26029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26030 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26031 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes
; then :
26032 libsgm_link
=" -lSgm"
26036 save_CFLAGS
=$CFLAGS
26037 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26040 $as_echo_n "checking for Motif 2... " >&6; }
26041 if ${wx_cv_lib_motif2+:} false
; then :
26042 $as_echo_n "(cached) " >&6
26044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26045 /* end confdefs.h. */
26053 #if XmVersion < 2000
26061 if ac_fn_c_try_compile
"$LINENO"; then :
26062 wx_cv_lib_motif2
="yes"
26064 wx_cv_lib_motif2
="no"
26066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26069 $as_echo "$wx_cv_lib_motif2" >&6; }
26070 if test "$wx_cv_lib_motif2" = "yes"; then
26071 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26074 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26079 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26080 if ${wx_cv_lib_lesstif+:} false
; then :
26081 $as_echo_n "(cached) " >&6
26083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26084 /* end confdefs.h. */
26092 #if !defined(LesstifVersion) || LesstifVersion <= 0
26100 if ac_fn_c_try_compile
"$LINENO"; then :
26101 wx_cv_lib_lesstif
="yes"
26103 wx_cv_lib_lesstif
="no"
26105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26109 $as_echo "$wx_cv_lib_lesstif" >&6; }
26110 if test "$wx_cv_lib_lesstif" = "yes"; then
26111 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26114 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26118 CFLAGS
=$save_CFLAGS
26120 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26125 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26126 if test "$wxUSE_LIBXPM" = "sys"; then
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26128 $as_echo_n "checking for Xpm library... " >&6; }
26131 for ac_dir
in $SEARCH_LIB
26133 for ac_extension
in a so sl dylib dll.a
; do
26134 if test -f "$ac_dir/libXpm.$ac_extension"; then
26135 ac_find_libraries
=$ac_dir
26141 if test "$ac_find_libraries" != "" ; then
26143 if test "$ac_find_libraries" = "default location"; then
26146 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26148 if test $result = 0; then
26151 ac_path_to_link
=" -L$ac_find_libraries"
26155 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26157 $as_echo "found in $ac_find_libraries" >&6; }
26159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26160 $as_echo_n "checking for X11/xpm.h... " >&6; }
26161 if ${wx_cv_x11_xpm_h+:} false
; then :
26162 $as_echo_n "(cached) " >&6
26165 save_CFLAGS
=$CFLAGS
26166 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26169 /* end confdefs.h. */
26171 #include <X11/xpm.h>
26178 version = XpmLibraryVersion();
26184 if ac_fn_c_try_compile
"$LINENO"; then :
26185 wx_cv_x11_xpm_h
=yes
26190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26192 CFLAGS
=$save_CFLAGS
26196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26197 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26199 if test $wx_cv_x11_xpm_h = "yes"; then
26200 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26201 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26205 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26212 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26213 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
26214 $as_echo_n "(cached) " >&6
26216 ac_check_lib_save_LIBS
=$LIBS
26217 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26219 /* end confdefs.h. */
26221 /* Override any GCC internal prototype to avoid an error.
26222 Use char because int might match the return type of a GCC
26223 builtin and then its argument prototype would still apply. */
26227 char XShapeQueryExtension ();
26231 return XShapeQueryExtension ();
26236 if ac_fn_c_try_link
"$LINENO"; then :
26237 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26239 ac_cv_lib_Xext_XShapeQueryExtension
=no
26241 rm -f core conftest.err conftest.
$ac_objext \
26242 conftest
$ac_exeext conftest.
$ac_ext
26243 LIBS
=$ac_check_lib_save_LIBS
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26246 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26247 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
26249 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26255 if test "$wxHAVE_XEXT_LIB" = 1; then
26256 save_CFLAGS
="$CFLAGS"
26257 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26260 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26262 /* end confdefs.h. */
26264 #include <X11/Xlib.h>
26265 #include <X11/extensions/shape.h>
26271 int dummy1, dummy2;
26272 XShapeQueryExtension((Display*)NULL,
26273 (int*)NULL, (int*)NULL);
26279 if ac_fn_c_try_compile
"$LINENO"; then :
26281 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26284 $as_echo "found" >&6; }
26288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26289 $as_echo "not found" >&6; }
26292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26293 CFLAGS
="$save_CFLAGS"
26298 if test "$wxUSE_OSX_CARBON" = 1; then
26299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26300 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26301 if test "$GCC" = yes; then
26302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26303 $as_echo "gcc" >&6; }
26304 CPPFLAGS_PASCAL
="-fpascal-strings"
26305 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26307 $as_echo "xlc" >&6; }
26308 CPPFLAGS_PASCAL
="-qmacpstr"
26310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26311 $as_echo "none" >&6; }
26314 if test "x$wxUSE_UNIX" = "xyes"; then
26315 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26317 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26321 GUIDIST
=OSX_CARBON_DIST
26322 WXBASEPORT
="_carbon"
26324 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26327 if test "$wxUSE_OSX_COCOA" = 1; then
26329 GUIDIST
=OSX_COCOA_DIST
26331 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26334 if test "$wxUSE_OSX_IPHONE" = 1; then
26338 if test "$wxUSE_OLD_COCOA" = 1; then
26343 if test "$wxUSE_PM" = 1; then
26346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26347 $as_echo_n "checking for type SPBCDATA... " >&6; }
26348 if ${wx_cv_spbcdata+:} false
; then :
26349 $as_echo_n "(cached) " >&6
26352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26353 /* end confdefs.h. */
26368 if ac_fn_c_try_compile
"$LINENO"; then :
26374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26379 $as_echo "$wx_cv_spbcdata" >&6; }
26381 if test $wx_cv_spbcdata = "yes"; then
26382 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26387 if test "$TOOLKIT" = "PM" ; then
26390 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26393 if test "$wxUSE_UNIVERSAL" = "yes"; then
26394 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26398 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26399 DISTDIR
="wx\$(TOOLKIT)"
26405 if test "$USE_WIN32" = 1 ; then
26409 GUIDIST
="BASE_DIST"
26415 if test "$wxUSE_GUI" = "yes"; then
26416 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26417 for ac_header
in X
11/Xlib.h
26419 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26421 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
26422 cat >>confdefs.h
<<_ACEOF
26423 #define HAVE_X11_XLIB_H 1
26430 for ac_header
in X
11/XKBlib.h
26432 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26433 #if HAVE_X11_XLIB_H
26434 #include <X11/Xlib.h>
26438 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
; then :
26439 cat >>confdefs.h
<<_ACEOF
26440 #define HAVE_X11_XKBLIB_H 1
26453 if test "$wxUSE_DISPLAY" = "yes"; then
26454 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26458 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26461 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26462 if test -n "$ac_tool_prefix"; then
26463 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26464 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26466 $as_echo_n "checking for $ac_word... " >&6; }
26467 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26468 $as_echo_n "(cached) " >&6
26470 case $PKG_CONFIG in
26472 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26476 for as_dir
in $PATH
26479 test -z "$as_dir" && as_dir
=.
26480 for ac_exec_ext
in '' $ac_executable_extensions; do
26481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26482 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26493 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26494 if test -n "$PKG_CONFIG"; then
26495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26496 $as_echo "$PKG_CONFIG" >&6; }
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26499 $as_echo "no" >&6; }
26504 if test -z "$ac_cv_path_PKG_CONFIG"; then
26505 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26506 # Extract the first word of "pkg-config", so it can be a program name with args.
26507 set dummy pkg
-config; ac_word
=$2
26508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26509 $as_echo_n "checking for $ac_word... " >&6; }
26510 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26511 $as_echo_n "(cached) " >&6
26513 case $ac_pt_PKG_CONFIG in
26515 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26519 for as_dir
in $PATH
26522 test -z "$as_dir" && as_dir
=.
26523 for ac_exec_ext
in '' $ac_executable_extensions; do
26524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26525 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26536 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26537 if test -n "$ac_pt_PKG_CONFIG"; then
26538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26539 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26542 $as_echo "no" >&6; }
26545 if test "x$ac_pt_PKG_CONFIG" = x
; then
26548 case $cross_compiling:$ac_tool_warned in
26550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26552 ac_tool_warned
=yes ;;
26554 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26557 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26561 if test -n "$PKG_CONFIG"; then
26562 _pkg_min_version
=0.9.0
26563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26564 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26565 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26567 $as_echo "yes" >&6; }
26569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26570 $as_echo "no" >&6; }
26577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26578 $as_echo_n "checking for Xinerama... " >&6; }
26580 if test -n "$PKG_CONFIG"; then
26581 if test -n "$Xinerama_CFLAGS"; then
26582 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26584 if test -n "$PKG_CONFIG" && \
26585 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26586 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26589 test $ac_status = 0; }; then
26590 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26598 if test -n "$PKG_CONFIG"; then
26599 if test -n "$Xinerama_LIBS"; then
26600 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26602 if test -n "$PKG_CONFIG" && \
26603 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26604 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26607 test $ac_status = 0; }; then
26608 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26619 if test $pkg_failed = yes; then
26621 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26622 _pkg_short_errors_supported
=yes
26624 _pkg_short_errors_supported
=no
26626 if test $_pkg_short_errors_supported = yes; then
26627 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26629 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26631 # Put the nasty error message in config.log where it belongs
26632 echo "$Xinerama_PKG_ERRORS" >&5
26635 if test "x$ac_find_libraries" = "x"; then
26636 if test "xXineramaQueryScreens" != "x"; then
26637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26638 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26639 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26640 $as_echo_n "(cached) " >&6
26642 ac_check_lib_save_LIBS
=$LIBS
26643 LIBS
="-lXinerama $LIBS"
26644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26645 /* end confdefs.h. */
26647 /* Override any GCC internal prototype to avoid an error.
26648 Use char because int might match the return type of a GCC
26649 builtin and then its argument prototype would still apply. */
26653 char XineramaQueryScreens ();
26657 return XineramaQueryScreens ();
26662 if ac_fn_c_try_link
"$LINENO"; then :
26663 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26665 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26667 rm -f core conftest.err conftest.
$ac_objext \
26668 conftest
$ac_exeext conftest.
$ac_ext
26669 LIBS
=$ac_check_lib_save_LIBS
26671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26672 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26673 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26674 ac_find_libraries
="std"
26680 if test "x$ac_find_libraries" = "x"; then
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26682 $as_echo_n "checking elsewhere... " >&6; }
26685 for ac_dir
in $SEARCH_LIB
26687 for ac_extension
in a so sl dylib dll.a
; do
26688 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26689 ac_find_libraries
=$ac_dir
26695 if test "x$ac_find_libraries" != "x"; then
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26697 $as_echo "yes" >&6; }
26699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26700 $as_echo "no" >&6; }
26704 elif test $pkg_failed = untried
; then
26706 if test "x$ac_find_libraries" = "x"; then
26707 if test "xXineramaQueryScreens" != "x"; then
26708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26709 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26710 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26711 $as_echo_n "(cached) " >&6
26713 ac_check_lib_save_LIBS
=$LIBS
26714 LIBS
="-lXinerama $LIBS"
26715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26716 /* end confdefs.h. */
26718 /* Override any GCC internal prototype to avoid an error.
26719 Use char because int might match the return type of a GCC
26720 builtin and then its argument prototype would still apply. */
26724 char XineramaQueryScreens ();
26728 return XineramaQueryScreens ();
26733 if ac_fn_c_try_link
"$LINENO"; then :
26734 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26736 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26738 rm -f core conftest.err conftest.
$ac_objext \
26739 conftest
$ac_exeext conftest.
$ac_ext
26740 LIBS
=$ac_check_lib_save_LIBS
26742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26743 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26744 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26745 ac_find_libraries
="std"
26751 if test "x$ac_find_libraries" = "x"; then
26752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26753 $as_echo_n "checking elsewhere... " >&6; }
26756 for ac_dir
in $SEARCH_LIB
26758 for ac_extension
in a so sl dylib dll.a
; do
26759 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26760 ac_find_libraries
=$ac_dir
26766 if test "x$ac_find_libraries" != "x"; then
26767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26768 $as_echo "yes" >&6; }
26770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26771 $as_echo "no" >&6; }
26776 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
26777 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26779 $as_echo "yes" >&6; }
26781 ac_find_libraries
="std"
26783 eval ac_find_cflags
=\
$Xinerama_CFLAGS
26784 eval fl_libs
=\
$Xinerama_LIBS
26786 for fl_path
in $fl_libs
26788 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26789 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
26795 if test "$ac_find_libraries" != "" ; then
26796 if test "$ac_find_libraries" != "std" ; then
26798 if test "$ac_find_libraries" = "default location"; then
26801 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26803 if test $result = 0; then
26806 ac_path_to_link
=" -L$ac_find_libraries"
26810 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26811 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26815 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26818 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26821 elif test "$wxUSE_MSW" = 1; then
26822 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26824 if test "x$ac_cv_header_ddraw_h" = xyes
; then :
26832 if test "$wxUSE_DISPLAY" = "yes"; then
26833 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26837 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26840 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26841 if test -n "$ac_tool_prefix"; then
26842 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26843 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26845 $as_echo_n "checking for $ac_word... " >&6; }
26846 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26847 $as_echo_n "(cached) " >&6
26849 case $PKG_CONFIG in
26851 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26855 for as_dir
in $PATH
26858 test -z "$as_dir" && as_dir
=.
26859 for ac_exec_ext
in '' $ac_executable_extensions; do
26860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26861 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26872 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26873 if test -n "$PKG_CONFIG"; then
26874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26875 $as_echo "$PKG_CONFIG" >&6; }
26877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26878 $as_echo "no" >&6; }
26883 if test -z "$ac_cv_path_PKG_CONFIG"; then
26884 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26885 # Extract the first word of "pkg-config", so it can be a program name with args.
26886 set dummy pkg
-config; ac_word
=$2
26887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26888 $as_echo_n "checking for $ac_word... " >&6; }
26889 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26890 $as_echo_n "(cached) " >&6
26892 case $ac_pt_PKG_CONFIG in
26894 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26898 for as_dir
in $PATH
26901 test -z "$as_dir" && as_dir
=.
26902 for ac_exec_ext
in '' $ac_executable_extensions; do
26903 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26904 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26915 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26916 if test -n "$ac_pt_PKG_CONFIG"; then
26917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26918 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26921 $as_echo "no" >&6; }
26924 if test "x$ac_pt_PKG_CONFIG" = x
; then
26927 case $cross_compiling:$ac_tool_warned in
26929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26931 ac_tool_warned
=yes ;;
26933 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26936 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26940 if test -n "$PKG_CONFIG"; then
26941 _pkg_min_version
=0.9.0
26942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26943 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26944 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26946 $as_echo "yes" >&6; }
26948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26949 $as_echo "no" >&6; }
26956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26957 $as_echo_n "checking for Xxf86vm... " >&6; }
26959 if test -n "$PKG_CONFIG"; then
26960 if test -n "$Xxf86vm_CFLAGS"; then
26961 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
26963 if test -n "$PKG_CONFIG" && \
26964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26965 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26968 test $ac_status = 0; }; then
26969 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26977 if test -n "$PKG_CONFIG"; then
26978 if test -n "$Xxf86vm_LIBS"; then
26979 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
26981 if test -n "$PKG_CONFIG" && \
26982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26983 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26986 test $ac_status = 0; }; then
26987 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26998 if test $pkg_failed = yes; then
27000 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27001 _pkg_short_errors_supported
=yes
27003 _pkg_short_errors_supported
=no
27005 if test $_pkg_short_errors_supported = yes; then
27006 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27008 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27010 # Put the nasty error message in config.log where it belongs
27011 echo "$Xxf86vm_PKG_ERRORS" >&5
27014 if test "x$ac_find_libraries" = "x"; then
27015 if test "xXF86VidModeQueryExtension" != "x"; then
27016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27017 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27018 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27019 $as_echo_n "(cached) " >&6
27021 ac_check_lib_save_LIBS
=$LIBS
27022 LIBS
="-lXxf86vm $LIBS"
27023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27024 /* end confdefs.h. */
27026 /* Override any GCC internal prototype to avoid an error.
27027 Use char because int might match the return type of a GCC
27028 builtin and then its argument prototype would still apply. */
27032 char XF86VidModeQueryExtension ();
27036 return XF86VidModeQueryExtension ();
27041 if ac_fn_c_try_link
"$LINENO"; then :
27042 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27044 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27046 rm -f core conftest.err conftest.
$ac_objext \
27047 conftest
$ac_exeext conftest.
$ac_ext
27048 LIBS
=$ac_check_lib_save_LIBS
27050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27051 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27052 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27053 ac_find_libraries
="std"
27059 if test "x$ac_find_libraries" = "x"; then
27060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27061 $as_echo_n "checking elsewhere... " >&6; }
27064 for ac_dir
in $SEARCH_LIB
27066 for ac_extension
in a so sl dylib dll.a
; do
27067 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27068 ac_find_libraries
=$ac_dir
27074 if test "x$ac_find_libraries" != "x"; then
27075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27076 $as_echo "yes" >&6; }
27078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27079 $as_echo "no" >&6; }
27083 elif test $pkg_failed = untried
; then
27085 if test "x$ac_find_libraries" = "x"; then
27086 if test "xXF86VidModeQueryExtension" != "x"; then
27087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27088 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27089 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27090 $as_echo_n "(cached) " >&6
27092 ac_check_lib_save_LIBS
=$LIBS
27093 LIBS
="-lXxf86vm $LIBS"
27094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27095 /* end confdefs.h. */
27097 /* Override any GCC internal prototype to avoid an error.
27098 Use char because int might match the return type of a GCC
27099 builtin and then its argument prototype would still apply. */
27103 char XF86VidModeQueryExtension ();
27107 return XF86VidModeQueryExtension ();
27112 if ac_fn_c_try_link
"$LINENO"; then :
27113 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27115 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27117 rm -f core conftest.err conftest.
$ac_objext \
27118 conftest
$ac_exeext conftest.
$ac_ext
27119 LIBS
=$ac_check_lib_save_LIBS
27121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27122 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27123 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27124 ac_find_libraries
="std"
27130 if test "x$ac_find_libraries" = "x"; then
27131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27132 $as_echo_n "checking elsewhere... " >&6; }
27135 for ac_dir
in $SEARCH_LIB
27137 for ac_extension
in a so sl dylib dll.a
; do
27138 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27139 ac_find_libraries
=$ac_dir
27145 if test "x$ac_find_libraries" != "x"; then
27146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27147 $as_echo "yes" >&6; }
27149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27150 $as_echo "no" >&6; }
27155 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27156 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27158 $as_echo "yes" >&6; }
27160 ac_find_libraries
="std"
27162 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27163 eval fl_libs
=\
$Xxf86vm_LIBS
27165 for fl_path
in $fl_libs
27167 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27168 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27174 if test "$ac_find_libraries" != "" ; then
27175 for ac_header
in X
11/extensions
/xf86vmode.h
27177 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27178 #if HAVE_X11_XLIB_H
27179 #include <X11/Xlib.h>
27183 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
; then :
27184 cat >>confdefs.h
<<_ACEOF
27185 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27188 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27198 if test "$wxUSE_DETECT_SM" = "yes"; then
27199 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27203 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27206 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27207 if test -n "$ac_tool_prefix"; then
27208 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27209 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27211 $as_echo_n "checking for $ac_word... " >&6; }
27212 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27213 $as_echo_n "(cached) " >&6
27215 case $PKG_CONFIG in
27217 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27221 for as_dir
in $PATH
27224 test -z "$as_dir" && as_dir
=.
27225 for ac_exec_ext
in '' $ac_executable_extensions; do
27226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27227 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27238 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27239 if test -n "$PKG_CONFIG"; then
27240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27241 $as_echo "$PKG_CONFIG" >&6; }
27243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27244 $as_echo "no" >&6; }
27249 if test -z "$ac_cv_path_PKG_CONFIG"; then
27250 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27251 # Extract the first word of "pkg-config", so it can be a program name with args.
27252 set dummy pkg
-config; ac_word
=$2
27253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27254 $as_echo_n "checking for $ac_word... " >&6; }
27255 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27256 $as_echo_n "(cached) " >&6
27258 case $ac_pt_PKG_CONFIG in
27260 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27264 for as_dir
in $PATH
27267 test -z "$as_dir" && as_dir
=.
27268 for ac_exec_ext
in '' $ac_executable_extensions; do
27269 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27270 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27281 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27282 if test -n "$ac_pt_PKG_CONFIG"; then
27283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27284 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27287 $as_echo "no" >&6; }
27290 if test "x$ac_pt_PKG_CONFIG" = x
; then
27293 case $cross_compiling:$ac_tool_warned in
27295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27297 ac_tool_warned
=yes ;;
27299 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27302 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27306 if test -n "$PKG_CONFIG"; then
27307 _pkg_min_version
=0.9.0
27308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27309 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27310 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27312 $as_echo "yes" >&6; }
27314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27315 $as_echo "no" >&6; }
27322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27323 $as_echo_n "checking for SM... " >&6; }
27325 if test -n "$PKG_CONFIG"; then
27326 if test -n "$SM_CFLAGS"; then
27327 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27329 if test -n "$PKG_CONFIG" && \
27330 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27331 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27334 test $ac_status = 0; }; then
27335 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27343 if test -n "$PKG_CONFIG"; then
27344 if test -n "$SM_LIBS"; then
27345 pkg_cv_SM_LIBS
="$SM_LIBS"
27347 if test -n "$PKG_CONFIG" && \
27348 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27349 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27352 test $ac_status = 0; }; then
27353 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27364 if test $pkg_failed = yes; then
27366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27367 _pkg_short_errors_supported
=yes
27369 _pkg_short_errors_supported
=no
27371 if test $_pkg_short_errors_supported = yes; then
27372 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27374 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27376 # Put the nasty error message in config.log where it belongs
27377 echo "$SM_PKG_ERRORS" >&5
27380 if test "x$ac_find_libraries" = "x"; then
27381 if test "xSmcOpenConnection" != "x"; then
27382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27383 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27384 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27385 $as_echo_n "(cached) " >&6
27387 ac_check_lib_save_LIBS
=$LIBS
27389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27390 /* end confdefs.h. */
27392 /* Override any GCC internal prototype to avoid an error.
27393 Use char because int might match the return type of a GCC
27394 builtin and then its argument prototype would still apply. */
27398 char SmcOpenConnection ();
27402 return SmcOpenConnection ();
27407 if ac_fn_c_try_link
"$LINENO"; then :
27408 ac_cv_lib_SM_SmcOpenConnection
=yes
27410 ac_cv_lib_SM_SmcOpenConnection
=no
27412 rm -f core conftest.err conftest.
$ac_objext \
27413 conftest
$ac_exeext conftest.
$ac_ext
27414 LIBS
=$ac_check_lib_save_LIBS
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27417 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27418 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27419 ac_find_libraries
="std"
27425 if test "x$ac_find_libraries" = "x"; then
27426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27427 $as_echo_n "checking elsewhere... " >&6; }
27430 for ac_dir
in $SEARCH_LIB
27432 for ac_extension
in a so sl dylib dll.a
; do
27433 if test -f "$ac_dir/libSM.$ac_extension"; then
27434 ac_find_libraries
=$ac_dir
27440 if test "x$ac_find_libraries" != "x"; then
27441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27442 $as_echo "yes" >&6; }
27444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27445 $as_echo "no" >&6; }
27449 elif test $pkg_failed = untried
; then
27451 if test "x$ac_find_libraries" = "x"; then
27452 if test "xSmcOpenConnection" != "x"; then
27453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27454 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27455 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27456 $as_echo_n "(cached) " >&6
27458 ac_check_lib_save_LIBS
=$LIBS
27460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27461 /* end confdefs.h. */
27463 /* Override any GCC internal prototype to avoid an error.
27464 Use char because int might match the return type of a GCC
27465 builtin and then its argument prototype would still apply. */
27469 char SmcOpenConnection ();
27473 return SmcOpenConnection ();
27478 if ac_fn_c_try_link
"$LINENO"; then :
27479 ac_cv_lib_SM_SmcOpenConnection
=yes
27481 ac_cv_lib_SM_SmcOpenConnection
=no
27483 rm -f core conftest.err conftest.
$ac_objext \
27484 conftest
$ac_exeext conftest.
$ac_ext
27485 LIBS
=$ac_check_lib_save_LIBS
27487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27488 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27489 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27490 ac_find_libraries
="std"
27496 if test "x$ac_find_libraries" = "x"; then
27497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27498 $as_echo_n "checking elsewhere... " >&6; }
27501 for ac_dir
in $SEARCH_LIB
27503 for ac_extension
in a so sl dylib dll.a
; do
27504 if test -f "$ac_dir/libSM.$ac_extension"; then
27505 ac_find_libraries
=$ac_dir
27511 if test "x$ac_find_libraries" != "x"; then
27512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27513 $as_echo "yes" >&6; }
27515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27516 $as_echo "no" >&6; }
27521 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27522 SM_LIBS
=$pkg_cv_SM_LIBS
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27524 $as_echo "yes" >&6; }
27526 ac_find_libraries
="std"
27528 eval ac_find_cflags
=\
$SM_CFLAGS
27529 eval fl_libs
=\
$SM_LIBS
27531 for fl_path
in $fl_libs
27533 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27534 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27540 if test "$ac_find_libraries" != "" ; then
27541 if test "$ac_find_libraries" != "std" ; then
27543 if test "$ac_find_libraries" = "default location"; then
27546 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27548 if test $result = 0; then
27551 ac_path_to_link
=" -L$ac_find_libraries"
27555 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27556 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27559 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27562 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27563 wxUSE_DETECT_SM
="no"
27566 wxUSE_DETECT_SM
="no"
27573 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27576 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27577 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27578 elif test "$wxUSE_MSW" = 1; then
27579 OPENGL_LIBS
="-lopengl32 -lglu32"
27580 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27583 $as_echo_n "checking for OpenGL headers... " >&6; }
27586 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27588 if test -f "$ac_dir/GL/gl.h"; then
27589 ac_find_includes
=$ac_dir
27594 if test "$ac_find_includes" != "" ; then
27595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27596 $as_echo "found in $ac_find_includes" >&6; }
27598 if test "x$ac_find_includes" = "x/usr/include"; then
27599 ac_path_to_include
=""
27601 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27603 if test $result = 0; then
27604 ac_path_to_include
=""
27606 ac_path_to_include
=" -I$ac_find_includes"
27610 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27613 $as_echo "not found" >&6; }
27616 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27618 if test "x$ac_cv_header_GL_gl_h" = xyes
; then :
27620 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27622 if test "x$ac_cv_header_GL_glu_h" = xyes
; then :
27629 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27632 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27633 if test -n "$ac_tool_prefix"; then
27634 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27635 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27637 $as_echo_n "checking for $ac_word... " >&6; }
27638 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27639 $as_echo_n "(cached) " >&6
27641 case $PKG_CONFIG in
27643 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27647 for as_dir
in $PATH
27650 test -z "$as_dir" && as_dir
=.
27651 for ac_exec_ext
in '' $ac_executable_extensions; do
27652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27653 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27664 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27665 if test -n "$PKG_CONFIG"; then
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27667 $as_echo "$PKG_CONFIG" >&6; }
27669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27670 $as_echo "no" >&6; }
27675 if test -z "$ac_cv_path_PKG_CONFIG"; then
27676 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27677 # Extract the first word of "pkg-config", so it can be a program name with args.
27678 set dummy pkg
-config; ac_word
=$2
27679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27680 $as_echo_n "checking for $ac_word... " >&6; }
27681 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27682 $as_echo_n "(cached) " >&6
27684 case $ac_pt_PKG_CONFIG in
27686 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27690 for as_dir
in $PATH
27693 test -z "$as_dir" && as_dir
=.
27694 for ac_exec_ext
in '' $ac_executable_extensions; do
27695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27696 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27707 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27708 if test -n "$ac_pt_PKG_CONFIG"; then
27709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27710 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27713 $as_echo "no" >&6; }
27716 if test "x$ac_pt_PKG_CONFIG" = x
; then
27719 case $cross_compiling:$ac_tool_warned in
27721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27723 ac_tool_warned
=yes ;;
27725 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27728 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27732 if test -n "$PKG_CONFIG"; then
27733 _pkg_min_version
=0.9.0
27734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27735 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27736 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27738 $as_echo "yes" >&6; }
27740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27741 $as_echo "no" >&6; }
27748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27749 $as_echo_n "checking for GL... " >&6; }
27751 if test -n "$PKG_CONFIG"; then
27752 if test -n "$GL_CFLAGS"; then
27753 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27755 if test -n "$PKG_CONFIG" && \
27756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27757 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27760 test $ac_status = 0; }; then
27761 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27769 if test -n "$PKG_CONFIG"; then
27770 if test -n "$GL_LIBS"; then
27771 pkg_cv_GL_LIBS
="$GL_LIBS"
27773 if test -n "$PKG_CONFIG" && \
27774 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27775 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27778 test $ac_status = 0; }; then
27779 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27790 if test $pkg_failed = yes; then
27792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27793 _pkg_short_errors_supported
=yes
27795 _pkg_short_errors_supported
=no
27797 if test $_pkg_short_errors_supported = yes; then
27798 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27800 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27802 # Put the nasty error message in config.log where it belongs
27803 echo "$GL_PKG_ERRORS" >&5
27806 if test "x$ac_find_libraries" = "x"; then
27807 if test "xglBegin" != "x"; then
27808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27809 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27810 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27811 $as_echo_n "(cached) " >&6
27813 ac_check_lib_save_LIBS
=$LIBS
27815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27816 /* end confdefs.h. */
27818 /* Override any GCC internal prototype to avoid an error.
27819 Use char because int might match the return type of a GCC
27820 builtin and then its argument prototype would still apply. */
27833 if ac_fn_c_try_link
"$LINENO"; then :
27834 ac_cv_lib_GL_glBegin
=yes
27836 ac_cv_lib_GL_glBegin
=no
27838 rm -f core conftest.err conftest.
$ac_objext \
27839 conftest
$ac_exeext conftest.
$ac_ext
27840 LIBS
=$ac_check_lib_save_LIBS
27842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27843 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27844 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27845 ac_find_libraries
="std"
27851 if test "x$ac_find_libraries" = "x"; then
27852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27853 $as_echo_n "checking elsewhere... " >&6; }
27856 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27858 for ac_extension
in a so sl dylib dll.a
; do
27859 if test -f "$ac_dir/libGL.$ac_extension"; then
27860 ac_find_libraries
=$ac_dir
27866 if test "x$ac_find_libraries" != "x"; then
27867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27868 $as_echo "yes" >&6; }
27870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27871 $as_echo "no" >&6; }
27875 elif test $pkg_failed = untried
; then
27877 if test "x$ac_find_libraries" = "x"; then
27878 if test "xglBegin" != "x"; then
27879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27880 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27881 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27882 $as_echo_n "(cached) " >&6
27884 ac_check_lib_save_LIBS
=$LIBS
27886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27887 /* end confdefs.h. */
27889 /* Override any GCC internal prototype to avoid an error.
27890 Use char because int might match the return type of a GCC
27891 builtin and then its argument prototype would still apply. */
27904 if ac_fn_c_try_link
"$LINENO"; then :
27905 ac_cv_lib_GL_glBegin
=yes
27907 ac_cv_lib_GL_glBegin
=no
27909 rm -f core conftest.err conftest.
$ac_objext \
27910 conftest
$ac_exeext conftest.
$ac_ext
27911 LIBS
=$ac_check_lib_save_LIBS
27913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27914 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27915 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27916 ac_find_libraries
="std"
27922 if test "x$ac_find_libraries" = "x"; then
27923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27924 $as_echo_n "checking elsewhere... " >&6; }
27927 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27929 for ac_extension
in a so sl dylib dll.a
; do
27930 if test -f "$ac_dir/libGL.$ac_extension"; then
27931 ac_find_libraries
=$ac_dir
27937 if test "x$ac_find_libraries" != "x"; then
27938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27939 $as_echo "yes" >&6; }
27941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27942 $as_echo "no" >&6; }
27947 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
27948 GL_LIBS
=$pkg_cv_GL_LIBS
27949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27950 $as_echo "yes" >&6; }
27952 ac_find_libraries
="std"
27954 eval ac_find_cflags
=\
$GL_CFLAGS
27955 eval fl_libs
=\
$GL_LIBS
27957 for fl_path
in $fl_libs
27959 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27960 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27966 if test "$ac_find_libraries" != "" ; then
27967 if test "$ac_find_libraries" != "std" ; then
27969 if test "$ac_find_libraries" = "default location"; then
27972 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27974 if test $result = 0; then
27977 ac_path_to_link
=" -L$ac_find_libraries"
27981 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27982 LDFLAGS_GL
="$ac_path_to_link"
27989 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
27992 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27993 if test -n "$ac_tool_prefix"; then
27994 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27995 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27997 $as_echo_n "checking for $ac_word... " >&6; }
27998 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27999 $as_echo_n "(cached) " >&6
28001 case $PKG_CONFIG in
28003 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28007 for as_dir
in $PATH
28010 test -z "$as_dir" && as_dir
=.
28011 for ac_exec_ext
in '' $ac_executable_extensions; do
28012 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28013 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28024 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28025 if test -n "$PKG_CONFIG"; then
28026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28027 $as_echo "$PKG_CONFIG" >&6; }
28029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28030 $as_echo "no" >&6; }
28035 if test -z "$ac_cv_path_PKG_CONFIG"; then
28036 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28037 # Extract the first word of "pkg-config", so it can be a program name with args.
28038 set dummy pkg
-config; ac_word
=$2
28039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28040 $as_echo_n "checking for $ac_word... " >&6; }
28041 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28042 $as_echo_n "(cached) " >&6
28044 case $ac_pt_PKG_CONFIG in
28046 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28050 for as_dir
in $PATH
28053 test -z "$as_dir" && as_dir
=.
28054 for ac_exec_ext
in '' $ac_executable_extensions; do
28055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28056 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28067 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28068 if test -n "$ac_pt_PKG_CONFIG"; then
28069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28070 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28073 $as_echo "no" >&6; }
28076 if test "x$ac_pt_PKG_CONFIG" = x
; then
28079 case $cross_compiling:$ac_tool_warned in
28081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28083 ac_tool_warned
=yes ;;
28085 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28088 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28092 if test -n "$PKG_CONFIG"; then
28093 _pkg_min_version
=0.9.0
28094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28095 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28096 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28098 $as_echo "yes" >&6; }
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28101 $as_echo "no" >&6; }
28108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28109 $as_echo_n "checking for GLU... " >&6; }
28111 if test -n "$PKG_CONFIG"; then
28112 if test -n "$GLU_CFLAGS"; then
28113 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28115 if test -n "$PKG_CONFIG" && \
28116 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28117 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28120 test $ac_status = 0; }; then
28121 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28129 if test -n "$PKG_CONFIG"; then
28130 if test -n "$GLU_LIBS"; then
28131 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28133 if test -n "$PKG_CONFIG" && \
28134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28135 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28138 test $ac_status = 0; }; then
28139 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28150 if test $pkg_failed = yes; then
28152 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28153 _pkg_short_errors_supported
=yes
28155 _pkg_short_errors_supported
=no
28157 if test $_pkg_short_errors_supported = yes; then
28158 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28160 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28162 # Put the nasty error message in config.log where it belongs
28163 echo "$GLU_PKG_ERRORS" >&5
28166 if test "x$ac_find_libraries" = "x"; then
28167 if test "xgluBeginCurve" != "x"; then
28168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28169 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28170 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28171 $as_echo_n "(cached) " >&6
28173 ac_check_lib_save_LIBS
=$LIBS
28175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28176 /* end confdefs.h. */
28178 /* Override any GCC internal prototype to avoid an error.
28179 Use char because int might match the return type of a GCC
28180 builtin and then its argument prototype would still apply. */
28184 char gluBeginCurve ();
28188 return gluBeginCurve ();
28193 if ac_fn_c_try_link
"$LINENO"; then :
28194 ac_cv_lib_GLU_gluBeginCurve
=yes
28196 ac_cv_lib_GLU_gluBeginCurve
=no
28198 rm -f core conftest.err conftest.
$ac_objext \
28199 conftest
$ac_exeext conftest.
$ac_ext
28200 LIBS
=$ac_check_lib_save_LIBS
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28203 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28204 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28205 ac_find_libraries
="std"
28211 if test "x$ac_find_libraries" = "x"; then
28212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28213 $as_echo_n "checking elsewhere... " >&6; }
28216 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28218 for ac_extension
in a so sl dylib dll.a
; do
28219 if test -f "$ac_dir/libGLU.$ac_extension"; then
28220 ac_find_libraries
=$ac_dir
28226 if test "x$ac_find_libraries" != "x"; then
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28228 $as_echo "yes" >&6; }
28230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28231 $as_echo "no" >&6; }
28235 elif test $pkg_failed = untried
; then
28237 if test "x$ac_find_libraries" = "x"; then
28238 if test "xgluBeginCurve" != "x"; then
28239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28240 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28241 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28242 $as_echo_n "(cached) " >&6
28244 ac_check_lib_save_LIBS
=$LIBS
28246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28247 /* end confdefs.h. */
28249 /* Override any GCC internal prototype to avoid an error.
28250 Use char because int might match the return type of a GCC
28251 builtin and then its argument prototype would still apply. */
28255 char gluBeginCurve ();
28259 return gluBeginCurve ();
28264 if ac_fn_c_try_link
"$LINENO"; then :
28265 ac_cv_lib_GLU_gluBeginCurve
=yes
28267 ac_cv_lib_GLU_gluBeginCurve
=no
28269 rm -f core conftest.err conftest.
$ac_objext \
28270 conftest
$ac_exeext conftest.
$ac_ext
28271 LIBS
=$ac_check_lib_save_LIBS
28273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28274 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28275 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28276 ac_find_libraries
="std"
28282 if test "x$ac_find_libraries" = "x"; then
28283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28284 $as_echo_n "checking elsewhere... " >&6; }
28287 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28289 for ac_extension
in a so sl dylib dll.a
; do
28290 if test -f "$ac_dir/libGLU.$ac_extension"; then
28291 ac_find_libraries
=$ac_dir
28297 if test "x$ac_find_libraries" != "x"; then
28298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28299 $as_echo "yes" >&6; }
28301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28302 $as_echo "no" >&6; }
28307 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28308 GLU_LIBS
=$pkg_cv_GLU_LIBS
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28310 $as_echo "yes" >&6; }
28312 ac_find_libraries
="std"
28314 eval ac_find_cflags
=\
$GLU_CFLAGS
28315 eval fl_libs
=\
$GLU_LIBS
28317 for fl_path
in $fl_libs
28319 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28320 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28326 if test "$ac_find_libraries" != "" ; then
28327 if test "$ac_find_libraries" != "std" ; then
28329 if test "$ac_find_libraries" = "default location"; then
28332 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28334 if test $result = 0; then
28337 ac_path_to_link
=" -L$ac_find_libraries"
28341 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28342 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28343 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28348 OPENGL_LIBS
="-lGL -lGLU"
28352 if test "$found_gl" != 1; then
28356 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28359 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28360 if test -n "$ac_tool_prefix"; then
28361 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28362 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28364 $as_echo_n "checking for $ac_word... " >&6; }
28365 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28366 $as_echo_n "(cached) " >&6
28368 case $PKG_CONFIG in
28370 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28374 for as_dir
in $PATH
28377 test -z "$as_dir" && as_dir
=.
28378 for ac_exec_ext
in '' $ac_executable_extensions; do
28379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28380 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28391 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28392 if test -n "$PKG_CONFIG"; then
28393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28394 $as_echo "$PKG_CONFIG" >&6; }
28396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28397 $as_echo "no" >&6; }
28402 if test -z "$ac_cv_path_PKG_CONFIG"; then
28403 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28404 # Extract the first word of "pkg-config", so it can be a program name with args.
28405 set dummy pkg
-config; ac_word
=$2
28406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28407 $as_echo_n "checking for $ac_word... " >&6; }
28408 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28409 $as_echo_n "(cached) " >&6
28411 case $ac_pt_PKG_CONFIG in
28413 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28417 for as_dir
in $PATH
28420 test -z "$as_dir" && as_dir
=.
28421 for ac_exec_ext
in '' $ac_executable_extensions; do
28422 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28423 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28434 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28435 if test -n "$ac_pt_PKG_CONFIG"; then
28436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28437 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28440 $as_echo "no" >&6; }
28443 if test "x$ac_pt_PKG_CONFIG" = x
; then
28446 case $cross_compiling:$ac_tool_warned in
28448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28450 ac_tool_warned
=yes ;;
28452 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28455 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28459 if test -n "$PKG_CONFIG"; then
28460 _pkg_min_version
=0.9.0
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28462 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28463 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28465 $as_echo "yes" >&6; }
28467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28468 $as_echo "no" >&6; }
28475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28476 $as_echo_n "checking for MesaGL... " >&6; }
28478 if test -n "$PKG_CONFIG"; then
28479 if test -n "$MesaGL_CFLAGS"; then
28480 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28482 if test -n "$PKG_CONFIG" && \
28483 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28484 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28487 test $ac_status = 0; }; then
28488 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28496 if test -n "$PKG_CONFIG"; then
28497 if test -n "$MesaGL_LIBS"; then
28498 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28500 if test -n "$PKG_CONFIG" && \
28501 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28502 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28505 test $ac_status = 0; }; then
28506 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28517 if test $pkg_failed = yes; then
28519 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28520 _pkg_short_errors_supported
=yes
28522 _pkg_short_errors_supported
=no
28524 if test $_pkg_short_errors_supported = yes; then
28525 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28527 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28529 # Put the nasty error message in config.log where it belongs
28530 echo "$MesaGL_PKG_ERRORS" >&5
28533 if test "x$ac_find_libraries" = "x"; then
28534 if test "xglEnable" != "x"; then
28535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28536 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28537 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28538 $as_echo_n "(cached) " >&6
28540 ac_check_lib_save_LIBS
=$LIBS
28541 LIBS
="-lMesaGL $LIBS"
28542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28543 /* end confdefs.h. */
28545 /* Override any GCC internal prototype to avoid an error.
28546 Use char because int might match the return type of a GCC
28547 builtin and then its argument prototype would still apply. */
28555 return glEnable ();
28560 if ac_fn_c_try_link
"$LINENO"; then :
28561 ac_cv_lib_MesaGL_glEnable
=yes
28563 ac_cv_lib_MesaGL_glEnable
=no
28565 rm -f core conftest.err conftest.
$ac_objext \
28566 conftest
$ac_exeext conftest.
$ac_ext
28567 LIBS
=$ac_check_lib_save_LIBS
28569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28570 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28571 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28572 ac_find_libraries
="std"
28578 if test "x$ac_find_libraries" = "x"; then
28579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28580 $as_echo_n "checking elsewhere... " >&6; }
28583 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28585 for ac_extension
in a so sl dylib dll.a
; do
28586 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28587 ac_find_libraries
=$ac_dir
28593 if test "x$ac_find_libraries" != "x"; then
28594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28595 $as_echo "yes" >&6; }
28597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28598 $as_echo "no" >&6; }
28602 elif test $pkg_failed = untried
; then
28604 if test "x$ac_find_libraries" = "x"; then
28605 if test "xglEnable" != "x"; then
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28607 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28608 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28609 $as_echo_n "(cached) " >&6
28611 ac_check_lib_save_LIBS
=$LIBS
28612 LIBS
="-lMesaGL $LIBS"
28613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28614 /* end confdefs.h. */
28616 /* Override any GCC internal prototype to avoid an error.
28617 Use char because int might match the return type of a GCC
28618 builtin and then its argument prototype would still apply. */
28626 return glEnable ();
28631 if ac_fn_c_try_link
"$LINENO"; then :
28632 ac_cv_lib_MesaGL_glEnable
=yes
28634 ac_cv_lib_MesaGL_glEnable
=no
28636 rm -f core conftest.err conftest.
$ac_objext \
28637 conftest
$ac_exeext conftest.
$ac_ext
28638 LIBS
=$ac_check_lib_save_LIBS
28640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28641 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28642 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28643 ac_find_libraries
="std"
28649 if test "x$ac_find_libraries" = "x"; then
28650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28651 $as_echo_n "checking elsewhere... " >&6; }
28654 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28656 for ac_extension
in a so sl dylib dll.a
; do
28657 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28658 ac_find_libraries
=$ac_dir
28664 if test "x$ac_find_libraries" != "x"; then
28665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28666 $as_echo "yes" >&6; }
28668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28669 $as_echo "no" >&6; }
28674 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28675 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28677 $as_echo "yes" >&6; }
28679 ac_find_libraries
="std"
28681 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28682 eval fl_libs
=\
$MesaGL_LIBS
28684 for fl_path
in $fl_libs
28686 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28687 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28693 if test "$ac_find_libraries" != "" ; then
28694 if test "$ac_find_libraries" != "std" ; then
28696 if test "$ac_find_libraries" = "default location"; then
28699 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28701 if test $result = 0; then
28704 ac_path_to_link
=" -L$ac_find_libraries"
28708 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28709 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28712 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28724 if test "x$OPENGL_LIBS" = "x"; then
28725 if test "$wxUSE_OPENGL" = "yes"; then
28726 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28729 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28736 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28740 if test "$wxUSE_OPENGL" = "auto"; then
28744 if test "$wxUSE_OPENGL" = "yes"; then
28746 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28748 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28755 if test -n "$TOOLKIT" ; then
28756 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28761 if test "$wxUSE_SHARED" = "yes"; then
28765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28766 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28771 if test "$wxUSE_SHARED" = "yes"; then
28775 *-*-cygwin* | *-*-mingw* )
28776 wx_cv_version_script
=no
28780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28781 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28782 if ${wx_cv_version_script+:} false
; then :
28783 $as_echo_n "(cached) " >&6
28786 echo "VER_1 { *; };" >conftest.sym
28787 echo "int main() { return 0; }" >conftest.cpp
28790 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28791 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28792 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28793 (eval $ac_try) 2>&5
28795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28796 test $ac_status = 0; }; } ; then
28797 if test -s conftest.stderr
; then
28798 wx_cv_version_script
=no
28800 wx_cv_version_script
=yes
28803 wx_cv_version_script
=no
28806 if test $wx_cv_version_script = yes
28808 echo "struct B { virtual ~B() { } }; \
28809 struct D : public B { }; \
28810 void F() { D d; }" > conftest.cpp
28813 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28814 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28815 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28816 (eval $ac_try) 2>&5
28818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28819 test $ac_status = 0; }; } &&
28821 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28822 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28823 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28824 (eval $ac_try) 2>&5
28826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28827 test $ac_status = 0; }; }
28830 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28831 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28832 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28833 (eval $ac_try) 2>&5
28835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28836 test $ac_status = 0; }; }
28838 wx_cv_version_script
=yes
28840 wx_cv_version_script
=no
28845 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28846 rm -f conftest1.output conftest2.output conftest3.output
28849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28850 $as_echo "$wx_cv_version_script" >&6; }
28852 if test $wx_cv_version_script = yes ; then
28853 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28859 if test "$wxUSE_VISIBILITY" != "no"; then
28862 if test -n "$GCC"; then
28863 CFLAGS_VISIBILITY
="-fvisibility=hidden"
28864 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
28865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28866 $as_echo_n "checking for symbols visibility support... " >&6; }
28867 if ${wx_cv_cc_visibility+:} false
; then :
28868 $as_echo_n "(cached) " >&6
28871 wx_save_CXXFLAGS
="$CXXFLAGS"
28872 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28874 ac_cpp
='$CXXCPP $CPPFLAGS'
28875 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28876 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28877 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28880 /* end confdefs.h. */
28882 /* we need gcc >= 4.0, older versions with visibility support
28883 didn't have class visibility: */
28884 #if defined(__GNUC__) && __GNUC__ < 4
28885 error this gcc is too old;
28888 /* visibility only makes sense for ELF shared libs: */
28889 #if !defined(__ELF__) && !defined(__APPLE__)
28890 error this platform has no visibility;
28893 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28894 #if defined(__clang__)
28895 clang compiler is still broken w.r.t. visibility;
28898 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28899 extern __attribute__((__visibility__("default"))) int exportedvar;
28900 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28901 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28902 class __attribute__((__visibility__("default"))) Foo {
28914 if ac_fn_cxx_try_compile
"$LINENO"; then :
28915 wx_cv_cc_visibility
=yes
28917 wx_cv_cc_visibility
=no
28919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28921 ac_cpp
='$CPP $CPPFLAGS'
28922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28926 CXXFLAGS
="$wx_save_CXXFLAGS"
28929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28930 $as_echo "$wx_cv_cc_visibility" >&6; }
28931 if test $wx_cv_cc_visibility = yes; then
28932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28933 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28934 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false
; then :
28935 $as_echo_n "(cached) " >&6
28938 wx_save_CXXFLAGS
="$CXXFLAGS"
28939 wx_save_LDFLAGS
="$LDFLAGS"
28940 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28941 LDFLAGS
="$LDFLAGS -shared -fPIC"
28943 ac_cpp
='$CXXCPP $CPPFLAGS'
28944 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28945 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28946 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28949 /* end confdefs.h. */
28957 std::string s("hello");
28964 if ac_fn_cxx_try_link
"$LINENO"; then :
28965 wx_cv_cc_broken_libstdcxx_visibility
=no
28967 wx_cv_cc_broken_libstdcxx_visibility
=yes
28969 rm -f core conftest.err conftest.
$ac_objext \
28970 conftest
$ac_exeext conftest.
$ac_ext
28972 ac_cpp
='$CPP $CPPFLAGS'
28973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28977 CXXFLAGS
="$wx_save_CXXFLAGS"
28978 LDFLAGS
="$wx_save_LDFLAGS"
28981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
28982 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
28984 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
28986 $as_echo_n "checking whether we can work around it... " >&6; }
28987 if ${wx_cv_cc_visibility_workaround+:} false
; then :
28988 $as_echo_n "(cached) " >&6
28992 ac_cpp
='$CXXCPP $CPPFLAGS'
28993 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28994 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28995 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28998 /* end confdefs.h. */
29000 #pragma GCC visibility push(default)
29002 #pragma GCC visibility pop
29008 std::string s("hello");
29015 if ac_fn_cxx_try_link
"$LINENO"; then :
29016 wx_cv_cc_visibility_workaround
=no
29018 wx_cv_cc_visibility_workaround
=yes
29020 rm -f core conftest.err conftest.
$ac_objext \
29021 conftest
$ac_exeext conftest.
$ac_ext
29023 ac_cpp
='$CPP $CPPFLAGS'
29024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29032 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29034 if test $wx_cv_cc_visibility_workaround = no
; then
29035 wx_cv_cc_visibility
=no
29040 if test $wx_cv_cc_visibility = yes; then
29041 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29043 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29044 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29048 CFLAGS_VISIBILITY
=""
29049 CXXFLAGS_VISIBILITY
=""
29057 if test "x$SUNCXX" = xyes
; then
29058 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
29059 WXCONFIG_RPATH
="-R\$libdir"
29062 *-*-linux* | *-*-gnu* )
29063 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29064 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29069 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
29071 saveLdflags
="$LDFLAGS"
29072 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29074 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29076 /* end confdefs.h. */
29086 if ac_fn_c_try_link
"$LINENO"; then :
29088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29089 $as_echo "yes" >&6; }
29090 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29091 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29096 $as_echo "no" >&6; }
29097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29098 $as_echo_n "checking if the linker accepts -R... " >&6; }
29099 LDFLAGS
="$saveLdflags -Wl,-R,/"
29100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29101 /* end confdefs.h. */
29111 if ac_fn_c_try_link
"$LINENO"; then :
29113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29114 $as_echo "yes" >&6; }
29115 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29116 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29121 $as_echo "no" >&6; }
29124 rm -f core conftest.err conftest.
$ac_objext \
29125 conftest
$ac_exeext conftest.
$ac_ext
29128 rm -f core conftest.err conftest.
$ac_objext \
29129 conftest
$ac_exeext conftest.
$ac_ext
29130 LDFLAGS
="$saveLdflags"
29134 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29135 if test "$install_name_tool" -a -x "$install_name_tool"; then
29136 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29137 cat <<EOF >change-install-names
29139 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29140 for i in \${libnames} ; do
29141 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29142 for dep in \${libnames} ; do
29143 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29147 chmod +x change
-install-names
29148 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29151 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29154 *-*-cygwin* | *-*-mingw32* )
29158 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29159 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29165 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29167 if test $wxUSE_RPATH = "no"; then
29168 SAMPLES_RPATH_FLAG
=''
29169 DYLIB_PATH_POSTLINK
=''
29177 config_linkage_component
="-static"
29184 lib_unicode_suffix
=
29186 if test "$wxUSE_UNICODE" = "yes"; then
29187 lib_unicode_suffix
=u
29188 WX_CHARTYPE
="unicode"
29192 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29193 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29196 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29200 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29202 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29204 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29207 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29208 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29210 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29212 if test "${TOOLKIT_DIR}" = "os2"; then
29213 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29215 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29220 if test "$wxUSE_OLD_COCOA" = 1; then
29223 ac_cpp
='$CPP $CPPFLAGS'
29224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29231 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29233 /* end confdefs.h. */
29234 #include <AppKit/NSEvent.h>
29235 #include <CoreFoundation/CoreFoundation.h>
29245 if ac_fn_c_try_compile
"$LINENO"; then :
29246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29247 $as_echo "no" >&6; }
29249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29250 $as_echo "yes" >&6; }
29251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29252 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29254 /* end confdefs.h. */
29255 #define __Point__ 1
29256 #include <AppKit/NSEvent.h>
29257 #include <CoreFoundation/CoreFoundation.h>
29267 if ac_fn_c_try_compile
"$LINENO"; then :
29268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29269 $as_echo "yes" >&6; }
29270 $as_echo "#define __Point__ 1" >>confdefs.h
29274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29277 See \`config.log' for more details" "$LINENO" 5; }
29280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29285 ac_cpp
='$CPP $CPPFLAGS'
29286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29293 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29294 if test "x$ac_cv_type_mode_t" = xyes
; then :
29298 cat >>confdefs.h
<<_ACEOF
29304 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29305 if test "x$ac_cv_type_off_t" = xyes
; then :
29309 cat >>confdefs.h
<<_ACEOF
29310 #define off_t long int
29315 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29316 if test "x$ac_cv_type_pid_t" = xyes
; then :
29320 cat >>confdefs.h
<<_ACEOF
29326 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29327 if test "x$ac_cv_type_size_t" = xyes
; then :
29331 cat >>confdefs.h
<<_ACEOF
29332 #define size_t unsigned int
29338 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29339 if test "x$ac_cv_type_ssize_t" = xyes
; then :
29341 cat >>confdefs.h
<<_ACEOF
29342 #define HAVE_SSIZE_T 1
29350 ac_cpp
='$CXXCPP $CPPFLAGS'
29351 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29352 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29353 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29355 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29356 if ${wx_cv_size_t_is_uint+:} false
; then :
29357 $as_echo_n "(cached) " >&6
29360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29361 /* end confdefs.h. */
29362 #include <stddef.h>
29369 struct Foo { void foo(size_t); void foo(unsigned int); };
29377 if ac_fn_cxx_try_compile
"$LINENO"; then :
29378 wx_cv_size_t_is_uint
=no
29380 wx_cv_size_t_is_uint
=yes
29383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29388 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29390 if test "$wx_cv_size_t_is_uint" = "yes"; then
29391 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29395 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29396 if ${wx_cv_size_t_is_ulong+:} false
; then :
29397 $as_echo_n "(cached) " >&6
29399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29400 /* end confdefs.h. */
29401 #include <stddef.h>
29408 struct Foo { void foo(size_t); void foo(unsigned long); };
29416 if ac_fn_cxx_try_compile
"$LINENO"; then :
29417 wx_cv_size_t_is_ulong
=no
29419 wx_cv_size_t_is_ulong
=yes
29422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29426 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29428 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29429 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29435 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29436 if ${wx_cv_wchar_t_is_separate_type+:} false
; then :
29437 $as_echo_n "(cached) " >&6
29439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29440 /* end confdefs.h. */
29448 struct Foo { void foo(wchar_t);
29449 void foo(unsigned short);
29450 void foo(unsigned int);
29451 void foo(unsigned long); };
29459 if ac_fn_cxx_try_compile
"$LINENO"; then :
29460 wx_cv_wchar_t_is_separate_type
=yes
29462 wx_cv_wchar_t_is_separate_type
=no
29465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29469 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29471 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29472 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29475 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29480 ac_cpp
='$CPP $CPPFLAGS'
29481 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29482 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29483 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29487 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29488 if ${wx_cv_struct_pw_gecos+:} false
; then :
29489 $as_echo_n "(cached) " >&6
29492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29493 /* end confdefs.h. */
29507 if ac_fn_c_try_compile
"$LINENO"; then :
29509 wx_cv_struct_pw_gecos
=yes
29513 wx_cv_struct_pw_gecos
=no
29517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29522 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29524 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29525 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29532 for ac_func
in wcslen
29534 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29535 if test "x$ac_cv_func_wcslen" = xyes
; then :
29536 cat >>confdefs.h
<<_ACEOF
29537 #define HAVE_WCSLEN 1
29544 if test "$WCSLEN_FOUND" = 0; then
29545 if test "$TOOLKIT" = "MSW"; then
29546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29547 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29548 if ${ac_cv_lib_msvcrt_wcslen+:} false
; then :
29549 $as_echo_n "(cached) " >&6
29551 ac_check_lib_save_LIBS
=$LIBS
29552 LIBS
="-lmsvcrt $LIBS"
29553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29554 /* end confdefs.h. */
29556 /* Override any GCC internal prototype to avoid an error.
29557 Use char because int might match the return type of a GCC
29558 builtin and then its argument prototype would still apply. */
29571 if ac_fn_c_try_link
"$LINENO"; then :
29572 ac_cv_lib_msvcrt_wcslen
=yes
29574 ac_cv_lib_msvcrt_wcslen
=no
29576 rm -f core conftest.err conftest.
$ac_objext \
29577 conftest
$ac_exeext conftest.
$ac_ext
29578 LIBS
=$ac_check_lib_save_LIBS
29580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29581 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29582 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes
; then :
29587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29588 $as_echo_n "checking for wcslen in -lw... " >&6; }
29589 if ${ac_cv_lib_w_wcslen+:} false
; then :
29590 $as_echo_n "(cached) " >&6
29592 ac_check_lib_save_LIBS
=$LIBS
29594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29595 /* end confdefs.h. */
29597 /* Override any GCC internal prototype to avoid an error.
29598 Use char because int might match the return type of a GCC
29599 builtin and then its argument prototype would still apply. */
29612 if ac_fn_c_try_link
"$LINENO"; then :
29613 ac_cv_lib_w_wcslen
=yes
29615 ac_cv_lib_w_wcslen
=no
29617 rm -f core conftest.err conftest.
$ac_objext \
29618 conftest
$ac_exeext conftest.
$ac_ext
29619 LIBS
=$ac_check_lib_save_LIBS
29621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29622 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29623 if test "x$ac_cv_lib_w_wcslen" = xyes
; then :
29633 if test "$WCSLEN_FOUND" = 1; then
29634 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29638 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29640 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29641 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29642 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29643 cat >>confdefs.h
<<_ACEOF
29644 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29651 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29652 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29655 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29657 if test "x$ac_cv_type_mbstate_t" = xyes
; then :
29659 cat >>confdefs.h
<<_ACEOF
29660 #define HAVE_MBSTATE_T 1
29663 for ac_func
in wcsrtombs
29665 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29666 if test "x$ac_cv_func_wcsrtombs" = xyes
; then :
29667 cat >>confdefs.h
<<_ACEOF
29668 #define HAVE_WCSRTOMBS 1
29677 for ac_func
in snprintf vsnprintf vsscanf
29679 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29680 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29681 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29682 cat >>confdefs.h
<<_ACEOF
29683 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29691 ac_cpp
='$CXXCPP $CPPFLAGS'
29692 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29693 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29694 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29696 if test "$ac_cv_func_vsnprintf" = "yes"; then
29697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29698 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29699 if ${wx_cv_func_vsnprintf_decl+:} false
; then :
29700 $as_echo_n "(cached) " >&6
29703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29704 /* end confdefs.h. */
29707 #include <stdarg.h>
29715 vsnprintf(buf, 10u, "%s", ap);
29721 if ac_fn_cxx_try_compile
"$LINENO"; then :
29722 wx_cv_func_vsnprintf_decl
=yes
29724 wx_cv_func_vsnprintf_decl
=no
29727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29732 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29734 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29735 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29739 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29740 if ${wx_cv_func_broken_vsnprintf_decl+:} false
; then :
29741 $as_echo_n "(cached) " >&6
29744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29745 /* end confdefs.h. */
29748 #include <stdarg.h>
29750 #if __MSL__ >= 0x6000
29752 using namespace std;
29762 const char *fmt = "%s";
29763 vsnprintf(buf, 10u, fmt, ap);
29769 if ac_fn_cxx_try_compile
"$LINENO"; then :
29770 wx_cv_func_broken_vsnprintf_decl
=no
29772 wx_cv_func_broken_vsnprintf_decl
=yes
29775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29780 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29782 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29783 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29789 if test "$ac_cv_func_snprintf" = "yes"; then
29790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29791 $as_echo_n "checking for snprintf declaration... " >&6; }
29792 if ${wx_cv_func_snprintf_decl+:} false
; then :
29793 $as_echo_n "(cached) " >&6
29796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29797 /* end confdefs.h. */
29800 #include <stdarg.h>
29802 #if __MSL__ >= 0x6000
29804 using namespace std;
29813 snprintf(buf, 10u, "%s", "wx");
29819 if ac_fn_cxx_try_compile
"$LINENO"; then :
29820 wx_cv_func_snprintf_decl
=yes
29822 wx_cv_func_snprintf_decl
=no
29825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29830 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29832 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29833 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29837 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29840 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29841 if ${wx_cv_func_snprintf_pos_params+:} false
; then :
29842 $as_echo_n "(cached) " >&6
29845 if test "$cross_compiling" = yes; then :
29847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29848 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29849 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29850 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29851 wx_cv_func_snprintf_pos_params
=no
29855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29856 /* end confdefs.h. */
29863 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29864 if (strcmp ("2 3 1", buffer) == 0)
29870 if ac_fn_cxx_try_run
"$LINENO"; then :
29871 wx_cv_func_snprintf_pos_params
=no
29873 wx_cv_func_snprintf_pos_params
=yes
29875 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
29876 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
29882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29883 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29885 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29886 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29892 if test "$ac_cv_func_vsscanf" = "yes"; then
29893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29894 $as_echo_n "checking for vsscanf declaration... " >&6; }
29895 if ${wx_cv_func_vsscanf_decl+:} false
; then :
29896 $as_echo_n "(cached) " >&6
29899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29900 /* end confdefs.h. */
29903 #include <stdarg.h>
29905 #if __MSL__ >= 0x6000
29907 using namespace std;
29917 vsscanf(buf, "%s", args);
29923 if ac_fn_cxx_try_compile
"$LINENO"; then :
29924 wx_cv_func_vsscanf_decl
=yes
29926 wx_cv_func_vsscanf_decl
=no
29929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29934 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29936 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29937 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29942 ac_cpp
='$CPP $CPPFLAGS'
29943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29948 if test "$wxUSE_UNICODE" = yes; then
29950 wchar_headers
="#include <stdio.h>
29951 #include <wchar.h>"
29954 for ac_header
in widec.h
29956 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29958 if test "x$ac_cv_header_widec_h" = xyes
; then :
29959 cat >>confdefs.h
<<_ACEOF
29960 #define HAVE_WIDEC_H 1
29967 if test "$ac_cv_header_widec_h" = "yes"; then
29968 wchar_headers
="$wchar_headers
29969 #include <widec.h>"
29974 for wx_func
in putws fputws wprintf vswprintf vswscanf
29976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29977 $as_echo_n "checking for $wx_func... " >&6; }
29978 if eval \
${wx_cv_func_$wx_func+:} false
; then :
29979 $as_echo_n "(cached) " >&6
29982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29983 /* end confdefs.h. */
29987 $ac_includes_default
30003 if ac_fn_c_try_link
"$LINENO"; then :
30004 eval wx_cv_func_
$wx_func=yes
30006 eval wx_cv_func_
$wx_func=no
30008 rm -f core conftest.err conftest.
$ac_objext \
30009 conftest
$ac_exeext conftest.
$ac_ext
30012 eval ac_res
=\
$wx_cv_func_$wx_func
30013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30014 $as_echo "$ac_res" >&6; }
30016 if eval test \
$wx_cv_func_$wx_func = yes
30018 cat >>confdefs.h
<<_ACEOF
30019 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30031 $as_echo_n "checking for _vsnwprintf... " >&6; }
30032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30033 /* end confdefs.h. */
30043 if ac_fn_c_try_compile
"$LINENO"; then :
30044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30045 $as_echo "yes" >&6; }
30046 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30050 $as_echo "no" >&6; }
30052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30055 if test "$wxUSE_FILE" = "yes"; then
30057 for wx_func
in fsync
30059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30060 $as_echo_n "checking for $wx_func... " >&6; }
30061 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30062 $as_echo_n "(cached) " >&6
30065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30066 /* end confdefs.h. */
30070 $ac_includes_default
30086 if ac_fn_c_try_link
"$LINENO"; then :
30087 eval wx_cv_func_
$wx_func=yes
30089 eval wx_cv_func_
$wx_func=no
30091 rm -f core conftest.err conftest.
$ac_objext \
30092 conftest
$ac_exeext conftest.
$ac_ext
30095 eval ac_res
=\
$wx_cv_func_$wx_func
30096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30097 $as_echo "$ac_res" >&6; }
30099 if eval test \
$wx_cv_func_$wx_func = yes
30101 cat >>confdefs.h
<<_ACEOF
30102 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30115 ac_cpp
='$CXXCPP $CPPFLAGS'
30116 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30117 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30118 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30121 for wx_func
in round
30123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30124 $as_echo_n "checking for $wx_func... " >&6; }
30125 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30126 $as_echo_n "(cached) " >&6
30129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30130 /* end confdefs.h. */
30134 $ac_includes_default
30150 if ac_fn_cxx_try_link
"$LINENO"; then :
30151 eval wx_cv_func_
$wx_func=yes
30153 eval wx_cv_func_
$wx_func=no
30155 rm -f core conftest.err conftest.
$ac_objext \
30156 conftest
$ac_exeext conftest.
$ac_ext
30159 eval ac_res
=\
$wx_cv_func_$wx_func
30160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30161 $as_echo "$ac_res" >&6; }
30163 if eval test \
$wx_cv_func_$wx_func = yes
30165 cat >>confdefs.h
<<_ACEOF
30166 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30177 ac_cpp
='$CPP $CPPFLAGS'
30178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30183 if test "$TOOLKIT" != "MSW"; then
30185 if test "$wxUSE_LIBICONV" != "no" ; then
30189 # Check whether --with-libiconv-prefix was given.
30190 if test "${with_libiconv_prefix+set}" = set; then :
30191 withval
=$with_libiconv_prefix;
30192 for dir
in `echo "$withval" | tr : ' '`; do
30193 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30194 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30201 $as_echo_n "checking for iconv... " >&6; }
30202 if ${am_cv_func_iconv+:} false
; then :
30203 $as_echo_n "(cached) " >&6
30206 am_cv_func_iconv
="no, consider installing GNU libiconv"
30208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30209 /* end confdefs.h. */
30210 #include <stdlib.h>
30215 iconv_t cd = iconv_open("","");
30216 iconv(cd,NULL,NULL,NULL,NULL);
30222 if ac_fn_c_try_link
"$LINENO"; then :
30223 am_cv_func_iconv
=yes
30225 rm -f core conftest.err conftest.
$ac_objext \
30226 conftest
$ac_exeext conftest.
$ac_ext
30227 if test "$am_cv_func_iconv" != yes; then
30228 am_save_LIBS
="$LIBS"
30229 LIBS
="$LIBS -liconv"
30230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30231 /* end confdefs.h. */
30232 #include <stdlib.h>
30237 iconv_t cd = iconv_open("","");
30238 iconv(cd,NULL,NULL,NULL,NULL);
30244 if ac_fn_c_try_link
"$LINENO"; then :
30245 am_cv_lib_iconv
=yes
30246 am_cv_func_iconv
=yes
30248 rm -f core conftest.err conftest.
$ac_objext \
30249 conftest
$ac_exeext conftest.
$ac_ext
30250 LIBS
="$am_save_LIBS"
30254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30255 $as_echo "$am_cv_func_iconv" >&6; }
30256 if test "$am_cv_func_iconv" = yes; then
30258 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30261 $as_echo_n "checking if iconv needs const... " >&6; }
30262 if ${wx_cv_func_iconv_const+:} false
; then :
30263 $as_echo_n "(cached) " >&6
30265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30266 /* end confdefs.h. */
30268 #include <stdlib.h>
30274 #if defined(__STDC__) || defined(__cplusplus)
30275 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30288 if ac_fn_c_try_compile
"$LINENO"; then :
30289 wx_cv_func_iconv_const
="no"
30291 wx_cv_func_iconv_const
="yes"
30294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30298 $as_echo "$wx_cv_func_iconv_const" >&6; }
30301 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30302 iconv_const
="const"
30306 cat >>confdefs.h
<<_ACEOF
30307 #define ICONV_CONST $iconv_const
30312 if test "$am_cv_lib_iconv" = yes; then
30317 LIBS
="$LIBICONV $LIBS"
30320 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30321 for ac_func
in sigaction
30323 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30324 if test "x$ac_cv_func_sigaction" = xyes
; then :
30325 cat >>confdefs.h
<<_ACEOF
30326 #define HAVE_SIGACTION 1
30333 if test "$ac_cv_func_sigaction" = "no"; then
30334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30335 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30336 wxUSE_ON_FATAL_EXCEPTION
=no
30339 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30341 $as_echo_n "checking for sa_handler type... " >&6; }
30342 if ${wx_cv_type_sa_handler+:} false
; then :
30343 $as_echo_n "(cached) " >&6
30347 ac_cpp
='$CXXCPP $CPPFLAGS'
30348 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30349 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30350 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30353 /* end confdefs.h. */
30354 #include <signal.h>
30359 extern void testSigHandler(int);
30361 struct sigaction sa;
30362 sa.sa_handler = testSigHandler;
30368 if ac_fn_cxx_try_compile
"$LINENO"; then :
30370 wx_cv_type_sa_handler
=int
30374 wx_cv_type_sa_handler
=void
30377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30379 ac_cpp
='$CPP $CPPFLAGS'
30380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30387 $as_echo "$wx_cv_type_sa_handler" >&6; }
30389 cat >>confdefs.h
<<_ACEOF
30390 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30396 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30398 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30399 if ${wx_cv_func_backtrace+:} false
; then :
30400 $as_echo_n "(cached) " >&6
30404 ac_cpp
='$CXXCPP $CPPFLAGS'
30405 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30406 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30407 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30410 /* end confdefs.h. */
30411 #include <execinfo.h>
30419 backtrace(trace, 1);
30420 messages = backtrace_symbols(trace, 1);
30426 if ac_fn_cxx_try_compile
"$LINENO"; then :
30427 wx_cv_func_backtrace
=yes
30429 wx_cv_func_backtrace
=no
30432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30434 ac_cpp
='$CPP $CPPFLAGS'
30435 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30436 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30437 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30443 $as_echo "$wx_cv_func_backtrace" >&6; }
30446 if test "$wx_cv_func_backtrace" = "no"; then
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30448 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30449 wxUSE_STACKWALKER
=no
30451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30452 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30453 if ${wx_cv_func_cxa_demangle+:} false
; then :
30454 $as_echo_n "(cached) " >&6
30458 ac_cpp
='$CXXCPP $CPPFLAGS'
30459 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30464 /* end confdefs.h. */
30465 #include <cxxabi.h>
30471 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30477 if ac_fn_cxx_try_link
"$LINENO"; then :
30478 wx_cv_func_cxa_demangle
=yes
30480 wx_cv_func_cxa_demangle
=no
30483 rm -f core conftest.err conftest.
$ac_objext \
30484 conftest
$ac_exeext conftest.
$ac_ext
30486 ac_cpp
='$CPP $CPPFLAGS'
30487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30495 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30497 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30498 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30504 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30506 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30507 wxUSE_STACKWALKER
=no
30511 for ac_func
in mkstemp mktemp
30513 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30514 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30515 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30516 cat >>confdefs.h
<<_ACEOF
30517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30525 $as_echo_n "checking for statfs... " >&6; }
30526 if ${wx_cv_func_statfs+:} false
; then :
30527 $as_echo_n "(cached) " >&6
30529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30530 /* end confdefs.h. */
30532 #if defined(__BSD__)
30533 #include <sys/param.h>
30534 #include <sys/mount.h>
30536 #include <sys/vfs.h>
30554 if ac_fn_c_try_compile
"$LINENO"; then :
30555 wx_cv_func_statfs
=yes
30557 wx_cv_func_statfs
=no
30560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30564 $as_echo "$wx_cv_func_statfs" >&6; }
30566 if test "$wx_cv_func_statfs" = "yes"; then
30567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30568 $as_echo_n "checking for statfs declaration... " >&6; }
30569 if ${wx_cv_func_statfs_decl+:} false
; then :
30570 $as_echo_n "(cached) " >&6
30573 ac_cpp
='$CXXCPP $CPPFLAGS'
30574 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30575 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30576 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30579 /* end confdefs.h. */
30581 #if defined(__BSD__)
30582 #include <sys/param.h>
30583 #include <sys/mount.h>
30585 #include <sys/vfs.h>
30599 if ac_fn_cxx_try_compile
"$LINENO"; then :
30600 wx_cv_func_statfs_decl
=yes
30602 wx_cv_func_statfs_decl
=no
30605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30607 ac_cpp
='$CPP $CPPFLAGS'
30608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30615 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30617 if test "$wx_cv_func_statfs_decl" = "yes"; then
30618 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30622 wx_cv_type_statvfs_t
="struct statfs"
30623 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30627 $as_echo_n "checking for statvfs... " >&6; }
30628 if ${wx_cv_func_statvfs+:} false
; then :
30629 $as_echo_n "(cached) " >&6
30631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30632 /* end confdefs.h. */
30634 #include <stddef.h>
30635 #include <sys/statvfs.h>
30641 statvfs("/", NULL);
30647 if ac_fn_c_try_compile
"$LINENO"; then :
30648 wx_cv_func_statvfs
=yes
30650 wx_cv_func_statvfs
=no
30653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30657 $as_echo "$wx_cv_func_statvfs" >&6; }
30659 if test "$wx_cv_func_statvfs" = "yes"; then
30660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30661 $as_echo_n "checking for statvfs argument type... " >&6; }
30662 if ${wx_cv_type_statvfs_t+:} false
; then :
30663 $as_echo_n "(cached) " >&6
30666 ac_cpp
='$CXXCPP $CPPFLAGS'
30667 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30668 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30669 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30672 /* end confdefs.h. */
30674 #include <sys/statvfs.h>
30691 if ac_fn_cxx_try_compile
"$LINENO"; then :
30692 wx_cv_type_statvfs_t
=statvfs_t
30695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30696 /* end confdefs.h. */
30698 #include <sys/statvfs.h>
30715 if ac_fn_cxx_try_compile
"$LINENO"; then :
30716 wx_cv_type_statvfs_t
="struct statvfs"
30718 wx_cv_type_statvfs_t
="unknown"
30721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30727 ac_cpp
='$CPP $CPPFLAGS'
30728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30735 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30737 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30738 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30742 wx_cv_type_statvfs_t
="unknown"
30746 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30747 cat >>confdefs.h
<<_ACEOF
30748 #define WX_STATFS_T $wx_cv_type_statvfs_t
30752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30753 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30756 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30757 for ac_func
in fcntl flock
30759 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30760 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30761 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30762 cat >>confdefs.h
<<_ACEOF
30763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30770 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30772 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30773 wxUSE_SNGLINST_CHECKER
=no
30777 for ac_func
in setenv putenv
30779 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30780 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30781 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30782 cat >>confdefs.h
<<_ACEOF
30783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30789 if test "$ac_cv_func_setenv" = "yes"; then
30790 for ac_func
in unsetenv
30792 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30793 if test "x$ac_cv_func_unsetenv" = xyes
; then :
30794 cat >>confdefs.h
<<_ACEOF
30795 #define HAVE_UNSETENV 1
30803 HAVE_SOME_SLEEP_FUNC
=0
30804 if test "$USE_BEOS" = 1; then
30805 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30807 HAVE_SOME_SLEEP_FUNC
=1
30810 if test "$USE_DARWIN" = 1; then
30811 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30813 HAVE_SOME_SLEEP_FUNC
=1
30816 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30818 for ac_func
in nanosleep
30820 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30821 if test "x$ac_cv_func_nanosleep" = xyes
; then :
30822 cat >>confdefs.h
<<_ACEOF
30823 #define HAVE_NANOSLEEP 1
30825 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30830 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30831 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
30832 $as_echo_n "(cached) " >&6
30834 ac_check_lib_save_LIBS
=$LIBS
30835 LIBS
="-lposix4 $LIBS"
30836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30837 /* end confdefs.h. */
30839 /* Override any GCC internal prototype to avoid an error.
30840 Use char because int might match the return type of a GCC
30841 builtin and then its argument prototype would still apply. */
30849 return nanosleep ();
30854 if ac_fn_c_try_link
"$LINENO"; then :
30855 ac_cv_lib_posix4_nanosleep
=yes
30857 ac_cv_lib_posix4_nanosleep
=no
30859 rm -f core conftest.err conftest.
$ac_objext \
30860 conftest
$ac_exeext conftest.
$ac_ext
30861 LIBS
=$ac_check_lib_save_LIBS
30863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30864 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30865 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
30867 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30869 POSIX4_LINK
=" -lposix4"
30874 for wx_func
in usleep
30876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30877 $as_echo_n "checking for $wx_func... " >&6; }
30878 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30879 $as_echo_n "(cached) " >&6
30882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30883 /* end confdefs.h. */
30887 $ac_includes_default
30903 if ac_fn_c_try_link
"$LINENO"; then :
30904 eval wx_cv_func_
$wx_func=yes
30906 eval wx_cv_func_
$wx_func=no
30908 rm -f core conftest.err conftest.
$ac_objext \
30909 conftest
$ac_exeext conftest.
$ac_ext
30912 eval ac_res
=\
$wx_cv_func_$wx_func
30913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30914 $as_echo "$ac_res" >&6; }
30916 if eval test \
$wx_cv_func_$wx_func = yes
30918 cat >>confdefs.h
<<_ACEOF
30919 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30926 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30943 for wx_func
in uname
30945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30946 $as_echo_n "checking for $wx_func... " >&6; }
30947 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30948 $as_echo_n "(cached) " >&6
30951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30952 /* end confdefs.h. */
30955 #include <sys/utsname.h>
30956 $ac_includes_default
30972 if ac_fn_c_try_link
"$LINENO"; then :
30973 eval wx_cv_func_
$wx_func=yes
30975 eval wx_cv_func_
$wx_func=no
30977 rm -f core conftest.err conftest.
$ac_objext \
30978 conftest
$ac_exeext conftest.
$ac_ext
30981 eval ac_res
=\
$wx_cv_func_$wx_func
30982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30983 $as_echo "$ac_res" >&6; }
30985 if eval test \
$wx_cv_func_$wx_func = yes
30987 cat >>confdefs.h
<<_ACEOF
30988 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30998 if test "$wx_cv_func_uname" != yes; then
31000 for wx_func
in gethostname
31002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31003 $as_echo_n "checking for $wx_func... " >&6; }
31004 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31005 $as_echo_n "(cached) " >&6
31008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31009 /* end confdefs.h. */
31013 $ac_includes_default
31029 if ac_fn_c_try_link
"$LINENO"; then :
31030 eval wx_cv_func_
$wx_func=yes
31032 eval wx_cv_func_
$wx_func=no
31034 rm -f core conftest.err conftest.
$ac_objext \
31035 conftest
$ac_exeext conftest.
$ac_ext
31038 eval ac_res
=\
$wx_cv_func_$wx_func
31039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31040 $as_echo "$ac_res" >&6; }
31042 if eval test \
$wx_cv_func_$wx_func = yes
31044 cat >>confdefs.h
<<_ACEOF
31045 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31058 for wx_func
in strtok_r
31060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31061 $as_echo_n "checking for $wx_func... " >&6; }
31062 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31063 $as_echo_n "(cached) " >&6
31066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31067 /* end confdefs.h. */
31071 $ac_includes_default
31087 if ac_fn_c_try_link
"$LINENO"; then :
31088 eval wx_cv_func_
$wx_func=yes
31090 eval wx_cv_func_
$wx_func=no
31092 rm -f core conftest.err conftest.
$ac_objext \
31093 conftest
$ac_exeext conftest.
$ac_ext
31096 eval ac_res
=\
$wx_cv_func_$wx_func
31097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31098 $as_echo "$ac_res" >&6; }
31100 if eval test \
$wx_cv_func_$wx_func = yes
31102 cat >>confdefs.h
<<_ACEOF
31103 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31115 for ac_func
in inet_addr
31117 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31118 if test "x$ac_cv_func_inet_addr" = xyes
; then :
31119 cat >>confdefs.h
<<_ACEOF
31120 #define HAVE_INET_ADDR 1
31122 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31127 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31128 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
31129 $as_echo_n "(cached) " >&6
31131 ac_check_lib_save_LIBS
=$LIBS
31133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31134 /* end confdefs.h. */
31136 /* Override any GCC internal prototype to avoid an error.
31137 Use char because int might match the return type of a GCC
31138 builtin and then its argument prototype would still apply. */
31146 return inet_addr ();
31151 if ac_fn_c_try_link
"$LINENO"; then :
31152 ac_cv_lib_nsl_inet_addr
=yes
31154 ac_cv_lib_nsl_inet_addr
=no
31156 rm -f core conftest.err conftest.
$ac_objext \
31157 conftest
$ac_exeext conftest.
$ac_ext
31158 LIBS
=$ac_check_lib_save_LIBS
31160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31161 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31162 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31167 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31168 if ${ac_cv_lib_resolv_inet_addr+:} false
; then :
31169 $as_echo_n "(cached) " >&6
31171 ac_check_lib_save_LIBS
=$LIBS
31172 LIBS
="-lresolv $LIBS"
31173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31174 /* end confdefs.h. */
31176 /* Override any GCC internal prototype to avoid an error.
31177 Use char because int might match the return type of a GCC
31178 builtin and then its argument prototype would still apply. */
31186 return inet_addr ();
31191 if ac_fn_c_try_link
"$LINENO"; then :
31192 ac_cv_lib_resolv_inet_addr
=yes
31194 ac_cv_lib_resolv_inet_addr
=no
31196 rm -f core conftest.err conftest.
$ac_objext \
31197 conftest
$ac_exeext conftest.
$ac_ext
31198 LIBS
=$ac_check_lib_save_LIBS
31200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31201 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31202 if test "x$ac_cv_lib_resolv_inet_addr" = xyes
; then :
31206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31207 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31208 if ${ac_cv_lib_socket_inet_addr+:} false
; then :
31209 $as_echo_n "(cached) " >&6
31211 ac_check_lib_save_LIBS
=$LIBS
31212 LIBS
="-lsocket $LIBS"
31213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31214 /* end confdefs.h. */
31216 /* Override any GCC internal prototype to avoid an error.
31217 Use char because int might match the return type of a GCC
31218 builtin and then its argument prototype would still apply. */
31226 return inet_addr ();
31231 if ac_fn_c_try_link
"$LINENO"; then :
31232 ac_cv_lib_socket_inet_addr
=yes
31234 ac_cv_lib_socket_inet_addr
=no
31236 rm -f core conftest.err conftest.
$ac_objext \
31237 conftest
$ac_exeext conftest.
$ac_ext
31238 LIBS
=$ac_check_lib_save_LIBS
31240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31241 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31242 if test "x$ac_cv_lib_socket_inet_addr" = xyes
; then :
31261 for ac_func
in inet_aton
31263 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31264 if test "x$ac_cv_func_inet_aton" = xyes
; then :
31265 cat >>confdefs.h
<<_ACEOF
31266 #define HAVE_INET_ATON 1
31268 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31272 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31274 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31275 if eval \
${$as_ac_Lib+:} false
; then :
31276 $as_echo_n "(cached) " >&6
31278 ac_check_lib_save_LIBS
=$LIBS
31279 LIBS
="-l$INET_LINK $LIBS"
31280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31281 /* end confdefs.h. */
31283 /* Override any GCC internal prototype to avoid an error.
31284 Use char because int might match the return type of a GCC
31285 builtin and then its argument prototype would still apply. */
31293 return inet_aton ();
31298 if ac_fn_c_try_link
"$LINENO"; then :
31299 eval "$as_ac_Lib=yes"
31301 eval "$as_ac_Lib=no"
31303 rm -f core conftest.err conftest.
$ac_objext \
31304 conftest
$ac_exeext conftest.
$ac_ext
31305 LIBS
=$ac_check_lib_save_LIBS
31307 eval ac_res
=\$
$as_ac_Lib
31308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31309 $as_echo "$ac_res" >&6; }
31310 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31311 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31320 if test "x$INET_LINK" != "x"; then
31321 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31323 INET_LINK
=" -l$INET_LINK"
31327 for wx_func
in fdopen
31329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31330 $as_echo_n "checking for $wx_func... " >&6; }
31331 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31332 $as_echo_n "(cached) " >&6
31335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31336 /* end confdefs.h. */
31340 $ac_includes_default
31356 if ac_fn_c_try_link
"$LINENO"; then :
31357 eval wx_cv_func_
$wx_func=yes
31359 eval wx_cv_func_
$wx_func=no
31361 rm -f core conftest.err conftest.
$ac_objext \
31362 conftest
$ac_exeext conftest.
$ac_ext
31365 eval ac_res
=\
$wx_cv_func_$wx_func
31366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31367 $as_echo "$ac_res" >&6; }
31369 if eval test \
$wx_cv_func_$wx_func = yes
31371 cat >>confdefs.h
<<_ACEOF
31372 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31383 if test "$wxUSE_TARSTREAM" = "yes"; then
31385 for wx_func
in sysconf
31387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31388 $as_echo_n "checking for $wx_func... " >&6; }
31389 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31390 $as_echo_n "(cached) " >&6
31393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31394 /* end confdefs.h. */
31398 $ac_includes_default
31414 if ac_fn_c_try_link
"$LINENO"; then :
31415 eval wx_cv_func_
$wx_func=yes
31417 eval wx_cv_func_
$wx_func=no
31419 rm -f core conftest.err conftest.
$ac_objext \
31420 conftest
$ac_exeext conftest.
$ac_ext
31423 eval ac_res
=\
$wx_cv_func_$wx_func
31424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31425 $as_echo "$ac_res" >&6; }
31427 if eval test \
$wx_cv_func_$wx_func = yes
31429 cat >>confdefs.h
<<_ACEOF
31430 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31442 for wx_func
in getpwuid_r
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31445 $as_echo_n "checking for $wx_func... " >&6; }
31446 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31447 $as_echo_n "(cached) " >&6
31450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31451 /* end confdefs.h. */
31458 $ac_includes_default
31468 struct passwd pw, *ppw;
31470 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31478 if ac_fn_c_try_link
"$LINENO"; then :
31479 eval wx_cv_func_
$wx_func=yes
31481 eval wx_cv_func_
$wx_func=no
31483 rm -f core conftest.err conftest.
$ac_objext \
31484 conftest
$ac_exeext conftest.
$ac_ext
31487 eval ac_res
=\
$wx_cv_func_$wx_func
31488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31489 $as_echo "$ac_res" >&6; }
31491 if eval test \
$wx_cv_func_$wx_func = yes
31493 cat >>confdefs.h
<<_ACEOF
31494 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31506 for wx_func
in getgrgid_r
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31509 $as_echo_n "checking for $wx_func... " >&6; }
31510 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31511 $as_echo_n "(cached) " >&6
31514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31515 /* end confdefs.h. */
31522 $ac_includes_default
31532 struct group grp, *pgrp;
31534 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31542 if ac_fn_c_try_link
"$LINENO"; then :
31543 eval wx_cv_func_
$wx_func=yes
31545 eval wx_cv_func_
$wx_func=no
31547 rm -f core conftest.err conftest.
$ac_objext \
31548 conftest
$ac_exeext conftest.
$ac_ext
31551 eval ac_res
=\
$wx_cv_func_$wx_func
31552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31553 $as_echo "$ac_res" >&6; }
31555 if eval test \
$wx_cv_func_$wx_func = yes
31557 cat >>confdefs.h
<<_ACEOF
31558 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31574 cat >confcache
<<\_ACEOF
31575 # This file is a shell script that caches the results of configure
31576 # tests run on this system so they can be shared between configure
31577 # scripts and configure runs, see configure's option --config-cache.
31578 # It is not useful on other systems. If it contains results you don't
31579 # want to keep, you may remove or edit it.
31581 # config.status only pays attention to the cache file if you give it
31582 # the --recheck option to rerun configure.
31584 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31585 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31586 # following values.
31590 # The following way of writing the cache mishandles newlines in values,
31591 # but we know of no workaround that is simple, portable, and efficient.
31592 # So, we kill variables containing newlines.
31593 # Ultrix sh set writes to stderr and can't be redirected directly,
31594 # and sets the high bit in the cache file unless we assign to the vars.
31596 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31597 eval ac_val
=\$
$ac_var
31601 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31602 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31605 _
| IFS
| as_nl
) ;; #(
31606 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31607 *) { eval $ac_var=; unset $ac_var;} ;;
31613 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31614 *${as_nl}ac_space
=\
*)
31615 # `set' does not quote correctly, so add quotes: double-quote
31616 # substitution turns \\\\ into \\, and sed turns \\ into \.
31619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31622 # `set' quotes correctly as required by POSIX, so do not add quotes.
31623 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31632 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31634 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31636 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31637 if test -w "$cache_file"; then
31638 if test "x$cache_file" != "x/dev/null"; then
31639 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31640 $as_echo "$as_me: updating cache $cache_file" >&6;}
31641 if test ! -f "$cache_file" || test -h "$cache_file"; then
31642 cat confcache
>"$cache_file"
31644 case $cache_file in #(
31646 mv -f confcache
"$cache_file"$$
&&
31647 mv -f "$cache_file"$$
"$cache_file" ;; #(
31649 mv -f confcache
"$cache_file" ;;
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31655 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31661 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31667 if test "$wxUSE_THREADS" = "yes" ; then
31668 if test "$USE_BEOS" = 1; then
31669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31670 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31675 if test "$wxUSE_THREADS" = "yes" ; then
31678 THREAD_OPTS
="-pthread"
31679 if test "x$SUNCXX" = xyes
; then
31680 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31684 *-*-solaris2* | *-*-sunos4* )
31685 if test "x$GCC" = "xyes"; then
31686 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31690 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31692 *-*-darwin* | *-*-cygwin* )
31696 THREAD_OPTS
="pthreads"
31699 if test "x$GCC" = "xyes"; then
31700 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
31708 if test "x$GCC" = "xyes"; then
31718 if test "x$GCC" != "xyes"; then
31719 THREAD_OPTS
="-Ethread"
31726 THREAD_OPTS
="none pthread"
31730 THREAD_OPTS
="$THREAD_OPTS pthread none"
31735 for flag
in $THREAD_OPTS; do
31738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31739 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31744 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31745 THREADS_CFLAGS
="$flag"
31749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31750 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31751 THREADS_LINK
="-l$flag"
31756 save_CFLAGS
="$CFLAGS"
31757 LIBS
="$THREADS_LINK $LIBS"
31758 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31761 /* end confdefs.h. */
31762 #include <pthread.h>
31766 pthread_create(0,0,0,0);
31771 if ac_fn_c_try_link
"$LINENO"; then :
31774 rm -f core conftest.err conftest.
$ac_objext \
31775 conftest
$ac_exeext conftest.
$ac_ext
31778 CFLAGS
="$save_CFLAGS"
31780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31781 $as_echo "$THREADS_OK" >&6; }
31782 if test "x$THREADS_OK" = "xyes"; then
31790 if test "x$THREADS_OK" != "xyes"; then
31792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31793 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31795 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31796 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31797 LIBS
="$THREADS_LINK $LIBS"
31799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31800 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31804 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31805 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31806 flag
="-D_THREAD_SAFE"
31809 flag
="-D_THREAD_SAFE"
31812 flag
="-D_REENTRANT"
31813 if test "x$GCC" != "xyes"; then
31814 flag
="$flag -D_RWSTD_MULTI_THREAD"
31817 *solaris
* | alpha
*-osf*)
31818 flag
="-D_REENTRANT"
31821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31822 $as_echo "${flag}" >&6; }
31823 if test "x$flag" != xno
; then
31824 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31827 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31831 if test "$wxUSE_THREADS" = "yes" ; then
31832 for ac_func
in pthread_setconcurrency
31834 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31835 if test "x$ac_cv_func_pthread_setconcurrency" = xyes
; then :
31836 cat >>confdefs.h
<<_ACEOF
31837 #define HAVE_PTHREAD_SETCONCURRENCY 1
31839 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31843 for ac_func
in thr_setconcurrency
31845 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31846 if test "x$ac_cv_func_thr_setconcurrency" = xyes
; then :
31847 cat >>confdefs.h
<<_ACEOF
31848 #define HAVE_THR_SETCONCURRENCY 1
31850 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31854 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31864 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31865 if ${wx_cv_func_pthread_cleanup+:} false
; then :
31866 $as_echo_n "(cached) " >&6
31870 ac_cpp
='$CXXCPP $CPPFLAGS'
31871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31876 /* end confdefs.h. */
31877 #include <pthread.h>
31878 void ThreadCleanupFunc(void *p);
31885 pthread_cleanup_push(ThreadCleanupFunc, p);
31886 pthread_cleanup_pop(0);
31892 if ac_fn_cxx_try_compile
"$LINENO"; then :
31894 wx_cv_func_pthread_cleanup
=yes
31898 wx_cv_func_pthread_cleanup
=no
31902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31904 ac_cpp
='$CPP $CPPFLAGS'
31905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31912 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31913 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31914 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31918 for ac_header
in sched.h
31920 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31922 if test "x$ac_cv_header_sched_h" = xyes
; then :
31923 cat >>confdefs.h
<<_ACEOF
31924 #define HAVE_SCHED_H 1
31931 if test "$ac_cv_header_sched_h" = "yes"; then
31932 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31933 if test "x$ac_cv_func_sched_yield" = xyes
; then :
31934 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31939 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31940 if ${ac_cv_lib_posix4_sched_yield+:} false
; then :
31941 $as_echo_n "(cached) " >&6
31943 ac_check_lib_save_LIBS
=$LIBS
31944 LIBS
="-lposix4 $LIBS"
31945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31946 /* end confdefs.h. */
31948 /* Override any GCC internal prototype to avoid an error.
31949 Use char because int might match the return type of a GCC
31950 builtin and then its argument prototype would still apply. */
31954 char sched_yield ();
31958 return sched_yield ();
31963 if ac_fn_c_try_link
"$LINENO"; then :
31964 ac_cv_lib_posix4_sched_yield
=yes
31966 ac_cv_lib_posix4_sched_yield
=no
31968 rm -f core conftest.err conftest.
$ac_objext \
31969 conftest
$ac_exeext conftest.
$ac_ext
31970 LIBS
=$ac_check_lib_save_LIBS
31972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31973 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31974 if test "x$ac_cv_lib_posix4_sched_yield" = xyes
; then :
31975 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31976 POSIX4_LINK
=" -lposix4"
31978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31979 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31990 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
31991 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes
; then :
31992 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
31993 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes
; then :
31994 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
31995 if test "x$ac_cv_func_sched_get_priority_max" = xyes
; then :
31998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
31999 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32000 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false
; then :
32001 $as_echo_n "(cached) " >&6
32003 ac_check_lib_save_LIBS
=$LIBS
32004 LIBS
="-lposix4 $LIBS"
32005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32006 /* end confdefs.h. */
32008 /* Override any GCC internal prototype to avoid an error.
32009 Use char because int might match the return type of a GCC
32010 builtin and then its argument prototype would still apply. */
32014 char sched_get_priority_max ();
32018 return sched_get_priority_max ();
32023 if ac_fn_c_try_link
"$LINENO"; then :
32024 ac_cv_lib_posix4_sched_get_priority_max
=yes
32026 ac_cv_lib_posix4_sched_get_priority_max
=no
32028 rm -f core conftest.err conftest.
$ac_objext \
32029 conftest
$ac_exeext conftest.
$ac_ext
32030 LIBS
=$ac_check_lib_save_LIBS
32032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32033 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32034 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes
; then :
32037 POSIX4_LINK
=" -lposix4"
32051 if test "$HAVE_PRIOR_FUNCS" = 1; then
32052 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32056 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32059 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32060 if test "x$ac_cv_func_pthread_cancel" = xyes
; then :
32061 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32065 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32069 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32070 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes
; then :
32071 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32075 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32079 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32080 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
; then :
32081 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32088 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32089 if ${wx_cv_type_pthread_mutexattr_t+:} false
; then :
32090 $as_echo_n "(cached) " >&6
32093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32094 /* end confdefs.h. */
32095 #include <pthread.h>
32100 pthread_mutexattr_t attr;
32101 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32107 if ac_fn_c_try_compile
"$LINENO"; then :
32108 wx_cv_type_pthread_mutexattr_t
=yes
32110 wx_cv_type_pthread_mutexattr_t
=no
32113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32117 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32119 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32120 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32124 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32125 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false
; then :
32126 $as_echo_n "(cached) " >&6
32129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32130 /* end confdefs.h. */
32131 #include <pthread.h>
32136 pthread_mutexattr_t attr;
32137 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32143 if ac_fn_c_try_compile
"$LINENO"; then :
32144 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32146 wx_cv_func_pthread_mutexattr_settype_decl
=no
32149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32153 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32154 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32155 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32160 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32161 if ${wx_cv_type_pthread_rec_mutex_init+:} false
; then :
32162 $as_echo_n "(cached) " >&6
32165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32166 /* end confdefs.h. */
32167 #include <pthread.h>
32172 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32178 if ac_fn_c_try_compile
"$LINENO"; then :
32180 wx_cv_type_pthread_rec_mutex_init
=yes
32184 wx_cv_type_pthread_rec_mutex_init
=no
32188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32192 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32193 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32194 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32198 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32202 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32203 if test "$USE_NETBSD" = 1; then
32204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32205 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32206 wxUSE_COMPILER_TLS
=no
32208 wxUSE_COMPILER_TLS
=yes
32212 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32214 $as_echo_n "checking for __thread keyword... " >&6; }
32215 if ${wx_cv_cc___thread+:} false
; then :
32216 $as_echo_n "(cached) " >&6
32219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32220 /* end confdefs.h. */
32221 #include <pthread.h>
32226 static __thread int n = 0;
32227 static __thread int *p = 0;
32233 if ac_fn_c_try_compile
"$LINENO"; then :
32234 wx_cv_cc___thread
=yes
32236 wx_cv_cc___thread
=no
32239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32244 $as_echo "$wx_cv_cc___thread" >&6; }
32246 if test "$wx_cv_cc___thread" = "yes"; then
32252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32253 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32255 if test "x$GCC" = "xyes" ; then :
32257 if test -z "" ; then :
32259 ax_gcc_option_test
="int main()
32266 ax_gcc_option_test
=""
32270 # Dump the test program to file
32271 cat <<EOF > conftest.c
32272 $ax_gcc_option_test
32275 # Dump back the file to the log, useful for debugging purposes
32276 { ac_try
='cat conftest.c 1>&5'
32277 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32278 (eval $ac_try) 2>&5
32280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32281 test $ac_status = 0; }; }
32283 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32284 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32285 (eval $ac_try) 2>&5
32287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32288 test $ac_status = 0; }; } ; then :
32290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32291 $as_echo "yes" >&6; }
32293 ax_gcc_version_option
=yes
32298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32299 $as_echo "no" >&6; }
32301 ax_gcc_version_option
=no
32308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32309 $as_echo "no gcc available" >&6; }
32313 if test "x$GXX" = "xyes"; then :
32315 if test "x$ax_gxx_version_option" != "no"; then :
32317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32318 $as_echo_n "checking gxx version... " >&6; }
32319 if ${ax_cv_gxx_version+:} false
; then :
32320 $as_echo_n "(cached) " >&6
32323 ax_cv_gxx_version
="`$CXX -dumpversion`"
32324 if test "x$ax_cv_gxx_version" = "x"; then :
32326 ax_cv_gxx_version
=""
32331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32332 $as_echo "$ax_cv_gxx_version" >&6; }
32333 GXX_VERSION
=$ax_cv_gxx_version
32340 if test -n "$ax_cv_gxx_version"; then
32341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32342 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32343 case "$ax_cv_gxx_version" in
32345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32346 $as_echo "no, it's broken" >&6; }
32347 wx_cv_cc___thread
=no
32350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32351 $as_echo "yes, it works" >&6; }
32357 if test "$wx_cv_cc___thread" = "yes"; then
32358 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32365 if test "$wxUSE_THREADS" = "yes" ; then
32367 x86_64
-*-mingw32* )
32370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32371 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32372 if ${wx_cv_cflags_mthread+:} false
; then :
32373 $as_echo_n "(cached) " >&6
32376 CFLAGS_OLD
="$CFLAGS"
32377 CFLAGS
="-mthreads $CFLAGS"
32378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32379 /* end confdefs.h. */
32389 if ac_fn_c_try_compile
"$LINENO"; then :
32390 wx_cv_cflags_mthread
=yes
32392 wx_cv_cflags_mthread
=no
32395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32400 $as_echo "$wx_cv_cflags_mthread" >&6; }
32402 if test "$wx_cv_cflags_mthread" = "yes"; then
32403 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32404 LDFLAGS
="$LDFLAGS -mthreads"
32406 CFLAGS
="$CFLAGS_OLD"
32410 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32411 LDFLAGS
="$LDFLAGS -Zmt"
32417 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32418 if test "x$ac_cv_func_localtime_r" = xyes
; then :
32419 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32423 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32424 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
32425 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32433 ac_cpp
='$CPP $CPPFLAGS'
32434 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32435 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32436 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32439 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32441 if ${ac_cv_func_which_gethostbyname_r+:} false
; then :
32442 $as_echo_n "(cached) " >&6
32446 ################################################################
32448 ac_cv_func_which_gethostbyname_r
=unknown
32451 # ONE ARGUMENT (sanity check)
32454 # This should fail, as there is no variant of gethostbyname_r() that takes
32455 # a single argument. If it actually compiles, then we can assume that
32456 # netdb.h is not declaring the function, and the compiler is thereby
32457 # assuming an implicit prototype. In which case, we're out of luck.
32459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32460 /* end confdefs.h. */
32466 char *name = "www.gnu.org";
32467 (void)gethostbyname_r(name) /* ; */
32474 if ac_fn_c_try_compile
"$LINENO"; then :
32475 ac_cv_func_which_gethostbyname_r
=no
32478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32485 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32488 /* end confdefs.h. */
32494 char *name = "www.gnu.org";
32495 struct hostent ret, *retp;
32499 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32506 if ac_fn_c_try_compile
"$LINENO"; then :
32507 ac_cv_func_which_gethostbyname_r
=six
32510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32519 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32522 /* end confdefs.h. */
32528 char *name = "www.gnu.org";
32529 struct hostent ret;
32533 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32540 if ac_fn_c_try_compile
"$LINENO"; then :
32541 ac_cv_func_which_gethostbyname_r
=five
32544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32550 # (e.g. AIX, HP-UX, Tru64)
32553 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32556 /* end confdefs.h. */
32562 char *name = "www.gnu.org";
32563 struct hostent ret;
32564 struct hostent_data data;
32565 (void)gethostbyname_r(name, &ret, &data) /* ; */
32572 if ac_fn_c_try_compile
"$LINENO"; then :
32573 ac_cv_func_which_gethostbyname_r
=three
32576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32580 ################################################################
32585 case "$ac_cv_func_which_gethostbyname_r" in
32587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32588 $as_echo "three" >&6; }
32589 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32595 $as_echo "five" >&6; }
32596 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32602 $as_echo "six" >&6; }
32603 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32609 $as_echo "cannot find function declaration in netdb.h" >&6; }
32613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32614 $as_echo "can't tell" >&6; }
32618 as_fn_error $?
"internal error" "$LINENO" 5
32623 ac_cpp
='$CPP $CPPFLAGS'
32624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32630 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32631 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32632 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32633 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
32634 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32641 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32642 if ${ac_cv_func_which_getservbyname_r+:} false
; then :
32643 $as_echo_n "(cached) " >&6
32647 ac_cpp
='$CXXCPP $CPPFLAGS'
32648 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32649 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32650 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32654 /* end confdefs.h. */
32662 struct servent *se, *res;
32665 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32671 if ac_fn_cxx_try_compile
"$LINENO"; then :
32672 ac_cv_func_which_getservbyname_r
=six
32675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32676 /* end confdefs.h. */
32684 struct servent *se;
32687 (void) getservbyname_r(name, proto, se, buffer, buflen)
32693 if ac_fn_cxx_try_compile
"$LINENO"; then :
32694 ac_cv_func_which_getservbyname_r
=five
32697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32698 /* end confdefs.h. */
32706 struct servent *se;
32707 struct servent_data data;
32708 (void) getservbyname_r(name, proto, se, &data);
32714 if ac_fn_cxx_try_compile
"$LINENO"; then :
32715 ac_cv_func_which_getservbyname_r
=four
32717 ac_cv_func_which_getservbyname_r
=no
32720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32730 ac_cpp
='$CPP $CPPFLAGS'
32731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32739 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32741 if test $ac_cv_func_which_getservbyname_r = six
; then
32742 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32744 elif test $ac_cv_func_which_getservbyname_r = five
; then
32745 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32747 elif test $ac_cv_func_which_getservbyname_r = four
; then
32748 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32753 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32754 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32755 for ac_func
in getservbyname
32757 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32758 if test "x$ac_cv_func_getservbyname" = xyes
; then :
32759 cat >>confdefs.h
<<_ACEOF
32760 #define HAVE_GETSERVBYNAME 1
32762 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32769 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32772 if test "$wxUSE_THREADS" = "yes"; then
32773 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
32778 if test "$wx_cv_func_strtok_r" = "yes"; then
32779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32780 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32781 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32782 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32784 $as_echo "yes" >&6; }
32786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32787 $as_echo "no" >&6; }
32792 if test "$WXGTK3" = 1 ; then
32793 cat >>confdefs.h
<<_ACEOF
32794 #define __WXGTK3__ 1
32799 if test "$WXGTK2" = 1 ; then
32800 cat >>confdefs.h
<<_ACEOF
32801 #define __WXGTK20__ $WXGTK2
32806 if test "$WXGTK127" = 1 ; then
32807 cat >>confdefs.h
<<_ACEOF
32808 #define __WXGTK127__ $WXGTK127
32813 if test "$WXGPE" = 1 ; then
32814 cat >>confdefs.h
<<_ACEOF
32815 #define __WXGPE__ $WXGPE
32821 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32823 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32824 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32828 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32829 wxUSE_DEBUG_INFO
=yes
32830 if test "$GCC" = yes; then
32831 DEBUG_CFLAGS
="-ggdb"
32835 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32836 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32838 if test "$wxUSE_GTK" = 1 ; then
32839 if test "$WXGTK2" = 1 ; then
32840 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32842 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32847 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32848 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32850 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32852 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
32857 if test "$wxUSE_DMALLOC" = "yes" ; then
32858 DMALLOC_LIBS
="-ldmallocthcxx"
32862 if test "$wxUSE_PROFILE" = "yes" ; then
32863 PROFILE_FLAGS
=" -pg"
32866 if test "$GCC" = "yes" ; then
32867 if test "$wxUSE_NO_RTTI" = "yes" ; then
32868 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32870 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32871 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
32873 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32874 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
32879 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
32882 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
32888 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32890 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32892 if test "$wxUSE_OPTIMISE" = "no" ; then
32893 if test "$GCC" = yes ; then
32894 OPTIMISE_CFLAGS
="-O0"
32897 if test "$GCC" = yes ; then
32899 *-pc-os2_emx | *-pc-os2-emx )
32900 OPTIMISE_CFLAGS
="-O2"
32903 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
32907 OPTIMISE_CFLAGS
="-O"
32913 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32914 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32917 WXWIN_COMPATIBILITY_2_8
="yes"
32920 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32921 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32926 if test "$wxUSE_GUI" = "yes"; then
32927 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32933 if test "$wxUSE_UNIX" = "yes"; then
32934 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32939 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32943 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32944 if test "$USE_DOS" = 1; then
32947 for ac_func
in dlopen
32949 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
32950 if test "x$ac_cv_func_dlopen" = xyes
; then :
32951 cat >>confdefs.h
<<_ACEOF
32952 #define HAVE_DLOPEN 1
32955 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32962 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32963 if ${ac_cv_lib_dl_dlopen+:} false
; then :
32964 $as_echo_n "(cached) " >&6
32966 ac_check_lib_save_LIBS
=$LIBS
32968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32969 /* end confdefs.h. */
32971 /* Override any GCC internal prototype to avoid an error.
32972 Use char because int might match the return type of a GCC
32973 builtin and then its argument prototype would still apply. */
32986 if ac_fn_c_try_link
"$LINENO"; then :
32987 ac_cv_lib_dl_dlopen
=yes
32989 ac_cv_lib_dl_dlopen
=no
32991 rm -f core conftest.err conftest.
$ac_objext \
32992 conftest
$ac_exeext conftest.
$ac_ext
32993 LIBS
=$ac_check_lib_save_LIBS
32995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32996 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32997 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
32999 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33002 DL_LINK
=" -ldl$DL_LINK"
33006 for ac_func
in shl_load
33008 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
33009 if test "x$ac_cv_func_shl_load" = xyes
; then :
33010 cat >>confdefs.h
<<_ACEOF
33011 #define HAVE_SHL_LOAD 1
33014 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33021 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33022 if ${ac_cv_lib_shl_load_dld+:} false
; then :
33023 $as_echo_n "(cached) " >&6
33025 ac_check_lib_save_LIBS
=$LIBS
33026 LIBS
="-lshl_load $LIBS"
33027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33028 /* end confdefs.h. */
33030 /* Override any GCC internal prototype to avoid an error.
33031 Use char because int might match the return type of a GCC
33032 builtin and then its argument prototype would still apply. */
33045 if ac_fn_c_try_link
"$LINENO"; then :
33046 ac_cv_lib_shl_load_dld
=yes
33048 ac_cv_lib_shl_load_dld
=no
33050 rm -f core conftest.err conftest.
$ac_objext \
33051 conftest
$ac_exeext conftest.
$ac_ext
33052 LIBS
=$ac_check_lib_save_LIBS
33054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33055 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33056 if test "x$ac_cv_lib_shl_load_dld" = xyes
; then :
33059 DL_LINK
=" -ldld$DL_LINK"
33075 if test "$HAVE_DL_FUNCS" = 1; then
33076 for ac_func
in dlerror
33078 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33079 if test "x$ac_cv_func_dlerror" = xyes
; then :
33080 cat >>confdefs.h
<<_ACEOF
33081 #define HAVE_DLERROR 1
33083 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33088 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33089 if ${ac_cv_lib_dl_dlerror+:} false
; then :
33090 $as_echo_n "(cached) " >&6
33092 ac_check_lib_save_LIBS
=$LIBS
33094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33095 /* end confdefs.h. */
33097 /* Override any GCC internal prototype to avoid an error.
33098 Use char because int might match the return type of a GCC
33099 builtin and then its argument prototype would still apply. */
33112 if ac_fn_c_try_link
"$LINENO"; then :
33113 ac_cv_lib_dl_dlerror
=yes
33115 ac_cv_lib_dl_dlerror
=no
33117 rm -f core conftest.err conftest.
$ac_objext \
33118 conftest
$ac_exeext conftest.
$ac_ext
33119 LIBS
=$ac_check_lib_save_LIBS
33121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33122 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33123 if test "x$ac_cv_lib_dl_dlerror" = xyes
; then :
33124 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33136 if test "$USE_DARWIN" = 1; then
33140 if test "$HAVE_DL_FUNCS" = 0; then
33141 if test "$HAVE_SHL_FUNCS" = 0; then
33142 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33144 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33145 wxUSE_DYNAMIC_LOADER
=no
33146 wxUSE_DYNLIB_CLASS
=no
33148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33149 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33156 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33157 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33160 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33161 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33167 if test "$wxUSE_PLUGINS" = "yes" ; then
33168 if test "$wxUSE_SHARED" = "no" ; then
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33170 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33173 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33175 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33178 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33180 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33183 if test "$wxUSE_PLUGINS" = "yes" ; then
33184 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33190 if test "$wxUSE_FSWATCHER" = "yes"; then
33191 if test "$wxUSE_MSW" != "1"; then
33192 if test "$wxUSE_UNIX" = "yes"; then
33193 for ac_header
in sys
/inotify.h
33195 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33197 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
33198 cat >>confdefs.h
<<_ACEOF
33199 #define HAVE_SYS_INOTIFY_H 1
33206 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33207 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33210 for ac_header
in sys
/event.h
33212 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33214 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
33215 cat >>confdefs.h
<<_ACEOF
33216 #define HAVE_SYS_EVENT_H 1
33223 if test "$ac_cv_header_sys_event_h" = "yes"; then
33224 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33234 if test "$wxUSE_THREADS" != "yes"; then
33235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33236 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33241 if test "$wxUSE_FSWATCHER" = "yes"; then
33242 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33247 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33252 if test "$wxUSE_STL" = "yes"; then
33253 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33257 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33258 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33262 if test "$wxUSE_ANY" = "yes"; then
33263 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33267 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33268 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33272 if test "$wxUSE_TIMER" = "yes"; then
33273 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33277 if test "$USE_UNIX" = 1 ; then
33278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33279 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33280 if ${ac_cv_header_sys_soundcard+:} false
; then :
33281 $as_echo_n "(cached) " >&6
33284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33285 /* end confdefs.h. */
33287 #include <sys/ioctl.h>
33288 #include <sys/soundcard.h>
33294 ioctl(0, SNDCTL_DSP_SPEED, 0);
33300 if ac_fn_c_try_link
"$LINENO"; then :
33301 ac_cv_header_sys_soundcard
=yes
33305 LIBS
="$saveLibs -lossaudio"
33306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33307 /* end confdefs.h. */
33309 #include <sys/ioctl.h>
33310 #include <sys/soundcard.h>
33316 ioctl(0, SNDCTL_DSP_SPEED, 0);
33322 if ac_fn_c_try_link
"$LINENO"; then :
33323 ac_cv_header_sys_soundcard
=yes
33327 ac_cv_header_sys_soundcard
=no
33331 rm -f core conftest.err conftest.
$ac_objext \
33332 conftest
$ac_exeext conftest.
$ac_ext
33336 rm -f core conftest.err conftest.
$ac_objext \
33337 conftest
$ac_exeext conftest.
$ac_ext
33340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33341 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33343 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33344 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33350 if test "$wxUSE_SOUND" = "yes"; then
33351 if test "$USE_UNIX" = 1 ; then
33352 if test "$wxUSE_LIBSDL" != "no"; then
33354 # Check whether --with-sdl-prefix was given.
33355 if test "${with_sdl_prefix+set}" = set; then :
33356 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33362 # Check whether --with-sdl-exec-prefix was given.
33363 if test "${with_sdl_exec_prefix+set}" = set; then :
33364 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33369 # Check whether --enable-sdltest was given.
33370 if test "${enable_sdltest+set}" = set; then :
33371 enableval
=$enable_sdltest;
33377 if test x
$sdl_exec_prefix != x
; then
33378 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33379 if test x
${SDL_CONFIG+set} != xset
; then
33380 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33383 if test x
$sdl_prefix != x
; then
33384 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33385 if test x
${SDL_CONFIG+set} != xset
; then
33386 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33390 if test "x$prefix" != xNONE
; then
33391 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33393 # Extract the first word of "sdl-config", so it can be a program name with args.
33394 set dummy sdl
-config; ac_word
=$2
33395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33396 $as_echo_n "checking for $ac_word... " >&6; }
33397 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
33398 $as_echo_n "(cached) " >&6
33400 case $SDL_CONFIG in
33402 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33406 for as_dir
in $PATH
33409 test -z "$as_dir" && as_dir
=.
33410 for ac_exec_ext
in '' $ac_executable_extensions; do
33411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33412 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33420 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33424 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33425 if test -n "$SDL_CONFIG"; then
33426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33427 $as_echo "$SDL_CONFIG" >&6; }
33429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33430 $as_echo "no" >&6; }
33434 min_sdl_version
=1.2.0
33435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33436 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33438 if test "$SDL_CONFIG" = "no" ; then
33441 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33442 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33444 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33446 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33448 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33450 if test "x$enable_sdltest" = "xyes" ; then
33451 ac_save_CFLAGS
="$CFLAGS"
33452 ac_save_CXXFLAGS
="$CXXFLAGS"
33453 ac_save_LIBS
="$LIBS"
33454 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33455 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33456 LIBS
="$LIBS $SDL_LIBS"
33458 if test "$cross_compiling" = yes; then :
33459 echo $ac_n "cross compiling; assumed OK... $ac_c"
33461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33462 /* end confdefs.h. */
33465 #include <stdlib.h>
33466 #include <string.h>
33470 my_strdup (char *str)
33476 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33477 strcpy (new_str, str);
33485 int main (int argc, char *argv[])
33487 int major, minor, micro;
33490 /* This hangs on some systems (?)
33491 system ("touch conf.sdltest");
33493 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33495 /* HP/UX 9 (%@#!) writes to sscanf strings */
33496 tmp_version = my_strdup("$min_sdl_version");
33497 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33498 printf("%s, bad version string\n", "$min_sdl_version");
33502 if (($sdl_major_version > major) ||
33503 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33504 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33510 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33511 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33512 printf("*** best to upgrade to the required version.\n");
33513 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33514 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33515 printf("*** config.cache before re-running configure\n");
33522 if ac_fn_c_try_run
"$LINENO"; then :
33527 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33528 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33531 CFLAGS
="$ac_save_CFLAGS"
33532 CXXFLAGS
="$ac_save_CXXFLAGS"
33533 LIBS
="$ac_save_LIBS"
33536 if test "x$no_sdl" = x
; then
33537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33538 $as_echo "yes" >&6; }
33540 EXTRALIBS_SDL
="$SDL_LIBS"
33541 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33542 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33543 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33548 $as_echo "no" >&6; }
33549 if test "$SDL_CONFIG" = "no" ; then
33550 echo "*** The sdl-config script installed by SDL could not be found"
33551 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33552 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33553 echo "*** full path to sdl-config."
33555 if test -f conf.sdltest
; then
33558 echo "*** Could not run SDL test program, checking why..."
33559 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33560 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33561 LIBS
="$LIBS $SDL_LIBS"
33562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33563 /* end confdefs.h. */
33568 int main(int argc, char *argv[])
33571 #define main K_and_R_C_main
33581 if ac_fn_c_try_link
"$LINENO"; then :
33582 echo "*** The test program compiled, but did not run. This usually means"
33583 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33584 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33585 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33586 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33587 echo "*** is required on your system"
33589 echo "*** If you have an old version installed, it is best to remove it, although"
33590 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33592 echo "*** The test program failed to compile or link. See the file config.log for the"
33593 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33594 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33595 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33597 rm -f core conftest.err conftest.
$ac_objext \
33598 conftest
$ac_exeext conftest.
$ac_ext
33599 CFLAGS
="$ac_save_CFLAGS"
33600 CXXFLAGS
="$ac_save_CXXFLAGS"
33601 LIBS
="$ac_save_LIBS"
33612 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33619 if test "$wxUSE_SOUND" = "yes"; then
33620 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33625 if test "$WXGTK2" = 1; then
33628 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33629 if test -n "$ac_tool_prefix"; then
33630 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33631 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33633 $as_echo_n "checking for $ac_word... " >&6; }
33634 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
33635 $as_echo_n "(cached) " >&6
33637 case $PKG_CONFIG in
33639 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33643 for as_dir
in $PATH
33646 test -z "$as_dir" && as_dir
=.
33647 for ac_exec_ext
in '' $ac_executable_extensions; do
33648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33649 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33660 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33661 if test -n "$PKG_CONFIG"; then
33662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33663 $as_echo "$PKG_CONFIG" >&6; }
33665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33666 $as_echo "no" >&6; }
33671 if test -z "$ac_cv_path_PKG_CONFIG"; then
33672 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33673 # Extract the first word of "pkg-config", so it can be a program name with args.
33674 set dummy pkg
-config; ac_word
=$2
33675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33676 $as_echo_n "checking for $ac_word... " >&6; }
33677 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
33678 $as_echo_n "(cached) " >&6
33680 case $ac_pt_PKG_CONFIG in
33682 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33686 for as_dir
in $PATH
33689 test -z "$as_dir" && as_dir
=.
33690 for ac_exec_ext
in '' $ac_executable_extensions; do
33691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33692 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33703 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33704 if test -n "$ac_pt_PKG_CONFIG"; then
33705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33706 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33709 $as_echo "no" >&6; }
33712 if test "x$ac_pt_PKG_CONFIG" = x
; then
33715 case $cross_compiling:$ac_tool_warned in
33717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33719 ac_tool_warned
=yes ;;
33721 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33724 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33728 if test -n "$PKG_CONFIG"; then
33729 _pkg_min_version
=0.9.0
33730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33731 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33732 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33734 $as_echo "yes" >&6; }
33736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33737 $as_echo "no" >&6; }
33743 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33745 if test "$wxUSE_GTKPRINT" = "yes" ; then
33746 if test "$WXGTK3" = 1; then
33747 gtk_unix_print
="gtk+-unix-print-3.0"
33749 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
33753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33754 $as_echo_n "checking for GTKPRINT... " >&6; }
33756 if test -n "$PKG_CONFIG"; then
33757 if test -n "$GTKPRINT_CFLAGS"; then
33758 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
33760 if test -n "$PKG_CONFIG" && \
33761 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33762 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33765 test $ac_status = 0; }; then
33766 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33774 if test -n "$PKG_CONFIG"; then
33775 if test -n "$GTKPRINT_LIBS"; then
33776 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
33778 if test -n "$PKG_CONFIG" && \
33779 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33780 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33783 test $ac_status = 0; }; then
33784 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33795 if test $pkg_failed = yes; then
33797 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33798 _pkg_short_errors_supported
=yes
33800 _pkg_short_errors_supported
=no
33802 if test $_pkg_short_errors_supported = yes; then
33803 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33805 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33807 # Put the nasty error message in config.log where it belongs
33808 echo "$GTKPRINT_PKG_ERRORS" >&5
33811 { $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
33812 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33813 wxUSE_GTKPRINT
="no"
33816 elif test $pkg_failed = untried
; then
33818 { $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
33819 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33820 wxUSE_GTKPRINT
="no"
33824 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
33825 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
33826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33827 $as_echo "yes" >&6; }
33829 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
33830 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
33831 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
33832 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33838 if test "$WXGTK3" = 1; then
33839 wxUSE_LIBGNOMEPRINT
=no
33842 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33847 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33849 if test -n "$PKG_CONFIG"; then
33850 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33851 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
33853 if test -n "$PKG_CONFIG" && \
33854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33855 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33858 test $ac_status = 0; }; then
33859 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33867 if test -n "$PKG_CONFIG"; then
33868 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33869 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
33871 if test -n "$PKG_CONFIG" && \
33872 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33873 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33876 test $ac_status = 0; }; then
33877 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33888 if test $pkg_failed = yes; then
33890 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33891 _pkg_short_errors_supported
=yes
33893 _pkg_short_errors_supported
=no
33895 if test $_pkg_short_errors_supported = yes; then
33896 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33898 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33900 # Put the nasty error message in config.log where it belongs
33901 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33904 if test "$wxUSE_GTKPRINT" = yes; then
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33906 $as_echo "no" >&6; }
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33909 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33911 wxUSE_LIBGNOMEPRINT
="no"
33914 elif test $pkg_failed = untried
; then
33916 if test "$wxUSE_GTKPRINT" = yes; then
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33918 $as_echo "no" >&6; }
33920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33921 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33923 wxUSE_LIBGNOMEPRINT
="no"
33927 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33928 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33930 $as_echo "yes" >&6; }
33932 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
33933 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33934 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33935 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33942 if test "$wxUSE_MIMETYPE" = "yes" ; then
33943 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33948 $as_echo_n "checking for GNOMEVFS... " >&6; }
33950 if test -n "$PKG_CONFIG"; then
33951 if test -n "$GNOMEVFS_CFLAGS"; then
33952 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
33954 if test -n "$PKG_CONFIG" && \
33955 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33956 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33959 test $ac_status = 0; }; then
33960 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33968 if test -n "$PKG_CONFIG"; then
33969 if test -n "$GNOMEVFS_LIBS"; then
33970 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
33972 if test -n "$PKG_CONFIG" && \
33973 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33974 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33977 test $ac_status = 0; }; then
33978 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33989 if test $pkg_failed = yes; then
33991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33992 _pkg_short_errors_supported
=yes
33994 _pkg_short_errors_supported
=no
33996 if test $_pkg_short_errors_supported = yes; then
33997 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33999 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34001 # Put the nasty error message in config.log where it belongs
34002 echo "$GNOMEVFS_PKG_ERRORS" >&5
34005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34006 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34007 wxUSE_LIBGNOMEVFS
="no"
34010 elif test $pkg_failed = untried
; then
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34013 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34014 wxUSE_LIBGNOMEVFS
="no"
34018 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
34019 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
34020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34021 $as_echo "yes" >&6; }
34023 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34024 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
34025 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
34026 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34033 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34034 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34039 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34041 if test -n "$PKG_CONFIG"; then
34042 if test -n "$LIBNOTIFY_CFLAGS"; then
34043 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34045 if test -n "$PKG_CONFIG" && \
34046 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34047 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34050 test $ac_status = 0; }; then
34051 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34059 if test -n "$PKG_CONFIG"; then
34060 if test -n "$LIBNOTIFY_LIBS"; then
34061 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34063 if test -n "$PKG_CONFIG" && \
34064 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34065 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34068 test $ac_status = 0; }; then
34069 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34080 if test $pkg_failed = yes; then
34082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34083 _pkg_short_errors_supported
=yes
34085 _pkg_short_errors_supported
=no
34087 if test $_pkg_short_errors_supported = yes; then
34088 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34090 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34092 # Put the nasty error message in config.log where it belongs
34093 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34099 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34101 if test -n "$PKG_CONFIG"; then
34102 if test -n "$LIBNOTIFY_CFLAGS"; then
34103 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34105 if test -n "$PKG_CONFIG" && \
34106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34107 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34110 test $ac_status = 0; }; then
34111 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34119 if test -n "$PKG_CONFIG"; then
34120 if test -n "$LIBNOTIFY_LIBS"; then
34121 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34123 if test -n "$PKG_CONFIG" && \
34124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34125 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34128 test $ac_status = 0; }; then
34129 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34140 if test $pkg_failed = yes; then
34142 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34143 _pkg_short_errors_supported
=yes
34145 _pkg_short_errors_supported
=no
34147 if test $_pkg_short_errors_supported = yes; then
34148 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34150 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34152 # Put the nasty error message in config.log where it belongs
34153 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34156 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34158 elif test $pkg_failed = untried
; then
34159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34160 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34163 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34164 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34166 $as_echo "yes" >&6; }
34171 elif test $pkg_failed = untried
; then
34175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34176 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34178 if test -n "$PKG_CONFIG"; then
34179 if test -n "$LIBNOTIFY_CFLAGS"; then
34180 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34182 if test -n "$PKG_CONFIG" && \
34183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34184 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34187 test $ac_status = 0; }; then
34188 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34196 if test -n "$PKG_CONFIG"; then
34197 if test -n "$LIBNOTIFY_LIBS"; then
34198 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34200 if test -n "$PKG_CONFIG" && \
34201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34202 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34205 test $ac_status = 0; }; then
34206 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34217 if test $pkg_failed = yes; then
34219 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34220 _pkg_short_errors_supported
=yes
34222 _pkg_short_errors_supported
=no
34224 if test $_pkg_short_errors_supported = yes; then
34225 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34227 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34229 # Put the nasty error message in config.log where it belongs
34230 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34233 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34235 elif test $pkg_failed = untried
; then
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34237 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34240 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34241 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34243 $as_echo "yes" >&6; }
34249 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34250 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34252 $as_echo "yes" >&6; }
34255 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34260 if test "$HAVE_LIBNOTIFY" = "1" ; then
34261 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34262 CFLAGS
="$LIBNOTIFY_CFLAGS $CFLAGS"
34263 CXXFLAGS
="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34264 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34270 if test "$wxUSE_LIBHILDON" = "yes" ; then
34273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34274 $as_echo_n "checking for HILDON... " >&6; }
34276 if test -n "$PKG_CONFIG"; then
34277 if test -n "$HILDON_CFLAGS"; then
34278 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
34280 if test -n "$PKG_CONFIG" && \
34281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34282 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34285 test $ac_status = 0; }; then
34286 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34294 if test -n "$PKG_CONFIG"; then
34295 if test -n "$HILDON_LIBS"; then
34296 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
34298 if test -n "$PKG_CONFIG" && \
34299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34300 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34303 test $ac_status = 0; }; then
34304 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34315 if test $pkg_failed = yes; then
34317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34318 _pkg_short_errors_supported
=yes
34320 _pkg_short_errors_supported
=no
34322 if test $_pkg_short_errors_supported = yes; then
34323 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34325 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34327 # Put the nasty error message in config.log where it belongs
34328 echo "$HILDON_PKG_ERRORS" >&5
34331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34332 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34333 wxUSE_LIBHILDON
="no"
34337 elif test $pkg_failed = untried
; then
34339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34340 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34341 wxUSE_LIBHILDON
="no"
34346 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34347 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34349 $as_echo "yes" >&6; }
34351 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON_LIBS"
34352 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34353 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34354 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34360 if test "$ac_hildon_lgpl" = 0 ; then
34363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34364 $as_echo_n "checking for HILDON2... " >&6; }
34366 if test -n "$PKG_CONFIG"; then
34367 if test -n "$HILDON2_CFLAGS"; then
34368 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34370 if test -n "$PKG_CONFIG" && \
34371 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34372 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34375 test $ac_status = 0; }; then
34376 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34384 if test -n "$PKG_CONFIG"; then
34385 if test -n "$HILDON2_LIBS"; then
34386 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34388 if test -n "$PKG_CONFIG" && \
34389 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34390 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34393 test $ac_status = 0; }; then
34394 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34405 if test $pkg_failed = yes; then
34407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34408 _pkg_short_errors_supported
=yes
34410 _pkg_short_errors_supported
=no
34412 if test $_pkg_short_errors_supported = yes; then
34413 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34415 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34417 # Put the nasty error message in config.log where it belongs
34418 echo "$HILDON2_PKG_ERRORS" >&5
34421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34422 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34423 wxUSE_LIBHILDON2
="no"
34426 elif test $pkg_failed = untried
; then
34428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34429 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34430 wxUSE_LIBHILDON2
="no"
34434 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34435 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34437 $as_echo "yes" >&6; }
34439 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON2_LIBS"
34440 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34441 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34442 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34450 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34451 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34455 if test "$wxUSE_STOPWATCH" = "yes"; then
34456 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34460 if test "$wxUSE_DATETIME" = "yes"; then
34461 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34465 if test "$wxUSE_FILE" = "yes"; then
34466 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34470 if test "$wxUSE_FFILE" = "yes"; then
34471 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34475 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34476 if test "$wxUSE_STREAMS" != yes; then
34477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34478 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34479 wxUSE_ARCHIVE_STREAMS
=no
34481 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34486 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34487 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34489 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34490 elif test "$wxUSE_ZLIB" = "no"; then
34491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34492 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34494 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34499 if test "$wxUSE_TARSTREAM" = "yes"; then
34500 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34502 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34504 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34509 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34510 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34514 if test "$wxUSE_FILESYSTEM" = "yes"; then
34515 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34517 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34518 wxUSE_FILESYSTEM
=no
34520 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34525 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34526 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34528 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34530 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34535 if test "$wxUSE_FS_ZIP" = "yes"; then
34536 if test "$wxUSE_FS_ARCHIVE" != yes; then
34537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34538 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34540 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34545 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34546 if test "$USE_UNIX" != 1; then
34547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34548 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34549 wxUSE_ON_FATAL_EXCEPTION
=no
34551 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34556 if test "$wxUSE_STACKWALKER" = "yes"; then
34557 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34561 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34562 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34564 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34565 wxUSE_DEBUGREPORT
=no
34567 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34569 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34575 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34576 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34580 if test "$wxUSE_BUSYINFO" = "yes"; then
34581 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34585 if test "$wxUSE_HOTKEY" = "yes"; then
34586 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34588 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34591 elif test "$wxUSE_HOTKEY" = "auto"; then
34592 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34596 if test "$wxUSE_HOTKEY" = "yes"; then
34597 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34601 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34602 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34606 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34607 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34611 if test "$wxUSE_STD_STRING" = "yes"; then
34612 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34616 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34617 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34621 if test "$wxUSE_STDPATHS" = "yes"; then
34622 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34626 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34627 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34631 if test "$wxUSE_TEXTFILE" = "yes"; then
34632 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34634 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34636 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34641 if test "$wxUSE_CONFIG" = "yes" ; then
34642 if test "$wxUSE_TEXTFILE" != "yes"; then
34643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34644 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34646 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34648 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34654 if test "$wxUSE_INTL" = "yes" ; then
34655 if test "$wxUSE_FILE" != "yes"; then
34656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34657 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34659 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34661 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34662 GUIDIST
="$GUIDIST INTL_DIST"
34666 if test "$wxUSE_XLOCALE" = "yes" ; then
34667 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34669 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34670 #include <locale.h>
34672 if test "x$ac_cv_type_locale_t" = xyes
; then :
34674 cat >>confdefs.h
<<_ACEOF
34675 #define HAVE_LOCALE_T 1
34683 if test "$wxUSE_LOG" = "yes"; then
34684 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34687 if test "$wxUSE_LOGGUI" = "yes"; then
34688 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34692 if test "$wxUSE_LOGWINDOW" = "yes"; then
34693 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34697 if test "$wxUSE_LOGDIALOG" = "yes"; then
34698 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
34705 if test "$wxUSE_LONGLONG" = "yes"; then
34706 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34710 if test "$wxUSE_GEOMETRY" = "yes"; then
34711 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34715 if test "$wxUSE_BASE64" = "yes"; then
34716 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34720 if test "$wxUSE_STREAMS" = "yes" ; then
34721 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34725 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34726 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34730 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34731 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34736 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34737 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34740 if test "$wxUSE_UNIX" = "yes"; then
34741 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34742 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34746 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34747 for ac_header
in sys
/epoll.h
34749 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34751 if test "x$ac_cv_header_sys_epoll_h" = xyes
; then :
34752 cat >>confdefs.h
<<_ACEOF
34753 #define HAVE_SYS_EPOLL_H 1
34760 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34761 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34765 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34772 for ac_func
in gettimeofday ftime
34774 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34775 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
34776 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
34777 cat >>confdefs.h
<<_ACEOF
34778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34785 if test "$ac_cv_func_gettimeofday" = "yes"; then
34786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34787 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34788 if ${wx_cv_func_gettimeofday_has_2_args+:} false
; then :
34789 $as_echo_n "(cached) " >&6
34792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34793 /* end confdefs.h. */
34795 #include <sys/time.h>
34796 #include <unistd.h>
34803 gettimeofday(&tv, NULL);
34809 if ac_fn_c_try_compile
"$LINENO"; then :
34810 wx_cv_func_gettimeofday_has_2_args
=yes
34812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34813 /* end confdefs.h. */
34815 #include <sys/time.h>
34816 #include <unistd.h>
34829 if ac_fn_c_try_compile
"$LINENO"; then :
34830 wx_cv_func_gettimeofday_has_2_args
=no
34833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34834 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34835 wx_cv_func_gettimeofday_has_2_args
=unknown
34839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34846 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34848 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34849 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34854 if test "$wxUSE_DATETIME" = "yes"; then
34855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34856 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34857 if ${wx_cv_var_timezone+:} false
; then :
34858 $as_echo_n "(cached) " >&6
34862 ac_cpp
='$CXXCPP $CPPFLAGS'
34863 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34864 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34865 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34868 /* end confdefs.h. */
34883 if ac_fn_cxx_try_compile
"$LINENO"; then :
34885 wx_cv_var_timezone
=timezone
34889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34890 /* end confdefs.h. */
34905 if ac_fn_cxx_try_compile
"$LINENO"; then :
34907 wx_cv_var_timezone
=_timezone
34911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34912 /* end confdefs.h. */
34927 if ac_fn_cxx_try_compile
"$LINENO"; then :
34929 wx_cv_var_timezone
=__timezone
34933 if test "$USE_DOS" = 0 ; then
34934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34935 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34950 ac_cpp
='$CPP $CPPFLAGS'
34951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34959 $as_echo "$wx_cv_var_timezone" >&6; }
34961 if test "x$wx_cv_var_timezone" != x
; then
34962 cat >>confdefs.h
<<_ACEOF
34963 #define WX_TIMEZONE $wx_cv_var_timezone
34968 for ac_func
in localtime
34970 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
34971 if test "x$ac_cv_func_localtime" = xyes
; then :
34972 cat >>confdefs.h
<<_ACEOF
34973 #define HAVE_LOCALTIME 1
34980 if test "$ac_cv_func_localtime" = "yes"; then
34981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34982 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34983 if ${wx_cv_struct_tm_has_gmtoff+:} false
; then :
34984 $as_echo_n "(cached) " >&6
34987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34988 /* end confdefs.h. */
35003 if ac_fn_c_try_compile
"$LINENO"; then :
35005 wx_cv_struct_tm_has_gmtoff
=yes
35008 wx_cv_struct_tm_has_gmtoff
=no
35011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35015 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35018 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35019 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35023 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35027 if test "$wxUSE_SOCKETS" = "yes"; then
35028 if test "$TOOLKIT" != "MSW"; then
35029 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
35030 if test "x$ac_cv_func_socket" = xyes
; then :
35034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35035 $as_echo_n "checking for socket in -lsocket... " >&6; }
35036 if ${ac_cv_lib_socket_socket+:} false
; then :
35037 $as_echo_n "(cached) " >&6
35039 ac_check_lib_save_LIBS
=$LIBS
35040 LIBS
="-lsocket $LIBS"
35041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35042 /* end confdefs.h. */
35044 /* Override any GCC internal prototype to avoid an error.
35045 Use char because int might match the return type of a GCC
35046 builtin and then its argument prototype would still apply. */
35059 if ac_fn_c_try_link
"$LINENO"; then :
35060 ac_cv_lib_socket_socket
=yes
35062 ac_cv_lib_socket_socket
=no
35064 rm -f core conftest.err conftest.
$ac_objext \
35065 conftest
$ac_exeext conftest.
$ac_ext
35066 LIBS
=$ac_check_lib_save_LIBS
35068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35069 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35070 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
35071 if test "$INET_LINK" != " -lsocket"; then
35072 INET_LINK
="$INET_LINK -lsocket"
35076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35077 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35090 if test "$wxUSE_SOCKETS" = "yes" ; then
35091 if test "$TOOLKIT" != "MSW"; then
35092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35093 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35094 if ${wx_cv_type_getsockname3+:} false
; then :
35095 $as_echo_n "(cached) " >&6
35099 ac_cpp
='$CXXCPP $CPPFLAGS'
35100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35105 /* end confdefs.h. */
35107 #include <sys/types.h>
35108 #include <sys/socket.h>
35115 getsockname(0, 0, &len);
35121 if ac_fn_cxx_try_compile
"$LINENO"; then :
35122 wx_cv_type_getsockname3
=socklen_t
35125 CFLAGS_OLD
="$CFLAGS"
35126 if test "$GCC" = yes ; then
35127 CFLAGS
="-Werror $CFLAGS"
35130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35131 /* end confdefs.h. */
35133 #include <sys/types.h>
35134 #include <sys/socket.h>
35141 getsockname(0, 0, &len);
35147 if ac_fn_cxx_try_compile
"$LINENO"; then :
35148 wx_cv_type_getsockname3
=size_t
35150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35151 /* end confdefs.h. */
35153 #include <sys/types.h>
35154 #include <sys/socket.h>
35161 getsockname(0, 0, &len);
35167 if ac_fn_cxx_try_compile
"$LINENO"; then :
35168 wx_cv_type_getsockname3
=int
35170 wx_cv_type_getsockname3
=unknown
35173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35178 CFLAGS
="$CFLAGS_OLD"
35182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35184 ac_cpp
='$CPP $CPPFLAGS'
35185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35192 $as_echo "$wx_cv_type_getsockname3" >&6; }
35194 if test "$wx_cv_type_getsockname3" = "unknown"; then
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35197 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35199 cat >>confdefs.h
<<_ACEOF
35200 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35205 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35206 if ${wx_cv_type_getsockopt5+:} false
; then :
35207 $as_echo_n "(cached) " >&6
35211 ac_cpp
='$CXXCPP $CPPFLAGS'
35212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35217 /* end confdefs.h. */
35219 #include <sys/types.h>
35220 #include <sys/socket.h>
35227 getsockopt(0, 0, 0, 0, &len);
35233 if ac_fn_cxx_try_compile
"$LINENO"; then :
35234 wx_cv_type_getsockopt5
=socklen_t
35237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35238 /* end confdefs.h. */
35240 #include <sys/types.h>
35241 #include <sys/socket.h>
35248 getsockopt(0, 0, 0, 0, &len);
35254 if ac_fn_cxx_try_compile
"$LINENO"; then :
35255 wx_cv_type_getsockopt5
=size_t
35257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35258 /* end confdefs.h. */
35260 #include <sys/types.h>
35261 #include <sys/socket.h>
35268 getsockopt(0, 0, 0, 0, &len);
35274 if ac_fn_cxx_try_compile
"$LINENO"; then :
35275 wx_cv_type_getsockopt5
=int
35277 wx_cv_type_getsockopt5
=unknown
35280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35289 ac_cpp
='$CPP $CPPFLAGS'
35290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35297 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35299 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35302 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35304 cat >>confdefs.h
<<_ACEOF
35305 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35312 if test "$wxUSE_SOCKETS" = "yes" ; then
35313 if test "$wxUSE_IPV6" = "yes"; then
35314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35315 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35316 if ${wx_cv_type_sockaddr_in6+:} false
; then :
35317 $as_echo_n "(cached) " >&6
35320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35321 /* end confdefs.h. */
35323 #include <sys/types.h>
35324 #include <sys/socket.h>
35325 #include <netinet/in.h>
35331 struct sockaddr_in6 sa6;
35337 if ac_fn_c_try_compile
"$LINENO"; then :
35338 wx_cv_type_sockaddr_in6
=yes
35340 wx_cv_type_sockaddr_in6
=no
35343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35348 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35350 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35351 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35355 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35359 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35364 if test "$wxUSE_PROTOCOL" = "yes"; then
35365 if test "$wxUSE_SOCKETS" != "yes"; then
35366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35367 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35372 if test "$wxUSE_PROTOCOL" = "yes"; then
35373 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35376 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35377 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35380 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35381 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35384 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35385 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35389 if test "$wxUSE_FS_INET" = "yes"; then
35390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35391 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35396 if test "$wxUSE_URL" = "yes"; then
35397 if test "$wxUSE_PROTOCOL" != "yes"; then
35398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35399 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35402 if test "$wxUSE_URL" = "yes"; then
35403 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35408 if test "$wxUSE_VARIANT" = "yes"; then
35409 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35413 if test "$wxUSE_FS_INET" = "yes"; then
35414 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35419 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35422 if test "$TOOLKIT" = "MSW"; then
35425 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35426 if test "$USE_DARWIN" = 1; then
35427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35428 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35430 ac_cpp
='$CXXCPP $CPPFLAGS'
35431 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35432 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35433 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35436 /* end confdefs.h. */
35437 #include <IOKit/hid/IOHIDLib.h>
35441 IOHIDQueueInterface *qi = NULL;
35442 IOHIDCallbackFunction cb = NULL;
35443 qi->setEventCallout(NULL, cb, NULL, NULL);
35448 if ac_fn_cxx_try_compile
"$LINENO"; then :
35452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35454 ac_cpp
='$CPP $CPPFLAGS'
35455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35460 $as_echo "$wxUSE_JOYSTICK" >&6; }
35464 for ac_header
in linux
/joystick.h
35466 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35468 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
35469 cat >>confdefs.h
<<_ACEOF
35470 #define HAVE_LINUX_JOYSTICK_H 1
35479 if test "$wxUSE_JOYSTICK" = "yes"; then
35480 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35482 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35485 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35491 if test "$wxUSE_FONTENUM" = "yes" ; then
35492 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35496 if test "$wxUSE_FONTMAP" = "yes" ; then
35497 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35501 if test "$wxUSE_UNICODE" = "yes" ; then
35502 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35505 if test "$USE_WIN32" != 1; then
35506 wxUSE_UNICODE_MSLU
=no
35509 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35511 $as_echo_n "checking for main in -lunicows... " >&6; }
35512 if ${ac_cv_lib_unicows_main+:} false
; then :
35513 $as_echo_n "(cached) " >&6
35515 ac_check_lib_save_LIBS
=$LIBS
35516 LIBS
="-lunicows $LIBS"
35517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35518 /* end confdefs.h. */
35529 if ac_fn_c_try_link
"$LINENO"; then :
35530 ac_cv_lib_unicows_main
=yes
35532 ac_cv_lib_unicows_main
=no
35534 rm -f core conftest.err conftest.
$ac_objext \
35535 conftest
$ac_exeext conftest.
$ac_ext
35536 LIBS
=$ac_check_lib_save_LIBS
35538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35539 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35540 if test "x$ac_cv_lib_unicows_main" = xyes
; then :
35542 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35548 Applications will only run on Windows NT/2000/XP!" >&5
35549 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35550 Applications will only run on Windows NT/2000/XP!" >&2;}
35551 wxUSE_UNICODE_MSLU
=no
35558 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35559 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35562 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35563 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35569 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35570 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35575 if test "$wxUSE_MDI" = "yes"; then
35576 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35579 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35580 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35586 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35587 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35592 if test "$wxUSE_HELP" = "yes"; then
35593 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35597 if test "$wxUSE_MSW" = 1; then
35598 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35599 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35604 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35605 if test "$wxUSE_HTML" = "yes"; then
35606 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35610 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35611 wxUSE_WXHTML_HELP
=no
35616 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35617 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35622 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35623 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35627 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35630 if test "$wxUSE_SVG" = "yes"; then
35631 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35636 if test "$wxUSE_METAFILE" = "yes"; then
35637 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35639 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35642 elif test "$wxUSE_METAFILE" = "auto"; then
35643 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35648 if test "$wxUSE_METAFILE" = "yes"; then
35649 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35651 if test "$wxUSE_MSW" = 1; then
35652 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35658 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35659 -o "$wxUSE_CLIPBOARD" = "yes" \
35660 -o "$wxUSE_OLE" = "yes" \
35661 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35662 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35664 if test "x$ac_cv_header_ole2_h" = xyes
; then :
35670 if test "$ac_cv_header_ole2_h" = "yes" ; then
35671 if test "$GCC" = yes ; then
35672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35673 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35675 /* end confdefs.h. */
35676 #include <windows.h>
35686 if ac_fn_c_try_compile
"$LINENO"; then :
35687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35688 $as_echo "no" >&6; }
35690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35691 $as_echo "yes" >&6; }
35692 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35695 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35696 if test "$wxUSE_OLE" = "yes" ; then
35697 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35699 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35701 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
35707 if test "$wxUSE_DATAOBJ" = "yes" ; then
35708 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35713 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35716 wxUSE_DRAG_AND_DROP
=no
35722 if test "$wxUSE_IPC" = "yes"; then
35723 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35725 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35729 if test "$wxUSE_IPC" = "yes"; then
35730 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
35736 if test "$wxUSE_DATAOBJ" = "yes"; then
35737 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35741 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35743 wxUSE_DRAG_AND_DROP
=no
35746 if test "$wxUSE_CLIPBOARD" = "yes"; then
35747 if test "$wxUSE_DFB" = 1; then
35748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35749 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35753 if test "$wxUSE_CLIPBOARD" = "yes"; then
35754 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35759 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35760 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35762 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35763 wxUSE_DRAG_AND_DROP
=no
35766 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35767 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35773 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
35777 if test "$wxUSE_CLIPBOARD" = "yes"; then
35778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
35781 if test "$wxUSE_SPLINES" = "yes" ; then
35782 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35786 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35787 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35791 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35792 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
35797 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35798 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35804 if test "$wxUSE_CONTROLS" = "yes"; then
35808 if test "$wxUSE_MARKUP" = "yes"; then
35809 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35813 if test "$wxUSE_ACCEL" = "yes"; then
35814 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35819 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35820 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
35826 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35827 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35831 if test "$wxUSE_BUTTON" = "yes"; then
35832 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35837 if test "$wxUSE_BMPBUTTON" = "yes"; then
35838 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35843 if test "$wxUSE_CALCTRL" = "yes"; then
35844 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
35850 if test "$wxUSE_CARET" = "yes"; then
35851 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
35857 if test "$wxUSE_COLLPANE" = "yes"; then
35858 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
35864 if test "$wxUSE_COMBOBOX" = "yes"; then
35865 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35870 if test "$wxUSE_COMBOCTRL" = "yes"; then
35871 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35876 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35877 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35882 if test "$wxUSE_CHOICE" = "yes"; then
35883 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35888 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35889 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35894 if test "$wxUSE_CHECKBOX" = "yes"; then
35895 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35900 if test "$wxUSE_CHECKLST" = "yes"; then
35901 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35906 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35907 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35912 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35913 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35918 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35919 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35924 if test "$wxUSE_FILECTRL" = "yes"; then
35925 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35930 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35931 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35936 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35937 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35942 if test "$wxUSE_DISPLAY" = "yes"; then
35943 if test "$wxUSE_DFB" = 1; then
35944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35945 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35948 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
35954 if test "$wxUSE_DETECT_SM" = "yes"; then
35955 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35959 if test "$wxUSE_GAUGE" = "yes"; then
35960 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35965 if test "$wxUSE_GRID" = "yes"; then
35966 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
35972 if test "$wxUSE_HEADERCTRL" = "yes"; then
35973 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35978 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35979 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35984 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35985 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35990 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35991 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
35997 if test "$wxUSE_IMAGLIST" = "yes"; then
35998 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36002 if test "$wxUSE_INFOBAR" = "yes"; then
36003 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36007 if test "$wxUSE_LISTBOOK" = "yes"; then
36008 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36013 if test "$wxUSE_LISTBOX" = "yes"; then
36014 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36019 if test "$wxUSE_LISTCTRL" = "yes"; then
36020 if test "$wxUSE_IMAGLIST" = "yes"; then
36021 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36027 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36031 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36032 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36037 if test "$wxUSE_NOTEBOOK" = "yes"; then
36038 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36044 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36045 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36049 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36050 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
36056 if test "$wxUSE_RADIOBOX" = "yes"; then
36057 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36062 if test "$wxUSE_RADIOBTN" = "yes"; then
36063 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36068 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36069 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36073 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36074 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36078 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36079 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36083 if test "$wxUSE_SASH" = "yes"; then
36084 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36089 if test "$wxUSE_SCROLLBAR" = "yes"; then
36090 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
36096 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36097 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36102 if test "$wxUSE_SLIDER" = "yes"; then
36103 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36108 if test "$wxUSE_SPINBTN" = "yes"; then
36109 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36114 if test "$wxUSE_SPINCTRL" = "yes"; then
36115 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36120 if test "$wxUSE_SPLITTER" = "yes"; then
36121 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36126 if test "$wxUSE_STATBMP" = "yes"; then
36127 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36132 if test "$wxUSE_STATBOX" = "yes"; then
36133 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36138 if test "$wxUSE_STATTEXT" = "yes"; then
36139 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36144 if test "$wxUSE_STATLINE" = "yes"; then
36145 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36150 if test "$wxUSE_STATUSBAR" = "yes"; then
36151 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36153 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36160 if test "$wxUSE_TEXTCTRL" = "yes"; then
36161 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36166 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36168 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36172 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36173 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36178 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36179 if test "$wxUSE_OLD_COCOA" = 1 ; then
36180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36181 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36185 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36186 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36192 if test "$wxUSE_TOOLBAR" = "yes"; then
36193 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36197 if test "$wxUSE_UNIVERSAL" = "yes"; then
36198 wxUSE_TOOLBAR_NATIVE
="no"
36200 wxUSE_TOOLBAR_NATIVE
="yes"
36201 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36208 if test "$wxUSE_TOOLTIPS" = "yes"; then
36209 if test "$wxUSE_MOTIF" = 1; then
36210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36211 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36213 if test "$wxUSE_UNIVERSAL" = "yes"; then
36214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36215 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36217 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36223 if test "$wxUSE_TREEBOOK" = "yes"; then
36224 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36229 if test "$wxUSE_TOOLBOOK" = "yes"; then
36230 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36235 if test "$wxUSE_TREECTRL" = "yes"; then
36236 if test "$wxUSE_IMAGLIST" = "yes"; then
36237 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36243 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36247 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36248 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36251 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
36254 if test "$wxUSE_POPUPWIN" = "yes"; then
36255 if test "$wxUSE_OLD_COCOA" = 1 ; then
36256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36257 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36259 if test "$wxUSE_PM" = 1; then
36260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36261 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36263 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
36272 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36273 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36275 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36277 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36279 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
36283 if test "$wxUSE_TIPWINDOW" = "yes"; then
36284 if test "$wxUSE_PM" = 1; then
36285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36286 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36288 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36293 if test "$USES_CONTROLS" = 1; then
36294 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36299 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36300 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36305 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36306 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36310 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36311 if test "$wxUSE_GTK" != 1; then
36312 if test "$wxUSE_LIBPNG" != no
-a \
36313 "$wxUSE_IMAGE" = yes -a \
36314 "$wxUSE_STREAMS" = yes; then
36315 wxUSE_ARTPROVIDER_TANGO
="yes"
36320 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36321 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36325 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36326 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36331 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36332 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36334 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36336 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36338 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36343 if test "$wxUSE_HTML" = "yes"; then
36344 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36347 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36349 if test "$wxUSE_WEBKIT" = "yes"; then
36350 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36351 old_CPPFLAGS
="$CPPFLAGS"
36352 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36353 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36354 #include <Carbon/Carbon.h>
36355 #include <WebKit/WebKit.h>
36358 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36360 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36362 WEBKIT_LINK
="-framework WebKit"
36366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36367 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36373 CPPFLAGS
="$old_CPPFLAGS"
36374 elif test "$wxUSE_OLD_COCOA" = 1; then
36375 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36380 if test "$wxUSE_WEBKIT" = "yes"; then
36381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36386 if test "$wxUSE_XRC" = "yes"; then
36387 if test "$wxUSE_XML" != "yes"; then
36388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36389 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36392 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36400 if test "$wxUSE_AUI" = "yes"; then
36401 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36408 if test "$wxUSE_PROPGRID" = "yes"; then
36409 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36416 if test "$wxUSE_RIBBON" = "yes"; then
36417 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36420 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36424 if test "$wxUSE_STC" = "yes"; then
36425 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36430 # Extract the first word of "python", so it can be a program name with args.
36431 set dummy python
; ac_word
=$2
36432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36433 $as_echo_n "checking for $ac_word... " >&6; }
36434 if ${ac_cv_path_PYTHON+:} false
; then :
36435 $as_echo_n "(cached) " >&6
36439 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36443 for as_dir
in $PATH
36446 test -z "$as_dir" && as_dir
=.
36447 for ac_exec_ext
in '' $ac_executable_extensions; do
36448 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
36449 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36460 PYTHON
=$ac_cv_path_PYTHON
36461 if test -n "$PYTHON"; then
36462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36463 $as_echo "$PYTHON" >&6; }
36465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36466 $as_echo "no" >&6; }
36470 if test "x$PYTHON" = "x"; then
36476 if test "$wxUSE_MENUS" = "yes"; then
36477 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36482 if test "$wxUSE_MIMETYPE" = "yes"; then
36483 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36487 if test "$wxUSE_MINIFRAME" = "yes"; then
36488 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36492 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36493 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36497 if test "$wxUSE_TASKBARICON" = "yes"; then
36498 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36500 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36506 if test "$wxUSE_VALIDATORS" = "yes"; then
36507 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36509 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36512 if test "$wxUSE_PALETTE" = "yes" ; then
36513 if test "$wxUSE_DFB" = 1; then
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36515 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36518 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36523 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36524 LIBS
=" -lunicows $LIBS"
36528 if test "$wxUSE_RICHTEXT" = "yes"; then
36529 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36535 if test "$wxUSE_WEBVIEW" = "yes"; then
36536 USE_WEBVIEW_WEBKIT
=0
36537 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36538 if test "$wxUSE_GTK" = 1; then
36539 webkitgtk
=webkit
-1.0
36540 if test "$WXGTK3" = 1; then
36541 webkitgtk
=webkitgtk
-3.0
36545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36546 $as_echo_n "checking for WEBKIT... " >&6; }
36548 if test -n "$PKG_CONFIG"; then
36549 if test -n "$WEBKIT_CFLAGS"; then
36550 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36552 if test -n "$PKG_CONFIG" && \
36553 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36554 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36557 test $ac_status = 0; }; then
36558 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36566 if test -n "$PKG_CONFIG"; then
36567 if test -n "$WEBKIT_LIBS"; then
36568 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36570 if test -n "$PKG_CONFIG" && \
36571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36572 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36575 test $ac_status = 0; }; then
36576 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36587 if test $pkg_failed = yes; then
36589 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36590 _pkg_short_errors_supported
=yes
36592 _pkg_short_errors_supported
=no
36594 if test $_pkg_short_errors_supported = yes; then
36595 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36597 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36599 # Put the nasty error message in config.log where it belongs
36600 echo "$WEBKIT_PKG_ERRORS" >&5
36603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36604 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36606 elif test $pkg_failed = untried
; then
36608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36609 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36612 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36613 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36615 $as_echo "yes" >&6; }
36617 USE_WEBVIEW_WEBKIT
=1
36618 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36619 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36622 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36623 old_CPPFLAGS
="$CPPFLAGS"
36624 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36625 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36626 #include <Carbon/Carbon.h>
36627 #include <WebKit/WebKit.h>
36630 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36632 USE_WEBVIEW_WEBKIT
=1
36633 WEBKIT_LINK
="-framework WebKit"
36637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36638 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36643 CPPFLAGS
="$old_CPPFLAGS"
36648 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36649 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36650 wxUSE_WEBVIEW
="yes"
36651 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36655 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36657 elif test "$wxUSE_MSW" = 1; then
36658 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36659 wxUSE_WEBVIEW
="yes"
36660 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36666 if test "$wxUSE_WEBVIEW" = "yes"; then
36668 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
36676 if test "$wxUSE_IMAGE" = "yes" ; then
36677 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36680 if test "$wxUSE_GIF" = "yes" ; then
36681 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36685 if test "$wxUSE_PCX" = "yes" ; then
36686 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36690 if test "$wxUSE_TGA" = "yes" ; then
36691 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36695 if test "$wxUSE_IFF" = "yes" ; then
36696 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36700 if test "$wxUSE_PNM" = "yes" ; then
36701 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36705 if test "$wxUSE_XPM" = "yes" ; then
36706 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36710 if test "$wxUSE_ICO_CUR" = "yes" ; then
36711 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36717 if test "$wxUSE_ABOUTDLG" = "yes"; then
36718 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36722 if test "$wxUSE_CHOICEDLG" = "yes"; then
36723 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36727 if test "$wxUSE_COLOURDLG" = "yes"; then
36728 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36732 if test "$wxUSE_FILEDLG" = "yes"; then
36733 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36737 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36738 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36742 if test "$wxUSE_FONTDLG" = "yes"; then
36743 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36747 if test "$wxUSE_DIRDLG" = "yes"; then
36748 if test "$wxUSE_TREECTRL" != "yes"; then
36749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36750 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36752 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36757 if test "$wxUSE_MSGDLG" = "yes"; then
36758 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36762 if test "$wxUSE_NUMBERDLG" = "yes"; then
36763 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36767 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36768 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36772 if test "$wxUSE_SPLASH" = "yes"; then
36773 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
36778 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36779 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36783 if test "$wxUSE_TEXTDLG" = "yes"; then
36784 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36788 if test "$wxUSE_WIZARDDLG" = "yes"; then
36789 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
36795 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36796 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36797 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36803 if test "$wxUSE_MSW" = 1 ; then
36805 if test "$wxUSE_DC_CACHEING" = "yes"; then
36806 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36810 if test "$wxUSE_DIB" = "yes"; then
36811 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36815 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36816 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36820 if test "$wxUSE_UXTHEME" = "yes"; then
36821 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36827 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36828 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36832 if test "$USE_WIN32" = 1 ; then
36833 if test "$wxUSE_INICONF" = "yes"; then
36834 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36838 if test "$wxUSE_REGKEY" = "yes"; then
36839 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36845 if test "$wxUSE_MAC" = 1; then
36846 wxUSE_GRAPHICS_CONTEXT
="yes"
36849 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36851 if test "$wxUSE_MSW" = 1; then
36852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36853 $as_echo_n "checking if GDI+ is available... " >&6; }
36854 if ${wx_cv_lib_gdiplus+:} false
; then :
36855 $as_echo_n "(cached) " >&6
36859 ac_cpp
='$CXXCPP $CPPFLAGS'
36860 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36861 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36862 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36865 /* end confdefs.h. */
36866 #include <windows.h>
36867 #include <gdiplus.h>
36872 using namespace Gdiplus;
36878 if ac_fn_cxx_try_compile
"$LINENO"; then :
36879 wx_cv_lib_gdiplus
=yes
36881 wx_cv_lib_gdiplus
=no
36884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36886 ac_cpp
='$CPP $CPPFLAGS'
36887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36895 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36896 if test "$wx_cv_lib_gdiplus" = "yes"; then
36899 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36903 $as_echo_n "checking for CAIRO... " >&6; }
36905 if test -n "$PKG_CONFIG"; then
36906 if test -n "$CAIRO_CFLAGS"; then
36907 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
36909 if test -n "$PKG_CONFIG" && \
36910 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36911 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36914 test $ac_status = 0; }; then
36915 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36923 if test -n "$PKG_CONFIG"; then
36924 if test -n "$CAIRO_LIBS"; then
36925 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
36927 if test -n "$PKG_CONFIG" && \
36928 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36929 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36932 test $ac_status = 0; }; then
36933 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36944 if test $pkg_failed = yes; then
36946 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36947 _pkg_short_errors_supported
=yes
36949 _pkg_short_errors_supported
=no
36951 if test $_pkg_short_errors_supported = yes; then
36952 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36954 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36956 # Put the nasty error message in config.log where it belongs
36957 echo "$CAIRO_PKG_ERRORS" >&5
36959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36960 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36962 elif test $pkg_failed = untried
; then
36963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36964 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36967 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
36968 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
36969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36970 $as_echo "yes" >&6; }
36973 if test "$wx_has_graphics" = 1; then
36975 LIBS
="$LIBS $CAIRO_LIBS"
36976 for ac_func
in cairo_push_group
36978 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36979 if test "x$ac_cv_func_cairo_push_group" = xyes
; then :
36980 cat >>confdefs.h
<<_ACEOF
36981 #define HAVE_CAIRO_PUSH_GROUP 1
36988 if test "$ac_cv_func_cairo_push_group" = "no"; then
36990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36991 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36993 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36996 if test "$wxUSE_GTK" != 1; then
36997 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
36998 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
37006 if test "$wx_has_graphics" = 1; then
37007 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37011 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37018 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37021 if test "$wxUSE_GTK" = 1; then
37022 wxUSE_GSTREAMER
="no"
37024 GST_VERSION_MAJOR
=0
37025 GST_VERSION_MINOR
=10
37026 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37028 if test "$wxUSE_GSTREAMER8" = "no"; then
37031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37032 $as_echo_n "checking for GST... " >&6; }
37034 if test -n "$PKG_CONFIG"; then
37035 if test -n "$GST_CFLAGS"; then
37036 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37038 if test -n "$PKG_CONFIG" && \
37039 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37040 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37043 test $ac_status = 0; }; then
37044 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37052 if test -n "$PKG_CONFIG"; then
37053 if test -n "$GST_LIBS"; then
37054 pkg_cv_GST_LIBS
="$GST_LIBS"
37056 if test -n "$PKG_CONFIG" && \
37057 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37058 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37061 test $ac_status = 0; }; then
37062 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37073 if test $pkg_failed = yes; then
37075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37076 _pkg_short_errors_supported
=yes
37078 _pkg_short_errors_supported
=no
37080 if test $_pkg_short_errors_supported = yes; then
37081 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37083 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37085 # Put the nasty error message in config.log where it belongs
37086 echo "$GST_PKG_ERRORS" >&5
37089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37090 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37091 GST_VERSION_MINOR
=8
37094 elif test $pkg_failed = untried
; then
37096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37097 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37098 GST_VERSION_MINOR
=8
37102 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37103 GST_LIBS
=$pkg_cv_GST_LIBS
37104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37105 $as_echo "yes" >&6; }
37107 wxUSE_GSTREAMER
="yes"
37108 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37112 GST_VERSION_MINOR
=8
37115 if test $GST_VERSION_MINOR = "8"; then
37116 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37120 $as_echo_n "checking for GST... " >&6; }
37122 if test -n "$PKG_CONFIG"; then
37123 if test -n "$GST_CFLAGS"; then
37124 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37126 if test -n "$PKG_CONFIG" && \
37127 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37128 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37131 test $ac_status = 0; }; then
37132 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37140 if test -n "$PKG_CONFIG"; then
37141 if test -n "$GST_LIBS"; then
37142 pkg_cv_GST_LIBS
="$GST_LIBS"
37144 if test -n "$PKG_CONFIG" && \
37145 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37146 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37149 test $ac_status = 0; }; then
37150 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37161 if test $pkg_failed = yes; then
37163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37164 _pkg_short_errors_supported
=yes
37166 _pkg_short_errors_supported
=no
37168 if test $_pkg_short_errors_supported = yes; then
37169 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37171 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37173 # Put the nasty error message in config.log where it belongs
37174 echo "$GST_PKG_ERRORS" >&5
37177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37178 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37180 elif test $pkg_failed = untried
; then
37182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37183 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37186 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37187 GST_LIBS
=$pkg_cv_GST_LIBS
37188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37189 $as_echo "yes" >&6; }
37190 wxUSE_GSTREAMER
="yes"
37195 if test "$wxUSE_GSTREAMER" = "yes"; then
37196 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
37197 EXTRALIBS_MEDIA
="$GST_LIBS"
37199 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37205 elif test "$wxUSE_MAC" = 1; then
37206 GST_LIBS
="-framework QTKit"
37209 if test $USE_MEDIA = 1; then
37210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
37211 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37214 if test "$wxUSE_MEDIACTRL" = "yes"; then
37215 as_fn_error $?
"GStreamer not available" "$LINENO" 5
37217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37218 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37224 if test "$cross_compiling" != "no"; then
37227 OSINFO
=`uname -s -r -m`
37228 OSINFO
="\"$OSINFO\""
37231 cat >>confdefs.h
<<_ACEOF
37232 #define WXWIN_OS_DESCRIPTION $OSINFO
37237 if test "x$prefix" != "xNONE"; then
37240 wxPREFIX
=$ac_default_prefix
37243 cat >>confdefs.h
<<_ACEOF
37244 #define wxINSTALL_PREFIX "$wxPREFIX"
37250 STD_BASE_LIBS
="base"
37252 BUILT_WX_LIBS
="base"
37253 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
37255 if test "$wxUSE_SOCKETS" = "yes" ; then
37256 STD_BASE_LIBS
="net $STD_BASE_LIBS"
37257 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
37259 if test "$wxUSE_XML" = "yes" ; then
37260 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
37261 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
37264 if test "$wxUSE_GUI" = "yes"; then
37265 STD_GUI_LIBS
="adv core"
37266 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
37268 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37269 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
37270 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
37272 if test "$wxUSE_HTML" = "yes" ; then
37273 STD_GUI_LIBS
="html $STD_GUI_LIBS"
37274 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
37276 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37277 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
37279 if test "$wxUSE_OPENGL" = "yes" ; then
37280 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
37282 if test "$wxUSE_AUI" = "yes" ; then
37283 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
37285 if test "$wxUSE_PROPGRID" = "yes" ; then
37286 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
37288 if test "$wxUSE_RIBBON" = "yes" ; then
37289 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
37291 if test "$wxUSE_RICHTEXT" = "yes" ; then
37292 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
37294 if test "$wxUSE_STC" = "yes" ; then
37295 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
37297 if test "$wxUSE_WEBVIEW" = "yes" ; then
37298 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
37299 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
37301 if test "$wxUSE_XRC" = "yes" ; then
37302 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
37303 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
37314 if test "$wxUSE_MAC" = 1 ; then
37315 if test "$USE_DARWIN" = 1; then
37316 if test "$wxUSE_OSX_IPHONE" = 1; then
37317 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37319 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37322 if test "$cross_compiling" != "no"; then
37323 wx_cv_target_x86_64
=no
37325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37326 $as_echo_n "checking if we target only x86_64... " >&6; }
37327 if ${wx_cv_target_x86_64+:} false
; then :
37328 $as_echo_n "(cached) " >&6
37330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37331 /* end confdefs.h. */
37332 int main() { return 0; }
37334 if ac_fn_c_try_link
"$LINENO"; then :
37335 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37336 wx_cv_target_x86_64
=no
37338 wx_cv_target_x86_64
=yes
37342 rm -f core conftest.err conftest.
$ac_objext \
37343 conftest
$ac_exeext conftest.
$ac_ext
37346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37347 $as_echo "$wx_cv_target_x86_64" >&6; }
37350 if test "$wx_cv_target_x86_64" != "yes"; then
37351 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37356 if test "$wxUSE_OLD_COCOA" = 1 ; then
37357 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37358 if test "$wxUSE_MEDIACTRL" = "yes"; then
37359 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37362 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37363 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37366 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37367 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37369 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37371 if test "$wxUSE_GUI" = "yes"; then
37374 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37375 erase event exec font image minimal render \
37376 shaped svg taborder vscroll widgets wrapsizer"
37378 if test "$wxUSE_MONOLITHIC" != "yes"; then
37379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37381 if test "$TOOLKIT" = "MSW"; then
37382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37383 if test "$wxUSE_UNIVERSAL" != "yes"; then
37384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37387 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37388 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37391 SAMPLES_SUBDIRS
="console"
37392 if test "$wxUSE_SOCKETS" = "yes" ; then
37393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37395 if test "$wxUSE_IPC" = "yes" ; then
37396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37401 if test "x$INTELCC" = "xyes" ; then
37402 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37403 elif test "$GCC" = yes ; then
37404 CWARNINGS
="-Wall -Wundef"
37407 if test "x$INTELCXX" = "xyes" ; then
37408 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37409 elif test "$GXX" = yes ; then
37410 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37412 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37413 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false
; then :
37414 $as_echo_n "(cached) " >&6
37416 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37419 ac_cpp
='$CXXCPP $CPPFLAGS'
37420 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37421 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37422 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37424 ac_save_CXXFLAGS
="$CXXFLAGS"
37425 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37426 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37428 /* end confdefs.h. */
37438 if ac_fn_cxx_try_compile
"$LINENO"; then :
37439 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37443 CXXFLAGS
="$ac_save_CXXFLAGS"
37445 ac_cpp
='$CPP $CPPFLAGS'
37446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37453 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37454 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37458 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37459 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37460 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37463 test $ac_status = 0; }
37464 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37465 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37468 test $ac_status = 0; }
37469 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37475 if test "$wxUSE_MAC" = 1 ; then
37476 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37481 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37482 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37485 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37486 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37487 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37490 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37491 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37492 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37493 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37494 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37496 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37499 if test "x$MWCC" = "xyes"; then
37501 CC
="$CC -cwd source -I-"
37502 CXX
="$CXX -cwd source -I-"
37507 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37508 EXTRALIBS_XML
="$EXPAT_LINK"
37509 EXTRALIBS_HTML
="$MSPACK_LINK"
37510 EXTRALIBS_MEDIA
="$GST_LIBS"
37511 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37512 if test "$wxUSE_GUI" = "yes"; then
37513 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37515 if test "$wxUSE_OPENGL" = "yes"; then
37516 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37519 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37521 WXCONFIG_LIBS
="$LIBS"
37523 if test "$wxUSE_REGEX" = "builtin" ; then
37524 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37526 if test "$wxUSE_EXPAT" = "builtin" ; then
37527 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37529 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37530 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37532 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37533 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37535 if test "$wxUSE_LIBPNG" = "builtin" ; then
37536 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37538 if test "$wxUSE_ZLIB" = "builtin" ; then
37539 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37542 for i
in $wxconfig_3rdparty ; do
37543 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37547 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37550 case "$wxUNIV_THEMES" in
37552 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37557 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37558 cat >>confdefs.h
<<_ACEOF
37559 #define wxUSE_THEME_$t 1
37575 if test $wxUSE_MONOLITHIC = "yes" ; then
37581 if test $wxUSE_PLUGINS = "yes" ; then
37587 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37593 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37621 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37634 TOOLKIT_DESC
="GTK+"
37635 if test "$WXGTK2" = 1; then
37636 if test "$WXGTK3" = 1; then
37637 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
37639 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
37641 if test "$wxUSE_GTKPRINT" = "yes" ; then
37642 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
37644 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37645 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
37647 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37648 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
37650 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37651 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA libnotify"
37653 if test "$wxUSE_LIBHILDON" = "yes"; then
37654 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37656 if test "$wxUSE_LIBHILDON2" = "yes"; then
37657 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37660 if test "$TOOLKIT_EXTRA" != ""; then
37661 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37667 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
37671 TOOLKIT_DESC
="base only"
37675 if test "$wxUSE_WINE" = "yes"; then
37676 BAKEFILE_FORCE_PLATFORM
=win32
37679 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37682 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37683 if ${wx_cv_gcc_pch_bug+:} false
; then :
37684 $as_echo_n "(cached) " >&6
37687 echo '#include <stdio.h>
37688 const wchar_t test_var[] = L"awidetest";' > conftest.h
37690 echo '#include "conftest.h"
37693 printf("%ls", test_var);
37697 wx_cv_gcc_pch_bug
="pch not supported"
37699 if $CXX conftest.h
>/dev
/null
2>&1
37703 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
37705 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
37706 grep awidetest
>/dev
/null
37708 wx_cv_gcc_pch_bug
=no
37710 wx_cv_gcc_pch_bug
=yes
37715 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
37718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37719 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37721 if test "$wx_cv_gcc_pch_bug" = yes; then
37726 # Find a good install program. We prefer a C program (faster),
37727 # so one script is as good as another. But avoid the broken or
37728 # incompatible versions:
37729 # SysV /etc/install, /usr/sbin/install
37730 # SunOS /usr/etc/install
37731 # IRIX /sbin/install
37733 # AmigaOS /C/install, which installs bootblocks on floppy discs
37734 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37735 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37736 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37737 # OS/2's system install, which has a completely different semantic
37738 # ./install, which can be erroneously created by make from ./install.sh.
37739 # Reject install programs that cannot install multiple files.
37740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37741 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37742 if test -z "$INSTALL"; then
37743 if ${ac_cv_path_install+:} false
; then :
37744 $as_echo_n "(cached) " >&6
37746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37747 for as_dir
in $PATH
37750 test -z "$as_dir" && as_dir
=.
37751 # Account for people who put trailing slashes in PATH elements.
37752 case $as_dir/ in #((
37753 .
/ | .
// | /[cC
]/* | \
37754 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37755 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
37758 # OSF1 and SCO ODT 3.0 have their own names for install.
37759 # Don't use installbsd from OSF since it installs stuff as root
37761 for ac_prog
in ginstall scoinst
install; do
37762 for ac_exec_ext
in '' $ac_executable_extensions; do
37763 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
37764 if test $ac_prog = install &&
37765 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37766 # AIX install. It has an incompatible calling convention.
37768 elif test $ac_prog = install &&
37769 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37770 # program-specific install script used by HP pwplus--don't use.
37773 rm -rf conftest.one conftest.two conftest.dir
37774 echo one
> conftest.one
37775 echo two
> conftest.two
37777 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
37778 test -s conftest.one
&& test -s conftest.two
&&
37779 test -s conftest.dir
/conftest.one
&&
37780 test -s conftest.dir
/conftest.two
37782 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37795 rm -rf conftest.one conftest.two conftest.dir
37798 if test "${ac_cv_path_install+set}" = set; then
37799 INSTALL
=$ac_cv_path_install
37801 # As a last resort, use the slow shell script. Don't cache a
37802 # value for INSTALL within a source directory, because that will
37803 # break other packages using the cache if that directory is
37804 # removed, or if the value is a relative name.
37805 INSTALL
=$ac_install_sh
37808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37809 $as_echo "$INSTALL" >&6; }
37811 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37812 # It thinks the first close brace ends the variable substitution.
37813 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37815 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37817 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37825 if test "x$BAKEFILE_HOST" = "x"; then
37826 if test "x${host}" = "x" ; then
37827 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37830 BAKEFILE_HOST
="${host}"
37833 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37835 if test -n "$ac_tool_prefix"; then
37836 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37837 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37839 $as_echo_n "checking for $ac_word... " >&6; }
37840 if ${ac_cv_prog_RANLIB+:} false
; then :
37841 $as_echo_n "(cached) " >&6
37843 if test -n "$RANLIB"; then
37844 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37847 for as_dir
in $PATH
37850 test -z "$as_dir" && as_dir
=.
37851 for ac_exec_ext
in '' $ac_executable_extensions; do
37852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37853 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37863 RANLIB
=$ac_cv_prog_RANLIB
37864 if test -n "$RANLIB"; then
37865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37866 $as_echo "$RANLIB" >&6; }
37868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37869 $as_echo "no" >&6; }
37874 if test -z "$ac_cv_prog_RANLIB"; then
37875 ac_ct_RANLIB
=$RANLIB
37876 # Extract the first word of "ranlib", so it can be a program name with args.
37877 set dummy ranlib
; ac_word
=$2
37878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37879 $as_echo_n "checking for $ac_word... " >&6; }
37880 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
37881 $as_echo_n "(cached) " >&6
37883 if test -n "$ac_ct_RANLIB"; then
37884 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37887 for as_dir
in $PATH
37890 test -z "$as_dir" && as_dir
=.
37891 for ac_exec_ext
in '' $ac_executable_extensions; do
37892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37893 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37903 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37904 if test -n "$ac_ct_RANLIB"; then
37905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37906 $as_echo "$ac_ct_RANLIB" >&6; }
37908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37909 $as_echo "no" >&6; }
37912 if test "x$ac_ct_RANLIB" = x
; then
37915 case $cross_compiling:$ac_tool_warned in
37917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37919 ac_tool_warned
=yes ;;
37921 RANLIB
=$ac_ct_RANLIB
37924 RANLIB
="$ac_cv_prog_RANLIB"
37928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37929 $as_echo_n "checking whether ln -s works... " >&6; }
37931 if test "$LN_S" = "ln -s"; then
37932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37933 $as_echo "yes" >&6; }
37935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37936 $as_echo "no, using $LN_S" >&6; }
37940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37941 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37943 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37944 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
37945 $as_echo_n "(cached) " >&6
37947 cat >conftest.
make <<\_ACEOF
37950 @
echo '@@@%%%=$(MAKE)=@@@%%%'
37952 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37953 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37954 *@@@
%%%=?
*=@@@
%%%*)
37955 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
37957 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
37959 rm -f conftest.
make
37961 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
37962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37963 $as_echo "yes" >&6; }
37966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37967 $as_echo "no" >&6; }
37968 SET_MAKE
="MAKE=${MAKE-make}"
37973 if test "x$SUNCXX" = "xyes"; then
37975 AROPTIONS
="-xar -o"
37977 elif test "x$SGICC" = "xyes"; then
37982 if test -n "$ac_tool_prefix"; then
37983 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37984 set dummy
${ac_tool_prefix}ar; ac_word
=$2
37985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37986 $as_echo_n "checking for $ac_word... " >&6; }
37987 if ${ac_cv_prog_AR+:} false
; then :
37988 $as_echo_n "(cached) " >&6
37990 if test -n "$AR"; then
37991 ac_cv_prog_AR
="$AR" # Let the user override the test.
37993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37994 for as_dir
in $PATH
37997 test -z "$as_dir" && as_dir
=.
37998 for ac_exec_ext
in '' $ac_executable_extensions; do
37999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38000 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38011 if test -n "$AR"; then
38012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38013 $as_echo "$AR" >&6; }
38015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38016 $as_echo "no" >&6; }
38021 if test -z "$ac_cv_prog_AR"; then
38023 # Extract the first word of "ar", so it can be a program name with args.
38024 set dummy
ar; ac_word
=$2
38025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38026 $as_echo_n "checking for $ac_word... " >&6; }
38027 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
38028 $as_echo_n "(cached) " >&6
38030 if test -n "$ac_ct_AR"; then
38031 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38034 for as_dir
in $PATH
38037 test -z "$as_dir" && as_dir
=.
38038 for ac_exec_ext
in '' $ac_executable_extensions; do
38039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38040 ac_cv_prog_ac_ct_AR
="ar"
38041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38050 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38051 if test -n "$ac_ct_AR"; then
38052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38053 $as_echo "$ac_ct_AR" >&6; }
38055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38056 $as_echo "no" >&6; }
38059 if test "x$ac_ct_AR" = x
; then
38062 case $cross_compiling:$ac_tool_warned in
38064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38066 ac_tool_warned
=yes ;;
38071 AR
="$ac_cv_prog_AR"
38078 if test -n "$ac_tool_prefix"; then
38079 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38080 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38082 $as_echo_n "checking for $ac_word... " >&6; }
38083 if ${ac_cv_prog_STRIP+:} false
; then :
38084 $as_echo_n "(cached) " >&6
38086 if test -n "$STRIP"; then
38087 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38090 for as_dir
in $PATH
38093 test -z "$as_dir" && as_dir
=.
38094 for ac_exec_ext
in '' $ac_executable_extensions; do
38095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38096 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38106 STRIP
=$ac_cv_prog_STRIP
38107 if test -n "$STRIP"; then
38108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38109 $as_echo "$STRIP" >&6; }
38111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38112 $as_echo "no" >&6; }
38117 if test -z "$ac_cv_prog_STRIP"; then
38119 # Extract the first word of "strip", so it can be a program name with args.
38120 set dummy strip
; ac_word
=$2
38121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38122 $as_echo_n "checking for $ac_word... " >&6; }
38123 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
38124 $as_echo_n "(cached) " >&6
38126 if test -n "$ac_ct_STRIP"; then
38127 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38130 for as_dir
in $PATH
38133 test -z "$as_dir" && as_dir
=.
38134 for ac_exec_ext
in '' $ac_executable_extensions; do
38135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38136 ac_cv_prog_ac_ct_STRIP
="strip"
38137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38146 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38147 if test -n "$ac_ct_STRIP"; then
38148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38149 $as_echo "$ac_ct_STRIP" >&6; }
38151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38152 $as_echo "no" >&6; }
38155 if test "x$ac_ct_STRIP" = x
; then
38158 case $cross_compiling:$ac_tool_warned in
38160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38162 ac_tool_warned
=yes ;;
38167 STRIP
="$ac_cv_prog_STRIP"
38170 if test -n "$ac_tool_prefix"; then
38171 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38172 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38174 $as_echo_n "checking for $ac_word... " >&6; }
38175 if ${ac_cv_prog_NM+:} false
; then :
38176 $as_echo_n "(cached) " >&6
38178 if test -n "$NM"; then
38179 ac_cv_prog_NM
="$NM" # Let the user override the test.
38181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38182 for as_dir
in $PATH
38185 test -z "$as_dir" && as_dir
=.
38186 for ac_exec_ext
in '' $ac_executable_extensions; do
38187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38188 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38199 if test -n "$NM"; then
38200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38201 $as_echo "$NM" >&6; }
38203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38204 $as_echo "no" >&6; }
38209 if test -z "$ac_cv_prog_NM"; then
38211 # Extract the first word of "nm", so it can be a program name with args.
38212 set dummy nm
; ac_word
=$2
38213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38214 $as_echo_n "checking for $ac_word... " >&6; }
38215 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
38216 $as_echo_n "(cached) " >&6
38218 if test -n "$ac_ct_NM"; then
38219 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38222 for as_dir
in $PATH
38225 test -z "$as_dir" && as_dir
=.
38226 for ac_exec_ext
in '' $ac_executable_extensions; do
38227 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38228 ac_cv_prog_ac_ct_NM
="nm"
38229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38238 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38239 if test -n "$ac_ct_NM"; then
38240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38241 $as_echo "$ac_ct_NM" >&6; }
38243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38244 $as_echo "no" >&6; }
38247 if test "x$ac_ct_NM" = x
; then
38250 case $cross_compiling:$ac_tool_warned in
38252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38254 ac_tool_warned
=yes ;;
38259 NM
="$ac_cv_prog_NM"
38263 INSTALL_DIR
="mkdir -p"
38267 case ${BAKEFILE_HOST} in
38268 *-*-cygwin* | *-*-mingw32* )
38269 LDFLAGS_GUI
="-mwindows"
38275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38276 $as_echo_n "checking if make is GNU make... " >&6; }
38277 if ${bakefile_cv_prog_makeisgnu+:} false
; then :
38278 $as_echo_n "(cached) " >&6
38281 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38282 egrep -s GNU
> /dev
/null
); then
38283 bakefile_cv_prog_makeisgnu
="yes"
38285 bakefile_cv_prog_makeisgnu
="no"
38289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38290 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38292 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38309 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38310 case "${BAKEFILE_HOST}" in
38317 *-pc-os2_emx | *-pc-os2-emx )
38327 powerpc
-apple-macos* )
38336 case "$BAKEFILE_FORCE_PLATFORM" in
38357 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38372 # Check whether --enable-omf was given.
38373 if test "${enable_omf+set}" = set; then :
38374 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38378 case "${BAKEFILE_HOST}" in
38380 if test "x$GCC" = "xyes"; then
38381 CFLAGS
="$CFLAGS -fno-common"
38382 CXXFLAGS
="$CXXFLAGS -fno-common"
38384 if test "x$XLCC" = "xyes"; then
38385 CFLAGS
="$CFLAGS -qnocommon"
38386 CXXFLAGS
="$CXXFLAGS -qnocommon"
38390 *-pc-os2_emx | *-pc-os2-emx )
38391 if test "x$bk_os2_use_omf" = "xyes" ; then
38394 LDFLAGS
="-Zomf $LDFLAGS"
38395 CFLAGS
="-Zomf $CFLAGS"
38396 CXXFLAGS
="-Zomf $CXXFLAGS"
38404 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38410 SO_SUFFIX_MODULE
="so"
38415 DLLPREFIX_MODULE
=""
38419 case "${BAKEFILE_HOST}" in
38424 SO_SUFFIX_MODULE
="sl"
38428 SO_SUFFIX_MODULE
="a"
38432 SO_SUFFIX_MODULE
="dll"
38433 DLLIMP_SUFFIX
="dll.a"
38440 SO_SUFFIX_MODULE
="dll"
38441 DLLIMP_SUFFIX
="dll.a"
38451 *-pc-os2_emx | *-pc-os2-emx )
38453 SO_SUFFIX_MODULE
="dll"
38454 DLLIMP_SUFFIX
=$OS2_LIBEXT
38458 LIBEXT
=".$OS2_LIBEXT"
38463 SO_SUFFIX_MODULE
="bundle"
38467 if test "x$DLLIMP_SUFFIX" = "x" ; then
38468 DLLIMP_SUFFIX
="$SO_SUFFIX"
38483 if test "x$GCC" = "xyes"; then
38487 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38488 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38491 case "${BAKEFILE_HOST}" in
38493 if test "x$GCC" != "xyes"; then
38494 LDFLAGS
="$LDFLAGS -L/usr/lib"
38496 SHARED_LD_CC
="${CC} -b -o"
38497 SHARED_LD_CXX
="${CXX} -b -o"
38503 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38505 elif test "x$SUNCXX" = "xyes"; then
38506 SHARED_LD_CC
="${CC} -G -o"
38507 SHARED_LD_CXX
="${CXX} -G -o"
38513 if test "x$SUNCXX" = xyes
; then
38514 SHARED_LD_CC
="${CC} -G -o"
38515 SHARED_LD_CXX
="${CXX} -G -o"
38523 cat <<EOF >shared-ld-sh
38525 #-----------------------------------------------------------------------------
38526 #-- Name: distrib/mac/shared-ld-sh
38527 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38528 #-- Author: Gilles Depeyrot
38529 #-- Copyright: (c) 2002 Gilles Depeyrot
38530 #-- Licence: any use permitted
38531 #-----------------------------------------------------------------------------
38536 linking_flag="-dynamiclib"
38537 ldargs="-r -keep_private_externs -nostdlib"
38539 if test "x${D}CXX" = "x"; then
38543 while test ${D}# -gt 0; do
38550 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38551 # collect these options and values
38552 args="${D}{args} ${D}1 ${D}2"
38557 # collect these options and values
38558 ldargs="${D}{ldargs} ${D}1 ${D}2"
38563 # collect these load args
38564 ldargs="${D}{ldargs} ${D}1"
38567 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38568 # collect these options
38569 args="${D}{args} ${D}1"
38572 -dynamiclib|-bundle)
38573 linking_flag="${D}1"
38577 echo "shared-ld: unhandled option '${D}1'"
38581 *.o | *.a | *.dylib)
38582 # collect object files
38583 objects="${D}{objects} ${D}1"
38587 echo "shared-ld: unhandled argument '${D}1'"
38598 # Link one module containing all the others
38600 if test ${D}{verbose} = 1; then
38601 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38603 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38607 # Link the shared library from the single module created, but only if the
38608 # previous command didn't fail:
38610 if test ${D}{status} = 0; then
38611 if test ${D}{verbose} = 1; then
38612 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38614 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38619 # Remove intermediate module
38621 rm -f master.${D}${D}.o
38626 chmod +x shared
-ld-sh
38628 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38629 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38633 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38634 if ${bakefile_cv_gcc31+:} false
; then :
38635 $as_echo_n "(cached) " >&6
38638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38639 /* end confdefs.h. */
38645 #if (__GNUC__ < 3) || \
38646 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38654 if ac_fn_c_try_compile
"$LINENO"; then :
38656 bakefile_cv_gcc31
=yes
38660 bakefile_cv_gcc31
=no
38664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38668 $as_echo "$bakefile_cv_gcc31" >&6; }
38669 if test "$bakefile_cv_gcc31" = "no"; then
38670 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38671 SHARED_LD_CXX
="$SHARED_LD_CC"
38673 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38674 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38677 if test "x$GCC" == "xyes"; then
38678 PIC_FLAG
="-dynamic -fPIC"
38680 if test "x$XLCC" = "xyes"; then
38681 PIC_FLAG
="-dynamic -DPIC"
38686 if test "x$GCC" = "xyes"; then
38689 case "${BAKEFILE_HOST}" in
38691 LD_EXPFULL
="-Wl,-bexpfull"
38695 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
38696 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
38698 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38699 set dummy makeC
++SharedLib
; ac_word
=$2
38700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38701 $as_echo_n "checking for $ac_word... " >&6; }
38702 if ${ac_cv_prog_AIX_CXX_LD+:} false
; then :
38703 $as_echo_n "(cached) " >&6
38705 if test -n "$AIX_CXX_LD"; then
38706 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38709 for as_dir
in $PATH
38712 test -z "$as_dir" && as_dir
=.
38713 for ac_exec_ext
in '' $ac_executable_extensions; do
38714 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38715 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38723 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38726 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38727 if test -n "$AIX_CXX_LD"; then
38728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38729 $as_echo "$AIX_CXX_LD" >&6; }
38731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38732 $as_echo "no" >&6; }
38736 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38737 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38742 SHARED_LD_CC
="${LD} -nostart -o"
38743 SHARED_LD_CXX
="${LD} -nostart -o"
38747 if test "x$GCC" != "xyes"; then
38752 *-*-cygwin* | *-*-mingw32* )
38754 SHARED_LD_CC
="\$(CC) -shared -o"
38755 SHARED_LD_CXX
="\$(CXX) -shared -o"
38759 *-pc-os2_emx | *-pc-os2-emx )
38760 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38761 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38765 cat <<EOF >dllar.sh
38768 # dllar - a tool to build both a .dll and an .a file
38769 # from a set of object (.o) files for EMX/OS2.
38771 # Written by Andrew Zabolotny, bit@freya.etu.ru
38772 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38774 # This script will accept a set of files on the command line.
38775 # All the public symbols from the .o files will be exported into
38776 # a .DEF file, then linker will be run (through gcc) against them to
38777 # build a shared library consisting of all given .o files. All libraries
38778 # (.a) will be first decompressed into component .o files then act as
38779 # described above. You can optionally give a description (-d "description")
38780 # which will be put into .DLL. To see the list of accepted options (as well
38781 # as command-line format) simply run this program without options. The .DLL
38782 # is built to be imported by name (there is no guarantee that new versions
38783 # of the library you build will have same ordinals for same symbols).
38785 # dllar is free software; you can redistribute it and/or modify
38786 # it under the terms of the GNU General Public License as published by
38787 # the Free Software Foundation; either version 2, or (at your option)
38788 # any later version.
38790 # dllar is distributed in the hope that it will be useful,
38791 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38792 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38793 # GNU General Public License for more details.
38795 # You should have received a copy of the GNU General Public License
38796 # along with dllar; see the file COPYING. If not, write to the Free
38797 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38800 # To successfuly run this program you will need:
38801 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38802 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38804 # (used to build the .dll)
38806 # (used to create .def file from .o files)
38808 # (used to create .a file from .def file)
38809 # - GNU text utilites (cat, sort, uniq)
38810 # used to process emxexp output
38811 # - GNU file utilities (mv, rm)
38813 # - lxlite (optional, see flag below)
38814 # (used for general .dll cleanup)
38821 # basnam, variant of basename, which does _not_ remove the path, _iff_
38822 # second argument (suffix to remove) is given
38826 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38829 echo ${D}1 | sed 's/'${D}2'${D}//'
38832 echo "error in basnam ${D}*"
38838 # Cleanup temporary files and output
38841 for i in ${D}inputFiles ; do
38844 rm -rf \`basnam ${D}i !\`
38851 # Kill result in case of failure as there is just to many stupid make/nmake
38852 # things out there which doesn't do this.
38853 if [ ${D}# -eq 0 ]; then
38854 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38858 # Print usage and exit script with rc=1.
38860 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38861 echo ' [-name-mangler-script script.sh]'
38862 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38863 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38864 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38865 echo ' [*.o] [*.a]'
38866 echo '*> "output_file" should have no extension.'
38867 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38868 echo ' The import library name is derived from this and is set to "name".a,'
38869 echo ' unless overridden by -import'
38870 echo '*> "importlib_name" should have no extension.'
38871 echo ' If it has the .o, or .a extension, it is automatically removed.'
38872 echo ' This name is used as the import library name and may be longer and'
38873 echo ' more descriptive than the DLL name which has to follow the old '
38874 echo ' 8.3 convention of FAT.'
38875 echo '*> "script.sh may be given to override the output_file name by a'
38876 echo ' different name. It is mainly useful if the regular make process'
38877 echo ' of some package does not take into account OS/2 restriction of'
38878 echo ' DLL name lengths. It takes the importlib name as input and is'
38879 echo ' supposed to procude a shorter name as output. The script should'
38880 echo ' expect to get importlib_name without extension and should produce'
38881 echo ' a (max.) 8 letter name without extension.'
38882 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38883 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38884 echo ' These flags will be put at the start of GCC command line.'
38885 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38886 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38887 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38888 echo ' If the last character of a symbol is "*", all symbols beginning'
38889 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38890 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38891 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38892 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38893 echo ' C runtime DLLs.'
38894 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38895 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38896 echo ' unchanged to GCC at the end of command line.'
38897 echo '*> If you create a DLL from a library and you do not specify -o,'
38898 echo ' the basename for DLL and import library will be set to library name,'
38899 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38900 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38901 echo ' library will be renamed into gcc_s.a.'
38904 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38905 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38910 # Execute a command.
38911 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38912 # @Uses Whatever CleanUp() uses.
38918 if [ ${D}rcCmd -ne 0 ]; then
38919 echo "command failed, exit code="${D}rcCmd
38934 CFLAGS="-s -Zcrtdll"
38936 EXPORT_BY_ORDINALS=0
38941 case ${D}curDirS in
38945 curDirS=${D}{curDirS}"/"
38948 # Parse commandline
38951 while [ ${D}1 ]; do
38954 EXPORT_BY_ORDINALS=1;
38964 -name-mangler-script)
38985 exclude_symbols=${D}{exclude_symbols}${D}1" "
38989 library_flags=${D}{library_flags}${D}1" "
39008 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39011 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39012 if [ ${D}omfLinking -eq 1 ]; then
39013 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39015 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39020 if [ ${D}libsToLink -ne 0 ]; then
39021 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39023 for file in ${D}1 ; do
39024 if [ -f ${D}file ]; then
39025 inputFiles="${D}{inputFiles} ${D}file"
39029 if [ ${D}found -eq 0 ]; then
39030 echo "ERROR: No file(s) found: "${D}1
39037 done # iterate cmdline words
39040 if [ -z "${D}inputFiles" ]; then
39041 echo "dllar: no input files"
39045 # Now extract all .o files from .a files
39047 for file in ${D}inputFiles ; do
39058 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39063 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39065 if [ ${D}? -ne 0 ]; then
39066 echo "Failed to create subdirectory ./${D}dirname"
39070 # Append '!' to indicate archive
39071 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39072 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39075 for subfile in ${D}dirname/*.o* ; do
39076 if [ -f ${D}subfile ]; then
39078 if [ -s ${D}subfile ]; then
39079 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39080 newInputFiles="${D}newInputFiles ${D}subfile"
39084 if [ ${D}found -eq 0 ]; then
39085 echo "WARNING: there are no files in archive \\'${D}file\\'"
39089 newInputFiles="${D}{newInputFiles} ${D}file"
39093 inputFiles="${D}newInputFiles"
39095 # Output filename(s).
39097 if [ -z ${D}outFile ]; then
39099 set outFile ${D}inputFiles; outFile=${D}2
39102 # If it is an archive, remove the '!' and the '_%' suffixes
39103 case ${D}outFile in
39105 outFile=\`basnam ${D}outFile _%!\`
39110 case ${D}outFile in
39112 outFile=\`basnam ${D}outFile .dll\`
39115 outFile=\`basnam ${D}outFile .DLL\`
39118 outFile=\`basnam ${D}outFile .o\`
39121 outFile=\`basnam ${D}outFile .obj\`
39124 outFile=\`basnam ${D}outFile .a\`
39127 outFile=\`basnam ${D}outFile .lib\`
39132 case ${D}outimpFile in
39134 outimpFile=\`basnam ${D}outimpFile .a\`
39137 outimpFile=\`basnam ${D}outimpFile .lib\`
39142 if [ -z ${D}outimpFile ]; then
39143 outimpFile=${D}outFile
39145 defFile="${D}{outFile}.def"
39146 arcFile="${D}{outimpFile}.a"
39147 arcFile2="${D}{outimpFile}.lib"
39149 #create ${D}dllFile as something matching 8.3 restrictions,
39150 if [ -z ${D}renameScript ] ; then
39151 dllFile="${D}outFile"
39153 dllFile=\`${D}renameScript ${D}outimpFile\`
39156 if [ ${D}do_backup -ne 0 ] ; then
39157 if [ -f ${D}arcFile ] ; then
39158 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39160 if [ -f ${D}arcFile2 ] ; then
39161 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39165 # Extract public symbols from all the object files.
39166 tmpdefFile=${D}{defFile}_%
39167 rm -f ${D}tmpdefFile
39168 for file in ${D}inputFiles ; do
39173 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39178 # Create the def file.
39180 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39181 dllFile="${D}{dllFile}.dll"
39182 if [ ! -z ${D}description ]; then
39183 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39185 echo "EXPORTS" >> ${D}defFile
39187 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39188 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39190 # Checks if the export is ok or not.
39191 for word in ${D}exclude_symbols; do
39192 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39193 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39197 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39198 sed "=" < ${D}tmpdefFile | \\
39202 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39204 ' > ${D}{tmpdefFile}%
39205 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39207 rm -f ${D}{tmpdefFile}%
39209 cat ${D}tmpdefFile >> ${D}defFile
39210 rm -f ${D}tmpdefFile
39212 # Do linking, create implib, and apply lxlite.
39214 for file in ${D}inputFiles ; do
39219 gccCmdl="${D}gccCmdl ${D}file"
39223 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39224 touch "${D}{outFile}.dll"
39226 doCommand "emximp -o ${D}arcFile ${D}defFile"
39227 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39229 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39232 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39234 doCommand "emxomf -s -l ${D}arcFile"
39244 powerpc
-apple-macos* | \
39245 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
39255 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
39258 if test "x$PIC_FLAG" != "x" ; then
39259 PIC_FLAG
="$PIC_FLAG -DPIC"
39262 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39263 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39265 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39266 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39281 USE_SOTWOSYMLINKS
=0
39285 case "${BAKEFILE_HOST}" in
39286 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39287 *-*-k*bsd
*-gnu | *-*-mirbsd* )
39288 if test "x$SUNCXX" = "xyes"; then
39291 SONAME_FLAG
="-Wl,-soname,"
39295 USE_SOTWOSYMLINKS
=1
39307 USE_SOTWOSYMLINKS
=1
39325 # Check whether --enable-dependency-tracking was given.
39326 if test "${enable_dependency_tracking+set}" = set; then :
39327 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39332 $as_echo_n "checking for dependency tracking method... " >&6; }
39335 if test "x$bk_use_trackdeps" = "xno" ; then
39337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39338 $as_echo "disabled" >&6; }
39342 if test "x$GCC" = "xyes"; then
39345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39346 $as_echo "gcc" >&6; }
39347 elif test "x$MWCC" = "xyes"; then
39350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39351 $as_echo "mwcc" >&6; }
39352 elif test "x$SUNCC" = "xyes"; then
39355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39356 $as_echo "Sun cc" >&6; }
39357 elif test "x$SGICC" = "xyes"; then
39360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39361 $as_echo "SGI cc" >&6; }
39362 elif test "x$HPCC" = "xyes"; then
39365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39366 $as_echo "HP cc" >&6; }
39367 elif test "x$COMPAQCC" = "xyes"; then
39370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39371 $as_echo "Compaq cc" >&6; }
39374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39375 $as_echo "none" >&6; }
39378 if test $DEPS_TRACKING = 1 ; then
39384 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39385 # script. It is used to track C/C++ files dependencies in portable way.
39387 # Permission is given to use this file in any way.
39389 DEPSMODE=${DEPSMODE}
39390 DEPSFLAG="${DEPSFLAG}"
39393 if test ${D}DEPSMODE = gcc ; then
39394 ${D}* ${D}{DEPSFLAG}
39397 # determine location of created files:
39398 while test ${D}# -gt 0; do
39412 objfilebase=\`basename ${D}objfile\`
39413 builddir=\`dirname ${D}objfile\`
39414 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39415 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39416 depsdir=${D}builddir/${D}DEPSDIRBASE
39417 mkdir -p ${D}depsdir
39419 # if the compiler failed, we're done:
39420 if test ${D}{status} != 0 ; then
39425 # move created file to the location we want it in:
39426 if test -f ${D}depfile ; then
39427 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39430 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39431 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39432 if test ! -f ${D}depfile ; then
39433 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39434 depfile="${D}objfile.d"
39436 if test -f ${D}depfile ; then
39437 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39443 elif test ${D}DEPSMODE = mwcc ; then
39444 ${D}* || exit ${D}?
39445 # Run mwcc again with -MM and redirect into the dep file we want
39446 # NOTE: We can't use shift here because we need ${D}* to be valid
39448 for arg in ${D}* ; do
39449 if test "${D}prevarg" = "-o"; then
39463 objfilebase=\`basename ${D}objfile\`
39464 builddir=\`dirname ${D}objfile\`
39465 depsdir=${D}builddir/${D}DEPSDIRBASE
39466 mkdir -p ${D}depsdir
39468 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39471 elif test ${D}DEPSMODE = unixcc; then
39472 ${D}* || exit ${D}?
39473 # Run compiler again with deps flag and redirect into the dep file.
39474 # It doesn't work if the '-o FILE' option is used, but without it the
39475 # dependency file will contain the wrong name for the object. So it is
39476 # removed from the command line, and the dep file is fixed with sed.
39478 while test ${D}# -gt 0; do
39485 eval arg${D}#=\\${D}1
39486 cmd="${D}cmd \\${D}arg${D}#"
39492 objfilebase=\`basename ${D}objfile\`
39493 builddir=\`dirname ${D}objfile\`
39494 depsdir=${D}builddir/${D}DEPSDIRBASE
39495 mkdir -p ${D}depsdir
39497 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39507 BK_DEPS
="`pwd`/bk-deps"
39515 case ${BAKEFILE_HOST} in
39516 *-*-cygwin* | *-*-mingw32* )
39517 if test -n "$ac_tool_prefix"; then
39518 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39519 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39521 $as_echo_n "checking for $ac_word... " >&6; }
39522 if ${ac_cv_prog_WINDRES+:} false
; then :
39523 $as_echo_n "(cached) " >&6
39525 if test -n "$WINDRES"; then
39526 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39529 for as_dir
in $PATH
39532 test -z "$as_dir" && as_dir
=.
39533 for ac_exec_ext
in '' $ac_executable_extensions; do
39534 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39535 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39545 WINDRES
=$ac_cv_prog_WINDRES
39546 if test -n "$WINDRES"; then
39547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39548 $as_echo "$WINDRES" >&6; }
39550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39551 $as_echo "no" >&6; }
39556 if test -z "$ac_cv_prog_WINDRES"; then
39557 ac_ct_WINDRES
=$WINDRES
39558 # Extract the first word of "windres", so it can be a program name with args.
39559 set dummy windres
; ac_word
=$2
39560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39561 $as_echo_n "checking for $ac_word... " >&6; }
39562 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
39563 $as_echo_n "(cached) " >&6
39565 if test -n "$ac_ct_WINDRES"; then
39566 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39569 for as_dir
in $PATH
39572 test -z "$as_dir" && as_dir
=.
39573 for ac_exec_ext
in '' $ac_executable_extensions; do
39574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39575 ac_cv_prog_ac_ct_WINDRES
="windres"
39576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39585 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39586 if test -n "$ac_ct_WINDRES"; then
39587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39588 $as_echo "$ac_ct_WINDRES" >&6; }
39590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39591 $as_echo "no" >&6; }
39594 if test "x$ac_ct_WINDRES" = x
; then
39597 case $cross_compiling:$ac_tool_warned in
39599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39601 ac_tool_warned
=yes ;;
39603 WINDRES
=$ac_ct_WINDRES
39606 WINDRES
="$ac_cv_prog_WINDRES"
39611 *-*-darwin* | powerpc
-apple-macos* )
39612 # Extract the first word of "Rez", so it can be a program name with args.
39613 set dummy Rez
; ac_word
=$2
39614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39615 $as_echo_n "checking for $ac_word... " >&6; }
39616 if ${ac_cv_prog_REZ+:} false
; then :
39617 $as_echo_n "(cached) " >&6
39619 if test -n "$REZ"; then
39620 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39623 for as_dir
in $PATH
39626 test -z "$as_dir" && as_dir
=.
39627 for ac_exec_ext
in '' $ac_executable_extensions; do
39628 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39629 ac_cv_prog_REZ
="Rez"
39630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39637 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
39640 REZ
=$ac_cv_prog_REZ
39641 if test -n "$REZ"; then
39642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39643 $as_echo "$REZ" >&6; }
39645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39646 $as_echo "no" >&6; }
39650 # Extract the first word of "SetFile", so it can be a program name with args.
39651 set dummy SetFile
; ac_word
=$2
39652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39653 $as_echo_n "checking for $ac_word... " >&6; }
39654 if ${ac_cv_prog_SETFILE+:} false
; then :
39655 $as_echo_n "(cached) " >&6
39657 if test -n "$SETFILE"; then
39658 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39661 for as_dir
in $PATH
39664 test -z "$as_dir" && as_dir
=.
39665 for ac_exec_ext
in '' $ac_executable_extensions; do
39666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39667 ac_cv_prog_SETFILE
="SetFile"
39668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39675 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39678 SETFILE
=$ac_cv_prog_SETFILE
39679 if test -n "$SETFILE"; then
39680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39681 $as_echo "$SETFILE" >&6; }
39683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39684 $as_echo "no" >&6; }
39699 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
39702 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
39706 # Check whether --enable-precomp-headers was given.
39707 if test "${enable_precomp_headers+set}" = set; then :
39708 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
39717 case ${BAKEFILE_HOST} in
39723 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39724 if test "x$GCC" = "xyes"; then
39725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39726 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39728 /* end confdefs.h. */
39734 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39735 There is no PCH support
39738 There is no PCH support
39740 #if (__GNUC__ == 3) && \
39741 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39742 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39743 ( defined(__INTEL_COMPILER) )
39744 There is no PCH support
39751 if ac_fn_c_try_compile
"$LINENO"; then :
39753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39754 $as_echo "yes" >&6; }
39759 if test "$INTELCXX8" = "yes"; then
39760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39761 $as_echo "yes" >&6; }
39763 if test "$INTELCXX10" = "yes"; then
39764 ICC_PCH_CREATE_SWITCH
="-pch-create"
39765 ICC_PCH_USE_SWITCH
="-pch-use"
39767 ICC_PCH_CREATE_SWITCH
="-create-pch"
39768 ICC_PCH_USE_SWITCH
="-use-pch"
39771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39772 $as_echo "no" >&6; }
39776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39777 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39781 cat <<EOF >bk-make-pch
39784 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39785 # script. It is used to generated precompiled headers.
39787 # Permission is given to use this file in any way.
39794 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39799 while test ${D}{#} -gt 0; do
39803 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39804 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39805 headerfile="${D}{incdir}/${D}{header}"
39808 -use-pch|-use_pch|-pch-use )
39813 if test ${D}add_to_cmdline = 1 ; then
39814 compiler="${D}{compiler} ${D}{1}"
39819 if test "x${D}{headerfile}" = "x" ; then
39820 echo "error: can't find header ${D}{header} in include paths" >&2
39822 if test -f ${D}{outfile} ; then
39823 rm -f ${D}{outfile}
39825 mkdir -p \`dirname ${D}{outfile}\`
39827 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39828 mkdir -p ${D}{builddir}/.deps
39829 if test "x${GCC_PCH}" = "x1" ; then
39830 # can do this because gcc is >= 3.4:
39831 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39832 elif test "x${ICC_PCH}" = "x1" ; then
39833 filename=pch_gen-${D}${D}
39834 file=${D}{filename}.c
39835 dfile=${D}{filename}.d
39836 cat > ${D}file <<EOT
39837 #include "${D}header"
39839 # using -MF icc complains about differing command lines in creation/use
39840 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39841 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39842 rm -f ${D}file ${D}dfile ${D}{filename}.o
39848 chmod +x bk
-make-pch
39849 BK_MAKE_PCH
="`pwd`/bk-make-pch"
39860 COND_BUILD_DEBUG
="#"
39861 if test "x$BUILD" = "xdebug" ; then
39862 COND_BUILD_DEBUG
=""
39865 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39866 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39867 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39870 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39871 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39872 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39875 COND_BUILD_DEBUG_UNICODE_0
="#"
39876 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39877 COND_BUILD_DEBUG_UNICODE_0
=""
39880 COND_BUILD_DEBUG_UNICODE_1
="#"
39881 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39882 COND_BUILD_DEBUG_UNICODE_1
=""
39885 COND_BUILD_RELEASE
="#"
39886 if test "x$BUILD" = "xrelease" ; then
39887 COND_BUILD_RELEASE
=""
39890 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39891 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39892 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39895 COND_BUILD_RELEASE_UNICODE_0
="#"
39896 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39897 COND_BUILD_RELEASE_UNICODE_0
=""
39900 COND_BUILD_RELEASE_UNICODE_1
="#"
39901 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39902 COND_BUILD_RELEASE_UNICODE_1
=""
39905 COND_BUILD_debug
="#"
39906 if test "x$BUILD" = "xdebug" ; then
39907 COND_BUILD_debug
=""
39910 COND_BUILD_debug_DEBUG_FLAG_default
="#"
39911 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39912 COND_BUILD_debug_DEBUG_FLAG_default
=""
39915 COND_BUILD_debug_DEBUG_INFO_default
="#"
39916 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39917 COND_BUILD_debug_DEBUG_INFO_default
=""
39920 COND_BUILD_debug_UNICODE_0
="#"
39921 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39922 COND_BUILD_debug_UNICODE_0
=""
39925 COND_BUILD_debug_UNICODE_1
="#"
39926 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39927 COND_BUILD_debug_UNICODE_1
=""
39930 COND_BUILD_release
="#"
39931 if test "x$BUILD" = "xrelease" ; then
39932 COND_BUILD_release
=""
39935 COND_BUILD_release_DEBUG_INFO_default
="#"
39936 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39937 COND_BUILD_release_DEBUG_INFO_default
=""
39940 COND_BUILD_release_UNICODE_0
="#"
39941 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39942 COND_BUILD_release_UNICODE_0
=""
39945 COND_BUILD_release_UNICODE_1
="#"
39946 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39947 COND_BUILD_release_UNICODE_1
=""
39950 COND_DEBUG_FLAG_0
="#"
39951 if test "x$DEBUG_FLAG" = "x0" ; then
39952 COND_DEBUG_FLAG_0
=""
39955 COND_DEBUG_FLAG_1
="#"
39956 if test "x$DEBUG_FLAG" = "x1" ; then
39957 COND_DEBUG_FLAG_1
=""
39960 COND_DEBUG_INFO_0
="#"
39961 if test "x$DEBUG_INFO" = "x0" ; then
39962 COND_DEBUG_INFO_0
=""
39965 COND_DEBUG_INFO_1
="#"
39966 if test "x$DEBUG_INFO" = "x1" ; then
39967 COND_DEBUG_INFO_1
=""
39970 COND_DEPS_TRACKING_0
="#"
39971 if test "x$DEPS_TRACKING" = "x0" ; then
39972 COND_DEPS_TRACKING_0
=""
39975 COND_DEPS_TRACKING_1
="#"
39976 if test "x$DEPS_TRACKING" = "x1" ; then
39977 COND_DEPS_TRACKING_1
=""
39981 if test "x$GCC_PCH" = "x1" ; then
39986 if test "x$ICC_PCH" = "x1" ; then
39990 COND_MONOLITHIC_0
="#"
39991 if test "x$MONOLITHIC" = "x0" ; then
39992 COND_MONOLITHIC_0
=""
39995 COND_MONOLITHIC_0_SHARED_0
="#"
39996 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39997 COND_MONOLITHIC_0_SHARED_0
=""
40000 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
40001 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40002 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
40005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40006 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40007 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40010 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40011 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40012 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40015 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
40016 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40017 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
40020 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
40021 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40022 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
40025 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
40026 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40027 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
40030 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
40031 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40032 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
40035 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
40036 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40037 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
40040 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
40041 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40042 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
40045 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
40046 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40047 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
40050 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40051 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40052 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40055 COND_MONOLITHIC_0_SHARED_1
="#"
40056 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40057 COND_MONOLITHIC_0_SHARED_1
=""
40060 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
40061 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40062 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
40065 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40066 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40067 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40070 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40071 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40072 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40075 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
40076 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40077 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
40080 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
40081 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40082 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
40085 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
40086 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40087 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
40090 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
40091 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40092 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
40095 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
40096 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40097 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
40100 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
40101 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40102 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
40105 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
40106 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40107 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
40110 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40111 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40112 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40115 COND_MONOLITHIC_0_USE_AUI_1
="#"
40116 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40117 COND_MONOLITHIC_0_USE_AUI_1
=""
40120 COND_MONOLITHIC_0_USE_GUI_1
="#"
40121 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40122 COND_MONOLITHIC_0_USE_GUI_1
=""
40125 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
40126 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40127 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
40130 COND_MONOLITHIC_0_USE_HTML_1
="#"
40131 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40132 COND_MONOLITHIC_0_USE_HTML_1
=""
40135 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
40136 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40137 COND_MONOLITHIC_0_USE_MEDIA_1
=""
40140 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
40141 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40142 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
40145 COND_MONOLITHIC_0_USE_QA_1
="#"
40146 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40147 COND_MONOLITHIC_0_USE_QA_1
=""
40150 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
40151 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40152 COND_MONOLITHIC_0_USE_RIBBON_1
=""
40155 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
40156 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40157 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
40160 COND_MONOLITHIC_0_USE_STC_1
="#"
40161 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40162 COND_MONOLITHIC_0_USE_STC_1
=""
40165 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
40166 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40167 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
40170 COND_MONOLITHIC_0_USE_XRC_1
="#"
40171 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40172 COND_MONOLITHIC_0_USE_XRC_1
=""
40175 COND_MONOLITHIC_1
="#"
40176 if test "x$MONOLITHIC" = "x1" ; then
40177 COND_MONOLITHIC_1
=""
40180 COND_MONOLITHIC_1_SHARED_0
="#"
40181 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40182 COND_MONOLITHIC_1_SHARED_0
=""
40185 COND_MONOLITHIC_1_SHARED_1
="#"
40186 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40187 COND_MONOLITHIC_1_SHARED_1
=""
40190 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40191 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40192 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40195 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40196 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40197 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40200 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
40201 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40202 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
40205 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40206 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40207 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40210 COND_PLATFORM_MACOSX_1
="#"
40211 if test "x$PLATFORM_MACOSX" = "x1" ; then
40212 COND_PLATFORM_MACOSX_1
=""
40215 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
40216 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40217 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
40220 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
40221 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40222 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
40225 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40226 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40227 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40230 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40231 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40232 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40235 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40236 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40237 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40240 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40241 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40242 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40245 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40246 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40247 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40250 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
40251 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40252 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
40255 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40256 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40257 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40260 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
40261 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40262 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
40265 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40266 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40267 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40270 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40271 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40272 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40275 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40276 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40277 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40280 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
40281 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40282 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
40285 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40286 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40287 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40290 COND_PLATFORM_MACOS_1
="#"
40291 if test "x$PLATFORM_MACOS" = "x1" ; then
40292 COND_PLATFORM_MACOS_1
=""
40295 COND_PLATFORM_MAC_0
="#"
40296 if test "x$PLATFORM_MAC" = "x0" ; then
40297 COND_PLATFORM_MAC_0
=""
40300 COND_PLATFORM_MAC_1
="#"
40301 if test "x$PLATFORM_MAC" = "x1" ; then
40302 COND_PLATFORM_MAC_1
=""
40305 COND_PLATFORM_MSDOS_0
="#"
40306 if test "x$PLATFORM_MSDOS" = "x0" ; then
40307 COND_PLATFORM_MSDOS_0
=""
40310 COND_PLATFORM_MSDOS_1
="#"
40311 if test "x$PLATFORM_MSDOS" = "x1" ; then
40312 COND_PLATFORM_MSDOS_1
=""
40315 COND_PLATFORM_OS2_1
="#"
40316 if test "x$PLATFORM_OS2" = "x1" ; then
40317 COND_PLATFORM_OS2_1
=""
40320 COND_PLATFORM_UNIX_0
="#"
40321 if test "x$PLATFORM_UNIX" = "x0" ; then
40322 COND_PLATFORM_UNIX_0
=""
40325 COND_PLATFORM_UNIX_1
="#"
40326 if test "x$PLATFORM_UNIX" = "x1" ; then
40327 COND_PLATFORM_UNIX_1
=""
40330 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40331 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40332 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40335 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40336 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40337 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40340 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40341 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40342 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40345 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40346 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40347 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40350 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40351 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40352 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40355 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40356 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40357 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40360 COND_PLATFORM_WIN32_0
="#"
40361 if test "x$PLATFORM_WIN32" = "x0" ; then
40362 COND_PLATFORM_WIN32_0
=""
40365 COND_PLATFORM_WIN32_1
="#"
40366 if test "x$PLATFORM_WIN32" = "x1" ; then
40367 COND_PLATFORM_WIN32_1
=""
40370 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40371 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40372 COND_PLATFORM_WIN32_1_SHARED_0
=""
40376 if test "x$SHARED" = "x0" ; then
40380 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40381 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40382 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40385 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40386 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40387 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40390 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40391 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40392 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40395 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40396 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40397 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40400 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40401 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40402 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40405 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40406 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40407 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40410 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40411 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40412 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40415 COND_SHARED_0_USE_STC_1
="#"
40416 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40417 COND_SHARED_0_USE_STC_1
=""
40420 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40421 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40422 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40425 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40426 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40427 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40430 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40431 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40432 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40436 if test "x$SHARED" = "x1" ; then
40440 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40441 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40442 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40446 if test "x$TOOLKIT" = "x" ; then
40450 COND_TOOLKIT_COCOA
="#"
40451 if test "x$TOOLKIT" = "xCOCOA" ; then
40452 COND_TOOLKIT_COCOA
=""
40455 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40456 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40457 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40460 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40461 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40462 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40465 COND_TOOLKIT_DFB
="#"
40466 if test "x$TOOLKIT" = "xDFB" ; then
40467 COND_TOOLKIT_DFB
=""
40470 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40471 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40472 COND_TOOLKIT_DFB_USE_GUI_1
=""
40475 COND_TOOLKIT_GTK
="#"
40476 if test "x$TOOLKIT" = "xGTK" ; then
40477 COND_TOOLKIT_GTK
=""
40480 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40481 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40482 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40485 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40486 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40487 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40490 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40491 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40492 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40495 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40496 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40497 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40500 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40501 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40502 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40505 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40506 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40507 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40510 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40511 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40512 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40515 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40516 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40517 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40520 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40521 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40522 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40525 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40526 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40527 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40530 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40531 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40532 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40535 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40536 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40537 COND_TOOLKIT_GTK_USE_GUI_1
=""
40540 COND_TOOLKIT_MAC
="#"
40541 if test "x$TOOLKIT" = "xMAC" ; then
40542 COND_TOOLKIT_MAC
=""
40545 COND_TOOLKIT_MOTIF
="#"
40546 if test "x$TOOLKIT" = "xMOTIF" ; then
40547 COND_TOOLKIT_MOTIF
=""
40550 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40551 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40552 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40555 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40556 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40557 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40560 COND_TOOLKIT_MSW
="#"
40561 if test "x$TOOLKIT" = "xMSW" ; then
40562 COND_TOOLKIT_MSW
=""
40565 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40566 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40567 COND_TOOLKIT_MSW_USE_GUI_1
=""
40570 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40571 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40572 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40575 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40576 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40577 COND_TOOLKIT_MSW_WXUNIV_0
=""
40580 COND_TOOLKIT_OSX_CARBON
="#"
40581 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40582 COND_TOOLKIT_OSX_CARBON
=""
40585 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40586 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40587 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40590 COND_TOOLKIT_OSX_COCOA
="#"
40591 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40592 COND_TOOLKIT_OSX_COCOA
=""
40595 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40596 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40597 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40600 COND_TOOLKIT_OSX_IPHONE
="#"
40601 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40602 COND_TOOLKIT_OSX_IPHONE
=""
40605 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40606 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40607 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40610 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40611 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40612 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40615 COND_TOOLKIT_PM
="#"
40616 if test "x$TOOLKIT" = "xPM" ; then
40620 COND_TOOLKIT_PM_USE_GUI_1
="#"
40621 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40622 COND_TOOLKIT_PM_USE_GUI_1
=""
40625 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40626 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40627 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40630 COND_TOOLKIT_WINCE
="#"
40631 if test "x$TOOLKIT" = "xWINCE" ; then
40632 COND_TOOLKIT_WINCE
=""
40635 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40636 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40637 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40640 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40641 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40642 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40645 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40646 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40647 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40650 COND_TOOLKIT_X11
="#"
40651 if test "x$TOOLKIT" = "xX11" ; then
40652 COND_TOOLKIT_X11
=""
40655 COND_TOOLKIT_X11_USE_GUI_1
="#"
40656 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40657 COND_TOOLKIT_X11_USE_GUI_1
=""
40661 if test "x$UNICODE" = "x1" ; then
40665 COND_USE_CAIRO_1
="#"
40666 if test "x$USE_CAIRO" = "x1" ; then
40667 COND_USE_CAIRO_1
=""
40670 COND_USE_EXCEPTIONS_0
="#"
40671 if test "x$USE_EXCEPTIONS" = "x0" ; then
40672 COND_USE_EXCEPTIONS_0
=""
40675 COND_USE_EXCEPTIONS_1
="#"
40676 if test "x$USE_EXCEPTIONS" = "x1" ; then
40677 COND_USE_EXCEPTIONS_1
=""
40681 if test "x$USE_GUI" = "x0" ; then
40686 if test "x$USE_GUI" = "x1" ; then
40690 COND_USE_GUI_1_USE_OPENGL_1
="#"
40691 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40692 COND_USE_GUI_1_USE_OPENGL_1
=""
40695 COND_USE_GUI_1_WXUNIV_0
="#"
40696 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40697 COND_USE_GUI_1_WXUNIV_0
=""
40700 COND_USE_GUI_1_WXUNIV_1
="#"
40701 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40702 COND_USE_GUI_1_WXUNIV_1
=""
40705 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40706 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40707 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40710 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40711 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40712 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40715 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40716 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40717 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40720 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40721 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40722 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40725 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40726 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40727 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40730 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40731 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40732 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40735 COND_USE_OPENGL_1
="#"
40736 if test "x$USE_OPENGL" = "x1" ; then
40737 COND_USE_OPENGL_1
=""
40741 if test "x$USE_PCH" = "x1" ; then
40745 COND_USE_PLUGINS_0
="#"
40746 if test "x$USE_PLUGINS" = "x0" ; then
40747 COND_USE_PLUGINS_0
=""
40750 COND_USE_RTTI_0
="#"
40751 if test "x$USE_RTTI" = "x0" ; then
40755 COND_USE_RTTI_1
="#"
40756 if test "x$USE_RTTI" = "x1" ; then
40760 COND_USE_SOTWOSYMLINKS_1
="#"
40761 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40762 COND_USE_SOTWOSYMLINKS_1
=""
40765 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
40766 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40767 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
40770 COND_USE_SOVERLINUX_1
="#"
40771 if test "x$USE_SOVERLINUX" = "x1" ; then
40772 COND_USE_SOVERLINUX_1
=""
40775 COND_USE_SOVERSION_0
="#"
40776 if test "x$USE_SOVERSION" = "x0" ; then
40777 COND_USE_SOVERSION_0
=""
40780 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
40781 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40782 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
40785 COND_USE_SOVERSOLARIS_1
="#"
40786 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40787 COND_USE_SOVERSOLARIS_1
=""
40791 if test "x$USE_STC" = "x1" ; then
40795 COND_USE_THREADS_0
="#"
40796 if test "x$USE_THREADS" = "x0" ; then
40797 COND_USE_THREADS_0
=""
40800 COND_USE_THREADS_1
="#"
40801 if test "x$USE_THREADS" = "x1" ; then
40802 COND_USE_THREADS_1
=""
40806 if test "x$USE_XRC" = "x1" ; then
40810 COND_WINDOWS_IMPLIB_1
="#"
40811 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40812 COND_WINDOWS_IMPLIB_1
=""
40815 COND_WITH_PLUGIN_SDL_1
="#"
40816 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40817 COND_WITH_PLUGIN_SDL_1
=""
40821 if test "x$WXUNIV" = "x0" ; then
40826 if test "x$WXUNIV" = "x1" ; then
40830 COND_WXUSE_EXPAT_BUILTIN
="#"
40831 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40832 COND_WXUSE_EXPAT_BUILTIN
=""
40835 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40836 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40837 COND_WXUSE_LIBJPEG_BUILTIN
=""
40840 COND_WXUSE_LIBPNG_BUILTIN
="#"
40841 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40842 COND_WXUSE_LIBPNG_BUILTIN
=""
40845 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40846 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40847 COND_WXUSE_LIBTIFF_BUILTIN
=""
40850 COND_WXUSE_REGEX_BUILTIN
="#"
40851 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40852 COND_WXUSE_REGEX_BUILTIN
=""
40855 COND_WXUSE_ZLIB_BUILTIN
="#"
40856 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40857 COND_WXUSE_ZLIB_BUILTIN
=""
40860 COND_wxUSE_EXPAT_builtin
="#"
40861 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40862 COND_wxUSE_EXPAT_builtin
=""
40865 COND_wxUSE_LIBJPEG_builtin
="#"
40866 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40867 COND_wxUSE_LIBJPEG_builtin
=""
40870 COND_wxUSE_LIBPNG_builtin
="#"
40871 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40872 COND_wxUSE_LIBPNG_builtin
=""
40875 COND_wxUSE_LIBTIFF_builtin
="#"
40876 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40877 COND_wxUSE_LIBTIFF_builtin
=""
40880 COND_wxUSE_REGEX_builtin
="#"
40881 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40882 COND_wxUSE_REGEX_builtin
=""
40885 COND_wxUSE_ZLIB_builtin
="#"
40886 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40887 COND_wxUSE_ZLIB_builtin
=""
40892 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40893 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
40896 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40897 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
40904 ?
:* ) # Drive letter, considered as absolute.
40907 INSTALL
=`pwd`/${INSTALL} ;;
40910 if test "$wxUSE_GUI" = "yes"; then
40912 if test "$wxUSE_MSW" = 1 ; then
40913 if test "x$WINDRES" = "x"; then
40914 as_fn_error $?
"Required windres program not found" "$LINENO" 5
40920 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40921 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40922 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40924 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40926 # Extract the first word of "DeRez", so it can be a program name with args.
40927 set dummy DeRez
; ac_word
=$2
40928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40929 $as_echo_n "checking for $ac_word... " >&6; }
40930 if ${ac_cv_prog_DEREZ+:} false
; then :
40931 $as_echo_n "(cached) " >&6
40933 if test -n "$DEREZ"; then
40934 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
40936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40937 for as_dir
in $PATH
40940 test -z "$as_dir" && as_dir
=.
40941 for ac_exec_ext
in '' $ac_executable_extensions; do
40942 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40943 ac_cv_prog_DEREZ
="DeRez"
40944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40951 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
40954 DEREZ
=$ac_cv_prog_DEREZ
40955 if test -n "$DEREZ"; then
40956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40957 $as_echo "$DEREZ" >&6; }
40959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40960 $as_echo "no" >&6; }
40965 MACSETFILE
="\$(SETFILE)"
40967 if test "$wxUSE_OSX_CARBON" = 1; then
40968 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40970 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
40972 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40973 RESCOMP
="cat /dev/null \| $REZ"
40974 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40980 if test "$wxUSE_PM" = 1; then
40982 WXCONFIG_RESFLAGS
="-ep"
40984 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
40986 POSTLINK_COMMAND
="@true"
40993 if test $GCC_PCH = 1
40995 if test "$wx_cv_gcc_pch_bug" = yes; then
40996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40997 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40999 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41001 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41004 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41005 # the headers that benefit from precompilation are mostly C++ headers.
41006 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
41007 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41008 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41012 if test "$wxUSE_MAC" = 1 ; then
41013 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41014 if test "x$disable_macosx_deps" = "xyes"; then
41015 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
41022 if test "$wxUSE_SHARED" = "yes"; then
41024 *-pc-os2_emx | *-pc-os2-emx )
41025 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41026 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41027 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41028 cp -p ${srcdir}/src
/os
2/dllar.sh .
41032 if test "$wxUSE_OMF" = "yes"; then
41034 *-pc-os2_emx | *-pc-os2-emx )
41035 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
41036 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41037 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41042 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41047 if test "$GCC" = yes; then
41048 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
41049 LIBS
=`echo $LIBS | sed 's/-mt//g'`
41050 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41055 if test "x$SUNCXX" = xyes
; then
41056 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
41057 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
41058 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41063 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
41064 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41065 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
41066 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41068 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41130 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41132 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41133 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
41134 $as_echo_n "(cached) " >&6
41136 cat >conftest.
make <<\_ACEOF
41139 @
echo '@@@%%%=$(MAKE)=@@@%%%'
41141 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41142 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41143 *@@@
%%%=?
*=@@@
%%%*)
41144 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
41146 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
41148 rm -f conftest.
make
41150 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
41151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41152 $as_echo "yes" >&6; }
41155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41156 $as_echo "no" >&6; }
41157 SET_MAKE
="MAKE=${MAKE-make}"
41162 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41165 if test "$USE_WIN32" = 1; then
41166 ac_config_commands
="$ac_config_commands rcdefs.h"
41170 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41173 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41176 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
41179 if test "$wx_cv_version_script" = "yes"; then
41180 ac_config_files
="$ac_config_files version-script"
41183 ac_config_files
="$ac_config_files Makefile"
41186 ac_config_commands
="$ac_config_commands wx-config"
41190 if test "$wxWITH_SUBDIRS" != "no"; then
41191 if test "$wxUSE_GUI" = "yes"; then
41192 SUBDIRS
="samples demos utils"
41194 SUBDIRS
="samples utils"
41199 # Check whether --with-cppunit-prefix was given.
41200 if test "${with_cppunit_prefix+set}" = set; then :
41201 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
41203 cppunit_config_prefix
=""
41207 # Check whether --with-cppunit-exec-prefix was given.
41208 if test "${with_cppunit_exec_prefix+set}" = set; then :
41209 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
41211 cppunit_config_exec_prefix
=""
41215 if test x
$cppunit_config_exec_prefix != x
; then
41216 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41217 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41218 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41221 if test x
$cppunit_config_prefix != x
; then
41222 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41223 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41224 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41228 # Extract the first word of "cppunit-config", so it can be a program name with args.
41229 set dummy cppunit
-config; ac_word
=$2
41230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41231 $as_echo_n "checking for $ac_word... " >&6; }
41232 if ${ac_cv_path_CPPUNIT_CONFIG+:} false
; then :
41233 $as_echo_n "(cached) " >&6
41235 case $CPPUNIT_CONFIG in
41237 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41241 for as_dir
in $PATH
41244 test -z "$as_dir" && as_dir
=.
41245 for ac_exec_ext
in '' $ac_executable_extensions; do
41246 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41247 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41255 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41259 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41260 if test -n "$CPPUNIT_CONFIG"; then
41261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41262 $as_echo "$CPPUNIT_CONFIG" >&6; }
41264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41265 $as_echo "no" >&6; }
41269 cppunit_version_min
=1.8.0
41271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41272 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41274 if test "$CPPUNIT_CONFIG" = "no" ; then
41275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41276 $as_echo "no" >&6; }
41279 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41280 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41281 cppunit_version
=`$CPPUNIT_CONFIG --version`
41283 cppunit_major_version
=`echo $cppunit_version | \
41284 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41285 cppunit_minor_version
=`echo $cppunit_version | \
41286 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41287 cppunit_micro_version
=`echo $cppunit_version | \
41288 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41290 cppunit_major_min
=`echo $cppunit_version_min | \
41291 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41292 cppunit_minor_min
=`echo $cppunit_version_min | \
41293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41294 cppunit_micro_min
=`echo $cppunit_version_min | \
41295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41297 cppunit_version_proper
=`expr \
41298 $cppunit_major_version \> $cppunit_major_min \| \
41299 $cppunit_major_version \= $cppunit_major_min \& \
41300 $cppunit_minor_version \> $cppunit_minor_min \| \
41301 $cppunit_major_version \= $cppunit_major_min \& \
41302 $cppunit_minor_version \= $cppunit_minor_min \& \
41303 $cppunit_micro_version \>= $cppunit_micro_min `
41305 if test "$cppunit_version_proper" = "1" ; then
41306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41307 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41310 $as_echo "no" >&6; }
41315 if test "x$no_cppunit" = x
; then
41316 SUBDIRS
="$SUBDIRS tests"
41327 for subdir
in $SUBDIRS; do
41328 if test -d ${srcdir}/${subdir} ; then
41329 if test "$wxUSE_GUI" = "yes"; then
41330 if test ${subdir} = "samples"; then
41331 makefiles
="samples/Makefile.in $makefiles"
41332 for sample
in $SAMPLES_SUBDIRS; do
41333 if test -d $srcdir/samples
/$sample; then
41334 makefiles
="samples/$sample/Makefile.in $makefiles"
41338 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41339 eval "disabled=\$$disabled_var"
41340 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41341 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41344 if test ${subdir} = "samples"; then
41345 makefiles
="samples/Makefile.in $makefiles"
41346 for sample
in `echo $SAMPLES_SUBDIRS`; do
41347 if test -d $srcdir/samples
/$sample; then
41348 makefiles
="samples/$sample/Makefile.in $makefiles"
41351 elif test ${subdir} = "utils"; then
41353 for util
in ifacecheck
; do
41354 if test -d $srcdir/utils
/$util ; then
41355 makefiles
="utils/$util/src/Makefile.in \
41360 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41364 for mkin
in $makefiles ; do
41365 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41366 ac_config_files
="$ac_config_files $mk"
41372 cat >confcache
<<\_ACEOF
41373 # This file is a shell script that caches the results of configure
41374 # tests run on this system so they can be shared between configure
41375 # scripts and configure runs, see configure's option --config-cache.
41376 # It is not useful on other systems. If it contains results you don't
41377 # want to keep, you may remove or edit it.
41379 # config.status only pays attention to the cache file if you give it
41380 # the --recheck option to rerun configure.
41382 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41383 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41384 # following values.
41388 # The following way of writing the cache mishandles newlines in values,
41389 # but we know of no workaround that is simple, portable, and efficient.
41390 # So, we kill variables containing newlines.
41391 # Ultrix sh set writes to stderr and can't be redirected directly,
41392 # and sets the high bit in the cache file unless we assign to the vars.
41394 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41395 eval ac_val
=\$
$ac_var
41399 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41400 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41403 _
| IFS
| as_nl
) ;; #(
41404 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41405 *) { eval $ac_var=; unset $ac_var;} ;;
41411 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41412 *${as_nl}ac_space
=\
*)
41413 # `set' does not quote correctly, so add quotes: double-quote
41414 # substitution turns \\\\ into \\, and sed turns \\ into \.
41417 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41420 # `set' quotes correctly as required by POSIX, so do not add quotes.
41421 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41430 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41432 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41434 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41435 if test -w "$cache_file"; then
41436 if test "x$cache_file" != "x/dev/null"; then
41437 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41438 $as_echo "$as_me: updating cache $cache_file" >&6;}
41439 if test ! -f "$cache_file" || test -h "$cache_file"; then
41440 cat confcache
>"$cache_file"
41442 case $cache_file in #(
41444 mv -f confcache
"$cache_file"$$
&&
41445 mv -f "$cache_file"$$
"$cache_file" ;; #(
41447 mv -f confcache
"$cache_file" ;;
41452 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41453 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41458 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41459 # Let make expand exec_prefix.
41460 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41462 DEFS
=-DHAVE_CONFIG_H
41467 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41468 # 1. Remove the extension, and $U if already installed.
41469 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41470 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41471 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41472 # will be set to the directory where LIBOBJS objects are built.
41473 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41474 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41476 LIBOBJS
=$ac_libobjs
41478 LTLIBOBJS
=$ac_ltlibobjs
41482 : "${CONFIG_STATUS=./config.status}"
41484 ac_clean_files_save
=$ac_clean_files
41485 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41486 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41487 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41489 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41491 # Generated by $as_me.
41492 # Run this file to recreate the current configuration.
41493 # Compiler output produced by configure, useful for debugging
41494 # configure, is in config.log if it exists.
41497 ac_cs_recheck=false
41500 SHELL=\${CONFIG_SHELL-$SHELL}
41503 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41504 ## -------------------- ##
41505 ## M4sh Initialization. ##
41506 ## -------------------- ##
41508 # Be more Bourne compatible
41509 DUALCASE
=1; export DUALCASE
# for MKS sh
41510 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41513 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41514 # is contrary to our usage. Disable this feature.
41515 alias -g '${1+"$@"}'='"$@"'
41516 setopt NO_GLOB_SUBST
41518 case `(set -o) 2>/dev/null` in #(
41530 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41531 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41532 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41533 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41534 # Prefer a ksh shell builtin over an external printf program on Solaris,
41535 # but without wasting forks for bash or zsh.
41536 if test -z "$BASH_VERSION$ZSH_VERSION" \
41537 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41538 as_echo='print
-r --'
41539 as_echo_n='print
-rn --'
41540 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41541 as_echo='printf %s
\n'
41542 as_echo_n='printf %s
'
41544 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41545 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41546 as_echo_n='/usr
/ucb
/echo -n'
41548 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41549 as_echo_n_body='eval
41553 expr "X$arg" : "X\\(.*\\)$as_nl";
41554 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41556 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41558 export as_echo_n_body
41559 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41561 export as_echo_body
41562 as_echo='sh
-c $as_echo_body as_echo
'
41565 # The user is always right.
41566 if test "${PATH_SEPARATOR+set}" != set; then
41568 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41569 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41576 # We need space, tab and new line, in precisely that order. Quoting is
41577 # there to prevent editors from complaining about space-tab.
41578 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41579 # splitting by setting IFS to empty value.)
41582 # Find who we are. Look in the path if we contain no directory separator.
41585 *[\\/]* ) as_myself=$0 ;;
41586 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41587 for as_dir in $PATH
41590 test -z "$as_dir" && as_dir=.
41591 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41597 # We did not find ourselves, most probably we were run as `sh COMMAND'
41598 # in which case we are not to be found in the path.
41599 if test "x$as_myself" = x
; then
41602 if test ! -f "$as_myself"; then
41603 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41607 # Unset variables that we do not need and which cause bugs (e.g. in
41608 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41609 # suppresses any "Segmentation fault" message there. '((' could
41610 # trigger a bug in pdksh 5.2.14.
41611 for as_var
in BASH_ENV ENV MAIL MAILPATH
41612 do eval test x\
${$as_var+set} = xset \
41613 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41626 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41629 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41630 # ----------------------------------------
41631 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41632 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41633 # script with STATUS, using 1 if that was 0.
41636 as_status
=$1; test $as_status -eq 0 && as_status
=1
41638 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41639 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41641 $as_echo "$as_me: error: $2" >&2
41642 as_fn_exit
$as_status
41646 # as_fn_set_status STATUS
41647 # -----------------------
41648 # Set $? to STATUS, without forking.
41649 as_fn_set_status
()
41652 } # as_fn_set_status
41654 # as_fn_exit STATUS
41655 # -----------------
41656 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41660 as_fn_set_status
$1
41666 # Portably unset VAR.
41669 { eval $1=; unset $1;}
41671 as_unset
=as_fn_unset
41672 # as_fn_append VAR VALUE
41673 # ----------------------
41674 # Append the text in VALUE to the end of the definition contained in VAR. Take
41675 # advantage of any shell optimizations that allow amortized linear growth over
41676 # repeated appends, instead of the typical quadratic growth present in naive
41678 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41679 eval 'as_fn_append ()
41690 # as_fn_arith ARG...
41691 # ------------------
41692 # Perform arithmetic evaluation on the ARGs, and store the result in the
41693 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41694 # must be portable across $(()) and expr.
41695 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41696 eval 'as_fn_arith ()
41703 as_val
=`expr "$@" || test $? -eq 1`
41708 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41709 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
41715 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41716 as_basename
=basename
41721 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
41727 as_me
=`$as_basename -- "$0" ||
41728 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41729 X"$0" : 'X\(//\)$' \| \
41730 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41732 sed '/^.*\/\([^/][^/]*\)\/*$/{
41746 # Avoid depending upon Character Ranges.
41747 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41748 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41749 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41750 as_cr_digits
='0123456789'
41751 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41753 ECHO_C
= ECHO_N
= ECHO_T
=
41754 case `echo -n x` in #(((((
41756 case `echo 'xy\c'` in
41757 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
41759 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
41766 rm -f conf$$ conf$$.exe conf$$.
file
41767 if test -d conf$$.dir
; then
41768 rm -f conf$$.dir
/conf$$.
file
41771 mkdir conf$$.dir
2>/dev
/null
41773 if (echo >conf$$.
file) 2>/dev
/null
; then
41774 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41776 # ... but there are two gotchas:
41777 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41778 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41779 # In both cases, we have to default to `cp -pR'.
41780 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
41782 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41790 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
41791 rmdir conf$$.dir
2>/dev
/null
41796 # Create "$as_dir" as a directory, including parents if necessary.
41801 -*) as_dir
=.
/$as_dir;;
41803 test -d "$as_dir" || eval $as_mkdir_p || {
41807 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41808 *) as_qdir
=$as_dir;;
41810 as_dirs
="'$as_qdir' $as_dirs"
41811 as_dir
=`$as_dirname -- "$as_dir" ||
41812 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41813 X"$as_dir" : 'X\(//\)[^/]' \| \
41814 X"$as_dir" : 'X\(//\)$' \| \
41815 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41816 $as_echo X"$as_dir" |
41817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41821 /^X\(\/\/\)[^/].*/{
41834 test -d "$as_dir" && break
41836 test -z "$as_dirs" || eval "mkdir $as_dirs"
41837 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
41841 if mkdir -p .
2>/dev
/null
; then
41842 as_mkdir_p
='mkdir -p "$as_dir"'
41844 test -d .
/-p && rmdir .
/-p
41849 # as_fn_executable_p FILE
41850 # -----------------------
41851 # Test if FILE is an executable regular file.
41852 as_fn_executable_p
()
41854 test -f "$1" && test -x "$1"
41855 } # as_fn_executable_p
41856 as_test_x
='test -x'
41857 as_executable_p
=as_fn_executable_p
41859 # Sed expression to map a string onto a valid CPP name.
41860 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41862 # Sed expression to map a string onto a valid variable name.
41863 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41867 ## ----------------------------------- ##
41868 ## Main body of $CONFIG_STATUS script. ##
41869 ## ----------------------------------- ##
41871 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
41873 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41874 # Save the log message, to keep $0 and so on meaningful, and to
41875 # report actual input values of CONFIG_FILES etc. instead of their
41876 # values after options handling.
41878 This file was extended by wxWidgets $as_me 2.9.5, which was
41879 generated by GNU Autoconf 2.69. Invocation command line was
41881 CONFIG_FILES = $CONFIG_FILES
41882 CONFIG_HEADERS = $CONFIG_HEADERS
41883 CONFIG_LINKS = $CONFIG_LINKS
41884 CONFIG_COMMANDS = $CONFIG_COMMANDS
41887 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41892 case $ac_config_files in *"
41893 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
41896 case $ac_config_headers in *"
41897 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
41901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41902 # Files that config.status was made for.
41903 config_files="$ac_config_files"
41904 config_headers="$ac_config_headers"
41905 config_commands="$ac_config_commands"
41909 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41911 \`$as_me' instantiates files and other configuration actions
41912 from templates according to the current configuration. Unless the files
41913 and actions are specified as TAGs, all are instantiated by default.
41915 Usage: $0 [OPTION]... [TAG]...
41917 -h, --help print this help, then exit
41918 -V, --version print version number and configuration settings, then exit
41919 --config print configuration, then exit
41920 -q, --quiet, --silent
41921 do not print progress messages
41922 -d, --debug don't remove temporary files
41923 --recheck update $as_me by reconfiguring in the same conditions
41924 --file=FILE[:TEMPLATE]
41925 instantiate the configuration file FILE
41926 --header=FILE[:TEMPLATE]
41927 instantiate the configuration header FILE
41929 Configuration files:
41932 Configuration headers:
41935 Configuration commands:
41938 Report bugs to <wx-dev@lists.wxwidgets.org>."
41941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41942 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41944 wxWidgets config.status 2.9.5
41945 configured by $0, generated by GNU Autoconf 2.69,
41946 with options \\"\$ac_cs_config\\"
41948 Copyright (C) 2012 Free Software Foundation, Inc.
41949 This config.status script is free software; the Free Software Foundation
41950 gives unlimited permission to copy, distribute and modify it."
41955 test -n "\$AWK" || AWK=awk
41958 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41959 # The default lists apply if the user does not specify any file.
41965 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
41966 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
41970 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
41982 # Handling of the options.
41983 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41985 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41986 $as_echo "$ac_cs_version"; exit ;;
41987 --config | --confi | --conf | --con | --co | --c )
41988 $as_echo "$ac_cs_config"; exit ;;
41989 --debug | --debu | --deb | --de | --d | -d )
41991 --file | --fil | --fi | --f )
41994 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41995 '') as_fn_error $?
"missing file argument" ;;
41997 as_fn_append CONFIG_FILES
" '$ac_optarg'"
41998 ac_need_defaults
=false
;;
41999 --header | --heade | --head | --hea )
42002 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42004 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
42005 ac_need_defaults
=false
;;
42007 # Conflict between --help and --header
42008 as_fn_error $?
"ambiguous option: \`$1'
42009 Try \`$0 --help' for more information.";;
42010 --help | --hel | -h )
42011 $as_echo "$ac_cs_usage"; exit ;;
42012 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42013 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42016 # This is an error.
42017 -*) as_fn_error $?
"unrecognized option: \`$1'
42018 Try \`$0 --help' for more information." ;;
42020 *) as_fn_append ac_config_targets
" $1"
42021 ac_need_defaults
=false
;;
42027 ac_configure_extra_args
=
42029 if $ac_cs_silent; then
42031 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42036 if \$ac_cs_recheck; then
42037 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42039 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42040 CONFIG_SHELL='$SHELL'
42041 export CONFIG_SHELL
42046 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42050 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42051 ## Running $as_me. ##
42057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42063 infile="$srcdir/include/wx/msw/genrcdefs.h"
42064 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42067 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42068 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42069 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42075 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42077 # Handling of arguments.
42078 for ac_config_target
in $ac_config_targets
42080 case $ac_config_target in
42081 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42082 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
42083 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42084 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42085 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42086 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42087 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42088 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42089 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42091 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42096 # If the user did not use the arguments to specify the items to instantiate,
42097 # then the envvar interface is used. Set only those that are not.
42098 # We use the long form for the default assignment because of an extremely
42099 # bizarre bug on SunOS 4.1.3.
42100 if $ac_need_defaults; then
42101 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42102 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42103 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42106 # Have a temporary directory for convenience. Make it in the build tree
42107 # simply because there is no reason against having it here, and in addition,
42108 # creating and moving files from /tmp can sometimes cause problems.
42109 # Hook for its removal unless debugging.
42110 # Note that there is a small window in which the directory will not be cleaned:
42111 # after its creation but before its name has been assigned to `$tmp'.
42115 trap 'exit_status=$?
42116 : "${ac_tmp:=$tmp}"
42117 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42119 trap 'as_fn_exit 1' 1 2 13 15
42121 # Create a (secure) tmp directory for tmp files.
42124 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42128 tmp
=.
/conf$$
-$RANDOM
42129 (umask 077 && mkdir "$tmp")
42130 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
42133 # Set up the scripts for CONFIG_FILES section.
42134 # No need to generate them if there are no CONFIG_FILES.
42135 # This happens for instance with `./config.status config.h'.
42136 if test -n "$CONFIG_FILES"; then
42139 ac_cr
=`echo X | tr X '\015'`
42140 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42141 # But we know of no other shell where ac_cr would be empty at this
42142 # point, so we can use a bashism as a fallback.
42143 if test "x$ac_cr" = x
; then
42144 eval ac_cr
=\$
\'\\r
\'
42146 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42147 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42150 ac_cs_awk_cr
=$ac_cr
42153 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42158 echo "cat >conf$$subs.awk <<_ACEOF" &&
42159 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42161 } >conf$$subs.sh ||
42162 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42163 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42165 for ac_last_try in false false false false false :; do
42166 . ./conf$$subs.sh ||
42167 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42169 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
42170 if test $ac_delim_n = $ac_delim_num; then
42172 elif $ac_last_try; then
42173 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42175 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42178 rm -f conf$$subs.sh
42180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42181 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
42185 s/^/S["/; s
/!.
*/"]=/
42195 s/\(.\{148\}\)..*/\1/
42197 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
42202 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42209 s/\(.\{148\}\)..*/\1/
42211 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
42215 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42220 ' <conf$$subs.awk | sed '
42225 ' >>$CONFIG_STATUS || ac_write_fail=1
42226 rm -f conf$$subs.awk
42227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42229 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
42230 for (key in S) S_is_set[key] = 1
42236 nfields = split(line, field, "@
")
42238 len = length(field[1])
42239 for (i = 2; i < nfields; i++) {
42241 keylen = length(key)
42242 if (S_is_set[key]) {
42244 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42245 len += length(value) + length(field[++i])
42256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42257 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42258 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
42261 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
42262 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
42265 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42266 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
42267 # trailing colons and then remove the whole line if VPATH becomes empty
42268 # (actually we leave an empty line to preserve line numbers).
42269 if test "x
$srcdir" = x.; then
42270 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42289 fi # test -n "$CONFIG_FILES"
42291 # Set up the scripts for CONFIG_HEADERS section.
42292 # No need to generate them if there are no CONFIG_HEADERS.
42293 # This happens for instance with `./config.status Makefile'.
42294 if test -n "$CONFIG_HEADERS"; then
42295 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
42299 # Transform confdefs.h into an awk script `defines.awk', embedded as
42300 # here-document in config.status, that substitutes the proper values into
42301 # config.h.in to produce config.h.
42303 # Create a delimiter string that does not exist in confdefs.h, to ease
42304 # handling of long lines.
42306 for ac_last_try in false false :; do
42307 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
42308 if test -z "$ac_tt"; then
42310 elif $ac_last_try; then
42311 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
42313 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42317 # For the awk script, D is an array of macro values keyed by name,
42318 # likewise P contains macro parameters if any. Preserve backslash
42319 # newline sequences.
42321 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42323 s/.\{148\}/&'"$ac_delim"'/g
42326 s/^[ ]*#[ ]*define[ ][ ]*/ /
42333 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
42335 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
42339 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42340 D["\
1"]=" \
3\\\\\\n
"\\/p
42342 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42347 s/.\{148\}/&'"$ac_delim"'/g
42352 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42355 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42357 ' <confdefs.h | sed '
42358 s/'"$ac_delim"'/"\\\
42359 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42362 for (key in D) D_is_set[key] = 1
42365 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42367 split(line, arg, " ")
42368 if (arg[1] == "#") {
42372 defundef
= substr
(arg
[1], 2)
42375 split(mac1
, mac2
, "(") #)
42377 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42378 if (D_is_set
[macro
]) {
42379 # Preserve the white space surrounding the "#".
42380 print prefix
"define", macro P
[macro
] D
[macro
]
42383 # Replace #undef with comments. This is necessary, for example,
42384 # in the case of _POSIX_SOURCE, which is predefined and required
42385 # on some systems where configure will not decide to define it.
42386 if (defundef
== "undef") {
42387 print
"/*", prefix defundef
, macro
, "*/"
42395 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42396 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42397 fi # test -n "$CONFIG_HEADERS"
42400 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42405 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42407 case $ac_mode$ac_tag in
42409 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
42410 :[FH
]-) ac_tag
=-:-;;
42411 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42428 -) ac_f
="$ac_tmp/stdin";;
42429 *) # Look for the file first in the build tree, then in the source tree
42430 # (if the path is not absolute). The absolute path cannot be DOS-style,
42431 # because $ac_f cannot contain `:'.
42435 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42437 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42439 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42440 as_fn_append ac_file_inputs
" '$ac_f'"
42443 # Let's still pretend it is `configure' which instantiates (i.e., don't
42444 # use $as_me), people would be surprised to read:
42445 # /* config.h. Generated by config.status. */
42446 configure_input
='Generated from '`
42447 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42449 if test x
"$ac_file" != x
-; then
42450 configure_input
="$ac_file. $configure_input"
42451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42452 $as_echo "$as_me: creating $ac_file" >&6;}
42454 # Neutralize special characters interpreted by sed in replacement strings.
42455 case $configure_input in #(
42456 *\
&* | *\
|* | *\\* )
42457 ac_sed_conf_input
=`$as_echo "$configure_input" |
42458 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42459 *) ac_sed_conf_input
=$configure_input;;
42463 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42464 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42469 ac_dir
=`$as_dirname -- "$ac_file" ||
42470 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42471 X"$ac_file" : 'X\(//\)[^/]' \| \
42472 X"$ac_file" : 'X\(//\)$' \| \
42473 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42474 $as_echo X"$ac_file" |
42475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42479 /^X\(\/\/\)[^/].*/{
42492 as_dir
="$ac_dir"; as_fn_mkdir_p
42496 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42498 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42499 # A ".." for each directory in $ac_dir_suffix.
42500 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42501 case $ac_top_builddir_sub in
42502 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42503 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42506 ac_abs_top_builddir
=$ac_pwd
42507 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42508 # for backward compatibility:
42509 ac_top_builddir
=$ac_top_build_prefix
42512 .
) # We are building in place.
42514 ac_top_srcdir
=$ac_top_builddir_sub
42515 ac_abs_top_srcdir
=$ac_pwd ;;
42516 [\\/]* | ?
:[\\/]* ) # Absolute name.
42517 ac_srcdir
=$srcdir$ac_dir_suffix;
42518 ac_top_srcdir
=$srcdir
42519 ac_abs_top_srcdir
=$srcdir ;;
42520 *) # Relative name.
42521 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42522 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42523 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42525 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42535 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42536 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42540 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42541 # If the template does not know about datarootdir, expand it.
42542 # FIXME: This hack should be removed a few years after 2.60.
42543 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42554 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42555 *datarootdir
*) ac_datarootdir_seen
=yes;;
42556 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42558 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42561 ac_datarootdir_hack='
42562 s&@datadir@&$datadir&g
42563 s&@docdir@&$docdir&g
42564 s&@infodir@&$infodir&g
42565 s&@localedir@&$localedir&g
42566 s&@mandir@&$mandir&g
42567 s&\\\${datarootdir}&$datarootdir&g' ;;
42571 # Neutralize VPATH when `$srcdir' = `.'.
42572 # Shell code in configure.ac might set extrasub.
42573 # FIXME: do we really want to maintain this feature?
42574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42575 ac_sed_extra="$ac_vpsub
42578 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42580 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42581 s
|@configure_input@
|$ac_sed_conf_input|;t t
42582 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42583 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42584 s
&@srcdir@
&$ac_srcdir&;t t
42585 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42586 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42587 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42588 s
&@builddir@
&$ac_builddir&;t t
42589 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42590 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42591 s
&@INSTALL@
&$ac_INSTALL&;t t
42592 $ac_datarootdir_hack
42594 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
42595 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42597 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42598 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
42599 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42600 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
42601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42602 which seems to be undefined. Please make sure it is defined" >&5
42603 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42604 which seems to be undefined. Please make sure it is defined" >&2;}
42606 rm -f "$ac_tmp/stdin"
42608 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42609 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42611 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42617 if test x"$ac_file" != x-; then
42619 $as_echo "/* $configure_input */" \
42620 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42621 } >"$ac_tmp/config.h" \
42622 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42623 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42624 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42625 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42628 mv "$ac_tmp/config.h" "$ac_file" \
42629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42632 $as_echo "/* $configure_input */" \
42633 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42634 || as_fn_error $? "could not create -" "$LINENO" 5
42638 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42639 $as_echo "$as_me: executing $ac_file commands" >&6;}
42644 case $ac_file$ac_mode in
42646 mkdir -p $outdir &&
42647 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42649 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42650 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42651 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42652 "wx-config":C
) rm -f wx
-config
42653 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42662 ac_clean_files
=$ac_clean_files_save
42664 test $ac_write_fail = 0 ||
42665 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42668 # configure is writing to config.log, and then calls config.status.
42669 # config.status does its own redirection, appending to config.log.
42670 # Unfortunately, on DOS this fails, as config.log is still kept open
42671 # by configure, so config.status won't be able to write to it; its
42672 # output is simply discarded. So we exec the FD to /dev/null,
42673 # effectively closing config.log, so it can be properly (re)opened and
42674 # appended to by config.status. When coming back to configure, we
42675 # need to make the FD available again.
42676 if test "$no_create" != yes; then
42678 ac_config_status_args
=
42679 test "$silent" = yes &&
42680 ac_config_status_args
="$ac_config_status_args --quiet"
42682 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42684 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42685 # would make configure fail if this is the last instruction.
42686 $ac_cs_success || as_fn_exit
1
42690 # CONFIG_SUBDIRS section.
42692 if test "$no_recursion" != yes; then
42694 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42695 # so they do not pile up.
42696 ac_sub_configure_args
=
42698 eval "set x $ac_configure_args"
42702 if test -n "$ac_prev"; then
42707 -cache-file | --cache-file | --cache-fil | --cache-fi \
42708 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42709 ac_prev
=cache_file
;;
42710 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42711 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42714 --config-cache | -C)
42716 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42718 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42720 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42722 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42724 --disable-option-checking)
42728 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42730 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
42734 # Always prepend --prefix to ensure using the same prefix
42735 # in subdir configurations.
42736 ac_arg
="--prefix=$prefix"
42738 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42740 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
42743 if test "$silent" = yes; then
42744 ac_sub_configure_args
="--silent $ac_sub_configure_args"
42747 # Always prepend --disable-option-checking to silence warnings, since
42748 # different subdirs can have different --enable and --with options.
42749 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
42752 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42754 # Do not complain, so a configure script can configure whichever
42755 # parts of a large source tree are present.
42756 test -d "$srcdir/$ac_dir" || continue
42758 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42759 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42760 $as_echo "$ac_msg" >&6
42761 as_dir
="$ac_dir"; as_fn_mkdir_p
42765 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42767 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42768 # A ".." for each directory in $ac_dir_suffix.
42769 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42770 case $ac_top_builddir_sub in
42771 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42772 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42775 ac_abs_top_builddir
=$ac_pwd
42776 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42777 # for backward compatibility:
42778 ac_top_builddir
=$ac_top_build_prefix
42781 .
) # We are building in place.
42783 ac_top_srcdir
=$ac_top_builddir_sub
42784 ac_abs_top_srcdir
=$ac_pwd ;;
42785 [\\/]* | ?
:[\\/]* ) # Absolute name.
42786 ac_srcdir
=$srcdir$ac_dir_suffix;
42787 ac_top_srcdir
=$srcdir
42788 ac_abs_top_srcdir
=$srcdir ;;
42789 *) # Relative name.
42790 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42791 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42792 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42794 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42799 # Check for guested configure; otherwise get Cygnus style configure.
42800 if test -f "$ac_srcdir/configure.gnu"; then
42801 ac_sub_configure
=$ac_srcdir/configure.gnu
42802 elif test -f "$ac_srcdir/configure"; then
42803 ac_sub_configure
=$ac_srcdir/configure
42804 elif test -f "$ac_srcdir/configure.in"; then
42805 # This should be Cygnus configure.
42806 ac_sub_configure
=$ac_aux_dir/configure
42808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42809 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42813 # The recursion is here.
42814 if test -n "$ac_sub_configure"; then
42815 # Make the cache file name correct relative to the subdirectory.
42816 case $cache_file in
42817 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42818 *) # Relative name.
42819 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
42822 { $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
42823 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42824 # The eval makes quoting arguments work.
42825 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42826 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42827 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42833 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
42834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42835 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42840 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42842 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42843 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42844 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42845 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42846 if test "$wxUSE_UNICODE" = "yes"; then
42847 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42848 echo " (using UTF-8)"
42850 echo " (using wchar_t)"
42856 echo " What level of wxWidgets compatibility should be enabled?"
42857 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42858 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42860 echo " Which libraries should wxWidgets use?"
42861 echo " STL ${wxUSE_STL}"
42862 echo " jpeg ${wxUSE_LIBJPEG-none}"
42863 echo " png ${wxUSE_LIBPNG-none}"
42864 echo " regex ${wxUSE_REGEX}"
42865 echo " tiff ${wxUSE_LIBTIFF-none}"
42866 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42867 echo " xpm ${wxUSE_LIBXPM-none}"
42869 echo " zlib ${wxUSE_ZLIB}"
42870 echo " expat ${wxUSE_EXPAT}"
42871 echo " libmspack ${wxUSE_LIBMSPACK}"
42872 echo " sdl ${wxUSE_LIBSDL}"